Motor driving unit, vehicle-mounted equipment and motor driving method thereof

By using the power supply circuit, integrated chip and sampling circuit in the motor drive unit to collect and feedback the target voltage, the problem of low motor drive efficiency in the existing technology is solved and a more efficient motor drive is achieved.

CN118677288APending Publication Date: 2024-09-20CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410691434.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The existing motor drive unit cannot effectively drive high-power motors, and the bus interface data is low, resulting in low motor drive efficiency.

Method used

By introducing the power supply circuit, integrated chip and sampling circuit into the motor drive unit, the integrated chip drives the MOS tube in the H-bridge, collects the target voltage and feeds it back to the control unit to determine whether the motor operates according to the drive parameters, improving communication efficiency and drive efficiency. .

Benefits of technology

It improves the driving efficiency of the motor drive unit, ensures that the motor operates according to the drive parameters, and enhances the control accuracy and efficiency of the motor drive.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677288A
    Figure CN118677288A
Patent Text Reader

Abstract

The embodiment of the invention discloses a motor driving unit, which is used for driving a motor corresponding to an H bridge by driving at least one H bridge, and comprises a power supply circuit, an integrated chip and a sampling circuit, the power supply circuit supplies power to the H bridge under the driving of the integrated chip, the integrated chip drives a grid electrode of an MOS (Metal Oxide Semiconductor) tube in the H bridge, and the sampling circuit is connected with the integrated chip. The integrated chip is used for driving the target motor based on received driving parameters of the target motor from the control unit, the sampling circuit is used for collecting target voltage of the target motor and feeding back the target voltage to the integrated chip, and the integrated chip is further used for sending the target voltage to the control unit. The target voltage comprises a first voltage of an element in the power supply circuit, a second voltage of a second element of the H bridge corresponding to the target motor and a third voltage used for representing the temperature of a PCB where the motor driving unit is located. The embodiment of the invention further provides the vehicle-mounted equipment and a motor driving method thereof.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a motor driving technology in a vehicle, and in particular to a motor driving unit, a vehicle-mounted device and a motor driving method thereof. Background Art

[0002] At present, the motor drive unit uses the microcontroller as the central hub of the drive unit's information, logic, and algorithm to monitor and manage the status of all chips on the vehicle drive board. High-speed communication is carried out through intra-board communication, and interaction with the control unit is carried out through bus communication. High-power motors usually use an external H-bridge and are driven by a driver chip. The driver chip and the microcontroller interact through intra-board communication.

[0003] In practical applications, functions such as motor anti-pinch require microsecond response speed requirements, so its algorithm needs to be bound to the drive unit.

[0004] The current motor drive unit is unable to drive high-power motors, and the currently supported bus interface data is low, resulting in low motor drive efficiency. Summary of the invention

[0005] The embodiments of the present invention provide a motor drive unit, a vehicle-mounted device and a motor drive method thereof, which can improve the driving efficiency of the motor drive unit.

[0006] The technical solution of the present invention is achieved in this way:

[0007] An embodiment of the present invention provides a motor drive unit, which is used to drive at least one H-bridge to drive a motor corresponding to the H-bridge; the motor drive unit comprises: a power supply circuit, an integrated chip and a sampling circuit, the power supply circuit supplies power to the H-bridge under the drive of the integrated chip; the integrated chip drives the gate of the MOS tube in the H-bridge; wherein,

[0008] The integrated chip is used to drive the target motor based on the driving parameters of the target motor received from the control unit;

[0009] The sampling circuit is used to collect the target voltage of the target motor and feed the target voltage back to the integrated chip;

[0010] The integrated chip is also used to send the target voltage to the control unit, so that the control unit determines whether the target motor operates according to the driving parameters;

[0011] The target voltage includes: a first voltage of a component in the power supply circuit, a second voltage of a component in an H-bridge corresponding to the target motor, and a third voltage for characterizing a temperature on a PCB board where the motor drive unit is located.

[0012] In this way, the motor drive unit composed of the power supply circuit, the integrated chip and the sampling circuit enables the interaction between the integrated chip and the control unit to complete the driving of the power supply circuit and the motor. In this way, the communication interaction method between the integrated chip and the control unit is used to improve the communication efficiency; through the sampling circuit in the motor drive unit, the target voltage can be collected, and the target voltage can be used to know whether the target motor is running according to the driving parameters, which is then sent to the control unit, so that the control unit can know the driving status of the motor drive unit to better drive the motor, thereby improving the motor driving efficiency.

[0013] Furthermore, the power supply circuit includes: a power supply, a first NMOS transistor and a second NMOS transistor; wherein,

[0014] The gate of the first NMOS tube and the gate of the second NMOS tube are both connected to the first gate driving end of the integrated chip, the drain of the first NMOS tube is connected to the power supply, the source of the first NMOS tube is connected to the drain of the second NMOS tube, and the source of the second NMOS tube is connected to the drains of the two MOS tubes on the upper bridge wall of the H-bridge.

[0015] In this way, under the drive of the integrated chip, the two NMOS tubes are turned on, so that the power supply circuit can supply power to the H-bridge, so that the H-bridge can drive the motor normally, which is beneficial to improving the driving efficiency of the motor.

