针对通用性嵌入式压力机缺乏数据远程传输功能的问题,设计了一种基于双ARM架构压力试验机的远程监测系统。该系统使用STM32F103VE单片机作为控制芯片,用于对压力机进行恒压力控制并采集数据;采用STM32F103ZE单片机作为通信芯片,用于数据的本地存储和远程传输。双芯片之间采用串口进行通信,可以将压力机的试验数据经无线网络传送至远程服务器,监控人员通过登录远程客户端的方式实时监督试验过程。为保障数据的可靠性传输,防止出现数据漏传、错传的现象,设定了通信协议和校验机制,对该协议和校验机制进行了详细的论述。所设计的压力机远程监测系统具有实时性好、数据可靠性高、数据存储机制完善等优点。
Because the universal embedded press machine lacks of data remote transmission function,a remote supervision system based on dual ARM architecture press machine is designed. The system uses STM32F103 ZE microcontroller as the control chip. The chip's main task is to control the press machine to work under constant press automatically and to acquire experiment data. The system uses STM32F103 VE microcontroller as the communicate chip. The chip's main task is data storage and long-range data transmission. The two microcontrollers communicate and share data via the serial port. The system can transmit test data to the remote server via internet. The monitoring staff can supervise the testing process in time by logging in the remote client. The communication protocols and checking mechanisms are designed in order to guarantee the transmission safety of the test data and to prevent incomplete and wrong data. In this paper,the protocols and mechanisms are demonstrated in detail. The designed remote supervision system of the press machine has the characteristics of good instantaneity,high data reliability,and reasonable data storage mechanism.