| In various industrial production fields,motors are widely used.A stable and reliable motor monitoring system can monitor the running state of the motor,control the operation of the motor,reduce the energy consumption of industrial production,and improve industrial productivity.This paper investigates a motor monitoring system of a motor company and finds the following problems.The problem of real-time monitoring,when a large number of monitoring tasks arrive at the system,the system will take a long time to process the task.That’s why the system cannot meet the current industrial production requirements.The problem of multi-area monitoring,the system cannot control motors in multiple areas through the RS485 bus network.The problem of equipment expansion,the system only control one type of motors,which is not scalable.According to the actual needs of a motor company to monitor massive motors,this paper develops a motor monitoring system,studies above the problems,and proposes solutions.1)Aiming at the problem of real-time monitoring,this paper proposes a two-tier queuing model.The model consists of two layers:the first layer model consists of a system task queuing model,which decompose them into multiple motor tasks and push motor tasks into the corresponding motor queue;the second layer model consists of multiple motor task queuing models,which parse the motor task into a serial control command and send it to the corresponding device.2)Aiming at the problem of multi-area monitoring,this paper designs a new system architecture.This architecture adds the serial controller between the background server and the underlying device.The monitoring system remotely controls multiple serial controllers.Each serial controller is deployed in a certain area to control the device,so the device can be monitored without changing the network structure of the device.3)Aiming at the problem of equipment expansion,this paper uses XML language to describe the serial communication protocol of different types of equipment.This paper designs the motor state cache table and motor setting cache table in the memory database,and used JSON to describe the extended information of the motor in the table.At present,the motor monitoring system has been online for one year and has monitored and managed tens of thousands of motors in the actual production.The system already improved the economic benefits of the company. |