High-side drive circuit module, automotive domain controller and fault detection method

By combining modular high-side drive circuit modules and microcontrollers, the problems of high cost and difficult fault detection of high-side drive circuits are solved, achieving precise control and safe isolation, and replacing the use of integrated circuit chips.

CN117311326BActive Publication Date: 2026-11-20HUNAN XINGBIDA NETLINK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311460224.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-03
Publication Date
2026-11-20
Estimated Expiration
2043-11-03

AI Technical Summary

Technical Problem

Existing high-side drive circuits require the use of various integrated circuit chips in different packages, resulting in high costs and procurement difficulties. In particular, foreign automotive-grade drive chips are expensive and difficult to obtain, and the domestic industry has not yet formed one, and they also lack diagnostic functions.

Method used

A modular high-side drive circuit module is adopted, including a loop current acquisition unit, a control loop unit, and a status acquisition unit. A microcontroller is used to achieve precise control and fault detection of the external high-side drive load. Modularization is used to replace integrated circuit chips, and a reverse connection protection module is set to prevent damage from reverse power connection.

Benefits of technology

It achieves precise control and fault detection of the high-side drive circuit module, saves circuit costs, and isolates faults in a timely manner, improving safety and avoiding multiple packaging requirements of integrated circuit chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117311326B_ABST
    Figure CN117311326B_ABST
Patent Text Reader

Abstract

The application discloses a high-side drive circuit module, an automobile domain controller and a fault detection method, and relates to the technical field of electronic control. The automobile domain controller comprises a microcontroller, x IO expansion units, an anti-reverse connection module and x high-side drive circuit modules. The high-side drive circuit module comprises a loop current acquisition unit, n control loop units and n state acquisition units. The microcontroller controls external high-side drive loads through the control loop units. In combination with the fault detection method, the working states of the external high-side drive loads are acquired through the state acquisition units, so that the working state detection is realized. The currents of the n control loop units are acquired through the loop current acquisition unit, so that the overcurrent detection is realized. The high-side drive circuit module is modularized, so that the circuit cost is saved, accurate control and fault detection are realized, the high-side drive circuit modules are timely isolated when faults are detected, and the safety is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic control technology, and more specifically, to a high-side drive circuit module, an automotive domain controller, and a fault detection method. Background Technology

[0002] Automotive domain controllers need to handle most of the vehicle's control functions, driving various types of solenoid valves, relays, and other loads, with drive currents ranging from hundreds of milliamps to tens of amps. Existing high-side drive circuits typically use readily available integrated circuit chips in their design. However, these chips are generally designed with different package types based on their drive capability, and the drive capability is usually not strong. This results in a single controller product often requiring the use of multiple circuit chips in different packages. Especially in recent years, imported automotive-grade drive chips have become increasingly expensive and difficult to procure; while the domestic automotive-grade high-side power drive chip industry has not yet been established. Therefore, to address the chip shortage, it is necessary to promptly design a circuit and domain controller that uses discrete components to replace the functions of costly high-side power drive chips, while also possessing diagnostic capabilities. Summary of the Invention

[0003] To overcome the shortcomings of the prior art that requires the use of various integrated circuit chips with different packages, this invention provides a high-side drive circuit module, an automotive domain controller, and a fault detection method. By using modular high-side drive circuit modules to replace integrated circuit chips, circuit costs are saved while achieving precise control and fault detection. When a fault is detected, the high-side drive circuit modules are isolated in a timely manner, ensuring high safety.

[0004] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0005] This invention provides a high-side drive circuit module, comprising: a loop current acquisition unit, n control loop units, n status acquisition units, a power supply terminal, and a ground terminal;

[0006] Each of the control unit loops has the same structure; the input terminal of each control loop unit is connected to the control terminal of an external microcontroller, and the output terminal of each control loop unit is connected to one external high-side drive load.

[0007] Each of the aforementioned state acquisition units has the same structure; the input terminal of each of the aforementioned state acquisition units is connected to one external high-side drive load, and the output terminal of each of the aforementioned state acquisition units is connected to the state acquisition terminal of an external microcontroller;

[0008] The input terminal of the loop current acquisition unit is connected to the current feedback terminal of n control loop units, and the output terminal of the loop current acquisition unit is connected to the current acquisition terminal of an external microcontroller.

[0009] The high-side drive circuit module is connected to an external power supply through the power supply terminal and grounded through the grounding terminal.

[0010] The high-side drive circuit module provided by this invention can drive multiple external high-side drive loads. One control loop unit and one status acquisition unit correspond to one external high-side drive load. The number of external high-side drive loads can be adjusted according to actual needs. That is, each high-side drive circuit module is connected to a external high-side drive loads, and thus has a control signal and a status feedback signal, where a≤n. In order to save circuit costs, a loop current acquisition unit is set up to collect the current of all external high-side drive loads and compare it with a preset total current threshold to determine whether the high-side drive circuit module has an overcurrent or short-circuit fault.

[0011] Preferably, the control loop unit includes MOSFET Qa1, MOSFET Qa2 and resistor Ra2;

