基于微粒群优化算法的直流电机控制系统研究

2018-04-13 06:36:32刘海波杨战旗艾永乐
现代电子技术 2018年8期
关键词:单片机优化系统

刘海波 杨战旗 艾永乐

摘 要: 针对现有直流电动机控制系统的特点和存在的问题,介绍以STM32单片机为控制核心的直流电机数字调速控制系统。该系统利用PWM信号驱动控制直流电机,将模糊控制与微粒群算法相结合,优化模糊控制器的参数,实现直流电机的驱动和闭环调速控制。实验结果表明,该控制系统结构简单、调速性能好,并具有较强的抗干扰能力,在工程应用中有较高的推广价值。

关健词: 直流电机; STM32; 模糊控制; 微粒群优化算法; PWM信号; 闭环调速

中图分类号: TN964?34; TP273 文献标识码: A 文章编号: 1004?373X(2018)08?0121?04

Abstract: In allusion to the characteristics and problems of the current DC motor control system, a DC motor digital speed regulation control system taking STM32 single chip microcomputer as the control core is introduced. In the system, PWM signals are used to drive and control the DC motor, fuzzy control is combined with the particle swarm optimization algorithm to optimize the parameters of fuzzy controller and realize the drive of DC motor and closed?loop speed regulation control. The experimental results show that the control system has a simple structure, good speed regulation performance, and strong anti?interference capability, which has a high promotional value in engineering application.

Keywords: DC motor; STM32; fuzzy control; particle swarm optimization algorithm; PWM signal; closed?loop speed regulation

当今,自动调控系统已经在各行各业得到了广泛的应用和发展。直流电动机因其控制性能好、方法简单、成本低和能够较大范围平滑调速等优点,在电气传动领域占据着十分重要的地位[1]。随着微电子技术和计算机技术的发展,以单片机为控制核心的数字直流调速系统控制方法灵活便捷,测速精度高,抗干扰能力强,能达到最优控制效果。本系统以STM32单片机为控制核心,利用PWM信号驱动控制直流电机,结合电流传感器实现转速电流双闭环直流数字调速系统。

1 硬件设计

1.1 基本结构

调速系统主要由主控模块、整流电路模块、电机驱动及保护模块、电压电流检测模块、人机交互模块和电源模块等组成,系统整体设计框图如图1所示。

数字调速系统采用STM32单片机作为主控制器,根据设定转速,利用转速测量模块检测转速信号并将其转变为电信号反馈给单片机;……

登录APP查看全文

猜你喜欢
单片机优化系统
Smartflower POP 一体式光伏系统
工业设计(2022年8期)2022-09-09 07:43:20
超限高层建筑结构设计与优化思考
房地产导刊(2022年5期)2022-06-01 06:20:14
民用建筑防烟排烟设计优化探讨
关于优化消防安全告知承诺的一些思考
一道优化题的几何解法
WJ-700无人机系统
ZC系列无人机遥感系统
北京测绘(2020年12期)2020-12-29 01:33:58
基于单片机的SPWM控制逆变器的设计与实现
电子制作(2019年13期)2020-01-14 03:15:28
基于单片机的层次渐变暖灯的研究
电子制作(2019年15期)2019-08-27 01:12:10
基于单片机的便捷式LCF测量仪
电子制作(2019年9期)2019-05-30 09:42:02