基于STC单片机的小型直流电机变频调速控制器系统设计
Design of Small DC Motor Variable Frequency Speed Controller System Based on STC MCU
摘要: 伴随着半导体技术的不断发展和数字控制的普遍化,小型直流电机变频调速控制的应用范围已经从高性能的领域拓宽到通用驱动和专用驱动的场合。为实现拓展直流电机应用,本文提出并实现基于STC单片机的小型直流电机变频调速控制器系统设计。在完成Proteus仿真的基础上,本文完成变频调速控制系统的硬件制作及软件编程以完成系统控制性能的测试。系统硬件主要由主控制器、电机驱动、按键、液晶显示及电机测速等部分组成,其中主控制器为STC单片机、电机驱动为L298,液晶显示LCD1602、电机测速为霍尔传感器。实验数据分析结果显示:控制系统输出PWM值与电机转速测量值间R2为0.993 ≈ 1即两组数据的线性度很好,即通过调整PWM值可实现直流电机的线性调速;正态性检验分析结果显示实物测量所得数据符合正太分布的要求,没有明显的差异性,PWM值配对转速p值大于0.05,说明这两组数据没有显著的相关性,即PWM值对电机转速的控制性良好。本系统在实现电机简单操作、低成本控制方面具有一定的应用价值。
Abstract:
With the continuous development of semiconductor technology and the popularization of digital control, the application range of small direct current (DC) motor variable frequency speed control has been broadened from the field of high performance to the occasion of general drive and special drive. In order to expand the application of DC motor, this paper proposes and realizes the design of small DC motor variable frequency speed controller system based on STC MCU. On the basis of Proteus simulation, this paper completes the hardware and software programming of the variable frequency speed control system to complete the system control performance test. The hardware of the system is mainly composed of main controller, motor driver, key, LCD display and motor speed measurement. The main controller is STC single chip microcomputer, motor driver is L298, LCD display is LCD1602 and motor speed measurement is Hall sensor. The experimental data analysis results show that the R2 between the PWM value of the control system and the measured value of the motor speed is 0.993 ≈ 1. The results show that the linearity of the two groups of data is very good, that is, the linear speed regulation of DC motor can be realized by adjusting the PWM value; the analysis results of normality test show that the measured data meet the requirements of Zhengtai distribution, and there is no obvious difference. The paired speed p value of PWM value is greater than 0.05, which indicates that the two groups of data have no significant correlation, that is, the PWM value has good control over the motor speed. This system has a certain application value in realizing simple operation and low cost control of motor.
参考文献
|
[1]
|
刘擎文, 胡永美. 永磁直流电动机的正则化参数辨识[J]. 微特电机, 2020, 48(12): 14-18.
|
|
[2]
|
郭志坚, 张岳贤. 基于Matlab永磁无刷直流电动机调速系统的仿真研究[J]. 山西电子技术, 2020(5): 80-84.
|
|
[3]
|
乔永凤, 王凯, 周晓莉, 冯志永. 基于BAS-PID的直流电动机调速[J]. 机械工程与自动化, 2020(5): 167-168.
|
|
[4]
|
李歌航. 基于电流匹配反电势的无刷直流电机节能策略[J]. 机电信息, 2019(15): 26-27.
|
|
[5]
|
卓土墙. 船舶电动机的节能技术探讨[J]. 科技创新与应用, 2017(11): 149.
|
|
[6]
|
德东电机. 启动高效节能电机项目[J]. 纺织服装周刊, 2014(20): 92-93.
|
|
[7]
|
李栋. 浅析机采井节能技术与效果[J]. 化学工程与装备, 2019(3): 165-167.
|
|
[8]
|
张欢, 周欣. 新型永磁同步电机无速度传感器控制策略[J]. 电气传动, 2020, 50(10): 96-101.
|
|
[9]
|
李键. 永磁同步电机模型预测电流控制的预测误差分析及抑制研究[D]: [博士学位论文]. 杭州: 浙江大学, 2019.
|
|
[10]
|
杨丰亮. 脉冲信号占空比测量电路的设计与Proteus仿真[J]. 闽南师范大学学报(自然科学版), 2020, 33(4): 30-37.
|
|
[11]
|
李龙. 配对样本t检验在实验室分析质量控制中的应用[J]. 上海计量测试, 2020, 47(5): 32-34+37.
|
|
[12]
|
徐九南, 姜毅. 齿轮损伤诊断的非参数统计检验方法[J]. 失效分析与预防, 2020, 15(4): 207-211+231.
|
|
[13]
|
邱华龙. 绿僵菌胁迫下红火蚁的防御行为及机制探讨[D]: [博士学位论文]. 广州: 华南农业大学, 2016.
|