[0012] The gate of MOS transistor Qa1 is connected to the control terminal of an external microcontroller, the source of MOS transistor Qa1 is grounded, and the drain of MOS transistor Qa1 is connected to the gate of MOS transistor Qa2. The source of MOS transistor Qa2 is connected to the input terminal of the loop current acquisition unit, and the drain of MOS transistor Qa2 is connected to an external high-side drive load.

[0013] One end of the resistor Ra2 is connected to the gate of the MOS transistor Qa2, and the other end of the resistor Ra2 is connected to the source of the MOS transistor Qa2.

[0014] Preferably, the status acquisition unit includes resistor Ra3, resistor Ra4, and capacitor Ca1;

[0015] One end of resistor Ra4 is connected to an external high-side drive load, and the other end of resistor Ra4 is connected to one end of resistor Ra3. The other end of resistor Ra3 is grounded. The other end of resistor Ra4 is also connected to the status acquisition terminal of an external microcontroller.

[0016] One end of the capacitor Ca1 is connected to one end of the resistor Ra3, and the other end of the capacitor Ca1 is connected to the other end of the resistor Ra3.

[0017] Preferably, the loop current acquisition unit includes a sampling resistor Rs and a current operational amplifier U1;

[0018] One end of the sampling resistor Rs is connected to the source of the MOS transistor Qa2, and the other end of the sampling resistor Rs is connected to the external power supply VBAT; the inverting input of the current operational amplifier U1 is connected to one end of the sampling resistor Rs, the non-inverting input of the current operational amplifier U1 is connected to the other end of the sampling resistor Rs, and the output of the current operational amplifier U1 is connected to the current acquisition terminal of the external microcontroller.

[0019] Preferably, the MOSFET Qa1 is an N-channel enhancement-mode MOSFET, and the MOSFET Qa2 is a P-channel enhancement-mode MOSFET.

[0020] When an external microcontroller drives one or more external high-side drive loads through the high-side drive circuit module, the control terminal of the external microcontroller outputs a high level, driving MOSFET Qa1 to conduct. The gate of MOSFET Qa2 is grounded through resistor Ra2, and MOSFET Qa2 also conducts, driving the corresponding external high-side drive load. At this time, the operating level of the external high-side drive load is also high. When there is no need to drive the external high-side drive load, the control terminal of the external microcontroller outputs a low level, MOSFET Qa1 is cut off, and the gate of MOSFET Qa2 is connected to the external power supply VBAT through resistor Ra2. MOSFET Qa2 is also in the cut-off state, and the operating level of the external high-side drive load is low. The status acquisition unit acquires the operating level of the external high-side drive load and transmits it to the status acquisition terminal of the external microcontroller. If the output level of the control terminal is the same as the input level of the status acquisition terminal, it indicates that the external high-side drive load is working normally; otherwise, there is an operational fault. The loop current acquisition unit collects the current values ​​of all control loop units and compares them with a preset total current threshold. If the total current is greater than the preset total current threshold, the external high-side drive load corresponding to the high-side drive circuit module has an overcurrent fault. Further, it determines which specific external high-side drive load has an overcurrent fault: one control terminal of the external microcontroller outputs a PWM wave, corresponding to drive one external high-side drive load; after a delay of ΔT seconds, the remaining control terminals of the microcontroller output PWM waves to drive the remaining external high-side drive loads; within ΔT seconds, the loop current acquisition unit only collects the actual current of the driven external high-side drive load and compares it with the calibrated current limit value of that external high-side drive load. If the actual current is greater than the calibrated current limit value, the external high-side drive load has an overcurrent fault; otherwise, the external high-side drive load does not have an overcurrent fault. This process is repeated until overcurrent detection of all external high-side drive loads driven by the high-side drive circuit module is completed.

[0021] The present invention also provides an automotive domain controller, including a microcontroller, x IO expansion units, a reverse connection protection module, x high-side drive circuit modules as described above, and an external high-side drive load module;

[0022] The microcontroller includes one status acquisition terminal, x*n control terminals, and x current acquisition terminals; each of the IO expansion units includes n input terminals and one output terminal; the external high-side drive load module includes x*n external high-side drive loads;

[0023] Each current acquisition terminal of the microcontroller is connected to the output terminal of the loop current acquisition unit of the high-side drive circuit module; each control terminal of the microcontroller is connected to the input terminal of the control loop unit of the high-side drive circuit module; the state acquisition terminal of the microcontroller is connected to the output terminals of x IO expansion units, and the input terminal of each IO expansion unit is connected to the output terminal of the state acquisition unit of the high-side drive circuit module.

[0024] One end of the reverse connection protection module is connected to an external power supply, and the other end is connected to the ground terminal of each high-side drive circuit module and the external high-side drive load module.

