Using ST72141 to realize the control of brushless DC motor

Publisher:电子设计艺术家Latest update time:2006-11-20 Source: 单片机及嵌入式系统应用Keywords:A/D Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
introduction

1 Overview

  ST72141 is a single-chip microcomputer specially designed by ST Company for synchronous motor control. It is especially suitable for the control of 3-phase brushless DC motors. Brushless DC motors can be used in products such as industrial controls, automotive electronics, refrigerators, air conditioners, compressors and fans. The advantages of brushless DC motors are high efficiency, low operating noise, small size, good reliability and long life.

  ST72141 is a member of the ST7 microcontroller family. It includes A/D conversion and SPI interface, has on-chip peripherals specifically for brushless DC motor control, and can choose between sensor mode and sensorless mode.

  The motor control circuit on the ST7 chip can be regarded as a pulse width modulation multiplexer. It has 6 outputs and 1 back electromotive force zero point detection circuit used when controlling brushless DC motors without sensors.

The motor control peripheral of ST72141 has 4 main parts:

◇ Detection circuit for the end of demagnetization and zero point of back electromotive force;

◇ Delay management circuit;

◇ PWM management circuit (requires PWM signal to drive the motor);

◇ Channel management circuit.

A typical application of ST72141 in a brushless DC motor is shown in Figure 1. 2 Basic principles of brushless DC motor



   A brushless DC motor contains two coaxial magnetic armatures: the outer armature, which is the fixed stator, and the inner armature, which is the movable rotor. The stator is the guiding part of the motor; the rotor is the inductive part of the motor. The rotor of the brushless DC motor's internal armature is a permanent magnet. This armature is powered by a constant current source. The stator can have multiple phases (here, 3 phases are taken as an example). The motor is a synchronous motor. The brushless permanent magnet DC motor is a synchronous motor, and the magnetic field rotation speed of the stator is the same as the mechanical rotation speed of the rotor.

  Back EMF is the basis for driving a brushless DC motor in sensorless mode using the ST72141. The back electromotive force is proportional to the rotation speed of the rotor, the magnetic flux flowing through the rotor and the number of rotors in the corresponding windings.

  The torque generated by the winding is proportional to the current and magnetic flux.

  ST72141 provides 2 control modes: voltage mode and current mode. In current mode, the torque can be directly adjusted proportionally; in voltage mode, the speed can be adjusted and the torque limit threshold (i.e., the current threshold) can be set.

