{"id":48,"date":"2022-05-27T17:47:25","date_gmt":"2022-05-27T17:47:25","guid":{"rendered":"https:\/\/mrhengineering.dk\/?page_id=48"},"modified":"2022-05-28T04:59:53","modified_gmt":"2022-05-28T04:59:53","slug":"blog","status":"publish","type":"page","link":"https:\/\/mrhengineering.dk\/?page_id=48","title":{"rendered":"Blog"},"content":{"rendered":"\n<div class=\"wp-block-query alignwide is-layout-constrained wp-block-query-is-layout-constrained\"><ul class=\"alignwide wp-block-post-template is-layout-flow wp-block-post-template-is-layout-flow\"><li class=\"wp-block-post post-222 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized tag-fourcc tag-java tag-mjpg tag-opencv tag-resolution tag-v4l2 tag-webcam\">\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><h2 class=\"alignwide wp-block-post-title has-var-wp-custom-typography-font-size-huge-clamp-2-25-rem-4-vw-2-75-rem-font-size\"><a href=\"https:\/\/mrhengineering.dk\/?p=222\" target=\"_self\" >4K resolution in OpenCV with DELL UltraShap<\/a><\/h2>\n\n<figure style=\"margin-top:calc(1.75 * var(--wp--style--block-gap));\" class=\"alignwide wp-block-post-featured-image wp-duotone-default-filter\"><a href=\"https:\/\/mrhengineering.dk\/?p=222\" target=\"_self\"  ><img loading=\"lazy\" decoding=\"async\" width=\"2155\" height=\"920\" src=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/12\/DELL_UltraSharp_.jpg\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"4K resolution in OpenCV with DELL UltraShap\" style=\"object-fit:cover;\" srcset=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/12\/DELL_UltraSharp_.jpg 2155w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/12\/DELL_UltraSharp_-300x128.jpg 300w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/12\/DELL_UltraSharp_-1024x437.jpg 1024w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/12\/DELL_UltraSharp_-768x328.jpg 768w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/12\/DELL_UltraSharp_-1536x656.jpg 1536w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/12\/DELL_UltraSharp_-2048x874.jpg 2048w\" sizes=\"auto, (max-width: 2155px) 100vw, 2155px\" \/><\/a><\/figure>\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:650px\"><div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">I\u2019ve recently been experimenting with computer vision using OpenCV, and for my setup, I\u2019m using a Dell UltraSharp webcam to capture images. Out of the box, OpenCV makes it easy to grab frames at 1920\u00d71080 (Full HD), which is great\u2014but according to the camera\u2019s specifications, it should support 3840\u00d72160 (4K) resolution. Interestingly, when I tested&hellip; <\/p><\/div>\n\n<div style=\"font-style:italic;font-weight:400;\" class=\"wp-block-post-date has-small-font-size\"><time datetime=\"2025-12-19T09:09:40+01:00\"><a href=\"https:\/\/mrhengineering.dk\/?p=222\">December 19, 2025<\/a><\/time><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity alignwide is-style-wide\"\/>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n<\/li><li class=\"wp-block-post post-210 post type-post status-publish format-standard hentry category-uncategorized tag-arduino tag-inverter tag-modbus tag-spindle-drive tag-variable-frequency-drive\">\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><h2 class=\"alignwide wp-block-post-title has-var-wp-custom-typography-font-size-huge-clamp-2-25-rem-4-vw-2-75-rem-font-size\"><a href=\"https:\/\/mrhengineering.dk\/?p=210\" target=\"_self\" >MODBUS control of VFD<\/a><\/h2>\n\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:650px\"><div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">A long time ago I brought a variable frequency drive which I want to use for driving a spindle motor for a milling machine. The VFD is a Huanyang Inverter HY01D523B (1.5 kW, 7A, 220V 50Hz). I want to be able to control it through the MODBUS interface to be able to change speed and&hellip; <\/p><\/div>\n\n<div style=\"font-style:italic;font-weight:400;\" class=\"wp-block-post-date has-small-font-size\"><time datetime=\"2025-11-19T13:17:11+01:00\"><a href=\"https:\/\/mrhengineering.dk\/?p=210\">November 19, 2025<\/a><\/time><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity alignwide is-style-wide\"\/>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n<\/li><li class=\"wp-block-post post-124 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized tag-applied-linear-algebra tag-lifting-equipment tag-sum-of-forces tag-vector-math\">\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><h2 class=\"alignwide wp-block-post-title has-var-wp-custom-typography-font-size-huge-clamp-2-25-rem-4-vw-2-75-rem-font-size\"><a href=\"https:\/\/mrhengineering.dk\/?p=124\" target=\"_self\" >Sling forces in 4-point configuration<\/a><\/h2>\n\n<figure style=\"margin-top:calc(1.75 * var(--wp--style--block-gap));\" class=\"alignwide wp-block-post-featured-image wp-duotone-default-filter\"><a href=\"https:\/\/mrhengineering.dk\/?p=124\" target=\"_self\"  ><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1354\" src=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/Kran03-scaled.jpg\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"Sling forces in 4-point configuration\" style=\"object-fit:cover;\" srcset=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/Kran03-scaled.jpg 2560w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/Kran03-300x159.jpg 300w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/Kran03-1024x542.jpg 1024w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/Kran03-768x406.jpg 768w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/Kran03-1536x812.jpg 1536w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/Kran03-2048x1083.jpg 2048w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><\/figure>\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:650px\"><div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">When there are more than three slings attached to one load, then the configuration is statically indeterminate. Therefore, one must consider the stiffness of the slings to compute the load in each of them. I am assuming that the load does not&nbsp;deform. Certifying bodies require this kind of calculation for four-point lifts. The hook load&hellip; <\/p><\/div>\n\n<div style=\"font-style:italic;font-weight:400;\" class=\"wp-block-post-date has-small-font-size\"><time datetime=\"2024-12-17T20:54:59+01:00\"><a href=\"https:\/\/mrhengineering.dk\/?p=124\">December 17, 2024<\/a><\/time><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity alignwide is-style-wide\"\/>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n<\/li><li class=\"wp-block-post post-114 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized tag-numerical-integration tag-ode tag-time-step-algorithm\">\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><h2 class=\"alignwide wp-block-post-title has-var-wp-custom-typography-font-size-huge-clamp-2-25-rem-4-vw-2-75-rem-font-size\"><a href=\"https:\/\/mrhengineering.dk\/?p=114\" target=\"_self\" >Leapfrog and forward Euler numerical integration.<\/a><\/h2>\n\n<figure style=\"margin-top:calc(1.75 * var(--wp--style--block-gap));\" class=\"alignwide wp-block-post-featured-image wp-duotone-default-filter\"><a href=\"https:\/\/mrhengineering.dk\/?p=114\" target=\"_self\"  ><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"240\" src=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/SpringMassDamper_preview.png\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"Leapfrog and forward Euler numerical integration.\" style=\"object-fit:cover;\" srcset=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/SpringMassDamper_preview.png 656w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/SpringMassDamper_preview-300x110.png 300w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/a><\/figure>\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:650px\"><div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">In this post I\u2019m showing how to program a Leap-Frog integrator. Its performance of it is compared to the Forward-Euler integration method and an analytical solution. The methods are for solving ordinary differential equations. A MATLAB program shows how the methods can be implemented. For the testing, a very simple mechanical system is considered. It&hellip; <\/p><\/div>\n\n<div style=\"font-style:italic;font-weight:400;\" class=\"wp-block-post-date has-small-font-size\"><time datetime=\"2024-12-07T07:17:54+01:00\"><a href=\"https:\/\/mrhengineering.dk\/?p=114\">December 7, 2024<\/a><\/time><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity alignwide is-style-wide\"\/>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n<\/li><li class=\"wp-block-post post-78 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized tag-applied-linear-algebra tag-lifting-equipment tag-sum-of-forces tag-vector-math\">\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><h2 class=\"alignwide wp-block-post-title has-var-wp-custom-typography-font-size-huge-clamp-2-25-rem-4-vw-2-75-rem-font-size\"><a href=\"https:\/\/mrhengineering.dk\/?p=78\" target=\"_self\" >Sling forces<\/a><\/h2>\n\n<figure style=\"margin-top:calc(1.75 * var(--wp--style--block-gap));\" class=\"alignwide wp-block-post-featured-image wp-duotone-default-filter\"><a href=\"https:\/\/mrhengineering.dk\/?p=78\" target=\"_self\"  ><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"357\" src=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/3pointLift_preview.png\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"Sling forces\" style=\"object-fit:cover;\" srcset=\"https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/3pointLift_preview.png 1024w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/3pointLift_preview-300x105.png 300w, https:\/\/mrhengineering.dk\/wp-content\/uploads\/2025\/09\/3pointLift_preview-768x268.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:650px\"><div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">If there is a box on a pallet which will have to be lifted and you were asked to calculate the force in each of the three slings, then use vectors! Imagine a coordinate system with the x-axis along one edge of the pallet and the y-axis along the other and the z-axis vertical, then&hellip; <\/p><\/div>\n\n<div style=\"font-style:italic;font-weight:400;\" class=\"wp-block-post-date has-small-font-size\"><time datetime=\"2024-09-28T21:44:13+02:00\"><a href=\"https:\/\/mrhengineering.dk\/?p=78\">September 28, 2024<\/a><\/time><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity alignwide is-style-wide\"\/>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n<\/li><li class=\"wp-block-post post-21 post type-post status-publish format-standard hentry category-uncategorized tag-math-proof tag-pythagoras\">\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><h2 class=\"alignwide wp-block-post-title has-var-wp-custom-typography-font-size-huge-clamp-2-25-rem-4-vw-2-75-rem-font-size\"><a href=\"https:\/\/mrhengineering.dk\/?p=21\" target=\"_self\" >The Logo<\/a><\/h2>\n\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:650px\"><div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">The logo is inspired by a nice proof of a very used mathematical equation. I first saw this proof of Pythagoras here: Impossible squares &#8211; Numberphile. Strange that I never came across a proof before. Anyway, Here&#8217;s the short version. The area of the large square is . The area of the small square is&hellip; <\/p><\/div>\n\n<div style=\"font-style:italic;font-weight:400;\" class=\"wp-block-post-date has-small-font-size\"><time datetime=\"2022-05-27T14:57:43+02:00\"><a href=\"https:\/\/mrhengineering.dk\/?p=21\">May 27, 2022<\/a><\/time><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity alignwide is-style-wide\"\/>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n<\/li><\/ul>\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-48","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=\/wp\/v2\/pages\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48"}],"version-history":[{"count":2,"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=\/wp\/v2\/pages\/48\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=\/wp\/v2\/pages\/48\/revisions\/59"}],"wp:attachment":[{"href":"https:\/\/mrhengineering.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}