何俊, 邓成军. 基于数据采集卡的倒立摆实验系统[J]. 实验科学与技术, 2020, 18(4): 19-26. DOI: 10.12179/1672-4550.20190313
引用本文: 何俊, 邓成军. 基于数据采集卡的倒立摆实验系统[J]. 实验科学与技术, 2020, 18(4): 19-26. DOI: 10.12179/1672-4550.20190313
HE Jun, DENG Chengjun. Experimental System of Inverted Pendulum Based on Data Acquisition Card[J]. Experiment Science and Technology, 2020, 18(4): 19-26. DOI: 10.12179/1672-4550.20190313
Citation: HE Jun, DENG Chengjun. Experimental System of Inverted Pendulum Based on Data Acquisition Card[J]. Experiment Science and Technology, 2020, 18(4): 19-26. DOI: 10.12179/1672-4550.20190313

基于数据采集卡的倒立摆实验系统

Experimental System of Inverted Pendulum Based on Data Acquisition Card

  • 摘要: 该文针对现代控制理论课程现有实验装置存在的缺陷,开发了一套基于NI USB6210数据采集卡的倒立摆实验系统。本实验系统上位机通过数据采集卡实时接收直流电机位置信号和摆臂角度信号,经过双闭环控制运算,再通过数据采集卡输出控制PWM波和电机旋向信号给电机驱动电路,从而控制直流电机运动,以保证倒立摆系统在平衡位置稳定,摆臂保持垂直向上稳定。该倒立摆系统运用LabVIEW软件编制操作界面,并进行数据采集和控制运算,可以实时获取各种实验数据,快速整定PID参数。系统完全开放,学生也可快速编制各种控制算法进行实验,有助于其创新能力的培养。

     

    Abstract: An inverted pendulum experimental system based on NI USB6210 data acquisition card is developed to tackle the problems existed in the experimental devices of the modern control theory course. Firstly, the upper computer of the experimental system receives the location signal of DC motor and angle signal of pendulum arm in real time through the data acquisition card, before double closed-loop control calculation. Secondly, PWM control wave and motor rotation signal are exported to motor drive circuit through the data acquisition card, in a bid to control DC motor, secure a stable equilibrium position of inverted pendulum and pendulum arm in vertical upward position. By harnessing LabVIEW software to program the operating interface, collect data and control operations, the inverted pendulum system enables us to obtain various experimental data in real time and set PID parameters in a fast way. The completely open system allows students to program different control algorithms which they may experiment with, thereby contributing to the cultivation of their abilities to innovate.

     

/

返回文章
返回