[0016] Furthermore, the sampling circuit includes: a first sampling circuit, a second sampling circuit and a third sampling circuit; wherein,

[0017] The first sampling circuit is used to collect the first voltage;

[0018] The second sampling circuit is used to collect the second voltage;

[0019] The third sampling circuit is used to collect the third voltage.

[0020] In this way, the target voltage is collected by the first sampling circuit, the second sampling circuit and the third sampling circuit. The separate collection method can improve the collection efficiency of the target voltage, thereby improving the driving efficiency of the motor drive unit.

[0021] Furthermore, the first adopting circuit comprises: a first operational amplifier, wherein:

[0022] The two input terminals of the first operational amplifier are respectively connected to the drain and source of any MOS tube in the H-bridge, and the output terminal of the first operational amplifier is connected to the first digital-to-analog conversion terminal of the integrated chip.

[0023] In this way, the first sampling circuit can sample the amplified voltage drop of any MOS tube on the H-bridge, so as to know the operation status of the H-bridge, and then know the operation status of the motor, which helps the control unit drive the motor through the motor drive unit, thereby improving the motor drive efficiency.

[0024] Furthermore, the second sampling circuit comprises: a second operational amplifier; wherein,

[0025] The two input terminals of the second operational amplifier are respectively connected to the drain and source of any one of the first NMOS tube and the second NMOS tube, and the output terminal of the second operational amplifier is connected to the second digital-to-analog conversion terminal of the integrated chip.

[0026] In this way, the second sampling circuit can sample the amplified voltage drop of any NMOS tube in the power supply circuit, so as to know the operation status of the power supply circuit, which helps the control unit drive the motor through the motor drive unit, thereby improving the motor drive efficiency.

[0027] Furthermore, the third sampling circuit includes: a voltage divider resistor and a thermistor; wherein,

[0028] One end of the voltage-dividing resistor is connected to the source of the second NMOS tube, the other end of the voltage-dividing resistor is respectively connected to one end of the thermistor and the third digital-to-analog conversion end of the integrated chip, and the other end of the thermistor is grounded.

[0029] In this way, the third sampling circuit can sample and obtain a third voltage used to characterize the temperature on the PCB board where the motor drive unit is located, thereby knowing the temperature on the PCB board, which helps the control unit to accurately determine the current of the power supply circuit and the current of the motor, thereby improving the motor drive efficiency.

[0030] Furthermore, there is a one-to-one correspondence between the first sampling circuit, the H-bridge and the motor.

[0031] In this way, the first voltage for each motor can be sampled and obtained, which helps the control unit to effectively drive each motor, thereby improving the driving efficiency of the motor drive unit.

[0032] An embodiment of the present application further provides a vehicle-mounted device, comprising a motor drive unit as described in one or more of the above embodiments, wherein the motor drive unit is connected to a control unit of the vehicle-mounted device.

[0033] The embodiment of the present application further provides a motor driving method, which is applied to the motor driving unit and the control unit as described in one or more of the above embodiments, including:

[0034] The control unit sends a driving parameter for the target motor;

[0035] The integrated chip drives the target motor according to the driving parameters;

[0036] The sampling circuit collects the target voltage of the target motor and feeds the target voltage back to the integrated chip;

[0037] The integrated chip sends the target voltage to the control unit;

[0038] The control unit determines whether the target motor operates according to the driving parameter based on the target voltage.

[0039] In this way, through the interaction between the motor drive unit and the control unit, the motor can be effectively driven, thereby improving the driving efficiency of the motor drive unit.

[0040] Further, the control unit determines whether the target motor operates according to the driving parameter based on the target voltage, including:

[0041] The control unit calculates the voltage of the target motor and the current of the target motor according to the first voltage, the second voltage and the third voltage;

[0042] It is determined whether the target motor operates according to the driving parameter according to the voltage of the target motor and the current of the target motor.

[0043] In this way, the voltage and current of the target motor can be known through the above calculation. The control unit can compare them with the driving parameters of the target motor. If they are consistent, it means that the target motor is operating according to the driving parameters. If they are inconsistent, it means that the target motor is not operating according to the driving parameters. Based on this, it is determined whether to drive the target motor, thereby improving the driving efficiency of the motor drive unit.

[0044] Furthermore, the method further comprises:

[0045] The control unit receives the power-on instruction, generates a power-on signal, and sends it to the integrated chip;

[0046] The integrated chip drives the power supply circuit according to the power-on signal, so that the power supply circuit supplies power to the H-bridge corresponding to the target motor.

[0047] In this way, the motor drive unit is powered on, preparing for further driving of the motor, which helps to improve the driving efficiency of the motor drive.

[0048] Further, the control unit determines whether the target motor operates according to the driving parameter based on the target voltage, including:

[0049] The control unit verifies the received message of the target voltage;

[0050] When the verification succeeds, the control unit determines whether the target motor operates according to the driving parameters based on the target voltage;

[0051] When the verification fails, the control unit sends a driving parameter for the target motor to the integrated chip to turn off the target motor.

[0052] In this way, the control unit determines whether the control unit and the motor drive unit are effectively driving the target motor by checking the message sent by the integrated chip. If it is effective, it drives normally; if it is not effective, the target motor is turned off to prohibit driving, thereby avoiding safety problems caused by problems in driving and improving the driving efficiency of the motor drive.

