WO2022094894A1 - Testing method, control, electronic speed control, power apparatus, and movable platform for electric motor - Google Patents

Testing method, control, electronic speed control, power apparatus, and movable platform for electric motor Download PDF

Info

Publication number
WO2022094894A1
WO2022094894A1 PCT/CN2020/126864 CN2020126864W WO2022094894A1 WO 2022094894 A1 WO2022094894 A1 WO 2022094894A1 CN 2020126864 W CN2020126864 W CN 2020126864W WO 2022094894 A1 WO2022094894 A1 WO 2022094894A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
power tube
motor
circuit
turned
Prior art date
Application number
PCT/CN2020/126864
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 深圳市大疆创新科技有限公司
Priority to CN202080074972.9A priority Critical patent/CN114710972A/en
Priority to PCT/CN2020/126864 priority patent/WO2022094894A1/en
Publication of WO2022094894A1 publication Critical patent/WO2022094894A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/26Testing of individual semiconductor devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/26Testing of individual semiconductor devices
    • G01R31/27Testing of devices without physical removal from the circuit of which they form part, e.g. compensating for effects surrounding elements
    • 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
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • 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
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
    • 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/08Arrangements for controlling the speed or torque of a single motor
    • 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
    • H02P6/18Circuit arrangements for detecting position without separate position detecting elements
    • H02P6/182Circuit arrangements for detecting position without separate position detecting elements using back-emf in windings

