According to the control demand of velocity regulation of DC motor with high-power and high precision,a new kind of speed regulation system based on STM32 microcontroller and H-bridge driver was designed.The speed regulation system make use of PWM and PID algorithm as output signal to controlling starting,braking,positive inversion and speed regulation of DC motors,which by using photoelectric coder as speed detecting sensor and optoelectronic isolator to design a high-power driver circuit.The parameter data of the DC motors was monitored and written by LabVIEW in PC.The hard circuit design were described in this paper.Experiment proof show that this kind of speed regulation system for DC motor has the characteristics of precise speed regulation,low-power consumption and high driving power.%针对直流电机调速系统大功率高精度的控制需求,设计了一种基于STM32单片机和H桥的新型控制系统.该系统使用光电编码器作为速度检测传感器,利用光电隔离器设计了一种大功率直流电机驱动控制电路,直流电机利用PWM脉宽调制以及PID算法实现对直流电机速度,启停,转向准确控制.上位机采用LabVIEW编写,实时监控直流电机运行状态.描述了硬件的设计方案.通过实验结果表明,该直流调速系统具有调速精准,低功耗,大功率的优良工作特性.
展开▼