3 ST72141 for brushless DC motor control

  Figure 2 is a schematic diagram of motor control using 6 steps.

  The motor control in ST72141 is based on the standard three half-bridge 6-step control principle.

  T1, T3, and T5 are the upper-end transistors of the motor A, B, and C winding phases.

  T2, T4, and T6 are the lower-end transistors of the A, B, and C winding phases of the motor.

  At step size 1, phase A is forward biased, so the current in this winding is positive; phase B is reverse biased, so the current in this phase winding is negative. At this time, no power is applied to the C-phase winding.

  In brushless mode, using ST72141 to control the motor, you can read the phase winding back electromotive force without applied power (here, starting with winding phase C as the step size 1). By reading this back EMF, the actual position of the rotor can be determined.   As shown in Figure 3, the efficiency is optimal when the back electromotive force and the current of the phase winding are in the same direction.



  ST72141 can have 2 different driving modes: voltage mode and current mode. In current mode, the magnitude of the torque is changed by changing the reference current of the motor (because the torque is proportional to the current). The current control is adjusted through PWM. In voltage mode, the speed is changed by changing the reference voltage of the motor. This mode does not directly control the current, but sets the highest limit of the current, that is, the maximum value of the torque that can be reached. Voltage control is also achieved by changing the PWM period.

  Adjustment of the motor speed is achieved using a closed loop. There are 2 speed adjustment loops inside ST72141. The first loop is the adjustment loop for efficiency during automatic reversal. This loop makes the back electromotive force and the current signal of the phase winding in the same direction. The second loop is the speed adjustment loop, which can maintain the motor at the set speed.

  ST72141 processes motor control based on three events: back electromotive force zero-crossing event (Z event), commutation (C event), and winding demagnetization end (D event), as shown in Figure 4.

  The end of demagnetization and the zero-crossing point of back electromotive force are physical events, but the commutation event is calculated through ST72141, that is, the delay time between the zero-crossing event and the next commutation is calculated. If the speed is increased, the zero-crossing event will occur earlier and the delay must be reduced to bring the back EMF and phase winding currents in the same direction.

  The motor control peripheral of the ST72141 always handles these 3 events in the same order: the Z event generates the C event after a calculated delay, and then waits for the D event. When the motor starts, it enters the automatic commutation mode after detecting certain continuous Z events.   In ST72141, the detection of Z event (zero crossing point) and D event (end of demagnetization) are handled by the same peripheral part. These signals are input through the three pins of MCIA, MCIB and MCIC of ST72141. The principle of zero-crossing event (Z event) detection is shown in Figure 5.



  Figure 5 shows the two states of motor control. In the left part of Figure 5, winding C has been demagnetized. After approximately 20 μs , the window for reading the back EMF opens. When T1 is turned off, current flows through the freewheeling diode, and point A is ground. Assume that the back electromotive force of the A-phase winding is Ea, the back electromotive force of the B-phase winding is Eb, and the back electromotive force of the C-phase winding is Ec. When Ec crosses the zero point, Ea=-Eb, so there is zero potential at N. This means that the required back electromotive force information can be obtained without a virtual ground. The back electromotive force zero-crossing event is obtained through the output comparator. In sensorless mode, a PWM signal of a certain frequency is added to T1. The voltage of C is clamped by the clamping diode at +5V/0.6V (what needs to be paid attention to is the zero crossing point). The analysis here also applies to motor windings with delta connections.

  One input of the comparator is the voltage signal of the C-phase winding, and the other input is a threshold voltage (0.2, 0.6, 1.2 and 2.5V selectable through software). ST72141 waits for the back electromotive force of the C-phase winding to reach the selected threshold voltage. The PWM signal is applied to T1, and when T1 is turned off, the voltage of the C-phase winding is ground. Therefore, the ST72141 only needs to read the back EMF to detect the point in time when this threshold is reached.

  The method of detecting the demagnetization end event is the same as the zero-crossing event, and uses the same peripherals. The motor control processes these three events in a fixed order. After a delay after the Z event, a C event is generated, and then it waits for a D event.   After commutation, accelerated phase winding demagnetization begins. To avoid premature detection of end-of-demagnetization events, there is a 20 μs filtering time after commutation, as shown in Figure 6. In order to avoid detecting the end of degaussing event too late, the detection of the end of degaussing uses the same comparator, but the sampling frequency is 800kHz.



  In the sensorless mode, the output sampling frequency of the comparator is the PWM signal during the zero-crossing event and is 800kHz during the demagnetization end event detection.

4 Examples of starting and controlling motors

  Here we take the starting of a motor with 2 pole pairs as an example. After the motor starts, the target speed is 1400r/min. Before starting the motor, the position must be pre-fixed. When first started, the back EMF signal is too weak to be read. In the process before reading the back electromotive force signal, the current must provide > (load torque + friction torque + torque of the inertial load of the motor). Therefore, during startup, the PWM duty cycle of ST72141 timer A must be higher than the value required under normal operation.

  After a certain step size, in order to detect the zero-crossing event, a special method is needed to start the motor, called synchronous (forced commutation) mode, or the process of the motor accelerating according to the accelerometer.   After a certain step size, continuously increasing step time and current are applied to the motor to accelerate the motor and detect a zero-crossing event. After detecting a specified number of consecutive Z events during motor acceleration, adjustments will be made to make the motor run at high efficiency, that is, the motor will enter automatic commutation mode. If the motor cannot enter the automatic commutation mode after the accelerometer is taken, the motor will stop. Figure 7 shows the starting process of the motor in closed-loop mode.



  The starting process in open loop mode is the same, except that the current or voltage can be changed by the user after the motor enters automatic commutation mode. In closed-loop mode, the current or voltage limit is imposed by the user and fixed until the motor enters speed adjustment. After entering speed adjustment, the current is no longer controlled by the user (ST72141 automatically adjusts). In closed-loop control mode, no matter which control mode (current or voltage), the speed adjustment loop starts. The motor is controlled by the microcontroller and runs at a fixed speed determined by the speedometer.

 