Definitions

  • the present application relates to the technical field of motors, and in particular, to a detection method, a control device, an ESC device, a power device, and a movable platform for a motor.
  • whether there is a fault in the motor is determined by detecting the voltage and/or current of each phase of the motor, which requires more voltage and/or current to be detected, which occupies more hardware resources.
  • the present application provides a motor detection method, a control device, an ESC device, a power device and a movable platform, which can realize motor detection with less resources.
  • an embodiment of the present application provides a method for detecting a motor.
  • the motor is connected to a drive circuit, and the drive circuit includes three half-bridge drivers, each of which includes a first power transistor and a second half-bridge driver. a power tube, and the first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for connecting the negative pole of the power supply;
  • the detection method includes:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • an embodiment of the present application provides a control device for a motor, the motor is connected to a drive circuit, the drive circuit includes three half-bridge drivers, and each of the half-bridge drivers includes a first power transistor and a second a power tube, and the first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for connecting the negative pole of the power supply;
  • the control device includes:
  • One or more processors working individually or collectively, to perform:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • an embodiment of the present application provides an ESC device, including:
  • a drive circuit can be connected to a motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, so The second power tube is used to connect the negative pole of the power supply;
  • One or more processors working individually or collectively, to perform:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • an embodiment of the present application provides a power device, including:
  • the drive circuit connected to the motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, the second power tube is used for connecting the negative pole of the power supply;
  • One or more processors working individually or collectively, to perform:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • an embodiment of the present application provides a movable platform, including:
  • the drive circuit connected to the motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, the second power tube is used for connecting the negative pole of the power supply;
  • One or more processors working individually or collectively, to perform:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the foregoing method.
  • the embodiments of the present application provide a motor detection method, a control device, an ESC device, a power device, and a movable platform, by controlling the first power tube and the second power tube driven by the three half-bridges according to a preset control logic
  • the fault state can save processor resources, such as processor pins and resources for sampling voltage and/or current.
  • FIG. 1 is a schematic flowchart of a method for detecting a motor provided by an embodiment of the present application
  • Fig. 2 is the circuit schematic diagram of the motor connection drive circuit
  • Fig. 3 is the first circuit schematic diagram of the motor self-test
  • Fig. 4 is the second circuit schematic diagram of the motor self-test
  • FIG. 5 is a schematic circuit diagram of a motor self-checking by a detection method according to an embodiment of the present application
  • FIG. 6 is a schematic circuit diagram of the self-test of the motor by the detection method according to another embodiment of the present application.
  • FIG. 7 is a schematic block diagram of a control device for a motor provided by an embodiment of the present application.
  • FIG. 8 is a schematic block diagram of an ESC device provided by an embodiment of the present application.
  • FIG. 9 is a schematic block diagram of a power plant provided by an embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a movable platform provided by an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for detecting a motor provided by an embodiment of the present application.
  • the detection method can be applied to a control device of a motor, such as an electronic speed controller (Electronic Speed Control, ESC, also known as an ESC), to detect the motor and the driving device of the motor, etc.; Including permanent magnet synchronous motor (PMSM), brushless DC motor (BLDC), or including inner rotor motor or outer rotor motor, or including brush motor, brushless motor, etc.
  • the detection method may be applied to a movable platform.
  • the movable platform may include at least one of an unmanned aerial vehicle, a pan/tilt, and an unmanned vehicle.
  • the unmanned aerial vehicle can be a rotary-wing drone, such as a quad-rotor drone, a six-rotor drone, an eight-rotor drone, or a fixed-wing drone.
  • the ESC is used to drive the driver of the brushless DC motor on the multi-rotor drone.
  • the output end of the ESC may include three phase wires, and the ESC can adjust the voltage (frequency, phase, etc.) of each phase wire at the output end. ) to control the speed and/or direction of rotation of the motor to which it is connected.
  • the flight control system of the unmanned aerial vehicle refers to a control system capable of stabilizing the flight attitude of the unmanned aerial vehicle and capable of controlling the autonomous or semi-autonomous flight of the unmanned aerial vehicle, and is the brain of the unmanned aerial vehicle. It can usually determine the current flight state of the UAV through various sensors (for example, gyroscopes, accelerometers, geomagnetic induction, air pressure sensors, GPS modules, etc.) The electronic governor and the corresponding motor control each rotor of the unmanned aerial vehicle.
  • sensors for example, gyroscopes, accelerometers, geomagnetic induction, air pressure sensors, GPS modules, etc.
  • the motor is connected to a drive circuit
  • the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power transistor and a second power transistor, and the first power transistor is used to connect the power supply The positive pole of the power supply, the second power tube is used to connect the negative pole of the power supply.
  • the drive circuit may include a three-phase full-bridge drive circuit, the first power tube may be referred to as a high-side power tube (also referred to as an upper-side power tube), and the second power tube may be referred to as a low-side power tube. Side power tubes (also called lower power tubes).
  • the first half-bridge driver includes a first power tube Q1 and a second power tube Q4, the second half-bridge driver includes a first power tube Q2 and a second power tube Q5, and the third half-bridge driver includes a first power tube Q2 and a second power tube Q5.
  • the half-bridge driver includes a first power transistor Q3 and a second power transistor Q6.
  • connection between the first power tube and the second power tube driven by the three half-bridges is used to connect the motor.
  • the motor is connected to the drive circuit in a star connection.
  • the motor may be connected to the drive circuit in a star-delta connection.
  • the motor and the drive circuit connected to the motor can be detected, for example, the ESC can detect the motor and the drive circuit connected to the motor when powered on, to prevent faults from expanding during motor operation and even cause safety hazards.
  • FIG. 3 is a schematic diagram of self-checking when a motor is controlled by a motor vector control (Fielded Oriented Control, FOC) method in a current embodiment.
  • a sampling resistor R is connected to the loop of each half-bridge driver and the motor, and the processor can detect the current driven by each half-bridge through the sampling resistor R, which can be called a phase current.
  • the processor can pass a voltage signal across its own or an external analog-to-digital converter (ADC) resistor, and then divide the voltage signal by the resistance of the resistor to obtain the current through the resistor.
  • ADC analog-to-digital converter
  • the processor needs at least three current samples to get the self-test result.
  • FIG. 4 is a schematic diagram of performing self-checking when controlling a motor in another embodiment of the present invention.
  • the connection between the first power tube and the second power tube driven by each half-bridge is connected to the processor through the voltage sampling circuit Rx, and the processor can detect the voltage at the corresponding position through the voltage sampling circuit Rx, and the voltage can be called is the phase voltage;
  • the second power tube driven by each half-bridge is grounded through a resistor Rb, and the processor can detect the current output by the power supply to the driving circuit through the resistor Rb, and the current can be called the bus current.
  • the processor needs at least three voltage samples and one current sample to get the self-test results.
  • the inventors of the present application have found that the current motor self-checking method needs to occupy more resources of the processor, such as the pins of the processor and the resources of sampling voltage and/or current. In response to this discovery, the inventors of the present application have improved the motor self-test method to save processor resources, such as processor pins and resources for sampling voltage and/or current.
  • the method for detecting a motor includes steps S110 to S130 .
  • first power transistor and the second power transistor include, for example, MOS transistors, and the switching states of the first power transistor and the second power transistor include on or off.
  • the switching states of the first power transistors and the second power transistors driven by the three half-bridges may be controlled respectively.
  • the processor can output six control signals PWM1 to PWM6, and the six control signals PWM1 to PWM6 are used to control the six control power tubes Q1 to Q6 in one-to-one correspondence.
  • a power tube driver circuit (which may be referred to as a Driver) is connected between the processor and the driver circuit, and the power tube driver circuit includes, for example, a power tube driver chip.
  • the power tube driving circuit can be understood as a kind of power amplifier, which can output the driving signal for driving the power tube according to the low-power signal generated by the processor.
  • the processor may also output specific control instructions to the power tube drive circuit to control the power tube drive circuit to output six drive signals. For example, the processor may shake hands with the power tube drive circuit to establish a communication connection, and through the communication connection Output specific control commands to the power tube drive circuit.
  • one control signal of the processor can control the first power transistor and the second power transistor driven by one half-bridge.
  • the power tube driving circuit may output two driving signals for driving the power tube according to one control signal PWM1.
  • the processor can output three control signals PWM1 to PWM3, and the three control signals PWM1 to PWM3 are used to control one half-bridge driver respectively, and specifically control the first power tube and the second power tube in each half-bridge driver. power tube.
  • the control signal PWM1 is used to control the two power tubes in the first half-bridge driver
  • the control signal PWM2 is used to control the two power tubes in the second half-bridge driver
  • the control signal PWM3 is used to control the third half-bridge Two power tubes in the driver. Therefore, six power tubes can be controlled by three control signals output by three pins, which can save the resources of the processor, for example, three pins can be saved.
  • control signals PWM1 to PWM3 can control the power tube driving circuit to send out three pairs of complementary driving signals, and each pair of complementary driving signals includes two driving signals, and the two driving signals are used to control the driving of the half-bridge.
  • One of the first power tube and the second power tube is turned on, and the other is turned off.
  • the processor controls the power tube driving circuit to send out three pairs of complementary driving signals through three control signals PWM1 to PWM3, which can save the occupation of processor resources.
  • the detection method further includes: enabling the power tube driving circuit, so that the power tube driving circuit can send the driving signal.
  • the power tube drive circuit includes an enable terminal, and the processor can enable the power tube drive circuit by outputting an enable signal En to the enable terminal of the power tube drive circuit, so that the power A tube drive circuit can issue the drive signal.
  • the processor when the processor outputs the enable signal En, the power transistor drive circuit can send the drive signal according to the control signal output by the processor; when the processor does not output the enable signal En, regardless of whether the processor outputs the control signal, the power transistor None of the drive circuits issue the drive signal.
  • the power tube driving circuit includes an error reporting terminal for outputting an error reporting signal Fault
  • the processor may determine that the power tube driving circuit is faulty according to the fault reporting signal Fault.
  • the controlling the switching states of the first power transistors and the second power transistors driven by the three half-bridges includes: by setting the duty ratio of the driving signal sent by the power transistor driving circuit, The switching states of the first power transistor and the second power transistor are controlled.
  • the power tube when the duty cycle of the driving signal for driving a certain power tube is 0%, the power tube is in an off state; when the duty ratio of the driving signal for driving a certain power tube is 100%, the power tube is in an off state. The power tube is in a conducting state.
  • the power tube drive circuit when the processor outputs a control signal PWM with a duty cycle of 0%, the power tube drive circuit sends out two corresponding drive signals, and one of the drive signals has a duty cycle of 0%, and the other drive The duty cycle of the signal is 100%.
  • the processor outputs a control signal PWM with a duty ratio of 100%, the power tube driving circuit sends out two corresponding driving signals, and the duty ratio of one of the driving signals is 100%, and the duty ratio of the other driving signal is 100%.
  • ratio is 0%.
  • the controlling the switching states of the first power transistors and the second power transistors driven by the three half-bridges includes: setting a high-level duration of the driving signal sent by the power transistor driving circuit , and/or enable the duration of the power tube drive circuit, and set the duration of the conduction of the first power tube or the second power tube.
  • the processor can control the power tube drive circuit to send out at least one high-level signal of a specific duration, and then the high-level signal can control the corresponding power tube to conduct the preset. duration.
  • the processor may issue a control signal for controlling the power tube driving circuit to issue a high-level signal, such as a control signal with a duty cycle of 100% or 0%, by enabling the power tube driving circuit for a certain period of time.
  • a control signal for controlling the power tube driving circuit to issue a high-level signal, such as a control signal with a duty cycle of 100% or 0%, by enabling the power tube driving circuit for a certain period of time.
  • the power tube driving circuit can be made to issue a high level for a specific duration, so as to control the corresponding power tube to be turned on for the preset duration.
  • the bus current output by the power supply to the driving circuit can be obtained through the sampling resistor Rb.
  • the sampling resistor Rb can be connected between the driving circuit and the negative pole of the power supply; as shown in FIG. 6 , the sampling resistor Rb can be connected between the driving circuit and the power supply between the positive poles.
  • the power supply can detect the current output to the driving circuit, and the processor can obtain the current from the power supply as the bus current.
  • the fault state of the motor and/or the drive circuit can be determined according to the bus current.
  • the fault state of the motor and/or the driving circuit can be determined according to the bus current and the current threshold corresponding to the preset control logic.
  • the fault state of the motor and/or the drive circuit includes: short circuit and/or failure of the circuit to connect.
  • the ESC when the ESC is powered on, it can be detected whether the six power tubes are short-circuited or open-circuited, whether the three-phase permanent magnet synchronous motor is short-circuited between phases, whether the three-phase permanent-magnet synchronous motor is open-phase, and whether the power tube drive circuit is normal. .
  • the current threshold used to determine the short circuit fault state is greater than the current threshold used to determine the loop failure state.
  • the possible faults of the motor and the control device of the motor include at least one of the following: one or more power tubes are short-circuited or open-circuited, and the drive circuit of one or more power tubes is open-circuited , Phase-to-phase short circuit occurs in three phases of the motor, phase failure occurs in three phases of the motor, the grid (G) poles of one or more first power tubes are short-circuited to the ground, and the grid (G) poles of one or more second power tubes are short-circuited to the power supply .
  • the short circuit of the power tube includes a gate-source (GS) pole short circuit, a gate-drain (GD) pole short circuit, or a drain-source (DS) pole short circuit of the power tube.
  • the second power transistors driven by the three half-bridges are controlled to be turned on for a first preset period of time, and if the bus current is greater than or equal to a first current threshold, the second power transistors driven by at least one of the half-bridges are determined to be turned on for a first preset time period. A power tube is short-circuited.
  • the busbar current is large, which can be understood as a short-circuit current, which is greater than or equal to the first current threshold.
  • the second power transistors driven by the three half-bridges may be controlled to be turned on for a short first preset time period, such as 0.2 to 3 microseconds.
  • the processor may turn off the output of the power tube driving circuit, for example, stop enabling the power tube driving circuit, then output the control signals PWM1 to PWM3 with a duty cycle of 0%, and issue the first control signal PWM1 to PWM3.
  • a preset duration such as 1 microsecond, enables the power tube drive circuit to turn on and output the first preset duration, and the bus current is sampled through the sampling resistor Rb within the first preset duration. If the busbar has a large current, it can be determined that the high- and low-side power tubes are connected directly, that is, the positive pole of the power supply is connected to the negative pole of the power supply through the first power tube and the second power tube, and does not pass through the motor. For example, it can be determined that at least one of the first power transistors driven by the half-bridge is short-circuited at the DS pole or the GD pole. Can end self-test and/or output fault message.
  • the second power transistors driven by the three half-bridges are controlled to be turned on for a first preset duration, and if the bus current is less than a first current threshold, a subsequent self-checking step may be performed, or it may be determined that no occurrence of If it fails, it can also start to perform preset tasks, such as speed regulation, takeoff, etc.
  • the first power transistor driven by one of the half bridges is controlled to be turned on for a second preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is greater than or equal to the second current
  • the threshold value is used to determine that the circuit corresponding to the first power transistor driven by one of the half-bridges has a short-circuit fault.
  • the first power transistor Q1 driven by the first half-bridge when the first power transistor Q1 driven by the first half-bridge is turned on, and the second power transistors Q5 and Q6 driven by the second and third half-bridges are turned on.
  • the busbar current is relatively large, which can be understood as a short-circuit current, which is greater than or equal to the second current threshold.
  • the first power transistor driven by one of the half-bridges may be controlled to be turned on for a shorter second preset time period, such as 0.2 to 3 microseconds.
  • the first power transistor driven by one half-bridge is controlled to be turned on for a second preset duration and the second power transistors driven by the remaining two half-bridges are controlled to be turned on, if the bus current is greater than or equal to the second current threshold, Then, it can be determined that the second power tube corresponding to the first power tube that is turned on is short-circuited, the second power tube is short-circuited with the power supply, and/or the motor is short-circuited between phases.
  • the processor first turns on the output of the power tube driving circuit through the enable signal, and then uses the pin for outputting the control signal PWM1 to send out a second preset duration, such as a high-level pulse of 1 microsecond, to set the control.
  • the duty cycle of the signals PWM2 and PWM3 is 0%, so that the first power tube Q1 can be controlled to be turned on for 1 microsecond, the second power tube Q4 can be turned off, and the first power tube Q2 and Q3 can be controlled to be turned off, and the second power tube can be turned off.
  • Q5 and Q6 are turned on.
  • the bus current is sampled through the sampling resistor Rb within the second preset time period.
  • the bus has a large current, it can be determined that the high- and low-side power tubes are connected directly, for example, the second power tube Q4 is short-circuited at the DS pole or the G pole is short-circuited with the power supply instead of controlled conduction, or the motor is short-circuited between phases. Can end self-test and/or output fault message.
  • the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin for outputting the control signal PWM2 to issue a second preset duration, such as a high-level pulse of 1 microsecond, to set the control.
  • the duty cycle of the signals PWM1 and PWM3 is 0%, so that the first power transistor Q2 can be controlled to be turned on for 1 microsecond, the second power transistor Q5 can be turned off, and the first power transistors Q1 and Q3 can be controlled to be turned off, and the second power transistor can be controlled to turn off.
  • Q4 and Q6 are turned on.
  • the bus current is sampled through the sampling resistor Rb within the second preset time period.
  • the bus has a large current, it can be determined that the high- and low-side power tubes are connected directly, for example, the second power tube Q5 is short-circuited at the DS pole or the G pole is short-circuited with the power supply instead of controlled conduction, or the motor is short-circuited between phases. Can end self-test and/or output fault message.
  • the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin used to output the control signal PWM3 to send out a second preset duration, such as a high-level pulse of 1 microsecond, to set the control signals PWM1, PWM2
  • the duty cycle is 0%, so that the first power tube Q3 can be controlled to be turned on for 1 microsecond, the second power tube Q6 can be turned off, and the first power tubes Q1 and Q2 can be controlled to be turned off, and the second power tubes Q4 and Q5 can be turned on. Pass.
  • the bus current is sampled through the sampling resistor Rb within the second preset time period. If there is a large current in the bus, it can be determined that the high-side and low-side power tubes are connected directly.
  • the second power tube Q6 is short-circuited at the DS pole or the G pole is short-circuited with the power supply instead of controlled conduction, or the motor is short-circuited between phases. Can end self-test and/or output fault message.
  • the first power transistor driven by one of the half bridges is controlled to be turned on for a second preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is less than the second current threshold, The subsequent self-test steps can then be performed, or it can be determined that no fault has occurred, and a preset task can be started.
  • the first power transistor driven by one of the half bridges is controlled to be turned on for a third preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is less than or equal to the third current Threshold value, it is determined that the circuit of the motor and/or the drive circuit fails to connect.
  • the third preset time period is long, if the loop between the positive pole of the power supply and the negative pole of the power supply cannot be connected, the bus current is small or 0, specifically less than or equal to the third current threshold, and the third current threshold is less than the aforementioned
  • the first current threshold, the second current threshold, for example, the third preset duration is 3 to 10 microseconds.
  • the first power transistor driven by one of the half-bridges is controlled to be turned on for a third preset duration and the second power transistors driven by the remaining two half-bridges Conduction to prevent damage caused by long-term short-circuit.
  • the determining that the circuit of the motor and/or the driving circuit is not connected includes: determining that the first power tube driven by one of the half-bridges is not controlled to be turned on, and the remaining two half-bridges are not connected.
  • the second power tube driven by the bridge is not turned on in a controlled manner, and/or the motor is out of phase.
  • the uncontrolled conduction of the first power tube includes: the driving resistor of the first power tube is disconnected, the gate and source of the first power tube are disconnected, and/or the first power tube is disconnected.
  • the grid of the power tube is shorted to ground.
  • the driving resistors of the first power tube include resistors R1 to R3, which can improve the accuracy of power tube control.
  • the driving resistor can be set outside the power tube driving circuit, or can be set inside the power tube driving circuit.
  • the uncontrolled conduction of the second power tube includes: the driving resistor of the second power tube is disconnected, the gate and source of the second power tube are disconnected, and/or the second power tube is disconnected. The gate and drain of the power tube are shorted.
  • the phase failure of the motor includes: a phase failure of the motor and the driving connection of one of the half-bridges, and/or two-phase driving connections of the motor and the remaining two half-bridges. out of phase.
  • the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin for outputting the control signal PWM1 to send a third preset duration, such as a high-level pulse of 5 microseconds, to set the control.
  • the duty cycle of the signals PWM2 and PWM3 is 0%, so that the first power transistor Q1 can be controlled to be turned on for 5 microseconds, the second power transistor Q4 can be turned off, and the first power transistors Q2 and Q3 can be controlled to be turned off, and the second power transistor can be controlled to turn off.
  • Q5 and Q6 are turned on.
  • the bus current is sampled through the sampling resistor Rb within the third preset time period.
  • the busbar current is less than or equal to the third current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistor Q1 has a driving resistance open circuit, a GS pole short circuit, or a G pole short circuit. Short-circuit to ground, determine that the second power transistors Q5 and Q6 have drive resistance open circuit, GS pole short circuit or GD pole short circuit, or determine that the motor phase is open. Can end self-test and/or output fault message.
  • the processor first turns on the output of the power tube driving circuit through the enable signal, and then uses the pin for outputting the control signal PWM2 to issue a third preset duration, such as a high-level pulse of 5 microseconds, to set the control.
  • the duty cycle of the signals PWM1 and PWM3 is 0%, so that the first power transistor Q2 can be controlled to be turned on for 5 microseconds, the second power transistor Q5 can be turned off, and the first power transistors Q1 and Q3 can be controlled to be turned off, and the second power transistor can be controlled to be turned off.
  • Q4 and Q6 are turned on.
  • the bus current is sampled through the sampling resistor Rb within the third preset time period.
  • the busbar current is less than or equal to the third current threshold, it can be determined that the motor and/or the loop of the drive circuit is not connected, for example, it can be determined that the first power transistor Q2 has a drive resistance open circuit, a GS pole short circuit, or a G pole short circuit. Short-circuit to ground, determine that the second power transistors Q4 and Q6 have drive resistance open circuit, GS pole short circuit or GD pole short circuit, or determine that the motor phase is open. Can end self-test and/or output fault message.
  • the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin for outputting the control signal PWM3 to send a third preset duration, such as a high-level pulse of 5 microseconds, to set the control.
  • the duty cycle of the signals PWM1 and PWM2 is 0%, so that the first power transistor Q3 can be controlled to be turned on for 5 microseconds, the second power transistor Q6 can be turned off, and the first power transistors Q1 and Q2 can be controlled to be turned off, and the second power transistor can be controlled to turn off.
  • Q4 and Q5 are turned on.
  • the bus current is sampled through the sampling resistor Rb within the third preset time period.
  • the busbar current is less than or equal to the third current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistor Q3 has a driving resistance open circuit, a GS pole short circuit, or a G pole short circuit. Short-circuit to ground, determine that the second power transistors Q4 and Q5 have drive resistance open circuit, GS pole short circuit or GD pole short circuit, or determine that the motor is out of phase. Can end self-test and/or output fault message.
  • the first power transistor driven by one of the half bridges is controlled to be turned on for a third preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is greater than a third current threshold and If it is less than the second current threshold, subsequent self-checking steps can be performed, or it is determined that no fault has occurred, and the preset task can also be started.
  • the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset time period and the second power transistors driven by the remaining one half-bridge are controlled to be turned on, if the bus current is less than or less than the fourth current Threshold value, it is determined that the circuit of the motor and/or the drive circuit fails to connect.
  • the fourth preset duration is long, if the loop between the positive pole of the power supply and the negative pole of the power supply cannot be connected, the bus current is small or 0, specifically less than or equal to the fourth current threshold, and the third current threshold is less than the aforementioned
  • the first current threshold, the second current threshold, for example, the fourth preset duration is 3 to 10 microseconds.
  • the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset duration and the second power transistors driven by the remaining one half-bridge Conduction to prevent damage caused by long-term short-circuit.
  • the determining that the circuits of the motor and/or the driving circuit are not connected includes: determining that the first power transistors driven by the two half-bridges are not controlled to be turned on, and the remaining one half-bridge The second power tube driven by the bridge is not turned on in a controlled manner, and/or the motor is out of phase.
  • the uncontrolled conduction of the first power tube includes: the driving resistor of the first power tube is disconnected, the gate and source of the first power tube are disconnected, and/or the first power tube is disconnected.
  • the grid of the power tube is shorted to ground.
  • the uncontrolled conduction of the second power transistor includes: the drive resistor of the second power transistor is disconnected, the gate and source of the second power transistor are disconnected, and/or the gate of the second power transistor is disconnected The pole and drain are shorted.
  • the phase failure of the motor includes: the motor and the two phases drivingly connected to the two half-bridges are both out of phase, and/or the motor is drivingly connected to the remaining one half-bridge for one phase. out of phase.
  • the processor first turns on the output of the power tube drive circuit through the enable signal, and then sends a fourth preset duration, such as a high-level pulse of 5 microseconds, to the pins used to output the control signals PWM1 and PWM2, set
  • the duty cycle of the control signal PWM3 is set to 0%, so that the first power transistors Q1 and Q2 can be controlled to be turned on for 5 microseconds, the second power transistors Q4 and Q5 can be turned off, and the first power transistor Q3 can be controlled to turn off and the second power transistor Q3 to be turned off.
  • the power tube Q6 is turned on.
  • the bus current is sampled through the sampling resistor Rb within the fourth preset time period.
  • the busbar current is less than or equal to the fourth current threshold, it can be determined that the motor and/or the loop of the driving circuit cannot be connected, for example, it can be determined that the first power transistors Q1 and Q2 have a driving resistance open circuit, a GS pole short circuit, or The G pole is short-circuited to the ground, it is determined that the second power transistor Q6 has a drive resistor open circuit, the GS pole is short-circuited or the GD pole is short-circuited, or it is determined that the motor is out of phase. Can end self-test and/or output fault message.
  • the processor first turns on the output of the power tube driving circuit through the enable signal, and then uses the pins for outputting the control signals PWM1 and PWM3 to send out a fourth preset duration, such as a high-level pulse of 5 microseconds, set
  • the duty cycle of the control signal PWM2 is set to 0%, so that the first power transistors Q1 and Q3 can be controlled to be turned on for 5 microseconds, the second power transistors Q4 and Q6 can be turned off, and the first power transistor Q2 can be controlled to be turned off and the second The power tube Q5 is turned on.
  • the bus current is sampled through the sampling resistor Rb within the fourth preset time period.
  • the busbar current is less than or equal to the fourth current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistors Q1 and Q3 have a driving resistance open circuit, a GS pole short circuit or The G pole is short-circuited to the ground, it is determined that the second power transistor Q5 has a drive resistor open circuit, the GS pole is short-circuited or the GD pole is short-circuited, or it is determined that the motor is out of phase. Can end self-test and/or output fault message.
  • the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pins for outputting the control signals PWM2 and PWM3 to send out a fourth preset duration, such as a high-level pulse of 5 microseconds, set
  • the duty cycle of the control signal PWM1 is set to 0%, so that the first power transistors Q2 and Q3 can be controlled to be turned on for 5 microseconds, the second power transistors Q5 and Q6 can be turned off, and the first power transistor Q1 can be The power tube Q4 is turned on.
  • the bus current is sampled through the sampling resistor Rb within the fourth preset time period.
  • the busbar current is less than or equal to the fourth current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistors Q2 and Q3 have a driving resistance open circuit, a GS pole short circuit or The G pole is short-circuited to the ground, it is determined that the second power transistor Q4 has a drive resistance open circuit, the GS pole is short-circuited or the GD pole is short-circuited, or it is determined that the motor phase is disconnected. Can end self-test and/or output fault message.
  • the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset time period and the second power transistors driven by the remaining one half-bridge are controlled to be turned on, if the bus current is greater than the fourth current threshold and If it is less than the second current threshold, other self-test steps can be performed, or it is determined that no fault has occurred, and the preset task can also be started.
  • the current threshold for determining the short circuit fault condition is greater than the current threshold for determining the loop failure condition.
  • the first current threshold and the second current threshold are greater than the third current threshold and the fourth current threshold.
  • the preset duration of conduction of the power tube when the short-circuit fault state is determined is less than the preset duration of conduction of the power tube when it is determined that the circuit fails to connect to the fault state.
  • the first preset duration and the second preset duration are smaller than the third preset duration and the fourth preset duration. Can prevent damage caused by long-term short circuit.
  • the second power transistors driven by the three half-bridges may be controlled to be turned on for a first preset period of time, so as to determine whether the first power transistors are short-circuited according to the bus current; and then one of the half-bridges may be controlled to drive The first power tube is turned on for a second preset duration and the second power tubes driven by the remaining two half-bridges are turned on, so as to determine whether the circuit corresponding to the first power tube has a short-circuit fault according to the bus current; if all the first power tubes are turned on If there is no short-circuit fault in the circuits corresponding to the power tube and the first power tube, the first power tube driven by one of the half-bridges can be controlled to be turned on for the third preset duration and the second power tubes driven by the remaining two half-bridges can be controlled to be turned on , so as to determine whether the circuit of the motor and/or the drive circuit can be connected according to the bus current; and/or control the first power tube driven by the two half-bridge
  • the switching states of the first power transistor and the second power transistor driven by the three half-bridges are controlled according to a preset control logic, and the output of the power supply to the driving circuit is obtained by obtaining the Therefore, the fault state of the motor and/or the drive circuit can be determined according to the bus current and the current threshold corresponding to the preset control logic, which can save the resources of the processor, such as the introduction of the processor.
  • the resources of pin and sampling voltage and/or current can be applied to some processors with lower performance, which is beneficial to the miniaturization of circuit arrangement and device, and reduces the cost.
  • the resource occupation of the processor includes: a pin for outputting three-way control signals PWM, a pin for enabling the power tube drive circuit, and a pin for collecting bus current. pin.
  • one processor can control multiple motors, and the multiple motors are connected to multiple driving circuits in a one-to-one correspondence, and the driving circuit is one of multiple driving circuits of the multiple motors.
  • the processor may perform time-division detection on a plurality of motors and/or the drive circuits of each motor, for example, when detecting one motor and the drive circuit of the one motor, stop enabling the power transistors corresponding to the remaining motors.
  • the drive circuit also only needs one pin to collect the bus current, and the fault state of the one motor and/or the drive circuit of the one motor can be determined according to the bus current.
  • FIG. 7 is a schematic block diagram of an apparatus 600 for controlling a motor provided by an embodiment of the present application.
  • the control device 600 includes one or more processors 601, working individually or collectively, for carrying out the steps of the aforementioned motor detection method.
  • the motor is connected to a drive circuit
  • the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power transistor and a second power transistor, and the first power transistor is used to connect the power supply Positive pole, the second power tube is used to connect the negative pole of the power supply.
  • control device 600 further includes a memory 602 .
  • the processor 601 and the memory 602 are connected through a bus 603, and the bus 603 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 601 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • ROM Read-Only Memory
  • the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • the processor 601 is configured to run a computer program stored in the memory 602, and implement the aforementioned motor detection method when the computer program is executed.
  • the processor 601 is configured to run a computer program stored in the memory 602, and implement the following steps when executing the computer program:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • one of the first power transistor and the second power transistor of the half-bridge driving when controlling the driving of each half-bridge, is controlled to be turned on, and the other is turned off.
  • control device includes a power tube drive circuit
  • the processor is used to control the power tube drive circuit to send out three pairs of complementary drive signals, each pair of complementary drive signals includes two drive signals, and the two drive signals are used to control the first drive signal of the half-bridge drive.
  • Each pair of complementary drive signals includes two drive signals, and the two drive signals are used to control the first drive signal of the half-bridge drive.
  • One of the power tube and the second power tube is turned on, and the other is turned off.
  • the processor is configured to control the power tube driving circuit to send out three pairs of complementary driving signals through three control signals.
  • processor is also used for:
  • the power tube driving circuit is enabled, so that the power tube driving circuit can send the driving signal.
  • the processor when the processor controls the switching states of the first power transistor and the second power transistor, the processor is configured to execute:
  • the first power tube or the second power tube is set to be turned on length of time.
  • the processor when the processor controls the switching states of the first power transistor and the second power transistor, the processor is configured to execute:
  • the switching states of the first power tube and the second power tube are controlled.
  • the bus current output by the power supply to the drive circuit is obtained through a sampling resistor, and the sampling resistor is connected between the drive circuit and the positive or negative pole of the power supply.
  • the fault state of the motor and/or the drive circuit includes: short circuit and/or failure of the circuit to connect;
  • the current threshold for determining the short circuit fault condition is greater than the current threshold for determining the loop failure condition.
  • the processor is configured to perform:
  • the second power transistors driven by the three half-bridges are controlled to be turned on for a first preset duration, and if the bus current is greater than or equal to a first current threshold, it is determined that at least one of the first power transistors driven by the half-bridges is short-circuited.
  • the processor is configured to perform:
  • the determining that a circuit corresponding to the first power transistor driven by one of the half-bridges has a short-circuit fault includes:
  • the second power tube corresponding to the first power tube that is turned on is short-circuited, the second power tube is short-circuited with the power supply, and/or the motor is short-circuited between phases.
  • the processor is configured to perform:
  • the determining that the circuit of the motor and/or the driving circuit fails to communicate includes:
  • the first power transistor driven by one of the half bridges is not turned on under control, the second power transistors driven by the remaining two half bridges are not turned on under control, and/or the motor is out of phase.
  • phase failure of the motor includes:
  • One phase of the motor connected to the one of the half bridges is disconnected, and/or both phases of the motor connected to the other two half bridges are disconnected.
  • the processor is configured to perform:
  • the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset duration and the second power transistors driven by the remaining one half-bridge are turned on. If the bus current is less than or below a fourth current threshold, determine the motor And/or the loop of the drive circuit fails to connect.
  • the determining that the circuit of the motor and/or the driving circuit fails to communicate includes:
  • the first power transistors driven by the two half-bridges are not turned on in a controlled manner, the second power transistors driven by the remaining one half-bridge are not controlled to be turned on, and/or the motor is out of phase.
  • phase failure of the motor includes:
  • Both the motor and the two phases drivingly connected to the two half-bridges are out of phase, and/or one phase of the motor and the remaining one half-bridge driving connection is out of phase.
  • the uncontrolled conduction of the first power transistor includes: the driving resistor of the first power transistor is disconnected, the gate and source of the first power transistor are disconnected, and/or the first power transistor is disconnected.
  • the grid of the power tube is shorted to ground.
  • the uncontrolled conduction of the second power transistor includes:
  • the driving resistor of the second power tube is disconnected, the gate and source of the second power tube are disconnected, and/or the gate and drain of the second power tube are short-circuited.
  • the preset duration of conduction of the power tube when the short-circuit fault state is determined is less than the preset duration of conduction of the power tube when it is determined that the circuit fails to be connected to the fault state.
  • the drive circuit is one of a plurality of drive circuits of a plurality of motors
  • the processor is also used to execute:
  • Time-division detection of multiple motors and/or the drive circuits of each motor are Time-division detection of multiple motors and/or the drive circuits of each motor.
  • FIG. 8 is a schematic block diagram of an electrical regulation apparatus 700 provided by an embodiment of the present application.
  • the ESC device 700 may be, for example, an ESC device for a movable platform.
  • the movable platform may include at least one of an unmanned aerial vehicle, a gimbal, an unmanned vehicle, and the like.
  • the unmanned aerial vehicle may be a rotary-wing drone, such as a quad-rotor drone, a hexa-rotor drone, an octa-rotor drone, or a fixed-wing drone.
  • the ESC device 700 includes a driving circuit 10 and one or more processors 701 .
  • the driving circuit 10 can be connected to a motor, and can provide a driving signal to the motor to drive the motor to rotate.
  • the drive circuit 10 includes three half-bridge drivers, each of which includes a first power tube and a second power tube, and the first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for Connect the negative terminal of the power supply.
  • one or more processors 701 work individually or collectively to execute the steps of the aforementioned motor detection method.
  • the ESC device 700 further includes a memory 702 .
  • the processor 701 and the memory 702 are connected through a bus 703, and the bus 703 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 701 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 702 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • ROM Read-Only Memory
  • the memory 702 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • the processor 701 is configured to run the computer program stored in the memory 702, and implement the aforementioned motor detection method when the computer program is executed.
  • the processor 701 is configured to run a computer program stored in the memory 702, and implement the following steps when executing the computer program:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • FIG. 9 is a schematic block diagram of a power device 800 provided by an embodiment of the present application.
  • the power plant 800 may be, for example, a power plant for a movable platform.
  • the movable platform may include at least one of an unmanned aerial vehicle, a gimbal, an unmanned vehicle, and the like.
  • the unmanned aerial vehicle may be a rotary-wing drone, such as a quad-rotor drone, a hexa-rotor drone, an octa-rotor drone, or a fixed-wing drone.
  • the power plant includes a motor 20 , a drive circuit 10 , and one or more processors 801 .
  • the driving circuit 10 and the one or more processors 801 can be the driving circuit and the processor in the ESC device, the ESC device and the motor 20 are integrally provided, or are detachably connected, and one ESC device can be connected One or more motors 20 .
  • the driving circuit 10 is connected to the motor 20 and can provide a driving signal to the motor 20 to drive the motor 20 to rotate.
  • the motor can be connected to the propeller of the unmanned aerial vehicle, the hub of the unmanned vehicle, the friction wheel of the launching device of the unmanned vehicle, the rotating shaft of the gimbal, etc., of course, it is not limited thereto.
  • the drive circuit 10 includes three half-bridge drivers, each of which includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, and the second power tube is used to connect all the power tubes. the negative pole of the power supply.
  • one or more processors 801 work individually or collectively to execute the steps of the aforementioned motor detection method.
  • powerplant 800 also includes memory 802 .
  • the processor 801 and the memory 802 are connected through a bus 803, and the bus 803 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 801 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 802 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a removable hard disk, or the like.
  • ROM Read-Only Memory
  • the memory 802 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a removable hard disk, or the like.
  • the processor 801 is configured to run a computer program stored in the memory 802, and implement the aforementioned motor detection method when the computer program is executed.
  • the processor 801 is configured to run a computer program stored in the memory 802, and implement the following steps when executing the computer program:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • FIG. 10 is a schematic block diagram of a movable platform 900 provided by an embodiment of the present application.
  • the movable platform 900 may include at least one of an unmanned aerial vehicle, a gimbal, an unmanned vehicle, and the like.
  • the unmanned aerial vehicle may be a rotary-wing drone, such as a quad-rotor drone, a hexa-rotor drone, an octa-rotor drone, or a fixed-wing drone.
  • the movable platform 900 includes a motor 20 , a driving circuit 10 , and one or more processors 901 .
  • the driving circuit 10 and the one or more processors 901 can be the driving circuit and the processor in the ESC device.
  • the ESC device and the motor 20 are integrally provided or detachably connected, and one ESC device can be connected to One or more motors 20 .
  • the processor 901 may also be a flight control system of an unmanned aerial vehicle, that is, a processor in a flight control.
  • the driving circuit 10 is connected to the motor 20 and can provide a driving signal to the motor 20 to drive the motor 20 to rotate.
  • the drive circuit 10 includes three half-bridge drivers, each of which includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, and the second power tube is used to connect all the power tubes. the negative pole of the power supply.
  • one or more processors 901 work individually or collectively to execute the steps of the aforementioned motor detection method.
  • removable platform 900 also includes memory 902 .
  • the processor 901 and the memory 902 are connected through a bus 903, and the bus 903 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 901 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 902 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • ROM Read-Only Memory
  • the memory 902 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • the processor 901 is configured to run a computer program stored in the memory 902, and implement the aforementioned motor detection method when the computer program is executed.
  • the processor 901 is configured to run a computer program stored in the memory 902, and implement the following steps when executing the computer program:
  • the fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor enables the processor to implement the motor detection method provided by the foregoing embodiments A step of.
  • the computer-readable storage medium may be the control device described in any of the foregoing embodiments, such as an internal storage unit of an ESC device, such as a hard disk or a memory of the control device.
  • the computer-readable storage medium may also be an external storage device of the control device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) equipped on the control device ) card, Flash Card, etc.
  • the computer-readable storage medium may be an internal storage unit or an external storage device of the aforementioned power plant or removable platform.

