|
The E-BIKE-based 78F0712 brushless DC motor controller design
2012-01-06 by seoer1
This paper introduces the special chip μPD78F0712 motor control as the core of E-BIKE with brushless DC motor controller design, focuses primarily on the PWM control circuit and power switching devices of choice, drive circuit, protection circuit and software design. Introduction Electric bicycle is a safe, economical and clean, green transport, not only in energy, the environment has its unique advantages and competitiveness, and can more easily control the use of modern technology to achieve its goal of mechatronics, which has broad prospects for development. Speed accuracy is not required in many of the applications, brushless DC Utility Vehicle Manufacturer (BLDC), mainly through the open-loop speed control mode PWM modulation to achieve. Turn-on logic signal applied to the PWM signal given by external PWM duty cycle to achieve the speed of change, the hardware implementation easier, lower cost. The current speed of electric bicycles on the market they use this approach. To improve the E-BIKE (bike) with a brushless DC motor control performance, this paper presents a dedicated motor using NEC's core control chip μPD78F0712 control program, and the motor speed and current closed-loop control, purpose is to improve the dynamic and static characteristics, to optimize the control performance. μPD78F0712 μPD78F0712 for the NEC's 8-bit motor control dedicated driver chip, which is characterized as follows: Minimum instruction execution time of up to 0.1ms; external clock frequency of 20MHz; high-speed on-chip crystal oscillator (8MHz); 32 8-bit general purpose registers; on-chip multiplication / division device; 16K ROM, 768 Bytes RAM; self-programming function; on-chip watchdog timer; 10 inverter control circuit; 4-channel 10-bit A / D conversion; No. 15 IO ports; real-time output port. Brushless DC motor control system ΜPD78F0712 brushless DC motor based on the control system block diagram shown in Figure 1. Position detection circuit Brushless DC motor using three spatial difference of 120o of the Hall device for position detection. The output waveform shown in Figure 2. The role of the voltage detection circuit is real-time detection of the output voltage of the battery to prevent battery during operation due to over-discharge damage. The output voltage through the resistor divider and the control chip A / D converter circuit to convert the program to achieve the control voltage protection. Current detection circuit Current detection circuit for detecting the operation process of the flow through the mobility scooter windings and the power circuit of the current instantaneous value and the current sampling for the current closed-loop control systems, and overcurrent protection. To reduce system cost, brushless DC motor according to the pairwise power control method works in the next three-phase drive circuit and systems to bridge between the string into a 5-ohm power resistors, the two terminal voltage after amplification for current sampling. Power circuit Power circuit shown in Figure 4, the DC supply voltage of 48V, three-phase bridge inverter circuit, work is twenty-two power, that is, in each work cycle for every 60 degrees relative to a power tube, each power MOSFET is 120 degrees, the same bridge arm do not need to add two MOSFET dead time. Driver circuit generally includes two forms: the use of special driver chip or discrete devices constitute a drive circuit. The system used in the latter program, you can ensure the reliability of the premise of reducing system cost. By the discrete components of one phase leg of the driver circuit shown in Figure 5. The system uses the speed and current double closed loop digital control, which is a debugging feature is convenient, easy to control the policy change. The speed loop PI control strategy using the traditional, current loop with a back-EMF compensation using PI control scheme. Software design is modular control scheme, given the speed and position from the sampling rate, the closed-loop regulation and other functions are controlled by the MCU software. System software flow shown in Figure 6. According to system requirements, new day as a test prototype elegance No. 6, the use of brushless DC motor of the indicators are as follows: Rated voltage: 48V; rated power: 240W; Other system control circuit to ensure the circumstances remain unchanged after the replacement control board prototype shown in Figure 8. · 120o/60o motor switching · Brake power. · Electric auxiliary brake and reverse charging · Cruise control. · Speed and current closed loop · Stall protection · Undervoltage protection · Other auxiliary functions. After the system test proved that with the current market, E-BIKE, this system has achieved all the basic control functions, and on this basis, an increase of speed and current closed-loop control to improve the system's dynamic response. |