Keywords:A/D Reference address:Using ST72141 to realize the control of brushless DC motor

Previous article:Using ST72141 to realize the control of brushless DC motor
Next article:EM78P447S microcontroller and its application in DC motor infrared remote control system

Recommended ReadingLatest update time:2024-11-16 16:49

Application of DS2430A in Plug-and-Play Sensor System
Introduction With the increasing automation, complexity, accuracy and reliability of measurement and control systems, people are demanding higher and higher performance from sensors. Currently, IEEE 1451.4 provides a new standard for sensors. This standard establishes a general method for making sensors plug-and
[Industrial Control]
Application of DS2430A in Plug-and-Play Sensor System
Application of piezoelectric film sensors in monitoring vital signs
Piezoelectric film has unique properties that make it a good choice for monitoring vital signs on the surface of human skin or implanted in the human body as a dynamic strain sensor. Some thin film elements are sensitive enough to detect a person's pulse through a coat. This article will focus on several typical appl
[sensor]
Application of piezoelectric film sensors in monitoring vital signs
Measuring medium of static pressure level sensor
The static pressure liquid level sensor is one of the many types of liquid level sensors. It is mainly used to measure the liquid in the industry and is widely used in many industries. Do we know what the measuring media of the static pressure liquid level sensor are? Today, the editor will give you a detailed introdu
[Test Measurement]
Design and implementation of wireless image sensor node based on nRF24L01
Introduction Wireless sensor networks integrate sensor technology, embedded computing technology, modern network and wireless communication technology, distributed information processing technology, etc. They can monitor, sense and collect information of various environments or monitoring objects in real time through
[Industrial Control]
Design and implementation of wireless image sensor node based on nRF24L01
Xynos4412 bare metal development - A/D converter
1. Exynos4412 A/D Converter Overview 1. Brief Introduction 10-bit or 12-bit CMOS recirculating analog-to-digital converter with 10-channel input and can convert analog quantity to 10-bit or 12-bit binary number. Maximum conversion speed of 1Msps at 5Mhz A/D conversion clock. A/D conversion has on-chip sample-and-hol
[Microcontroller]
Xynos4412 bare metal development - A/D converter
Application of speed sensorless vector control system in subway vehicles
0 Introduction As people's requirements for subway trains are getting higher and higher, the traction system, as the core component of subway trains, must have higher and higher dynamic speed regulation performance. Guangzhou Metro Line 3 is the first metro line in China to operate at high speed (120
[sensor]
Application of speed sensorless vector control system in subway vehicles
ATMega8 query mode A/D conversion test program
/********************************   ATMega8 query mode A/D conversion test program   File name: main.c   Compiler: WinAVR-20070122   Hardware environment: CA-M8X The switches turned on are as follows             S6(1,2) - external 4MHz crystal             S1(7) - PC0 connected to potentiometer             S5(5
[Microcontroller]
Inductive proximity sensors transform into mechanical switch applications
With the development of industrial control, the production of control systems now often requires the selection of a large number of sensors and limit switches. In order to better meet the needs of this field, SoftNoze Sensor Accessories Trading (Shanghai) Co., Ltd. introduced the distance-changing elastic rod into t
[Industrial Control]
Latest Industrial Control Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号