Abstract

Provided is a method for testing an electric motor, comprising: according to a preset control logic, controlling a switching state of first and second power tubes driven by three half-bridges (S110); obtaining the bus current outputted from a power supply to a drive circuit (S120); according to the bus current and a current threshold corresponding to a preset control logic, determining the fault status of the motor and/or drive circuit (S130). The present application enables the use of fewer resources to test an electric motor. The present application also provides a control device, an electronic speed control apparatus, a power apparatus, and a movable platform.

Description

电机的检测方法、控制、电调、动力装置和可移动平台Detection method, control, ESC, power device and movable platform of motor 技术领域technical field
本申请涉及电机技术领域,尤其涉及一种电机的检测方法、控制装置、电调装置、动力装置和可移动平台。The present application relates to the technical field of motors, and in particular, to a detection method, a control device, an ESC device, a power device, and a movable platform for a motor.
背景技术Background technique
在电机控制领域,经常需要对电机、功率管以及功率管驱动电路进行检测,防止一些设备如无人飞行器在执行任务时因电机、功率管或功率管驱动电路故障造成的损失和危险。In the field of motor control, it is often necessary to test the motor, power tube and power tube drive circuit to prevent losses and dangers caused by the failure of the motor, power tube or power tube drive circuit when some equipment such as unmanned aerial vehicles perform tasks.
通常根据对电机各相的电压和/或电流进行检测,确定电机等是否存在故障,需要检测较多的电压和/或电流,占用较多的硬件资源。Usually, whether there is a fault in the motor is determined by detecting the voltage and/or current of each phase of the motor, which requires more voltage and/or current to be detected, which occupies more hardware resources.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种电机的检测方法、控制装置、电调装置、动力装置和可移动平台,能够以较少的资源实现对电机的检测。The present application provides a motor detection method, a control device, an ESC device, a power device and a movable platform, which can realize motor detection with less resources.
第一方面,本申请实施例提供了一种电机的检测方法,所述电机连接驱动电路,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;In a first aspect, an embodiment of the present application provides a method for detecting a motor. The motor is connected to a drive circuit, and the drive circuit includes three half-bridge drivers, each of which includes a first power transistor and a second half-bridge driver. a power tube, and the first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for connecting the negative pole of the power supply;
所述检测方法包括:The detection method includes:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
第二方面,本申请实施例提供了一种电机的控制装置,所述电机连接驱动电路,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;In a second aspect, an embodiment of the present application provides a control device for a motor, the motor is connected to a drive circuit, the drive circuit includes three half-bridge drivers, and each of the half-bridge drivers includes a first power transistor and a second a power tube, and the first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for connecting the negative pole of the power supply;
所述控制装置包括:The control device includes:
一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
第三方面,本申请实施例提供了一种电调装置,包括:In a third aspect, an embodiment of the present application provides an ESC device, including:
驱动电路,能够连接电机,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;A drive circuit can be connected to a motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, so The second power tube is used to connect the negative pole of the power supply;
一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
第四方面,本申请实施例提供了一种动力装置,包括:In a fourth aspect, an embodiment of the present application provides a power device, including:
电机;motor;
驱动电路,连接所述电机,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;a drive circuit, connected to the motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, the second power tube is used for connecting the negative pole of the power supply;
一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
第五方面,本申请实施例提供了一种可移动平台,包括:In a fifth aspect, an embodiment of the present application provides a movable platform, including:
电机;motor;
驱动电路,连接所述电机,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;a drive circuit, connected to the motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, the second power tube is used for connecting the negative pole of the power supply;
一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
第六方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现上述的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the foregoing method.
本申请实施例提供了一种电机的检测方法、控制装置、电调装置、动力装置和可移动平台,通过根据预设控制逻辑控制所述三个半桥驱动的第一功率管和第二功率管的开关状态,以及获取所述电源向所述驱动电路输出的母线电流,从而可以根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态,可以节省处理器的资源,如处理器的引脚和采样电压和/或电流的资源。The embodiments of the present application provide a motor detection method, a control device, an ESC device, a power device, and a movable platform, by controlling the first power tube and the second power tube driven by the three half-bridges according to a preset control logic The switch state of the tube, and the bus current output by the power supply to the drive circuit, so that the motor and/or the drive circuit can be determined according to the bus current and the current threshold corresponding to the preset control logic. The fault state can save processor resources, such as processor pins and resources for sampling voltage and/or current.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请实施例的公开内容。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the disclosure of the embodiments of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可 以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1是本申请实施例提供的一种电机的检测方法的流程示意图;1 is a schematic flowchart of a method for detecting a motor provided by an embodiment of the present application;
图2是电机连接驱动电路的电路示意图;Fig. 2 is the circuit schematic diagram of the motor connection drive circuit;
图3是对电机自检的第一电路示意图;Fig. 3 is the first circuit schematic diagram of the motor self-test;
图4是对电机自检的第二电路示意图;Fig. 4 is the second circuit schematic diagram of the motor self-test;
图5是本申请一实施方式的检测方法对电机自检的电路示意图;FIG. 5 is a schematic circuit diagram of a motor self-checking by a detection method according to an embodiment of the present application;
图6是本申请另一实施方式的检测方法对电机自检的电路示意图;FIG. 6 is a schematic circuit diagram of the self-test of the motor by the detection method according to another embodiment of the present application;
图7是本申请实施例提供的一种电机的控制装置的示意性框图;7 is a schematic block diagram of a control device for a motor provided by an embodiment of the present application;
图8是本申请实施例提供的一种电调装置的示意性框图;FIG. 8 is a schematic block diagram of an ESC device provided by an embodiment of the present application;
图9是本申请实施例提供的一种动力装置的示意性框图;9 is a schematic block diagram of a power plant provided by an embodiment of the present application;
图10是本申请实施例提供的一种可移动平台的示意性框图。FIG. 10 is a schematic block diagram of a movable platform provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
请参阅图1,图1是本申请实施例提供的一种电机的检测方法的流程示意图。所述检测方法可以应用在电机的控制装置,如电子调速器(Electronic Speed Control,ESC,又可称为电调)中,用于对电机和电机的驱动装置进行检测等过程;其中电机可以包括永磁同步电机(PMSM)、无刷直流电机(BLDC),或者包括内转子电机或外转子电机,或者包括有刷电机、无刷电机等。在一些实施方式中,所述检测方法可以应用在可移动平台中,示例性的,可移动平台可以包括无人飞行器、云台、无人车等中的至少一种。进一步而言,无人飞行 器可以为旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机。Please refer to FIG. 1 , which is a schematic flowchart of a method for detecting a motor provided by an embodiment of the present application. The detection method can be applied to a control device of a motor, such as an electronic speed controller (Electronic Speed Control, ESC, also known as an ESC), to detect the motor and the driving device of the motor, etc.; Including permanent magnet synchronous motor (PMSM), brushless DC motor (BLDC), or including inner rotor motor or outer rotor motor, or including brush motor, brushless motor, etc. In some embodiments, the detection method may be applied to a movable platform. Exemplarily, the movable platform may include at least one of an unmanned aerial vehicle, a pan/tilt, and an unmanned vehicle. Further, the unmanned aerial vehicle can be a rotary-wing drone, such as a quad-rotor drone, a six-rotor drone, an eight-rotor drone, or a fixed-wing drone.
示例性的,电调用于驱动多旋翼无人机上的无刷直流电机的驱动器,电调的输出端可以包括3根相线,电调可以通过调整输出端各相线的电压(频率、相位等),来控制其相连的电机的转速和/或旋转方向。Exemplarily, the ESC is used to drive the driver of the brushless DC motor on the multi-rotor drone. The output end of the ESC may include three phase wires, and the ESC can adjust the voltage (frequency, phase, etc.) of each phase wire at the output end. ) to control the speed and/or direction of rotation of the motor to which it is connected.
示例性的,无人飞行器的飞行控制系统,即飞控是指能够稳定无人飞行器的飞行姿态,并能控制无人飞行器自主或半自主飞行的控制系统,是无人飞行器的大脑。其通常可以通过无人飞行器搭载的各种传感器(例如,陀螺仪、加速度计、地磁感应、气压传感器、GPS模块等)来确定无人飞行器的当前飞行状态,并针对所要实现的飞行状态,通过电子调速器和相应的电机对无人飞行器的各个旋翼进行操控。Exemplarily, the flight control system of the unmanned aerial vehicle, namely the flight control, refers to a control system capable of stabilizing the flight attitude of the unmanned aerial vehicle and capable of controlling the autonomous or semi-autonomous flight of the unmanned aerial vehicle, and is the brain of the unmanned aerial vehicle. It can usually determine the current flight state of the UAV through various sensors (for example, gyroscopes, accelerometers, geomagnetic induction, air pressure sensors, GPS modules, etc.) The electronic governor and the corresponding motor control each rotor of the unmanned aerial vehicle.
如图2所示,电机连接驱动电路,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极。可以理解的,所述驱动电路可以包括三相全桥驱动电路,所述第一功率管可称为高边功率管(也称为上侧功率管),所述第二功率管可称为低边功率管(也称为下侧功率管)。As shown in FIG. 2 , the motor is connected to a drive circuit, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power transistor and a second power transistor, and the first power transistor is used to connect the power supply The positive pole of the power supply, the second power tube is used to connect the negative pole of the power supply. It can be understood that the drive circuit may include a three-phase full-bridge drive circuit, the first power tube may be referred to as a high-side power tube (also referred to as an upper-side power tube), and the second power tube may be referred to as a low-side power tube. Side power tubes (also called lower power tubes).
如图2至图6所示,第一个半桥驱动包括第一功率管Q1和第二功率管Q4,第二个半桥驱动包括第一功率管Q2和第二功率管Q5,第三个半桥驱动包括第一功率管Q3和第二功率管Q6。As shown in FIG. 2 to FIG. 6 , the first half-bridge driver includes a first power tube Q1 and a second power tube Q4, the second half-bridge driver includes a first power tube Q2 and a second power tube Q5, and the third half-bridge driver includes a first power tube Q2 and a second power tube Q5. The half-bridge driver includes a first power transistor Q3 and a second power transistor Q6.
三个半桥驱动的第一功率管和第二功率管的连接处用于连接电机。如图2所示,电机以星形接法连接所述驱动电路。在其他实施方式中,电机可以以星三角形接法连接所述驱动电路。The connection between the first power tube and the second power tube driven by the three half-bridges is used to connect the motor. As shown in Figure 2, the motor is connected to the drive circuit in a star connection. In other embodiments, the motor may be connected to the drive circuit in a star-delta connection.
在一些实施方式中,可以对电机和连接电机的驱动电路进行检测,例如电调可以在上电时对电机和连接电机的驱动电路进行检测,防止电机运行时故障扩大,甚至引起安全危险。In some embodiments, the motor and the drive circuit connected to the motor can be detected, for example, the ESC can detect the motor and the drive circuit connected to the motor when powered on, to prevent faults from expanding during motor operation and even cause safety hazards.
如图3所示为目前一实施方式中,通过电机矢量控制(Filed Oriented Control,FOC)方法对电机进行控制时进行自检的示意图。如图3所示,各半桥驱动和电机的回路上连接采样电阻R,处理器可以通过采样电阻R检测各半桥驱动的电流,该电流可称为相电流。例如,处理器可以通过自身或外部的模拟数字转换器(ADC)电阻两端的电压信号,然后该电压信号除以该电阻的阻值 可以得到通过该电阻的电流。处理器至少需要进行三路电流采样,才可以得到自检结果。FIG. 3 is a schematic diagram of self-checking when a motor is controlled by a motor vector control (Fielded Oriented Control, FOC) method in a current embodiment. As shown in FIG. 3 , a sampling resistor R is connected to the loop of each half-bridge driver and the motor, and the processor can detect the current driven by each half-bridge through the sampling resistor R, which can be called a phase current. For example, the processor can pass a voltage signal across its own or an external analog-to-digital converter (ADC) resistor, and then divide the voltage signal by the resistance of the resistor to obtain the current through the resistor. The processor needs at least three current samples to get the self-test result.
如图4所示为目前另一实施方式中,对电机进行控制时进行自检的示意图。如图4所示,各半桥驱动的第一功率管和第二功率管的连接处通过电压采样电路Rx连接处理器,处理器可以通过电压采样电路Rx检测对应位置的电压,该电压可称为相电压;各半桥驱动的第二功率管通过一电阻Rb接地,处理器可以通过该电阻Rb检测电源向所述驱动电路输出的电流,该电流可以称为母线电流。理器至少需要进行三路电压采样和一路电流采样,才可以得到自检结果。FIG. 4 is a schematic diagram of performing self-checking when controlling a motor in another embodiment of the present invention. As shown in Figure 4, the connection between the first power tube and the second power tube driven by each half-bridge is connected to the processor through the voltage sampling circuit Rx, and the processor can detect the voltage at the corresponding position through the voltage sampling circuit Rx, and the voltage can be called is the phase voltage; the second power tube driven by each half-bridge is grounded through a resistor Rb, and the processor can detect the current output by the power supply to the driving circuit through the resistor Rb, and the current can be called the bus current. The processor needs at least three voltage samples and one current sample to get the self-test results.
本申请的发明人发现,目前的电机自检方式需要占用处理器的较多资源,如处理器的引脚和采样电压和/或电流的资源。针对该发现,本申请的发明人对电机的自检方法进行了改进,以节省处理器的资源,如处理器的引脚和采样电压和/或电流的资源。The inventors of the present application have found that the current motor self-checking method needs to occupy more resources of the processor, such as the pins of the processor and the resources of sampling voltage and/or current. In response to this discovery, the inventors of the present application have improved the motor self-test method to save processor resources, such as processor pins and resources for sampling voltage and/or current.
如图1所示,本申请实施例的电机的检测方法包括步骤S110至步骤S130。As shown in FIG. 1 , the method for detecting a motor according to the embodiment of the present application includes steps S110 to S130 .
S110、根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态。S110. Control the switching states of the first power transistors and the second power transistors driven by the three half-bridges according to preset control logic.
可以理解的,第一功率管、第二功率管例如包括MOS管,第一功率管、第二功率管的开关状态包括导通或关断。It can be understood that the first power transistor and the second power transistor include, for example, MOS transistors, and the switching states of the first power transistor and the second power transistor include on or off.
示例性的,可以分别控制所述三个半桥驱动的第一功率管和第二功率管的开关状态。如图5所示,处理器能够输出六路控制信号PWM1至PWM6,六路控制信号PWM1至PWM6用于一一对应控制六个控制功率管Q1至Q6。Exemplarily, the switching states of the first power transistors and the second power transistors driven by the three half-bridges may be controlled respectively. As shown in FIG. 5 , the processor can output six control signals PWM1 to PWM6, and the six control signals PWM1 to PWM6 are used to control the six control power tubes Q1 to Q6 in one-to-one correspondence.
在一些实施方式中,如图5和图6所示,处理器和驱动电路之间连接功率管驱动电路(可称为Driver),功率管驱动电路例如包括功率管驱动器芯片。功率管驱动电路可以理解为一种功率放大器,可以根据处理器产生的小功率信号输出用于驱动功率管的驱动信号。In some embodiments, as shown in FIG. 5 and FIG. 6 , a power tube driver circuit (which may be referred to as a Driver) is connected between the processor and the driver circuit, and the power tube driver circuit includes, for example, a power tube driver chip. The power tube driving circuit can be understood as a kind of power amplifier, which can output the driving signal for driving the power tube according to the low-power signal generated by the processor.
在一些实施方式中,处理器也可以向功率管驱动电路输出特定的控制指令,以控制功率管驱动电路输出六路驱动信号,例如处理器可以和功率管驱动电路进行握手建立通信连接,通过通信连接向功率管驱动电路输出特定的控制指令。In some embodiments, the processor may also output specific control instructions to the power tube drive circuit to control the power tube drive circuit to output six drive signals. For example, the processor may shake hands with the power tube drive circuit to establish a communication connection, and through the communication connection Output specific control commands to the power tube drive circuit.
在一些实施方式中,处理器的一路控制信号可以控制一个半桥驱动的第一 功率管和第二功率管。示例性的,功率管驱动电路根据一路控制信号PWM1可以输出两路用于驱动功率管的驱动信号。In some embodiments, one control signal of the processor can control the first power transistor and the second power transistor driven by one half-bridge. Exemplarily, the power tube driving circuit may output two driving signals for driving the power tube according to one control signal PWM1.
示例性的,控制各所述半桥驱动时,控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。如图6所示,处理器能够输出三路控制信号PWM1至PWM3,三路控制信号PWM1至PWM3用于各自控制一个半桥驱动,具体的控制各半桥驱动中的第一功率管和第二功率管。例如控制信号PWM1用于控制第一个半桥驱动中的两个功率管,控制信号PWM2用于控制第二个半桥驱动中的两个功率管,控制信号PWM3用于控制第三个半桥驱动中的两个功率管。因此,通过三个引脚输出的三路控制信号就可以控制六个功率管,可以节省处理器的资源,例如可以节省三个引脚。Exemplarily, when controlling the driving of each of the half bridges, one of the first power transistor and the second power transistor driven by the half bridge is controlled to be turned on, and the other is turned off. As shown in FIG. 6 , the processor can output three control signals PWM1 to PWM3, and the three control signals PWM1 to PWM3 are used to control one half-bridge driver respectively, and specifically control the first power tube and the second power tube in each half-bridge driver. power tube. For example, the control signal PWM1 is used to control the two power tubes in the first half-bridge driver, the control signal PWM2 is used to control the two power tubes in the second half-bridge driver, and the control signal PWM3 is used to control the third half-bridge Two power tubes in the driver. Therefore, six power tubes can be controlled by three control signals output by three pins, which can save the resources of the processor, for example, three pins can be saved.
示例性的,控制信号PWM1至PWM3可以控制功率管驱动电路发出三对互补的驱动信号,各对互补的驱动信号均包括两路驱动信号,所述两路驱动信号用于控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。Exemplarily, the control signals PWM1 to PWM3 can control the power tube driving circuit to send out three pairs of complementary driving signals, and each pair of complementary driving signals includes two driving signals, and the two driving signals are used to control the driving of the half-bridge. One of the first power tube and the second power tube is turned on, and the other is turned off.
示例性的,如图6所示,处理器通过三路控制信号PWM1至PWM3,控制所述功率管驱动电路发出三对互补的驱动信号,可以节省对处理器资源的占用。Exemplarily, as shown in FIG. 6 , the processor controls the power tube driving circuit to send out three pairs of complementary driving signals through three control signals PWM1 to PWM3, which can save the occupation of processor resources.
可以理解的,两路互补的驱动信号中的一路为高电平时,另一路为低电平,从而可以控制对应的半桥驱动的两个功率管一个导通,另一个关断。It can be understood that when one of the two complementary driving signals is at a high level, the other is at a low level, so that one of the two power transistors driven by the corresponding half-bridge can be controlled to be turned on and the other to be turned off.
在一些实施方式中,所述检测方法还包括:使能所述功率管驱动电路,以使所述功率管驱动电路能够发出所述驱动信号。In some embodiments, the detection method further includes: enabling the power tube driving circuit, so that the power tube driving circuit can send the driving signal.
如图5和图6所示,功率管驱动电路包括使能端,处理器可以通过向功率管驱动电路的使能端输出使能信号En使能所述功率管驱动电路,以使所述功率管驱动电路能够发出所述驱动信号。具体的,处理器输出使能信号En时,功率管驱动电路能够根据处理器输出的控制信号发出所述驱动信号;处理器未输出使能信号En时,不论处理器是否输出控制信号,功率管驱动电路均不发出所述驱动信号。As shown in FIG. 5 and FIG. 6 , the power tube drive circuit includes an enable terminal, and the processor can enable the power tube drive circuit by outputting an enable signal En to the enable terminal of the power tube drive circuit, so that the power A tube drive circuit can issue the drive signal. Specifically, when the processor outputs the enable signal En, the power transistor drive circuit can send the drive signal according to the control signal output by the processor; when the processor does not output the enable signal En, regardless of whether the processor outputs the control signal, the power transistor None of the drive circuits issue the drive signal.
示例性的,如图3和图4所示,功率管驱动电路包括报错端,用于输出报错信号Fault,处理器可以根据报错信号Fault确定功率管驱动电路存在故障。Exemplarily, as shown in FIG. 3 and FIG. 4 , the power tube driving circuit includes an error reporting terminal for outputting an error reporting signal Fault, and the processor may determine that the power tube driving circuit is faulty according to the fault reporting signal Fault.
在一些实施方式中,所述控制所述三个半桥驱动的第一功率管和第二功率管的开关状态,包括:通过设定所述功率管驱动电路发出的驱动信号的占空比,控制所述第一功率管和第二功率管的开关状态。In some embodiments, the controlling the switching states of the first power transistors and the second power transistors driven by the three half-bridges includes: by setting the duty ratio of the driving signal sent by the power transistor driving circuit, The switching states of the first power transistor and the second power transistor are controlled.
示例性的,用于驱动某功率管的驱动信号的占空比为0%时,该功率管处于关断的状态;用于驱动某功率管的驱动信号的占空比为100%时,该功率管处于导通的状态。Exemplarily, when the duty cycle of the driving signal for driving a certain power tube is 0%, the power tube is in an off state; when the duty ratio of the driving signal for driving a certain power tube is 100%, the power tube is in an off state. The power tube is in a conducting state.
示例性的,处理器输出一路占空比为0%的控制信号PWM时,所述功率管驱动电路发出两路对应的驱动信号,且其中一路驱动信号的占空比为0%,另一路驱动信号的占空比为100%。处理器输出一路占空比为100%的控制信号PWM时,所述功率管驱动电路发出两路对应的驱动信号,且其中一路驱动信号的占空比为100%,另一路驱动信号的占空比为0%。Exemplarily, when the processor outputs a control signal PWM with a duty cycle of 0%, the power tube drive circuit sends out two corresponding drive signals, and one of the drive signals has a duty cycle of 0%, and the other drive The duty cycle of the signal is 100%. When the processor outputs a control signal PWM with a duty ratio of 100%, the power tube driving circuit sends out two corresponding driving signals, and the duty ratio of one of the driving signals is 100%, and the duty ratio of the other driving signal is 100%. ratio is 0%.
在一些实施方式中,所述控制所述三个半桥驱动的第一功率管和第二功率管的开关状态,包括:通过设定所述功率管驱动电路发出的驱动信号的高电平时长,和/或使能所述功率管驱动电路的时长,设定所述第一功率管或所述第二功率管导通的时长。In some embodiments, the controlling the switching states of the first power transistors and the second power transistors driven by the three half-bridges includes: setting a high-level duration of the driving signal sent by the power transistor driving circuit , and/or enable the duration of the power tube drive circuit, and set the duration of the conduction of the first power tube or the second power tube.
示例性的,使能功率管驱动电路时,处理器可以控制功率管驱动电路发出至少一路特定时长的高电平信号,则该路高电平信号可以控制对应的功率管导通所述预设时长。Exemplarily, when the power tube drive circuit is enabled, the processor can control the power tube drive circuit to send out at least one high-level signal of a specific duration, and then the high-level signal can control the corresponding power tube to conduct the preset. duration.
示例性的,处理器可以发出用于控制功率管驱动电路发出高电平信号的控制信号,如占空比为100%或0%的控制信号,通过使能所述功率管驱动电路特定时长时,可以使功率管驱动电路发出特定时长的高电平,以控制对应的功率管导通所述预设时长。Exemplarily, the processor may issue a control signal for controlling the power tube driving circuit to issue a high-level signal, such as a control signal with a duty cycle of 100% or 0%, by enabling the power tube driving circuit for a certain period of time. , the power tube driving circuit can be made to issue a high level for a specific duration, so as to control the corresponding power tube to be turned on for the preset duration.
S120、获取所述电源向所述驱动电路输出的母线电流。S120. Obtain the bus current output by the power supply to the driving circuit.
示例性的,如图5和图6所示,可以通过采样电阻Rb获取所述电源向所述驱动电路输出的母线电流。如图5所示,所述采样电阻Rb可以连接于所述驱动电路和所述电源的负极之间;如图6所示,所述采样电阻Rb可以连接于所述驱动电路和所述电源的正极之间。当然也不限于此方式获取所述母线电流,例如,电源能够检测向所述驱动电路输出的电流,处理器可以从电源获取所述电流作为所述母线电流。Exemplarily, as shown in FIG. 5 and FIG. 6 , the bus current output by the power supply to the driving circuit can be obtained through the sampling resistor Rb. As shown in FIG. 5 , the sampling resistor Rb can be connected between the driving circuit and the negative pole of the power supply; as shown in FIG. 6 , the sampling resistor Rb can be connected between the driving circuit and the power supply between the positive poles. Of course, it is not limited to this method to obtain the bus current. For example, the power supply can detect the current output to the driving circuit, and the processor can obtain the current from the power supply as the bus current.
S130、根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。S130. Determine a fault state of the motor and/or the drive circuit according to the bus current and the current threshold corresponding to the preset control logic.
具体的,所述电机和/或所述驱动电路处于故障状态时,可以检测到母线电流为异常的值,因此,根据母线电流可以确定所述电机和/或所述驱动电路的故 障状态。Specifically, when the motor and/or the drive circuit are in a fault state, it can be detected that the bus current is an abnormal value. Therefore, the fault state of the motor and/or the drive circuit can be determined according to the bus current.
在所述三个半桥驱动的第一功率管和第二功率管具有特定的开关状态时,所述电机和/或所述驱动电路处于不同的故障状态时,可以检测到母线电流为对应所述开关状态的异常的值。因此,可以根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。When the first power transistor and the second power transistor driven by the three half-bridges have specific switching states, and the motor and/or the driving circuit are in different fault states, it can be detected that the bus current is the corresponding The abnormal value of the state of the switch. Therefore, the fault state of the motor and/or the driving circuit can be determined according to the bus current and the current threshold corresponding to the preset control logic.
在一些实施方式中,所述电机和/或所述驱动电路的故障状态,包括:短路和/或回路未能连通。In some embodiments, the fault state of the motor and/or the drive circuit includes: short circuit and/or failure of the circuit to connect.
示例性的,在电调上电时,可以检测6个功率管是否短路或断路、三相永磁同步电机是否存在相间短路、三相永磁同步电机是否存在断相、功率管驱动电路是否正常。Exemplarily, when the ESC is powered on, it can be detected whether the six power tubes are short-circuited or open-circuited, whether the three-phase permanent magnet synchronous motor is short-circuited between phases, whether the three-phase permanent-magnet synchronous motor is open-phase, and whether the power tube drive circuit is normal. .
示例性的,检测到的电流大于某一电流阈值时,可以确定电路短路;当检测到的电流小于另一电流阈值时,可以确定电路未能连通。可以理解的,用于确定短路故障状态的电流阈值大于用于确定回路未能连通故障状态的电流阈值。Exemplarily, when the detected current is greater than a certain current threshold, it may be determined that the circuit is short-circuited; when the detected current is less than another current threshold, it may be determined that the circuit is not connected. It can be understood that the current threshold used to determine the short circuit fault state is greater than the current threshold used to determine the loop failure state.
在一些实施方式中,电机和电机的控制装置,如电调可能存在的故障包括以下至少一种:其中一个或者多个功率管发生短路或断路、其中一个或者多个功率管的驱动电路发生断路、电机三相发生相间短路、电机三相发生断相、一个或者多个第一功率管的栅(G)极与地短路、一个或者多个第二功率管的栅(G)极与电源短路。其中,功率管发生短路包括功率管发生栅源(GS)极短路、者栅漏(GD)极短路,或者漏源(DS)极短路。In some embodiments, the possible faults of the motor and the control device of the motor, such as the ESC, include at least one of the following: one or more power tubes are short-circuited or open-circuited, and the drive circuit of one or more power tubes is open-circuited , Phase-to-phase short circuit occurs in three phases of the motor, phase failure occurs in three phases of the motor, the grid (G) poles of one or more first power tubes are short-circuited to the ground, and the grid (G) poles of one or more second power tubes are short-circuited to the power supply . Wherein, the short circuit of the power tube includes a gate-source (GS) pole short circuit, a gate-drain (GD) pole short circuit, or a drain-source (DS) pole short circuit of the power tube.
在一些实施方式中,控制所述三个半桥驱动的第二功率管导通第一预设时长,若所述母线电流大于或等于第一电流阈值,确定至少一个所述半桥驱动的第一功率管短路。In some embodiments, the second power transistors driven by the three half-bridges are controlled to be turned on for a first preset period of time, and if the bus current is greater than or equal to a first current threshold, the second power transistors driven by at least one of the half-bridges are determined to be turned on for a first preset time period. A power tube is short-circuited.
请参阅图5和图6,三个第二功率管Q4至Q6均导通时,如果有任一个第一功率管短路导通(非受控导通),则电源的正极通过短路的第一功率管和导通的第二功率管连接电源的负极,则母线电流较大,可以理解为短路电流,大于或等于第一电流阈值。为了防止短路电流的损害,可以控制所述三个半桥驱动的第二功率管导通较短的第一预设时长,如0.2至3微秒。Please refer to FIG. 5 and FIG. 6 , when the three second power tubes Q4 to Q6 are all turned on, if any one of the first power tubes is turned on in a short-circuit (uncontrolled turn-on), the positive pole of the power supply will pass through the short-circuited first power tube. If the power tube and the conductive second power tube are connected to the negative pole of the power supply, the busbar current is large, which can be understood as a short-circuit current, which is greater than or equal to the first current threshold. In order to prevent short-circuit current damage, the second power transistors driven by the three half-bridges may be controlled to be turned on for a short first preset time period, such as 0.2 to 3 microseconds.
示例性的,请参阅图6,处理器可以将功率管驱动电路的输出关闭,例如停止使能所述功率管驱动电路,然后输出占空比为0%的控制信号PWM1至PWM3,以及发出第一预设时长,如1微秒的使能信号使功率管驱动电路打开输出第一 预设时长,在所述第一预设时长内通过采样电阻Rb去采样母线电流。如果母线有大电流,则可以确定发生了高低边功率管直通,即电源的正极通过第一功率管和第二功率管连接电源的负极,而未经过电机。例如可以确定至少一个半桥驱动的第一功率管发生了DS极或GD极短路。可以结束自检和/或输出故障提示信息。Exemplarily, referring to FIG. 6 , the processor may turn off the output of the power tube driving circuit, for example, stop enabling the power tube driving circuit, then output the control signals PWM1 to PWM3 with a duty cycle of 0%, and issue the first control signal PWM1 to PWM3. A preset duration, such as 1 microsecond, enables the power tube drive circuit to turn on and output the first preset duration, and the bus current is sampled through the sampling resistor Rb within the first preset duration. If the busbar has a large current, it can be determined that the high- and low-side power tubes are connected directly, that is, the positive pole of the power supply is connected to the negative pole of the power supply through the first power tube and the second power tube, and does not pass through the motor. For example, it can be determined that at least one of the first power transistors driven by the half-bridge is short-circuited at the DS pole or the GD pole. Can end self-test and/or output fault message.
在一些实施方式中,控制所述三个半桥驱动的第二功率管导通第一预设时长,若所述母线电流小于第一电流阈值,可以执行后续的自检步骤,或者确定未发生故障,还可以开始执行预设任务,如调速、起飞等。In some embodiments, the second power transistors driven by the three half-bridges are controlled to be turned on for a first preset duration, and if the bus current is less than a first current threshold, a subsequent self-checking step may be performed, or it may be determined that no occurrence of If it fails, it can also start to perform preset tasks, such as speed regulation, takeoff, etc.
在一些实施方式中,控制其中一个半桥驱动的第一功率管导通第二预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流大于或等于第二电流阈值,确定所述其中一个半桥驱动的第一功率管对应的回路发生短路故障。In some embodiments, the first power transistor driven by one of the half bridges is controlled to be turned on for a second preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is greater than or equal to the second current The threshold value is used to determine that the circuit corresponding to the first power transistor driven by one of the half-bridges has a short-circuit fault.
示例性的,请参阅图5和图6,当第一个半桥驱动的第一功率管Q1导通,以及第二个、第三个半桥驱动的第二功率管Q5、Q6导通时,如果第一功率管Q1异常短路,则母线电流较大,可以理解为短路电流,大于或等于第二电流阈值。为了防止短路电流的损害,可以控制其中一个半桥驱动的第一功率管导通较短的第二预设时长,如0.2至3微秒。For example, please refer to FIG. 5 and FIG. 6 , when the first power transistor Q1 driven by the first half-bridge is turned on, and the second power transistors Q5 and Q6 driven by the second and third half-bridges are turned on. , if the first power tube Q1 is abnormally short-circuited, the busbar current is relatively large, which can be understood as a short-circuit current, which is greater than or equal to the second current threshold. In order to prevent short-circuit current damage, the first power transistor driven by one of the half-bridges may be controlled to be turned on for a shorter second preset time period, such as 0.2 to 3 microseconds.
示例性的,控制其中一个半桥驱动的第一功率管导通第二预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流大于或等于第二电流阈值,则可以确定导通的第一功率管对应的第二功率管短路、所述第二功率管与所述电源短路,和/或所述电机相间短路。Exemplarily, the first power transistor driven by one half-bridge is controlled to be turned on for a second preset duration and the second power transistors driven by the remaining two half-bridges are controlled to be turned on, if the bus current is greater than or equal to the second current threshold, Then, it can be determined that the second power tube corresponding to the first power tube that is turned on is short-circuited, the second power tube is short-circuited with the power supply, and/or the motor is short-circuited between phases.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM1的引脚发出第二预设时长,如1微秒的高电平脉冲,设定控制信号PWM2、PWM3的占空比为0%,从而能够控制第一功率管Q1导通1微秒,第二功率管Q4关断,以及控制第一功率管Q2、Q3关断,第二功率管Q5、Q6导通。在所述第二预设时长内通过采样电阻Rb去采样母线电流。如果母线有大电流,则可以确定发生了高低边功率管直通,例如第二功率管Q4发生了DS极短路或G极与电源短路而非受控导通,或是电机发生了相间短路。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube driving circuit through the enable signal, and then uses the pin for outputting the control signal PWM1 to send out a second preset duration, such as a high-level pulse of 1 microsecond, to set the control. The duty cycle of the signals PWM2 and PWM3 is 0%, so that the first power tube Q1 can be controlled to be turned on for 1 microsecond, the second power tube Q4 can be turned off, and the first power tube Q2 and Q3 can be controlled to be turned off, and the second power tube can be turned off. Q5 and Q6 are turned on. The bus current is sampled through the sampling resistor Rb within the second preset time period. If the bus has a large current, it can be determined that the high- and low-side power tubes are connected directly, for example, the second power tube Q4 is short-circuited at the DS pole or the G pole is short-circuited with the power supply instead of controlled conduction, or the motor is short-circuited between phases. Can end self-test and/or output fault message.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM2的引脚发出第二预设时长,如1微秒的高电平脉冲,设 定控制信号PWM1、PWM3的占空比为0%,从而能够控制第一功率管Q2导通1微秒,第二功率管Q5关断,以及控制第一功率管Q1、Q3关断,第二功率管Q4、Q6导通。在所述第二预设时长内通过采样电阻Rb去采样母线电流。如果母线有大电流,则可以确定发生了高低边功率管直通,例如第二功率管Q5发生了DS极短路或G极与电源短路而非受控导通,或是电机发生了相间短路。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin for outputting the control signal PWM2 to issue a second preset duration, such as a high-level pulse of 1 microsecond, to set the control. The duty cycle of the signals PWM1 and PWM3 is 0%, so that the first power transistor Q2 can be controlled to be turned on for 1 microsecond, the second power transistor Q5 can be turned off, and the first power transistors Q1 and Q3 can be controlled to be turned off, and the second power transistor can be controlled to turn off. Q4 and Q6 are turned on. The bus current is sampled through the sampling resistor Rb within the second preset time period. If the bus has a large current, it can be determined that the high- and low-side power tubes are connected directly, for example, the second power tube Q5 is short-circuited at the DS pole or the G pole is short-circuited with the power supply instead of controlled conduction, or the motor is short-circuited between phases. Can end self-test and/or output fault message.
处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM3的引脚发出第二预设时长,如1微秒的高电平脉冲,设定控制信号PWM1、PWM2的占空比为0%,从而能够控制第一功率管Q3导通1微秒,第二功率管Q6关断,以及控制第一功率管Q1、Q2关断,第二功率管Q4、Q5导通。在所述第二预设时长内通过采样电阻Rb去采样母线电流。如果母线有大电流,则可以确定发生了高低边功率管直通,例如第二功率管Q6发生了DS极短路或G极与电源短路而非受控导通,或是电机发生了相间短路。可以结束自检和/或输出故障提示信息。The processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin used to output the control signal PWM3 to send out a second preset duration, such as a high-level pulse of 1 microsecond, to set the control signals PWM1, PWM2 The duty cycle is 0%, so that the first power tube Q3 can be controlled to be turned on for 1 microsecond, the second power tube Q6 can be turned off, and the first power tubes Q1 and Q2 can be controlled to be turned off, and the second power tubes Q4 and Q5 can be turned on. Pass. The bus current is sampled through the sampling resistor Rb within the second preset time period. If there is a large current in the bus, it can be determined that the high-side and low-side power tubes are connected directly. For example, the second power tube Q6 is short-circuited at the DS pole or the G pole is short-circuited with the power supply instead of controlled conduction, or the motor is short-circuited between phases. Can end self-test and/or output fault message.
在一些实施方式中,控制其中一个半桥驱动的第一功率管导通第二预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流小于第二电流阈值,则可以执行后续的自检步骤,或者确定未发生故障,还可以开始执行预设任务。In some embodiments, the first power transistor driven by one of the half bridges is controlled to be turned on for a second preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is less than the second current threshold, The subsequent self-test steps can then be performed, or it can be determined that no fault has occurred, and a preset task can be started.
在一些实施方式中,控制其中一个半桥驱动的第一功率管导通第三预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流小于或等于第三电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。In some embodiments, the first power transistor driven by one of the half bridges is controlled to be turned on for a third preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is less than or equal to the third current Threshold value, it is determined that the circuit of the motor and/or the drive circuit fails to connect.
示例性的,请参阅图5和图6,当第一个半桥驱动的第一功率管Q1导通,以及第二个、第三个半桥驱动的第二功率管Q5、Q6导通较长的第三预设时长时,如果电源的正极和电源的负极之间的回路未能连通,则母线电流较小或为0,具体小于或等于第三电流阈值,第三电流阈值小于前述的第一电流阈值、第二电流阈值,例如第三预设时长为3至10微秒。For example, please refer to FIG. 5 and FIG. 6 , when the first power transistor Q1 driven by the first half-bridge is turned on, and the second power transistors Q5 and Q6 driven by the second and third half-bridges are turned on relatively When the third preset time period is long, if the loop between the positive pole of the power supply and the negative pole of the power supply cannot be connected, the bus current is small or 0, specifically less than or equal to the third current threshold, and the third current threshold is less than the aforementioned The first current threshold, the second current threshold, for example, the third preset duration is 3 to 10 microseconds.
示例性的,在确定所述电机和所述驱动电路未发生短路故障时,控制其中一个半桥驱动的第一功率管导通第三预设时长和其余两个半桥驱动的第二功率管导通,防止较长时间短路造成损害。Exemplarily, when it is determined that the motor and the drive circuit do not have a short-circuit fault, the first power transistor driven by one of the half-bridges is controlled to be turned on for a third preset duration and the second power transistors driven by the remaining two half-bridges Conduction to prevent damage caused by long-term short-circuit.
示例性的,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:确定所述其中一个半桥驱动的第一功率管未受控导通、所述其余两个半桥驱动 的第二功率管未受控导通,和/或所述电机断相。Exemplarily, the determining that the circuit of the motor and/or the driving circuit is not connected includes: determining that the first power tube driven by one of the half-bridges is not controlled to be turned on, and the remaining two half-bridges are not connected. The second power tube driven by the bridge is not turned on in a controlled manner, and/or the motor is out of phase.
可以理解的,所述第一功率管未受控导通,包括:所述第一功率管的驱动电阻断路、所述第一功率管的栅极和源极断路,和/或所述第一功率管的栅极对地短路。如图6所示,第一功率管的驱动电阻包括电阻R1至电阻R3,可以提高功率管控制的准确性。驱动电阻可以在功率管驱动电路之外设置,也可以设置在功率管驱动电路内部。It can be understood that the uncontrolled conduction of the first power tube includes: the driving resistor of the first power tube is disconnected, the gate and source of the first power tube are disconnected, and/or the first power tube is disconnected. The grid of the power tube is shorted to ground. As shown in FIG. 6 , the driving resistors of the first power tube include resistors R1 to R3, which can improve the accuracy of power tube control. The driving resistor can be set outside the power tube driving circuit, or can be set inside the power tube driving circuit.
可以理解的,所述第二功率管未受控导通,包括:所述第二功率管的驱动电阻断路、所述第二功率管的栅极和源极断路,和/或所述第二功率管的栅极和漏极短路。It can be understood that the uncontrolled conduction of the second power tube includes: the driving resistor of the second power tube is disconnected, the gate and source of the second power tube are disconnected, and/or the second power tube is disconnected. The gate and drain of the power tube are shorted.
示例性的,所述电机断相,包括:所述电机与所述其中一个半桥驱动连接的一相断相,和/或所述电机与所述其余两个半桥驱动连接的两相均断相。Exemplarily, the phase failure of the motor includes: a phase failure of the motor and the driving connection of one of the half-bridges, and/or two-phase driving connections of the motor and the remaining two half-bridges. out of phase.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM1的引脚发出第三预设时长,如5微秒的高电平脉冲,设定控制信号PWM2、PWM3的占空比为0%,从而能够控制第一功率管Q1导通5微秒,第二功率管Q4关断,以及控制第一功率管Q2、Q3关断,第二功率管Q5、Q6导通。在所述第三预设时长内通过采样电阻Rb去采样母线电流。如果所述母线电流小于或等于第三电流阈值,可以确定所述电机和/或所述驱动电路的回路未能连通,例如可以确定第一功率管Q1发生驱动电阻断路、GS极短路或G极对地短路、确定第二功率管Q5、Q6发生驱动电阻断路、GS极短路或GD极短路,或者确定电机断相。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin for outputting the control signal PWM1 to send a third preset duration, such as a high-level pulse of 5 microseconds, to set the control. The duty cycle of the signals PWM2 and PWM3 is 0%, so that the first power transistor Q1 can be controlled to be turned on for 5 microseconds, the second power transistor Q4 can be turned off, and the first power transistors Q2 and Q3 can be controlled to be turned off, and the second power transistor can be controlled to turn off. Q5 and Q6 are turned on. The bus current is sampled through the sampling resistor Rb within the third preset time period. If the busbar current is less than or equal to the third current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistor Q1 has a driving resistance open circuit, a GS pole short circuit, or a G pole short circuit. Short-circuit to ground, determine that the second power transistors Q5 and Q6 have drive resistance open circuit, GS pole short circuit or GD pole short circuit, or determine that the motor phase is open. Can end self-test and/or output fault message.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM2的引脚发出第三预设时长,如5微秒的高电平脉冲,设定控制信号PWM1、PWM3的占空比为0%,从而能够控制第一功率管Q2导通5微秒,第二功率管Q5关断,以及控制第一功率管Q1、Q3关断,第二功率管Q4、Q6导通。在所述第三预设时长内通过采样电阻Rb去采样母线电流。如果所述母线电流小于或等于第三电流阈值,可以确定所述电机和/或所述驱动电路的回路未能连通,例如可以确定第一功率管Q2发生驱动电阻断路、GS极短路或G极对地短路、确定第二功率管Q4、Q6发生驱动电阻断路、GS极短路或GD极短路,或者确定电机断相。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube driving circuit through the enable signal, and then uses the pin for outputting the control signal PWM2 to issue a third preset duration, such as a high-level pulse of 5 microseconds, to set the control. The duty cycle of the signals PWM1 and PWM3 is 0%, so that the first power transistor Q2 can be controlled to be turned on for 5 microseconds, the second power transistor Q5 can be turned off, and the first power transistors Q1 and Q3 can be controlled to be turned off, and the second power transistor can be controlled to be turned off. Q4 and Q6 are turned on. The bus current is sampled through the sampling resistor Rb within the third preset time period. If the busbar current is less than or equal to the third current threshold, it can be determined that the motor and/or the loop of the drive circuit is not connected, for example, it can be determined that the first power transistor Q2 has a drive resistance open circuit, a GS pole short circuit, or a G pole short circuit. Short-circuit to ground, determine that the second power transistors Q4 and Q6 have drive resistance open circuit, GS pole short circuit or GD pole short circuit, or determine that the motor phase is open. Can end self-test and/or output fault message.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使 用于输出控制信号PWM3的引脚发出第三预设时长,如5微秒的高电平脉冲,设定控制信号PWM1、PWM2的占空比为0%,从而能够控制第一功率管Q3导通5微秒,第二功率管Q6关断,以及控制第一功率管Q1、Q2关断,第二功率管Q4、Q5导通。在所述第三预设时长内通过采样电阻Rb去采样母线电流。如果所述母线电流小于或等于第三电流阈值,可以确定所述电机和/或所述驱动电路的回路未能连通,例如可以确定第一功率管Q3发生驱动电阻断路、GS极短路或G极对地短路、确定第二功率管Q4、Q5发生驱动电阻断路、GS极短路或GD极短路,或者确定电机断相。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pin for outputting the control signal PWM3 to send a third preset duration, such as a high-level pulse of 5 microseconds, to set the control. The duty cycle of the signals PWM1 and PWM2 is 0%, so that the first power transistor Q3 can be controlled to be turned on for 5 microseconds, the second power transistor Q6 can be turned off, and the first power transistors Q1 and Q2 can be controlled to be turned off, and the second power transistor can be controlled to turn off. Q4 and Q5 are turned on. The bus current is sampled through the sampling resistor Rb within the third preset time period. If the busbar current is less than or equal to the third current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistor Q3 has a driving resistance open circuit, a GS pole short circuit, or a G pole short circuit. Short-circuit to ground, determine that the second power transistors Q4 and Q5 have drive resistance open circuit, GS pole short circuit or GD pole short circuit, or determine that the motor is out of phase. Can end self-test and/or output fault message.
在一些实施方式中,控制其中一个半桥驱动的第一功率管导通第三预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流大于第三电流阈值且小于第二电流阈值,则可以执行后续的自检步骤,或者确定未发生故障,还可以开始执行预设任务。In some embodiments, the first power transistor driven by one of the half bridges is controlled to be turned on for a third preset time period and the second power transistors driven by the remaining two half bridges are controlled to be turned on, if the bus current is greater than a third current threshold and If it is less than the second current threshold, subsequent self-checking steps can be performed, or it is determined that no fault has occurred, and the preset task can also be started.
在一些实施方式中,控制其中两个半桥驱动的第一功率管导通第四预设时长和其余一个半桥驱动的第二功率管导通,若所述母线电流小于或于第四电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。In some embodiments, the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset time period and the second power transistors driven by the remaining one half-bridge are controlled to be turned on, if the bus current is less than or less than the fourth current Threshold value, it is determined that the circuit of the motor and/or the drive circuit fails to connect.
示例性的,请参阅图5和图6,当第一个、第二个半桥驱动的第一功率管Q1、Q2导通,以及第三个半桥驱动的第二功率管Q6导通较长的第四预设时长时,如果电源的正极和电源的负极之间的回路未能连通,则母线电流较小或为0,具体小于或等于第四电流阈值,第三电流阈值小于前述的第一电流阈值、第二电流阈值,例如第四预设时长为3至10微秒。Exemplarily, please refer to FIG. 5 and FIG. 6 , when the first power transistors Q1 and Q2 driven by the first and second half bridges are turned on, and the second power transistor Q6 driven by the third half bridge is turned on, When the fourth preset duration is long, if the loop between the positive pole of the power supply and the negative pole of the power supply cannot be connected, the bus current is small or 0, specifically less than or equal to the fourth current threshold, and the third current threshold is less than the aforementioned The first current threshold, the second current threshold, for example, the fourth preset duration is 3 to 10 microseconds.
示例性的,在确定所述电机和所述驱动电路未发生短路故障时,控制其中两个半桥驱动的第一功率管导通第四预设时长和其余一个半桥驱动的第二功率管导通,防止较长时间短路造成损害。Exemplarily, when it is determined that the motor and the drive circuit do not have a short-circuit fault, the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset duration and the second power transistors driven by the remaining one half-bridge Conduction to prevent damage caused by long-term short-circuit.
示例性的,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:确定所述其中两个半桥驱动的第一功率管未受控导通、所述其余一个半桥驱动的第二功率管未受控导通,和/或所述电机断相。Exemplarily, the determining that the circuits of the motor and/or the driving circuit are not connected includes: determining that the first power transistors driven by the two half-bridges are not controlled to be turned on, and the remaining one half-bridge The second power tube driven by the bridge is not turned on in a controlled manner, and/or the motor is out of phase.
可以理解的,所述第一功率管未受控导通,包括:所述第一功率管的驱动电阻断路、所述第一功率管的栅极和源极断路,和/或所述第一功率管的栅极对地短路。所述第二功率管未受控导通,包括:所述第二功率管的驱动电阻断路、所述第二功率管的栅极和源极断路,和/或所述第二功率管的栅极和漏极短路。It can be understood that the uncontrolled conduction of the first power tube includes: the driving resistor of the first power tube is disconnected, the gate and source of the first power tube are disconnected, and/or the first power tube is disconnected. The grid of the power tube is shorted to ground. The uncontrolled conduction of the second power transistor includes: the drive resistor of the second power transistor is disconnected, the gate and source of the second power transistor are disconnected, and/or the gate of the second power transistor is disconnected The pole and drain are shorted.
示例性的,所述电机断相,包括:所述电机与所述其中两个半桥驱动连接的两相均断相,和/或所述电机与所述其余一个半桥驱动连接的一相断相。Exemplarily, the phase failure of the motor includes: the motor and the two phases drivingly connected to the two half-bridges are both out of phase, and/or the motor is drivingly connected to the remaining one half-bridge for one phase. out of phase.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM1、PWM2的引脚发出第四预设时长,如5微秒的高电平脉冲,设定控制信号PWM3的占空比为0%,从而能够控制第一功率管Q1、Q2导通5微秒,第二功率管Q4、Q5关断,以及控制第一功率管Q3关断,第二功率管Q6导通。在所述第四预设时长内通过采样电阻Rb去采样母线电流。如果所述母线电流小于或等于第四电流阈值,可以确定所述电机和/或所述驱动电路的回路未能连通,例如可以确定第一功率管Q1、Q2发生驱动电阻断路、GS极短路或G极对地短路、确定第二功率管Q6发生驱动电阻断路、GS极短路或GD极短路,或者确定电机断相。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube drive circuit through the enable signal, and then sends a fourth preset duration, such as a high-level pulse of 5 microseconds, to the pins used to output the control signals PWM1 and PWM2, set The duty cycle of the control signal PWM3 is set to 0%, so that the first power transistors Q1 and Q2 can be controlled to be turned on for 5 microseconds, the second power transistors Q4 and Q5 can be turned off, and the first power transistor Q3 can be controlled to turn off and the second power transistor Q3 to be turned off. The power tube Q6 is turned on. The bus current is sampled through the sampling resistor Rb within the fourth preset time period. If the busbar current is less than or equal to the fourth current threshold, it can be determined that the motor and/or the loop of the driving circuit cannot be connected, for example, it can be determined that the first power transistors Q1 and Q2 have a driving resistance open circuit, a GS pole short circuit, or The G pole is short-circuited to the ground, it is determined that the second power transistor Q6 has a drive resistor open circuit, the GS pole is short-circuited or the GD pole is short-circuited, or it is determined that the motor is out of phase. Can end self-test and/or output fault message.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM1、PWM3的引脚发出第四预设时长,如5微秒的高电平脉冲,设定控制信号PWM2的占空比为0%,从而能够控制第一功率管Q1、Q3导通5微秒,第二功率管Q4、Q6关断,以及控制第一功率管Q2关断,第二功率管Q5导通。在所述第四预设时长内通过采样电阻Rb去采样母线电流。如果所述母线电流小于或等于第四电流阈值,可以确定所述电机和/或所述驱动电路的回路未能连通,例如可以确定第一功率管Q1、Q3发生驱动电阻断路、GS极短路或G极对地短路、确定第二功率管Q5发生驱动电阻断路、GS极短路或GD极短路,或者确定电机断相。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube driving circuit through the enable signal, and then uses the pins for outputting the control signals PWM1 and PWM3 to send out a fourth preset duration, such as a high-level pulse of 5 microseconds, set The duty cycle of the control signal PWM2 is set to 0%, so that the first power transistors Q1 and Q3 can be controlled to be turned on for 5 microseconds, the second power transistors Q4 and Q6 can be turned off, and the first power transistor Q2 can be controlled to be turned off and the second The power tube Q5 is turned on. The bus current is sampled through the sampling resistor Rb within the fourth preset time period. If the busbar current is less than or equal to the fourth current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistors Q1 and Q3 have a driving resistance open circuit, a GS pole short circuit or The G pole is short-circuited to the ground, it is determined that the second power transistor Q5 has a drive resistor open circuit, the GS pole is short-circuited or the GD pole is short-circuited, or it is determined that the motor is out of phase. Can end self-test and/or output fault message.
示例性的,处理器先通过使能信号将功率管驱动电路的输出打开,然后使用于输出控制信号PWM2、PWM3的引脚发出第四预设时长,如5微秒的高电平脉冲,设定控制信号PWM1的占空比为0%,从而能够控制第一功率管Q2、Q3导通5微秒,第二功率管Q5、Q6关断,以及控制第一功率管Q1关断,第二功率管Q4导通。在所述第四预设时长内通过采样电阻Rb去采样母线电流。如果所述母线电流小于或等于第四电流阈值,可以确定所述电机和/或所述驱动电路的回路未能连通,例如可以确定第一功率管Q2、Q3发生驱动电阻断路、GS极短路或G极对地短路、确定第二功率管Q4发生驱动电阻断路、GS极短路或GD极短路,或者确定电机断相。可以结束自检和/或输出故障提示信息。Exemplarily, the processor first turns on the output of the power tube drive circuit through the enable signal, and then uses the pins for outputting the control signals PWM2 and PWM3 to send out a fourth preset duration, such as a high-level pulse of 5 microseconds, set The duty cycle of the control signal PWM1 is set to 0%, so that the first power transistors Q2 and Q3 can be controlled to be turned on for 5 microseconds, the second power transistors Q5 and Q6 can be turned off, and the first power transistor Q1 can be The power tube Q4 is turned on. The bus current is sampled through the sampling resistor Rb within the fourth preset time period. If the busbar current is less than or equal to the fourth current threshold, it can be determined that the motor and/or the loop of the driving circuit is not connected, for example, it can be determined that the first power transistors Q2 and Q3 have a driving resistance open circuit, a GS pole short circuit or The G pole is short-circuited to the ground, it is determined that the second power transistor Q4 has a drive resistance open circuit, the GS pole is short-circuited or the GD pole is short-circuited, or it is determined that the motor phase is disconnected. Can end self-test and/or output fault message.
在一些实施方式中,控制其中两个半桥驱动的第一功率管导通第四预设时 长和其余一个半桥驱动的第二功率管导通,若所述母线电流大于第四电流阈值且小于第二电流阈值,则可以执行其他自检步骤,或者确定未发生故障,还可以开始执行预设任务。In some embodiments, the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset time period and the second power transistors driven by the remaining one half-bridge are controlled to be turned on, if the bus current is greater than the fourth current threshold and If it is less than the second current threshold, other self-test steps can be performed, or it is determined that no fault has occurred, and the preset task can also be started.
在一些实施方式中,用于确定短路故障状态的电流阈值大于用于确定回路未能连通故障状态的电流阈值。示例性的,所述第一电流阈值和所述第二电流阈值,大于所述第三电流阈值和所述第四电流阈值。In some embodiments, the current threshold for determining the short circuit fault condition is greater than the current threshold for determining the loop failure condition. Exemplarily, the first current threshold and the second current threshold are greater than the third current threshold and the fourth current threshold.
在一些实施方式中,确定短路故障状态时功率管导通的预设时长,小于确定回路未能连通故障状态时功率管导通的预设时长。示例性的,所述第一预设时长和所述第二预设时长,小于所述第三预设时长和所述第四预设时长。可以防止较长时间短路造成损害。In some embodiments, the preset duration of conduction of the power tube when the short-circuit fault state is determined is less than the preset duration of conduction of the power tube when it is determined that the circuit fails to connect to the fault state. Exemplarily, the first preset duration and the second preset duration are smaller than the third preset duration and the fourth preset duration. Can prevent damage caused by long-term short circuit.
在一些实施方式中,可以先控制所述三个半桥驱动的第二功率管导通第一预设时长,以根据所述母线电流确定第一功率管是否短路;然后控制其中一个半桥驱动的第一功率管导通第二预设时长和其余两个半桥驱动的第二功率管导通,以根据所述母线电流确定第一功率管对应的回路是否发生短路故障;如果全部第一功率管和第一功率管对应的回路均未发生短路故障,则可以控制其中一个半桥驱动的第一功率管导通第三预设时长和其余两个半桥驱动的第二功率管导通,以根据所述母线电流确定所述电机和/或所述驱动电路的回路能否连通;和/或控制其中两个半桥驱动的第一功率管导通第四预设时长和其余一个半桥驱动的第二功率管导通,以根据所述母线电流确定所述电机和/或所述驱动电路的回路能否连通。如果确定全部第一功率管和第一功率管对应的回路均未发生短路故障,且所述电机和/或所述驱动电路的回路能够连通,则可以确定未发生故障,还可以开始执行预设任务。In some embodiments, the second power transistors driven by the three half-bridges may be controlled to be turned on for a first preset period of time, so as to determine whether the first power transistors are short-circuited according to the bus current; and then one of the half-bridges may be controlled to drive The first power tube is turned on for a second preset duration and the second power tubes driven by the remaining two half-bridges are turned on, so as to determine whether the circuit corresponding to the first power tube has a short-circuit fault according to the bus current; if all the first power tubes are turned on If there is no short-circuit fault in the circuits corresponding to the power tube and the first power tube, the first power tube driven by one of the half-bridges can be controlled to be turned on for the third preset duration and the second power tubes driven by the remaining two half-bridges can be controlled to be turned on , so as to determine whether the circuit of the motor and/or the drive circuit can be connected according to the bus current; and/or control the first power tube driven by the two half-bridges to be turned on for a fourth preset duration and the remaining one half-bridge The second power tube driven by the bridge is turned on, so as to determine whether the circuit of the motor and/or the driving circuit can be connected according to the bus current. If it is determined that no short-circuit fault has occurred in all the first power tubes and the circuits corresponding to the first power tubes, and the circuits of the motor and/or the driving circuit can be connected, it can be determined that no failure has occurred, and the preset execution can be started. Task.
本申请实施例提供的电机的检测方法,通过根据预设控制逻辑控制所述三个半桥驱动的第一功率管和第二功率管的开关状态,以及获取所述电源向所述驱动电路输出的母线电流,从而可以根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态,可以节省处理器的资源,如处理器的引脚和采样电压和/或电流的资源,可以适用于一些较低性能的处理器,利于电路布置和装置的小型化,降低成本。In the motor detection method provided by the embodiment of the present application, the switching states of the first power transistor and the second power transistor driven by the three half-bridges are controlled according to a preset control logic, and the output of the power supply to the driving circuit is obtained by obtaining the Therefore, the fault state of the motor and/or the drive circuit can be determined according to the bus current and the current threshold corresponding to the preset control logic, which can save the resources of the processor, such as the introduction of the processor. The resources of pin and sampling voltage and/or current can be applied to some processors with lower performance, which is beneficial to the miniaturization of circuit arrangement and device, and reduces the cost.
示例性的,在对一个电机进行检测时,处理器的资源占用包括:用于输出三路控制信号PWM的引脚、用于使能功率管驱动电路的引脚和一个用于采集母 线电流的引脚。Exemplarily, when detecting a motor, the resource occupation of the processor includes: a pin for outputting three-way control signals PWM, a pin for enabling the power tube drive circuit, and a pin for collecting bus current. pin.
在一些实施方式中,一个处理器可以控制多个电机,所述多个电机与多个驱动电路一一对应连接,所述驱动电路为多个电机的多个驱动电路中的一个。示例性的,处理器可以对多个电机和/或各电机的驱动电路进行分时检测,例如在对一个电机和所述一个电机的驱动电路进行检测时,停止使能其余电机对应的功率管驱动电路,也仅需要一个引脚去采集母线电流,根据所述母线电流可以确定所述一个电机和/或所述一个电机的驱动电路的故障状态。In some implementations, one processor can control multiple motors, and the multiple motors are connected to multiple driving circuits in a one-to-one correspondence, and the driving circuit is one of multiple driving circuits of the multiple motors. Exemplarily, the processor may perform time-division detection on a plurality of motors and/or the drive circuits of each motor, for example, when detecting one motor and the drive circuit of the one motor, stop enabling the power transistors corresponding to the remaining motors. The drive circuit also only needs one pin to collect the bus current, and the fault state of the one motor and/or the drive circuit of the one motor can be determined according to the bus current.
请结合上述实施例参阅图7,图7是本申请实施例提供的电机的控制装置600的示意性框图。该控制装置600包括一个或多个处理器601,单独地或共同地工作,用于执行前述电机的检测方法的步骤。Please refer to FIG. 7 in conjunction with the above embodiment. FIG. 7 is a schematic block diagram of an apparatus 600 for controlling a motor provided by an embodiment of the present application. The control device 600 includes one or more processors 601, working individually or collectively, for carrying out the steps of the aforementioned motor detection method.
具体的,所述电机连接驱动电路,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极。Specifically, the motor is connected to a drive circuit, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power transistor and a second power transistor, and the first power transistor is used to connect the power supply Positive pole, the second power tube is used to connect the negative pole of the power supply.
示例性的,控制装置600还包括存储器602。Exemplarily, the control device 600 further includes a memory 602 .
示例性的,处理器601和存储器602通过总线603连接,该总线603比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 601 and the memory 602 are connected through a bus 603, and the bus 603 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器601可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 601 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器602可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
其中,所述处理器601用于运行存储在存储器602中的计算机程序,并在执行所述计算机程序时实现前述的电机的检测方法。Wherein, the processor 601 is configured to run a computer program stored in the memory 602, and implement the aforementioned motor detection method when the computer program is executed.
示例性的,所述处理器601用于运行存储在存储器602中的计算机程序,并在执行所述计算机程序时实现如下步骤:Exemplarily, the processor 601 is configured to run a computer program stored in the memory 602, and implement the following steps when executing the computer program:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
在一些实施方式中,控制各所述半桥驱动时,控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。In some embodiments, when controlling the driving of each half-bridge, one of the first power transistor and the second power transistor of the half-bridge driving is controlled to be turned on, and the other is turned off.
示例性的,所述控制装置包括功率管驱动电路;Exemplarily, the control device includes a power tube drive circuit;
所述处理器用于控制所述功率管驱动电路发出三对互补的驱动信号,各对互补的驱动信号均包括两路驱动信号,所述两路驱动信号用于控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。The processor is used to control the power tube drive circuit to send out three pairs of complementary drive signals, each pair of complementary drive signals includes two drive signals, and the two drive signals are used to control the first drive signal of the half-bridge drive. One of the power tube and the second power tube is turned on, and the other is turned off.
示例性的,所述处理器用于通过三路控制信号,控制所述功率管驱动电路发出三对互补的驱动信号。Exemplarily, the processor is configured to control the power tube driving circuit to send out three pairs of complementary driving signals through three control signals.
示例性的,所述处理器还用于:Exemplarily, the processor is also used for:
使能所述功率管驱动电路,以使所述功率管驱动电路能够发出所述驱动信号。The power tube driving circuit is enabled, so that the power tube driving circuit can send the driving signal.
示例性的,所述处理器控制所述第一功率管和第二功率管的开关状态时,用于执行:Exemplarily, when the processor controls the switching states of the first power transistor and the second power transistor, the processor is configured to execute:
通过设定所述功率管驱动电路发出的驱动信号的高电平时长,和/或使能所述功率管驱动电路的时长,设定所述第一功率管或所述第二功率管导通的时长。By setting the high-level duration of the driving signal sent by the power tube driving circuit, and/or enabling the power tube driving circuit, the first power tube or the second power tube is set to be turned on length of time.
示例性的,所述处理器控制所述第一功率管和第二功率管的开关状态时,用于执行:Exemplarily, when the processor controls the switching states of the first power transistor and the second power transistor, the processor is configured to execute:
通过设定所述功率管驱动电路发出的驱动信号的占空比,控制所述第一功率管和第二功率管的开关状态。By setting the duty ratio of the driving signal sent by the power tube driving circuit, the switching states of the first power tube and the second power tube are controlled.
在一些实施方式中,通过采样电阻获取所述电源向所述驱动电路输出的母线电流,所述采样电阻连接于所述驱动电路和所述电源的正极或负极之间。In some embodiments, the bus current output by the power supply to the drive circuit is obtained through a sampling resistor, and the sampling resistor is connected between the drive circuit and the positive or negative pole of the power supply.
在一些实施方式中,所述电机和/或所述驱动电路的故障状态,包括:短路和/或回路未能连通;In some embodiments, the fault state of the motor and/or the drive circuit includes: short circuit and/or failure of the circuit to connect;
用于确定短路故障状态的电流阈值大于用于确定回路未能连通故障状态的电流阈值。The current threshold for determining the short circuit fault condition is greater than the current threshold for determining the loop failure condition.
在一些实施方式中,所述处理器用于执行:In some embodiments, the processor is configured to perform:
控制所述三个半桥驱动的第二功率管导通第一预设时长,若所述母线电流大于或等于第一电流阈值,确定至少一个所述半桥驱动的第一功率管短路。The second power transistors driven by the three half-bridges are controlled to be turned on for a first preset duration, and if the bus current is greater than or equal to a first current threshold, it is determined that at least one of the first power transistors driven by the half-bridges is short-circuited.
在一些实施方式中,所述处理器用于执行:In some embodiments, the processor is configured to perform:
控制其中一个半桥驱动的第一功率管导通第二预设时长和其余两个半桥驱 动的第二功率管导通,若所述母线电流大于或等于第二电流阈值,确定所述其中一个半桥驱动的第一功率管对应的回路发生短路故障。Control the first power tube driven by one of the half-bridges to be turned on for a second preset duration and the second power tubes driven by the remaining two half-bridges to be turned on, if the bus current is greater than or equal to the second current threshold, determine the among A short circuit fault occurs in the circuit corresponding to the first power tube driven by a half-bridge.
示例性的,所述确定所述其中一个半桥驱动的第一功率管对应的回路发生短路故障,包括:Exemplarily, the determining that a circuit corresponding to the first power transistor driven by one of the half-bridges has a short-circuit fault includes:
确定导通的第一功率管对应的第二功率管短路、所述第二功率管与所述电源短路,和/或所述电机相间短路。It is determined that the second power tube corresponding to the first power tube that is turned on is short-circuited, the second power tube is short-circuited with the power supply, and/or the motor is short-circuited between phases.
在一些实施方式中,所述处理器用于执行:In some embodiments, the processor is configured to perform:
控制其中一个半桥驱动的第一功率管导通第三预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流小于或等于第三电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。Controlling the first power tube driven by one of the half-bridges to be turned on for a third preset duration and the second power tubes driven by the remaining two half-bridges being turned on, if the bus current is less than or equal to a third current threshold, determine the motor And/or the loop of the drive circuit fails to connect.
示例性的,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:Exemplarily, the determining that the circuit of the motor and/or the driving circuit fails to communicate includes:
确定所述其中一个半桥驱动的第一功率管未受控导通、所述其余两个半桥驱动的第二功率管未受控导通,和/或所述电机断相。It is determined that the first power transistor driven by one of the half bridges is not turned on under control, the second power transistors driven by the remaining two half bridges are not turned on under control, and/or the motor is out of phase.
示例性的,所述电机断相,包括:Exemplarily, the phase failure of the motor includes:
所述电机与所述其中一个半桥驱动连接的一相断相,和/或所述电机与所述其余两个半桥驱动连接的两相均断相。One phase of the motor connected to the one of the half bridges is disconnected, and/or both phases of the motor connected to the other two half bridges are disconnected.
在一些实施方式中,所述处理器用于执行:In some embodiments, the processor is configured to perform:
控制其中两个半桥驱动的第一功率管导通第四预设时长和其余一个半桥驱动的第二功率管导通,若所述母线电流小于或于第四电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。The first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset duration and the second power transistors driven by the remaining one half-bridge are turned on. If the bus current is less than or below a fourth current threshold, determine the motor And/or the loop of the drive circuit fails to connect.
示例性的,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:Exemplarily, the determining that the circuit of the motor and/or the driving circuit fails to communicate includes:
确定所述其中两个半桥驱动的第一功率管未受控导通、所述其余一个半桥驱动的第二功率管未受控导通,和/或所述电机断相。It is determined that the first power transistors driven by the two half-bridges are not turned on in a controlled manner, the second power transistors driven by the remaining one half-bridge are not controlled to be turned on, and/or the motor is out of phase.
示例性的,所述电机断相,包括:Exemplarily, the phase failure of the motor includes:
所述电机与所述其中两个半桥驱动连接的两相均断相,和/或所述电机与所述其余一个半桥驱动连接的一相断相。Both the motor and the two phases drivingly connected to the two half-bridges are out of phase, and/or one phase of the motor and the remaining one half-bridge driving connection is out of phase.
示例性的,所述第一功率管未受控导通,包括:所述第一功率管的驱动电阻断路、所述第一功率管的栅极和源极断路,和/或所述第一功率管的栅极对地短路。Exemplarily, the uncontrolled conduction of the first power transistor includes: the driving resistor of the first power transistor is disconnected, the gate and source of the first power transistor are disconnected, and/or the first power transistor is disconnected. The grid of the power tube is shorted to ground.
示例性的,所述第二功率管未受控导通,包括:Exemplarily, the uncontrolled conduction of the second power transistor includes:
所述第二功率管的驱动电阻断路、所述第二功率管的栅极和源极断路,和/或所述第二功率管的栅极和漏极短路。The driving resistor of the second power tube is disconnected, the gate and source of the second power tube are disconnected, and/or the gate and drain of the second power tube are short-circuited.
示例性的,确定短路故障状态时功率管导通的预设时长,小于确定回路未能连通故障状态时功率管导通的预设时长。Exemplarily, the preset duration of conduction of the power tube when the short-circuit fault state is determined is less than the preset duration of conduction of the power tube when it is determined that the circuit fails to be connected to the fault state.
在一些实施方式中,所述驱动电路为多个电机的多个驱动电路中的一个;In some embodiments, the drive circuit is one of a plurality of drive circuits of a plurality of motors;
所述处理器还用于执行:The processor is also used to execute:
对多个电机和/或各电机的驱动电路进行分时检测。Time-division detection of multiple motors and/or the drive circuits of each motor.
本申请实施例提供的控制装置的具体原理和实现方式均与前述实施例的电机的检测方法类似,此处不再赘述。The specific principles and implementation manners of the control apparatus provided by the embodiments of the present application are similar to the detection methods of the motors in the foregoing embodiments, and details are not described herein again.
请结合上述实施例参阅图8,图8是本申请实施例提供的电调装置700的示意性框图。电调装置700例如可以是用于可移动平台的电调装置。可移动平台可以包括无人飞行器、云台、无人车等中的至少一种。进一步而言,无人飞行器可以为旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机。Please refer to FIG. 8 in conjunction with the above-mentioned embodiment. FIG. 8 is a schematic block diagram of an electrical regulation apparatus 700 provided by an embodiment of the present application. The ESC device 700 may be, for example, an ESC device for a movable platform. The movable platform may include at least one of an unmanned aerial vehicle, a gimbal, an unmanned vehicle, and the like. Further, the unmanned aerial vehicle may be a rotary-wing drone, such as a quad-rotor drone, a hexa-rotor drone, an octa-rotor drone, or a fixed-wing drone.
该电调装置700包括驱动电路10,以及一个或多个处理器701。The ESC device 700 includes a driving circuit 10 and one or more processors 701 .
其中,驱动电路10能够连接电机,能够提供驱动信号给电机,以驱动电机转动。所述驱动电路10包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极。The driving circuit 10 can be connected to a motor, and can provide a driving signal to the motor to drive the motor to rotate. The drive circuit 10 includes three half-bridge drivers, each of which includes a first power tube and a second power tube, and the first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for Connect the negative terminal of the power supply.
具体的,一个或多个处理器701单独地或共同地工作,用于执行前述电机的检测方法的步骤。Specifically, one or more processors 701 work individually or collectively to execute the steps of the aforementioned motor detection method.
示例性的,电调装置700还包括存储器702。Exemplarily, the ESC device 700 further includes a memory 702 .
示例性的,处理器701和存储器702通过总线703连接,该总线703比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 701 and the memory 702 are connected through a bus 703, and the bus 703 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器701可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 701 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器702可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 702 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
其中,所述处理器701用于运行存储在存储器702中的计算机程序,并在 执行所述计算机程序时实现前述的电机的检测方法。Wherein, the processor 701 is configured to run the computer program stored in the memory 702, and implement the aforementioned motor detection method when the computer program is executed.
示例性的,所述处理器701用于运行存储在存储器702中的计算机程序,并在执行所述计算机程序时实现如下步骤:Exemplarily, the processor 701 is configured to run a computer program stored in the memory 702, and implement the following steps when executing the computer program:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
本申请实施例提供的电调装置的具体原理和实现方式均与前述实施例的电机的检测方法类似,此处不再赘述。The specific principles and implementation manners of the ESC provided in the embodiments of the present application are similar to the detection methods of the motors in the foregoing embodiments, which will not be repeated here.
请结合上述实施例参阅图9,图9是本申请实施例提供的动力装置800的示意性框图。动力装置800例如可以是用于可移动平台的动力装置。可移动平台可以包括无人飞行器、云台、无人车等中的至少一种。进一步而言,无人飞行器可以为旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机。Please refer to FIG. 9 in conjunction with the above embodiment. FIG. 9 is a schematic block diagram of a power device 800 provided by an embodiment of the present application. The power plant 800 may be, for example, a power plant for a movable platform. The movable platform may include at least one of an unmanned aerial vehicle, a gimbal, an unmanned vehicle, and the like. Further, the unmanned aerial vehicle may be a rotary-wing drone, such as a quad-rotor drone, a hexa-rotor drone, an octa-rotor drone, or a fixed-wing drone.
该动力装置包括电机20、驱动电路10,以及一个或多个处理器801。可以理解的,驱动电路10,以及一个或多个处理器801可以为电调装置中的驱动电路和处理器,电调装置与电机20一体式设置,或者可拆卸连接,一个电调装置可以连接一个或多个电机20。The power plant includes a motor 20 , a drive circuit 10 , and one or more processors 801 . It can be understood that the driving circuit 10 and the one or more processors 801 can be the driving circuit and the processor in the ESC device, the ESC device and the motor 20 are integrally provided, or are detachably connected, and one ESC device can be connected One or more motors 20 .
其中,驱动电路10连接电机20,能够提供驱动信号给电机20,以驱动电机20转动。电机例如可以连接无人飞行器的螺旋桨、无人车的轮毂、无人车的发射装置的摩擦轮、云台的转轴等,当然也不限于此。Wherein, the driving circuit 10 is connected to the motor 20 and can provide a driving signal to the motor 20 to drive the motor 20 to rotate. For example, the motor can be connected to the propeller of the unmanned aerial vehicle, the hub of the unmanned vehicle, the friction wheel of the launching device of the unmanned vehicle, the rotating shaft of the gimbal, etc., of course, it is not limited thereto.
驱动电路10包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极。The drive circuit 10 includes three half-bridge drivers, each of which includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, and the second power tube is used to connect all the power tubes. the negative pole of the power supply.
具体的,一个或多个处理器801单独地或共同地工作,用于执行前述电机的检测方法的步骤。Specifically, one or more processors 801 work individually or collectively to execute the steps of the aforementioned motor detection method.
示例性的,动力装置800还包括存储器802。Illustratively, powerplant 800 also includes memory 802 .
示例性的,处理器801和存储器802通过总线803连接,该总线803比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 801 and the memory 802 are connected through a bus 803, and the bus 803 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器801可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 801 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器802可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 802 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, or a removable hard disk, or the like.
其中,所述处理器801用于运行存储在存储器802中的计算机程序,并在执行所述计算机程序时实现前述的电机的检测方法。Wherein, the processor 801 is configured to run a computer program stored in the memory 802, and implement the aforementioned motor detection method when the computer program is executed.
示例性的,所述处理器801用于运行存储在存储器802中的计算机程序,并在执行所述计算机程序时实现如下步骤:Exemplarily, the processor 801 is configured to run a computer program stored in the memory 802, and implement the following steps when executing the computer program:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
本申请实施例提供的动力装置的具体原理和实现方式均与前述实施例的电机的检测方法类似,此处不再赘述。The specific principles and implementation manners of the power device provided in the embodiments of the present application are similar to the detection methods of the motors in the foregoing embodiments, and details are not described herein again.
请结合上述实施例参阅图10,图10是本申请实施例提供的可移动平台900的示意性框图。Please refer to FIG. 10 in conjunction with the above embodiment. FIG. 10 is a schematic block diagram of a movable platform 900 provided by an embodiment of the present application.
示例性的,可移动平台900可以包括无人飞行器、云台、无人车等中的至少一种。进一步而言,无人飞行器可以为旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机。Exemplarily, the movable platform 900 may include at least one of an unmanned aerial vehicle, a gimbal, an unmanned vehicle, and the like. Further, the unmanned aerial vehicle may be a rotary-wing drone, such as a quad-rotor drone, a hexa-rotor drone, an octa-rotor drone, or a fixed-wing drone.
具体的,可移动平台900包括电机20、驱动电路10,以及一个或多个处理器901。可以理解的,驱动电路10,以及一个或多个处理器901可以为电调装置中的驱动电路和处理器,电调装置与电机20一体式设置,或者可拆卸连接,一个电调装置可以连接一个或多个电机20。可以理解的,处理器901也可以是无人飞行器的飞行控制系统,即飞控中的处理器。Specifically, the movable platform 900 includes a motor 20 , a driving circuit 10 , and one or more processors 901 . It can be understood that the driving circuit 10 and the one or more processors 901 can be the driving circuit and the processor in the ESC device. The ESC device and the motor 20 are integrally provided or detachably connected, and one ESC device can be connected to One or more motors 20 . It can be understood that the processor 901 may also be a flight control system of an unmanned aerial vehicle, that is, a processor in a flight control.
其中,驱动电路10连接电机20,能够提供驱动信号给电机20,以驱动电机20转动。驱动电路10包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极。Wherein, the driving circuit 10 is connected to the motor 20 and can provide a driving signal to the motor 20 to drive the motor 20 to rotate. The drive circuit 10 includes three half-bridge drivers, each of which includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, and the second power tube is used to connect all the power tubes. the negative pole of the power supply.
具体的,一个或多个处理器901单独地或共同地工作,用于执行前述电机的检测方法的步骤。Specifically, one or more processors 901 work individually or collectively to execute the steps of the aforementioned motor detection method.
示例性的,可移动平台900还包括存储器902。Illustratively, removable platform 900 also includes memory 902 .
示例性的,处理器901和存储器902通过总线903连接,该总线903比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 901 and the memory 902 are connected through a bus 903, and the bus 903 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器901可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 901 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器902可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 902 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
其中,所述处理器901用于运行存储在存储器902中的计算机程序,并在执行所述计算机程序时实现前述的电机的检测方法。The processor 901 is configured to run a computer program stored in the memory 902, and implement the aforementioned motor detection method when the computer program is executed.
示例性的,所述处理器901用于运行存储在存储器902中的计算机程序,并在执行所述计算机程序时实现如下步骤:Exemplarily, the processor 901 is configured to run a computer program stored in the memory 902, and implement the following steps when executing the computer program:
根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
本申请实施例提供的可移动平台的具体原理和实现方式均与前述实施例的电机的检测方法类似,此处不再赘述。The specific principles and implementation manners of the movable platform provided by the embodiments of the present application are similar to the detection methods of the motors in the foregoing embodiments, and details are not described herein again.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现上述实施例提供的电机的检测方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor enables the processor to implement the motor detection method provided by the foregoing embodiments A step of.
其中,所述计算机可读存储介质可以是前述任一实施例所述的控制装置,如电调装置的内部存储单元,例如所述控制装置的硬盘或内存。所述计算机可读存储介质也可以是所述控制装置的外部存储设备,例如所述控制装置上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。或者所述计算机可读存储介质可以是前述的动力装置或可移动平台的内部存储单元或外部存储设备。The computer-readable storage medium may be the control device described in any of the foregoing embodiments, such as an internal storage unit of an ESC device, such as a hard disk or a memory of the control device. The computer-readable storage medium may also be an external storage device of the control device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) equipped on the control device ) card, Flash Card, etc. Alternatively, the computer-readable storage medium may be an internal storage unit or an external storage device of the aforementioned power plant or removable platform.
应当理解,在此本申请中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。It should be understood that the terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application.
还应当理解,在本申请和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this application and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (49)

  1. 一种电机的检测方法,其特征在于,所述电机连接驱动电路,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;A detection method for a motor, characterized in that the motor is connected to a drive circuit, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the The first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for connecting the negative pole of the power supply;
    所述检测方法包括:The detection method includes:
    根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
    获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
    根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  2. 根据权利要求1所述的检测方法,其特征在于,控制各所述半桥驱动时,控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。The detection method according to claim 1, wherein when controlling the driving of each of the half bridges, one of the first power transistor and the second power transistor driven by the half bridge is controlled to be turned on, and the other is turned off.
  3. 根据权利要求2所述的检测方法,其特征在于,控制功率管驱动电路发出三对互补的驱动信号,各对互补的驱动信号均包括两路驱动信号,所述两路驱动信号用于控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。The detection method according to claim 2, wherein the control power tube driving circuit sends out three pairs of complementary driving signals, and each pair of complementary driving signals includes two driving signals, and the two driving signals are used to control all the driving signals. One of the first power tube and the second power tube driven by the half-bridge is turned on, and the other is turned off.
  4. 根据权利要求3所述的检测方法,其特征在于,通过三路控制信号,控制所述功率管驱动电路发出三对互补的驱动信号。The detection method according to claim 3, wherein the power tube driving circuit is controlled to send out three pairs of complementary driving signals through three control signals.
  5. 根据权利要求3或4所述的检测方法,其特征在于,所述检测方法还包括:The detection method according to claim 3 or 4, wherein the detection method further comprises:
    使能所述功率管驱动电路,以使所述功率管驱动电路能够发出所述驱动信号。The power tube driving circuit is enabled, so that the power tube driving circuit can send the driving signal.
  6. 根据权利要求3-5中任一项所述的检测方法,其特征在于,所述控制所述三个半桥驱动的第一功率管和第二功率管的开关状态,包括:The detection method according to any one of claims 3-5, wherein the controlling the switching states of the first power transistors and the second power transistors driven by the three half-bridges comprises:
    通过设定所述功率管驱动电路发出的驱动信号的高电平时长,和/或使能所述功率管驱动电路的时长,设定所述第一功率管或所述第二功率管导通的时长。By setting the high-level duration of the driving signal sent by the power tube driving circuit, and/or enabling the power tube driving circuit, the first power tube or the second power tube is set to be turned on length of time.
  7. 根据权利要求3-6中任一项所述的检测方法,其特征在于,所述控制所 述三个半桥驱动的第一功率管和第二功率管的开关状态,包括:The detection method according to any one of claims 3-6, wherein the control of the switching states of the first power transistor and the second power transistor driven by the three half-bridges comprises:
    通过设定所述功率管驱动电路发出的驱动信号的占空比,控制所述第一功率管和第二功率管的开关状态。By setting the duty ratio of the driving signal sent by the power tube driving circuit, the switching states of the first power tube and the second power tube are controlled.
  8. 根据权利要求1-7中任一项所述的检测方法,其特征在于,通过采样电阻获取所述电源向所述驱动电路输出的母线电流,所述采样电阻连接于所述驱动电路和所述电源的正极或负极之间。The detection method according to any one of claims 1 to 7, wherein the bus current output by the power supply to the drive circuit is obtained through a sampling resistor, and the sampling resistor is connected to the drive circuit and the drive circuit. between the positive or negative poles of the power supply.
  9. 根据权利要求1-8中任一项所述的检测方法,其特征在于,所述电机和/或所述驱动电路的故障状态,包括:短路和/或回路未能连通;The detection method according to any one of claims 1-8, wherein the fault state of the motor and/or the drive circuit includes: a short circuit and/or a failure of a circuit to be connected;
    用于确定短路故障状态的电流阈值大于用于确定回路未能连通故障状态的电流阈值。The current threshold for determining the short circuit fault condition is greater than the current threshold for determining the loop failure condition.
  10. 根据权利要求1-9中任一项所述的检测方法,其特征在于,控制所述三个半桥驱动的第二功率管导通第一预设时长,若所述母线电流大于或等于第一电流阈值,确定至少一个所述半桥驱动的第一功率管短路。The detection method according to any one of claims 1-9, wherein the second power transistors driven by the three half-bridges are controlled to be turned on for a first preset duration, if the bus current is greater than or equal to the third A current threshold, determining that at least one of the first power transistors driven by the half-bridge is short-circuited.
  11. 根据权利要求1-10中任一项所述的检测方法,其特征在于,控制其中一个半桥驱动的第一功率管导通第二预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流大于或等于第二电流阈值,确定所述其中一个半桥驱动的第一功率管对应的回路发生短路故障。The detection method according to any one of claims 1-10, wherein the first power transistor driven by one half-bridge is controlled to be turned on for a second preset duration and the second power transistors driven by the remaining two half-bridges are controlled It is turned on, and if the bus current is greater than or equal to the second current threshold, it is determined that a short-circuit fault occurs in the circuit corresponding to the first power transistor driven by one of the half-bridges.
  12. 根据权利要求11所述的检测方法,其特征在于,所述确定所述其中一个半桥驱动的第一功率管对应的回路发生短路故障,包括:The detection method according to claim 11, wherein the determining that a circuit corresponding to the first power transistor driven by one of the half-bridges has a short-circuit fault comprises:
    确定导通的第一功率管对应的第二功率管短路、所述第二功率管与所述电源短路,和/或所述电机相间短路。It is determined that the second power tube corresponding to the first power tube that is turned on is short-circuited, the second power tube is short-circuited with the power supply, and/or the motor is short-circuited between phases.
  13. 根据权利要求1-12中任一项所述的检测方法,其特征在于,控制其中一个半桥驱动的第一功率管导通第三预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流小于或等于第三电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。The detection method according to any one of claims 1-12, wherein the first power transistor driven by one half-bridge is controlled to conduct for a third preset duration and the second power transistors driven by the remaining two half-bridges are controlled Conduction, if the bus current is less than or equal to the third current threshold, it is determined that the circuit of the motor and/or the driving circuit is not connected.
  14. 根据权利要求13所述的检测方法,其特征在于,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:The detection method according to claim 13, wherein the determining that the circuit of the motor and/or the driving circuit is not connected includes:
    确定所述其中一个半桥驱动的第一功率管未受控导通、所述其余两个半桥驱动的第二功率管未受控导通,和/或所述电机断相。It is determined that the first power transistor driven by one of the half bridges is not turned on under control, the second power transistors driven by the remaining two half bridges are not turned on under control, and/or the motor is out of phase.
  15. 根据权利要求14所述的检测方法,其特征在于,所述电机断相,包括:The detection method according to claim 14, wherein the phase failure of the motor comprises:
    所述电机与所述其中一个半桥驱动连接的一相断相,和/或所述电机与所述其余两个半桥驱动连接的两相均断相。One phase of the motor connected to the one of the half bridges is disconnected, and/or both phases of the motor connected to the other two half bridges are disconnected.
  16. 根据权利要求1-15中任一项所述的检测方法,其特征在于,控制其中两个半桥驱动的第一功率管导通第四预设时长和其余一个半桥驱动的第二功率管导通,若所述母线电流小于或于第四电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。The detection method according to any one of claims 1-15, wherein the first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset duration and the second power transistors driven by the remaining one half-bridge are controlled On, if the bus current is less than or below the fourth current threshold, it is determined that the circuit of the motor and/or the driving circuit is not connected.
  17. 根据权利要求16所述的检测方法,其特征在于,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:The detection method according to claim 16, wherein the determining that the circuit of the motor and/or the driving circuit is not connected includes:
    确定所述其中两个半桥驱动的第一功率管未受控导通、所述其余一个半桥驱动的第二功率管未受控导通,和/或所述电机断相。It is determined that the first power transistors driven by the two half-bridges are not turned on in a controlled manner, the second power transistors driven by the remaining one half-bridge are not controlled to be turned on, and/or the motor is out of phase.
  18. 根据权利要求16所述的检测方法,其特征在于,所述电机断相,包括:The detection method according to claim 16, wherein the phase failure of the motor comprises:
    所述电机与所述其中两个半桥驱动连接的两相均断相,和/或所述电机与所述其余一个半桥驱动连接的一相断相。Both the motor and the two phases drivingly connected to the two half-bridges are out of phase, and/or one phase of the motor and the remaining one half-bridge driving connection is out of phase.
  19. 根据权利要求14或17所述的检测方法,其特征在于,所述第一功率管未受控导通,包括:所述第一功率管的驱动电阻断路、所述第一功率管的栅极和源极断路,和/或所述第一功率管的栅极对地短路。The detection method according to claim 14 or 17, wherein the uncontrolled conduction of the first power tube comprises: a driving resistor of the first power tube is disconnected, a grid of the first power tube is disconnected and the source is disconnected, and/or the gate of the first power transistor is short-circuited to ground.
  20. 根据权利要求14或17所述的检测方法,其特征在于,所述第二功率管未受控导通,包括:The detection method according to claim 14 or 17, wherein the uncontrolled conduction of the second power tube comprises:
    所述第二功率管的驱动电阻断路、所述第二功率管的栅极和源极断路,和/或所述第二功率管的栅极和漏极短路。The driving resistor of the second power tube is disconnected, the gate and source of the second power tube are disconnected, and/or the gate and drain of the second power tube are short-circuited.
  21. 根据权利要求10-20中任一项所述的检测方法,其特征在于,确定短路故障状态时功率管导通的预设时长,小于确定回路未能连通故障状态时功率管导通的预设时长。The detection method according to any one of claims 10-20, wherein the preset duration of the conduction of the power tube when the short-circuit fault state is determined is smaller than the preset duration of the conduction of the power tube when it is determined that the circuit fails to be connected to the fault state duration.
  22. 根据权利要求1-21中任一项所述的检测方法,其特征在于,所述驱动电路为多个电机的多个驱动电路中的一个;The detection method according to any one of claims 1-21, wherein the drive circuit is one of multiple drive circuits of multiple motors;
    对多个电机和/或各电机的驱动电路进行分时检测。Time-division detection of multiple motors and/or the drive circuits of each motor.
  23. 一种电机的控制装置,其特征在于,所述电机连接驱动电路,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;A control device for a motor, characterized in that the motor is connected to a drive circuit, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the The first power tube is used for connecting the positive pole of the power supply, and the second power tube is used for connecting the negative pole of the power supply;
    所述控制装置包括:The control device includes:
    一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
    根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
    获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
    根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  24. 根据权利要求23所述的控制装置,其特征在于,控制各所述半桥驱动时,控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。The control device according to claim 23, wherein when controlling the driving of each half-bridge, one of the first power transistor and the second power transistor of the half-bridge driving is controlled to be turned on, and the other is turned off.
  25. 根据权利要求24所述的控制装置,其特征在于,所述控制装置包括功率管驱动电路;The control device according to claim 24, wherein the control device comprises a power tube drive circuit;
    所述处理器用于控制所述功率管驱动电路发出三对互补的驱动信号,各对互补的驱动信号均包括两路驱动信号,所述两路驱动信号用于控制所述半桥驱动的第一功率管和第二功率管中的一个导通,另一个关断。The processor is used to control the power tube drive circuit to send out three pairs of complementary drive signals, each pair of complementary drive signals includes two drive signals, and the two drive signals are used to control the first drive signal of the half-bridge drive. One of the power tube and the second power tube is turned on, and the other is turned off.
  26. 根据权利要求25所述的控制装置,其特征在于,所述处理器用于通过三路控制信号,控制所述功率管驱动电路发出三对互补的驱动信号。The control device according to claim 25, wherein the processor is configured to control the power tube drive circuit to send out three pairs of complementary drive signals through three control signals.
  27. 根据权利要求25或26所述的控制装置,其特征在于,所述处理器还用于:The control device according to claim 25 or 26, wherein the processor is further configured to:
    使能所述功率管驱动电路,以使所述功率管驱动电路能够发出所述驱动信号。The power tube driving circuit is enabled, so that the power tube driving circuit can send the driving signal.
  28. 根据权利要求25-27中任一项所述的控制装置,其特征在于,所述处理器控制所述第一功率管和第二功率管的开关状态时,用于执行:The control device according to any one of claims 25-27, wherein when the processor controls the switching states of the first power transistor and the second power transistor, the processor is configured to execute:
    通过设定所述功率管驱动电路发出的驱动信号的高电平时长,和/或使能所述功率管驱动电路的时长,设定所述第一功率管或所述第二功率管导通的时长。By setting the high-level duration of the driving signal sent by the power tube driving circuit, and/or enabling the power tube driving circuit, the first power tube or the second power tube is set to be turned on length of time.
  29. 根据权利要求25-28中任一项所述的控制装置,其特征在于,所述处理器控制所述第一功率管和第二功率管的开关状态时,用于执行:The control device according to any one of claims 25-28, wherein when the processor controls the switching states of the first power transistor and the second power transistor, the processor is configured to execute:
    通过设定所述功率管驱动电路发出的驱动信号的占空比,控制所述第一功率管和第二功率管的开关状态。By setting the duty ratio of the driving signal sent by the power tube driving circuit, the switching states of the first power tube and the second power tube are controlled.
  30. 根据权利要求23-29中任一项所述的控制装置,其特征在于,通过采样电阻获取所述电源向所述驱动电路输出的母线电流,所述采样电阻连接于所述 驱动电路和所述电源的正极或负极之间。The control device according to any one of claims 23-29, wherein the bus current output by the power supply to the drive circuit is obtained through a sampling resistor, and the sampling resistor is connected to the drive circuit and the drive circuit. between the positive or negative poles of the power supply.
  31. 根据权利要求23-30中任一项所述的控制装置,其特征在于,所述电机和/或所述驱动电路的故障状态,包括:短路和/或回路未能连通;The control device according to any one of claims 23-30, wherein the fault state of the motor and/or the drive circuit includes: short circuit and/or failure of the circuit to be connected;
    用于确定短路故障状态的电流阈值大于用于确定回路未能连通故障状态的电流阈值。The current threshold for determining the short circuit fault condition is greater than the current threshold for determining the loop failure condition.
  32. 根据权利要求23-31中任一项所述的控制装置,其特征在于,所述处理器用于执行:The control device according to any one of claims 23-31, wherein the processor is configured to execute:
    控制所述三个半桥驱动的第二功率管导通第一预设时长,若所述母线电流大于或等于第一电流阈值,确定至少一个所述半桥驱动的第一功率管短路。The second power transistors driven by the three half-bridges are controlled to be turned on for a first preset duration, and if the bus current is greater than or equal to a first current threshold, it is determined that at least one of the first power transistors driven by the half-bridges is short-circuited.
  33. 根据权利要求23-32中任一项所述的控制装置,其特征在于,所述处理器用于执行:The control device according to any one of claims 23-32, wherein the processor is configured to execute:
    控制其中一个半桥驱动的第一功率管导通第二预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流大于或等于第二电流阈值,确定所述其中一个半桥驱动的第一功率管对应的回路发生短路故障。Control the first power tube driven by one of the half-bridges to be turned on for a second preset duration and the second power tubes driven by the remaining two half-bridges to be turned on, if the bus current is greater than or equal to the second current threshold, determine the among A circuit corresponding to the first power tube driven by a half-bridge is short-circuited.
  34. 根据权利要求33所述的控制装置,其特征在于,所述确定所述其中一个半桥驱动的第一功率管对应的回路发生短路故障,包括:The control device according to claim 33, wherein the determining that a circuit corresponding to the first power transistor driven by one of the half-bridges has a short-circuit fault comprises:
    确定导通的第一功率管对应的第二功率管短路、所述第二功率管与所述电源短路,和/或所述电机相间短路。It is determined that the second power tube corresponding to the first power tube that is turned on is short-circuited, the second power tube is short-circuited with the power supply, and/or the motor is short-circuited between phases.
  35. 根据权利要求23-34中任一项所述的控制装置,其特征在于,所述处理器用于执行:The control device according to any one of claims 23-34, wherein the processor is configured to execute:
    控制其中一个半桥驱动的第一功率管导通第三预设时长和其余两个半桥驱动的第二功率管导通,若所述母线电流小于或等于第三电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。Controlling the first power tube driven by one of the half-bridges to be turned on for a third preset duration and the second power tubes driven by the remaining two half-bridges being turned on, if the bus current is less than or equal to a third current threshold, determine the motor And/or the loop of the drive circuit fails to connect.
  36. 根据权利要求35所述的控制装置,其特征在于,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:The control device according to claim 35, wherein the determining that the circuit of the motor and/or the driving circuit fails to communicate comprises:
    确定所述其中一个半桥驱动的第一功率管未受控导通、所述其余两个半桥驱动的第二功率管未受控导通,和/或所述电机断相。It is determined that the first power transistor driven by one of the half bridges is not turned on under control, the second power transistors driven by the remaining two half bridges are not turned on under control, and/or the motor is out of phase.
  37. 根据权利要求36所述的控制装置,其特征在于,所述电机断相,包括:The control device according to claim 36, wherein the phase failure of the motor comprises:
    所述电机与所述其中一个半桥驱动连接的一相断相,和/或所述电机与所述其余两个半桥驱动连接的两相均断相。One phase of the motor connected to the one of the half bridges is disconnected, and/or both phases of the motor connected to the other two half bridges are disconnected.
  38. 根据权利要求23-37中任一项所述的控制装置,其特征在于,所述处理器用于执行:The control device according to any one of claims 23-37, wherein the processor is configured to execute:
    控制其中两个半桥驱动的第一功率管导通第四预设时长和其余一个半桥驱动的第二功率管导通,若所述母线电流小于或于第四电流阈值,确定所述电机和/或所述驱动电路的回路未能连通。The first power transistors driven by two half-bridges are controlled to be turned on for a fourth preset duration and the second power transistors driven by the remaining one half-bridge are turned on. If the bus current is less than or below a fourth current threshold, determine the motor And/or the loop of the drive circuit fails to connect.
  39. 根据权利要求38所述的控制装置,其特征在于,所述确定所述电机和/或所述驱动电路的回路未能连通,包括:The control device according to claim 38, wherein the determining that the circuit of the motor and/or the driving circuit fails to communicate comprises:
    确定所述其中两个半桥驱动的第一功率管未受控导通、所述其余一个半桥驱动的第二功率管未受控导通,和/或所述电机断相。It is determined that the first power transistors driven by the two half-bridges are not turned on in a controlled manner, the second power transistors driven by the remaining one half-bridge are not controlled to be turned on, and/or the motor is out of phase.
  40. 根据权利要求38所述的控制装置,其特征在于,所述电机断相,包括:The control device according to claim 38, wherein the phase failure of the motor comprises:
    所述电机与所述其中两个半桥驱动连接的两相均断相,和/或所述电机与所述其余一个半桥驱动连接的一相断相。Both the motor and the two phases drivingly connected to the two half-bridges are out of phase, and/or one phase of the motor and the remaining one half-bridge driving connection is out of phase.
  41. 根据权利要求36或39所述的控制装置,其特征在于,所述第一功率管未受控导通,包括:所述第一功率管的驱动电阻断路、所述第一功率管的栅极和源极断路,和/或所述第一功率管的栅极对地短路。The control device according to claim 36 or 39, wherein the uncontrolled conduction of the first power tube comprises: the driving resistor of the first power tube is disconnected, the grid of the first power tube is disconnected and the source is disconnected, and/or the gate of the first power transistor is short-circuited to ground.
  42. 根据权利要求36或39所述的控制装置,其特征在于,所述第二功率管未受控导通,包括:The control device according to claim 36 or 39, wherein the second power tube is not controlled to be turned on, comprising:
    所述第二功率管的驱动电阻断路、所述第二功率管的栅极和源极断路,和/或所述第二功率管的栅极和漏极短路。The driving resistor of the second power tube is disconnected, the gate and source of the second power tube are disconnected, and/or the gate and drain of the second power tube are short-circuited.
  43. 根据权利要求32-42中任一项所述的控制装置,其特征在于,确定短路故障状态时功率管导通的预设时长,小于确定回路未能连通故障状态时功率管导通的预设时长。The control device according to any one of claims 32-42, wherein the preset duration of the conduction of the power tube when the short-circuit fault state is determined is smaller than the preset duration of the conduction of the power tube when it is determined that the circuit fails to be connected to the fault state duration.
  44. 根据权利要求23-43中任一项所述的控制装置,其特征在于,所述驱动电路为多个电机的多个驱动电路中的一个;The control device according to any one of claims 23-43, wherein the drive circuit is one of a plurality of drive circuits of a plurality of motors;
    所述处理器还用于执行:The processor is also used to execute:
    对多个电机和/或各电机的驱动电路进行分时检测。Time-division detection of multiple motors and/or the drive circuits of each motor.
  45. 一种电调装置,其特征在于,包括:An ESC device, characterized in that it includes:
    驱动电路,能够连接电机,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;A drive circuit can be connected to a motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, so The second power tube is used to connect the negative pole of the power supply;
    一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
    根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
    获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
    根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  46. 一种动力装置,其特征在于,包括:A power plant, characterized in that it includes:
    电机;motor;
    驱动电路,连接所述电机,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;a drive circuit, connected to the motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, the second power tube is used for connecting the negative pole of the power supply;
    一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
    根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
    获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
    根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  47. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that, comprising:
    电机;motor;
    驱动电路,连接所述电机,所述驱动电路包括三个半桥驱动,各所述半桥驱动均包括第一功率管和第二功率管,且所述第一功率管用于连接电源的正极,所述第二功率管用于连接所述电源的负极;a drive circuit, connected to the motor, the drive circuit includes three half-bridge drivers, each of the half-bridge drivers includes a first power tube and a second power tube, and the first power tube is used to connect the positive pole of the power supply, the second power tube is used for connecting the negative pole of the power supply;
    一个或多个处理器,单独地或共同地工作,用于执行:One or more processors, working individually or collectively, to perform:
    根据预设控制逻辑,控制所述三个半桥驱动的第一功率管和第二功率管的开关状态;controlling the switching states of the first power transistor and the second power transistor driven by the three half-bridges according to the preset control logic;
    获取所述电源向所述驱动电路输出的母线电流;obtaining the bus current output by the power supply to the driving circuit;
    根据所述母线电流和所述预设控制逻辑对应的电流阈值,确定所述电机和/或所述驱动电路的故障状态。The fault state of the motor and/or the drive circuit is determined according to the bus current and the current threshold corresponding to the preset control logic.
  48. 根据权利要求47所述的可移动平台,其特征在于,所述可移动平台包括如下至少一种:无人飞行器、云台、无人车。The movable platform according to claim 47, wherein the movable platform comprises at least one of the following: an unmanned aerial vehicle, a cloud platform, and an unmanned vehicle.
  49. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1-22中任一项所述的电机的检测方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method described in any one of claims 1-22. The detection method of the motor described above.
