摘要
随着电机在工业中的应用越来越广泛,作为电机最重要的参数——电机转速的测量与控制就显得尤为重要。为便于学生开展测控系统实验,设计了基于NI ELVIS实验平台和LabVIEW软件的直流电机转速检测与控制系统。转速检测分别选择光电传感器和霍尔传感器作为采集传感器,再通过NI ELVIS实验平台把信号传输给上位机,编写上位机采集程序及测控界面,从而在上位机前面板显示检测结果。转速控制方式选择PID控制,使用LabVIEW软件编写PID控制程序,通过PID控制调节输出电压改变电机转速。该系统简单灵活、调试方便、可扩展性强,使学生对测控系统架构的掌握更具体更深入,也为日后的项目开发打下坚实的基础。
With the application of motor in industry more and more widely,the measurement and control of motor speed,which is the most important parameter of motor,is particularly important.In order to facilitate students to carry out the measurement and control system experiment,a DC motor speed detection and control system based on NI ELVIS experimental platform and LabVIEW software is designed.Photoelectric sensor and Hall sensor are selected as acquisition sensors for speed detection,and then the signal is transmitted to the upper computer through NI ELVIS experimental platform,and the acquisition program and measurement and control interface of the upper computer are written,so as to display the detection results on the front panel of the upper computer.PID control is selected as the speed control mode,LabVIEW software is used to write the PID control program,at the motor speed is changed by adjusting the output voltage through PID.The system is simple and flexible,convenient for debugging,and has strong scalability,which enables students to master the measurement and control system architecture more specifically and deeply,and also lays a solid foundation for future project development.
作者
高军芳
郑华文
GAO Junfang;ZHENG Huawen(School of Mechanical and Electrical Engineering,Kunming University of Science and Technology,Kunming 650093,China)
出处
《实验科学与技术》
2023年第4期91-98,共8页
Experiment Science and Technology