[0053] Beneficial effects of the present invention:

[0054] (1) A motor drive unit is formed by a power supply circuit, an integrated chip and a sampling circuit, so that the integrated chip interacts with the control unit to drive the power supply circuit and the motor. In this way, the communication interaction mode between the integrated chip and the control unit is used to improve the communication efficiency;

[0055] (2) The target voltage can be collected through the sampling circuit in the motor drive unit. The target voltage can be used to know whether the target motor is running according to the driving parameters, and then sent to the control unit so that the control unit can know the driving status of the motor drive unit to better drive the motor, thereby improving the motor driving efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A schematic diagram of the structure of an optional motor drive unit provided in an embodiment of the present invention;

[0057] Figure 2 A schematic diagram of the structure of an optional vehicle-mounted device provided in an embodiment of the present invention;

[0058] Figure 3 A schematic structural diagram of an example of an optional motor drive unit provided in an embodiment of the present invention;

[0059] Figure 4 A schematic flow chart of an optional motor driving method provided in an embodiment of the present invention;

[0060] Figure 5 A schematic flow chart of an example 1 of an optional motor driving method provided in an embodiment of the present invention;

[0061] Figure 6A schematic flow chart of a second example of an optional motor driving method provided by an embodiment of the present invention;

[0062] Figure 7 A flowchart of Example 3 of an optional motor driving method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0064] In view of the technical problem of low driving efficiency of the motor drive unit in the related art, an embodiment of the present invention provides a motor drive unit. Figure 1 A schematic diagram of the structure of an optional motor drive unit provided in an embodiment of the present invention, such as Figure 1 As shown, the motor driving unit 100 is used to drive the motor 102 corresponding to the H bridge 101 by driving at least one H bridge 101; the motor driving unit 100 may include:

[0065] A power supply circuit 11, an integrated chip 12 and a sampling circuit 13, wherein the power supply circuit 11 supplies power to the H-bridge 101 under the drive of the integrated chip 12; the integrated chip 12 drives the gate of the metal-oxide-semiconductor field-effect transistor (MOS) in the H-bridge 101; wherein,

[0066] The integrated chip 12 is used to drive the target motor based on the driving parameters of the target motor received from the control unit;

[0067] The sampling circuit 13 is used to collect the target voltage of the target motor and feed the target voltage back to the integrated chip 12;

[0068] The integrated chip 12 is also used to send the target voltage to the control unit so that the control unit determines whether the target motor operates according to the driving parameters.

[0069] In the embodiment of the present invention, the power supply circuit 11 of the motor drive unit 100 is used to provide power for the H bridge, and the integrated chip 12 is connected to the gate of the MOS tube in the H bridge, so that the H bridge can drive the motor to operate.

[0070] It should be noted that one H-bridge corresponds to one motor. Figure 1 Only one set of H-bridges 101 and motors 102 corresponding to each other is shown in the figure. The embodiment of the present invention may include a plurality of sets of corresponding relationships between H-bridges and motors. Here, the embodiment of the present invention does not make any specific limitation on this.

[0071] The power supply circuit 11 can be obtained by connecting two P-channel metal-oxide semiconductor field effect transistors (positive channel Metal Oxide Semiconductor Field-Effect Transistor, PMOS) in series, or by connecting two N-channel metal-oxide semiconductor field effect transistors (Negative Metal Oxide Semiconductor Field-Effect Transistor, NMOS) in series. Of course, other circuit structures can also be used, and the embodiment of the present invention does not make specific limitations on this.

[0072] The integrated chip 12 may include multiple gate drive terminals and multiple digital-to-analog conversion terminals. If the motor driven by the motor drive unit 100 adopts a half-bridge drive mode, the integrated chip 12 also includes multiple half-bridge drive terminals. In addition, the integrated chip 12 can be connected to the control unit via a controller area network (CAN) bus to achieve communication with the control unit. The integrated chip 12 is internally provided with an anti-pinch algorithm to perform anti-pinch processing on the motor.

[0073] The sampling circuit 13 may sample the target voltage by using a sampling resistor, or by using an operational amplifier, a voltage divider resistor, and a thermistor. The embodiment of the present invention does not specifically limit this.

[0074] The target voltage includes: a first voltage of a component in the power supply circuit 11, a second voltage of a component in an H-bridge corresponding to the target motor, and a third voltage used to characterize the temperature on a printed circuit board (PCB) where the motor drive unit 100 is located. That is, the sampling circuit 13 can sample and obtain the voltage drop of the component in the power supply circuit 11, which is the first voltage, and the voltage drop of the component in the H-bridge corresponding to the target motor, which is the second voltage, and the voltage drop of the temperature on the PCB where the motor drive unit is located, which is the third voltage.

[0075] In this way, the control unit sends the driving parameters, the integrated chip 12 drives the motor according to the driving parameters, and the integrated chip 12 obtains the target voltage of the target motor collected by the sampling circuit 13, and sends the target voltage to the control unit, so that the control unit can know whether the target motor is running according to the driving parameters.

