Projects

Design and Implementation of Permanent Magnet Synchronous Motor Control System Based on CAN Bus

This project is a permanent magnet synchronous motor control system based on Controller Area Network (CAN) bus communication, which can be used in the tripod head, robot dog, manipulator and other high precision and torque requirements of the field. The research content includes hardware design and software debugging of permanent magnet synchronous motor control system. Firstly, the mathematical model and derivation process of permanent magnet synchronous motor and magnetic field oriented control are understood by reading literature. Secondly, according to the function to be realized, a relatively new scheme is selected, that is, DRV8323S in the integrated drive chip DRV83 series of TI Company is used. The hardware design side of the motor driver chip initialization parameters and device selection parameters are calculated in detail, according to the results of the selection of appropriate inverter circuit devices and protective devices, and completed the hardware circuit design and welding. Part of the program design code uses the latest version of HAL library, and first realizes the calculation of CAN communication, ADC sampling and magnetic field oriented control. Finally, the PI parameters of the three rings are debugged, and the control effect is basically realized.
     

Programe flow chart of the Controller