Driving device and vehicle
By setting a sampling resistor in the permanent magnet synchronous motor drive device to detect current and turn off the transistor, the problem of short-term interruption caused by power switching in the dual-power supply system is solved, ensuring the reliability of the power supply and the timely response of the vehicle braking, and improving the user experience.
Patent Information
- Application Number
- CN202511002883.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-18
- Publication Date
- 2025-10-28
AI Technical Summary
In the dual power supply system of the permanent magnet synchronous motor, there is a short power interruption during the power switching process, which causes slow vehicle braking response and affects the user experience.
By setting a sampling resistor in the drive device to detect the current and promptly turning off the corresponding transistor when reverse current or power failure is detected, the dual power supply is ensured to provide continuous power and avoid current backflow. The Back2back MOSFET structure is used to improve the current transmission reliability.
The continuity of dual power supply is achieved, damage to the power supply circuit is avoided, timely response of the braking function is ensured, and vehicle driving safety and user experience are improved.
Smart Images

Figure CN120855832A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of drive circuit technology, specifically to a drive device and a vehicle. Background Technology
[0002] In the automotive field, a permanent magnet synchronous motor (PMSM) is a high-efficiency, high-power-density motor that can be used to support the operation of a vehicle's braking system.
[0003] To ensure that the PMSM does not lose power, it can be driven by connecting dual power supplies. For example, power supply one and power supply two can be connected in parallel to the system basis chip (SBC). The system basis chip can then switch between power supply one and power supply two to power the PMSM, thereby avoiding the situation where no power is available to power the PMSM when a single power supply fails.
[0004] However, if a single power supply fails, fault diagnosis takes a short time, and switching to the backup power supply also takes a short time. This results in a brief power interruption for the PMSM during the fault diagnosis and switchover process, which may cause slow response in vehicle driving and braking, affecting the user's driving experience. Summary of the Invention
[0005] This application provides a driving device to solve the problem of short-term power interruption of the load caused by dual power supply switching.
[0006] In a first aspect, embodiments of this application provide a driving device, which includes a first power supply, a second power supply, a control module, a first transistor, a second transistor, a third transistor, a fourth transistor, a first sampling resistor, and a second sampling resistor, wherein the first power supply, the third transistor, the first transistor, the first sampling resistor, and a load are connected in sequence; the second power supply, the fourth transistor, the second transistor, the second sampling resistor, and the load are connected in sequence; the control module is used to acquire a first current flowing through the first sampling resistor and a second current flowing through the second sampling resistor, and when the first current meets a first condition, the control module controls the first transistor to turn off, wherein the first condition includes: the direction of the first current is from the load to the first transistor, and the first current is greater than a first current threshold; when the second current meets a second condition, the control module controls the second transistor to turn off, wherein the second condition includes: the direction of the second current is from the load to the second transistor, and the second current is greater than a second current threshold.
[0007] This drive device supplies power to the load simultaneously through two power sources. In either power supply circuit, if a reverse current exceeding a preset current threshold is detected by a set sampling resistor (e.g., the first sampling resistor for the first power supply and the second sampling resistor for the second power supply), the reverse current flowing to the power source can be promptly cut off by shutting down the corresponding transistor. This ensures continuous power supply to the load from both power sources, preventing damage to the power circuit from reverse current. Furthermore, if either power source fails, the current from the other power source can still continuously supply power to the load, effectively preventing load current interruption caused by power source switching. In the automotive field, if the load is a braking component, this ensures timely braking response, guarantees vehicle safety, and improves the user experience.
[0008] In some possible implementations of the first aspect described above, the driving device further includes a fifth transistor connected in series between the first power supply and the third transistor, and after controlling the first transistor to turn off, the control module is further configured to control the fifth transistor to turn off when the first current is greater than a third current threshold, wherein the third current threshold is greater than the first current threshold.
[0009] It is understandable that, to prevent the first transistor unit from failing, a fifth transistor can be connected in series between the first power supply and the third transistor, and the structure of the fifth transistor is the same as that of the first transistor. Thus, when the first transistor fails, the fifth transistor can cut off the first current.
[0010] In some possible implementations of the first aspect described above, the driving device further includes a sixth transistor connected in series between the second power supply and the fourth transistor, and, after controlling the second transistor to turn off, the control module is also configured to control the sixth transistor to turn off when the second current is greater than the fourth current threshold, wherein the fourth current threshold is greater than the second current threshold.
[0011] It is understandable that, to prevent the second transistor from failing, a sixth transistor can be connected in series between the second power supply and the fourth transistor, and the structure of the sixth transistor is the same as that of the second transistor. Thus, when the second transistor fails, the sixth transistor can cut off the second current.
[0012] In some possible implementations of the first aspect described above, the first transistor, second transistor, third transistor, fourth transistor, fifth transistor, and sixth transistor are all MOSFETs. Furthermore, the first transistor includes a first body diode, the anode of which is connected to the third transistor, and the cathode of which is connected to the first sampling resistor; the second transistor includes a second body diode, the anode of which is connected to the fourth transistor, and the cathode of which is connected to the second sampling resistor; the third transistor includes a third body diode, the cathode of which is connected to the fifth transistor, and the anode of which is connected to the first transistor; the fourth transistor includes a fourth body diode, the cathode of which is connected to the sixth transistor, and the anode of which is connected to the second transistor; the fifth transistor includes a fifth body diode, the anode of which is connected to the first power supply, and the cathode of which is connected to the third transistor; and the sixth transistor includes a sixth body diode, the anode of which is connected to the second power supply, and the cathode of which is connected to the fourth transistor.
[0013] It is understandable that the first transistor and the third transistor form a Back2back MOSFET structure, which can effectively prevent the positive and negative terminals of the first power supply from being reversed; the second transistor and the fourth transistor form a Back2back MOSFET structure, which can effectively prevent the positive and negative terminals of the second power supply from being reversed.
[0014] Furthermore, the first body diode ensures that the first current flowing back to the first power supply is completely blocked after the first transistor is turned off; the second body diode ensures that the second current flowing back to the second power supply is completely blocked after the second transistor is turned off.
[0015] In some possible implementations of the first aspect described above, the control module includes a processing unit and a first monitoring unit, and when the first current meets the first condition, the control module controls the first transistor to turn off, including: the processing unit is used to acquire a mode signal input by the user and send the mode signal to the first monitoring unit; the first monitoring unit is used to acquire the first current and determine whether the first current meets the first condition; the first monitoring unit is also used to control the first transistor to turn off when it is determined that the mode signal is a first preset mode signal and the first current meets the first condition.
[0016] It is understandable that the function of cutting off the first current flowing from the load to the first power source can be turned off by setting a mode signal.
[0017] In some possible implementations of the first aspect described above, the control module includes a processing unit and a second monitoring unit, and when the second current meets the second condition, the control module controls the second transistor to turn off, including: the processing unit is used to acquire a mode signal input by the user and send the mode signal to the second monitoring unit; the second monitoring unit is used to acquire the second current and determine whether the second current meets the second condition; the second monitoring unit is also used to control the second transistor to turn off when it is determined that the mode signal is a second preset mode signal and the second current meets the second condition.
[0018] It is understandable that the function of cutting off the second current flowing from the load to the second power source can be turned off by setting a mode signal.
[0019] In some possible implementations of the first aspect described above, the output terminal of the first power supply is connected to the fifth transistor, the first terminal of the first sampling resistor is connected to the load, and the control module is further configured to acquire a first voltage between the output terminal of the first power supply and the first terminal of the first sampling resistor; when the first voltage satisfies a third condition, the control module controls the first transistor and the fifth transistor to turn off, wherein the third condition includes: the first voltage is greater than a first voltage threshold, or the first voltage is less than a second voltage threshold.
[0020] It is understandable that, corresponding to the case where the first voltage is greater than the first voltage threshold, it can be determined that the first power supply has an overvoltage phenomenon. In this case, the control module can control the first transistor and the fifth transistor to turn off, thereby achieving overvoltage protection for the first power supply. Corresponding to the case where the first voltage is less than the second voltage threshold, it can be determined that the first power supply has an undervoltage phenomenon. In this case, the control module can control the first transistor and the fifth transistor to turn off, thereby achieving undervoltage protection for the first power supply.
[0021] In some possible implementations of the first aspect described above, the output terminal of the second power supply is connected to one end of the sixth transistor, the first end of the second sampling resistor is connected to one end of the load, and the control module is also used to acquire a second voltage between the output terminal of the second power supply and the first end of the second sampling resistor; when the second voltage satisfies a fourth condition, the control module controls the second transistor and the sixth transistor to turn off, wherein the fourth condition includes: the second voltage is greater than a third voltage threshold, or the second voltage is less than a fourth voltage threshold.
[0022] It is understandable that when the second voltage is greater than the third voltage threshold, it can be determined that there is an overvoltage phenomenon in the second power supply. In this case, the control module can control the second transistor and the sixth transistor to turn off, thereby achieving overvoltage protection for the second power supply.
[0023] If the second voltage is less than the fourth voltage threshold, it can be determined that there is an undervoltage phenomenon in the second power supply. Then the control module can control the second transistor and the sixth transistor to turn off, thereby realizing the undervoltage protection of the second power supply.
[0024] In some possible implementations of the first aspect above, the control module includes a processing unit and a first monitoring unit, wherein the processing unit is used to acquire a mode signal input by the user and send the mode signal to the first monitoring unit; the first monitoring unit is used to acquire a first voltage and determine whether the first voltage meets a third condition; the first monitoring unit is also used to control the first transistor and the fifth transistor to turn off when it is determined that the mode signal is a first preset mode signal and the first voltage meets the third condition.
[0025] It is understandable that the overvoltage and undervoltage protection functions of the first power supply can be enabled by using the mode signal input by the user.
[0026] In other embodiments, the overvoltage and undervoltage protection functions of the first power supply can be disabled using a user-input mode signal.
[0027] In some possible implementations of the first aspect above, the control module includes a processing unit and a second monitoring unit, wherein the processing unit is used to acquire a mode signal input by the user and send the mode signal to the second monitoring unit; the second monitoring unit is used to acquire a second voltage and determine whether the second voltage meets the fourth condition; the second monitoring unit is also used to control the second transistor and the sixth transistor to turn off when it is determined that the mode signal is a second preset mode signal and the second voltage meets the fourth condition.
[0028] It is understandable that the overvoltage and undervoltage protection functions of the second power supply can be enabled by using the mode signal input by the user.
[0029] In other embodiments, the overvoltage and undervoltage protection functions of the second power supply can be disabled using a user-input mode signal.
[0030] Secondly, embodiments of this application also provide a vehicle that may include the drive device and load provided by the first aspect and any possible implementation thereof, wherein the load is a braking component.
[0031] The technical solution provided in this application has at least the following beneficial effects:
[0032] This drive unit supplies power to the load simultaneously via two power sources. In either power supply circuit, a reverse current exceeding a preset current threshold can be detected using a set sampling resistor (e.g., the first sampling resistor for the first power supply and the second sampling resistor for the second power supply). If this reverse current is detected, the corresponding transistor can be switched off to promptly cut off the reverse current flowing to the power source, thus enabling continuous power supply to the load from both power sources and preventing damage to the power circuit from reverse current. Furthermore, if either power source fails, the current from the other power source can still continuously supply power to the load, effectively preventing load current interruptions caused by power source switching. In the automotive field, if the load is a braking component, this ensures timely braking response, guarantees vehicle safety, and enhances the user experience. Attached Figure Description
[0033] Figure 1 A schematic diagram of a dual-power supply drive circuit is shown.
[0034] Figure 2A A schematic diagram of the circuit structure of a driving device according to some embodiments of this application is shown;
[0035] Figure 2B A schematic diagram of another driving device circuit structure according to some embodiments of this application is shown;
[0036] Figure 3 A schematic diagram of the framework structure of a control module according to an embodiment of this application is shown;
[0037] Figure 4 A schematic diagram of the circuit structure of yet another driving device according to some embodiments of this application is shown;
[0038] Figure 5 A schematic diagram of the logic circuit of a first monitoring unit according to some embodiments of this application is shown;
[0039] Figure 6 A schematic diagram of the logic circuit of a second monitoring unit according to some embodiments of this application is shown. Detailed Implementation
[0040] To facilitate understanding of the technical solutions provided in the embodiments of this application, the meanings of some related field terms involved in the embodiments of this application are explained below.
[0041] (1) Permanent magnet synchronous motor (PMSM) is a high-efficiency, high-power-density motor widely used in the vehicle field, especially in electric vehicles and hybrid vehicles. PMSM has advantages such as high efficiency (energy conversion efficiency exceeding 95%), high power density, low noise, and fast dynamic response, making it very suitable for the drive system of electric vehicles. During braking, PMSM can act as a generator, converting the vehicle's kinetic energy into electrical energy and recharging it into the battery, thus improving energy utilization efficiency.
[0042] (2) System basis chip (SBC) (hereinafter referred to as "SBC") can be used for power management. It usually includes power modules such as low dropout voltage regulator (LDO) and DC-DC converter to provide stable power for automotive electronic systems.
[0043] (3) Metal-oxide-semiconductor field-effect transistors (MOSFETs) can be used as switches for power management, such as in switching power supplies and DC-DC converters, to achieve efficient voltage conversion and current control. Their working principle is based on the field-effect principle, controlling the current between the source and drain through the gate voltage. Based on conductivity type, MOSFETs are divided into two types: N-type MOSFETs (NMOS), where current flows by electrons; and P-type MOSFETs (PMOS), where current flows by holes.
[0044] (4) Back-Back MOSFET is a circuit configuration that connects two MOSFETs (Metal-Oxide-Semiconductor Field-Effect Transistors) back-to-back. In automotive electronic systems, incorrect wiring at the power input can easily lead to reverse polarity, damaging the circuit. Back-Back MOSFETs effectively prevent this reverse connection problem. By connecting the two MOSFETs in reverse series, current can only flow normally when the power supply polarity is correct, thus protecting the circuit. The Back-Back MOSFET design can improve system reliability and efficiency. Due to the low on-resistance and high switching speed of MOSFETs, this configuration can effectively reduce energy loss and maintain stable performance under high load conditions.
[0045] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings and specific implementation methods.
[0046] Figure 1 A schematic diagram of a dual-power supply drive circuit is shown.
[0047] refer to Figure 1 The PMSM shown (as an example of a "load") can be powered alternately by power supply 01 and power supply 02. The switching from power supply 01 to power supply 02 can be achieved by switching IO-1.
[0048] Assuming power supply 01 powers the PMSM, switch IO-1 can turn on its right contact based on the received IO control signal from the processor (not shown in the figure for simplicity). MOSFETs T01 and T02 can be driven by the drive voltage output from the charge pump provided in the SBC. Power supply 01 can then transfer current to the PMSM through MOSFETs T01 and T02, and the reliability of current transfer is improved by the Back2Back MOSFETs formed by MOSFETs T01 and T02.
[0049] Assuming power supply 01 fails at this time, the processor (not shown in the figure) can use the acquired... Figure 1 The voltage values at detection point A01 and detection point A01_RE are used to determine if power supply 01 is faulty. For example, if the voltage values at detection point A01 and detection point A01_RE drop to close to 0 volts, it can be determined that power supply 01 is faulty and it is necessary to switch to power supply 02 to power the PMSM.
[0050] It is understandable. Similarly, if the voltage values of detection point A02 and detection point A02_RE are close to 0 volts, it can also be determined that power supply 02 is faulty. If power supply 02 was originally used, it is now necessary to switch to power supply 01.
[0051] However, due to the above-mentioned detection points (e.g.) Figure 1 The voltage sampling process of the detection points A01, A01_RE, A02 and A02_RE shown is time-consuming. It requires converting the analog signal into a digital signal, and the processor needs to compare the sampled voltage at each sampling position with the fault voltage threshold to determine whether a single power supply fault has occurred.
[0052] Therefore, switching from a faulty power supply to a non-faulty power supply requires at least the time for "voltage sampling," "comparing the sampled voltage with the fault voltage threshold," and "waiting for the current in the path of the original faulty power supply to be exhausted" before switching to the other non-faulty power supply. It can be understood that waiting for the current in the path of the source faulty power supply to be exhausted before switching to the other non-faulty power supply can prevent the current in the path of the original faulty power supply from flowing back into the non-faulty power supply and causing a drive circuit failure.
[0053] Therefore, the PMSM may not receive current during the switching time required in the example above. In some application scenarios, such as if the PMSM powers the braking components of a car, the vehicle's braking will be slow to respond, resulting in a poor user experience.
[0054] To address the issue of short-term power interruption caused by dual-power supply switching, this application proposes a driving device comprising: a first power supply, a second power supply, a control module, a first transistor, a second transistor, a third transistor T3, a fourth transistor T4, a first sampling resistor, and a second sampling resistor, wherein the first power supply, the third transistor, the first transistor, the first sampling resistor, and the load are connected sequentially; the second power supply, the fourth transistor, the second transistor, the second sampling resistor, and the load are also connected sequentially; the control module is used to acquire a first current flowing through the first sampling resistor and a second current flowing through the second sampling resistor, and when the first current meets a first condition, the control module controls the first transistor to turn off, wherein the first condition includes: the direction of the first current is from the load to the first transistor, and the first current is greater than a first current threshold; when the second current meets a second condition, the control module controls the second transistor to turn off, wherein the second condition includes: the direction of the second current is from the load to the second transistor, and the second current is greater than a second current threshold.
[0055] The technical solution provided in this application has at least the following beneficial effects:
[0056] This drive unit supplies power to the load simultaneously via two power sources. In either power supply circuit, a reverse current exceeding a preset current threshold can be detected using a set sampling resistor (e.g., the first sampling resistor for the first power supply and the second sampling resistor for the second power supply). If this reverse current is detected, the corresponding transistor can be switched off to promptly cut off the reverse current flowing to the power source, thus enabling continuous power supply to the load from both power sources and preventing damage to the power circuit from reverse current. Furthermore, if either power source fails, the current from the other power source can still continuously supply power to the load, effectively preventing load current interruptions caused by power source switching. In the automotive field, if the load is a braking component, this ensures timely braking response, guarantees vehicle safety, and enhances the user experience.
[0057] For example, if a first current greater than a first current threshold is detected flowing from the load to the first power supply through the first sampling resistor, the first transistor can be turned off to cut off the first current. Similarly, if a second current greater than a second current threshold is detected flowing from the load to the second power supply through the second sampling resistor, the second transistor can be turned off to cut off the second current.
[0058] The specific circuit structure of a driving device proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0059] Figure 2A A schematic diagram of the circuit structure of a driving device according to some embodiments of this application is shown.
[0060] refer to Figure 2A The drive device 200a includes a first power supply B1 and a second power supply B2 to supply power to the load.
[0061] The driving device 200a includes a first power supply B1, a second power supply B2, a control module 201, a first transistor T1, a second transistor T2, a third transistor T3, a fourth transistor T4, a first sampling resistor R1, and a second sampling resistor R2. The first power supply B1, the third transistor, the first transistor T1, the first sampling resistor R1, and the load are connected sequentially; the second power supply B2, the fourth transistor, the second transistor T2, the second sampling resistor R2, and the load are also connected sequentially. The control module 201 acquires a first current flowing through the first sampling resistor R1 and a second current flowing through the second sampling resistor R2. When the first current meets a first condition, the control module 201 controls the first transistor T1 to turn off. The first condition includes: the direction of the first current is from the load to the first transistor T1, and the first current is greater than a first current threshold. When the second current meets a second condition, the control module 201 controls the second transistor T2 to turn off. The second condition includes: the direction of the second current is from the load to the second transistor T2, and the second current is greater than a second current threshold.
[0062] It is understandable that the control module 201 can determine whether a first current flows through the load to the first transistor T1 by sampling the current across the first sampling resistor R1. Similarly, the control module 201 can determine whether a second current flows through the load to the second transistor T2 by sampling the current across the second sampling resistor R2.
[0063] In some embodiments of this application, the control module 201 may include an oscilloscope (not shown) to detect whether a first current flows from the load to the first transistor T1 across the first sampling resistor R1, and to determine whether the first current is greater than a first current threshold. Similarly, the control module may use an oscilloscope to detect whether a second current flows from the load to the second transistor T2 across the second sampling resistor R2, and to determine whether the second current is greater than a second current threshold.
[0064] In some embodiments of this application, the first transistor T1 includes a first body diode, the anode of which is connected to the third transistor T3, and the cathode of which is connected to the first sampling resistor R1; the second transistor T2 includes a second body diode, the anode of which is connected to the fourth transistor T4, and the cathode of which is connected to the second sampling resistor R2.
[0065] It is understood that when the first current meets the first condition, the control module 201 controls the first transistor T1 to turn off. Since the first body diode of the first transistor T1 cannot conduct the DC current flowing from the load to the first power supply B1, the turned-off first transistor T1 can completely block the first current and prevent the first current from flowing back into the first power supply B1.
[0066] In some embodiments, the first power supply B1 can be a DC-DC power supply component, and preventing the first current from flowing back can prevent damage to the internal circuitry of the first power supply B1.
[0067] Continue to refer Figure 2A In some embodiments, the third transistor T3 includes a third body diode, the negative terminal of which is connected to the first power supply B1, and the positive terminal of which is connected to the first transistor T1.
[0068] It is understood that the third transistor T3 can be the switching transistor for the first power supply B1. Here, the first transistor T1 and the third transistor T3 form a back-back MOSFET structure, which can prevent the simultaneous failure of both power supplies (the first power supply B1 and the second power supply B2) after the failure of the first transistor T1, and can also effectively prevent the positive and negative terminals of the first power supply B1 from being reversed.
[0069] Similarly, when the second current meets the second condition, the control module 201 controls the second transistor T2 to turn off. Since the second body diode of the second transistor T2 cannot conduct the DC current flowing from the load to the second power supply B2, the turned-off second transistor T2 can completely block the second current, preventing the second current from flowing back into the second power supply B2.
[0070] In some embodiments, the second power supply B2 can be a DC-DC power supply component, and preventing the second current from flowing back can prevent damage to the internal circuitry of the second power supply B2.
[0071] Continue to refer Figure 2A In some embodiments, the fourth transistor T4 includes a fourth body diode, the negative terminal of which is connected to the second power supply B2, and the positive terminal of which is connected to the second transistor T2.
[0072] It can be understood that the fourth transistor T4 can be the switching transistor for the second power supply B2. Here, the second transistor T2 and the fourth transistor T4 form a back-back MOSFET structure, which can prevent the simultaneous failure of both power supplies (the first power supply B1 and the second power supply B2) after the failure of the first transistor T1, and can also effectively prevent the positive and negative terminals of the second power supply B2 from being reversed.
[0073] In some embodiments of this application, the control module 201 can control the first transistor T1 to turn off by reducing the gate voltage of the first transistor T1 to below the corresponding turn-off voltage threshold. Similarly, the control module 201 can control the second transistor T2 to turn off by reducing the gate voltage of the second transistor T2 to below the corresponding turn-off voltage threshold.
[0074] Therefore, through Figure 2A The circuit structure corresponding to the driving device 200a shown in this application embodiment can promptly cut off the reverse current (corresponding to the first current) flowing from the load to the first transistor and the reverse current (corresponding to the second current) flowing from the load to the second transistor by turning off the first transistor T1 or the second transistor T2, thereby avoiding damage to the power supply circuit by the reverse current and realizing continuous power supply to the load by dual power sources.
[0075] In other embodiments, to prevent the failure of the first transistor T1 and the second transistor T2, a fifth transistor T5 can be connected in series between the first power supply B1 and the third transistor T3, and the structure of the fifth transistor T5 is the same as that of the first transistor T1. Thus, when the first transistor T1 fails, the fifth transistor T5 can cut off the first current. Similarly, a sixth transistor T6 can be connected in series between the second power supply B2 and the fourth transistor T4, and the structure of the sixth transistor T6 is the same as that of the second transistor T2. Thus, when the second transistor T2 fails, the sixth transistor T6 can cut off the second current.
[0076] Figure 2B A schematic diagram of another driving device circuit structure according to some embodiments of this application is shown.
[0077] refer to Figure 2B, and Figure 2A The difference is that the drive device 200b has a fifth transistor T5 connected in series between the first power supply B1 and the third transistor T3, and a sixth transistor T6 connected in series between the second power supply B2 and the fourth transistor T4.
[0078] Continue to refer Figure 2B The first transistor T1, the second transistor T2, the third transistor T3, the fourth transistor T4, the fifth transistor T5, and the sixth transistor T6 can all be MOSFETs.
[0079] Furthermore, the first transistor T1 includes a first body diode, the anode of which is connected to the third transistor T3, and the cathode of which is connected to the first sampling resistor R1. The second transistor T2 includes a second body diode, the anode of which is connected to the fourth transistor T4, and the cathode of which is connected to the second sampling resistor R2. The third transistor T3 includes a third body diode, the cathode of which is connected to the fifth transistor T5, and the anode of which is connected to the first transistor T1. The fourth transistor T4 includes a fourth body diode, the cathode of which is connected to the sixth transistor T6, and the anode of which is connected to the second transistor T2. The fifth transistor T5 includes a fifth body diode, the anode of which is connected to the first power supply B1, and the cathode of which is connected to the third transistor T3. The sixth transistor T6 includes a sixth body diode, the anode of which is connected to the second power supply B2, and the cathode of which is connected to the fourth transistor T4.
[0080] For example, after controlling the first transistor T1 to turn off, the control module 201 is further configured to control the fifth transistor T5 to turn off when the first current is greater than the third current threshold, wherein the third current threshold is greater than the first current threshold.
[0081] It is understandable that when the first transistor T1 is turned off, the first current should decrease. However, if the first current is still greater than the third current threshold, the first transistor T1 can be considered to have failed. At this time, the control module 201 can control the fifth transistor T5 to turn off in order to ensure the safety of the first power supply B1 and prevent the first current from flowing back into the first power supply B1.
[0082] For example, after controlling the second transistor T2 to turn off, the control module 201 is further configured to control the sixth transistor T6 to turn off when the second current is greater than the fourth current threshold, wherein the fourth current threshold is greater than the second current threshold.
[0083] Similarly, when the second transistor T2 is turned off, the second current should decrease. However, if the second current is still greater than the fourth current threshold, the second transistor T2 can be considered to have failed. At this time, the control module 201 can control the sixth transistor T6 to turn off in order to ensure the safety of the second power supply B2 and prevent the second current from flowing back into the second power supply B2.
[0084] In some embodiments, the first current threshold can be 500mA, the second current threshold can be 500mA, the third current threshold can be 100A, and the fourth current threshold can be 100A.
[0085] In other embodiments, the control module 201 can disable the function of cutting off the reverse current flowing from the load to the power source by setting a mode signal.
[0086] Figure 3 A schematic diagram of the framework structure of a control module 201 provided according to an embodiment of this application is shown.
[0087] refer to Figure 3 The control module 201 may include a processing unit 2010, a first monitoring unit 2011, and a second monitoring unit 2012.
[0088] The first monitoring unit 2011 can be used to monitor the first current, and the second monitoring unit 2012 can be used to monitor the second current.
[0089] Taking the monitoring process of the first current as an example, the processing unit 2010 is used to acquire the mode signal input by the user (e.g., Figure 3 The example uses MCU_IO_MODE and sends the mode signal to the first monitoring unit 2011. The first monitoring unit 2011 is used to acquire the first current and determine whether the first current meets the first condition (e.g., the direction of the first current is from the load to the first transistor T1, and the first current is greater than the first current threshold). The first monitoring unit 2011 is also used to control the first transistor T1 to turn off when it is determined that the mode signal is a first preset mode signal and the first current meets the first condition.
[0090] It is understood that the first preset mode signal of the first power supply B1 can be freely set by the user. For example, the first preset mode signal can be set to "1" to turn off the first transistor T1 to prevent the first current from flowing back into the first power supply B1. Then, when the first monitoring unit 2011 determines that the mode signal input by the user to the first power supply B1 is the first preset mode signal and the first current meets the first condition, the first transistor T1 is turned off.
[0091] In other embodiments, when the load is a braking component requiring braking, the user can allow a first current to be introduced into the first power supply B1. If the first monitoring unit 2011 determines that the user-input mode signal of the first power supply B1 is not a first preset mode signal, such as when the user-input mode signal is "0", then even if the first current is determined to meet the first condition, the first monitoring unit 2011 may not turn off the first transistor T1 and maintain the original power supply mode of the first power supply B1.
[0092] It's understandable that, taking the braking component as an example, during braking, the motor in the braking component will drop from high speed to low speed in a short period of time. At this time, the motor is equivalent to a generator, generating a large back electromotive force. Allowing the first current to be introduced into the first power source can charge the first power source, or reduce the current consumption of the first power source by introducing the first current into other power-consuming components of the vehicle, thereby achieving energy saving in the vehicle.
[0093] In some embodiments of this application, the first preset mode signal may also be a digital signal obtained based on an analog signal.
[0094] It is understood that the first preset mode signal proposed in the above embodiment of this application as "0" or "1" is only an example. The first preset mode signal can also be other values, such as "00", "01", etc. The specific value of the first preset mode signal is not further limited here.
[0095] Similarly, for the monitoring process of the second current, the control module 201 may include a processing unit 2010 and a second monitoring unit 2012. The processing unit 2010 is used to acquire the mode signal input by the user and send the mode signal to the second monitoring unit 2012. The second monitoring unit 2012 is used to acquire the second current and determine whether the second current meets the second condition (e.g., the direction of the second current is from the load to the second transistor T2, and the second current is greater than the second current threshold). The second monitoring unit 2012 is also used to control the second transistor T2 to turn off when it is determined that the mode signal is the second preset mode signal and the second current meets the second condition.
[0096] It is understood that the second preset mode signal of the second power supply B2 can also be freely set by the user. For example, the second preset mode signal can be set to "1" to turn off the second transistor T2 to prevent the second current from flowing back into the second power supply B2. Then, when the second monitoring unit 2012 determines that the mode signal input by the user to the second power supply B2 is the second preset mode signal and the second current meets the second condition, the second transistor T2 is turned off.
[0097] In other embodiments, when the load is a braking component requiring braking, the user can allow a second current to be introduced into the second power supply B2. If the second monitoring unit 2012 determines that the user-input mode signal of the second power supply B2 is not the second preset mode signal, then even if the second current is determined to meet the second condition, the second monitoring unit 2012 may not turn off the second transistor T2 and maintain the original power supply mode of the second power supply B2.
[0098] It's understandable that, taking the braking component as an example, during braking, the motor in the braking component will drop from high speed to low speed in a short period of time. At this time, the motor is equivalent to a generator, generating a large back electromotive force. Allowing a second current to be introduced into the second power source can charge the second power source, or reduce the current consumption of the second power source by introducing the second current into other power-consuming components of the vehicle, thereby achieving energy saving in the vehicle.
[0099] In some embodiments of this application, the second preset mode signal may also be a digital signal obtained based on an analog signal.
[0100] It is understood that the second preset mode signal proposed in the above embodiment of this application as "0" or "1" is only an example. The second preset mode signal can also be other values, such as "00", "01", etc. The specific value of the second preset mode signal is not further limited here.
[0101] In other embodiments, the drive device can also provide overvoltage and undervoltage protection for dual power supplies.
[0102] Figure 4 A schematic diagram of the circuit structure of another driving device 200c according to some embodiments of this application is shown.
[0103] refer to Figure 4 The output terminal of the first power supply B1 is connected to the fifth transistor T5, and the first terminal of the first sampling resistor R1 is connected to the load. The control module 201 is also used to acquire a first voltage between the output terminal of the first power supply B1 and the first terminal of the first sampling resistor R1. When the first voltage satisfies a third condition, the control module 201 controls the first transistor T1 and the fifth transistor T5 to turn off, wherein the third condition includes: the first voltage being greater than a first voltage threshold, or the first voltage being less than a second voltage threshold.
[0104] It can be understood that the first input voltage of the first power supply B1 can be obtained at the output terminal of the first power supply B1, and the first output voltage can be obtained at the first terminal of the first sampling resistor R1. Therefore, the first voltage is the voltage difference between the first input voltage and the first output voltage.
[0105] It is understandable that, corresponding to the case where the first voltage is greater than the first voltage threshold, it can be determined that the first power supply B1 has an overvoltage phenomenon. Then, the control module 201 can control the first transistor T1 and the fifth transistor T5 to turn off, thereby realizing overvoltage protection for the first power supply B1.
[0106] If the first voltage is less than the second voltage threshold, it can be determined that the first power supply B1 is undervoltage. Then, the control module 201 can control the first transistor T1 and the fifth transistor T5 to turn off, thereby achieving undervoltage protection for the first power supply B1.
[0107] Similarly, the output terminal of the second power supply B2 is connected to one end of the sixth transistor T6, and the first end of the second sampling resistor R2 is connected to one end of the load. Furthermore, the control module 201 is also used to acquire a second voltage between the output terminal of the second power supply B2 and the first end of the second sampling resistor R2. When the second voltage satisfies a fourth condition, the control module 201 controls the second transistor T2 and the sixth transistor T6 to turn off, wherein the fourth condition includes: the second voltage being greater than a third voltage threshold, or the second voltage being less than a fourth voltage threshold.
[0108] It can be understood that the second input voltage of the second power supply B2 can be obtained at the output terminal of the second power supply B2, and the second output voltage can be obtained at the first terminal of the second sampling resistor R2. Therefore, the second voltage is the voltage difference between the second input voltage and the second output voltage.
[0109] It is understandable that, in the case where the second voltage is greater than the third voltage threshold, it can be determined that there is an overvoltage phenomenon in the second power supply B2. Then, the control module 201 can control the second transistor T2 and the sixth transistor T6 to turn off, thereby realizing overvoltage protection for the second power supply B2.
[0110] When the second voltage is less than the fourth voltage threshold, it can be determined that the second power supply B2 is undervoltage. Then, the control module 201 can control the second transistor T2 and the sixth transistor T6 to turn off, thereby achieving undervoltage protection for the second power supply B2.
[0111] In some embodiments of this application, the control module 201 may include a processing unit 2010, a first monitoring unit 2011, and a second monitoring unit 2012, so as to enable and disable the overvoltage protection and undervoltage protection functions of the processing unit 2010 using the mode signal input by the user.
[0112] In some embodiments of this application, the control module 201 includes a processing unit 2010 and a first monitoring unit 2011. The processing unit 2010 is used to acquire a pattern signal input by the user (e.g., Figure 3The example uses MCU_IO_MODE and sends the mode signal to the first monitoring unit 2011. The first monitoring unit 2011 is used to acquire the first voltage and determine whether the first voltage meets the third condition. The first monitoring unit 2011 is also used to control the first transistor T1 and the fifth transistor T5 to turn off when it is determined that the mode signal is the first preset mode signal and the first voltage meets the third condition.
[0113] It is understood that the first preset mode signal can indicate that the overvoltage protection and undervoltage protection functions of the first power supply B1 are enabled. When the mode signal input by the user is the first preset mode signal and the first voltage meets the third condition, it is confirmed that the first power supply B1 needs to be protected against overvoltage and undervoltage. The first monitoring unit 2011 controls the first transistor T1 and the fifth transistor T5 to be turned off.
[0114] Similarly, the control module 201 includes a processing unit 2010 and a second monitoring unit 2012. The processing unit 2010 is used to acquire the mode signal input by the user and send the mode signal to the second monitoring unit 2012. The second monitoring unit 2012 is used to acquire the second voltage and determine whether the second voltage meets the fourth condition. The second monitoring unit 2012 is also used to control the second transistor T2 and the sixth transistor T6 to turn off when it is determined that the mode signal is the second preset mode signal and the second voltage meets the fourth condition.
[0115] It is understood that the second preset mode signal can indicate that the overvoltage protection and undervoltage protection functions of the second power supply B2 are enabled. When the mode signal input by the user is the second preset mode signal and the second voltage meets the fourth condition, it is confirmed that the second power supply B2 needs to be protected against overvoltage and undervoltage. The second monitoring unit 2012 controls the second transistor T2 and the sixth transistor T6 to be turned off.
[0116] In some embodiments, in order to achieve overvoltage and undervoltage protection for the first power supply B1, corresponding to the case where the first voltage is greater than the first voltage threshold or the case where the first voltage is less than the second voltage threshold, the first monitoring unit 2011 can control all transistors connected in series between the first power supply and the load to turn off, that is, it can control the first transistor T1, the third transistor T3 and the fifth transistor T5 to turn off.
[0117] In some embodiments, in order to achieve overvoltage and undervoltage protection for the second power supply B2, corresponding to the case where the second voltage is greater than the third voltage threshold or the case where the second voltage is less than the third voltage threshold, the second monitoring unit 2012 can control all transistors connected in series between the second power supply and the load to turn off based on the fourth mode signal, that is, it can control the second transistor T2, the fourth transistor T4 and the sixth transistor T6 to turn off together based on the fourth mode signal.
[0118] Figure 5 A schematic diagram of the logic circuit of a first monitoring unit 2011 according to some embodiments of this application is shown.
[0119] In some embodiments, reference Figure 5 The first monitoring unit 2011 may include a first hysteresis comparator S1 and a second hysteresis comparator S2.
[0120] For example, the first hysteresis comparator S1 is used to compare the first input voltage of the first power supply B1 obtained at the output terminal of the first power supply B1 with the first output voltage obtained at the first terminal of the first sampling resistor R1, and can determine the comparison result of the voltage difference between the first input voltage and the first output voltage (corresponding to the first voltage) with the first voltage threshold and the second voltage threshold.
[0121] It is understandable that if the comparison result shows that the first voltage is greater than the first voltage threshold, and the user input MCU_IO_MODE is the first preset mode signal, then it can be determined that the overvoltage protection of the first power supply B1 needs to be turned on.
[0122] If the comparison result shows that the first voltage is less than the second voltage threshold, and the user input MCU_IO_MODE is the first preset mode signal, then it can be determined that the undervoltage protection of the first power supply B1 needs to be enabled.
[0123] When it is determined that the overvoltage protection or undervoltage protection of the first power supply B1 needs to be turned on, the first monitoring unit 2011 can turn off all transistors connected in series between the first power supply B1 and the load by outputting MODE1.
[0124] For example, the second hysteresis comparator S2 is used to compare the enabled MCU_IO_EN1 obtained from the processing unit 2010 with a first preset threshold range. When the value is less than the lower bound of the first preset threshold range, the first enabled EN1 is output as a low-level signal 0; when the enabled MCU_IO_EN1 is greater than the upper bound of the first preset threshold range, the first enabled EN1 is output as a high-level signal 1. Thus, stable power supply to the first transistor T1, the third transistor T3, and the fifth transistor T5 is achieved through threshold comparison.
[0125] It is understandable that the first preset threshold range can be designed according to actual needs, and no specific restrictions are imposed here.
[0126] Figure 6 A schematic diagram of the logic circuit of a second monitoring unit 2012 according to some embodiments of this application is shown.
[0127] In some embodiments, reference Figure 6 The second monitoring unit 2012 may include a third hysteresis comparator S3 and a fourth hysteresis comparator S4.
[0128] For example, the third hysteresis comparator S3 is used to compare the second input voltage of the second power supply B2 obtained at the output terminal of the second power supply B2 with the second output voltage obtained at the first terminal of the second sampling resistor R2, and then to determine the comparison result of the voltage difference between the second input voltage and the second output voltage (corresponding to the second voltage) with the third voltage threshold, and to determine the comparison result of the second voltage and the fourth voltage threshold.
[0129] It is understandable that if the comparison result shows that the second voltage is greater than the third voltage threshold, and the user input MCU_IO_MODE is the first preset mode signal, then it can be determined that the overvoltage protection of the second power supply B2 needs to be turned on.
[0130] If the comparison result shows that the second voltage is less than the fourth voltage threshold, and the user input MCU_IO_MODE is the second preset mode signal, then it can be determined that the undervoltage protection of the second power supply B2 needs to be turned on.
[0131] When it is determined that the overvoltage protection or undervoltage protection of the second power supply B2 needs to be turned on, the second monitoring unit 2012 can turn off all transistors connected in series between the second power supply B2 and the load by outputting MODE2.
[0132] For example, the fourth hysteresis comparator S4 is used to compare the enabled MCU_IO_EN2 obtained from the processing unit 2010 with a second preset threshold range. When the value is less than the lower limit of the second preset threshold range, the second enabled EN2 is output as a low-level signal 0; when the enabled MCU_IO_EN2 is greater than the upper limit of the second preset threshold range, the second enabled EN2 is output as a high-level signal 1. Thus, stable power supply to the second transistor T2, the fourth transistor T4, and the sixth transistor T6 is achieved through threshold comparison.
[0133] It is understood that the range of the second preset threshold can be designed according to actual needs, and no specific restrictions are imposed here.
[0134] In some embodiments, reference Figure 4 The control module 201 may further include a first charge pump unit 2013 and a second charge pump unit 2014. The first charge pump unit 2013 can acquire the first enable EN1 output by the first monitoring unit 2011 and the second enable EN2 output by the second monitoring unit 2012. The first charge pump unit 2013 is enabled by EN1 to provide switching voltages for the third transistor T3, the fifth transistor T5, the fourth transistor T4 and the sixth transistor T6. The second charge pump unit 2014 is enabled by EN2 to provide switching voltages for the first transistor T1 and the second transistor T2.
[0135] Some embodiments of this application also provide a vehicle including the drive unit and load proposed in any of the embodiments above. In some embodiments, the load may be a braking component. It is understood that by driving the braking component through the drive unit described above, a dual power supply can be used to continuously supply current to the braking component, avoiding slow braking response after a single power supply fails.
[0136] In some embodiments of this application, the processing unit 2010 exemplified above may be a microcontroller unit (MCU) installed on a vehicle.
[0137] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.
[0138] It should be noted that in the examples and description of this application, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0139] In this specification, references to "some embodiments" or "embodiments" mean that a specific feature, structure, or characteristic described in connection with an embodiment is included in at least one exemplary implementation or technology disclosed according to embodiments of this application. The phrase "in some embodiments" appearing in various places in the specification does not necessarily refer to the same embodiment.
[0140] Furthermore, the language used in this specification has been primarily chosen for readability and instructional purposes and may not have been chosen to depict or limit the disclosed subject matter. Therefore, the embodiments disclosed herein are intended to illustrate, and not limit, the scope of the concepts discussed herein.
Claims
1. A driving device for driving a load, characterized in that, The driving device includes a first power supply, a second power supply, a control module, a first transistor, a second transistor, a third transistor, a fourth transistor, a first sampling resistor, and a second sampling resistor, wherein... The first power supply, the third transistor, the first transistor, the first sampling resistor, and the load are connected in sequence; The second power supply, the fourth transistor, the second transistor, the second sampling resistor, and the load are connected in sequence; The control module is used to acquire a first current flowing through the first sampling resistor and a second current flowing through the second sampling resistor, and, When the first current meets the first condition, the control module controls the first transistor to turn off, wherein the first condition includes: the direction of the first current is from the load to the first transistor, and the first current is greater than a first current threshold. When the second current meets the second condition, the control module controls the second transistor to turn off, wherein the second condition includes: the direction of the second current is from the load to the second transistor, and the second current is greater than the second current threshold.
2. The apparatus according to claim 1, characterized in that, The driving device further includes a fifth transistor connected in series between the first power supply and the third transistor, and, After controlling the first transistor to turn off, the control module is further configured to control the fifth transistor to turn off when the first current is greater than the third current threshold, wherein the third current threshold is greater than the first current threshold.
3. The apparatus according to claim 2, characterized in that, The driving device further includes a sixth transistor connected in series between the second power supply and the fourth transistor, and, After controlling the second transistor to turn off, the control module is further configured to control the sixth transistor to turn off when the second current is greater than the fourth current threshold, wherein the fourth current threshold is greater than the second current threshold.
4. The apparatus according to claim 3, characterized in that, The first transistor, the second transistor, the third transistor, the fourth transistor, the fifth transistor, and the sixth transistor are all MOS transistors, and... The first transistor includes a first body diode, the anode of the first body diode is connected to the third transistor, and the cathode of the first body diode is connected to the first sampling resistor; The second transistor includes a second body diode, the anode of which is connected to the fourth transistor, and the cathode of which is connected to the second sampling resistor. The third transistor includes a third body diode, the negative terminal of which is connected to the fifth transistor, and the positive terminal of which is connected to the first transistor. The fourth transistor includes a fourth body diode, the negative terminal of which is connected to the sixth transistor, and the positive terminal of which is connected to the second transistor. The fifth transistor includes a fifth body diode, the positive terminal of which is connected to the first power supply, and the negative terminal of which is connected to the third transistor. The sixth transistor includes a sixth body diode, the anode of which is connected to the second power supply, and the cathode of which is connected to the fourth transistor.
5. The apparatus according to claim 1, characterized in that, The control module includes a processing unit and a first monitoring unit, and, When the first current meets the first condition, the control module controls the first transistor to turn off, including: The processing unit acquires the pattern signal input by the user and sends the pattern signal to the first monitoring unit; The first monitoring unit acquires the first current and determines whether the first current meets the first condition; When the first monitoring unit determines that the mode signal is a first preset mode signal and the first current meets the first condition, it controls the first transistor to turn off.
6. The apparatus according to claim 1, characterized in that, The control module includes a processing unit and a second monitoring unit, and, When the second current meets the second condition, the control module controls the second transistor to turn off, including: The processing unit acquires the pattern signal input by the user and sends the pattern signal to the second monitoring unit; The second monitoring unit acquires the second current and determines whether the second current meets the second condition; When the second monitoring unit determines that the mode signal is a second preset mode signal and the second current meets the second condition, it controls the second transistor to turn off.
7. The apparatus according to claim 2, characterized in that, The output terminal of the first power supply is connected to the fifth transistor, the first terminal of the first sampling resistor is connected to the load, and... The control module is also used to acquire a first voltage between the output terminal of the first power supply and the first terminal of the first sampling resistor; When the first voltage meets the third condition, the control module controls the first transistor and the fifth transistor to turn off, wherein the third condition includes: the first voltage is greater than a first voltage threshold, or the first voltage is less than a second voltage threshold and the second voltage threshold is greater than the first voltage threshold.
8. The apparatus according to claim 3, characterized in that, The output terminal of the second power supply is connected to one end of the sixth transistor, and the first end of the second sampling resistor is connected to one end of the load. The control module is also used to acquire a second voltage between the output terminal of the second power supply and the first terminal of the second sampling resistor; When the second voltage meets the fourth condition, the control module controls the second transistor and the sixth transistor to turn off, wherein the fourth condition includes: the second voltage is greater than the third voltage threshold, or the second voltage is less than the fourth voltage threshold, and the fourth voltage threshold is greater than the third voltage threshold.
9. The apparatus according to claim 7, characterized in that, The control module includes a processing unit and a first monitoring unit, and, When the first voltage satisfies the third condition, the control module controls the first transistor and the fifth transistor to turn off, including: The processing unit acquires the pattern signal input by the user and sends the pattern signal to the first monitoring unit; The first monitoring unit acquires the first voltage and determines whether the first voltage meets the third condition; When the first monitoring unit determines that the mode signal is a first preset mode signal and the first voltage meets the third condition, it controls the first transistor and the fifth transistor to turn off.
10. The apparatus according to claim 8, characterized in that, The control module includes a processing unit and a second monitoring unit, and, When the second voltage satisfies the fourth condition, the control module controls the second transistor and the sixth transistor to turn off, including: The processing unit acquires the pattern signal input by the user and sends the pattern signal to the second monitoring unit; The second monitoring unit acquires the second voltage and determines whether the second voltage satisfies the fourth condition; When the second monitoring unit determines that the mode signal is the second preset mode signal and the second voltage meets the fourth condition, it controls the second transistor and the sixth transistor to turn off.
11. A vehicle, characterized in that, The device includes a drive device and a load as described in any one of claims 1 to 10, wherein the drive device is used to drive the load, and the load is a braking assembly.