[0076] For the case where there are multiple groups of H-bridges and motors, the above-mentioned target motor can be one of the multiple groups of motors, and the control unit can drive any one of the multiple groups of motors through the motor drive unit to improve the driving efficiency of the motor drive unit 100 for the multiple groups of motors.

[0077] For the above power supply circuit, two NMOS transistors are usually used as the power supply circuit. In an optional embodiment, the power supply circuit includes: a power supply, a first NMOS transistor and a second NMOS transistor; wherein,

[0078] The gate of the first NMOS tube and the gate of the second NMOS tube are both connected to the first gate driving end of the integrated chip, the drain of the first NMOS tube is connected to the power supply, the source of the first NMOS tube is connected to the drain of the second NMOS tube, and the source of the second NMOS tube is connected to the drains of the two MOS tubes on the upper bridge wall of the H bridge.

[0079] It can be understood that the power supply circuit includes a power supply and two NMOS tubes, the two NMOS tubes are connected in series, and the gates of the two NMOS tubes are connected to the first gate drive terminal of the integrated chip, that is, the integrated chip is used to drive the two NMOS tubes, and after being connected in series, the source of the first NMOS tube is connected to the power supply, and the source of the second NMOS tube is connected to the drains of the two MOS tubes on the upper bridge wall of the H bridge, so as to power the H bridge.

[0080] In this way, under the drive of the integrated chip, the two NMOS tubes are turned on, so that the power supply circuit can supply power to the H-bridge, so that the H-bridge can drive the motor normally, which is beneficial to improving the driving efficiency of the motor.

[0081] In addition, the motor drive unit further includes a sampling circuit, where the sampling circuit may include at least three. In an optional embodiment, the sampling circuit includes: a first sampling circuit, a second sampling circuit and a third sampling circuit; wherein,

[0082] The first sampling circuit is used to collect the first voltage;

[0083] The second sampling circuit is used for collecting the second voltage;

[0084] The third sampling circuit is used to collect the third voltage.

[0085] It can be understood that the first sampling circuit is used to collect the voltage drop of components in the power supply circuit, the second sampling circuit is used to collect the voltage drop of components in the H-bridge corresponding to the target motor, and the third sampling circuit is used to collect the voltage drop that represents the temperature on the PCB board where the motor drive unit is located.

[0086] In this way, the target voltage is collected by the first sampling circuit, the second sampling circuit and the third sampling circuit. The separate collection method can improve the collection efficiency of the target voltage, thereby improving the driving efficiency of the motor drive unit.

[0087] With respect to the above-mentioned first sampling circuit, in an optional embodiment, the first sampling circuit includes: a first operational amplifier, wherein:

[0088] Two input terminals of the first operational amplifier are respectively connected to the drain and source of any MOS tube in the H bridge, and the output terminal of the first operational amplifier is connected to the first digital-to-analog conversion terminal of the integrated chip.

[0089] It can be understood that the H-bridge generally includes 4 MOS tubes. Here, the two input terminals of the first operational amplifier are respectively connected to the drain and source of any MOS tube of the H-bridge, so that the first operational amplifier amplifies the voltage drop between the drain and the source. Since the output terminal of the first operational amplifier is connected to the first digital-to-analog conversion terminal of the integrated chip, the amplified voltage drop is sent to the integrated chip through the first digital-to-analog conversion terminal.

[0090] In this way, the first sampling circuit can sample the amplified voltage drop of any MOS tube on the H-bridge, so as to know the operation status of the H-bridge, and then know the operation status of the motor, which helps the control unit drive the motor through the motor drive unit, thereby improving the motor drive efficiency.

[0091] With respect to the above-mentioned second sampling circuit, in an optional embodiment, the second sampling circuit includes: a second operational amplifier; wherein,

[0092] The two input terminals of the second operational amplifier are respectively connected to the drain and source of any one of the first NMOS tube and the second NMOS tube, and the output terminal of the second operational amplifier is connected to the second digital-to-analog conversion terminal of the integrated chip.

[0093] It can be understood that the power supply circuit includes two NMOS tubes, and the second sampling circuit connects the two input terminals of the second operational amplifier to the drain and source of any one of the two NMOS tubes through the second operational amplifier, so that the second operational amplifier amplifies the voltage drop between the drain and the source. Since the output terminal of the second operational amplifier is connected to the second digital-to-analog conversion terminal of the integrated chip, the amplified voltage drop is sent to the integrated chip through the second digital-to-analog conversion terminal.

[0094] In this way, the second sampling circuit can sample the amplified voltage drop of any NMOS tube in the power supply circuit, so as to know the operation status of the power supply circuit, which helps the control unit drive the motor through the motor drive unit, thereby improving the motor drive efficiency.

[0095] Regarding the third sampling circuit, in an optional embodiment, the third sampling circuit includes: a voltage divider resistor and a thermistor; wherein,

[0096] One end of the voltage divider resistor is connected to the source of the second NMOS tube, the other end of the voltage divider resistor is respectively connected to one end of the thermistor and the third digital-to-analog conversion end of the integrated chip, and the other end of the thermistor is grounded.

[0097] It can be understood that the purpose of the third sampling circuit is to collect the temperature of the PCB board where the motor drive unit is located. Here, it should be noted that the accuracy of the determined temperature can be improved by setting the position of the third sampling circuit.

