论文部分内容阅读
针对现有车辆传动系统实验台实际情况 :只能通过下位单片机 80 31对实验台进行控制 ,下位机采集的数据无法传送给上位机。作者提出了采取上下位机多机通信的方式 ,以充分利用下位机控制和数据采集功能来对实验台进行改造 ,实现上位机对加载设备电涡流测功机加载扭矩的自动控制 ,并接收下位机的数据。通过用VC ++编写标准 32位动态链接库 ,对上位机 82 5 0寄存器直接读写 ,控制程序中可方便设置数据第 9位 ,在不需要MSCOMM控件的条件下 ,实现了在WIDOWS环境下基于VisualBasic的上位机和多片 80 31单片机的正确通信 ,满足了该实验台进行液力变矩器台架实验的需要 ,使实验台改造投资大大减少 ,缩短实验时间
In view of the actual situation of the existing vehicle drive system test bench, the test bench can only be controlled by the lower MCU 8031, and the data collected by the lower computer can not be transmitted to the upper computer. The author puts forward a way to take multi-machine communication between upper and lower machine to take full advantage of the lower machine control and data acquisition functions to transform the experimental bench to realize the automatic control of the loading torque of the upper machine to the eddy current dynamometer of the loading equipment and to receive the lower position Machine data. Through the preparation of standard 32-bit dynamic link library with VC ++, read and write directly to the register of the host computer, the control program can conveniently set the 9th bit of data, and realize the WIDOWS environment without the need of MSCOMM control The correct communication between PC and multi-chip microcomputer 8031 based on VisualBasic meets the need of the experimental bench to carry on the torque converter bench experiment, so that the investment on the reconstruction of the test bench is greatly reduced and the experiment time is shortened