Motor Synchronous Control System and Communication Based on DSP and CAN[Copy link]
The traditional multi-motor control system is suitable for occasions with low requirements, relatively simple, and relatively concentrated motor distribution. However, for occasions with high requirements for real-time, reliability, scalability, transmission distance, and transmission speed in motion control, it is necessary to adopt a communication method with high transmission speed, long transmission distance, high reliability, and a processor with fast processing speed, powerful functions, and the ability to implement complex control strategies. The controller area network CAN (Controller Area Network) is a serial communication network that effectively supports distributed control and real-time control. It belongs to the field bus category. Compared with other existing buses, it is a decentralized, digital, bidirectional, multi-site communication system with many advantages such as high speed, good reliability, high intelligence, and convenient connection. It is increasingly widely used in related fields such as distributed testing and industrial control. The digital signal processor (DIGITAL Signal Processor, DSP) is a high-speed dedicated microprocessor. The TMS320F2407A has powerful computing functions, can achieve high-speed input and high-speed data transmission, and has a CAN bus interface. It specializes in processing real-time signals that are mainly based on calculations and do not allow for delays, and can efficiently perform fast Fourier transform operations. The digital signal processor has high precision and good reliability. Its advanced quality and performance can provide an efficient and reliable platform for motor control. In view of the communication advantages of the CAN bus and the powerful processing capabilities of the DSP, the two can be used to design a multi-motor control network system with high requirements. This powerful, intelligent and highly networked network system meets the needs of multi-motor control with complex processes and high requirements. It is emerging and becoming the development trend of multi-motor control network systems. 1 System structure and implementation The new multi-motor synchronous control system based on the CAN bus network adopts a bus-type multi-master and multi-slave network topology. When the system has not only an engineer layer but also a management layer, that is, multiple master nodes, the master-master communication will realize the communication between master nodes with different functions (as shown in Figure 1). The entire control system consists of three parts: CAN bus, upper PC, and DSP control system. The system uses a PC as the monitoring host to monitor and manage each node; the CAN bus interface card completes the physical layer and data link layer functions of the CAN protocol to achieve communication between the PC and the CAN bus; each slave node completes data transmission and reception and controls the AC motor through the DSP [4].