STM32F446电机控制方案体验

Guidelines for control and customization of power boards with STM32 MC SDK v5.0

The easiest way to design a new hardware board starting from an ST MC one, goes through the following steps: 1. Selection of the same 3-phase inverter topology a) Same STM32 MCU line (e.g. STM32F303xx) b) Same current sensing topology (e.g. 1-shunt topology) c) Similar motor driver (e.g. STSPIN230 as triple half-bridge motor driver) d) Similar power (e.g. X-NUCLEO-IHM11M1 as low voltage/low current) 2. Adaptation to the new hardware a) Resistor shunt(s) computation b) Resistor network(s) gain calculation c) External or internal operational amplifier(s) component(s) usage d) External or internal comparator(s) usage e) Computation of protection threshold source(s) for input comparator(s) 3. Modification of the STM32 Workbench project (PC software tools) a) Find the selected ST example b) Update with all the hardware adaptation 4. Modification from the STM32CubeMX project (PC software tools) c) When needed, change the MCU line with a compatible one d) Complete the application configuration

To be effective, the control of a 3-phase motor relies on: • Mandatory features: – A microcontroller to execute the FW – A 3-phase inverter to control motor voltage and current – A current sensing acquisition to feedback the regulation • Optional features (only some of them discussed in this document): – An In-rush current limiter to reduce peak current during motor start-up – A Power Factor Correction (PFC) mechanism to reduce energy consumption – A brake mechanism to release motor energy – A bus voltage sensing to monitor the input voltage – A security mechanism to protect people and hardware – Acquisition of data from speed and position sensors for regulation feedback

已经购买了ST官方的控制板和驱动板,希望尽快能转起来,试试看。 注意到ST的官方电机控制库内有二进制的lib,并没有全部开源,这点后续可以仔细研究,到底是哪部分没有开源。

收到设备,会逐步测试实验,持续增加笔记到这里。


欢迎转载,但请附上原文地址哦,尊重原创,谢谢大家! 本文地址: https://blog.prodrich.com/detail/18/

带着使命来到世上的你,给他人提供价值,才有价值