WO2021068241A1 - Brushless direct current motor hall sensor fault-tolerant control device and control method therefor - Google Patents

Brushless direct current motor hall sensor fault-tolerant control device and control method therefor Download PDF

Info

Publication number
WO2021068241A1
WO2021068241A1 PCT/CN2019/110812 CN2019110812W WO2021068241A1 WO 2021068241 A1 WO2021068241 A1 WO 2021068241A1 CN 2019110812 W CN2019110812 W CN 2019110812W WO 2021068241 A1 WO2021068241 A1 WO 2021068241A1
Authority
WO
WIPO (PCT)
Prior art keywords
hall sensor
captured
brushless
electrical angle
time
Prior art date
Application number
PCT/CN2019/110812
Other languages
French (fr)
Chinese (zh)
Inventor
王浩陈
张懿
吴洁
魏海峰
Original Assignee
江苏科技大学
江苏科技大学海洋装备研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 江苏科技大学, 江苏科技大学海洋装备研究院 filed Critical 江苏科技大学
Publication of WO2021068241A1 publication Critical patent/WO2021068241A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/30Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • G01D5/246Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains by varying the duration of individual pulses
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Definitions

  • the invention belongs to the field of brushless DC motor control, and in particular relates to a fault-tolerant control device for a Hall sensor of a brushless DC motor and a control method thereof.
  • Brushless DC motors have the advantages of high efficiency, fast response, and high power density. Therefore, brushless DC motors have been widely used in more and more industries.
  • Vector control also known as sine wave drive control, has higher efficiency, less noise and higher control flexibility than square wave drive control.
  • Hall sensors are used as position sensors to realize the estimation of electrical angles in vector control. Rather, the Hall sensor as a Hall position sensor as a semiconductor element, because of its own characteristics, it is difficult to ensure its long-term and reliable operation in harsh working situations such as high and low temperature, strong impact, and strong vibration. Once the Hall position sensor fails, it will cause serious distortions to the three-phase current of the brushless DC motor.
  • the existing relatively stable fault-tolerant method is to first diagnose which Hall sensor is faulty, and then rely on the other two Hall sensors to reconstruct the other Hall sensor.
  • the fault diagnosis process takes a long time, and some need to stop outputting control signals to the inverter, which affects the control efficiency.
  • using two Hall sensors to reconstruct another Hall sensor algorithm is complicated to implement, and is not suitable for application in low-end controllers.
  • the present invention improves the Hall sensor detection circuit and the electrical angle estimation method, and the fault-tolerant control simplifies the fault diagnosis process and does not rely on signal reconstruction, and the control efficiency is high and easy to implement.
  • the technical problem to be solved by the present invention is to provide a brushless DC motor Hall sensor fault-tolerant control device and a control method thereof, so as to solve the problems of low efficiency and high implementation difficulty of the traditional fault-tolerant control method.
  • the technical scheme of the present invention is: a brushless DC motor Hall sensor fault-tolerant control device, its innovation lies in: including a Hall sensor unit, a brushless DC motor three-phase stator winding, an inverter and Controller,
  • the Hall sensor unit is connected to the controller and is used to detect the rotor position of the brushless DC motor; the inverter is connected to the three-phase stator winding of the brushless DC motor and is used to transfer the brushless DC motor to the three-phase stator winding.
  • the three-phase stator windings of the motor inject voltage signals to drive the brushless DC motor; the controller is connected to the inverter and is used to process the output signal of the Hall sensor unit and output the drive to the inverter signal.
  • the hall sensor unit includes a hall sensor A, a hall sensor B, and a hall sensor C;
  • the controller includes a first group of pins and a second group of pins, and the first group of pins and the first group of pins Both sets of pins are connected to the Hall sensor unit;
  • the function of the first group of pins is set as an external interrupt capture function, which is used to capture the rising and falling edges of the level signals of the Hall sensor A, Hall sensor B, and Hall sensor C;
  • the function of the second group of pins is set as a PWM input capture function, which is used to obtain the high level time and the low level time of the level signals of the Hall sensor A, the Hall sensor B, and the Hall sensor C.
  • a control method of the above-mentioned brushless DC motor Hall sensor fault-tolerant control device, its innovation is that: the control method includes the following steps:
  • Step 1 When the rising or falling edge information of the Hall sensor is captured, the brushless DC motor running timing time is cleared, the electrical angle of the brushless DC motor is corrected, and then the high level time or low voltage of the Hall sensor is obtained Peace time
  • Step 2 According to the sequence of capturing the rising or falling edge of the Hall sensor, judge whether the Hall sensor is faulty; when a fault occurs, calculate the electrical angle with the high level time and low level time of other normal Hall sensors; When no fault occurs, calculate the electrical angle with the high level time and low level time of the three Hall sensors;
  • Step 3 Calculate the electrical angle based on the electrical angle corrected in step 1, the running timing time of the brushless DC motor and the high level time or low level time of the normal Hall sensor.
  • the relationship between the acquisition of the high-level time or the low-level time of the Hall sensor in step 1 and the rising edge or the falling edge of the Hall sensor is specifically:
  • the low level time of Hall sensor A When the rising edge of Hall sensor A is captured, the low level time of Hall sensor A is obtained. When the falling edge of Hall sensor A is captured, the high level time of Hall sensor A is obtained. When the Hall sensor A is captured Obtain the low level time of Hall sensor B at the rising edge of B, obtain the high level time of Hall sensor B when the falling edge of Hall sensor B is captured, and obtain the high level time of Hall sensor B when the rising edge of Hall sensor C is captured. The low level time of the Hall sensor C, when the falling edge of the Hall sensor C is captured, the high level time of the Hall sensor C is obtained.
  • the specific method for judging the failure of the Hall sensor is as follows:
  • Hall sensor A when the brushless DC motor rotates clockwise, when the rising edge of Hall sensor B is captured and the last captured is the rising edge of Hall sensor C, or when the falling edge of Hall sensor B is captured and the last captured When it is the falling edge of Hall sensor C, it is judged that Hall sensor A is faulty; when the rising edge of Hall sensor C is captured and the last time is captured as the rising edge of Hall sensor A, or when Hall sensor C is captured When the rising edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor A, it is judged that Hall sensor B is faulty; when the rising edge of Hall sensor A is captured and the last time is captured as the rising edge of Hall sensor B, or, When the falling edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor B, it is judged that Hall sensor C is faulty.
  • step 3 according to the electrical angle corrected in step 1, the operation timing time of the brushless DC motor and the high-level time or low-level time of the normal Hall sensor are used to calculate the electrical angle of the brushless DC motor.
  • the specific method as follows:
  • ⁇ r is the electrical angle of the brushless DC motor
  • T j is the high level time or low level time of the normal Hall sensor
  • E i is the corrected electrical angle
  • t 0 is Brushless DC motor running timing time.
  • step 1 the electrical angle correction method in step 1 and the value of "E i "are specifically:
  • T 1 is the low-level time of the Hall sensor A
  • T 2 is the Hall sensor A
  • T 3 is the low level time of Hall sensor B
  • T 4 is the high level time of Hall sensor A
  • T 5 is the low level time of Hall sensor C
  • T 6 It is the high level time of Hall sensor B.
  • calculation method of the electrical angle is specifically:
  • a Hall sensor with a Hall sensor C is high time T 2
  • the Hall sensor B is low time T 3
  • the low time T 5 C Hall sensor and a Hall sensor B's high level time T 6 calculates the electrical angle
  • step 1 a timer is started before step 1 to obtain the running timing t 0 of the brushless DC motor.
  • the present invention realizes the complete collection of the rising edge, falling edge, high level time, and low level time of the three Hall sensors by improving the Hall sensor acquisition circuit, which provides convenience for the estimation of electrical angles. It is more accurate than the traditional Hall sensor detection method;
  • the present invention analyzes the order of appearance of the Hall sensor, and according to the edge information of the Hall sensor currently captured and the edge information of the Hall sensor captured last time, the fault type of the Hall sensor can be judged. Method suggestions, easy to implement;
  • the present invention provides an electrical angle estimation method that utilizes the running time of the brushless DC motor, the correction of the electrical angle, and the high-level time or the low-level time of the Hall sensor. It is not only suitable for electrical angle estimation under normal conditions, but also Electric angle estimation under Hall sensor failure, the calculation method is simple and suitable for low-performance controllers.
  • Fig. 1 is a schematic diagram of a fault-tolerant control device for a Hall sensor of a brushless DC motor implemented in the present invention.
  • Fig. 2 is a flowchart of a fault-tolerant control method for a Hall sensor of a brushless DC motor implemented in the present invention.
  • Fig. 3 is a schematic diagram of the level signals of Hall sensors A, B, and C according to a specific implementation of the present invention.
  • FIG. 4 is a schematic diagram of the reverse/clockwise edge signal sequence when the Hall sensor A is faulty according to the specific implementation of the present invention.
  • Fig. 5 is a schematic diagram of fault-tolerant control when the Hall sensor A fails in a specific implementation of the present invention.
  • this embodiment provides a Hall sensor fault-tolerant control device for a brushless DC motor, which includes a Hall sensor unit, a brushless DC motor three-phase stator winding, an inverter, and a controller; the Hall sensor unit It is connected to the controller to detect the rotor position of the brushless DC motor; the inverter is connected to the three-phase stator winding of the brushless DC motor and is used to inject voltage signals into the three-phase stator winding of the brushless DC motor to realize the brushless DC motor The controller is connected with the inverter, and is used to process the output signal of the Hall sensor unit and output the driving signal to the inverter.
  • the Hall sensor unit includes Hall sensor A, Hall sensor B, and Hall sensor C;
  • the controller includes a first set of pins IO-1 and a second set of pins IO-2, and the first set of leads The pin IO-1 and the second group of pins IO-2 are both connected to the Hall sensor unit.
  • the three-phase stator windings of the brushless DC motor include U-phase windings, V-phase windings, and W-phase windings;
  • the inverter includes power switching devices T1 to T6.
  • the function of the first group of pins IO-1 is set as an external interrupt capture function, which is used to capture the rising and falling edges of the level signals of Hall sensor A, Hall sensor B, and Hall sensor C;
  • the function of the second group of pins IO-2 is set as the PWM input capture function, which is used to obtain the high level time and low level time of the level signals of Hall sensor A, Hall sensor B, and Hall sensor C.
  • this embodiment provides a fault-tolerant control method for a Hall sensor of a brushless DC motor, which includes the following steps:
  • Step S1 When the rising or falling edge information of the Hall sensor is captured, the brushless DC motor running timing time is cleared, the electrical angle of the brushless DC motor is corrected, and then the high level time or low voltage of the Hall sensor is obtained. Peace time
  • Step S2 Determine whether the Hall sensor is faulty according to the sequence of capturing the rising or falling edge of the Hall sensor; when a fault occurs, calculate the electrical angle based on the high level time and low level time of other normal Hall sensors; When no fault occurs, calculate the electrical angle with the high level time and low level time of the three Hall sensors;
  • Step S3 Calculate the electrical angle according to the electrical angle corrected in step S1, the running timing time of the brushless DC motor and the high level time or low level time of the normal Hall sensor. As shown in Figure 3, it is a schematic diagram of the level signals of Hall sensors A, B, and C.
  • step S1 the high-level time or low-level time of the Hall sensor is acquired, and the relationship with the rising or falling edge of the Hall sensor is specifically:
  • the low level time T1 of Hall sensor A is acquired.
  • the high level time T4 of Hall sensor A is acquired.
  • the high level time T4 of Hall sensor A is acquired.
  • Obtain the low level time T3 of Hall sensor B at the rising edge of Hall sensor B obtain the high level time T6 of Hall sensor B when the falling edge of Hall sensor B is captured, and obtain the high level time T6 of Hall sensor B when the falling edge of Hall sensor B is captured.
  • the low level time T5 of the Hall sensor C is acquired at the rising edge, and the high level time T2 of the Hall sensor C is acquired when the falling edge of the Hall sensor C is captured.
  • step S2 according to the sequence of capturing the rising or falling edge of the Hall sensor, the specific method for judging the failure of the Hall sensor is as follows: when the brushless DC motor rotates counterclockwise, when the rising edge of the Hall sensor C is captured And when the last capture is the rising edge of Hall sensor B, or when the falling edge of Hall sensor C is captured and the last capture is the falling edge of Hall sensor B, it is judged that Hall sensor A is faulty; When the rising edge of Hall sensor A and the last time captured as the rising edge of Hall sensor C, or when the falling edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor C, judge Hall Sensor B failure; when the rising edge of Hall sensor B is captured and the last time is captured as the rising edge of Hall sensor A, or when the falling edge of Hall sensor B is captured and the last time is captured as Hall sensor A At the falling edge, it is judged that the Hall sensor C is faulty.
  • Hall sensor A when the brushless DC motor rotates clockwise, when the rising edge of Hall sensor B is captured and the last captured is the rising edge of Hall sensor C, or when the falling edge of Hall sensor B is captured and the last captured When it is the falling edge of Hall sensor C, it is judged that Hall sensor A is faulty; when the rising edge of Hall sensor C is captured and the last time is the rising edge of Hall sensor A, or when Hall sensor C is captured When the rising edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor A, it is judged that Hall sensor B is faulty; when the rising edge of Hall sensor A is captured and the last time is captured as the rising edge of Hall sensor B, or, When the falling edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor B, it is judged that Hall sensor C is faulty.
  • FIG. 4 it is a schematic diagram of the reverse/clockwise edge signal sequence when Hall sensor A fails.
  • the brushless DC motor rotates counterclockwise, when the rising edge X3 of Hall sensor C is captured and the last time is captured as the rising edge X1 of Hall sensor B, or when the falling edge X4 of Hall sensor C is captured and goes up
  • the first capture is the falling edge X2 of Hall sensor B, it is judged that Hall sensor A is faulty; because when the Hall sensor is normal, when the rising edge X3 of Hall sensor C is captured, the edge signal captured last time should be The falling edge of Hall sensor A, or when the falling edge X4 of Hall sensor C is captured, the last captured edge signal should be the rising edge of Hall sensor A.
  • step 3 the electrical angle of the brushless DC motor is calculated according to the electrical angle corrected in step S1, the running timing time of the brushless DC motor and the high level time or low level time of the normal Hall sensor.
  • the specific method is as follows : Among them, “ ⁇ r” is the electrical angle of the brushless DC motor, “Tj” is the high level time or low level time of the normal Hall sensor, “Ei” is the corrected electrical angle, and “t0” is the brushless DC motor. Motor running timing time.
  • the formula shows that on the basis of the corrected electrical angle "Ei", the integral of the average electrical angular velocity 180/Tj is added to obtain the calculated electrical angle.
  • Hall sensor A when Hall sensor A is judged to be faulty, use the high level time T2 of Hall sensor C, the low level time T3 of Hall sensor B, the low level time T5 of Hall sensor C, and the Hall sensor C.
  • the high level time T6 of sensor B calculates the electrical angle; when it is judged that Hall sensor B is faulty, use the high level time T1 of Hall sensor A, the high level time T2 of Hall sensor C, and the high level time T2 of Hall sensor A.
  • the high level time T4 and the low level time T5 of Hall sensor C calculate the electrical angle; when it is judged that Hall sensor C is faulty, the high level time of Hall sensor A is T1, and the low level time of Hall sensor B is T3.
  • the high level time T4 of Hall sensor A and the high level time T6 of Hall sensor B calculate the electrical angle.
  • a timer is started before step S1 to obtain the running time t0 of the brushless DC motor.
  • FIG. 5 it is a schematic diagram of fault-tolerant control when Hall sensor A fails.
  • the electrical angle is calculated according to the low level time T5 of Hall sensor C and the correction angle E5, specifically:
  • the electrical angle is calculated according to the low and high level time T6 of the Hall sensor B and the correction angle E6.
  • the specifics are: the same can be obtained, when the Hall sensor is obtained When the falling edge X4 of C or the rising edge X1 of Hall sensor B is obtained, the high level time or low level time Tj of the corresponding normal Hall sensor and the corrected electrical angle Ei are selected to calculate the electrical angle.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