[0098] Specifically, the voltage-dividing resistor and thermistor in the third sampling circuit divide the supply voltage provided by the power supply circuit, and the divided voltage, i.e., the third voltage, is collected by the integrated chip. The third voltage can be sent to the control unit as a basis for determining the temperature of the PCB board where the motor drive unit is located.

[0099] In this way, the third sampling circuit can sample and obtain a third voltage used to characterize the temperature on the PCB board where the motor drive unit is located, thereby knowing the temperature on the PCB board, which helps the control unit to accurately determine the current of the power supply circuit and the current of the motor, thereby improving the motor drive efficiency.

[0100] It should be noted that there is a one-to-one correspondence between the first sampling circuit, the H-bridge and the motor. That is, a first sampling circuit can be set for a group of H-bridges and motors, so that the first voltage for each motor can be sampled and obtained, which helps the control unit to effectively drive each motor, thereby improving the driving efficiency of the motor drive unit.

[0101] The embodiment of the present invention further provides a vehicle-mounted device, Figure 2 A schematic diagram of the structure of an optional vehicle-mounted device provided in an embodiment of the present invention, such as Figure 2 As shown, the vehicle-mounted device 200 may include the motor drive unit 21 described in one or more of the above embodiments, and the motor drive unit is connected to the control unit 22 of the vehicle-mounted device 200 .

[0102] The motor drive unit described in one or more of the above embodiments is described below with examples.

[0103] Figure 3 A schematic diagram of the structure of an example of an optional motor drive unit provided in an embodiment of the present invention, such as Figure 3As shown, the motor drive unit 300 may include: NMOS / 01, NMOS302, a new integrated chip 303 (equivalent to the above integrated chip), PA304, PA305, H bridge 306, motor 307, PA308, H bridge 309, motor 310, R311, R312 and motor 313; wherein,

[0104] NMOS301 and NMOS302 constitute a power supply circuit, PA304 constitutes the above-mentioned second sampling circuit, PA305 constitutes a first sampling circuit corresponding to the H bridge 306, PA308 constitutes a first sampling circuit corresponding to the H bridge 309, R311 and R312 constitute a third sampling circuit, R312 is a thermistor; the motor 313 adopts a half-bridge drive mode.

[0105] The bus conversion end of the novel integrated chip 303 is connected to the control unit via a bus. The novel integrated chip 303 also includes the following ports: N digital-to-analog conversion ports, N gate drive ports and N half-bridge drive ports.

[0106] Specifically, two input terminals of PA305 are connected to the drain and source of any MOS tube in the H-bridge 306 , and two input terminals of PA308 are connected to the drain and source of any MOS tube in the H-bridge 309 .

[0107] Taking the motor 307 as an example, based on the above-mentioned motor drive unit 300, the driving parameters of the generator 307 under the control unit are transmitted to the new integrated chip 303. The new integrated chip 303 drives the motor 307 based on the driving parameters. The new integrated chip 303 collects the drain-source voltage drop of any MOS tube in the power supply circuit through the digital-to-analog conversion 3, collects the drain-source voltage drop of any MOS tube in the H-bridge 306 through the digital-to-analog conversion 1, and collects the voltage divider value through the digital-to-analog conversion 2.

[0108] In this way, the control unit can collect three voltage values ​​through the bus, and the temperature of the PCB board where the motor drive unit 300 is located can be known from the voltage division value, so as to know the current of the power supply circuit, the current on the H-bridge, and then the voltage and current of the motor 307, and compare it with the received drive parameters of the motor 307 to determine whether the motor 307 is operating according to the drive parameters.

[0109] It can be seen that this example involves a new motor drive unit architecture solution for automobiles, specifically involving the application of an integrated intelligent drive chip (equivalent to the above-mentioned new integrated chip 303), eliminating the single-chip microcomputer and internal communication form of the drive unit, and realizing a functional architecture of separation of control and drive. The specific solution is as follows:

[0110] The new integrated chip integrates a bus conversion port, several digital-to-analog conversion ports, several field effect transistor gate drive ports, and several half-bridge drive ports. The specific number is matched or customized by the OEM through functional planning.

[0111] The core of the power management or power supply circuit is connected by two mirror-symmetrical field-effect transistors. If the N-channel solution is adopted, the opening and closing control is performed by utilizing the gate drive port of the new integrated chip. The control signal comes from the instruction issued by the control unit through the bus.

[0112] Functional safety goals are achieved by the main control chip, drive unit and execution end system. The current flowing through the field effect tube on the external H-bridge circuit is collected through an external circuit and fed back to the data conversion port of the new integrated chip. The new integrated chip feeds back the signal to the bus for the control unit to monitor. If an abnormality is determined, the control unit sends a command through the bus to make the drive unit take corresponding actions.

[0113] In addition, it should be noted that the anti-pinch algorithm is retained in the new integrated chip for processing, and the logic functions such as motor forward, reverse, and stop are moved to the control unit and interact through the bus. When anti-pinch occurs, the anti-pinch priority is high, and the results are fed back to the control unit after execution.