[0025] Since a high-side drive circuit module drives n external high-side drive loads, there are n control signals and n status feedback signals. To ensure control safety, the microcontroller is equipped with x*n control terminals, each driving one external high-side drive load. The n status feedback signals of a high-side drive circuit module can be connected to the microcontroller through an I / O expansion unit. Each I / O expansion unit can be configured with a different physical address. The microcontroller obtains the level status of the I / O expansion unit by accessing the address, saving circuit costs. Furthermore, to prevent damage to the automotive domain controller from reverse power connection, a reverse connection protection module is included.

[0026] Preferably, the reverse connection protection module includes resistor R1, resistor R2, and MOSFET Q1;

[0027] One end of the resistor R1 is connected to an external power supply, the other end of the resistor R1 is connected to the gate of the MOSFET Q1, the source of the MOSFET Q1 is grounded, and the drain of the MOSFET Q1 is connected to an external high-side drive load module.

[0028] One end of resistor R2 is connected to the other end of resistor R1, and the other end of resistor R2 is connected to the source of MOSFET Q1.

[0029] The ground terminal of each of the high-side drive circuit modules is connected to the source of the MOSFET Q1.

[0030] When the external power supply and the ground signal of the external high-side drive load module are normally connected, the external power supply drives the MOSFET Q1 to conduct through the voltage divider of resistors R1 and R2, thereby enabling the external high-side drive load module to form a complete loop. When the ground signal of the external power supply and the external high-side drive load module are reversed, the MOSFET Q1 is turned off, and the external high-side drive load module cannot form a loop, thus protecting the automotive domain controller and the external high-side drive load module.

[0031] The present invention also provides a fault detection method, implemented using the aforementioned automotive domain controller, comprising:

[0032] S1: The microcontroller outputs a high level at its control terminal, which drives the corresponding external high-side drive load through the high-side drive circuit module.

[0033] S2: The current acquisition terminal of the microcontroller acquires the total current of the high-side drive circuit module and compares it with the preset total current threshold of the high-side drive circuit module; if the total current is greater than the preset total current threshold, the external high-side drive load corresponding to the high-side drive circuit module has an overcurrent fault; otherwise, the external high-side drive load corresponding to the high-side drive circuit module does not have an overcurrent fault, and step S3 is executed.

[0034] S3: The microcontroller's status acquisition terminal obtains the operating level signal of the external high-side drive load through the status acquisition unit of the high-side drive circuit module;

[0035] S4: Sequentially determine whether the working level signal of each external high-side drive load is high; if it is high, the external high-side drive load is working normally; otherwise, the external high-side drive load has an operational fault.

[0036] S5: Repeat steps S1-S4 to complete the fault detection of all high-side drive circuit modules.

[0037] Preferably, if the total current exceeds a preset current threshold, the high-side drive circuit module has an overcurrent fault, and the module further includes:

[0038] S201: A control terminal of the microcontroller outputs a PWM wave, which drives an external high-side drive load through the high-side drive circuit module.

[0039] S202: After a delay of ΔT seconds, the remaining control terminal of the microcontroller outputs a PWM wave, which drives the remaining external high-side drive loads through the high-side drive circuit module.

[0040] S203: Within ΔT seconds, the current acquisition terminal of the microcontroller obtains the actual current of the external high-side drive load of that channel and compares it with the rated current limit value of the external high-side drive load of that channel; if the actual current is greater than the rated current limit value of that channel, then there is an overcurrent fault in the external high-side drive load of that channel; otherwise, there is no overcurrent fault in the external high-side drive load of that channel, and S204 is executed.

[0041] S204: Repeat steps S201-S203 until overcurrent detection of all external high-side drive loads driven by the high-side drive circuit module is completed, and all external high-side drive loads with overcurrent faults are obtained.

[0042] Preferably, the preset total current threshold of the high-side drive circuit module is equal to the sum of the calibrated current limit values ​​of all external high-side drive loads driven by the high-side drive circuit module.

[0043] For a high-side drive circuit module, when the microcontroller drives one or more external high-side drive loads through the high-side drive circuit module, the control terminal of the external microcontroller outputs a high level, driving MOSFET Qa1 to conduct. The gate of MOSFET Qa2 is grounded through resistor Ra2, and MOSFET Qa2 also conducts, driving the corresponding external high-side drive load. At this time, the operating level of the external high-side drive load is also high. When there is no need to drive the external high-side drive load, the control terminal of the external microcontroller outputs a low level, MOSFET Qa1 is cut off, and the gate of MOSFET Qa2 is connected to the external power supply VBAT through resistor Ra2. Then MOSFET Qa2 is also in the cut-off state, and the operating level of the external high-side drive load is low. The status acquisition unit acquires the operating level of the external high-side drive load and transmits it to the status acquisition terminal of the microcontroller. If the output level of the control terminal is the same as the input level of the status acquisition terminal, it indicates that the external high-side drive load is working normally; otherwise, there is an operational fault.