PCT/CN2020/126864 2020-11-05 2020-11-05 Testing method, control, electronic speed control, power apparatus, and movable platform for electric motor WO2022094894A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080074972.9A CN114710972A (en) 2020-11-05 2020-11-05 Motor detection method, control, electric regulation, power device and movable platform
PCT/CN2020/126864 WO2022094894A1 (en) 2020-11-05 2020-11-05 Testing method, control, electronic speed control, power apparatus, and movable platform for electric motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/126864 WO2022094894A1 (en) 2020-11-05 2020-11-05 Testing method, control, electronic speed control, power apparatus, and movable platform for electric motor

Publications (1)

Publication Number Publication Date
WO2022094894A1 true WO2022094894A1 (en) 2022-05-12

Family

ID=81458401

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/126864 WO2022094894A1 (en) 2020-11-05 2020-11-05 Testing method, control, electronic speed control, power apparatus, and movable platform for electric motor

Country Status (2)

Country Link
CN (1) CN114710972A (en)
WO (1) WO2022094894A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116455269A (en) * 2023-06-14 2023-07-18 上海泰矽微电子有限公司 Brushless DC motor control method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000316293A (en) * 1999-04-28 2000-11-14 Shibaura Densan Kk Drive circuit of brushless dc motor
JP2002142466A (en) * 2000-11-07 2002-05-17 Fuji Electric Co Ltd Method of correcting switching of power converter
CN102025317A (en) * 2009-09-18 2011-04-20 欧姆龙汽车电子株式会社 Motor drive device
JP2012124975A (en) * 2010-12-06 2012-06-28 Hitachi Automotive Systems Ltd Power conversion apparatus and method of controlling the same
CN109245054A (en) * 2018-11-02 2019-01-18 南京工程学院 Permanent magnetic brushless direct-current motor driver leads directly to trouble hunting system and method
CN109713642A (en) * 2019-01-29 2019-05-03 浙江众邦机电科技有限公司 A kind of sewing machine and its short-circuit protection system and guard method
CN208836047U (en) * 2018-11-02 2019-05-07 南京工程学院 Permanent magnetic brushless direct-current motor driver leads directly to trouble hunting system
CN109975648A (en) * 2019-04-24 2019-07-05 重庆理工大学 A kind of motor bridge circuit power switch tube short circuit online test method
CN109975647A (en) * 2019-04-24 2019-07-05 重庆理工大学 A kind of motor winding open circuit On-line self-diagnosis method of triangular form connection
CN109975646A (en) * 2019-04-24 2019-07-05 重庆理工大学 A kind of motor winding open circuit On-line self-diagnosis method of wye connection
CN110146770A (en) * 2019-05-21 2019-08-20 台安科技(无锡)有限公司 A kind of motor insulation and short-circuit recognition method for frequency converter

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000316293A (en) * 1999-04-28 2000-11-14 Shibaura Densan Kk Drive circuit of brushless dc motor
JP2002142466A (en) * 2000-11-07 2002-05-17 Fuji Electric Co Ltd Method of correcting switching of power converter
CN102025317A (en) * 2009-09-18 2011-04-20 欧姆龙汽车电子株式会社 Motor drive device
JP2012124975A (en) * 2010-12-06 2012-06-28 Hitachi Automotive Systems Ltd Power conversion apparatus and method of controlling the same
CN109245054A (en) * 2018-11-02 2019-01-18 南京工程学院 Permanent magnetic brushless direct-current motor driver leads directly to trouble hunting system and method
CN208836047U (en) * 2018-11-02 2019-05-07 南京工程学院 Permanent magnetic brushless direct-current motor driver leads directly to trouble hunting system
CN109713642A (en) * 2019-01-29 2019-05-03 浙江众邦机电科技有限公司 A kind of sewing machine and its short-circuit protection system and guard method
CN109975648A (en) * 2019-04-24 2019-07-05 重庆理工大学 A kind of motor bridge circuit power switch tube short circuit online test method
CN109975647A (en) * 2019-04-24 2019-07-05 重庆理工大学 A kind of motor winding open circuit On-line self-diagnosis method of triangular form connection
CN109975646A (en) * 2019-04-24 2019-07-05 重庆理工大学 A kind of motor winding open circuit On-line self-diagnosis method of wye connection
CN110146770A (en) * 2019-05-21 2019-08-20 台安科技(无锡)有限公司 A kind of motor insulation and short-circuit recognition method for frequency converter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116455269A (en) * 2023-06-14 2023-07-18 上海泰矽微电子有限公司 Brushless DC motor control method
CN116455269B (en) * 2023-06-14 2023-09-01 上海泰矽微电子有限公司 Brushless DC Motor Control Method