The present invention relates to a brushless direct current motor Hall sensor fault-tolerant control device and a control method therefor, comprising a Hall sensor unit, a brushless direct current motor three-phase stator winding, an inverter and a controller; the Hall sensor unit is connected with the controller and is used for detecting a rotor position of a brushless direct current motor; the inverter is connected with the brushless direct current motor three-phase stator winding and is used for injecting a voltage signal into the brushless direct current motor three-phase stator winding so as to realize driving of the brushless direct-current motor; the controller is connected with the inverter and is used for processing an output signal of the Hall sensor unit and outputting a driving signal to the inverter. The present invention has advantages that through improvement of a traditional Hall sensor acquisition circuit, complete acquisition of edge signals and high and low levels of the Hall sensor is achieved, fault-tolerant control is achieved on the basis of an improved electrical angle calculation method, and the control method is efficient in terms of algorithms and easy to achieve.

Description

一种无刷直流电机霍尔传感器容错控制装置及其控制方法Brushless DC motor Hall sensor fault-tolerant control device and control method thereof 技术领域Technical field
本发明属于无刷直流电机控制领域,特别涉及一种无刷直流电机霍尔传感器容错控制装置及其控制方法。The invention belongs to the field of brushless DC motor control, and in particular relates to a fault-tolerant control device for a Hall sensor of a brushless DC motor and a control method thereof.
背景技术Background technique
无刷直流电机具有效率高,响应快,功率密度高等优点。因此,无刷直流电机已经在越来越多的行业广泛应用。矢量控制,又称正弦波驱动控制,相比方波驱动控制,其效率高、噪声小,控制灵活度高。Brushless DC motors have the advantages of high efficiency, fast response, and high power density. Therefore, brushless DC motors have been widely used in more and more industries. Vector control, also known as sine wave drive control, has higher efficiency, less noise and higher control flexibility than square wave drive control.
在一些低成本控制器领域,以霍尔传感器作为位置传感器,以实现矢量控制中电气角度的估算。而是,霍尔传感器作为霍尔位置传感器作为一种半导体元件,因为自身特性难以保证其长期可靠地工作在高低温、强冲击、强振动等苛刻的工作场合中。一旦霍尔位置传感器出现故障会对无刷直流电机三相电流造成严重畸变。针对这一问题,现有比较稳定容错方法是首先诊断出哪一个霍尔传感器出现故障,再依靠另外两个霍尔传感器去重构另一个霍尔传感器。但是,故障诊断过程时消耗时间较长,有的需要停止对逆变器输出控制信号,影响了控制效率。而且以两个霍尔传感器去重构另一个霍尔传感器算法实现上复杂,不适合在低端控制器中应用。In some low-cost controller fields, Hall sensors are used as position sensors to realize the estimation of electrical angles in vector control. Rather, the Hall sensor as a Hall position sensor as a semiconductor element, because of its own characteristics, it is difficult to ensure its long-term and reliable operation in harsh working situations such as high and low temperature, strong impact, and strong vibration. Once the Hall position sensor fails, it will cause serious distortions to the three-phase current of the brushless DC motor. In response to this problem, the existing relatively stable fault-tolerant method is to first diagnose which Hall sensor is faulty, and then rely on the other two Hall sensors to reconstruct the other Hall sensor. However, the fault diagnosis process takes a long time, and some need to stop outputting control signals to the inverter, which affects the control efficiency. Moreover, using two Hall sensors to reconstruct another Hall sensor algorithm is complicated to implement, and is not suitable for application in low-end controllers.
本发明通过对霍尔传感器检测电路和电气角度估算方法的改 进,容错控制简化了故障诊断过程并不依赖信号重构,控制效率高、容易实现。The present invention improves the Hall sensor detection circuit and the electrical angle estimation method, and the fault-tolerant control simplifies the fault diagnosis process and does not rely on signal reconstruction, and the control efficiency is high and easy to implement.
发明内容Summary of the invention
本发明要解决的技术问题是提供一种无刷直流电机霍尔传感器容错控制装置及其控制方法,以解决传统容错控制方法效率低、实现难度大的问题。The technical problem to be solved by the present invention is to provide a brushless DC motor Hall sensor fault-tolerant control device and a control method thereof, so as to solve the problems of low efficiency and high implementation difficulty of the traditional fault-tolerant control method.
为解决上述技术问题,本发明的技术方案为:一种无刷直流电机霍尔传感器容错控制装置,其创新点在于:包括霍尔传感器单元、无刷直流电机三相定子绕组、逆变器和控制器,In order to solve the above technical problems, the technical scheme of the present invention is: a brushless DC motor Hall sensor fault-tolerant control device, its innovation lies in: including a Hall sensor unit, a brushless DC motor three-phase stator winding, an inverter and Controller,
所述霍尔传感器单元与所述控制器相连,用于检测无刷直流电机的转子位置;所述逆变器与所述无刷直流电机三相定子绕组相连,用于向所述无刷直流电机三相定子绕组注入电压信号以现实无刷直流电机的驱动;所述控制器与所述逆变器相连,用于处理所述霍尔传感器单元的输出信号和向所述逆变器输出驱动信号。The Hall sensor unit is connected to the controller and is used to detect the rotor position of the brushless DC motor; the inverter is connected to the three-phase stator winding of the brushless DC motor and is used to transfer the brushless DC motor to the three-phase stator winding. The three-phase stator windings of the motor inject voltage signals to drive the brushless DC motor; the controller is connected to the inverter and is used to process the output signal of the Hall sensor unit and output the drive to the inverter signal.
进一步地,所述霍尔传感器单元包括霍尔传感器A,霍尔传感器B,霍尔传感器C;所述控制器包括第一组引脚和第二组引脚,并且第一组引脚和第二组引脚均与霍尔传感器单元相连;Further, the hall sensor unit includes a hall sensor A, a hall sensor B, and a hall sensor C; the controller includes a first group of pins and a second group of pins, and the first group of pins and the first group of pins Both sets of pins are connected to the Hall sensor unit;
其中,所述第一组引脚的功能设定为外部中断捕获功能,用于捕获所述霍尔传感器A、霍尔传感器B以及霍尔传感器C的电平信号中上升沿和下降沿;所述第二组引脚的功能设定为PWM输入捕获功能,用于获取所述霍尔传感器A、霍尔传感器B以及霍尔传感器C的电平信号中高电平时间和低电平时间。Wherein, the function of the first group of pins is set as an external interrupt capture function, which is used to capture the rising and falling edges of the level signals of the Hall sensor A, Hall sensor B, and Hall sensor C; The function of the second group of pins is set as a PWM input capture function, which is used to obtain the high level time and the low level time of the level signals of the Hall sensor A, the Hall sensor B, and the Hall sensor C.
一种上述的无刷直流电机霍尔传感器容错控制装置的控制方法,其创新点在于:所述控制方法包括如下步骤:A control method of the above-mentioned brushless DC motor Hall sensor fault-tolerant control device, its innovation is that: the control method includes the following steps:
步骤1:当捕获到霍尔传感器的上升沿或者下降沿信息时,无刷直流电机运转计时时间清零,对无刷直流电机电气角度进行校正,再获取霍尔传感器高电平时间或者低电平时间;Step 1: When the rising or falling edge information of the Hall sensor is captured, the brushless DC motor running timing time is cleared, the electrical angle of the brushless DC motor is corrected, and then the high level time or low voltage of the Hall sensor is obtained Peace time
步骤2:根据捕获霍尔传感器的上升沿或者下降沿的顺序,判断霍尔传感器是否故障;当发生故障时,以其他正常霍尔传感器的高电平时间和低电平时间计算电气角度;当未发生故障时,以三个霍尔传感器的高电平时间和低电平时间计算电气角度;Step 2: According to the sequence of capturing the rising or falling edge of the Hall sensor, judge whether the Hall sensor is faulty; when a fault occurs, calculate the electrical angle with the high level time and low level time of other normal Hall sensors; When no fault occurs, calculate the electrical angle with the high level time and low level time of the three Hall sensors;
步骤3:根据步骤1中校正的电气角度,无刷直流电机运转计时时间和正常霍尔传感器的高电平时间或低电平时间计算电气角度。Step 3: Calculate the electrical angle based on the electrical angle corrected in step 1, the running timing time of the brushless DC motor and the high level time or low level time of the normal Hall sensor.
进一步地,步骤1中所述获取霍尔传感器高电平时间或者低电平时间,与霍尔传感器的上升沿或者下降沿的关系具体为:Further, the relationship between the acquisition of the high-level time or the low-level time of the Hall sensor in step 1 and the rising edge or the falling edge of the Hall sensor is specifically:
当捕获到霍尔传感器A的上升沿时获取霍尔传感器A的低电平时间,当捕获到霍尔传感器A的下降沿时获取霍尔传感器A的高电平时间,当捕获到霍尔传感器B的上升沿时获取霍尔传感器B的低电平时间,当捕获到霍尔传感器B的下降沿时获取霍尔传感器B的高电平时间,当捕获到霍尔传感器C的上升沿时获取霍尔传感器C的低电平时间,当捕获到霍尔传感器C的下降沿时获取霍尔传感器C的高电平时间。When the rising edge of Hall sensor A is captured, the low level time of Hall sensor A is obtained. When the falling edge of Hall sensor A is captured, the high level time of Hall sensor A is obtained. When the Hall sensor A is captured Obtain the low level time of Hall sensor B at the rising edge of B, obtain the high level time of Hall sensor B when the falling edge of Hall sensor B is captured, and obtain the high level time of Hall sensor B when the rising edge of Hall sensor C is captured The low level time of the Hall sensor C, when the falling edge of the Hall sensor C is captured, the high level time of the Hall sensor C is obtained.
进一步地,步骤2所述根据捕获霍尔传感器的上升沿或者下降沿的顺序,判断霍尔传感器故障的具体方法如下:Further, according to the sequence of capturing the rising edge or the falling edge of the Hall sensor in step 2, the specific method for judging the failure of the Hall sensor is as follows:
当无刷直流电机逆时针转动时,当捕获到霍尔传感器C的上升沿并且上一次捕获为霍尔传感器B的上升沿时,或者,当捕获到霍尔传感器C的下降沿并且上一次捕获为霍尔传感器B的下降沿时,判断霍尔传感器A故障;当捕获到霍尔传感器A的上升沿并且上一次捕获为霍尔传感器C的上升沿时,或者,当捕获到霍尔传感器A的下降沿并且上一次捕获为霍尔传感器C的下降沿时,判断霍尔传感器B故障;当捕获到霍尔传感器B的上升沿并且上一次捕获为霍尔传感器A的上升沿时,或者,当捕获到霍尔传感器B的下降沿并且上一次捕获为霍尔传感器A的下降沿时,判断霍尔传感器C故障;When the brushless DC motor rotates counterclockwise, when the rising edge of Hall sensor C is captured and the last captured is the rising edge of Hall sensor B, or when the falling edge of Hall sensor C is captured and the last captured When it is the falling edge of Hall sensor B, it is judged that Hall sensor A is faulty; when the rising edge of Hall sensor A is captured and the last time is captured as the rising edge of Hall sensor C, or when Hall sensor A is captured When the rising edge of Hall sensor B is captured and the last time is captured as the falling edge of Hall sensor C, it is judged that Hall sensor B is faulty; when the rising edge of Hall sensor B is captured and the last time is captured as the rising edge of Hall sensor A, or, When the falling edge of Hall sensor B is captured and the last time is captured as the falling edge of Hall sensor A, it is judged that Hall sensor C is faulty;
当无刷直流电机顺时针转动时,当捕获到霍尔传感器B的上升沿并且上一次捕获为霍尔传感器C的上升沿时,或者,当捕获到霍尔传感器B的下降沿并且上一次捕获为霍尔传感器C的下降沿时,判断霍尔传感器A故障;当捕获到霍尔传感器C的上升沿并且上一次捕获为霍尔传感器A的上升沿时,或者,当捕获到霍尔传感器C的下降沿并且上一次捕获为霍尔传感器A的下降沿时,判断霍尔传感器B故障;当捕获到霍尔传感器A的上升沿并且上一次捕获为霍尔传感器B的上升沿时,或者,当捕获到霍尔传感器A的下降沿并且上一次捕获为霍尔传感器B的下降沿时,判断霍尔传感器C故障。When the brushless DC motor rotates clockwise, when the rising edge of Hall sensor B is captured and the last captured is the rising edge of Hall sensor C, or when the falling edge of Hall sensor B is captured and the last captured When it is the falling edge of Hall sensor C, it is judged that Hall sensor A is faulty; when the rising edge of Hall sensor C is captured and the last time is captured as the rising edge of Hall sensor A, or when Hall sensor C is captured When the rising edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor A, it is judged that Hall sensor B is faulty; when the rising edge of Hall sensor A is captured and the last time is captured as the rising edge of Hall sensor B, or, When the falling edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor B, it is judged that Hall sensor C is faulty.
进一步地,步骤3中所述根据步骤1中校正的电气角度,无刷直流电机运转计时时间和正常霍尔传感器的高电平时间或低电平时间计算无刷直流电机的电气角度,具体方法如下:Further, in step 3, according to the electrical angle corrected in step 1, the operation timing time of the brushless DC motor and the high-level time or low-level time of the normal Hall sensor are used to calculate the electrical angle of the brushless DC motor. The specific method as follows:
Figure PCTCN2019110812-appb-000001
Figure PCTCN2019110812-appb-000001
Figure PCTCN2019110812-appb-000002
Figure PCTCN2019110812-appb-000002
其中,“θ r”为无刷直流电机的电气角度,“T j”为正常霍尔传感器的高电平时间或低电平时间,“E i”为校正的电气角度,“t 0”为无刷直流电机运转计时时间。 Among them, “θ r ”is the electrical angle of the brushless DC motor, “T j ” is the high level time or low level time of the normal Hall sensor, “E i ”is the corrected electrical angle, and “t 0 ” is Brushless DC motor running timing time.
进一步地,所述步骤1中电气角度校正方法和所述“E i”的取值,具体为: Further, the electrical angle correction method in step 1 and the value of "E i "are specifically:
当无刷直流电机逆时针转动时,当捕获到霍尔传感器A的上升沿时电气角度校正成E 1=240,当捕获到霍尔传感器C的下降沿时电气角度校正成E 2=300;当捕获到霍尔传感器B的上升沿时电气角度校正成E 3=0;当捕获到霍尔传感器A的下降沿时电气角度校正成E 4=60;当捕获到霍尔传感器C的上升沿时电气角度校正成E 5=120;当捕获到霍尔传感器B的下降沿时电气角度校正成E 6=180; When the brushless DC motor rotates counterclockwise, the electrical angle is corrected to E 1 =240 when the rising edge of Hall sensor A is captured, and the electrical angle is corrected to E 2 =300 when the falling edge of Hall sensor C is captured; When the rising edge of Hall sensor B is captured, the electrical angle is corrected to E 3 =0; when the falling edge of Hall sensor A is captured, the electrical angle is corrected to E 4 =60; when the rising edge of Hall sensor C is captured When the electrical angle is corrected to E 5 =120; when the falling edge of Hall sensor B is captured, the electrical angle is corrected to E 6 =180;
当无刷直流电机顺时针转动时,当捕获到霍尔传感器A的上升沿时电气角度校正成E 1=60,当捕获到霍尔传感器C的下降沿时电气角度校正成E 2=120;当捕获到霍尔传感器B的上升沿时电气角度校正成E 3=180;当捕获到霍尔传感器A的下降沿时电气角度校正成E 4=240;当捕获到霍尔传感器C的上升沿时电气角度校正成E 5=300;当捕获到霍尔传感器B的下降沿时电气角度校正成E 6=0。 When the brushless DC motor rotates clockwise, the electrical angle is corrected to E 1 =60 when the rising edge of Hall sensor A is captured, and the electrical angle is corrected to E 2 =120 when the falling edge of Hall sensor C is captured; When the rising edge of Hall sensor B is captured, the electrical angle is corrected to E 3 =180; when the falling edge of Hall sensor A is captured, the electrical angle is corrected to E 4 =240; when the rising edge of Hall sensor C is captured When the electrical angle is corrected to E 5 =300; when the falling edge of the Hall sensor B is captured, the electrical angle is corrected to E 6 =0.
进一步地,所述的正常霍尔传感器的高电平时间或低电平时间T j,T 1~T 6的具体表示为:T 1为霍尔传感器A的低电平时间,T 2为霍 尔传感器C的高电平时间,T 3为霍尔传感器B的低电平时间,T 4为霍尔传感器A的高电平时间,T 5为霍尔传感器C的低电平时间,T 6为霍尔传感器B的高电平时间。 Further, the high-level time or low-level time T j of the normal Hall sensor, T 1 to T 6 are specifically expressed as: T 1 is the low-level time of the Hall sensor A, and T 2 is the Hall sensor A. The high level time of Hall sensor C, T 3 is the low level time of Hall sensor B, T 4 is the high level time of Hall sensor A, T 5 is the low level time of Hall sensor C, T 6 It is the high level time of Hall sensor B.
进一步地,所述电气角度的计算方法,具体为:Further, the calculation method of the electrical angle is specifically:
当已判断霍尔传感器A故障时,用霍尔传感器C的高电平时间T 2、霍尔传感器B的低电平时间T 3、霍尔传感器C的低电平时间T 5以及霍尔传感器B的高电平时间T 6计算电气角度; When the fault has been determined A Hall sensor with a Hall sensor C is high time T 2, the Hall sensor B is low time T 3, the low time T 5 C Hall sensor and a Hall sensor B's high level time T 6 calculates the electrical angle;
当已判断霍尔传感器B故障时,用霍尔传感器A的高电平时间T 1,霍尔传感器C的高电平时间T 2,霍尔传感器A的高电平时间T 4以及霍尔传感器C的低电平时间T 5计算电气角度; When the fault has been judged B Hall sensor, with a Hall sensor A high time T 1, the Hall sensor C high time T 2, A high time T 4 of the Hall sensor and Hall sensor The low level time T 5 of C calculates the electrical angle;
当判断霍尔传感器C故障时,霍尔传感器A的高电平时间T 1,霍尔传感器B的低电平时间T 3,霍尔传感器A的高电平时间T 4以及霍尔传感器B的高电平时间T 6计算电气角度。 When it is judged that Hall sensor C is faulty, the high level time T 1 of Hall sensor A, the low level time T 3 of Hall sensor B, the high level time T 4 of Hall sensor A, and the high level time of Hall sensor B The high level time T 6 calculates the electrical angle.
进一步地,所述电气角度的计算方法,具体为:当每捕获到霍尔传感器的上升沿或者下降沿时,令无刷直流电机运转计时时间t 0=0,电气角度θ r直接等于校正的电气角度E iFurther, the calculation method of the electrical angle is specifically as follows: each time the rising or falling edge of the Hall sensor is captured, the brushless DC motor is set to operate for a time t 0 =0, and the electrical angle θ r is directly equal to the corrected Electrical angle E i .
进一步地,在步骤1之前起动定时器,用于获得无刷直流电机运转计时时间t 0Further, a timer is started before step 1 to obtain the running timing t 0 of the brushless DC motor.
本发明的优点在于:The advantages of the present invention are:
(1)本发明通过改进霍尔传感器采集电路,实现了对三个霍尔传感器的上升沿、下降沿、高电平时间、低电平时间的完整采集,为了电气角度的估算提供了便利,比传统霍尔传感器检测方法更加精 确;(1) The present invention realizes the complete collection of the rising edge, falling edge, high level time, and low level time of the three Hall sensors by improving the Hall sensor acquisition circuit, which provides convenience for the estimation of electrical angles. It is more accurate than the traditional Hall sensor detection method;
(2)本发明通过霍尔传感器出现的顺序进行分析,根据当前捕获到的霍尔传感器的边沿信息和上一次捕获到的尔传感器的边沿信息,就可以判断出霍尔传感器的故障类型,判断方法建议,容易实现;(2) The present invention analyzes the order of appearance of the Hall sensor, and according to the edge information of the Hall sensor currently captured and the edge information of the Hall sensor captured last time, the fault type of the Hall sensor can be judged. Method suggestions, easy to implement;
(3)本发明提供一种利用无刷直流电机运转时间、校正电气角度、霍尔传感器的高电平时间或低电平时间的电气角度估算方法,不仅适用正常情况下电气角度估算,还适用霍尔传感器故障下电气角度估算,计算方法简便,适用低性能控制器。(3) The present invention provides an electrical angle estimation method that utilizes the running time of the brushless DC motor, the correction of the electrical angle, and the high-level time or the low-level time of the Hall sensor. It is not only suitable for electrical angle estimation under normal conditions, but also Electric angle estimation under Hall sensor failure, the calculation method is simple and suitable for low-performance controllers.
附图说明Description of the drawings
下面结合附图和具体实施方式对本发明作进一步详细的说明。The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
图1为本发明具体实施的无刷直流电机霍尔传感器容错控制装置示意图。Fig. 1 is a schematic diagram of a fault-tolerant control device for a Hall sensor of a brushless DC motor implemented in the present invention.
图2为本发明具体实施的无刷直流电机霍尔传感器容错控制方法流程图。Fig. 2 is a flowchart of a fault-tolerant control method for a Hall sensor of a brushless DC motor implemented in the present invention.
图3为本发明具体实施的霍尔传感器A、B、C的电平信号示意图。Fig. 3 is a schematic diagram of the level signals of Hall sensors A, B, and C according to a specific implementation of the present invention.
图4为本发明具体实施的霍尔传感器A故障时逆/顺时针边沿信号顺序示意图。FIG. 4 is a schematic diagram of the reverse/clockwise edge signal sequence when the Hall sensor A is faulty according to the specific implementation of the present invention.
图5为本发明具体实施的霍尔传感器A故障时容错控制示意图。Fig. 5 is a schematic diagram of fault-tolerant control when the Hall sensor A fails in a specific implementation of the present invention.
具体实施方式Detailed ways
下面的实施例可以使本专业的技术人员更全面地理解本发明,但并不因此将本发明限制在所述的实施例范围之中。The following embodiments can enable those skilled in the art to understand the present invention more comprehensively, but they do not limit the present invention to the scope of the described embodiments.
实施例Example
如图1所示,本实施例提供了一种无刷直流电机霍尔传感器容错控制装置,包括霍尔传感器单元,无刷直流电机三相定子绕组、逆变器、控制器;霍尔传感器单元与控制器相连,用于检测无刷直流电机的转子位置;逆变器与无刷直流电机三相定子绕组相连,用于向无刷直流电机三相定子绕组注入电压信号以现实无刷直流电机的驱动;控制器与逆变器相连,用于处理霍尔传感器单元的输出信号和向逆变器输出驱动信号。As shown in Figure 1, this embodiment provides a Hall sensor fault-tolerant control device for a brushless DC motor, which includes a Hall sensor unit, a brushless DC motor three-phase stator winding, an inverter, and a controller; the Hall sensor unit It is connected to the controller to detect the rotor position of the brushless DC motor; the inverter is connected to the three-phase stator winding of the brushless DC motor and is used to inject voltage signals into the three-phase stator winding of the brushless DC motor to realize the brushless DC motor The controller is connected with the inverter, and is used to process the output signal of the Hall sensor unit and output the driving signal to the inverter.
可选地,霍尔传感器单元包括霍尔传感器A,霍尔传感器B,霍尔传感器C;控制器包括第一组引脚IO-1和第二组引脚IO-2,并且第一组引脚IO-1和第二组引脚IO-2均与霍尔传感器单元相连。Optionally, the Hall sensor unit includes Hall sensor A, Hall sensor B, and Hall sensor C; the controller includes a first set of pins IO-1 and a second set of pins IO-2, and the first set of leads The pin IO-1 and the second group of pins IO-2 are both connected to the Hall sensor unit.
其中,无刷直流电机三相定子绕组包括U相绕组、V相绕组、W相绕组;逆变器包括功率开关器件T1~T6。Among them, the three-phase stator windings of the brushless DC motor include U-phase windings, V-phase windings, and W-phase windings; the inverter includes power switching devices T1 to T6.
可选地,第一组引脚IO-1的功能设定为外部中断捕获功能,用于捕获霍尔传感器A、霍尔传感器B以及霍尔传感器C的电平信号中上升沿和下降沿;第二组引脚IO-2的功能设定为PWM输入捕获功能,用于获取霍尔传感器A、霍尔传感器B以及霍尔传感器C的电平信号中高电平时间和低电平时间。Optionally, the function of the first group of pins IO-1 is set as an external interrupt capture function, which is used to capture the rising and falling edges of the level signals of Hall sensor A, Hall sensor B, and Hall sensor C; The function of the second group of pins IO-2 is set as the PWM input capture function, which is used to obtain the high level time and low level time of the level signals of Hall sensor A, Hall sensor B, and Hall sensor C.
如果只用一组控制器引脚并设置成外部中断捕获功能,那么只能获取霍尔传感器的上升沿和下降沿,需要调用额外的定时器去测量霍尔传感器的高电平时间和低电平时间,这种方法占用资源多,测量电平时间精度低。或者,如果只用一组控制器引脚并设置成PWM输入捕获功能,那么不能分辨霍尔传感器的上升沿和下降沿,影响电气角度 校正。所以选择两组控制器引脚同时处理霍尔传感器,有助于提取霍尔传感器中的信息,提高电气角度计算精度。If only one set of controller pins are used and set as the external interrupt capture function, then only the rising and falling edges of the Hall sensor can be obtained, and additional timers need to be called to measure the high level time and low voltage of the Hall sensor Normal time, this method occupies a lot of resources, and the measurement level time accuracy is low. Or, if only a set of controller pins are used and set to the PWM input capture function, the rising and falling edges of the Hall sensor cannot be distinguished, which affects the electrical angle correction. Therefore, selecting two sets of controller pins to process the Hall sensor at the same time helps to extract the information from the Hall sensor and improve the accuracy of electrical angle calculation.
如图2所示,本实施例提供了一种无刷直流电机霍尔传感器容错控制方法,包括如下步骤:As shown in FIG. 2, this embodiment provides a fault-tolerant control method for a Hall sensor of a brushless DC motor, which includes the following steps:
步骤S1:当捕获到霍尔传感器的上升沿或者下降沿信息时,无刷直流电机运转计时时间清零,对无刷直流电机电气角度进行校正,再获取霍尔传感器高电平时间或者低电平时间;Step S1: When the rising or falling edge information of the Hall sensor is captured, the brushless DC motor running timing time is cleared, the electrical angle of the brushless DC motor is corrected, and then the high level time or low voltage of the Hall sensor is obtained. Peace time
步骤S2:根据捕获霍尔传感器的上升沿或者下降沿的顺序,判断霍尔传感器是否故障;当发生故障时,以其他正常霍尔传感器的高电平时间和低电平时间计算电气角度;当未发生故障时,以三个霍尔传感器的高电平时间和低电平时间计算电气角度;Step S2: Determine whether the Hall sensor is faulty according to the sequence of capturing the rising or falling edge of the Hall sensor; when a fault occurs, calculate the electrical angle based on the high level time and low level time of other normal Hall sensors; When no fault occurs, calculate the electrical angle with the high level time and low level time of the three Hall sensors;
步骤S3:根据步骤S1中校正的电气角度,无刷直流电机运转计时时间和正常霍尔传感器的高电平时间或低电平时间计算电气角度。如图3所示,为霍尔传感器A、B、C的电平信号示意图。Step S3: Calculate the electrical angle according to the electrical angle corrected in step S1, the running timing time of the brushless DC motor and the high level time or low level time of the normal Hall sensor. As shown in Figure 3, it is a schematic diagram of the level signals of Hall sensors A, B, and C.
步骤S1中获取霍尔传感器高电平时间或者低电平时间,与霍尔传感器的上升沿或者下降沿的关系具体为:In step S1, the high-level time or low-level time of the Hall sensor is acquired, and the relationship with the rising or falling edge of the Hall sensor is specifically:
当捕获到霍尔传感器A的上升沿时获取霍尔传感器A的低电平时间T1,当捕获到霍尔传感器A的下降沿时获取霍尔传感器A的高电平时间T4,当捕获到霍尔传感器B的上升沿时获取霍尔传感器B的低电平时间T3,当捕获到霍尔传感器B的下降沿时获取霍尔传感器B的高电平时间T6,当捕获到霍尔传感器C的上升沿时获取霍尔传感器C的低电平时间T5,当捕获到霍尔传感器C的下降沿时获取霍尔 传感器C的高电平时间T2。When the rising edge of Hall sensor A is captured, the low level time T1 of Hall sensor A is acquired. When the falling edge of Hall sensor A is captured, the high level time T4 of Hall sensor A is acquired. When the falling edge of Hall sensor A is captured, the high level time T4 of Hall sensor A is acquired. Obtain the low level time T3 of Hall sensor B at the rising edge of Hall sensor B, obtain the high level time T6 of Hall sensor B when the falling edge of Hall sensor B is captured, and obtain the high level time T6 of Hall sensor B when the falling edge of Hall sensor B is captured. The low level time T5 of the Hall sensor C is acquired at the rising edge, and the high level time T2 of the Hall sensor C is acquired when the falling edge of the Hall sensor C is captured.
可选地,步骤S2根据捕获霍尔传感器的上升沿或者下降沿的顺序,判断霍尔传感器故障的具体方法如下:当无刷直流电机逆时针转动时,当捕获到霍尔传感器C的上升沿并且上一次捕获为霍尔传感器B的上升沿时,或者,当捕获到霍尔传感器C的下降沿并且上一次捕获为霍尔传感器B的下降沿时,判断霍尔传感器A故障;当捕获到霍尔传感器A的上升沿并且上一次捕获为霍尔传感器C的上升沿时,或者,当捕获到霍尔传感器A的下降沿并且上一次捕获为霍尔传感器C的下降沿时,判断霍尔传感器B故障;当捕获到霍尔传感器B的上升沿并且上一次捕获为霍尔传感器A的上升沿时,或者,当捕获到霍尔传感器B的下降沿并且上一次捕获为霍尔传感器A的下降沿时,判断霍尔传感器C故障。Optionally, in step S2, according to the sequence of capturing the rising or falling edge of the Hall sensor, the specific method for judging the failure of the Hall sensor is as follows: when the brushless DC motor rotates counterclockwise, when the rising edge of the Hall sensor C is captured And when the last capture is the rising edge of Hall sensor B, or when the falling edge of Hall sensor C is captured and the last capture is the falling edge of Hall sensor B, it is judged that Hall sensor A is faulty; When the rising edge of Hall sensor A and the last time captured as the rising edge of Hall sensor C, or when the falling edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor C, judge Hall Sensor B failure; when the rising edge of Hall sensor B is captured and the last time is captured as the rising edge of Hall sensor A, or when the falling edge of Hall sensor B is captured and the last time is captured as Hall sensor A At the falling edge, it is judged that the Hall sensor C is faulty.
当无刷直流电机顺时针转动时,当捕获到霍尔传感器B的上升沿并且上一次捕获为霍尔传感器C的上升沿时,或者,当捕获到霍尔传感器B的下降沿并且上一次捕获为霍尔传感器C的下降沿时,判断霍尔传感器A故障;当捕获到霍尔传感器C的上升沿并且上一次捕获为霍尔传感器A的上升沿时,或者,当捕获到霍尔传感器C的下降沿并且上一次捕获为霍尔传感器A的下降沿时,判断霍尔传感器B故障;当捕获到霍尔传感器A的上升沿并且上一次捕获为霍尔传感器B的上升沿时,或者,当捕获到霍尔传感器A的下降沿并且上一次捕获为霍尔传感器B的下降沿时,判断霍尔传感器C故障。When the brushless DC motor rotates clockwise, when the rising edge of Hall sensor B is captured and the last captured is the rising edge of Hall sensor C, or when the falling edge of Hall sensor B is captured and the last captured When it is the falling edge of Hall sensor C, it is judged that Hall sensor A is faulty; when the rising edge of Hall sensor C is captured and the last time is the rising edge of Hall sensor A, or when Hall sensor C is captured When the rising edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor A, it is judged that Hall sensor B is faulty; when the rising edge of Hall sensor A is captured and the last time is captured as the rising edge of Hall sensor B, or, When the falling edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor B, it is judged that Hall sensor C is faulty.
如图4所示,为霍尔传感器A故障时逆/顺时针边沿信号顺序示 意图。无刷直流电机逆时针旋转时,当捕获到霍尔传感器C的上升沿X3并且上一次捕获为霍尔传感器B的上升沿X1时,或者,当捕获到霍尔传感器C的下降沿X4并且上一次捕获为霍尔传感器B的下降沿X2时,判断霍尔传感器A故障;因为当霍尔传感器正常时,当捕获到霍尔传感器C的上升沿X3时,上一次捕获的边沿信号应为霍尔传感器A的下降沿,或者,当捕获到霍尔传感器C的下降沿X4时,上一次捕获的边沿信号应为霍尔传感器A的上升沿。As shown in Figure 4, it is a schematic diagram of the reverse/clockwise edge signal sequence when Hall sensor A fails. When the brushless DC motor rotates counterclockwise, when the rising edge X3 of Hall sensor C is captured and the last time is captured as the rising edge X1 of Hall sensor B, or when the falling edge X4 of Hall sensor C is captured and goes up When the first capture is the falling edge X2 of Hall sensor B, it is judged that Hall sensor A is faulty; because when the Hall sensor is normal, when the rising edge X3 of Hall sensor C is captured, the edge signal captured last time should be The falling edge of Hall sensor A, or when the falling edge X4 of Hall sensor C is captured, the last captured edge signal should be the rising edge of Hall sensor A.
无刷直流电机顺时针旋转时,当捕获到霍尔传感器B的上升沿X2并且上一次捕获为霍尔传感器C的上升沿X4时,或者,当捕获到霍尔传感器B的下降沿X1并且上一次捕获为霍尔传感器C的下降沿X3时,判断霍尔传感器A故障。因为当霍尔传感器正常时,当捕获到霍尔传感器B的上升沿X2时,上一次捕获的边沿信号应为霍尔传感器A的下降沿,或者,当捕获到霍尔传感器B的下降沿X1时,上一次捕获的边沿信号应为霍尔传感器A的上升沿。When the brushless DC motor rotates clockwise, when the rising edge X2 of Hall sensor B is captured and the last time is captured as the rising edge X4 of Hall sensor C, or when the falling edge X1 of Hall sensor B is captured and goes up When one capture is the falling edge X3 of Hall sensor C, it is judged that Hall sensor A is faulty. Because when the Hall sensor is normal, when the rising edge X2 of Hall sensor B is captured, the last captured edge signal should be the falling edge of Hall sensor A, or when the falling edge X1 of Hall sensor B is captured When, the edge signal captured last time should be the rising edge of Hall sensor A.
可选地,步骤3中根据步骤S1中校正的电气角度,无刷直流电机运转计时时间和正常霍尔传感器的高电平时间或低电平时间计算无刷直流电机的电气角度,具体方法如下:其中,“θr”为无刷直流电机的电气角度,“Tj”为正常霍尔传感器的高电平时间或低电平时间,“Ei”为校正的电气角度,“t0”为无刷直流电机运转计时时间。公式表示,在校正的电气角度“Ei”的基础上,加上对平均电气角速度180/Tj的积分,得到计算的电气角度。Optionally, in step 3, the electrical angle of the brushless DC motor is calculated according to the electrical angle corrected in step S1, the running timing time of the brushless DC motor and the high level time or low level time of the normal Hall sensor. The specific method is as follows : Among them, "θr" is the electrical angle of the brushless DC motor, "Tj" is the high level time or low level time of the normal Hall sensor, "Ei" is the corrected electrical angle, and "t0" is the brushless DC motor. Motor running timing time. The formula shows that on the basis of the corrected electrical angle "Ei", the integral of the average electrical angular velocity 180/Tj is added to obtain the calculated electrical angle.
可选地,步骤S1中电气角度校正方法和“Ei”的取值具体为: 当无刷直流电机逆时针转动时,当捕获到霍尔传感器A的上升沿时电气角度校正成E1=240,当捕获到霍尔传感器C的下降沿时电气角度校正成E2=300;当捕获到霍尔传感器B的上升沿时电气角度校正成E3=0;当捕获到霍尔传感器A的下降沿时电气角度校正成E4=60;当捕获到霍尔传感器C的上升沿时电气角度校正成E5=120;当捕获到霍尔传感器B的下降沿时电气角度校正成E6=180;当无刷直流电机顺时针转动时,当捕获到霍尔传感器A的上升沿时电气角度校正成E1=60,当捕获到霍尔传感器C的下降沿时电气角度校正成E2=120;当捕获到霍尔传感器B的上升沿时电气角度校正成E3=180;当捕获到霍尔传感器A的下降沿时电气角度校正成E4=240;当捕获到霍尔传感器C的上升沿时电气角度校正成E5=300;当捕获到霍尔传感器B的下降沿时电气角度校正成E6=0。Optionally, the electrical angle correction method and the value of "Ei" in step S1 are specifically as follows: When the brushless DC motor rotates counterclockwise, when the rising edge of Hall sensor A is captured, the electrical angle is corrected to E1=240, When the falling edge of Hall sensor C is captured, the electrical angle is corrected to E2=300; when the rising edge of Hall sensor B is captured, the electrical angle is corrected to E3=0; when the falling edge of Hall sensor A is captured, the electrical angle is corrected to E2=300. The angle is corrected to E4=60; when the rising edge of Hall sensor C is captured, the electrical angle is corrected to E5=120; when the falling edge of Hall sensor B is captured, the electrical angle is corrected to E6=180; when the brushless DC motor When rotating clockwise, when the rising edge of Hall sensor A is captured, the electrical angle is corrected to E1=60, when the falling edge of Hall sensor C is captured, the electrical angle is corrected to E2=120; when Hall sensor B is captured The electrical angle is corrected to E3=180 when the rising edge of the hall sensor A is captured; the electrical angle is corrected to E4=240 when the falling edge of the Hall sensor A is captured; the electrical angle is corrected to E5=300 when the rising edge of the Hall sensor C is captured; When the falling edge of Hall sensor B is captured, the electrical angle is corrected to E6=0.
可选地,当已判断霍尔传感器A故障时,用霍尔传感器C的高电平时间T2、霍尔传感器B的低电平时间T3、霍尔传感器C的低电平时间T5以及霍尔传感器B的高电平时间T6计算电气角度;当已判断霍尔传感器B故障时,用霍尔传感器A的高电平时间T1,霍尔传感器C的高电平时间T2,霍尔传感器A的高电平时间T4以及霍尔传感器C的低电平时间T5计算电气角度;当判断霍尔传感器C故障时,霍尔传感器A的高电平时间T1,霍尔传感器B的低电平时间T3,霍尔传感器A的高电平时间T4以及霍尔传感器B的高电平时间T6计算电气角度。Optionally, when Hall sensor A is judged to be faulty, use the high level time T2 of Hall sensor C, the low level time T3 of Hall sensor B, the low level time T5 of Hall sensor C, and the Hall sensor C. The high level time T6 of sensor B calculates the electrical angle; when it is judged that Hall sensor B is faulty, use the high level time T1 of Hall sensor A, the high level time T2 of Hall sensor C, and the high level time T2 of Hall sensor A. The high level time T4 and the low level time T5 of Hall sensor C calculate the electrical angle; when it is judged that Hall sensor C is faulty, the high level time of Hall sensor A is T1, and the low level time of Hall sensor B is T3. , The high level time T4 of Hall sensor A and the high level time T6 of Hall sensor B calculate the electrical angle.
可选地,当每捕获到霍尔传感器的上升沿或者下降沿时,令无刷 直流电机运转计时时间t0=0,电气角度θr直接等于校正的电气角度Ei。Optionally, each time the rising edge or the falling edge of the Hall sensor is captured, the brushless DC motor is set to operate for a timing time t0=0, and the electrical angle θr is directly equal to the corrected electrical angle Ei.
可选地,在步骤S1之前起动定时器,用于获得无刷直流电机运转计时时间t0。Optionally, a timer is started before step S1 to obtain the running time t0 of the brushless DC motor.
如图5所示,为霍尔传感器A故障时容错控制示意图。当捕获到霍尔传感器C的上升沿X3时,令无刷直流电机运转计时时间t0=0,将电气角度校正成θr=E5=120°,再获取霍尔传感器C的低电平时间T5;在霍尔传感器C的上升沿X3和霍尔传感器B的下降沿X2之间,根据霍尔传感器C的低电平时间T5和校正角度E5进行电气角度计算,具体为:当捕获到霍尔传感器B的下降沿X2时,令无刷直流电机运转计时时间t0=0,将电气角度校正成θr=E6=180°,再获取霍尔传感器B的高电平时间T6;在霍尔传感器B的下降沿X2和霍尔传感器C的上升沿X4之间,根据霍尔传感器B的低高电平时间T6和校正角度E6进行电气角度计算,具体为:同理可得,当获到霍尔传感器C的下降沿X4时或者获到霍尔传感器B的上升沿X1时,选择对应的正常霍尔传感器的高电平时间或低电平时间Tj和校正的电气角度Ei,计算电气角度。As shown in Figure 5, it is a schematic diagram of fault-tolerant control when Hall sensor A fails. When the rising edge X3 of the Hall sensor C is captured, set the brushless DC motor to run the timing time t0=0, correct the electrical angle to θr=E5=120°, and then obtain the low level time T5 of the Hall sensor C; Between the rising edge X3 of Hall sensor C and the falling edge X2 of Hall sensor B, the electrical angle is calculated according to the low level time T5 of Hall sensor C and the correction angle E5, specifically: When the Hall sensor is captured At the falling edge X2 of B, set the brushless DC motor to run the timing time t0=0, correct the electrical angle to θr=E6=180°, and then obtain the high level time T6 of Hall sensor B; Between the falling edge X2 and the rising edge X4 of the Hall sensor C, the electrical angle is calculated according to the low and high level time T6 of the Hall sensor B and the correction angle E6. The specifics are: the same can be obtained, when the Hall sensor is obtained When the falling edge X4 of C or the rising edge X1 of Hall sensor B is obtained, the high level time or low level time Tj of the corresponding normal Hall sensor and the corrected electrical angle Ei are selected to calculate the electrical angle.
以上显示和描述了本发明的基本原理和主要特征以及本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的 权利要求书及其等效物界定。The basic principles and main features of the present invention and the advantages of the present invention have been shown and described above. Those skilled in the industry should understand that the present invention is not limited by the above-mentioned embodiments. The above-mentioned embodiments and descriptions only illustrate the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have Various changes and improvements fall within the scope of the claimed invention. The scope of protection claimed by the present invention is defined by the appended claims and their equivalents.