[0114] This example provides a new motor drive unit architecture solution, eliminating the traditional single-chip microcomputer, power chip, bus transceiver chip, and H-bridge driver chip. There is only one chip in the entire drive unit, with a simple interface and significantly reduced size. The control is moved up and the internal board communication is eliminated. It has strong economic benefits and practical application value.

[0115] That is to say, in this example, for H-bridge current monitoring, the voltage drop when the drain and source of the field effect transistor are collected through an op amp and connected to the digital-to-analog conversion interface of the new integrated chip, a thermistor is arranged near the field effect transistor, and a voltage is divided with an ordinary resistor, and the voltage division value is connected to the digital-to-analog conversion interface of the new integrated chip. For the power supply circuit, the voltage drop when the drain and source of the field effect transistor are collected through an op amp and connected to the digital-to-analog conversion interface of the new integrated chip. The new integrated chip feeds back the above three parameters to the bus for the control unit to monitor and judge. The temperature can be known through the thermistor, and the voltage difference of the field effect transistor reflects the voltage drop of the current on the internal resistance. At the same time, the internal resistance is related to the temperature. The specific correlation can be queried in the data sheet of the field effect tube. Therefore, the control unit can realize the identification and monitoring of the incoming current through the above parameters.

[0116] An embodiment of the present invention provides a motor drive unit, which is composed of a power supply circuit, an integrated chip and a sampling circuit, so that the integrated chip interacts with the control unit to complete the driving of the power supply circuit and the motor. In this way, the communication interaction method between the integrated chip and the control unit is used to improve the communication efficiency; through the sampling circuit in the motor drive unit, the target voltage can be collected, and the target voltage can be used to know whether the target motor is running according to the driving parameters, which is then sent to the control unit, so that the control unit can know the driving condition of the motor drive unit to better drive the motor, thereby improving the motor driving efficiency.

[0117] Based on the same inventive concept as the above embodiments, an embodiment of the present invention provides a motor driving method, which is applied to the motor driving unit and the control unit described in one or more of the above embodiments. Figure 4 A schematic flow chart of an optional motor driving method provided by an embodiment of the present invention is as follows: Figure 4 As shown, the method may include:

[0118] S401: The control unit sends a driving parameter for a target motor;

[0119] S402: The integrated chip drives the target motor according to the driving parameters;

[0120] S403: The sampling circuit collects the target voltage of the target motor and feeds the target voltage back to the integrated chip;

[0121] S404: The integrated chip sends the target voltage to the control unit;

[0122] S405: The control unit determines whether the target motor operates according to the driving parameters based on the target voltage.

[0123] Specifically, when the control unit receives an instruction from the UI interface or a trigger switch instructing to drive the target motor, the control unit generates driving parameters of the target motor based on the instruction and sends the driving parameters of the target motor to the integrated chip through the bus between the control unit and the integrated chip.

[0124] The integrated chip receives the driving parameters of the target motor and drives the target motor. Then, the sampling circuit collects the target voltage of the target motor in real time or at each preset time period, and feeds it back to the integrated chip, so that the integrated chip sends the received target voltage to the control unit. The control unit can know the operating status of the target motor based on the target voltage, and based on the operating status, it can determine whether the target click is running according to the driving parameters.

[0125] In this way, through the interaction between the motor drive unit and the control unit, the motor can be effectively driven, thereby improving the driving efficiency of the motor drive unit.

[0126] In order to determine whether the target motor is running according to the driving parameters, in an optional embodiment, S405 may include:

[0127] The control unit calculates the voltage of the target motor and the current of the target motor according to the first voltage, the second voltage and the third voltage;

[0128] According to the voltage of the target motor and the current of the target motor, it is determined whether the target motor operates according to the driving parameters.

[0129] It can be understood that the control unit can calculate the temperature on the PCB board based on the third voltage, the power supply voltage of the power supply circuit, the voltage divider resistor and the thermistor, and then know the internal resistance of any NMOS tube in the power supply circuit and the internal resistance of any MOS tube in the H-bridge. The current of the power supply circuit can be calculated using the first voltage and the internal resistance of any NMOS tube in the power supply circuit. The current of any MOS tube can be calculated using the second voltage and the internal resistance of any MOS tube in the H-bridge, and then the voltage of the target motor and the current of the target motor can be obtained.

[0130] Based on the above Figure 3 , Figure 5 A flowchart of an example 1 of an optional motor driving method provided by an embodiment of the present invention is shown as follows: Figure 5 As shown, the motor driving method may include:

[0131] S501: The user inputs a function instruction;

[0132] Among them, the above-mentioned instructions can be instructions on a UI interface, and the UI interface can be a car computer screen, or it can be an instruction generated when a trigger switch of a certain function is triggered. Here, the embodiment of the present invention does not make specific limitations on this.

[0133] S502: The domain controller processes the instruction through an algorithm and converts it into specific voltage, interface modulation and other requirements;

[0134] S503: The domain controller sends the request to the bus;

[0135] After receiving the instruction, the domain controller (equivalent to the above control unit) determines the target motor and its interface, as well as the drive parameters of the target motor based on the instruction, and sends the drive parameter message to the controller through the bus through the determined interface. Figure 3 The new integrated chip 303.

[0136] S504: The motor drive unit performs protocol conversion according to requirements such as voltage and interface modulation;

