Electric swing door is a kind of revolving door commonly used in automobile. It has many advantages over pneumatic swing door. However, in the prior art, the movement of the electric external swing door is not stable enough and is easy to produce jitter and impact.
Technical realization elements:
Object of the invention: the object of the invention is to provide a control device for the electric outer swing door, which can make the electric outer swing door move stably and is not easy to produce shaking and impact.
Technical scheme: the electric external swing door control device of the invention comprises:
Input module: used to input external control instructions;
Hall module: including hall unit and Hall sensor; The hall unit is used to receive the Hall voltage signal of the hall sensor, calculate the direction and speed of the motor according to the Hall voltage signal, and send the Hall voltage signal, the direction and speed of the motor to the motor drive module;
PID control module: the PID control module receives the input current and speed of the motor from the motor drive module, performs double closed-loop control on the input current and speed of the motor, and sends the control results to the motor drive module;
Analog to digital conversion module: used to collect the input current of the motor in real time and send it to the motor drive module;
Motor drive module: used to send the signals sent by hall module and analog-to-digital conversion module to the logic judgment module, receive the instructions of the logic judgment module, and control the motor drive circuit according to the instructions; Send the input current and speed of the motor to the PID control module, receive the control result of the PID control module, and control the driving circuit of the motor according to the control result;
Logic judgment module: used to judge the state of the motor and send the command to control the motor to the motor drive module.
In addition, the control device also includes an output module; The output module is used to output the current state of the electric swing door.
In addition, the control device also includes a communication module; The communication module is used to realize the communication between the electric swing door and the outside world.