Claims (11)

  1. 一种无刷直流电机霍尔传感器容错控制装置,其特征在于:包括霍尔传感器单元、无刷直流电机三相定子绕组、逆变器和控制器,A fault-tolerant control device for a Hall sensor of a brushless DC motor, which is characterized in that it comprises a Hall sensor unit, a three-phase stator winding of a brushless DC motor, an inverter and a controller.
    所述霍尔传感器单元与所述控制器相连,用于检测无刷直流电机的转子位置;所述逆变器与所述无刷直流电机三相定子绕组相连,用于向所述无刷直流电机三相定子绕组注入电压信号以现实无刷直流电机的驱动;所述控制器与所述逆变器相连,用于处理所述霍尔传感器单元的输出信号和向所述逆变器输出驱动信号。The Hall sensor unit is connected to the controller and is used to detect the rotor position of the brushless DC motor; the inverter is connected to the three-phase stator winding of the brushless DC motor and is used to transfer the brushless DC motor to the three-phase stator winding. The three-phase stator windings of the motor inject voltage signals to drive the brushless DC motor; the controller is connected to the inverter and is used to process the output signal of the Hall sensor unit and output the drive to the inverter signal.
  2. 根据权利要求1所述的无刷直流电机霍尔传感器容错控制装置,其特征在于:所述霍尔传感器单元包括霍尔传感器A,霍尔传感器B,霍尔传感器C;所述控制器包括第一组引脚和第二组引脚,并且第一组引脚和第二组引脚均与霍尔传感器单元相连;The brushless DC motor Hall sensor fault-tolerant control device according to claim 1, wherein the Hall sensor unit includes Hall sensor A, Hall sensor B, and Hall sensor C; and the controller includes a One set of pins and a second set of pins, and both the first set of pins and the second set of pins are connected to the Hall sensor unit;
    其中,所述第一组引脚的功能设定为外部中断捕获功能,用于捕获所述霍尔传感器A、霍尔传感器B以及霍尔传感器C的电平信号中上升沿和下降沿;所述第二组引脚的功能设定为PWM输入捕获功能,用于获取所述霍尔传感器A、霍尔传感器B以及霍尔传感器C的电平信号中高电平时间和低电平时间。Wherein, the function of the first group of pins is set as an external interrupt capture function, which is used to capture the rising and falling edges of the level signals of the Hall sensor A, Hall sensor B, and Hall sensor C; The function of the second group of pins is set as a PWM input capture function, which is used to obtain the high level time and the low level time of the level signals of the Hall sensor A, the Hall sensor B, and the Hall sensor C.
  3. 一种权利要求1所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:所述控制方法包括如下步骤:A control method of a fault-tolerant control device for a Hall sensor of a brushless DC motor according to claim 1, wherein the control method comprises the following steps:
    步骤1:当捕获到霍尔传感器的上升沿或者下降沿信息时,无刷直流电机运转计时时间清零,对无刷直流电机电气角度进行 校正,再获取霍尔传感器高电平时间或者低电平时间;Step 1: When the rising or falling edge information of the Hall sensor is captured, the brushless DC motor running timing time is cleared, the electrical angle of the brushless DC motor is corrected, and then the high level time or low voltage of the Hall sensor is obtained Peace time
    步骤2:根据捕获霍尔传感器的上升沿或者下降沿的顺序,判断霍尔传感器是否故障;当发生故障时,以其他正常霍尔传感器的高电平时间和低电平时间计算电气角度;当未发生故障时,以三个霍尔传感器的高电平时间和低电平时间计算电气角度;Step 2: According to the sequence of capturing the rising or falling edge of the Hall sensor, judge whether the Hall sensor is faulty; when a fault occurs, calculate the electrical angle with the high level time and low level time of other normal Hall sensors; When no fault occurs, calculate the electrical angle with the high level time and low level time of the three Hall sensors;
    步骤3:根据步骤1中校正的电气角度,无刷直流电机运转计时时间和正常霍尔传感器的高电平时间或低电平时间计算电气角度。Step 3: Calculate the electrical angle based on the electrical angle corrected in step 1, the running timing time of the brushless DC motor and the high level time or low level time of the normal Hall sensor.
  4. 根据权利要求3所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:步骤1中所述获取霍尔传感器高电平时间或者低电平时间,与霍尔传感器的上升沿或者下降沿的关系具体为:The control method of the Hall sensor fault-tolerant control device of the brushless DC motor according to claim 3, wherein the acquisition of the high level time or the low level time of the Hall sensor in step 1 is related to the rise of the Hall sensor. The relationship between the edge or the falling edge is specifically:
    当捕获到霍尔传感器A的上升沿时获取霍尔传感器A的低电平时间,当捕获到霍尔传感器A的下降沿时获取霍尔传感器A的高电平时间,当捕获到霍尔传感器B的上升沿时获取霍尔传感器B的低电平时间,当捕获到霍尔传感器B的下降沿时获取霍尔传感器B的高电平时间,当捕获到霍尔传感器C的上升沿时获取霍尔传感器C的低电平时间,当捕获到霍尔传感器C的下降沿时获取霍尔传感器C的高电平时间。When the rising edge of Hall sensor A is captured, the low level time of Hall sensor A is obtained. When the falling edge of Hall sensor A is captured, the high level time of Hall sensor A is obtained. When the Hall sensor A is captured Obtain the low level time of Hall sensor B at the rising edge of B, obtain the high level time of Hall sensor B when the falling edge of Hall sensor B is captured, and obtain the high level time of Hall sensor B when the rising edge of Hall sensor C is captured The low level time of the Hall sensor C, when the falling edge of the Hall sensor C is captured, the high level time of the Hall sensor C is obtained.
  5. 根据权利要求3所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:步骤2所述根据捕获霍尔传感器的上升沿或者下降沿的顺序,判断霍尔传感器故障的具体方法如下:The control method of the brushless DC motor Hall sensor fault-tolerant control device according to claim 3, characterized in that: in step 2, according to the sequence of capturing the rising edge or the falling edge of the Hall sensor, determine the specific fault of the Hall sensor Methods as below:
    当无刷直流电机逆时针转动时,当捕获到霍尔传感器C的上升沿并且上一次捕获为霍尔传感器B的上升沿时,或者,当捕获到霍尔传感器C的下降沿并且上一次捕获为霍尔传感器B的下降沿时,判断霍尔传感器A故障;当捕获到霍尔传感器A的上升沿并且上一次捕获为霍尔传感器C的上升沿时,或者,当捕获到霍尔传感器A的下降沿并且上一次捕获为霍尔传感器C的下降沿时,判断霍尔传感器B故障;当捕获到霍尔传感器B的上升沿并且上一次捕获为霍尔传感器A的上升沿时,或者,当捕获到霍尔传感器B的下降沿并且上一次捕获为霍尔传感器A的下降沿时,判断霍尔传感器C故障;When the brushless DC motor rotates counterclockwise, when the rising edge of Hall sensor C is captured and the last captured is the rising edge of Hall sensor B, or when the falling edge of Hall sensor C is captured and the last captured When it is the falling edge of Hall sensor B, it is judged that Hall sensor A is faulty; when the rising edge of Hall sensor A is captured and the last time is captured as the rising edge of Hall sensor C, or when Hall sensor A is captured When the rising edge of Hall sensor B is captured and the last time is captured as the falling edge of Hall sensor C, it is judged that Hall sensor B is faulty; when the rising edge of Hall sensor B is captured and the last time is captured as the rising edge of Hall sensor A, or, When the falling edge of Hall sensor B is captured and the last time is captured as the falling edge of Hall sensor A, it is judged that Hall sensor C is faulty;
    当无刷直流电机顺时针转动时,当捕获到霍尔传感器B的上升沿并且上一次捕获为霍尔传感器C的上升沿时,或者,当捕获到霍尔传感器B的下降沿并且上一次捕获为霍尔传感器C的下降沿时,判断霍尔传感器A故障;当捕获到霍尔传感器C的上升沿并且上一次捕获为霍尔传感器A的上升沿时,或者,当捕获到霍尔传感器C的下降沿并且上一次捕获为霍尔传感器A的下降沿时,判断霍尔传感器B故障;当捕获到霍尔传感器A的上升沿并且上一次捕获为霍尔传感器B的上升沿时,或者,当捕获到霍尔传感器A的下降沿并且上一次捕获为霍尔传感器B的下降沿时,判断霍尔传感器C故障。When the brushless DC motor rotates clockwise, when the rising edge of Hall sensor B is captured and the last captured is the rising edge of Hall sensor C, or when the falling edge of Hall sensor B is captured and the last captured When it is the falling edge of Hall sensor C, it is judged that Hall sensor A is faulty; when the rising edge of Hall sensor C is captured and the last time is captured as the rising edge of Hall sensor A, or when Hall sensor C is captured When the rising edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor A, it is judged that Hall sensor B is faulty; when the rising edge of Hall sensor A is captured and the last time is captured as the rising edge of Hall sensor B, or, When the falling edge of Hall sensor A is captured and the last time is captured as the falling edge of Hall sensor B, it is judged that Hall sensor C is faulty.
  6. 根据权利要求3所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:步骤3中所述根据步骤1中校正的电气角度,无刷直流电机运转计时时间和正常霍尔传感器的高电平时间或低电平时间计算无刷直流电机的电气角度,具体方法如下:The control method of the fault-tolerant control device for the Hall sensor of the brushless DC motor according to claim 3, characterized in that: in step 3, according to the electrical angle corrected in step 1, the running timing of the brushless DC motor is the same as that of the normal Hall sensor. The high-level time or low-level time of the sensor calculates the electrical angle of the brushless DC motor. The specific method is as follows:
    Figure PCTCN2019110812-appb-100001
    Figure PCTCN2019110812-appb-100001
    Figure PCTCN2019110812-appb-100002
    Figure PCTCN2019110812-appb-100002
    其中,“θ r”为无刷直流电机的电气角度,“T j”为正常霍尔传感器的高电平时间或低电平时间,“E i”为校正的电气角度,“t 0”为无刷直流电机运转计时时间。 Among them, “θ r ”is the electrical angle of the brushless DC motor, “T j ” is the high level time or low level time of the normal Hall sensor, “E i ”is the corrected electrical angle, and “t 0 ” is Brushless DC motor running timing time.
  7. 根据权利要求3或6所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:所述步骤1中电气角度校正方法和所述“E i”的取值,具体为: The control method of the brushless DC motor Hall sensor fault-tolerant control device according to claim 3 or 6, characterized in that: the electrical angle correction method in step 1 and the value of "E i "are specifically:
    当无刷直流电机逆时针转动时,当捕获到霍尔传感器A的上升沿时电气角度校正成E 1=240,当捕获到霍尔传感器C的下降沿时电气角度校正成E 2=300;当捕获到霍尔传感器B的上升沿时电气角度校正成E 3=0;当捕获到霍尔传感器A的下降沿时电气角度校正成E 4=60;当捕获到霍尔传感器C的上升沿时电气角度校正成E 5=120;当捕获到霍尔传感器B的下降沿时电气角度校正成E 6=180; When the brushless DC motor rotates counterclockwise, the electrical angle is corrected to E 1 =240 when the rising edge of Hall sensor A is captured, and the electrical angle is corrected to E 2 =300 when the falling edge of Hall sensor C is captured; When the rising edge of Hall sensor B is captured, the electrical angle is corrected to E 3 =0; when the falling edge of Hall sensor A is captured, the electrical angle is corrected to E 4 =60; when the rising edge of Hall sensor C is captured When the electrical angle is corrected to E 5 =120; when the falling edge of Hall sensor B is captured, the electrical angle is corrected to E 6 =180;
    当无刷直流电机顺时针转动时,当捕获到霍尔传感器A的上升沿时电气角度校正成E 1=60,当捕获到霍尔传感器C的下降沿时电气角度校正成E 2=120;当捕获到霍尔传感器B的上升沿时电气角度校正成E 3=180;当捕获到霍尔传感器A的下降沿时电气角度校正成E 4=240;当捕获到霍尔传感器C的上升沿时电气角度校正成E 5=300;当捕获到霍尔传感器B的下降沿时电气角度校正成E 6=0。 When the brushless DC motor rotates clockwise, the electrical angle is corrected to E 1 =60 when the rising edge of Hall sensor A is captured, and the electrical angle is corrected to E 2 =120 when the falling edge of Hall sensor C is captured; When the rising edge of Hall sensor B is captured, the electrical angle is corrected to E 3 =180; when the falling edge of Hall sensor A is captured, the electrical angle is corrected to E 4 =240; when the rising edge of Hall sensor C is captured When the electrical angle is corrected to E 5 =300; when the falling edge of the Hall sensor B is captured, the electrical angle is corrected to E 6 =0.
  8. 根据权利要求6所述的无刷直流电机霍尔传感器容错控制装置的 控制方法,其特征在于:所述的正常霍尔传感器的高电平时间或低电平时间T j,T 1~T 6的具体表示为:T 1为霍尔传感器A的低电平时间,T 2为霍尔传感器C的高电平时间,T 3为霍尔传感器B的低电平时间,T 4为霍尔传感器A的高电平时间,T 5为霍尔传感器C的低电平时间,T 6为霍尔传感器B的高电平时间。 The control method of the brushless DC motor Hall sensor fault-tolerant control device according to claim 6, characterized in that: the high level time or the low level time T j , T 1 ~T 6 of the normal Hall sensor Specifically expressed as: T 1 is the low level time of Hall sensor A, T 2 is the high level time of Hall sensor C, T 3 is the low level time of Hall sensor B, and T 4 is the Hall sensor a high level of time, T 5 is the low time of the Hall sensor C, T 6 is a high-level period B of the Hall sensor.
  9. 根据权利要求6所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:所述电气角度的计算方法,具体为:The control method of a fault-tolerant control device for a Hall sensor of a brushless DC motor according to claim 6, wherein the calculation method of the electrical angle is specifically:
    当已判断霍尔传感器A故障时,用霍尔传感器C的高电平时间T 2、霍尔传感器B的低电平时间T 3、霍尔传感器C的低电平时间T 5以及霍尔传感器B的高电平时间T 6计算电气角度; When the fault has been determined A Hall sensor with a Hall sensor C is high time T 2, the Hall sensor B is low time T 3, the low time T 5 C Hall sensor and a Hall sensor B's high level time T 6 calculates the electrical angle;
    当已判断霍尔传感器B故障时,用霍尔传感器A的高电平时间T 1,霍尔传感器C的高电平时间T 2,霍尔传感器A的高电平时间T 4以及霍尔传感器C的低电平时间T 5计算电气角度; When the fault has been judged B Hall sensor, with a Hall sensor A high time T 1, the Hall sensor C high time T 2, A high time T 4 of the Hall sensor and Hall sensor The low level time T 5 of C calculates the electrical angle;
    当判断霍尔传感器C故障时,霍尔传感器A的高电平时间T 1,霍尔传感器B的低电平时间T 3,霍尔传感器A的高电平时间T 4以及霍尔传感器B的高电平时间T 6计算电气角度。 When it is judged that Hall sensor C is faulty, the high level time T 1 of Hall sensor A, the low level time T 3 of Hall sensor B, the high level time T 4 of Hall sensor A, and the high level time of Hall sensor B The high level time T 6 calculates the electrical angle.
  10. 根据权利要求6所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:所述电气角度的计算方法,具体为:当每捕获到霍尔传感器的上升沿或者下降沿时,令无刷直流电机运转计时时间t 0=0,电气角度θ r直接等于校正的电气角度E iThe control method of the brushless DC motor Hall sensor fault-tolerant control device according to claim 6, characterized in that: the calculation method of the electrical angle is specifically: every time the rising edge or the falling edge of the Hall sensor is captured , Let the brushless DC motor run timing time t 0 =0, and the electrical angle θ r is directly equal to the corrected electrical angle E i .
  11. 根据权利要求3所述的无刷直流电机霍尔传感器容错控制装置的控制方法,其特征在于:在步骤1之前起动定时器,用于获得无刷 直流电机运转计时时间t 0The control method of a fault-tolerant control device for a Hall sensor of a brushless DC motor according to claim 3, wherein the timer is started before step 1 to obtain the running timing t 0 of the brushless DC motor.
