{"id":351,"date":"2025-09-03T20:35:00","date_gmt":"2025-09-03T20:35:00","guid":{"rendered":"https:\/\/copperfiction.com\/?p=351"},"modified":"2026-04-09T21:51:40","modified_gmt":"2026-04-09T21:51:40","slug":"robot-with-stm32-control-bldc-motors","status":"publish","type":"post","link":"https:\/\/copperfiction.com\/index.php\/2025\/09\/03\/robot-with-stm32-control-bldc-motors\/","title":{"rendered":"[038] BLDC MOTOR CONTROL"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"400\" src=\"http:\/\/copperfiction.com\/wp-content\/uploads\/2026\/01\/image1-1.png\" alt=\"\" class=\"wp-image-428\" srcset=\"https:\/\/copperfiction.com\/wp-content\/uploads\/2026\/01\/image1-1.png 900w, https:\/\/copperfiction.com\/wp-content\/uploads\/2026\/01\/image1-1-300x133.png 300w, https:\/\/copperfiction.com\/wp-content\/uploads\/2026\/01\/image1-1-768x341.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This project is all about embedded BLDC motor control on an STM32 platform. Two different approaches were explored.<\/p>\n\n\n\n<p>The first one: driving motors over a CAN bus. That means dealing with CAN communication, command framing, coordinating several motor controllers on a shared network, and handling basic fault conditions without things falling apart.<\/p>\n\n\n\n<p>The second approach is more involved: direct three-phase control, with a custom motor driver built to handle 200 W at 24 V and 7 A. That includes designing the MOSFET power stage, PWM generation, commutation logic, current and voltage sensing, plus overcurrent and thermal protection.<\/p>\n\n\n\n<p>Distance sensors and IMUs were also integrated to keep the system stable on sloped or uneven surfaces. The main thread running through all of it: getting power electronics, motor control, and sensor feedback to work together as one coherent system \u2014 not just as separate blocks bolted together.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project is all about embedded BLDC motor control on an STM32 platform. Two different approaches were explored. The first one: driving motors over a CAN bus. That means dealing with CAN communication, command framing, coordinating several motor controllers on a shared network, and handling basic fault conditions without things falling apart. The second approach &#8230; <a title=\"[038] BLDC MOTOR CONTROL\" class=\"read-more\" href=\"https:\/\/copperfiction.com\/index.php\/2025\/09\/03\/robot-with-stm32-control-bldc-motors\/\" aria-label=\"Read more about [038] BLDC MOTOR CONTROL\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[12,13,5,14],"class_list":["post-351","post","type-post","status-publish","format-standard","hentry","category-15","tag-cellular-modem","tag-driver-bldc","tag-power","tag-stm32h7"],"_links":{"self":[{"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/posts\/351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/comments?post=351"}],"version-history":[{"count":10,"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/posts\/351\/revisions"}],"predecessor-version":[{"id":646,"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/posts\/351\/revisions\/646"}],"wp:attachment":[{"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/media?parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/categories?post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/copperfiction.com\/index.php\/wp-json\/wp\/v2\/tags?post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}