[0137] S505: The motor drive unit controls the motor current state through interface output modulation;

[0138] The novel integrated chip receives a message of the driving parameters of the target motor, performs protocol conversion according to the adopted protocol, obtains the driving parameters, drives the target motor based on the driving parameters, finds the interface of the target motor, and thereby realizes output modulation control of the motor current state through the interface.

[0139] S506: The motor drive unit monitors the output status and uploads it to the bus;

[0140] S507: The domain controller performs monitoring and management according to the operating status of the bus.

[0141] During the operation period of the target motor, the motor drive unit monitors the output state of the target motor (equivalent to the above-mentioned target voltage) through the sampling circuit, and sends it to the domain controller through the bus, so that the domain controller can know the target voltage through the bus and monitor and manage the target motor based on the target voltage.

[0142] In this way, the voltage and current of the target motor can be known through the above calculation. The control unit can compare them with the driving parameters of the target motor. If they are consistent, it means that the target motor is operating according to the driving parameters. If they are inconsistent, it means that the target motor is not operating according to the driving parameters. Based on this, it is determined whether to drive the target motor, thereby improving the driving efficiency of the motor drive unit.

[0143] When the vehicle-mounted device is powered on, in order to power on the motor drive unit, in an optional embodiment, the method further includes:

[0144] The control unit receives the power-on instruction, generates a power-on signal, and sends it to the integrated chip;

[0145] The integrated chip drives the power supply circuit according to the power-on signal, so that the power supply circuit supplies power to the H-bridge corresponding to the target motor.

[0146] It can be understood that after receiving the power-on instruction, the control unit generates a power-on signal based on the instruction and sends it to the integrated chip. The integrated chip drives the two NMOS of the power supply circuit to be turned off and turned on according to the power-on signal, so that the power supply circuit supplies power to the H bridge.

[0147] Based on the above Figure 3 , Figure 6 A flow chart of an optional motor driving method according to an embodiment of the present invention is shown in FIG. Figure 6 As shown, the motor driving method may include:

[0148] S601: The vehicle is powered on;

[0149] S602: After receiving the power-on information, the domain controller sends a wake-up command to the bus;

[0150] Specifically, after the vehicle is powered on, the domain controller receives the online information and sends a wake-up command to the new integrated chip through the bus.

[0151] S603: The motor drive unit collects bus wake-up instructions;

[0152] S604: New integrated chip drives power management electronic switch closure;

[0153] S605: The motor drive unit waits for bus voltage, current, and port modulation instructions.

[0154] After the new integrated chip receives the change-mode instruction through the bus, it will drive the two NMOS tubes of the power supply circuit through the gate drive port to turn on, so that the motor drive unit waits to receive information such as voltage, current, port modulation instructions, etc. from the control unit through the bus.

[0155] In this way, the motor drive unit is powered on, preparing for further driving of the motor, which helps to improve the driving efficiency of the motor drive.

[0156] In addition, in order to better control the motor, in an optional embodiment, S305 may include:

[0157] The control unit verifies the received target voltage message;

[0158] When all the checks are successful, the control unit determines whether the target motor is running according to the drive parameters based on the target voltage;

[0159] When the verification fails, the control unit sends driving parameters for the target motor to the integrated chip to turn off the target motor.

[0160] It can be understood that after the integrated chip sends the target voltage to the control unit through the bus in the form of a message, the control unit will verify the target voltage message subsequently received. Here, taking the CAN bus as an example, the message verification can include ID verification and CRC verification. When judging whether the verification is successful, only when the CRC verification is successful and the ID verification is successful, the control unit collects the target voltage to determine whether the target motor is running according to the drive parameters.

[0161] If at least one of the CRC check and the ID check fails, it indicates that there is a problem in driving the target motor, so the control unit sends the driving parameters for the target motor to the integrated chip to turn off the target motor, that is, not drive the target motor.

[0162] Based on the above Figure 3 , Figure 7A flow chart of an optional motor driving method according to an embodiment of the present invention is shown in FIG. Figure 7 As shown, the motor driving method may include:

[0163] S701: The digital-to-analog conversion port of the new integrated chip periodically detects the voltage drop of the thermistor, the voltage drop of the power management electronic switch, and the voltage drop of the MOS tube in the H-bridge;

[0164] Specifically, the new integrated chip collects the voltage drop on the thermistor through the third sampling circuit, collects the drain-source voltage drop of any MOS tube in the H-bridge through the first sampling circuit, and collects the drain-source voltage drop of any MOS tube in the power supply circuit through the second sampling circuit.

[0165] S702: The new integrated chip feeds back three voltage drops to the bus;

[0166] S703: The domain controller collects the status message obtained by the motor drive unit through the bus and performs monitoring;

[0167] S704: The domain controller determines whether the status of each signal is abnormal. If yes, execute S705;

[0168] S705: The domain controller issues a corresponding channel closing instruction in response to the abnormal signal;

[0169] S706: The motor drive unit closes the corresponding fault channel according to the closing instruction.