PCT/CN2019/110812 2019-10-12 2019-11-19 Brushless direct current motor hall sensor fault-tolerant control device and control method therefor WO2021068241A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910968060 2019-10-12
CN201910968060.5 2019-10-12

Publications (1)

Publication Number Publication Date
WO2021068241A1 true WO2021068241A1 (en) 2021-04-15

Family

ID=70655101

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110812 WO2021068241A1 (en) 2019-10-12 2019-11-19 Brushless direct current motor hall sensor fault-tolerant control device and control method therefor

Country Status (2)

Country Link
CN (1) CN111181450A (en)
WO (1) WO2021068241A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113435046A (en) * 2021-06-29 2021-09-24 西北工业大学 Reliability calculation method for control system of dual-redundancy brushless direct current motor

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021068241A1 (en) * 2019-10-12 2021-04-15 江苏科技大学 Brushless direct current motor hall sensor fault-tolerant control device and control method therefor
CN112366990B (en) * 2020-11-09 2022-07-08 珠海格力电器股份有限公司 Hall self-positioning method, device, equipment and system
CN115149851A (en) * 2021-03-31 2022-10-04 华润微集成电路(无锡)有限公司 Circuit structure for realizing leading-lagging phase change of motor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004020198A (en) * 2002-06-12 2004-01-22 Nissan Motor Co Ltd Rotational position detector for rotor, and controller for rotor
CN102826116A (en) * 2011-06-15 2012-12-19 现代摩比斯株式会社 Control method of electric power steering device
CN106411190A (en) * 2016-08-26 2017-02-15 广州瓦良格机器人科技有限公司 Fault tolerance control method suitable for Hall sensors of multi-phase permanent magnet brushless DC motor
CN109194206A (en) * 2018-10-10 2019-01-11 常州宝龙电机有限公司 A kind of brshless DC motor fault tolerant control method
CN111181450A (en) * 2019-10-12 2020-05-19 江苏科技大学 Fault-tolerant control device and control method for Hall sensor of brushless direct current motor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391362A (en) * 2015-10-29 2016-03-09 天津市松正电动汽车技术股份有限公司 DC brushless motor Hall sensor control algorithm
CN106787992B (en) * 2017-03-24 2019-08-02 哈尔滨理工大学 Permanent magnetic brushless Hall sensor fault tolerant control method
CN108900120A (en) * 2018-07-09 2018-11-27 西北工业大学 Permanent magnetic brushless hall position sensor fault tolerant control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004020198A (en) * 2002-06-12 2004-01-22 Nissan Motor Co Ltd Rotational position detector for rotor, and controller for rotor
CN102826116A (en) * 2011-06-15 2012-12-19 现代摩比斯株式会社 Control method of electric power steering device
CN106411190A (en) * 2016-08-26 2017-02-15 广州瓦良格机器人科技有限公司 Fault tolerance control method suitable for Hall sensors of multi-phase permanent magnet brushless DC motor
CN109194206A (en) * 2018-10-10 2019-01-11 常州宝龙电机有限公司 A kind of brshless DC motor fault tolerant control method
CN111181450A (en) * 2019-10-12 2020-05-19 江苏科技大学 Fault-tolerant control device and control method for Hall sensor of brushless direct current motor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113435046A (en) * 2021-06-29 2021-09-24 西北工业大学 Reliability calculation method for control system of dual-redundancy brushless direct current motor