Also Published As

Publication number Publication date
CN114710972A (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US8054030B2 (en) Permanent magnet AC motor systems and control algorithm restart methods
US10901414B2 (en) Systems and methods for providing redundancy to electronic speed control systems
US11177751B2 (en) Motor controller, active short circuit thereof, and method for controlling active short via the same
CN110460254B (en) Control circuit for power converter
EP3575126A1 (en) Motor controller
JP3931184B2 (en) Motor control device
US20160233804A1 (en) Motor control device
WO2007050815A2 (en) System and method of over voltage control for a power system
US20180123497A1 (en) Method for emulating a three-phase electric motor using a load emulator, and a corresponding load emulator
US9065379B2 (en) Control device for vehicle generator-motor and control method therefor
JP2010193707A (en) Method for driving brushless dc motor
WO2022094894A1 (en) Testing method, control, electronic speed control, power apparatus, and movable platform for electric motor
US10381959B2 (en) Motor control device
US10135380B2 (en) AC rotary machine control apparatus
KR101618722B1 (en) Motor drive system
US10199974B2 (en) Motor driving circuit and motor driving method
CN110868114A (en) Counter potential zero-crossing detection method, device and control system for dust collector and motor
US9000704B2 (en) Three-phase motor driving apparatus and three-phase motor driving method
WO2018142829A1 (en) Motor drive device and electric power steering device
US20230283209A1 (en) Intelligent synchronous rectification system of electronic speed controller, and control method for intelligent synchronous rectification system
CN110311619B (en) Motor control circuit and electric automobile
US20230373442A1 (en) Motor device, wiper device, and motor control method
US10873278B2 (en) Motor driving system and motor operation recovering method
JP6841288B2 (en) Power conversion device and power conversion method
EP3154184A1 (en) Electronic device and circuit

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: 20960355

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: 20960355

Country of ref document: EP

Kind code of ref document: A1