[0044] The microcontroller presets a total current threshold for each high-side drive circuit module, specifically the sum of the calibrated current limits of all external high-side drive loads driven by that module. The loop current acquisition unit collects the current values ​​of all control loop units and compares them with the preset total current threshold. If the total current exceeds the threshold, an overcurrent fault exists in the external high-side drive load corresponding to that module. Further determination of which specific external high-side drive load is experiencing the overcurrent fault involves: a PWM wave output from one control terminal of the external microcontroller drives the i-th external high-side drive load, where i increments from 1 to n; a delay of ΔT seconds is applied. Afterwards, the remaining control terminals of the microcontroller output PWM waves to drive the remaining external high-side drive loads, thereby ensuring that only the i-th external high-side drive load is working within ΔT seconds. The loop current acquisition unit only acquires the actual current of the i-th external high-side drive load and compares it with the rated current limit value of that external high-side drive load. If the actual current is greater than the rated current limit value of that external high-side drive load, then there is an overcurrent fault in that external high-side drive load; otherwise, there is no overcurrent fault in that external high-side drive load. The above operation is repeated until the overcurrent detection of all external high-side drive loads driven by the high-side drive circuit module is completed.

[0045] Repeat all the above operations until the fault detection of all high-side drive circuit modules is completed.

[0046] Compared with the prior art, the beneficial effects of the technical solution of the present invention are:

[0047] This invention provides a high-side drive circuit module, comprising a loop current acquisition unit, n identical control loop units, and n identical status acquisition units. The control loop units control an external high-side drive load, the status acquisition units acquire the operating status of the external high-side drive load, and the loop current acquisition units acquire the current of the n control loop units. Furthermore, x high-side drive circuit modules, a microcontroller, an I / O expansion unit, and a reverse connection protection module are used to form an automotive domain controller. The microcontroller controls the external high-side drive load through the high-side drive circuit modules and acquires the operating status and current of the external high-side drive load, thereby achieving drive and fault detection of the external high-side drive load. This invention uses modular high-side drive circuit modules to replace integrated circuit chips, saving circuit costs while achieving precise control and fault detection. When a fault is detected, the high-side drive circuit modules are promptly isolated, ensuring high safety. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of the structure of a high-side drive circuit module as described in Example 1;

[0049] Figure 2 This is a circuit diagram of a high-side driving circuit module as described in Example 2;

[0050] Figure 3 This is a schematic diagram of the structure of an automotive domain controller as described in Example 3;

[0051] Figure 4 This is a flowchart of a fault detection method as described in Example 4;

[0052] Figure 5 This is a flowchart of the overcurrent fault detection described in Example 4;

[0053] Figure 6 This is a waveform diagram of the PWM wave output by the microcontroller during overcurrent fault detection as described in Example 4. Detailed Implementation

[0054] The accompanying drawings are for illustrative purposes only and should not be construed as limiting the scope of this patent.

[0055] To better illustrate this embodiment, some parts in the accompanying drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions.

[0056] It will be understood by those skilled in the art that certain well-known structures and their descriptions may be omitted in the accompanying drawings.

[0057] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0058] Example 1

[0059] This embodiment provides a high-side driving circuit module, such as Figure 1 As shown, it includes: a loop current acquisition unit, n control loop units, n status acquisition units, a power supply terminal, and a grounding terminal;

[0060] Each of the control unit loops has the same structure; the input terminal of each control loop unit is connected to the control terminal of an external microcontroller, and the output terminal of each control loop unit is connected to one external high-side drive load.

[0061] Each of the aforementioned state acquisition units has the same structure; the input terminal of each of the aforementioned state acquisition units is connected to one external high-side drive load, and the output terminal of each of the aforementioned state acquisition units is connected to the state acquisition terminal of an external microcontroller;

[0062] The input terminal of the loop current acquisition unit is connected to the current feedback terminal of n control loop units, and the output terminal of the loop current acquisition unit is connected to the current acquisition terminal of an external microcontroller.

[0063] The high-side drive circuit module is connected to an external power supply through the power supply terminal and grounded through the grounding terminal.

[0064] In the specific implementation process, the high-side drive circuit module provided in this embodiment can drive multiple external high-side drive loads. One control loop unit and one status acquisition unit correspond to one external high-side drive load. The number of external high-side drive loads can be adjusted according to actual needs. That is, each high-side drive circuit module is connected to a external high-side drive loads, and there are a control signals and a status feedback signals, where a≤n. In order to save circuit costs, a loop current acquisition unit is set up to collect the current of all external high-side drive loads and compare it with the preset total current threshold to determine whether the high-side drive circuit module has an overcurrent or short-circuit fault.

[0065] Example 2

[0066] This embodiment provides a high-side driving circuit module, such as Figure 2 As shown, it includes: a loop current acquisition unit, n control loop units, and n status acquisition units;

[0067] Each of the control unit circuits has the same structure, including MOSFET Qa1, MOSFET Qa2 and resistor Ra2;

[0068] The gate of MOS transistor Qa1 is connected to the control terminal of an external microcontroller, the source of MOS transistor Qa1 is grounded, and the drain of MOS transistor Qa1 is connected to the gate of MOS transistor Qa2. The source of MOS transistor Qa2 is connected to the input terminal of the loop current acquisition unit, and the drain of MOS transistor Qa2 is connected to an external high-side drive load.