Also Published As

Publication number Publication date
CN111181450A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
WO2021068241A1 (en) Brushless direct current motor hall sensor fault-tolerant control device and control method therefor
US10840834B2 (en) Method for driving sensorless motor
Shao et al. Fault-tolerant control of position signals for switched reluctance motor drives
US20160233804A1 (en) Motor control device
CN104165649A (en) Power-on self-detection method for brushless direct-current motor hall sensor
JP2016021850A (en) Method for detecting motor stall and electronic circuit
CN105391362A (en) DC brushless motor Hall sensor control algorithm
US9768717B2 (en) Method of driving brushless motors, corresponding device, motor and computer program product
CN101718843A (en) Stator winding phase sequence, corresponding relation determining method of stator winding phase sequence and coder and device
Mehta et al. Hall sensor fault detection and fault tolerant control of PMSM drive system
Papathanasopoulos et al. Fault tolerant control of a brushless DC motor with defective position sensors
CN107834914A (en) Brushless electric motor rotor angle computation method based on Hall
CN102608438B (en) Method for determining corresponding relation of phase sequence of stator winding and encoder
US10992243B2 (en) System and computer-implemented method for reducing angle error in electric motors
CN111884547A (en) Method for detecting position of rotor of brushless direct current motor
CN102621405B (en) Device for detecting stator winding phase sequence and encoder output level
CN114257142A (en) Motor control device
CN110429875B (en) Driving method and system of brushless direct current motor under Hall disorder
KR101684807B1 (en) Lead Angle Controller
WO2020031943A1 (en) Position estimation method, motor control device, and motor system
WO2020031882A1 (en) Position estimation method, motor control device and motor system
US9252690B2 (en) Generating a coil switching signal for a brushless DC motor
CN104333286A (en) Method for realizing Hall sensor installation position deviation correction based on six pulse algorithm
CN103337994A (en) Commutation method and system of brushless DC motor
CN109713951A (en) DC brushless motor high-torque driving method and the control system for non-brush direct currunt electromotors

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19948619

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19948619

Country of ref document: EP

Kind code of ref document: A1