Servo motor drives (servo drives) are also called "servo controllers" and "servo amplifiers". They are a controller used to control servo motors. The function of servo motor drives is similar to that of frequency converters on general AC motors. It is part of the servo system and is mainly used in high-precision positioning systems. Servo motors are generally controlled through three methods: position, speed and torque to achieve high-precision transmission system positioning. Today, servo drives are high-end products in transmission technology. So what are the functions of servo motor drivers? Please read the detailed introduction below!
The functions of the servo motor driver are introduced as follows:
1. The servo driver software program mainly includes the main program, interrupt service program, and data exchange program.
2. The main program of the servo driver is mainly used to complete the initialization of the system, LO interface control signals, and the settings of each control module register in the DSP.
3. After all the initialization operations of the servo drive are completed, the main program enters the waiting state and waits for the occurrence of an interrupt in order to adjust the current loop and speed loop.
4. The interrupt service program mainly includes the four M timer interrupt program, the photoelectric encoder zero pulse capture interrupt program, the power driver maintenance interrupt program, and the communication interrupt program.
5. Servo drive initialization mainly includes DSP core initialization, current loop and speed loop cycle setting, PWM initialization, four M start, ADc initialization and start, QEP initialization, vector and permanent magnet synchronous motor rotor initial orientation initialization, multiple times Servo motor phase current sampling, finding the zero offset of the phase current, initializing the current and speed P adjustment, etc.
6. Some PWM timer interrupt programs are used to sample and calibrate the two-phase currents ia and ib of A and B of the Hall current sensor, and calculate the orientation angle of the rotor magnetic field based on the principle of magnetic field oriented control, and then regenerate the angle. The PWM signal controls the orientation loop and speed loop.
7. The power drive maintenance interruption program is mainly used to detect the fault output of the intelligent power module.
8. The photoelectric encoder zero pulse capture interrupt program can accurately capture the encoder feedback zero pulse, and then obtain the correction value of the AC permanent magnet synchronous motor vector change orientation angle.
9. The data exchange program mainly includes the communication program with the host computer, the reading of EEPRoM parameters, the digital tube display program, etc. The parameter stores the controller keyboard value.