[0069] One end of the resistor Ra2 is connected to the gate of the MOS transistor Qa2, and the other end of the resistor Ra2 is connected to the source of the MOS transistor Qa2.

[0070] Each status acquisition unit has the same structure, including resistor Ra3, resistor Ra4 and capacitor Ca1;

[0071] One end of resistor Ra4 is connected to an external high-side drive load, and the other end of resistor Ra4 is connected to one end of resistor Ra3. The other end of resistor Ra3 is grounded. The other end of resistor Ra4 is also connected to the status acquisition terminal of an external microcontroller.

[0072] One end of the capacitor Ca1 is connected to one end of the resistor Ra3, and the other end of the capacitor Ca1 is connected to the other end of the resistor Ra3.

[0073] The loop current acquisition unit includes a sampling resistor Rs and a current operational amplifier U1;

[0074] One end of the sampling resistor Rs is connected to the source of the MOS transistor Qa2, and the other end of the sampling resistor Rs is connected to the external power supply VBAT; the inverting input of the current operational amplifier U1 is connected to one end of the sampling resistor Rs, the non-inverting input of the current operational amplifier U1 is connected to the other end of the sampling resistor Rs, and the output of the current operational amplifier U1 is connected to the current acquisition terminal of the external microcontroller.

[0075] The MOSFET Qa1 is an N-channel enhancement-mode MOSFET, and the MOSFET Qa2 is a P-channel enhancement-mode MOSFET.

[0076] exist Figure 2In the middle, the high-side drive circuit module includes n control loop units and n state acquisition units, where a = 1, 2, ..., n. That is, the first control loop unit includes MOSFET Q11, MOSFET Q12 and resistor R12; the nth control loop unit includes MOSFET Qn1, MOSFET Qn2 and resistor Rn2; the first state acquisition unit includes resistor R13, resistor R14 and capacitor C11; the nth state acquisition unit includes resistor Rn3, resistor Rn4 and capacitor Cn1. Let GPIO be the control terminal of the external microcontroller. Then, the control terminal connected to the first control loop unit is GPIO-1, and the control terminal connected to the nth control loop unit is GPIO-n. Let ST be the status acquisition terminal of the external microcontroller. Then, the status acquisition terminal connected to the first status acquisition unit is ST-1, and the status acquisition terminal connected to the nth status acquisition unit is ST-n. Let HSD be the external high-side drive load. Then, the external high-side drive load connected to the first control loop unit is HSD-1, and the external high-side drive load connected to the nth control loop unit is HSD-n. Let ADC be the current acquisition terminal of the external microcontroller.

[0077] In practical implementation, when the external microcontroller drives one or more external high-side drive loads through the high-side drive circuit module, the control terminal of the external microcontroller outputs a high level, driving MOSFET Qa1 to conduct. The gate of MOSFET Qa2 is grounded through resistor Ra2, and MOSFET Qa2 also conducts, driving the corresponding external high-side drive load. At this time, the operating level of the external high-side drive load is also high. When there is no need to drive the external high-side drive load, the control terminal of the external microcontroller outputs a low level, MOSFET Qa1 is cut off, and the gate of MOSFET Qa2 is connected to the external power supply VBAT through resistor Ra2. Then MOSFET Qa2 is also in the cut-off state, and the operating level of the external high-side drive load is low. The status acquisition unit acquires the operating level of the external high-side drive load and transmits it to the status acquisition terminal of the external microcontroller. If the output level of the control terminal is the same as the input level of the status acquisition terminal, it indicates that the external high-side drive load is working normally; otherwise, there is an operational fault. The loop current acquisition unit collects the current values ​​of all control loop units and compares them with a preset total current threshold. If the total current is greater than the preset total current threshold, the external high-side drive load corresponding to the high-side drive circuit module has an overcurrent fault. Further, it determines which specific external high-side drive load has an overcurrent fault: one control terminal of the external microcontroller outputs a PWM wave, corresponding to drive one external high-side drive load; after a delay of ΔT seconds, the remaining control terminals of the microcontroller output PWM waves to drive the remaining external high-side drive loads; within ΔT seconds, the loop current acquisition unit only collects the actual current of the driven external high-side drive load and compares it with the calibrated current limit value of that external high-side drive load. If the actual current is greater than the calibrated current limit value, the external high-side drive load has an overcurrent fault; otherwise, the external high-side drive load does not have an overcurrent fault. This process is repeated until overcurrent detection of all external high-side drive loads driven by the high-side drive circuit module is completed.

[0078] Example 3

[0079] This invention provides an automotive domain controller, such as... Figure 3 As shown, it includes a microcontroller, x IO expansion units, a reverse connection protection module, x high-side drive circuit modules as described in Embodiment 1 or 2, and an external high-side drive load module;

[0080] The microcontroller includes one status acquisition terminal, x*n control terminals, and x current acquisition terminals; each of the IO expansion units includes n input terminals and one output terminal; the external high-side drive load module includes x*n external high-side drive loads;

