Motor control device and control method thereof
By detecting the motor voltage and current and adjusting the drive circuit mode to discharge the reverse voltage, the problems of power loss and poor reliability of energy storage components caused by reverse electromotive force in the existing technology are solved, and safety and cost-effectiveness are improved.
Patent Information
- Application Number
- CN202310319832.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-09-24
AI Technical Summary
When the existing technology prevents reverse electromotive force intrusion of the steering gear motor, the anti-reverse electromotive force module causes power loss and heat generation, increasing operating costs. The energy storage element of the reverse electromotive force suppression circuit is complex in design and has poor reliability.
By detecting the motor voltage and current, the mode of the drive circuit is adjusted to discharge the current generated by the reverse voltage, reducing design costs and improving structural simplicity.
While ensuring safety, it reduces design costs, has a simple structure and strong applicability, and avoids the problem of motor damage due to reverse electromotive force.
Smart Images

Figure CN118694259A
Abstract
Description
Technical Field
[0001] The present application relates to the field of power electronics technology, and in particular to a motor control device and a control method thereof. Background Art
[0002] The servo is a very common structure in power electronic equipment. For example, in intelligent robots, the servo is usually used to drive the motor to adjust the angle of the output shaft. When the power supply stops supplying power to the servo, the manual rotation of the servo will cause the motor rotor in the servo to run and cut the magnetic flux lines, generating a reverse electromotive force. The reverse electromotive force cannot be quickly discharged inside the servo, which can easily damage the components of the servo bus voltage path, and even cause the components to smoke and burn in the case of serious servo function failure. The inventors of this application found in the process of research and practice that in the prior art, an anti-backflow module is usually added between the motor and the power supply to prevent the reverse electromotive force from backflowing into the power supply, or a reverse electromotive force suppression circuit is added between the motor and the power supply, and the energy storage element is used to absorb the reverse electromotive force. However, the anti-backflow module will generate power loss and heat in normal working scenarios, increase operating costs, and have poor endurance. The energy storage element in the reverse electromotive force suppression circuit belongs to a discrete component circuit, which will increase the design cost, and has poor reliability and consistency. Summary of the invention
[0003] The present application provides a motor control device and a control method thereof, which can control different pins of a driving circuit by detecting a control circuit to switch between different modes to drive the motor and discharge the current generated by the reverse voltage of the motor, thereby reducing the design cost while ensuring safety, having a simple structure, a simple method and strong applicability.
[0004] In a first aspect, the present application provides a motor control device, which may include a detection control circuit and a drive circuit, and the drive circuit may include a first part of pins and a second part of pins. One end of the detection control circuit may be connected to a power supply, and the other end of the detection control circuit may be connected to a motor through the drive circuit. The detection control circuit may be used to control the first part of the pins and the second part of the pins of the drive circuit to drive the motor in a first mode when the motor voltage meets a first voltage value or the motor current meets a first current value. The detection control circuit may be used to control the second part of the pins of the drive circuit to drive the motor in a second mode when the motor voltage meets a second voltage value or the motor current meets a second current value.
[0005] In the present application, the motor control device can be connected to the power supply and the motor, where the motor can be the motor in the steering gear, or the motor in other electronic equipment or mechanical equipment, where the motor can be a three-phase motor or a DC brushless motor. Here, the motor in the steering gear is taken as an example. When the power supply stops supplying power to the motor, rotating the steering gear (or other parts connected to the motor rotor) or rotating the steering gear in other ways will cause the motor rotor in the steering gear to run and cut the magnetic flux lines, generating a reverse electromotive force. The reverse electromotive force cannot be discharged quickly inside the steering gear (or motor), which can easily damage the components of the motor power supply path, and even cause the components to smoke and burn in the case of serious motor failure. Here, the motor control device can adjust the drive mode of the motor and discharge the electric energy generated by the reverse voltage when it detects that the motor voltage meets the standard of the reverse voltage. That is, when the power supply supplies power to the motor, the motor control device can transmit the electric energy provided by the power supply to the motor; when the motor generates a reverse voltage (or reverse electromotive force), the motor control device can discharge the electric energy generated by the reverse voltage of the motor.
[0006] It can be understood that the motor control device in the present application can judge the state of the motor based on the motor voltage, and drive the motor in different modes when the motor voltage meets different conditions, so that the motor rotates or discharges the current generated by the reverse voltage. Here, the motor control device may include a detection control circuit and a drive circuit. The motor control device here can detect the motor voltage, and the motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit and the power supply, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or one of the motors, etc., which can represent the state of the motor. It can be further understood that the motor control device here can detect the motor current (or other parameters such as motor power), or calculate the motor voltage based on the motor current (or other parameters such as motor power), and then determine the state of the motor based on the motor current (or other parameters such as motor power) or the motor voltage. The motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the state of the motor. Here, the state of the motor includes when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state at a posture; the state of the motor also includes when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, the discharge state corresponding to the current generated by the reverse voltage needs to be discharged; the state of the motor also includes the corresponding state in which the drive circuit in the motor control device can drive the motor in other application scenarios.
[0007] Here, the drive circuit may include a first part of pins and a second part of pins. The pins of the drive circuit here may include only the first part of pins and the second part of pins, or may include other parts of pins in addition to the first part of pins and the second part of pins. The pins here (for example, the first part of pins and the second part of pins) may be control terminals for controlling internal components of the drive circuit after it is packaged as an integrated circuit, or may be control terminals of multiple independent components (for example, electronic components such as switch tubes) in the drive circuit. That is to say, the first part of pins and the second part of pins here belong to the control terminal of the drive circuit. At the same time, the control terminal of the drive circuit (for example, the high and low level terminals, enable terminals, or other ports such as the signal input terminal of the drive circuit) may include only the first part of pins and the second part of pins, or may include other parts of pins except the first part of pins and the second part of pins. It can be understood that the motor control device can drive the motor in different modes by controlling different pins of the drive circuit. The detection control circuit here can be used to control the first part of pins and the second part of pins of the drive circuit to drive the motor in a first mode when the motor voltage meets the first voltage value or the motor current meets the first current value. The detection control circuit can be used to control the second part of the pins of the drive circuit to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. The voltage value (for example, the first voltage value, the second voltage value or other voltage values) and the current value (for example, the first current value, the second current value or other current values) here are parameters used by the motor control device to determine the state of the motor, which can be detected by the detection control circuit integrated in the motor control device, or can be detected by a module with a detection function outside the motor control device and then transmitted to the detection control circuit for reception. In other words, the detection control circuit here can be integrated with the drive circuit as a whole (for example, integrated in a chip or an integrated circuit board, etc.), or it can be separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. Here, the first voltage value (or the first current value or the first power value) can be a voltage value (or current value or power value), can be a plurality of discrete voltage values (or current values or power values), can be a voltage interval (or current interval or power interval) composed of a plurality of discrete voltage values (or current values or power values) or a continuous voltage value (or current value or power value). The motor voltage here satisfies a certain voltage value (for example, a first voltage value, a second voltage value or other voltage value). It can be understood that when the motor voltage and this voltage value (or voltage interval) satisfy a certain size relationship (or proportional relationship, or other functional relationship), or when the motor voltage is within the voltage range of this voltage value, the motor voltage can be considered to satisfy this voltage value.At the same time, the motor current here satisfies a certain current value (for example, a first current value, a second current value or other current value), which can be understood as when the motor current and this current value (or current interval) meet a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor current is in the current interval of this current value, the motor current can be considered to meet this current value. The first voltage value and / or the first current value here can be the rated working voltage or rated working current of the motor, or a pre-set voltage value or current value, or the working voltage or working current of the motor collected in a test environment or other working environment. The second voltage value and / or the second current value here can be obtained based on the rated working voltage or rated working current of the motor (for example, a voltage value or voltage interval greater than the rated working voltage is used as the second voltage value), or based on a pre-set voltage value or current value (for example, the voltage that can be borne by the components on the motor and the power supply path is set to the second voltage value), or it can be the reverse voltage or reverse current of the motor collected in a test environment or other working environment (for example, in a specific application scenario, the second voltage value is set based on the reverse voltage generated by the reverse rotation of the motor).
[0008] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and drive the motor in different modes when the motor voltage or the motor current meets different conditions, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. For example, when the power supply stops supplying power to the motor, the motor control device can control different pins of the drive circuit by detecting the control circuit to switch to different modes to drive the motor and discharge the current generated by the reverse voltage of the motor, thereby reducing the design cost while ensuring safety, with a simple structure, a simple method, and strong applicability.
[0009] In combination with the first aspect, in a first possible implementation, the detection control circuit may be used to output a first control signal to the drive circuit to control a first portion of the pins and a second portion of the pins of the drive circuit to be in a first state when the motor voltage satisfies a first voltage value or the motor current satisfies a first current value, so that the drive circuit drives the motor in a first mode. The detection control circuit may be used to output a second control signal to the drive circuit to control a second portion of the pins of the drive circuit to be in a second state when the motor voltage satisfies a second voltage value or the motor current satisfies a second current value, so that the drive circuit drives the motor in a second mode.
[0010] It can be understood that the pins here (for example, the first part of the pins and the second part of the pins) can be the control terminals for controlling the internal components of the driving circuit after it is packaged as an integrated circuit, or can be the control terminals of multiple independent components in the driving circuit (for example, electronic components such as switching tubes). In other words, the motor control device can drive the motor in different modes by controlling different pins of the driving circuit. The detection control circuit here can be used to control the first part of the pins and the second part of the pins of the driving circuit to be in the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the driving circuit drives the motor in the first mode. For example, when the motor voltage is within the rated voltage range of the motor or the motor current is within the rated current range of the motor, the detection control circuit can output a first control signal to the drive circuit to control one or more target pins in the first part of the drive circuit to be high level (and / or control the non-target pins in the first part of the pins to be low level), and at the same time control one or more target pins in the second part of the pins to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit are in the first state (for example, the target pins in the first part of the pins are turned on, the non-target pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit to drive the motor in a first mode (for example, an angle adjustment mode or a speed adjustment mode when the motor is in a working state). The detection control circuit here can be used to control the second part of the pins of the drive circuit to drive the motor in a second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit can output a second control signal to the drive circuit to control one or more target pins in the second part of the pins of the drive circuit to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit are in the second state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit to drive the motor in the second mode (for example, a mode in which the motor discharges reverse voltage or reverse current in a power-off state). The control signal here (for example, the first control signal, the second control signal or other control signal) can be a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment. The pin state here (for example, the first state, the second state) can be a constant state in which the corresponding pin remains on or off, or an alternating state in which the corresponding pin remains on or off for a certain period of time or at a certain moment.For example, when the speed of the motor needs to be adjusted when the motor is in a working state, the motor voltage is in the rated voltage range of the motor or the motor current is in the rated current range of the motor. The detection control circuit can output a first control signal to the drive circuit to control the target pins in the first part of the pins of the drive circuit to be turned on with a certain duty cycle, and control the non-target pins in the first part of the pins to be turned off. At the same time, the target pins in the second part of the pins of the drive circuit are controlled to be turned on with a certain duty cycle, and the non-target pins in the second part of the pins are controlled to be turned off, so that the drive circuit drives the motor in a first mode (for example, a speed adjustment mode when the motor is in a working state).
[0011] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and when the motor voltage or the motor current meets different conditions, it can control the pins of the drive circuit to different states by outputting different control signals to the drive circuit, so that the drive circuit drives the motor in different modes, so that the motor works under the power provided by the power supply or discharges the current generated by the reverse voltage of the motor. For example, when the power supply stops supplying power to the motor, the motor control device can output different control signals to the drive circuit by detecting the control circuit, control the on and off states of different pins of the drive circuit, switch to drive the motor in different modes, discharge the current generated by the reverse voltage of the motor, and reduce the design cost while ensuring safety. The structure is simple, the method is simple, and the applicability is strong.
[0012] In combination with the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the detection control circuit may include a voltage detection circuit and a control circuit, the control circuit may be connected to a power supply, a voltage detection circuit and a drive circuit, and the voltage detection circuit may be connected to a motor. The voltage detection circuit may be used to detect the motor voltage and transmit the value of the motor voltage to the control circuit. The control circuit may be used to control the first part of the pins and the second part of the pins or the second part of the pins of the drive circuit when the motor voltage meets the first voltage value or the second voltage value, and drive the motor in the first mode or the second mode.
[0013] It can be understood that the voltage value here (for example, the first voltage value, the second voltage value or other voltage values) is a parameter used by the motor control device to determine the motor state, which can be detected by a voltage detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the voltage detection circuit for reception, and then the motor voltage value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. In other words, the voltage detection circuit and the control circuit here can be integrated with the drive circuit as a whole (for example, integrated in a chip or an integrated circuit board, etc.), or separated as an independent functional module, or a part of the circuit is integrated (for example, integrated in a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. It can be further understood that for the motor voltage detected by the voltage detection circuit, the motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit and the power supply, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or a certain item of the motor, etc., which can represent the motor state. Here, the first voltage value (or the second voltage value or other voltage value) can be a voltage value, can be a plurality of discrete voltage values, can be a voltage interval consisting of a plurality of discrete voltage values or a continuous voltage value. Here, the motor voltage satisfies a certain voltage value (for example, the first voltage value, the second voltage value or other voltage value), which can be understood as when the motor voltage and this voltage value (or voltage interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor voltage is within the voltage interval of this voltage value, the motor voltage can be considered to satisfy this voltage value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state. At this time, the control circuit can control the drive circuit to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, when the reverse voltage is too large or meets certain judgment criteria (for example, meets a second voltage value), the motor needs to discharge the current generated by the reverse voltage to a discharge state corresponding to the discharge state. At this time, the control circuit can control the drive circuit to drive the motor in the second mode; the state of the motor also includes other application scenarios in which the drive circuit in the motor control device can drive the motor in a corresponding state. At this time, the control circuit can control the drive circuit to drive the motor in other modes.
[0014] In the present application, the motor control device can obtain the motor voltage through the voltage detection circuit, and then judge the state of the motor based on the motor voltage, and when the motor voltage or motor current meets different conditions, drive the motor in different modes through the control circuit and the drive circuit, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. While ensuring safety, the design cost is reduced, the structure is simple, the method is simple, and the applicability is strong.
[0015] In combination with the first aspect or the first possible implementation of the first aspect, in a third possible implementation, the detection control circuit may include a current detection circuit and a control circuit, the control circuit may be connected to a power supply, a current detection circuit and a drive circuit, and the current detection circuit may be connected to a motor. The current detection circuit may be used to detect the motor current and transmit the value of the motor current to the control circuit. The control circuit may be used to control the first part of the pins and the second part of the pins or the second part of the pins of the drive circuit when the motor current meets the first current value or the second current value, and drive the motor in the first mode or the second mode.
[0016] It can be understood that the current value here (for example, the first current value, the second current value or other current value) is a parameter used by the motor control device to determine the motor state, which can be detected by the current detection circuit integrated in the motor control device, or it can be detected by a module with a detection function outside the motor control device and transmitted to the current detection circuit for reception, and then the motor current value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. In other words, the current detection circuit and the control circuit here can be integrated with the drive circuit as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or they can be separated as independent functional modules, or one part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. It can be further understood that for the motor current detected by the current detection circuit, the motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the motor state. Here, the first current value (or the second current value or other current value) can be a current value, can be a plurality of discrete current values, can be a current interval consisting of a plurality of discrete current values or a continuous current value. The motor current here satisfies a certain current value (for example, the first current value, the second current value or other current value), which can be understood as when the motor current and this current value (or current interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state. At this time, the control circuit can control the drive circuit to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate reverse current), after the motor generates a reverse current, when the reverse current is too large or meets certain judgment criteria (for example, meets a second current value), the motor needs to discharge the reverse current to a discharge state corresponding to the reverse current. At this time, the control circuit can control the drive circuit to drive the motor in the second mode; the state of the motor also includes other application scenarios in which the drive circuit in the motor control device can drive the motor in a corresponding state. At this time, the control circuit can control the drive circuit to drive the motor in other modes.
[0017] In the present application, the motor control device can obtain the motor current through the current detection circuit, and then judge the state of the motor based on the motor current, and drive the motor in different modes through the control circuit and the drive circuit when the motor current or the motor current meets different conditions, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0018] In combination with the second or third possible implementation of the first aspect, in a fourth possible implementation, the detection control circuit may further include a temperature detection circuit, and the temperature detection circuit may be connected to the control circuit and the motor. The temperature detection circuit may be used to detect the temperature of the motor and transmit the value of the motor temperature to the control circuit. The control circuit may be used to control the second part of the pins of the drive circuit to drive the motor in a third mode when the motor voltage meets the second voltage value or the motor current meets the second current value and the motor temperature meets the first temperature value.
[0019] It can be understood that the temperature value here (for example, the first temperature value, the second temperature value or other temperature values) is a parameter used by the motor control device to determine the state of the motor, which can be detected by a temperature detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the temperature detection circuit for reception, and then the motor temperature value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. In other words, the temperature detection circuit, voltage detection circuit (or current detection circuit), and control circuit here can be integrated with the drive circuit as a whole (for example, integrated in a chip or an integrated circuit board, etc.), or separated as an independent functional module, or a part of the circuit is integrated (for example, integrated in a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. It can be further understood that for the motor temperature detected by the temperature detection circuit, the motor temperature here can be the temperature of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the temperature of the positive or negative pole of the motor, or the temperature of a certain phase of the motor, etc., which can represent the state of the motor. Here, the first temperature value (or other temperature value) can be a temperature value, can be a plurality of discrete temperature values, can be a temperature interval consisting of a plurality of discrete temperature values or continuous temperature values. Here, the motor temperature satisfies a certain temperature value (for example, the first temperature value or other temperature value), which can be understood as when the motor temperature and this temperature value (or temperature interval) meet a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor temperature is within the temperature interval of this temperature value, the motor temperature can be considered to meet this temperature value. Here, the driving mode of the motor can be defined by the working state of the motor, for example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage or a reverse current), after the motor generates a reverse voltage (or a reverse current), when the reverse voltage (or the reverse current) is too large or meets a certain judgment standard (for example, meets the second voltage value or the second current value), and the motor temperature is too high or meets a certain judgment standard (for example, meets the first temperature value), the motor needs to discharge the discharge state corresponding to the reverse voltage (or the reverse current), and at this time, the control circuit can control the drive circuit to drive the motor in the third mode.
[0020] In the present application, the motor control device can obtain the motor temperature through the temperature detection circuit, and then further judge the state of the motor based on the motor temperature, and when the motor voltage (or motor current) and the motor temperature meet different conditions, the motor is driven in different modes through the control circuit and the drive circuit, so that the motor can work under the electric energy provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0021] In combination with the fourth possible implementation of the first aspect, in a fifth possible implementation, the control circuit can also be used to control the second part of the pins of the drive circuit to drive the motor in a fourth mode when the motor voltage satisfies the second voltage value and satisfies the third voltage value, or the motor current satisfies the second current value and satisfies the third current value.
[0022] It can be understood that the voltage value here (for example, the second voltage value or the third voltage value) can be a voltage value, can be multiple discrete voltage values, can be a voltage interval consisting of multiple discrete voltage values or continuous voltage values. The current value (for example, the second current value or the third current value) can be a current value, can be multiple discrete current values, can be a current interval consisting of multiple discrete current values or continuous current values. The motor voltage or motor current here satisfies a certain voltage value (for example, the second voltage value or the third voltage value) or current value (for example, the second current value or the third current value), which can be understood as when the motor voltage or motor current satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this voltage value (or voltage interval) or current value (or current interval), or when the motor voltage (or motor current) is within the voltage interval of this voltage value (within the current interval of the current value), it can be considered that the motor voltage (or motor current) satisfies this voltage value (or current value). The driving mode of the motor here can be defined by the working state of the motor, for example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage or a reverse current), after the motor generates a reverse voltage (or a reverse current), when the reverse voltage (or reverse current) is too large or meets certain judgment criteria (for example, meets the second voltage value or the second current value), and the motor voltage or the motor current further increases or decreases (for example, meets the third voltage value or the third current value), the motor needs to adjust the discharge state corresponding to the discharge reverse voltage (or reverse current). At this time, the control circuit can control the drive circuit to drive the motor in the fourth mode.
[0023] In the present application, the motor control device can continuously obtain the motor voltage or motor current through the voltage detection circuit or the current detection circuit, and further judge the state of the motor, and when the motor voltage or the motor current meets different conditions, drive the motor in different modes through the control circuit and the drive circuit, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0024] In combination with the first aspect or any possible implementation of the first aspect, in a sixth possible implementation, the motor control device may further include a transformer circuit, and the transformer circuit may be connected to the detection control circuit. The transformer circuit may be used to reduce the motor voltage to a target drive voltage, and output the target drive voltage to the detection control circuit. The transformer circuit here may be integrated with each functional module in the detection control circuit as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or may be separated as an independent functional module, or a part of the circuit may be integrated (for example, integrated into a chip or an integrated circuit board, etc.) and another part may be separated as an independent functional module to work, which may be specifically set according to the application scenario, and is not limited here, and the design method is diverse and can be applied to different application scenarios.
[0025] In combination with the first aspect or any possible implementation of the first aspect, in a seventh possible implementation, the second voltage value is greater than the first voltage value, and the second current value is greater than the first current value. Here, the first voltage value and the second voltage value, as well as the first current value and the second current value can be specifically set based on the application scenario, and have strong applicability.
[0026] In combination with the first aspect or any possible implementation manner of the first aspect, in an eighth possible implementation manner, the third voltage value is greater than the second voltage value, and the third current value is greater than the second current value. Here, the second voltage value and the third voltage value, as well as the second current value and the third current value can be specifically set based on the application scenario, and have strong applicability.
[0027] In combination with the first aspect or any possible implementation manner of the first aspect, in a ninth possible implementation manner, the drive circuit may include three switch bridge arms, each switch bridge arm may include a first part of switch tubes and a second part of switch tubes, the control end of the first part of the switch tubes of the drive circuit can be connected to the detection control circuit as the first part of the pins of the drive circuit, and the control end of the second part of the switch tubes of the drive circuit can be connected to the detection control circuit as the second part of the pins of the drive circuit. For example, in an application scenario where the motor is a three-phase motor, the drive circuit can be connected to the three-phase pins of the three-phase motor through the midpoints of the three switch bridge arms. Here, the midpoint of the bridge arm of the drive circuit can be the connection point of the first part of the switch tubes and the second part of the switch tubes in each switch bridge arm of the drive circuit.
[0028] The detection control circuit here can be used to control the first part of the switch tubes and the second part of the switch tubes of the driving circuit to the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the driving circuit drives the motor in the first mode. For example, when the motor voltage is within the rated voltage range of the motor or the motor current is within the rated current range of the motor, the detection control circuit can output a first control signal to the drive circuit to control the control end of one or more target switch tubes in the first part of the switch tubes of the drive circuit to be high level (and / or control the control end of the non-target switch tube in the first part of the switch tube to be low level), and at the same time control the control end of one or more target switch tubes in the second part of the switch tube to be high level (and / or control the control end of the non-target switch tube in the second part of the switch tube to be low level), so that the first part of the switch tubes and the second part of the switch tubes of the control drive circuit are in the first state (for example, the target switch tube in the first part of the switch tube is turned on, the non-target switch tube in the first part of the switch tube is turned off, the target switch tube in the second part of the switch tube is turned on, and the non-target switch tube in the second part of the switch tube is turned off), thereby causing the drive circuit to drive the motor in a first mode (for example, an angle adjustment mode or a speed adjustment mode when the motor is in a working state). The detection control circuit here can be used to control the second part of the switch tubes of the drive circuit to drive the motor in a second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit can output a second control signal to the drive circuit to control the control end of one or more target switch tubes in the second part of the switch tubes of the drive circuit to be high level (and / or control the control end of the non-target switch tubes in the second part of the switch tubes to be low level), so that the first part of the switch tubes and the second part of the switch tubes of the control drive circuit are in the second state (for example, all the switch tubes in the first part of the switch tubes are turned off, the target switch tubes in the second part of the switch tubes are turned on, and the non-target switch tubes in the second part of the switch tubes are turned off), thereby enabling the drive circuit to drive the motor in the second mode (for example, a mode in which the motor discharges reverse voltage or reverse current when it is in a power-off state).
[0029] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and when the motor voltage or the motor current meets different conditions, it can control the switch tube of the driving circuit to different states by outputting different control signals to the driving circuit, so that the driving circuit drives the motor in different modes, thereby making the motor work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. While ensuring safety, it reduces the design cost, has a simple structure, a simple method, and strong applicability.
[0030] In combination with the first aspect or any possible implementation of the first aspect, in a tenth possible implementation, the drive circuit may include two switch bridge arms, each switch bridge arm may include a first part switch tube and a second part switch tube, the control end of the first part switch tube of the drive circuit can be connected to the detection control circuit as the first part pin of the drive circuit, and the control end of the second part switch tube of the drive circuit can be connected to the detection control circuit as the second part pin of the drive circuit. For example, in an application scenario where the motor is a brushless DC motor, the drive circuit can be connected to the positive and negative poles of the brushless DC motor through the midpoints of the two switch bridge arms. Here, the midpoint of the bridge arm of the drive circuit can be the connection point of the first part switch tube and the second part switch tube in each switch bridge arm of the drive circuit.
[0031] The detection control circuit here can be used to control the first part of the switch tubes and the second part of the switch tubes of the driving circuit to the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the driving circuit drives the motor in the first mode. For example, when the motor voltage is within the rated voltage range of the motor or the motor current is within the rated current range of the motor, the detection control circuit can output a first control signal to the drive circuit to control the control end of one or more target switch tubes in the first part of the switch tubes of the drive circuit to be high level (and / or control the control end of the non-target switch tube in the first part of the switch tube to be low level), and at the same time control the control end of one or more target switch tubes in the second part of the switch tube to be high level (and / or control the control end of the non-target switch tube in the second part of the switch tube to be low level), so that the first part of the switch tubes and the second part of the switch tubes of the control drive circuit are in the first state (for example, the target switch tube in the first part of the switch tube is turned on, the non-target switch tube in the first part of the switch tube is turned off, the target switch tube in the second part of the switch tube is turned on, and the non-target switch tube in the second part of the switch tube is turned off), thereby causing the drive circuit to drive the motor in a first mode (for example, an angle adjustment mode or a speed adjustment mode when the motor is in a working state). The detection control circuit here can be used to control the second part of the switch tubes of the drive circuit to drive the motor in a second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit can output a second control signal to the drive circuit to control the control end of one or more target switch tubes in the second part of the switch tubes of the drive circuit to be high level (and / or control the control end of the non-target switch tubes in the second part of the switch tubes to be low level), so that the first part of the switch tubes and the second part of the switch tubes of the control drive circuit are in the second state (for example, all the switch tubes in the first part of the switch tubes are turned off, the target switch tubes in the second part of the switch tubes are turned on, and the non-target switch tubes in the second part of the switch tubes are turned off), thereby enabling the drive circuit to drive the motor in the second mode (for example, a mode in which the motor discharges reverse voltage or reverse current when it is in a power-off state).
[0032] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and when the motor voltage or the motor current meets different conditions, it can control the switch tube of the driving circuit to different states by outputting different control signals to the driving circuit, so that the driving circuit drives the motor in different modes, thereby making the motor work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. While ensuring safety, it reduces the design cost, has a simple structure, a simple method, and strong applicability.
[0033] In combination with the first aspect or any possible implementation of the first aspect, in the eleventh possible implementation, the pins of the driving circuit include but are not limited to the first part of the pins and the second part of the pins. It can be understood that the pins of the driving circuit here may only include the first part of the pins and the second part of the pins, or may also include other parts of the pins in addition to the first part of the pins and the second part of the pins. The pins here (for example, the first part of the pins and the second part of the pins) can be the control end for controlling the internal components of the driving circuit after being packaged as an integrated circuit, or can be the control end of multiple independent components (for example, electronic components such as switch tubes) in the driving circuit. That is to say, the first part of the pins and the second part of the pins here belong to the control end of the driving circuit. At the same time, the control end of the driving circuit (for example, the high and low level end of the driving circuit, the enable end, or other ports such as the signal input end) can only include the first part of the pins and the second part of the pins, or can include other parts of the pins except the first part of the pins and the second part of the pins. At the same time, it can be understood that the pin type of each pin in the first part of the pins and the second part of the pins here can be the same or different. For example, all the pins in the first part of the pins and the second part of the pins may belong to the control terminal of the signal input type, or one or more pins may belong to the control terminal of the signal input type, or one or more pins may belong to the control terminal of the high and low level type, or one or more pins may belong to other types of control terminals. Here, the type of the same pin can also be converted based on the application scenario. For example, when driving the motor in the working state, it belongs to the control terminal of the high and low level type, and when it needs to discharge the reverse current or reverse voltage, it belongs to the control terminal of the signal input type. The composition and type of the pins of the driving circuit in the present application are diverse and flexible, and can be applied to different application scenarios, thereby improving the adaptability of the device.
[0034] In a second aspect, the present application provides a control method for a motor control device. The control method can be applied to the motor control device. The motor control device may include a detection control circuit and a drive circuit. The drive circuit may include a first portion of pins and a second portion of pins. One end of the detection control circuit may be connected to a power supply, and the other end of the detection control circuit may be connected to a motor through the drive circuit. The method may include:
[0035] When the motor voltage meets the first voltage value or the motor current meets the first current value, the first part of the pins and the second part of the pins of the control driving circuit drive the motor in the first mode. When the motor voltage meets the second voltage value or the motor current meets the second current value, the second part of the pins of the control driving circuit drives the motor in the second mode.
[0036] It can be understood that the motor control device in the present application can judge the state of the motor based on the motor voltage, and drive the motor in different modes when the motor voltage meets different conditions, so that the motor rotates or discharges the current generated by the reverse voltage. Here, the motor control device may include a detection control circuit and a drive circuit. The motor control device here can detect the motor voltage, and the motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit and the power supply, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or one of the motors, etc., which can represent the state of the motor. It can be further understood that the motor control device here can detect the motor current (or other parameters such as motor power), or calculate the motor voltage based on the motor current (or other parameters such as motor power), and then determine the state of the motor based on the motor current (or other parameters such as motor power) or the motor voltage. The motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the state of the motor. Here, the state of the motor includes when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state at a posture; the state of the motor also includes when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, the discharge state corresponding to the current generated by the reverse voltage needs to be discharged; the state of the motor also includes the corresponding state in which the drive circuit in the motor control device can drive the motor in other application scenarios.
[0037] Here, the motor control device can drive the motor in different modes by controlling different pins of the drive circuit. The detection control circuit here can control the first part of the pins and the second part of the pins of the drive circuit to drive the motor in the first mode when the motor voltage meets the first voltage value or the motor current meets the first current value. The detection control circuit can control the second part of the pins of the drive circuit to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. The voltage value (for example, the first voltage value, the second voltage value or other voltage values) and the current value (for example, the first current value, the second current value or other current values) here are parameters used by the motor control device to determine the state of the motor, which can be detected by the detection control circuit integrated in the motor control device, or can be detected by a module with a detection function outside the motor control device and transmitted to the detection control circuit for reception. In other words, the detection control circuit here can be integrated with the drive circuit as a whole (for example, integrated in a chip or an integrated circuit board, etc.), or it can be separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. Here, the first voltage value (or the first current value or the first power value) can be a voltage value (or current value or power value), can be a plurality of discrete voltage values (or current values or power values), can be a voltage interval (or current interval or power interval) composed of a plurality of discrete voltage values (or current values or power values) or a continuous voltage value (or current value or power value). The motor voltage here satisfies a certain voltage value (for example, the first voltage value, the second voltage value or other voltage value), which can be understood as when the motor voltage and this voltage value (or voltage interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor voltage is within the voltage interval of this voltage value, the motor voltage can be considered to satisfy this voltage value. At the same time, the motor current here satisfies a certain current value (for example, the first current value, the second current value or other current value), which can be understood as when the motor current and this current value (or current interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value. The first voltage value and / or first current value here can be the rated operating voltage or rated operating current of the motor, or a pre-set voltage value or current value, or the operating voltage or operating current of the motor collected in a test environment or other working environment.The second voltage value and / or second current value here can be obtained based on the rated operating voltage or rated operating current of the motor (for example, a voltage value or voltage range greater than the rated operating voltage is used as the second voltage value), or can be obtained based on a pre-set voltage value or current value (for example, the voltage that can be borne by the components in the motor and power supply path is set as the second voltage value), or can be the reverse voltage or reverse current of the motor collected in a test environment or other working environment (for example, in a specific application scenario, the second voltage value is set based on the reverse voltage generated by the reverse rotation of the motor).
[0038] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and drive the motor in different modes when the motor voltage or the motor current meets different conditions, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. For example, when the power supply stops supplying power to the motor, the motor control device can control different pins of the drive circuit by detecting the control circuit to switch to different modes to drive the motor and discharge the current generated by the reverse voltage of the motor, thereby reducing the design cost while ensuring safety, with a simple structure, a simple method, and strong applicability.
[0039] In combination with the second aspect, in a first possible implementation manner, controlling the first part of the pins and the second part of the pins of the driving circuit to drive the motor in the first mode may include:
[0040] A first control signal is output to the driving circuit to control a first part of the pins and a second part of the pins of the driving circuit to be in a first state, so that the driving circuit drives the motor in a first mode.
[0041] Controlling the second part of the pins of the driving circuit to drive the motor in the second mode may include:
[0042] A second control signal is output to the driving circuit to control a second part of the pins of the driving circuit to be in a second state, so that the driving circuit drives the motor in a second mode.
[0043] The detection control circuit here can control the first part of the pins and the second part of the pins of the drive circuit to be in the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the drive circuit drives the motor in the first mode. For example, when the motor voltage is in the rated voltage range of the motor or the motor current is in the rated current range of the motor, the detection control circuit can output a first control signal to the drive circuit to control one or more target pins in the first part of the pins of the drive circuit to be high level (and / or control the non-target pins in the first part of the pins to be low level), and at the same time control one or more target pins in the second part of the pins to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit are in the first state (for example, the target pins in the first part of the pins are turned on, the non-target pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), so that the drive circuit drives the motor in the first mode (for example, the angle adjustment mode or the speed adjustment mode when the motor is in the working state). The detection control circuit here can control the second part of the pins of the drive circuit to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit can output a second control signal to the drive circuit to control one or more target pins in the second part of the pins of the drive circuit to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit are in the second state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit to drive the motor in the second mode (for example, a mode in which the motor discharges reverse voltage or reverse current in a power-off state). The control signal here (for example, the first control signal, the second control signal or other control signals) can be a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment. The pin state here (for example, the first state, the second state) can be a constant state that keeps the corresponding pin on or off, or an alternating state that keeps the corresponding pin on or off for a certain period of time or at a certain moment.For example, when the speed of the motor needs to be adjusted when the motor is in a working state, the motor voltage is in the rated voltage range of the motor or the motor current is in the rated current range of the motor. The detection control circuit can output a first control signal to the drive circuit to control the target pins in the first part of the pins of the drive circuit to be turned on with a certain duty cycle, and control the non-target pins in the first part of the pins to be turned off. At the same time, the target pins in the second part of the pins of the drive circuit are controlled to be turned on with a certain duty cycle, and the non-target pins in the second part of the pins are controlled to be turned off, so that the drive circuit drives the motor in a first mode (for example, a speed adjustment mode when the motor is in a working state).
[0044] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and when the motor voltage or the motor current meets different conditions, it can control the pins of the drive circuit to different states by outputting different control signals to the drive circuit, so that the drive circuit drives the motor in different modes, so that the motor works under the power provided by the power supply or discharges the current generated by the reverse voltage of the motor. For example, when the power supply stops supplying power to the motor, the motor control device can output different control signals to the drive circuit by detecting the control circuit, control the on and off states of different pins of the drive circuit, switch to drive the motor in different modes, discharge the current generated by the reverse voltage of the motor, and reduce the design cost while ensuring safety. The structure is simple, the method is simple, and the applicability is strong.
[0045] In combination with the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the detection control circuit may include a voltage detection circuit and a control circuit, the control circuit may be connected to a power supply, a voltage detection circuit and a drive circuit, the voltage detection circuit may be connected to a motor, and the method may further include:
[0046] Detect the motor voltage and transmit the value of the motor voltage to the control circuit.
[0047] It can be understood that the voltage value here (for example, the first voltage value, the second voltage value or other voltage value) is a parameter used by the motor control device to determine the motor state, which can be detected by a voltage detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the voltage detection circuit for reception, and then the motor voltage value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. It can be further understood that for the motor voltage detected by the voltage detection circuit, the motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit and the power supply, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or a certain item of the motor, etc., which can represent the motor state. Here, the first voltage value (or the second voltage value or other voltage value) can be a voltage value, can be a plurality of discrete voltage values, can be a voltage interval composed of a plurality of discrete voltage values or continuous voltage values. Here, the motor voltage satisfies a certain voltage value (for example, a first voltage value, a second voltage value, or other voltage values), which can be understood as when the motor voltage satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this voltage value (or voltage interval), or when the motor voltage is within the voltage interval of this voltage value, the motor voltage can be considered to satisfy this voltage value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state in a posture. At this time, the control circuit can control the drive circuit to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, when the reverse voltage is too large or meets certain judgment criteria (for example, meets the second voltage value), the motor needs to discharge the current generated by the reverse voltage corresponding to the discharge state. At this time, the control circuit can control the drive circuit to drive the motor in the second mode; the state of the motor also includes other application scenarios. In which the drive circuit in the motor control device can drive the motor in a corresponding state, at this time, the control circuit can control the drive circuit to drive the motor in other modes.
[0048] In the present application, the motor control device can obtain the motor voltage through the voltage detection circuit, and then judge the state of the motor based on the motor voltage, and when the motor voltage or motor current meets different conditions, drive the motor in different modes through the control circuit and the drive circuit, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. While ensuring safety, the design cost is reduced, the structure is simple, the method is simple, and the applicability is strong.
[0049] In combination with the second aspect or the first possible implementation manner of the second aspect, in a third possible implementation manner, the detection control circuit may include a current detection circuit and a control circuit, the control circuit may be connected to a power supply, a current detection circuit and a drive circuit, the current detection circuit may be connected to a motor, and the method may further include:
[0050] Detect the motor current and transmit the value of the motor current to the control circuit.
[0051] It can be understood that the current value here (for example, the first current value, the second current value or other current value) is a parameter used by the motor control device to determine the motor state, which can be detected by the current detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the current detection circuit for reception, and then the motor current value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. It can be further understood that for the motor current detected by the current detection circuit, the motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the motor state. Here, the first current value (or the second current value or other current value) can be a current value, can be a plurality of discrete current values, can be a current interval composed of a plurality of discrete current values or a continuous current value. Here, the motor current satisfies a certain current value (for example, a first current value, a second current value, or other current values), which can be understood as when the motor current satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this current value (or current interval), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state in a posture. At this time, the control circuit can control the drive circuit to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate reverse current), after the motor generates reverse current, when the reverse current is too large or meets certain judgment criteria (for example, meets the second current value), the motor needs to discharge the discharge state corresponding to the reverse current. At this time, the control circuit can control the drive circuit to drive the motor in the second mode; the state of the motor also includes other application scenarios. In which the drive circuit in the motor control device can drive the motor in a corresponding state, at this time, the control circuit can control the drive circuit to drive the motor in other modes.
[0052] In the present application, the motor control device can obtain the motor current through the current detection circuit, and then judge the state of the motor based on the motor current, and drive the motor in different modes through the control circuit and the drive circuit when the motor current or the motor current meets different conditions, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0053] In combination with the second aspect or the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the detection control circuit may further include a temperature detection circuit, and the temperature detection circuit may be connected to the control circuit and the motor. The method may further include:
[0054] The motor temperature is detected and the value of the motor temperature is transmitted to the control circuit. When the motor voltage meets the second voltage value or the motor current meets the second current value, and the motor temperature meets the first temperature value, the second part of the pins of the driving circuit are controlled to drive the motor in a third mode.
[0055] It can be understood that the temperature value here (for example, the first temperature value, the second temperature value or other temperature values) is a parameter used by the motor control device to determine the motor state, which can be detected by a temperature detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the temperature detection circuit for reception, and then the motor temperature value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. It can be further understood that for the motor temperature detected by the temperature detection circuit, the motor temperature here can be the temperature of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the temperature of the positive or negative pole of the motor, or the temperature of a certain phase of the motor, etc., which can represent the motor state. Here, the first temperature value (or other temperature values) can be a temperature value, can be a plurality of discrete temperature values, can be a temperature interval consisting of a plurality of discrete temperature values or continuous temperature values. The motor temperature here satisfies a certain temperature value (for example, a first temperature value or other temperature value), which can be understood as when the motor temperature and this temperature value (or temperature interval) meet a certain size relationship (or proportional relationship, or other functional relationship), or when the motor temperature is within the temperature interval of this temperature value, the motor temperature can be considered to meet this temperature value. The drive mode of the motor here can be defined by the working state of the motor, for example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage or a reverse current), after the motor generates a reverse voltage (or a reverse current), when the reverse voltage (or reverse current) is too large or meets certain judgment criteria (for example, meets the second voltage value or the second current value), and the motor temperature is too high or meets certain judgment criteria (for example, meets the first temperature value), the motor needs to discharge the discharge state corresponding to the reverse voltage (or reverse current), and at this time the control circuit can control the drive circuit to drive the motor in the third mode.
[0056] In the present application, the motor control device can obtain the motor temperature through the temperature detection circuit, and then further judge the state of the motor based on the motor temperature, and when the motor voltage (or motor current) and the motor temperature meet different conditions, the motor is driven in different modes through the control circuit and the drive circuit, so that the motor can work under the electric energy provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0057] In combination with the second aspect or any possible implementation manner of the second aspect, in a fifth possible implementation manner, the method may further include:
[0058] When the motor voltage satisfies the second voltage value and the third voltage value, or the motor current satisfies the second current value and the third current value, the second part of the pins of the driving circuit are controlled to drive the motor in a fourth mode.
[0059] It can be understood that the voltage value here (for example, the second voltage value or the third voltage value) can be a voltage value, can be multiple discrete voltage values, can be a voltage interval consisting of multiple discrete voltage values or continuous voltage values. The current value (for example, the second current value or the third current value) can be a current value, can be multiple discrete current values, can be a current interval consisting of multiple discrete current values or continuous current values. The motor voltage or motor current here satisfies a certain voltage value (for example, the second voltage value or the third voltage value) or current value (for example, the second current value or the third current value), which can be understood as when the motor voltage or motor current satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this voltage value (or voltage interval) or current value (or current interval), or when the motor voltage (or motor current) is within the voltage interval of this voltage value (within the current interval of the current value), it can be considered that the motor voltage (or motor current) satisfies this voltage value (or current value). The driving mode of the motor here can be defined by the working state of the motor, for example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage or a reverse current), after the motor generates a reverse voltage (or a reverse current), when the reverse voltage (or reverse current) is too large or meets certain judgment criteria (for example, meets the second voltage value or the second current value), and the motor voltage or the motor current further increases or decreases (for example, meets the third voltage value or the third current value), the motor needs to adjust the discharge state corresponding to the discharge reverse voltage (or reverse current). At this time, the control circuit can control the drive circuit to drive the motor in the fourth mode.
[0060] In the present application, the motor control device can continuously obtain the motor voltage or motor current through the voltage detection circuit or the current detection circuit, and further judge the state of the motor, and when the motor voltage or the motor current meets different conditions, drive the motor in different modes through the control circuit and the drive circuit, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0061] In combination with the second aspect or any possible implementation manner of the second aspect, in a sixth possible implementation manner, the motor control device may further include a voltage transformation circuit, the voltage transformation circuit may be connected to the detection control circuit, and the method may further include:
[0062] The motor voltage is reduced to a target drive voltage, and the target drive voltage is output to the detection control circuit.
[0063] Here, the voltage conversion circuit can reduce the motor voltage to the target drive voltage, and output the target drive voltage to the detection control circuit. The voltage conversion circuit here can be integrated with each functional module in the detection control circuit as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or it can be separated as an independent functional module, or one part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work. It can be set according to the application scenario, and there is no limitation here. The design method is diverse and can be applied to different application scenarios.
[0064] In combination with the second aspect or any possible implementation of the second aspect, in a seventh possible implementation, the second voltage value is greater than the first voltage value, and the second current value is greater than the first current value. Here, the first voltage value and the second voltage value, as well as the first current value and the second current value can be specifically set based on the application scenario, and have strong applicability.
[0065] In combination with the second aspect or any possible implementation manner of the second aspect, in an eighth possible implementation manner, the third voltage value is greater than the second voltage value, and the third current value is greater than the second current value. Here, the second voltage value and the third voltage value, as well as the second current value and the third current value can be specifically set based on the application scenario, and have strong applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 is a schematic diagram of an application scenario of the motor control device provided in an embodiment of the present application;
[0067] Figure 2 is a structural schematic diagram of a motor control device provided in an embodiment of the present application;
[0068] Figure 3 is another structural schematic diagram of the motor control device provided in an embodiment of the present application;
[0069] Figure 4 is another structural schematic diagram of the motor control device provided in an embodiment of the present application;
[0070] Figure 5 is another structural schematic diagram of the motor control device provided in an embodiment of the present application;
[0071] Figure 6 is another structural schematic diagram of the motor control device provided in an embodiment of the present application;
[0072] Figure 7 is another structural schematic diagram of the motor control device provided in an embodiment of the present application;
[0073] Figure 8 is another structural schematic diagram of the motor control device provided in an embodiment of the present application;
[0074] Fig. 9 is another structural schematic diagram of the motor control device provided in an embodiment of the present application;
[0075] Fig.10 It is a flow chart of the control method provided in the embodiment of the present application. DETAILED DESCRIPTION
[0076] The motor control device provided in the present application can be applicable to various application fields such as the field of intelligent devices, the field of traditional mechanical equipment, the field of aviation models, the field of unmanned aerial vehicles, the field of underwater robots, etc., which can be determined according to the actual application scenario, and no limitation is made here. The motor control device provided in the present application can be applicable to different motor drive systems such as the motor drive system of intelligent devices and the motor drive system of traditional mechanical equipment, which can be determined according to the actual application scenario, and no limitation is made here. The motor control device provided in the present application can be adapted to different application scenarios, such as the application scenario of controlling the motor in the intelligent mechanical equipment, the application scenario of controlling the motor of the servo in the unmanned aerial vehicle, the application scenario of controlling the smart home device, or other application scenarios. The application scenario of controlling the motor of the servo in the unmanned aerial vehicle will be taken as an example for explanation below, and no further details will be given below.
[0077] See also Figure 1 , Figure 1 Schematic diagram of the application scenario of the motor control device provided in the embodiment of the present application. Figure 1 As shown, the drive system includes a motor control device 1, a power supply 2 and a motor 3, wherein the motor control device 1 includes a drive circuit 12, and the power supply 2 can be connected to the motor 3 through the drive circuit 12. In some feasible implementations, the power supply 2 can power the motor 3 through the drive circuit 12. It can be understood that the power supply 2 provided in the present application is suitable for powering the motor of a mechanical device, or for powering the motor in an intelligent device. The specific application can be determined according to the actual application scenario and is not limited here. It can be further understood that Figure 1 The motor 3 may include a three-phase motor or a brushless DC motor, etc., which may be determined according to the actual application scenario and is not limited here. In some feasible implementations, one end of the detection control circuit 11 may be connected to a power supply, and the other end of the detection control circuit 11 may be connected to the motor through the drive circuit 12. The detection control circuit 11 may determine the state of the motor based on the motor voltage, and drive the motor in different modes when the motor voltage meets different conditions, so that the motor rotates or discharges the current generated by the reverse voltage.
[0078] In the application scenario of controlling the motor in the servo, when the power supply stops supplying power to the motor, turning the servo (or other parts connected to the motor rotor) or rotating the servo in other ways will cause the motor rotor in the servo to run and cut the magnetic flux lines, generating a reverse electromotive force. If the reverse electromotive force cannot be quickly discharged inside the servo (or motor), it is very easy to damage the components of the motor power supply path, and even cause the components to smoke and burn in the case of serious motor failure. Here, the motor control device 1 can adjust the drive mode of the motor 3 and discharge the electric energy generated by the reverse voltage when it is detected that the motor voltage meets the reverse voltage standard. That is to say, when the power supply 2 supplies power to the motor 3, the motor control device 1 can transmit the electric energy provided by the power supply 2 to the motor 3; when the motor generates a reverse voltage (or reverse electromotive force), the motor control device 1 can discharge the electric energy generated by the reverse voltage of the motor 3.
[0079] The motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit 12 and the power supply 2, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or a certain item of the motor, etc., which can represent the state of the motor. It can be further understood that the motor control device 1 here can detect the motor current (or other parameters such as motor power), or calculate the motor voltage based on the motor current (or other parameters such as motor power), and then determine the state of the motor based on the motor current (or other parameters such as motor power) or the motor voltage. The motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit 12 and the power supply 2, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the state of the motor. Here, the state of the motor includes when the power supply 2 supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state at a posture; the state of the motor also includes when the power supply 2 stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, the discharge state corresponding to the current generated by the reverse voltage needs to be discharged; the state of the motor also includes the corresponding state in which the drive circuit 12 in the motor control device 1 can drive the motor in other application scenarios.
[0080] Here, the drive circuit 12 may include a first part of pins and a second part of pins. The pins of the drive circuit 12 here may include only the first part of pins and the second part of pins, or may include other parts of pins in addition to the first part of pins and the second part of pins. The pins here (for example, the first part of pins and the second part of pins) may be control terminals for controlling internal components of the drive circuit 12 after it is packaged as an integrated circuit, or may be control terminals of multiple independent components (for example, electronic components such as switch tubes) in the drive circuit 12. That is to say, the first part of pins and the second part of pins here belong to the control terminal of the drive circuit 12. At the same time, the control terminal of the drive circuit 12 (for example, the high and low level terminals, enable terminals, or other ports such as the signal input terminal of the drive circuit 12) may include only the first part of pins and the second part of pins, or may include other parts of pins except the first part of pins and the second part of pins. It can be understood that the motor control device 1 can drive the motor in different modes by controlling different pins of the drive circuit 12. The detection control circuit 11 here can be used to control the first part of the pins and the second part of the pins of the drive circuit 12 to drive the motor in the first mode when the motor voltage meets the first voltage value or the motor current meets the first current value. The detection control circuit 11 can be used to control the second part of the pins of the drive circuit 12 to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. The voltage value (for example, the first voltage value, the second voltage value or other voltage values) and the current value (for example, the first current value, the second current value or other current values) here are parameters used by the motor control device 1 to determine the state of the motor, which can be detected by the detection control circuit 11 integrated in the motor control device, or can be detected by a module with a detection function outside the motor control device and transmitted to the detection control circuit 11 for reception. In other words, the detection control circuit 11 here can be integrated with the drive circuit 12 as a whole (for example, integrated in a chip or an integrated circuit board, etc.), or it can be separated as an independent functional module to work, which can be set according to the application scenario and is not limited here.
[0081] In some possible implementations, the pins of the drive circuit 12 include but are not limited to the first part of the pins and the second part of the pins. It can be understood that the pins of the drive circuit 12 here may include only the first part of the pins and the second part of the pins, or may include other parts of the pins in addition to the first part of the pins and the second part of the pins. The pins here (for example, the first part of the pins and the second part of the pins) can be the control end of the drive circuit 12 for controlling its internal components after being packaged as an integrated circuit, or can be the control end of multiple independent components (for example, electronic components such as switch tubes) in the drive circuit 12. In other words, the first part of the pins and the second part of the pins here belong to the control end of the drive circuit 12. At the same time, the control end of the drive circuit 12 (for example, the high and low level ends, the enable end, or other ports such as the signal input end of the drive circuit 12) can include only the first part of the pins and the second part of the pins, or can include other parts of the pins except the first part of the pins and the second part of the pins. At the same time, it can be understood that the pin types of each pin in the first part of pins and the second part of pins here can be the same or different. For example, the pins in the first part of pins and the second part of pins can all belong to the control end of the signal input type, or one or more pins can belong to the control end of the signal input type, or one or more pins can belong to the control end of the high and low level type, or one or more pins can belong to other types of control ends. Here, the type of the same pin can also be converted based on the application scenario. For example, a certain pin or several pins belong to the control end of the high and low level type when driving the motor in the working state, and belong to the control end of the signal input type when it needs to discharge the reverse current or reverse voltage. The pin composition and type of the drive circuit 12 in the present application are diverse and flexible, and can be applied to different application scenarios, thereby improving the adaptability of the device.
[0082] Here, the first voltage value (or the first current value or the first power value) can be a voltage value (or current value or power value), can be a plurality of discrete voltage values (or current values or power values), can be a voltage interval (or current interval or power interval) composed of a plurality of discrete voltage values (or current values or power values) or a continuous voltage value (or current value or power value). The motor voltage here satisfies a certain voltage value (for example, the first voltage value, the second voltage value or other voltage value), which can be understood as when the motor voltage and this voltage value (or voltage interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor voltage is within the voltage interval of this voltage value, the motor voltage can be considered to satisfy this voltage value. At the same time, the motor current here satisfies a certain current value (for example, the first current value, the second current value or other current value), which can be understood as when the motor current and this current value (or current interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value.
[0083] The first voltage value and / or the first current value here can be the rated working voltage or rated working current of the motor, or a pre-set voltage value or current value, or the working voltage or working current of the motor collected in a test environment or other working environment. The second voltage value and / or the second current value here can be obtained based on the rated working voltage or rated working current of the motor (for example, a voltage value or voltage interval greater than the rated working voltage is used as the second voltage value), or can be obtained based on a pre-set voltage value or current value (for example, the voltage that can be borne by the components on the motor and the power supply 2 path is set to the second voltage value), or can be the reverse voltage or reverse current of the motor collected in a test environment or other working environment (for example, in a specific application scenario, the reverse voltage generated by the reverse rotation of the motor is set to the second voltage value). In some feasible implementations, the second voltage value can be greater than the first voltage value, and the second current value can be greater than the first current value. Here, the first voltage value and the second voltage value, as well as the first current value and the second current value can be specifically set based on the application scenario, and have strong applicability.
[0084] In some feasible implementations, the detection control circuit 11 may be used to output a first control signal to the drive circuit 12 to control the first part of the pins and the second part of the pins of the drive circuit 12 to be in the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the drive circuit 12 drives the motor in the first mode. The detection control circuit 11 may be used to output a second control signal to the drive circuit 12 to control the second part of the pins of the drive circuit 12 to be in the second state when the motor voltage meets the second voltage value or the motor current meets the second current value, so that the drive circuit 12 drives the motor in the second mode.
[0085] It can be understood that the pins here (for example, the first part of the pins and the second part of the pins) can be the control terminals for controlling the internal components of the drive circuit 12 after it is packaged as an integrated circuit, or can be the control terminals of multiple independent components in the drive circuit 12 (for example, electronic components such as switch tubes). In other words, the motor control device can drive the motor in different modes by controlling different pins of the drive circuit 12. The detection control circuit 11 here can be used to control the first part of the pins and the second part of the pins of the drive circuit 12 to be in the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the drive circuit 12 drives the motor in the first mode. For example, when the motor voltage is within the rated voltage range of the motor or the motor current is within the rated current range of the motor, the detection control circuit 11 can output a first control signal to the drive circuit 12, control one or more target pins in the first part of the pins of the drive circuit 12 to be high (and / or control the non-target pins in the first part of the pins to be low), and control one or more target pins in the second part of the pins to be high (and / or control the non-target pins in the second part of the pins to be low), so that the first part of the pins and the second part of the pins of the control drive circuit 12 are in the first state (for example, the target pins in the first part of the pins are turned on, the non-target pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), so that the drive circuit 12 drives the motor in a first mode (for example, an angle adjustment mode or a speed adjustment mode when the motor is in a working state). The detection control circuit 11 here can be used to control the second part of the pins of the drive circuit 12 to drive the motor in a second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit 11 can output a second control signal to the drive circuit 12 to control one or more target pins in the second part of the pins of the drive circuit 12 to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit 12 are in the second state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby making the drive circuit 12 drive the motor in the second mode (for example, the mode of discharging reverse voltage or reverse current in the power-off state of the motor). The control signal here (for example, the first control signal, the second control signal or other control signal) can be a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment.The pin state (for example, the first state, the second state) here can be a constant state in which the corresponding pin remains on or off, or an alternating state in which the corresponding pin remains on or off for a certain period of time or at a certain moment. For example, when the motor is in a working state and the speed of the motor needs to be adjusted, the motor voltage is in the rated voltage range of the motor or the motor current is in the rated current range of the motor, the detection control circuit 11 can output a first control signal to the drive circuit 12, control the target pins in the first part of the pins of the drive circuit 12 to be turned on at a certain duty cycle, control the non-target pins in the first part of the pins to be turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 12 to be turned on at a certain duty cycle, and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 12 drives the motor in a first mode (for example, the speed adjustment mode when the motor is in a working state).
[0086] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and drive the motor in different modes when the motor voltage or the motor current meets different conditions, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. While ensuring safety, the design cost is reduced, the structure is simple, the method is simple, and the applicability is strong.
[0087] The following will be combined Figures 2 to 10 The motor control device provided in the present application and its working principle are illustrated.
[0088] In some feasible implementations, the detection control circuit may include a voltage detection circuit and a control circuit. Figure 2 , Figure 2 Schematic diagram of a motor control device provided in an embodiment of the present application. Figure 2 As shown, the control circuit 102 can be connected to a power supply, a voltage detection circuit 101 and a drive circuit 103, and the voltage detection circuit 101 can be connected to a motor. The voltage detection circuit 101 can be used to detect the motor voltage and transmit the value of the motor voltage to the control circuit 102. The control circuit 102 can be used to control the first part of the pins and the second part of the pins or the second part of the pins of the drive circuit 103 when the motor voltage meets the first voltage value or the second voltage value, and drive the motor in the first mode or the second mode.
[0089] It can be understood that the voltage value here (for example, the first voltage value, the second voltage value or other voltage value) is a parameter used by the motor control device to determine the motor state, which can be detected by the voltage detection circuit 101 integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the voltage detection circuit 101 for reception, and then the motor voltage value or the characterization value of the motor state is transmitted to the control circuit 102 to control the drive circuit 103. In other words, the voltage detection circuit 101 and the control circuit 102 here can be integrated with the drive circuit 103 as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or can be separated as independent functional modules, or one part of the circuit can be integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part can be separated as an independent functional module to work, which can be set according to the application scenario and is not limited here. It can be further understood that for the motor voltage detected by the voltage detection circuit 101, the motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit 103 and the power supply, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or a certain item of the motor, etc., which can represent the state of the motor. Here, the first voltage value (or the second voltage value or other voltage values) can be a voltage value, can be a plurality of discrete voltage values, can be a voltage interval composed of a plurality of discrete voltage values or continuous voltage values. The motor voltage here satisfies a certain voltage value (for example, the first voltage value, the second voltage value or other voltage values), which can be understood as when the motor voltage satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this voltage value (or voltage interval), or when the motor voltage is within the voltage interval of this voltage value, it can be considered that the motor voltage satisfies this voltage value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply is supplying power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state. At this time, the control circuit 102 can control the drive circuit 103 to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, when the reverse voltage is too large or meets certain judgment criteria (for example, meets a second voltage value), the motor needs to discharge the current generated by the reverse voltage to a discharge state corresponding to the discharge state. At this time, the control circuit 102 can control the drive circuit 103 to drive the motor in the second mode; the state of the motor also includes other application scenarios in which the drive circuit 103 in the motor control device can drive the motor in a corresponding state. At this time, the control circuit 102 can control the drive circuit 103 to drive the motor in other modes.
[0090] In the present application, the motor control device can obtain the motor voltage through the voltage detection circuit 101, and then judge the state of the motor based on the motor voltage, and when the motor voltage or the motor current meets different conditions, drive the motor in different modes through the control circuit 102 and the drive circuit 103, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. While ensuring safety, the design cost is reduced, the structure is simple, the method is simple, and the applicability is strong.
[0091] In some feasible implementations, the detection control circuit may include a current detection circuit and a control circuit. Figure 3 , Figure 3 is another structural schematic diagram of the motor control device provided in the embodiment of the present application. Figure 3As shown, the detection control circuit 202 may include a current detection circuit 201 and a control circuit 202, the control circuit 202 may be connected to a power supply, a current detection circuit 201 and a drive circuit 203, and the current detection circuit 201 may be connected to a motor. The current detection circuit 201 may be used to detect the motor current and transmit the value of the motor current to the control circuit 202. The control circuit 202 may be used to control the first part of the pins and the second part of the pins or the second part of the pins of the drive circuit 203 when the motor current meets the first current value or the second current value, and drive the motor in the first mode or the second mode. It can be understood that the current value (for example, the first current value, the second current value or other current values) here is a parameter used by the motor control device to determine the state of the motor, which can be detected by the current detection circuit 201 integrated in the motor control device, or it can be detected by a module with a detection function outside the motor control device and transmitted to the current detection circuit 201 for reception, and then the motor current value or the characterization value of the motor state is transmitted to the control circuit 202 to control the drive circuit 203. That is to say, the current detection circuit 201 and the control circuit 202 here can be integrated with the drive circuit 203 as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or they can be separated as independent functional modules, or one part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. It can be further understood that for the motor current detected by the current detection circuit 201, the motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit 203 and the power supply, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the state of the motor. Here, the first current value (or the second current value or other current value) can be a current value, can be a plurality of discrete current values, can be a current interval composed of a plurality of discrete current values or a continuous current value. The motor current here satisfies a certain current value (for example, a first current value, a second current value or other current value). It can be understood that when the motor current and this current value (or current interval) satisfy a certain size relationship (or proportional relationship, or other functional relationship), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value.Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply is supplying power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state. At this time, the control circuit 202 can control the drive circuit 203 to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate reverse current), after the motor generates a reverse current, when the reverse current is too large or meets certain judgment criteria (for example, meets a second current value), the motor needs to discharge the reverse current corresponding to the discharge state. At this time, the control circuit 202 can control the drive circuit 203 to drive the motor in the second mode; the state of the motor also includes other application scenarios in which the drive circuit 203 in the motor control device can drive the motor in a corresponding state. At this time, the control circuit 202 can control the drive circuit 203 to drive the motor in other modes.
[0092] In the present application, the motor control device can obtain the motor current through the current detection circuit 201, and then judge the state of the motor based on the motor current, and when the motor current or the motor current meets different conditions, drive the motor in different modes through the control circuit 202 and the drive circuit 203, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0093] In some feasible implementations, when the detection control circuit includes a voltage detection circuit, the detection control circuit may also include a temperature detection circuit. Figure 4 , Figure 4 is another structural schematic diagram of the motor control device provided in the embodiment of the present application. Figure 4 As shown, the detection control circuit may further include a temperature detection circuit 304, and the temperature detection circuit 304 may be connected to the control circuit 302 and the motor. The temperature detection circuit 304 may be used to detect the temperature of the motor and transmit the value of the motor temperature to the control circuit 302. The control circuit 302 may be used to control the second part of the pins of the driving circuit 303 to drive the motor in a third mode when the motor voltage meets the second voltage value and the motor temperature meets the first temperature value.
[0094] It can be understood that the temperature value here (for example, the first temperature value, the second temperature value or other temperature value) is a parameter used by the motor control device to determine the motor state, which can be detected by the temperature detection circuit 304 integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the temperature detection circuit 304 for reception, and then the motor temperature value or the characterization value of the motor state is transmitted to the control circuit 302 to control the drive circuit 303. In other words, the temperature detection circuit 304, the voltage detection circuit 301, and the control circuit 302 here can be integrated with the drive circuit 303 as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or can be separated as an independent functional module, or a part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario and is not limited here. It can be further understood that for the motor temperature detected by the temperature detection circuit 304, the motor temperature here can be the temperature of the positive DC bus or the negative DC bus between the drive circuit 303 and the power supply, or the temperature of the positive or negative pole of the motor, or the temperature of a certain phase of the motor, etc., which can represent the state of the motor. Here, the first temperature value (or other temperature values) can be a temperature value, can be a plurality of discrete temperature values, can be a temperature interval composed of a plurality of discrete temperature values or continuous temperature values. The motor temperature here satisfies a certain temperature value (for example, the first temperature value or other temperature values), which can be understood as when the motor temperature satisfies a certain size relationship (or proportional relationship, or other functional relationship) with this temperature value (or temperature interval), or when the motor temperature is within the temperature interval of this temperature value, it can be considered that the motor temperature satisfies this temperature value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, when the reverse voltage is too large or meets certain judgment criteria (for example, meets the second voltage value), and the motor temperature is too high or meets certain judgment criteria (for example, meets the first temperature value), the motor needs to discharge the reverse voltage corresponding to the discharge state. At this time, the control circuit 302 can control the drive circuit 303 to drive the motor in the third mode.
[0095] Here, when the motor voltage is greater than the rated voltage range of the motor and the motor temperature is greater than a certain temperature threshold (for example, a first temperature value), the detection control circuit 302 can output a third control signal to the drive circuit 303 to control one or more target pins in the second part of the pins of the drive circuit 303 to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit 303 are in a third state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit 303 to drive the motor in a third mode (for example, a mode in which the motor discharges a reverse voltage or a reverse current in a power-off state). The control signal here (for example, the third control signal) can be either a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment. The pin state here (for example, the third state) can be a constant state in which the corresponding pin remains on or off, or an alternating state in which the corresponding pin remains on or off for a certain period of time or at a certain moment.
[0096] For example, when the motor is in the discharge state, the motor voltage is in the reverse voltage range that needs to be discharged. The detection control circuit 302 can output a second control signal to the drive circuit 303 to control each pin in the first part of the pins of the drive circuit 303 to remain turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 303 to be turned on with a certain duty cycle (for example, the first duty cycle), and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 303 drives the motor in the second mode (for example, the mode when the motor is in the discharge state). When the motor is in a discharge state and the ability to discharge reverse voltage of the motor needs to be further adjusted, the motor voltage is in the reverse voltage range that needs to be discharged, and the motor temperature is greater than or equal to a certain temperature threshold, the detection control circuit 302 can output a third control signal to the drive circuit 303 to control each pin in the first part of the pins of the drive circuit 303 to remain turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 303 to be turned on with another duty cycle (for example, a second duty cycle greater than the first duty cycle), and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 303 drives the motor in a third mode (for example, a mode that further enhances the motor discharge capability when the motor is in a discharge state).
[0097] In the present application, the motor control device can obtain the motor temperature through the temperature detection circuit, and then further judge the state of the motor based on the motor temperature, and when the motor voltage and the motor temperature meet different conditions, the motor can be driven in different modes through the control circuit and the drive circuit, so that the motor can work under the electric energy provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0098] In some feasible implementations, the control circuit 302 may also be used to control the second part of the pins of the drive circuit 303 to drive the motor in a fourth mode when the motor voltage satisfies the second voltage value and satisfies the third voltage value. It can be understood that the voltage value here (for example, the second voltage value or the third voltage value) can be a voltage value, can be a plurality of discrete voltage values, can be a voltage interval consisting of a plurality of discrete voltage values or a continuous voltage value. The motor voltage here satisfies a certain voltage value (for example, the second voltage value or the third voltage value), which can be understood as when the motor voltage and this voltage value (or voltage interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor voltage is within the voltage interval of this voltage value, the motor voltage can be considered to satisfy this voltage value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, when the reverse voltage is too large or meets certain judgment criteria (for example, meets the second voltage value), and the motor voltage or motor current further increases or decreases (for example, meets the third voltage value), the motor needs to adjust the discharge state corresponding to the discharge reverse voltage. At this time, the control circuit 302 can control the drive circuit 303 to drive the motor in the fourth mode.
[0099] Here, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, and the motor voltage or the motor current further satisfies a certain voltage value (for example, a third voltage value), the detection control circuit 302 can output a fourth control signal to the drive circuit 303, controlling one or more target pins in the second part of the pins of the drive circuit 303 to be high level (and / or controlling the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit 303 are in the fourth state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit 303 to drive the motor in a fourth mode (for example, a mode in which the motor discharges a reverse voltage or a reverse current in a power-off state). The control signal here (for example, the fourth control signal) can be a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment. The pin state here (for example, the fourth state) can be either a constant state in which the corresponding pin remains on or off, or an alternating state in which the corresponding pin remains on or off for a certain period of time or at a certain moment.
[0100] For example, when the motor is in the discharge state, the motor voltage is in the reverse voltage range that needs to be discharged or the motor current is in the reverse current range that needs to be discharged, and the detection control circuit 302 can output a second control signal to the drive circuit 303 to control each pin in the first part of the pins of the drive circuit 303 to remain turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 303 to be turned on with a certain duty cycle (for example, the first duty cycle), and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 303 drives the motor in the second mode (for example, the mode when the motor is in the discharge state). For another example, when the motor needs to further adjust its ability to discharge reverse voltage when it is in a discharge state, the motor voltage is in the reverse voltage range that needs to be discharged, and the motor voltage or motor current further increases to a certain voltage threshold (for example, a third voltage value), the detection control circuit 302 can output a fourth control signal to the drive circuit 303, control each pin in the first part of the drive circuit 303 to remain turned off, and control the target pin in the second part of the drive circuit 303 to turn on with another duty cycle (for example, a third duty cycle greater than the first duty cycle), and control the non-target pin in the second part of the pins to turn off, so that the drive circuit 303 drives the motor in a fourth mode (for example, a mode that further enhances the motor discharge capacity when the motor is in a discharge state). In some feasible embodiments, the third voltage value may be greater than the second voltage value. Here, the second voltage value and the third voltage value can be specifically set based on the application scenario, and the applicability is strong.
[0101] In the present application, the motor control device can continuously obtain the motor voltage through the voltage detection circuit 301 to further determine the state of the motor, and when the motor voltage meets different conditions, the motor is driven in different modes through the control circuit 302 and the drive circuit 303, so that the motor works under the power provided by the power supply or discharges the reverse voltage of the motor. While ensuring safety, the design cost is reduced, the structure is simple, the method is simple, and the applicability is strong.
[0102] In some feasible implementations, when the detection control circuit includes a current detection circuit, the detection control circuit may also include a temperature detection circuit. Figure 5 , Figure 5 is another structural schematic diagram of the motor control device provided in the embodiment of the present application. Figure 5 As shown, the detection control circuit may further include a temperature detection circuit 404, which may be connected to the control circuit 402 and the motor. The temperature detection circuit 404 may be used to detect the temperature of the motor and transmit the value of the motor temperature to the control circuit 402. The control circuit 402 may be used to control the second part of the pins of the drive circuit 403 to drive the motor in a third mode when the motor current meets the second current value and the motor temperature meets the first temperature value.
[0103] It can be understood that the temperature value here (for example, the first temperature value, the second temperature value or other temperature value) is a parameter used by the motor control device to determine the motor state, which can be detected by the temperature detection circuit 404 integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the temperature detection circuit 404 for reception, and then the motor temperature value or the characterization value of the motor state is transmitted to the control circuit 402 to control the drive circuit 403. In other words, the temperature detection circuit 404, the current detection circuit 401, and the control circuit 402 here can be integrated with the drive circuit 403 as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or can be separated as an independent functional module, or a part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario and is not limited here. It can be further understood that for the motor temperature detected by the temperature detection circuit 404, the motor temperature here can be the temperature of the positive DC bus or the negative DC bus between the drive circuit 403 and the power supply, or the temperature of the positive or negative pole of the motor, or the temperature of a certain phase of the motor, etc., which can represent the state of the motor. Here, the first temperature value (or other temperature values) can be a temperature value, can be a plurality of discrete temperature values, can be a temperature interval composed of a plurality of discrete temperature values or continuous temperature values. The motor temperature here satisfies a certain temperature value (for example, the first temperature value or other temperature values), which can be understood as when the motor temperature satisfies a certain size relationship (or proportional relationship, or other functional relationship) with this temperature value (or temperature interval), or when the motor temperature is within the temperature interval of this temperature value, it can be considered that the motor temperature satisfies this temperature value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate reverse current), after the motor generates reverse current, when the reverse current is too large or meets certain judgment criteria (for example, meets the second current value), and the motor temperature is too high or meets certain judgment criteria (for example, meets the first temperature value), the motor needs to discharge the reverse current corresponding to the discharge state. At this time, the control circuit 402 can control the drive circuit 403 to drive the motor in the third mode.
[0104] Here, when the motor current is greater than the rated current range of the motor and the motor temperature is greater than a certain temperature threshold (for example, a first temperature value), the detection control circuit 402 can output a third control signal to the drive circuit 403 to control one or more target pins in the second part of the pins of the drive circuit 403 to be high (and / or control the non-target pins in the second part of the pins to be low), so that the first part of the pins and the second part of the pins of the control drive circuit 403 are in a third state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit 403 to drive the motor in a third mode (for example, a mode in which the motor discharges reverse current or reverse current in a power-off state). The control signal here (for example, the third control signal) can be either a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment. The pin state here (for example, the third state) can be a constant state in which the corresponding pin remains on or off, or an alternating state in which the corresponding pin remains on or off for a certain period of time or at a certain moment.
[0105] For example, when the motor is in the discharge state, the motor current is in the reverse current range that needs to be discharged. The detection control circuit 402 can output a second control signal to the drive circuit 403 to control each pin in the first part of the pins of the drive circuit 403 to remain turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 403 to be turned on with a certain duty cycle (for example, the first duty cycle), and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 403 drives the motor in the second mode (for example, the mode when the motor is in the discharge state). When the motor is in a discharge state and the ability to discharge reverse current of the motor needs to be further adjusted, the motor current is in the reverse current range that needs to be discharged, and the motor temperature is greater than or equal to a certain temperature threshold, the detection control circuit 402 can output a third control signal to the drive circuit 403 to control each pin in the first part of the pins of the drive circuit 403 to remain turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 403 to be turned on with another duty cycle (for example, a second duty cycle greater than the first duty cycle), and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 403 drives the motor in a third mode (for example, a mode that further enhances the motor discharge capability when the motor is in a discharge state).
[0106] In the present application, the motor control device can continuously obtain the motor voltage or motor current through the voltage detection circuit or the current detection circuit, and further judge the state of the motor, and when the motor voltage or the motor current meets different conditions, drive the motor in different modes through the control circuit 402 and the drive circuit 403, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0107] In some feasible implementations, the control circuit 402 may also be used to control the second part of the pins of the drive circuit 403 to drive the motor in a fourth mode when the motor current satisfies the second current value and satisfies the third current value. It can be understood that the current value here (for example, the second current value or the third current value) can be a current value, can be a plurality of discrete current values, can be a current interval consisting of a plurality of discrete current values or a continuous current value. The motor current here satisfies a certain current value (for example, the second current value or the third current value), which can be understood as when the motor current and this current value (or current interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value. Here, the driving mode of the motor can be defined by the working state of the motor, for example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate reverse current), after the motor generates reverse current, when the reverse current is too large or meets certain judgment criteria (for example, the second current value is met), and the motor current or the motor current further increases or decreases (for example, the third current value is met), the motor needs to adjust the discharge state corresponding to the discharge reverse current, and the control circuit 402 can control the drive circuit 403 to drive the motor in the fourth mode. In some feasible embodiments, the third current value can be greater than the second current value. Here, the second current value and the third current value can be specifically set based on the application scenario, and the applicability is strong.
[0108] Here, when the motor current is greater than the rated current range of the motor or the motor current is greater than the rated current range of the motor, and the motor current or the motor current further satisfies a certain current value (for example, a third current value), the detection control circuit 402 can output a fourth control signal to the drive circuit 403, controlling one or more target pins in the second part of the pins of the drive circuit 403 to be high level (and / or controlling the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit 403 are in the fourth state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit 403 to drive the motor in a fourth mode (for example, a mode in which the motor discharges reverse current or reverse current in a power-off state). The control signal here (for example, the fourth control signal) can be a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment. The pin state here (for example, the fourth state) can be either a constant state in which the corresponding pin remains on or off, or an alternating state in which the corresponding pin remains on or off for a certain period of time or at a certain moment.
[0109] For example, when the motor is in the discharge state, the motor voltage is in the reverse voltage range that needs to be discharged or the motor current is in the reverse current range that needs to be discharged, and the detection control circuit 402 can output a second control signal to the drive circuit 403 to control each pin in the first part of the pins of the drive circuit 403 to remain turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 403 to be turned on with a certain duty cycle (for example, the first duty cycle), and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 403 drives the motor in the second mode (for example, the mode when the motor is in the discharge state). For another example, when the motor is in a discharge state and the ability of the motor to discharge reverse current needs to be further adjusted, the motor current is in the reverse current range that needs to be discharged, and the motor current or the motor current further increases to be greater than or equal to a certain current threshold (for example, a third current value), the detection control circuit 402 can output a fourth control signal to the drive circuit 403 to control each pin in the first part of the pins of the drive circuit 403 to remain turned off, and at the same time control the target pins in the second part of the pins of the drive circuit 403 to be turned on with another duty cycle (for example, a third duty cycle greater than the first duty cycle), and control the non-target pins in the second part of the pins to be turned off, so that the drive circuit 403 drives the motor in a fourth mode (for example, a mode that further enhances the motor discharge capability when the motor is in a discharge state).
[0110] In the present application, the motor control device can continuously obtain the motor current through the current detection circuit 401 to further determine the state of the motor, and when the motor current meets different conditions, the motor is driven in different modes through the control circuit 402 and the drive circuit 403, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0111] In some feasible implementations, when the detection control circuit includes a voltage detection circuit, the motor control device may further include a voltage conversion circuit. Figure 6 , Figure 6 is another structural schematic diagram of the motor control device provided in the embodiment of the present application. Figure 6 As shown, the motor control device includes a voltage detection circuit 501, a control circuit 502, a drive circuit 503, a temperature detection circuit 504 and a voltage transformer circuit 505, and the voltage transformer circuit 505 can be connected to the detection control circuit 502. The voltage transformer circuit 505 can be used to reduce the motor voltage to a target drive voltage, and output the target drive voltage to the detection control circuit 502. The voltage transformer circuit 505 here can be integrated with each functional module in the detection control circuit 502 as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or can be separated as an independent functional module, or a part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. The design method is diverse and can be applied to different application scenarios.
[0112] In some feasible implementations, when the detection control circuit includes a current detection circuit, the motor control device may further include a voltage conversion circuit. Figure 7 , Figure 7 is another structural schematic diagram of the motor control device provided in the embodiment of the present application. Figure 7As shown, the motor control device includes a current detection circuit 601, a control circuit 602, a drive circuit 603, a temperature detection circuit 604 and a voltage transformer circuit 605, and the voltage transformer circuit 605 can be connected to the detection control circuit 602. The voltage transformer circuit 605 can be used to reduce the motor voltage to a target drive voltage, and output the target drive voltage to the detection control circuit 602. The voltage transformer circuit 605 here can be integrated with each functional module in the detection control circuit 602 as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or can be separated as an independent functional module, or a part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. The design method is diverse and can be applied to different application scenarios.
[0113] In some feasible implementations, the driving circuit may include three switch bridge arms, and the electronic components (eg, switch tubes) in the switch bridge arms of the driving circuit may be arranged in an integrated manner or separately. Figure 8 , Figure 8 is another structural schematic diagram of the motor control device provided in the embodiment of the present application. Figure 8 As shown, the motor control device includes a voltage detection circuit 701 (or a current detection circuit 701'), a control circuit 702, a drive circuit 703, a temperature detection circuit 704 and a transformer circuit 705. The drive circuit 703 may include three switch bridge arms, each of which may include a first part of switch tubes (e.g., switch tube Q1, switch tube Q3, switch tube Q5) and a second part of switch tubes (e.g., switch tube Q2, switch tube Q4, switch tube Q6), and the control end of the first part of the switch tubes of the drive circuit 703 as the first part of the pins of the drive circuit 703 can be connected to the detection control circuit 702, and the control end of the second part of the switch tubes of the drive circuit 703 as the second part of the pins of the drive circuit 703 can be connected to the detection control circuit 702. For example, in an application scenario where the motor is a three-phase motor, the drive circuit 703 can be connected to the three-phase pins of the three-phase motor through the midpoints of the three switch bridge arms. Here, the midpoint of the bridge arm of the drive circuit 703 can be the connection point of the first part of the switch tubes and the second part of the switch tubes in each switch bridge arm of the drive circuit 703.
[0114] The detection control circuit 702 here can be used to control the first part of the switch tubes and the second part of the switch tubes of the driving circuit 703 to be in the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the driving circuit 703 drives the motor in the first mode. For example, when the motor voltage is within the rated voltage range of the motor or the motor current is within the rated current range of the motor, the detection control circuit 702 can output a first control signal to the driving circuit 703 to control the control end of one or more target switch tubes (for example, switch tube Q1) in the first part of the switch tubes of the driving circuit 703 to be high level (and / or control the control end of the non-target switch tubes (for example, switch tube Q3, switch tube Q5) in the first part of the switch tubes to be low level), and at the same time control the control end of one or more target switch tubes (for example, switch tube Q4, switch tube Q6) in the second part of the switch tubes to be A high level (and / or controls the control end of the non-target switch tube (for example, switch tube Q2) in the second part of the switch tubes to be a low level) so that the first part of the switch tubes and the second part of the switch tubes of the control driving circuit 703 are in the first state (for example, the target switch tube in the first part of the switch tubes is turned on, and the non-target switch tube in the first part of the switch tubes is turned off, the target switch tube in the second part of the switch tubes is turned on, and the non-target switch tube in the second part of the switch tubes is turned off), thereby enabling the driving circuit 703 to drive the motor in a first mode (for example, an angle adjustment mode or a speed adjustment mode when the motor is in a working state).
[0115] The detection control circuit 702 here can be used to control the second part of the switch tubes of the driving circuit 703 to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit 702 can output a second control signal to the driving circuit 703 to control the control end of one or more target switch tubes (for example, switch tube Q4, switch tube Q6) in the second part of the switch tubes of the driving circuit 703 to be high level (and / or control the control end of the non-target switch tube (for example, switch tube Q2) in the second part of the switch tubes to be low level), so that the first part of the switch tubes and the second part of the switch tubes of the control driving circuit 703 are in the second state (for example, all the switch tubes in the first part of the switch tubes are turned off, the target switch tubes in the second part of the switch tubes are turned on, and the non-target switch tubes in the second part of the switch tubes are turned off), thereby making the driving circuit 703 drive the motor in the second mode (for example, a mode in which the motor is in a power-off state to discharge a reverse voltage or a reverse current). The number of multiple target switch tubes in the second part of switch tubes (or the first part of switch tubes) involved here can be the number of all switch tubes in the second part of switch tubes (or the first part of switch tubes), and at this time the corresponding number of non-target switch tubes in the second part of switch tubes (or the first part of switch tubes) can be 0.
[0116] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and when the motor voltage or the motor current meets different conditions, it can control the switch tube of the drive circuit 703 to different states by outputting different control signals to the drive circuit 703, so that the drive circuit 703 drives the motor in different modes, thereby making the motor work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0117] In some feasible implementations, the driving circuit may include two switch bridge arms, and the electronic components (eg, switch tubes) in the switch bridge arms of the driving circuit may be arranged in an integrated manner or separately. Fig. 9 , Fig. 9 is another structural schematic diagram of the motor control device provided in the embodiment of the present application. Fig. 9 As shown, the motor control device includes a voltage detection circuit 801 (or a current detection circuit 801'), a control circuit 802, a drive circuit 803, a temperature detection circuit 804 and a voltage conversion circuit 805. The drive circuit 803 may include two switch bridge arms, each of which may include a first part of switch tubes (e.g., switch tube Q1, switch tube Q3) and a second part of switch tubes (e.g., switch tube Q2, switch tube Q4), and the control end of the first part of the switch tubes of the drive circuit 803 as the first part of the pins of the drive circuit 803 can be connected to the detection control circuit 802, and the control end of the second part of the switch tubes of the drive circuit 803 as the second part of the pins of the drive circuit 803 can be connected to the detection control circuit 802. For example, in an application scenario where the motor is a brushless DC motor, the drive circuit 803 can be connected to the positive and negative poles of the brushless DC motor through the midpoints of the two switch bridge arms. Here, the midpoint of the bridge arm of the drive circuit 803 can be the connection point of the first part of the switch tubes and the second part of the switch tubes in each switch bridge arm of the drive circuit 803.
[0118] The detection control circuit 802 here can be used to control the first part of the switch tubes and the second part of the switch tubes of the driving circuit 803 to be in the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the driving circuit 803 drives the motor in the first mode. For example, when the motor voltage is within the rated voltage range of the motor or the motor current is within the rated current range of the motor, the detection control circuit 802 can output a first control signal to the driving circuit 803 to control the control end of one or more target switch tubes (for example, switch tube Q1) in the first part of the switch tubes of the driving circuit 803 to be high level (and / or control the control end of the non-target switch tube (for example, switch tube Q3) in the first part of the switch tubes to be low level), and at the same time control the control end of one or more target switch tubes (for example, switch tube Q4) in the second part of the switch tubes to be high level (and / or control the control end of the non-target switch tube (for example, switch tube Q3) in the first part of the switch tubes to be low level). Or control the control end of the non-target switch tube in the second part of the switch tube (for example, the switch tube Q2) to be at a low level) so that the first part of the switch tubes and the second part of the switch tubes of the control driving circuit 803 are in the first state (for example, the target switch tube in the first part of the switch tubes is turned on, and the non-target switch tube in the first part of the switch tubes is turned off, the target switch tube in the second part of the switch tubes is turned on, and the non-target switch tube in the second part of the switch tubes is turned off), so that the driving circuit 803 drives the motor in a first mode (for example, an angle adjustment mode or a speed adjustment mode when the motor is in a working state).
[0119] The detection control circuit 802 here can be used to control the second part of the switch tubes of the driving circuit 803 to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit 802 can output a second control signal to the driving circuit 803 to control the control end of one or more target switch tubes (for example, switch tube Q4) in the second part of the switch tubes of the driving circuit 803 to be high level (and / or control the control end of the non-target switch tube (for example, switch tube Q2) in the second part of the switch tubes to be low level), so that the first part of the switch tubes and the second part of the switch tubes of the control driving circuit 803 are in the second state (for example, all the switch tubes in the first part of the switch tubes are turned off, the target switch tubes in the second part of the switch tubes are turned on, and the non-target switch tubes in the second part of the switch tubes are turned off), thereby making the driving circuit 803 drive the motor in the second mode (for example, a mode in which the motor is in a power-off state to discharge a reverse voltage or a reverse current). The number of multiple target switch tubes in the second part of switch tubes (or the first part of switch tubes) involved here can be the number of all switch tubes in the second part of switch tubes (or the first part of switch tubes), and at this time the corresponding number of non-target switch tubes in the second part of switch tubes (or the first part of switch tubes) can be 0.
[0120] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and when the motor voltage or the motor current meets different conditions, it can control the switch tube of the drive circuit 803 to different states by outputting different control signals to the drive circuit 803, so that the drive circuit 803 drives the motor in different modes, thereby making the motor work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0121] In the present application, the composition of the functional modules in the motor control device is diverse and flexible, which can adapt to different application scenarios, improve the diversity of application scenarios of the motor control device, and enhance the adaptability of the motor control device. Figures 1 to 9 Any motor control device shown can control different pins of the drive circuit by detecting the control circuit to switch different modes to drive the motor and discharge the current generated by the reverse voltage of the motor. While ensuring safety, it reduces the design cost, has a simple structure, a simple method, and strong applicability. For the convenience of description, the following will be Figure 1 The structure of the motor control device shown is used to illustrate the drive control method provided in the embodiment of the present application.
[0122] See also Fig.10 , Fig.10 The control method provided in this application is applicable to motor control devices, including but not limited to the above Figures 1 to 9 Any motor control device shown. Fig.10 As shown, the control method provided by the present application includes the following steps:
[0123] S801: When the motor voltage satisfies a first voltage value or the motor current satisfies a first current value, controlling a first part of the pins and a second part of the pins of the driving circuit to drive the motor in a first mode.
[0124] S802: When the motor voltage satisfies a second voltage value or the motor current satisfies a second current value, control a second part of the pins of the driving circuit to drive the motor in a second mode.
[0125] It can be understood that the motor control device in the present application can judge the state of the motor based on the motor voltage, and drive the motor in different modes when the motor voltage meets different conditions, so that the motor rotates or discharges the current generated by the reverse voltage. Here, the motor control device may include a detection control circuit and a drive circuit. The motor control device here can detect the motor voltage, and the motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit and the power supply, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or one of the motors, etc., which can represent the state of the motor. It can be further understood that the motor control device here can detect the motor current (or other parameters such as motor power), or calculate the motor voltage based on the motor current (or other parameters such as motor power), and then determine the state of the motor based on the motor current (or other parameters such as motor power) or the motor voltage. The motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the state of the motor. Here, the state of the motor includes when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state at a posture; the state of the motor also includes when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, the discharge state corresponding to the current generated by the reverse voltage needs to be discharged; the state of the motor also includes the corresponding state in which the drive circuit in the motor control device can drive the motor in other application scenarios.
[0126] Here, the motor control device can drive the motor in different modes by controlling different pins of the drive circuit. The detection control circuit here can control the first part of the pins and the second part of the pins of the drive circuit to drive the motor in the first mode when the motor voltage meets the first voltage value or the motor current meets the first current value. The detection control circuit can control the second part of the pins of the drive circuit to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. The voltage value (for example, the first voltage value, the second voltage value or other voltage values) and the current value (for example, the first current value, the second current value or other current values) here are parameters used by the motor control device to determine the state of the motor, which can be detected by the detection control circuit integrated in the motor control device, or can be detected by a module with a detection function outside the motor control device and transmitted to the detection control circuit for reception. In other words, the detection control circuit here can be integrated with the drive circuit as a whole (for example, integrated in a chip or an integrated circuit board, etc.), or it can be separated as an independent functional module to work, which can be set according to the application scenario, and is not limited here. Here, the first voltage value (or the first current value or the first power value) can be a voltage value (or current value or power value), can be a plurality of discrete voltage values (or current values or power values), can be a voltage interval (or current interval or power interval) composed of a plurality of discrete voltage values (or current values or power values) or a continuous voltage value (or current value or power value). The motor voltage here satisfies a certain voltage value (for example, the first voltage value, the second voltage value or other voltage value), which can be understood as when the motor voltage and this voltage value (or voltage interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor voltage is within the voltage interval of this voltage value, the motor voltage can be considered to satisfy this voltage value. At the same time, the motor current here satisfies a certain current value (for example, the first current value, the second current value or other current value), which can be understood as when the motor current and this current value (or current interval) satisfy a certain magnitude relationship (or proportional relationship, or other functional relationship), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value. The first voltage value and / or first current value here can be the rated operating voltage or rated operating current of the motor, or a pre-set voltage value or current value, or the operating voltage or operating current of the motor collected in a test environment or other working environment.The second voltage value and / or second current value here can be obtained based on the rated operating voltage or rated operating current of the motor (for example, a voltage value or voltage range greater than the rated operating voltage is used as the second voltage value), or can be obtained based on a pre-set voltage value or current value (for example, the voltage that can be borne by the components in the motor and power supply path is set as the second voltage value), or can be the reverse voltage or reverse current of the motor collected in a test environment or other working environment (for example, in a specific application scenario, the second voltage value is set based on the reverse voltage generated by the reverse rotation of the motor).
[0127] In some feasible implementations, the second voltage value may be greater than the first voltage value, and the second current value may be greater than the first current value. Here, the first voltage value and the second voltage value, as well as the first current value and the second current value, can be specifically set based on the application scenario, and have strong applicability.
[0128] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and drive the motor in different modes when the motor voltage or the motor current meets different conditions, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. For example, when the power supply stops supplying power to the motor, the motor control device can control different pins of the drive circuit by detecting the control circuit to switch to different modes to drive the motor and discharge the current generated by the reverse voltage of the motor, thereby reducing the design cost while ensuring safety, with a simple structure, a simple method, and strong applicability.
[0129] In some feasible implementations, controlling the first part of the pins and the second part of the pins of the driving circuit to drive the motor in the first mode may include:
[0130] A first control signal is output to the driving circuit to control a first part of the pins and a second part of the pins of the driving circuit to be in a first state, so that the driving circuit drives the motor in a first mode.
[0131] Controlling the second part of the pins of the driving circuit to drive the motor in the second mode may include:
[0132] A second control signal is output to the driving circuit to control a second part of the pins of the driving circuit to be in a second state, so that the driving circuit drives the motor in a second mode.
[0133] The detection control circuit here can control the first part of the pins and the second part of the pins of the drive circuit to be in the first state when the motor voltage meets the first voltage value or the motor current meets the first current value, so that the drive circuit drives the motor in the first mode. For example, when the motor voltage is in the rated voltage range of the motor or the motor current is in the rated current range of the motor, the detection control circuit can output a first control signal to the drive circuit to control one or more target pins in the first part of the pins of the drive circuit to be high level (and / or control the non-target pins in the first part of the pins to be low level), and at the same time control one or more target pins in the second part of the pins to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit are in the first state (for example, the target pins in the first part of the pins are turned on, the non-target pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), so that the drive circuit drives the motor in the first mode (for example, the angle adjustment mode or the speed adjustment mode when the motor is in the working state). The detection control circuit here can control the second part of the pins of the drive circuit to drive the motor in the second mode when the motor voltage meets the second voltage value or the motor current meets the second current value. For example, when the motor voltage is greater than the rated voltage range of the motor or the motor current is greater than the rated current range of the motor, the detection control circuit can output a second control signal to the drive circuit to control one or more target pins in the second part of the pins of the drive circuit to be high level (and / or control the non-target pins in the second part of the pins to be low level), so that the first part of the pins and the second part of the pins of the control drive circuit are in the second state (for example, all the pins in the first part of the pins are turned off, the target pins in the second part of the pins are turned on, and the non-target pins in the second part of the pins are turned off), thereby causing the drive circuit to drive the motor in the second mode (for example, a mode in which the motor discharges reverse voltage or reverse current in a power-off state). The control signal here (for example, the first control signal, the second control signal or other control signals) can be a constant signal that keeps the corresponding pin on or off, or an alternating signal (for example, a square wave signal, etc.) that keeps the corresponding pin on or off for a certain period of time or at a certain moment. The pin state here (for example, the first state, the second state) can be a constant state that keeps the corresponding pin on or off, or an alternating state that keeps the corresponding pin on or off for a certain period of time or at a certain moment.For example, when the speed of the motor needs to be adjusted when the motor is in a working state, the motor voltage is in the rated voltage range of the motor or the motor current is in the rated current range of the motor. The detection control circuit can output a first control signal to the drive circuit to control the target pins in the first part of the pins of the drive circuit to be turned on with a certain duty cycle, and control the non-target pins in the first part of the pins to be turned off. At the same time, the target pins in the second part of the pins of the drive circuit are controlled to be turned on with a certain duty cycle, and the non-target pins in the second part of the pins are controlled to be turned off, so that the drive circuit drives the motor in a first mode (for example, a speed adjustment mode when the motor is in a working state).
[0134] By adopting the present application, the motor control device can judge the state of the motor based on parameters such as the motor voltage or the motor current, and when the motor voltage or the motor current meets different conditions, it can control the pins of the drive circuit to different states by outputting different control signals to the drive circuit, so that the drive circuit drives the motor in different modes, so that the motor works under the power provided by the power supply or discharges the current generated by the reverse voltage of the motor. For example, when the power supply stops supplying power to the motor, the motor control device can output different control signals to the drive circuit by detecting the control circuit, control the on and off states of different pins of the drive circuit, switch to drive the motor in different modes, discharge the current generated by the reverse voltage of the motor, and reduce the design cost while ensuring safety. The structure is simple, the method is simple, and the applicability is strong.
[0135] In some feasible implementations, the detection control circuit may include a voltage detection circuit and a control circuit, the control circuit may be connected to a power supply, a voltage detection circuit and a drive circuit, the voltage detection circuit may be connected to a motor, and the method may further include:
[0136] Detect the motor voltage and transmit the value of the motor voltage to the control circuit.
[0137] It can be understood that the voltage value here (for example, the first voltage value, the second voltage value or other voltage value) is a parameter used by the motor control device to determine the motor state, which can be detected by a voltage detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the voltage detection circuit for reception, and then the motor voltage value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. It can be further understood that for the motor voltage detected by the voltage detection circuit, the motor voltage here can be the terminal voltage of the positive and negative DC bus between the drive circuit and the power supply, or the terminal voltage of the positive and negative poles of the motor, or the voltage between the two phases of the motor, or the voltage to the ground of the positive pole of the motor or a certain item of the motor, etc., which can represent the motor state. Here, the first voltage value (or the second voltage value or other voltage value) can be a voltage value, can be a plurality of discrete voltage values, can be a voltage interval composed of a plurality of discrete voltage values or continuous voltage values. Here, the motor voltage satisfies a certain voltage value (for example, a first voltage value, a second voltage value, or other voltage values), which can be understood as when the motor voltage satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this voltage value (or voltage interval), or when the motor voltage is within the voltage interval of this voltage value, the motor voltage can be considered to satisfy this voltage value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state in a posture. At this time, the control circuit can control the drive circuit to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage), after the motor generates a reverse voltage, when the reverse voltage is too large or meets certain judgment criteria (for example, meets the second voltage value), the motor needs to discharge the current generated by the reverse voltage corresponding to the discharge state. At this time, the control circuit can control the drive circuit to drive the motor in the second mode; the state of the motor also includes other application scenarios. In which the drive circuit in the motor control device can drive the motor in a corresponding state, at this time, the control circuit can control the drive circuit to drive the motor in other modes.
[0138] In the present application, the motor control device can obtain the motor voltage through the voltage detection circuit, and then judge the state of the motor based on the motor voltage, and when the motor voltage or motor current meets different conditions, drive the motor in different modes through the control circuit and the drive circuit, so that the motor can work under the power provided by the power supply or discharge the current generated by the reverse voltage of the motor. While ensuring safety, the design cost is reduced, the structure is simple, the method is simple, and the applicability is strong.
[0139] In some feasible implementations, the detection control circuit may include a current detection circuit and a control circuit, the control circuit may be connected to a power supply, a current detection circuit and a drive circuit, the current detection circuit may be connected to a motor, and the method may further include:
[0140] Detect the motor current and transmit the value of the motor current to the control circuit.
[0141] It can be understood that the current value here (for example, the first current value, the second current value or other current value) is a parameter used by the motor control device to determine the motor state, which can be detected by the current detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the current detection circuit for reception, and then the motor current value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. It can be further understood that for the motor current detected by the current detection circuit, the motor current here can be the current of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the current of the positive or negative pole of the motor, or the current of a certain phase of the motor, etc., which can represent the motor state. Here, the first current value (or the second current value or other current value) can be a current value, can be a plurality of discrete current values, can be a current interval composed of a plurality of discrete current values or a continuous current value. Here, the motor current satisfies a certain current value (for example, a first current value, a second current value, or other current values), which can be understood as when the motor current satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this current value (or current interval), or when the motor current is within the current interval of this current value, the motor current can be considered to satisfy this current value. Here, the driving mode of the motor can be defined by the working state of the motor. For example, when the power supply supplies power to the motor, the motor rotates at different speeds or angles or maintains a corresponding working state in a posture. At this time, the control circuit can control the drive circuit to drive the motor in the first mode; or when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate reverse current), after the motor generates reverse current, when the reverse current is too large or meets certain judgment criteria (for example, meets the second current value), the motor needs to discharge the discharge state corresponding to the reverse current. At this time, the control circuit can control the drive circuit to drive the motor in the second mode; the state of the motor also includes other application scenarios. In which the drive circuit in the motor control device can drive the motor in a corresponding state, at this time, the control circuit can control the drive circuit to drive the motor in other modes.
[0142] In the present application, the motor control device can obtain the motor current through the current detection circuit, and then judge the state of the motor based on the motor current, and drive the motor in different modes through the control circuit and the drive circuit when the motor current or the motor current meets different conditions, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0143] In some feasible implementations, the detection control circuit may further include a temperature detection circuit, and the temperature detection circuit may be connected to the control circuit and the motor. The method may further include:
[0144] The motor temperature is detected and the value of the motor temperature is transmitted to the control circuit. When the motor voltage meets the second voltage value or the motor current meets the second current value, and the motor temperature meets the first temperature value, the second part of the pins of the driving circuit are controlled to drive the motor in a third mode.
[0145] It can be understood that the temperature value here (for example, the first temperature value, the second temperature value or other temperature values) is a parameter used by the motor control device to determine the motor state, which can be detected by a temperature detection circuit integrated in the motor control device, or detected by a module with a detection function outside the motor control device and transmitted to the temperature detection circuit for reception, and then the motor temperature value or the characterization value of the motor state is transmitted to the control circuit to control the drive circuit. It can be further understood that for the motor temperature detected by the temperature detection circuit, the motor temperature here can be the temperature of the positive DC bus or the negative DC bus between the drive circuit and the power supply, or the temperature of the positive or negative pole of the motor, or the temperature of a certain phase of the motor, etc., which can represent the motor state. Here, the first temperature value (or other temperature values) can be a temperature value, can be a plurality of discrete temperature values, can be a temperature interval consisting of a plurality of discrete temperature values or continuous temperature values. The motor temperature here satisfies a certain temperature value (for example, a first temperature value or other temperature value), which can be understood as when the motor temperature and this temperature value (or temperature interval) meet a certain size relationship (or proportional relationship, or other functional relationship), or when the motor temperature is within the temperature interval of this temperature value, the motor temperature can be considered to meet this temperature value. The drive mode of the motor here can be defined by the working state of the motor, for example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage or a reverse current), after the motor generates a reverse voltage (or a reverse current), when the reverse voltage (or reverse current) is too large or meets certain judgment criteria (for example, meets the second voltage value or the second current value), and the motor temperature is too high or meets certain judgment criteria (for example, meets the first temperature value), the motor needs to discharge the discharge state corresponding to the reverse voltage (or reverse current), and at this time the control circuit can control the drive circuit to drive the motor in the third mode.
[0146] In the present application, the motor control device can obtain the motor temperature through the temperature detection circuit, and then further judge the state of the motor based on the motor temperature, and when the motor voltage (or motor current) and the motor temperature meet different conditions, the motor is driven in different modes through the control circuit and the drive circuit, so that the motor can work under the electric energy provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0147] In some feasible implementations, the method may further include:
[0148] When the motor voltage satisfies the second voltage value and the third voltage value, or the motor current satisfies the second current value and the third current value, the second part of the pins of the driving circuit are controlled to drive the motor in a fourth mode.
[0149] It can be understood that the voltage value here (for example, the second voltage value or the third voltage value) can be a voltage value, can be multiple discrete voltage values, can be a voltage interval consisting of multiple discrete voltage values or continuous voltage values. The current value (for example, the second current value or the third current value) can be a current value, can be multiple discrete current values, can be a current interval consisting of multiple discrete current values or continuous current values. The motor voltage or motor current here satisfies a certain voltage value (for example, the second voltage value or the third voltage value) or current value (for example, the second current value or the third current value), which can be understood as when the motor voltage or motor current satisfies a certain magnitude relationship (or proportional relationship, or other functional relationship) with this voltage value (or voltage interval) or current value (or current interval), or when the motor voltage (or motor current) is within the voltage interval of this voltage value (within the current interval of the current value), it can be considered that the motor voltage (or motor current) satisfies this voltage value (or current value). The driving mode of the motor here can be defined by the working state of the motor, for example, when the power supply stops supplying power to the motor (or in other scenarios where the motor can generate a reverse voltage or a reverse current), after the motor generates a reverse voltage (or a reverse current), when the reverse voltage (or reverse current) is too large or meets certain judgment criteria (for example, meets the second voltage value or the second current value), and the motor voltage or the motor current further increases or decreases (for example, meets the third voltage value or the third current value), the motor needs to adjust the discharge state corresponding to the discharge reverse voltage (or reverse current). At this time, the control circuit can control the drive circuit to drive the motor in the fourth mode.
[0150] In some feasible implementations, the third voltage value may be greater than the second voltage value, and the third current value may be greater than the second current value. Here, the second voltage value and the third voltage value, the second current value and the third current value may be specifically set based on the application scenario, and have strong applicability.
[0151] In the present application, the motor control device can continuously obtain the motor voltage or motor current through the voltage detection circuit or the current detection circuit, and further judge the state of the motor, and when the motor voltage or the motor current meets different conditions, drive the motor in different modes through the control circuit and the drive circuit, so that the motor can work under the power provided by the power supply or discharge the reverse current of the motor, while ensuring safety, reducing the design cost, with a simple structure, simple method and strong applicability.
[0152] In some feasible implementations, the motor control device may further include a voltage conversion circuit, and the voltage conversion circuit may be connected to the detection control circuit. The method may further include:
[0153] The motor voltage is reduced to a target drive voltage, and the target drive voltage is output to the detection control circuit.
[0154] Here, the voltage conversion circuit can reduce the motor voltage to the target drive voltage, and output the target drive voltage to the detection control circuit. The voltage conversion circuit here can be integrated with each functional module in the detection control circuit as a whole (for example, integrated into a chip or an integrated circuit board, etc.), or it can be separated as an independent functional module, or one part of the circuit is integrated (for example, integrated into a chip or an integrated circuit board, etc.) and the other part is separated as an independent functional module to work. It can be set according to the application scenario, and there is no limitation here. The design method is diverse and can be applied to different application scenarios.
[0155] In the present application, the motor control device can control different pins of the driving circuit by detecting the control circuit to switch different modes to drive the motor and discharge the current generated by the reverse voltage of the motor. While ensuring safety, it reduces the design cost, has a simple structure, a simple method, and strong applicability.
[0156] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A motor control device, characterized in that: The control device comprises a detection control circuit and a driving circuit, wherein the driving circuit comprises a first part of pins and a second part of pins; One end of the detection control circuit is connected to a power supply, and the other end of the detection control circuit is connected to a motor through the drive circuit; The detection control circuit is used for controlling the first part of the pins and the second part of the pins of the drive circuit to drive the motor in a first mode when the motor voltage meets the first voltage value or the motor current meets the first current value; The detection control circuit is used to control the second part of the pins of the drive circuit to drive the motor in a second mode when the motor voltage meets a second voltage value or the motor current meets a second current value.
2. The motor control device according to claim 1, characterized in that: The detection control circuit is used for outputting a first control signal to the drive circuit to control the first part of the pins and the second part of the pins of the drive circuit to be in a first state when the motor voltage meets a first voltage value or the motor current meets a first current value, so that the drive circuit drives the motor in the first mode; The detection control circuit is used to output a second control signal to the drive circuit to control the second part of the pins of the drive circuit to a second state when the motor voltage meets the second voltage value or the motor current meets the second current value, so that the drive circuit drives the motor in the second mode.
3. The motor control device according to claim 1 or 2, characterized in that: The detection control circuit includes a voltage detection circuit and a control circuit, the control circuit is connected to the power supply, the voltage detection circuit and the drive circuit, and the voltage detection circuit is connected to the motor; The voltage detection circuit is used to detect the motor voltage and transmit the value of the motor voltage to the control circuit; The control circuit is used to control the first part of the pins and the second part of the pins or the second part of the pins of the drive circuit to drive the motor in a first mode or a second mode when the motor voltage meets the first voltage value or the second voltage value.
4. The motor control device according to claim 1 or 2, characterized in that: The detection control circuit comprises a current detection circuit and a control circuit, the control circuit is connected to the power supply, the current detection circuit and the drive circuit, and the current detection circuit is connected to the motor; The current detection circuit is used to detect the motor current and transmit the value of the motor current to the control circuit; The control circuit is used to control the first part of the pins and the second part of the pins or the second part of the pins of the drive circuit to drive the motor in a first mode or a second mode when the motor current satisfies the first current value or the second current value.
5. The motor control device according to claim 3 or 4, characterized in that: The detection control circuit also includes a temperature detection circuit, and the temperature detection circuit is connected to the control circuit and the motor; The temperature detection circuit is used to detect the temperature of the motor and transmit the value of the motor temperature to the control circuit; The control circuit is used to control the second part of the pins of the drive circuit to drive the motor in a third mode when the motor voltage meets the second voltage value or the motor current meets the second current value, and the motor temperature meets the first temperature value.
6. The motor control device according to any one of claims 3 to 5, characterized in that: The control circuit is also used to control the second part of the pins of the drive circuit to drive the motor in a fourth mode when the motor voltage satisfies the second voltage value and the third voltage value, or the motor current satisfies the second current value and the third current value.
7. The motor control device according to any one of claims 1 to 6, characterized in that: The motor control device further comprises a voltage transformation circuit, and the voltage transformation circuit is connected to the detection control circuit; The voltage conversion circuit is used to reduce the motor voltage to a target driving voltage and output the target driving voltage to the detection control circuit.
8. The motor control device according to any one of claims 1 to 7, characterized in that: The second voltage value is greater than the first voltage value, and the second current value is greater than the first current value.
9. The motor control device according to any one of claims 6 to 8, characterized in that: The third voltage value is greater than the second voltage value, and the third current value is greater than the second current value.
10. The motor control device according to claims 1-9, characterized in that: The driving circuit includes three switch bridge arms, each of which includes a first part of switch tubes and a second part of switch tubes. The control end of the first part of the switch tubes of the driving circuit serves as the first part of the pins of the driving circuit connected to the detection control circuit, and the control end of the second part of the switch tubes of the driving circuit serves as the second part of the pins of the driving circuit connected to the detection control circuit.
11. The motor control device according to claims 1-10, characterized in that: The driving circuit includes two switch bridge arms, each of which includes a first part of switch tubes and a second part of switch tubes. The control end of the first part of the switch tubes of the driving circuit serves as the first part of the pins of the driving circuit connected to the detection control circuit, and the control end of the second part of the switch tubes of the driving circuit serves as the second part of the pins of the driving circuit connected to the detection control circuit. 12 . The motor control device according to claim 1 , wherein the pins of the drive circuit include but are not limited to the first part of pins and the second part of pins.
13. A control method for a motor control device, characterized in that: The control method is applicable to a motor control device, the motor control device comprises a detection control circuit and a drive circuit, the drive circuit comprises a first part of pins and a second part of pins; One end of the detection control circuit is connected to a power supply, and the other end of the detection control circuit is connected to a motor through the drive circuit. The method includes: When the motor voltage satisfies a first voltage value or the motor current satisfies a first current value, controlling the first part of pins and the second part of pins of the drive circuit to drive the motor in a first mode; When the motor voltage satisfies a second voltage value or the motor current satisfies a second current value, the second part of the pins of the driving circuit are controlled to drive the motor in a second mode.
14. The control method according to claim 13, characterized in that: The controlling the first part of the pins and the second part of the pins of the driving circuit to drive the motor in a first mode includes: Outputting a first control signal to the drive circuit to control the first part of the pins and the second part of the pins of the drive circuit to be in a first state, so that the drive circuit drives the motor in the first mode; The controlling the second part of the pins of the driving circuit to drive the motor in a second mode includes: A second control signal is output to the drive circuit to control the second part of the pins of the drive circuit to be in a second state, so that the drive circuit drives the motor in the second mode.
15. The control method according to claim 13 or 14, characterized in that: The detection control circuit includes a voltage detection circuit and a control circuit, the control circuit is connected to the power supply, the voltage detection circuit and the drive circuit, the voltage detection circuit is connected to the motor, and the method further includes: The motor voltage is detected, and the value of the motor voltage is transmitted to the control circuit.
16. The control method according to claim 13 or 14, characterized in that: The detection control circuit includes a current detection circuit and a control circuit, the control circuit is connected to the power supply, the current detection circuit and the drive circuit, the current detection circuit is connected to the motor, and the method further includes: The motor current is detected, and the value of the motor current is transmitted to the control circuit.
17. The control method according to claim 15 or 16, characterized in that: The detection control circuit further includes a temperature detection circuit, wherein the temperature detection circuit is connected to the control circuit and the motor, and the method further includes: Detecting the motor temperature and transmitting the value of the motor temperature to the control circuit; When the motor voltage satisfies a second voltage value or the motor current satisfies a second current value, and the motor temperature satisfies a first temperature value, the second part of the pins of the drive circuit are controlled to drive the motor in a third mode.
18. The control method according to any one of claims 15 to 17, characterized in that: The method further comprises: When the motor voltage satisfies the second voltage value and the third voltage value, or the motor current satisfies the second current value and the third current value, the second part of the pins of the drive circuit are controlled to drive the motor in a fourth mode.
19. The control method according to any one of claims 13 to 18, characterized in that: The motor control device further includes a voltage transformation circuit, and the voltage transformation circuit is connected to the detection control circuit. The method further includes: The motor voltage is reduced to a target driving voltage, and the target driving voltage is output to the detection control circuit.
20. The control method according to any one of claims 13 to 19, characterized in that: The second voltage value is greater than the first voltage value, and the second current value is greater than the first current value.
21. The control method according to any one of claims 17 to 20, characterized in that: The third voltage value is greater than the second voltage value, and the third current value is greater than the second current value.
