欢迎来到专业的新思文库网平台! 工作计划 工作总结 心得体会 事迹材料 述职报告 疫情防控 思想汇报 党课下载
当前位置:首页 > 范文大全 > 教案设计 > 正文

基于DSP的双直流电机控制系统设计

时间:2022-10-28 15:00:04 来源:网友投稿

zoޛ)j首设计以PC机为上位机、DSP为下位机能够同时调节双直流电机转速和转向的,以及选择工作电机的控制系统。给出了控制系统相关硬件和软件设计,通过PC机与DSP之间的串口通信,采用上位机串口软件发送数字化控制指令给下位机,控制双直流电机完成一系列预设功能;采用PWM脉宽调制原理对电机的转速进行调节,利用光电编码器通过T法对电机转速进行测量,并通过实测波形显示电机转速。实验结果表明,该系统不仅能够实现双直流电机转速和转向的同步调节,而且可以对工作电机进行选择,达到了双直流电机同步控制的效果,具有一定的可靠性及有效性。

关键词:自动控制技术;双直流电机;编码器;PWM;T法

中图分类号:TM331文献标志码:A

WANG Suo, SHI Peicheng, XU Zengwei.Design of double DC motor control system based on DSP[J].Journal of Hebei University of Science and Technology,2017,38(5):424431.Design of double DC motor control system based on DSP

WANG Suo, SHI Peicheng, XU Zengwei

(Anhui Engineering Technology Research Center of Automotive New technique, Anhui Polytechnic University, Wuhu, Anhui 241000, China)

Abstract:Aiming at the problems of speed control, commutation and so on in the multimotor synchronous control system, based on automatic control technology, a control system with PC as principal computer and DSP as slave computer is designed, which can change dual DC motor speed and steering, as well as select work drive motors. Related hardware and software design of the control system are given. Through serial communication between DSP and PC using PC serial port software, digital control command is sent to the slave computer for controlling dual DC motor to do a series of preset functions. PWM pulse width modulation is used for motor speed regulation, photoelectric encoder is used to measure motor speed by T method, and the motor speed is displayed by the actual waveform. Experimental results show that the system can not only realize the synchronization of dual DC motor speed and steering adjustment, but also select the motor and achieve the dual DC motors synchronization control effect. The control system has certain reliability and effectiveness.

Keywords:automatic control technology; double DC motor; encoder; PWM; T method

直流電机是一种起步较早的电机,因其具有良好的启动和调速性能、调速范围广、可以平滑无极调速、过载能力强、受电磁干扰小、效率高、可靠性强等优点在许多领域得到了广泛的应用[12]。多电机控制系统在实际工业生产中得到广泛应用,如机器人、数控系统、空调系统等[3]。随着人们对工业生产水平的不断提高,对多电机控制系统性能的要求也越来越高,多台电机的协同控制问题是保证系统可靠运行的关键问题之一[4]。DSP是目前主流的微处理器,具有强大的数据处理能力和高运行速度,可用于自动控制、图像处理等多个领域,目前广泛采用DSP作为直流电机运动控制系统的微处理器[56]。文献\[7\]采用PC机和DSP的主从式结构,以PC机作为上位机完成DSP对单台直流电机的控制,并通过串口通信实现人机对话,将大量的数据运算处理交给DSP来完成,最后通过电机驱动器来控制电机运动。但是从对直流电机控制技术来看,多电机同步控制技术的落后成为许多自动化生产的难题。河北科技大学学报2017年第5期王锁,等:基于DSP的双直流电机控制系统设计 本文设计了双直流电机同步调速、换向以及选择等功能的控制系统,通过上位机串口软件设定电机的速度、方向以及选择电机,利用RS232串口将设定的值传递给DSP主控制器,使DSP产生相应控制信号,控制信号经过电机驱动器驱动电机完成相应的动作,并利用光电编码器采用T法对2台电机的速度进行测量。通过实际系统测试,验证了该控制系统的可靠性及有效性。

推荐访问:直流电机 控制系统 设计 DSP