[0081] Each current acquisition terminal of the microcontroller is connected to the output terminal of the loop current acquisition unit of the high-side drive circuit module; each control terminal of the microcontroller is connected to the input terminal of the control loop unit of the high-side drive circuit module; the state acquisition terminal of the microcontroller is connected to the output terminals of x IO expansion units, and the input terminal of each IO expansion unit is connected to the output terminal of the state acquisition unit of the high-side drive circuit module.

[0082] The reverse connection protection module includes resistor R1, resistor R2, and MOSFET Q1;

[0083] One end of the resistor R1 is connected to an external power supply, the other end of the resistor R1 is connected to the gate of the MOSFET Q1, the source of the MOSFET Q1 is grounded, and the drain of the MOSFET Q1 is connected to an external high-side drive load module.

[0084] One end of resistor R2 is connected to the other end of resistor R1, and the other end of resistor R2 is connected to the source of MOSFET Q1.

[0085] The ground terminal of each of the high-side drive circuit modules is connected to the source of the MOSFET Q1.

[0086] exist Figure 3 In this diagram, the current acquisition terminal of the microcontroller is denoted as ADC. The current acquisition terminal connected to the first high-side drive circuit module is denoted as ADC1, and the current acquisition terminal connected to the xth high-side drive circuit module is denoted as ADCx. The control terminals of the microcontroller are denoted as GPIO. The control terminal connected to the first control loop unit of the first high-side drive circuit module is GPIO1-1, and the control terminal connected to the nth control loop unit of the xth high-side drive circuit module is GPIOx-n. The status acquisition terminal of the microcontroller is connected to the outputs of the x IO expansion units via a serial bus. Each IO expansion unit has n input terminals, which are connected to the output terminals of the state acquisition units of the high-side drive circuit modules. The output terminal of the first state acquisition unit of the first high-side drive circuit module is denoted as ST1-1, and the output terminal of the nth state acquisition unit of the xth high-side drive circuit module is denoted as STx-n. The external high-side drive load connected to the first control loop unit of the first high-side drive circuit module is denoted as HSD1-1, and the external high-side drive load connected to the nth control loop unit of the xth high-side drive circuit module is denoted as HSDx-n.

[0087] In practical implementation, when a high-side drive circuit module drives n external high-side drive loads, there are n control signals and n status feedback signals. To ensure control safety, the microcontroller is configured with x*n control terminals, each driving one external high-side drive load. The n status feedback signals of a high-side drive circuit module are connected to the microcontroller through an I / O expansion unit. Each I / O expansion unit can be configured with a different physical address. The microcontroller obtains the level status of the I / O expansion unit by accessing the address, saving circuit costs. Using modular high-side drive circuit modules to replace integrated circuit chips saves circuit costs. In this system, precise control and fault detection are achieved. When a fault is detected, the high-side drive circuit modules are promptly isolated, ensuring high safety. Furthermore, to prevent damage to the automotive domain controller from reverse power connection, a reverse connection protection module is installed. When the external power supply and the ground signal of the external high-side drive load module are normally connected, the external power supply drives the MOSFET Q1 to conduct through the voltage divider of resistors R1 and R2, thus forming a complete loop for the external high-side drive load module. When the ground signal of the external power supply and the external high-side drive load module are reversed, the MOSFET Q1 is cut off, and the external high-side drive load module cannot form a loop, thereby protecting the automotive domain controller and the external high-side drive load module.

[0088] Example 4

[0089] This embodiment provides a fault detection method, implemented using the automotive domain controller described in Embodiment 3, such as... Figure 4 As shown, it includes:

[0090] S1: The microcontroller outputs a high level at its control terminal, which drives the corresponding external high-side drive load through the high-side drive circuit module.

[0091] S2: The current acquisition terminal of the microcontroller acquires the total current of the high-side drive circuit module and compares it with the preset total current threshold of the high-side drive circuit module; if the total current is greater than the preset total current threshold, the external high-side drive load corresponding to the high-side drive circuit module has an overcurrent fault; otherwise, the external high-side drive load corresponding to the high-side drive circuit module does not have an overcurrent fault, and step S3 is executed.

[0092] S3: The microcontroller's status acquisition terminal obtains the operating level signal of the external high-side drive load through the status acquisition unit of the high-side drive circuit module;

[0093] S4: Sequentially determine whether the working level signal of each external high-side drive load is high; if it is high, the external high-side drive load is working normally; otherwise, the external high-side drive load has an operational fault.

[0094] S5: Repeat steps S1-S4 to complete the fault detection of all high-side drive circuit modules.

[0095] In step S2, if the total current exceeds a preset total current threshold, then the external high-side drive load corresponding to the high-side drive circuit module has an overcurrent fault, such as... Figure 5 As shown, it also includes:

[0096] S201: A control terminal of the microcontroller outputs a PWM wave, which drives an external high-side drive load through the high-side drive circuit module.

[0097] S202: After a delay of ΔT seconds, the remaining control terminals of the microcontroller output a PWM wave, which drives the remaining external high-side drive loads through the high-side drive circuit module.