[0170] Among them, the new integrated chip feeds back the messages of the three voltage drops to the domain control through the bus, and then verifies the messages, which may include CRC verification and ID verification. If both verifications are successful, it is determined to be normal. If at least one of the two verifications fails, it is determined to be abnormal. The channel of the motor corresponding to the abnormal message is determined as a faulty channel, and the control of the motor corresponding to the faulty channel from the control unit is shut down.

[0171] In this way, the control unit determines whether the control unit and the motor drive unit are effectively driving the target motor by checking the message sent by the integrated chip. If it is effective, it drives normally; if it is not effective, the target motor is turned off to prohibit driving, thereby avoiding safety problems caused by problems in driving and improving the driving efficiency of the motor drive.

[0172] Among them, the computer-readable storage medium can be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and other memories.

[0173] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0174] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0175] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0177] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.

Claims

1. A motor drive unit, characterized in that: The motor driving unit is used to drive the motor corresponding to the H bridge by driving at least one H bridge; the motor driving unit includes: a power supply circuit, an integrated chip and a sampling circuit, the power supply circuit supplies power to the H bridge under the drive of the integrated chip; the integrated chip drives the gate of the MOS tube in the H bridge; wherein, The integrated chip is used to drive the target motor based on the driving parameters of the target motor received from the control unit; The sampling circuit is used to collect the target voltage of the target motor and feed the target voltage back to the integrated chip; The integrated chip is also used to send the target voltage to the control unit, so that the control unit determines whether the target motor operates according to the driving parameters; The target voltage includes: a first voltage of a component in the power supply circuit, a second voltage of a component in an H-bridge corresponding to the target motor, and a third voltage for characterizing a temperature on a PCB board where the motor drive unit is located.

2. The motor drive unit according to claim 1, characterized in that: The power supply circuit includes: a power supply, a first NMOS transistor and a second NMOS transistor; wherein, The gate of the first NMOS tube and the gate of the second NMOS tube are both connected to the first gate driving end of the integrated chip, the drain of the first NMOS tube is connected to the power supply, the source of the first NMOS tube is connected to the drain of the second NMOS tube, and the source of the second NMOS tube is connected to the drains of the two MOS tubes on the upper bridge wall of the H-bridge.

3. The motor drive unit according to claim 2, characterized in that: The sampling circuit includes: a first sampling circuit, a second sampling circuit and a third sampling circuit; wherein, The first sampling circuit is used to collect the first voltage; The second sampling circuit is used to collect the second voltage; The third sampling circuit is used to collect the third voltage.

4. The motor drive unit according to claim 3, characterized in that: The first adopting circuit comprises: a first operational amplifier, wherein: The two input terminals of the first operational amplifier are respectively connected to the drain and source of any MOS tube in the H-bridge, and the output terminal of the first operational amplifier is connected to the first digital-to-analog conversion terminal of the integrated chip.

5. The motor drive unit according to claim 3, characterized in that: The second sampling circuit comprises: a second operational amplifier; wherein, The two input terminals of the second operational amplifier are respectively connected to the drain and source of any one of the first NMOS tube and the second NMOS tube, and the output terminal of the second operational amplifier is connected to the second digital-to-analog conversion terminal of the integrated chip.

6. The motor drive unit according to claim 3, characterized in that: The third sampling circuit includes: a voltage divider resistor and a thermistor; wherein, One end of the voltage-dividing resistor is connected to the source of the second NMOS tube, the other end of the voltage-dividing resistor is respectively connected to one end of the thermistor and the third digital-to-analog conversion end of the integrated chip, and the other end of the thermistor is grounded.

7. The motor drive unit according to claim 4, characterized in that: There is a one-to-one correspondence between the first sampling circuit, the H-bridge and the motor.

8. A vehicle-mounted device, characterized in that: It comprises the motor drive unit according to any one of claims 1 to 7, wherein the motor drive unit is connected to the control unit of the vehicle-mounted device.

9. A motor driving method, characterized in that: The method is applied to the motor drive unit and the control unit according to any one of claims 1 to 7, comprising: The control unit sends a driving parameter for the target motor; The integrated chip drives the target motor according to the driving parameters; The sampling circuit collects the target voltage of the target motor and feeds the target voltage back to the integrated chip; The integrated chip sends the target voltage to the control unit; The control unit determines whether the target motor operates according to the driving parameter based on the target voltage.

10. The motor driving method according to claim 9, characterized in that: The control unit determines, based on the target voltage, whether the target motor operates according to the driving parameter, including: The control unit calculates the voltage of the target motor and the current of the target motor according to the first voltage, the second voltage and the third voltage; It is determined whether the target motor operates according to the driving parameter according to the voltage of the target motor and the current of the target motor.

11. The motor driving method according to claim 9, characterized in that: The method further comprises: The control unit receives the power-on instruction, generates a power-on signal, and sends it to the integrated chip; The integrated chip drives the power supply circuit according to the power-on signal, so that the power supply circuit supplies power to the H-bridge corresponding to the target motor.

12. The motor driving method according to any one of claims 9 to 11, characterized in that: The control unit determines, based on the target voltage, whether the target motor operates according to the driving parameter, including: The control unit verifies the received message of the target voltage; When the verification succeeds, the control unit determines whether the target motor operates according to the driving parameters based on the target voltage; When the verification fails, the control unit sends a driving parameter for the target motor to the integrated chip to turn off the target motor.