[0098] S203: Within ΔT seconds, the current acquisition terminal of the microcontroller obtains the actual current of the external high-side drive load of this channel and compares it with the rated current limit value of the external high-side drive load of this channel; if the actual current is greater than the rated current limit value of this channel, then there is an overcurrent fault in the external high-side drive load of this channel; otherwise, there is no overcurrent fault in the external high-side drive load of this channel.

[0099] S204: Repeat steps S201-S203 until overcurrent detection of all external high-side drive loads driven by the high-side drive circuit module is completed, and all external high-side drive loads with overcurrent faults are obtained.

[0100] For a high-side drive circuit module, when the microcontroller drives one or more external high-side drive loads through the high-side drive circuit module, the control terminal of the external microcontroller outputs a high level, driving MOSFET Qa1 to conduct. The gate of MOSFET Qa2 is grounded through resistor Ra2, and MOSFET Qa2 also conducts, driving the corresponding external high-side drive load. At this time, the operating level of the external high-side drive load is also high. When there is no need to drive the external high-side drive load, the control terminal of the external microcontroller outputs a low level, MOSFET Qa1 is cut off, and the gate of MOSFET Qa2 is connected to the external power supply VBAT through resistor Ra2. Then MOSFET Qa2 is also in the cut-off state, and the operating level of the external high-side drive load is low. The status acquisition unit acquires the operating level of the external high-side drive load and transmits it to the status acquisition terminal of the microcontroller. If the output level of the control terminal is the same as the input level of the status acquisition terminal, it indicates that the external high-side drive load is working normally; otherwise, there is an operational fault.

[0101] The microcontroller presets a total current threshold for each high-side drive circuit module, specifically the sum of the calibrated current limits of all external high-side drive loads driven by that module. The loop current acquisition unit collects the current values ​​of all control loop units and compares them with the preset total current threshold. If the total current exceeds the threshold, an overcurrent fault exists in the external high-side drive load corresponding to that module. Further analysis determines which specific external high-side drive load experienced the overcurrent fault. Figure 6 As shown, one control terminal of the external microcontroller outputs a PWM wave with a fixed duty cycle to drive the i-th external high-side drive load, where i increases from 1 to n. After a delay of ΔT seconds, the remaining control terminals of the microcontroller output PWM waves to drive the other external high-side drive loads, thus ensuring that only the i-th external high-side drive load is working within ΔT seconds. The loop current acquisition unit only acquires the actual current of the i-th external high-side drive load and compares it with the calibrated current limit value of that external high-side drive load. If the actual current is greater than the calibrated current limit value of that external high-side drive load, then there is an overcurrent fault in that external high-side drive load; otherwise, there is no overcurrent fault in that external high-side drive load. The above operation is repeated until the overcurrent detection of all external high-side drive loads driven by the high-side drive circuit module is completed.

[0102] Repeat all the above operations until the fault detection of all high-side drive circuit modules is completed.

[0103] The same or similar labels correspond to the same or similar parts;

[0104] The terms used to describe positional relationships in the accompanying drawings are for illustrative purposes only and should not be construed as limiting this patent.

[0105] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. Those skilled in the art can make other variations or modifications based on the above description. It is neither necessary nor possible to exhaustively describe all embodiments here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the claims of the present invention.

Claims

1. A high-side drive circuit module, characterized in that, include: The system includes a loop current acquisition unit, n control loop units, n status acquisition units, a power supply terminal, and a grounding terminal. Each of the control loop units has the same structure; the input terminal of each control loop unit is connected to the control terminal of an external microcontroller, and the output terminal of each control loop unit is connected to one external high-side drive load. Each of the aforementioned state acquisition units has the same structure; the input terminal of each of the aforementioned state acquisition units is connected to one external high-side drive load, and the output terminal of each of the aforementioned state acquisition units is connected to the state acquisition terminal of an external microcontroller; The input terminal of the loop current acquisition unit is connected to the current feedback terminal of n control loop units, and the output terminal of the loop current acquisition unit is connected to the current acquisition terminal of an external microcontroller. The high-side drive circuit module is connected to an external power supply through a power supply terminal and grounded through a grounding terminal; Each control loop unit includes a MOSFET Qa1, a MOSFET Qa2, and a resistor Ra2; the gate of MOSFET Qa1 is connected to the control terminal of an external microcontroller, the source of MOSFET Qa1 is grounded, and the drain of MOSFET Qa1 is connected to the gate of MOSFET Qa2; the source of MOSFET Qa2 is connected to the input terminal of the loop current acquisition unit, and the drain of MOSFET Qa2 is connected to an external high-side drive load; one end of resistor Ra2 is connected to the gate of MOSFET Qa2, and the other end of resistor Ra2 is connected to the source of MOSFET Qa2; where a = 1…n; The loop current acquisition unit includes a sampling resistor Rs and a current operational amplifier U1; One end of the sampling resistor Rs is connected to the source of the MOS transistor Qa2, and the other end of the sampling resistor Rs is connected to the external power supply VBAT; the inverting input of the current operational amplifier U1 is connected to one end of the sampling resistor Rs, the non-inverting input of the current operational amplifier U1 is connected to the other end of the sampling resistor Rs, and the output of the current operational amplifier U1 is connected to the current acquisition terminal of the external microcontroller. In this case, the source of the MOS transistor Qa2 in each of the n control loop units is connected to the same end of the sampling resistor Rs.

2. The high-side drive circuit module according to claim 1, characterized in that, The status acquisition unit includes resistor Ra3, resistor Ra4 and capacitor Ca1; One end of resistor Ra4 is connected to an external high-side drive load, and the other end of resistor Ra4 is connected to one end of resistor Ra3. The other end of resistor Ra3 is grounded. The other end of resistor Ra4 is also connected to the status acquisition terminal of an external microcontroller. One end of the capacitor Ca1 is connected to one end of the resistor Ra3, and the other end of the capacitor Ca1 is connected to the other end of the resistor Ra3.

3. The high-side drive circuit module according to claim 1, characterized in that, The MOSFET Qa1 is an N-channel enhancement-mode MOSFET, and the MOSFET Qa2 is a P-channel enhancement-mode MOSFET.

4. A vehicle domain controller, characterized in that, Includes a microcontroller, x IO expansion units, a reverse connection protection module, x high-side drive circuit modules as described in any one of claims 1-3, and an external high-side drive load module; The microcontroller includes one status acquisition terminal. Each of the aforementioned IO expansion units includes n input terminals and x current acquisition terminals; each of the aforementioned IO expansion units includes n input terminals and 1 output terminal; the external high-side drive load module includes External high-side drive load; Each current acquisition terminal of the microcontroller is connected to the output terminal of the loop current acquisition unit of the high-side drive circuit module; each control terminal of the microcontroller is connected to the input terminal of the control loop unit of the high-side drive circuit module; the state acquisition terminal of the microcontroller is connected to the output terminals of x IO expansion units, and the input terminal of each IO expansion unit is connected to the output terminal of the state acquisition unit of the high-side drive circuit module. One end of the reverse connection protection module is connected to an external power supply, and the other end is connected to the ground terminal of each of the high-side drive circuit modules and the external high-side drive load module.

5. The automotive domain controller according to claim 4, characterized in that, The reverse connection protection module includes resistor R1, resistor R2, and MOSFET Q1; One end of the resistor R1 is connected to an external power supply, the other end of the resistor R1 is connected to the gate of the MOSFET Q1, the source of the MOSFET Q1 is grounded, and the drain of the MOSFET Q1 is connected to an external high-side drive load module. One end of resistor R2 is connected to the other end of resistor R1, and the other end of resistor R2 is connected to the source of MOSFET Q1. The ground terminal of each of the high-side drive circuit modules is connected to the source of the MOSFET Q1.

6. A fault detection method, implemented using the automotive domain controller as described in claim 4 or 5, characterized in that, include: S1: The microcontroller outputs a high level at its control terminal, which drives the corresponding external high-side drive load through the high-side drive circuit module. S2: The current acquisition terminal of the microcontroller acquires the total current of the high-side drive circuit module and compares it with the preset total current threshold of the high-side drive circuit module; if the total current is greater than the preset total current threshold, the external high-side drive load corresponding to the high-side drive circuit module has an overcurrent fault; otherwise, the external high-side drive load corresponding to the high-side drive circuit module does not have an overcurrent fault, and step S3 is executed. S3: The microcontroller's status acquisition terminal obtains the operating level signal of the external high-side drive load through the status acquisition unit of the high-side drive circuit module; S4: Sequentially determine whether the working level signal of each external high-side drive load is high; if it is high, the external high-side drive load is working normally; otherwise, the external high-side drive load has an operational fault. S5: Repeat steps S1-S4 to complete the fault detection of all high-side drive circuit modules.

7. The fault detection method according to claim 6, characterized in that, In step S2, if the total current exceeds a preset current threshold, the high-side drive circuit module has an overcurrent fault, and the method further includes: S201: A control terminal of the microcontroller outputs a PWM wave, which drives an external high-side drive load through the high-side drive circuit module. S202: Delay Seconds later, the remaining control terminals of the microcontroller output PWM waves, which drive the remaining external high-side drive loads through the high-side drive circuit module. S203: In Within seconds, the microcontroller's current acquisition terminal obtains the actual current of the external high-side drive load and compares it with the rated current limit of the external high-side drive load. If the actual current is greater than the rated current limit of the load, the external high-side drive load has an overcurrent fault. Otherwise, the external high-side drive load does not have an overcurrent fault, and S204 is executed. S204: Repeat steps S201-S203 until overcurrent detection of all external high-side drive loads driven by the high-side drive circuit module is completed, and all external high-side drive loads with overcurrent faults are obtained.

8. The fault detection method according to claim 7, characterized in that, In step S2, the preset total current threshold of the high-side drive circuit module is equal to the sum of the calibrated current limit values ​​of all external high-side drive loads driven by the high-side drive circuit module.

Citation Information

Patent Citations

  • High-side driver

    CN102037647A

  • Chassis domain controller

    CN112859686A