Domain control system and method based on high-side driving
By setting the connection relationship between the power management chip, control module and intelligent high-side drive module in the domain control system, and using level signals and alarm signals to enable the intelligent high-side drive module, the problem of domain control module failure affecting car driving safety is solved. , ensuring the normal operation of HSD associated equipment.
Patent Information
- Application Number
- CN202410707741.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-01
AI Technical Summary
The failure of the domain control module causes potential safety hazards in car driving and affects the normal operation of related equipment.
By setting the connection relationship between the power management chip, the control module and the intelligent high-side driver module, the control module runs its own internal program and detects the operation process. If it outputs a level signal normally, it will send an alarm signal otherwise; the power management chip will output a high or high-side signal based on the alarm signal. The low-level signal enables or enables the intelligent high-side driver module to ensure normal output of the intelligent high-side driver module in the event of a fault.
When the control module fails, the intelligent high-side drive module is enabled to ensure the normal operation of HSD-related equipment and eliminate potential safety hazards when the car is driving.
Smart Images

Figure CN118732648A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of automobile control systems, and in particular to a domain control system and method based on high-side driving. Background Art
[0002] The automotive electronic control system is an important part of modern automobiles. It realizes various control functions of the automobile through various sensors and actuators. The automotive electronic control system can be divided into multiple domain control systems according to the control area. The domain control module in the domain control system is responsible for the power distribution management and communication, power up and down management, thermal management, etc. in the control area. In power distribution management, HSD (High Side Drive) intelligent power distribution technology is a special body control technology. The domain control module controls the output of HSD to achieve precise control and power supply of each device in the area. The output of HSD of the current domain control module is also used to wake up other domain control modules.
[0003] Based on the working principle of the domain control module and HSD, once a domain control module fails, the HSD will not be able to output normally, and then cut off the power supply to all devices in the area, and affect the normal operation of other domain control modules. This fault response method will affect the normal driving of the car, especially when the car is in a special driving process, cutting off the power supply and affecting the normal operation of other domain control modules, which is likely to cause safety hazards to the driving of the car.
[0004] Therefore, how to provide a solution to the above technical problems is a problem that technicians in this field need to solve. Summary of the invention
[0005] In view of this, an embodiment of the present application provides a domain control system and method based on high-side driving to solve the problem in the prior art that failure of the domain control module affects the normal operation of related equipment and causes safety hazards in vehicle driving.
[0006] According to a first aspect of an embodiment of the present application, a domain control system based on a high-side driver is provided, including a power management chip, a control module, an intelligent high-side driver module, and a first OR logic gate, wherein:
[0007] The fault pin of the power management chip is connected to the first input terminal of the first OR logic gate;
[0008] The control pin of the control module is connected to the second input terminal of the first OR logic gate;
[0009] The enable pin of the intelligent high-side driver module is connected to the output end of the first OR logic gate;
[0010] The control module is used to run its own internal program and detect the running process. If the current running process is normal, the control pin outputs a level signal corresponding to the internal program. If the current running process is wrong, an alarm signal is sent to the power management chip. The level signal includes a low level signal and a high level signal.
[0011] The power management chip is used to output a low level signal through the fault pin when no alarm signal is received, and output a high level signal through the fault pin when an alarm signal is received;
[0012] The intelligent high-side driver module is used to output a working signal to a corresponding receiving object when the enable pin receives a high-level signal, and stop outputting the working signal to the receiving object when the enable pin receives a low-level signal.
[0013] A second aspect of an embodiment of the present application provides a domain control method based on a high-side driver, which is applied to a control module of a domain control system based on a high-side driver, including:
[0014] Run its own internal programs and test the operation process;
[0015] If the current operation process is normal, the level signal corresponding to the internal program is output through the control pin, so that the intelligent high-side driver module operates based on the level signal; the level signal includes a low level signal and a high level signal;
[0016] If an error occurs during the current operation, an alarm signal is sent to the power management chip, so that the power management chip outputs a high level signal through a fault signal according to the alarm signal, so that the intelligent high-side driver module operates based on the high level signal.
[0017] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0018] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0019] Compared with the prior art, the embodiments of the present application have at least the following beneficial effects: the embodiments of the present application set the connection relationship between the power management chip, the control module, the first OR logic gate, and the intelligent high-side driver module, and set the operation logic of the power management chip and the control module at the same time. The control module runs its own internal program. If the operation process is normal, the level signal corresponding to the current internal program is output through the control pin. If the current operation process is wrong, an alarm signal is sent to the power management chip. When the power management chip receives the alarm signal, it outputs a high-level signal through the fault pin, and when the alarm signal is not received, it outputs a low-level signal through the fault pin. The first OR logic gate performs an OR logic operation on the above situation: if the control module is normal, the first input terminal is a low-level signal, and the second input terminal is a level signal corresponding to the current internal program. The first OR logic gate outputs a level signal corresponding to the current internal program to control the intelligent high-side driver module. At this time, the intelligent high-side driver module is enabled by the control module; if the control module fails, the first input terminal is a high-level signal. Regardless of the level signal of the second input terminal, the output of the first OR logic gate is a high-level signal, which directly enables the intelligent high-side driver module. It can be seen that the domain control system of the embodiment of the present application ensures that the intelligent high-side driver module is enabled when a control module fails, so that it can output normally, ensuring that all HSD-related devices can work normally, eliminating the safety hazard when the car is driving when the control module fails. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 is a structural schematic diagram of a domain control device based on high-side driving provided in an embodiment of the present application;
[0022] Figure 2 It is a structural schematic diagram of another domain control device based on high-side driving provided in an embodiment of the present application;
[0023] Figure 3 is a structural schematic diagram of another domain control device based on high-side driving provided in an embodiment of the present application;
[0024] Figure 4 is a structural schematic diagram of another domain control device based on high-side driving provided in an embodiment of the present application;
[0025] Figure 5It is a flow chart of a domain control method based on high-side driving provided in an embodiment of the present application;
[0026] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0028] A domain control system and method based on high-side driving according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0029] Figure 1 Schematic diagram of a domain control system based on high-side driver provided in an embodiment of the present application. Figure 1 As shown, the domain control system includes a power management chip 1, a control module 2, an intelligent high-side driver module 3, and a first OR logic gate U1, wherein:
[0030] The fault pin of the power management chip 1 is connected to the first input terminal of the first OR logic gate U1;
[0031] The control pin of the control module 2 is connected to the second input terminal of the first OR logic gate U1;
[0032] The enable pin of the intelligent high-side driver module 3 is connected to the output end of the first OR logic gate U1;
[0033] The control module 2 is used to run its own internal program and detect the running process. If the current running process is normal, it outputs a level signal corresponding to its own internal program through the control pin. If the current running process is wrong, it sends an alarm signal to the power management chip 1; the level signal includes a low level signal and a high level signal;
[0034] The power management chip 1 is used to output a low level signal through the fault pin when no alarm signal is received, and output a high level signal through the fault pin when an alarm signal is received;
[0035] The intelligent high-side driver module 3 is used to output a working signal to a corresponding receiving object when the enable pin receives a high-level signal, and stop outputting the working signal to the receiving object when the enable pin receives a low-level signal.
[0036] It can be understood that the domain control system of this embodiment can be applied to any system including a smart high-side driver module (smart HSD), a control module and a power management chip (Power Management IC, PMIC), such as a body domain control system in an automotive electronic control system. The control module can be implemented by a controller such as an MCU (Micro Controller Unit). In addition to the smart high-side driver module, the control module and the power management chip, the body domain control system also includes the in-region devices in the receiving object of the working signal of the smart high-side driver module. For example, for the body domain control system, the devices in the region powered by the smart high-side driver module include doors, windows, lights, wipers and other types of body electronic equipment. The receiving object of the working signal output by the smart high-side driver module also includes other controllers, i.e., out-of-region control modules. For example, the current domain control system is a body domain control system, and the out-of-region control module in the receiving object of the smart high-side driver module includes a vehicle domain controller.
[0037] The domain control system in this embodiment adds a first OR logic gate U1, and establishes a connection relationship between the power management chip 1, the control module 2, the intelligent high-side driver module 3 and the first OR logic gate U1, so that the power management chip 1 and the control module 2 can jointly enable the intelligent high-side driver module 3, specifically:
[0038] The control module 2 runs its own internal program. If the running process is normal, it outputs a level signal corresponding to the current internal program through the control pin. If the current running process fails, it sends an alarm signal to the power management chip 1. The power management chip 1 outputs a high level signal through the fault pin when receiving the alarm signal, and outputs a low level signal through the fault pin when no alarm signal is received.
[0039] The first OR logic gate U1 performs an OR logic operation on the above situations: if the control module 2 is normal, the first input terminal is a low-level signal, and the second input terminal is a level signal corresponding to the current internal program of the control module 2. The first OR logic gate U1 outputs a level signal corresponding to the current internal program of the control module 2 to control the intelligent high-side driver module 3. At this time, the intelligent high-side driver module 3 is enabled and controlled by the control module 2; if the control module 2 fails, the first input terminal is a high-level signal. Regardless of the level signal of the second input terminal, the output of the first OR logic gate U1 is a high-level signal, which directly enables the intelligent high-side driver module 3.
[0040] It can be seen that if the control module 2 in this embodiment is normal, the intelligent high-side driver module 3 operates based on the level signal of the control pin of the control module 2. If the level signal is high, the intelligent high-side driver module 3 is enabled to work, and if the level signal is low, the intelligent high-side driver module 3 is not enabled to work; if the control module 2 fails, the intelligent high-side driver module 3 is enabled to work based on the high-level signal output by the fault pin of the power management chip 1, that is, when the control module 2 fails, the intelligent high-side driver module 3 is in an enabled normal output state, and outputs a working signal to the corresponding receiving object.
[0041] It is understandable that currently common packaging products of the power management chip 1 have an alarm signal receiving pin and a fault pin. This embodiment can directly use mature packaging products to implement the power management chip 1.
[0042] Taking the body domain control system as an example, when the control module in the original body domain control system fails, when the level signal received by the intelligent high-side driver module from the control module fails, the intelligent high-side driver module will stop outputting the working signal, and the receiving object will stop running if it cannot receive the working signal. If the car is in driving state or in special weather conditions at this time, it is very easy to cause an accident. For example, the vehicle controller in the receiving object stops running and enters a dormant state. The car cannot respond to operating instructions such as acceleration and braking, which will greatly affect the safe driving of the car; if it is currently raining, the wipers in the receiving object stop running, which can easily cause the driver's vision to be disturbed and unable to identify the road conditions; for example, the turn signal in the receiving object stops running, and when the driver tries to park the car in the emergency lane or on the side of the road, the turn signal does not work, which can easily cause the following vehicle to rear-end and cause an accident.
[0043] In the present embodiment, when the domain control system is a body domain control system, if the control module operates normally, the intelligent high-side driver module will output a corresponding signal according to the control pin; if the control module operates incorrectly, the intelligent high-side driver module will be enabled and output a corresponding working signal according to the high-level signal output by the fault pin. This means that even if the car is in driving or in special weather conditions, the vehicle controller will not go into sleep mode due to a failure of the body domain controller, and the wipers and turn signals will not stop working due to a failure of the body domain controller, thereby ensuring the safety of the car during driving and ensuring that the car can be safely parked in the emergency lane or driven to a repair shop.
[0044] Therefore, the domain control system of this embodiment receives objects including at least one of the devices in the area and the control modules outside the area;
[0045] The equipment in the area includes at least one of a wiper and a turn signal.
[0046] It is understandable that when the control module 2 is running its own internal program, if an error occurs during the operation, it can directly send an alarm signal to the power management chip 1, or it can try to reset the program multiple times. If the program reset succeeds in the preset number of program reset attempts, it is considered that the current operation process has returned to normal, and it can continue to run its own internal program and continue to detect the operation process. If the program reset always fails, when the number of resets is equal to the preset number and the program reset fails this time, it is considered that the reset fails, and the program reset action is no longer performed, and then an alarm signal is sent to the power management chip 1. Therefore, the control module 2 is specifically used to:
[0047] Run the current internal program and test the running process;
[0048] If the current operation process is normal, the level signal corresponding to the current internal program is output through the control pin;
[0049] If an error occurs during the current operation, reset the program and record the number of resets;
[0050] When the number of resets is not greater than the preset number and the program is reset successfully, the current operation process is judged to be normal, and the execution returns to the action of outputting the level signal corresponding to the internal program through the control pin;
[0051] When the number of resets is less than the preset number and the current program reset fails, the program reset is performed again and the reset number is recorded;
[0052] When the number of reset times is equal to the preset number and the current reset procedure fails, it is determined that the control module 2 is faulty and an alarm signal is sent to the power management chip 1.
[0053] It can be understood that when the i-th program reset starts, the reset times are adjusted to i times, and the result of this program reset is waited, which includes success or failure, and subsequent operations are performed accordingly based on the result, and i is a positive integer not greater than the preset number of times.
[0054] It is understandable that a watchdog mechanism is provided between the power management chip 1 and the control module 2. Specifically:
[0055] The power management chip 1 is also used to send a dog feeding instruction to the control module 2 according to a preset frequency;
[0056] The control module 2 is further used to respond to the dog feeding instruction and return a response signal to the power management chip 1 .
[0057] It is understandable that the dog feeding instruction is sent periodically by the power management chip 1 to the control module 2 at a preset frequency. Therefore, if the control module 2 is in normal operation, it will receive the dog feeding instruction and perform corresponding operations to respond to the dog feeding instruction, and then return a response signal to the power management chip 1. For the power management chip 1, the response signal is also a signal that is received periodically during normal operation.
[0058] Therefore, the power management chip 1 can combine the response signal and the alarm signal corresponding to the watchdog mechanism to analyze whether it is necessary to output a high-level signal at the fault pin, that is, if the response signal times out or an alarm signal is received, it is considered that the current control module 2 has a fault, and the power management chip 1 will output a high-level signal through the fault pin. Specifically, the power management chip 1 is used to:
[0059] When no alarm signal is received and a response signal is received within a first preset time period, a low level signal is output through the fault pin;
[0060] When an alarm signal is received or no response signal is received within a first preset time period, a high level signal is output through the fault pin.
[0061] It is understandable that the control module 2 in the above text works as a single integrated processor. Once a problem occurs in the processor causing an error in the operation process, the entire control module 2 can no longer continue to run the program and can only send an alarm signal to the power management chip 1. Figure 2 As shown, in order to solve the determinism of a single processor on the running program, in the method of this embodiment, two main and standby processing cores can be set in the control module 2, namely, the first control unit 21 and the second control unit 22. At this time, the control module 2 includes the first control unit 21, the second control unit 22 and the second OR logic gate U2, wherein:
[0062] A first enable terminal of the first control unit 21 is connected to a first input terminal of the second OR logic gate U2;
[0063] The second enable terminal of the second control unit 22 is connected to the second input terminal of the second OR logic gate U2;
[0064] The output end of the second OR logic gate U2 serves as the control pin of the control module 2;
[0065] The first control unit 21 is used to run its own internal program and detect the current running process. If the current running process is normal, it outputs a level signal corresponding to the current internal program through the first enabling terminal. If the current running process is wrong, it outputs an error signal to the second control unit 22;
[0066] The second control unit 22 is used to output a low-level signal through the second enable terminal when no error signal is received, and to run its own internal program and detect the current operation process when an error signal is received. If the current operation process is normal, it outputs a level signal corresponding to the current internal program through the second enable terminal; if the current operation process is wrong, it sends an alarm signal to the power management chip 1.
[0067] It can be understood that at this time, both the first control unit 21 and the second control unit 22 can run their own internal programs. The first control unit 21 defaults to running as the main core. When an error occurs during the operation of the first control unit 21, the second control unit 22 starts to run its own internal program. When an error also occurs during the operation of the second control unit 22, an alarm signal is sent to the power management chip 1. At this time, the domain control system of the entire embodiment has three terminals / pins that enable the intelligent high-side driver module 3: the first enable terminal of the first control unit 21, the second enable terminal of the second control unit 22, and the fault pin of the power management chip 1. The specific priority is that the first enable terminal is higher than the second enable terminal and higher than the fault pin. The truth table of the enable pin of the corresponding intelligent high-side driver module 3 implemented by two or logic gates is shown in Table 1, where 1 is a high-level signal and X is a level signal with an uncertain state.
[0068] Table 1 Truth table of the enable pin of the intelligent high-side driver module
[0069]
[0070] It can be understood that S1, S2, S3, and S4 are respectively the signal of the first enable terminal, the signal of the second enable terminal, the signal of the fault pin, and the signal of the enable pin. In the case of "the first control unit is faulty, the second control unit is normal and outputs a low-level signal", the level signal S4 of the enable pin follows S1 of the first enable terminal. Due to the error signal sent by the first control unit 21 to the second control unit 22, even if the first control unit 21 is faulty, the second control unit 22 will output a normal level signal; further, due to the existence of the second OR logic gate U2, as long as there is a high-level signal at the first enable terminal and the second enable terminal, the second OR logic gate U2 outputs a high-level signal, ensuring that the situation where the intelligent high-side driver module needs to be enabled is not missed.
[0071] It is understandable that, in fact, based on the current Figure 2The connection relationship between the first OR logic gate U1 and the second OR logic gate U2, the operation between the signals is: S4 = (S1 ∨ S2) ∨ S3, where ∨ is the OR operation symbol, S1, S2, S3, S4 are respectively the signal of the first enable terminal, the signal of the second enable terminal, the signal of the fault pin, and the signal of the enable pin. Based on the associative law of OR operation and the commutative law of OR operation, in fact, if any two of the three input signals S1, S2, and S3 are ORed first, the final operation result will not change, that is: S4 = (S1 ∨ S2) ∨ S3 = S1 ∨ (S2 ∨ S3) = (S1 ∨ S3) ∨ S2.
[0072] Since the operation result of the OR operation is the same, the connection relationship between the first enable terminal, the second enable terminal and the fault pin and the two OR logic gates in the specific circuit structure can be flexibly adjusted, such as Figure 3 and Figure 4 The other two connection relationships shown can both achieve the control effect of the domain control system in this embodiment. The adjustment principle includes: the two input terminals of the first OR logic gate are connected to two of the three signal input terminals (the first enable terminal, the second enable terminal and the fault pin), the output terminal of the first OR logic gate is connected to an input terminal of the second OR logic gate, the other input terminal of the second OR logic gate is connected to the remaining signal input terminal, and the output terminal of the second OR logic gate is connected to the enable pin of the intelligent high-side driver module.
[0073] Furthermore, the first control unit 21 immediately switches to the second control unit 22 after an error occurs during operation, in order to ensure that the output of the control module 2 is normal. After the switch, the first control module 21 can continue to try to reset its own program. Once the reset is successful, if the second control unit 22 subsequently fails during operation, it may not directly send an alarm signal to the power management chip 1, but instead ask the first control module 21 whether the reset is successful and can be switched to operation. If so, there is no need to send an alarm signal to the power management chip 1, thereby ensuring that the output of the control module 2 is normal as much as possible.
[0074] Therefore, the first control unit 21 is specifically used to run its own internal program and detect the current running process. If the current running process is normal, it outputs a level signal corresponding to the current internal program through the first enabling terminal. If the current running process is wrong, it outputs an error signal to the second control unit 22 and resets the program.
[0075] The second control unit 22 is specifically used to output a low-level signal through the second enable terminal when no error signal is received, and to run its own internal program and detect the current operation process when an error signal is received. If the current operation process is normal, output a level signal corresponding to the current internal program of the second enable terminal, and if the current operation process is wrong, send a switching request to the first control unit 21, and if the request response information returned by the first control unit 21 based on the switching request is not received within the second preset time, send an alarm signal to the power management chip 1;
[0076] The first control unit 21 is also used for:
[0077] When the program is successfully reset and a switching request is received, a request response message is returned to the second control unit 22, and the operation of running its own internal program and detecting the current running process is executed.
[0078] It can be understood that there is a master-standby switching relationship between the first control unit 21 and the second control unit 22. The control unit serving as the main core runs its own internal program, and the other control unit is in a low-power standby mode. When the main core fails, it switches to the standby control unit to continue running its own internal program, thereby improving the stability of the control module.
[0079] It can be understood that the power supply of the first OR logic gate U1 and the second OR logic gate U2 in the above text is realized by other independent power supplies, which are decoupled from the power management chip 1 in the current domain control system to prevent the OR logic gate from failing due to a system power failure in the domain control system, thereby ensuring that the domain control system of this embodiment can take over normally after the system power failure.
[0080] The embodiment of the present application sets the connection relationship between the power management chip, the control module, the first or logic gate, and the intelligent high-side driver module, and sets the operation logic of the power management chip and the control module at the same time. The control module runs its own internal program. If the operation process is normal, the level signal corresponding to the current internal program is output through the control pin. If the current operation process is wrong, an alarm signal is sent to the power management chip. The power management chip outputs a high-level signal through the fault pin when receiving the alarm signal, and outputs a low-level signal through the fault pin when not receiving the alarm signal. The first or logic gate performs an or logic operation on the above situation: if the control module is normal, the first input terminal is a low-level signal, and the second input terminal is a level signal corresponding to the current internal program. The first or logic gate outputs a level signal corresponding to the current internal program to control the intelligent high-side driver module. At this time, the intelligent high-side driver module is enabled by the control module; if the control module fails, the first input terminal is a high-level signal. Regardless of the level signal of the second input terminal, the output of the first or logic gate is a high-level signal, which directly enables the intelligent high-side driver module. It can be seen that the domain control system of the embodiment of the present application ensures that the intelligent high-side driver module is enabled when a control module fails, so that it can output normally, ensuring that all HSD-related devices can work normally, eliminating the safety hazard when the car is driving when the control module fails.
[0081] All the above optional technical solutions can be combined in any way to form optional embodiments of the present application, and will not be described in detail here. It should be understood that the size of the sequence number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0082] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0083] Figure 5 1 is a flow chart of a domain control method based on high-side driver provided in an embodiment of the present application, which is applied to the control module of the domain control system based on high-side driver mentioned above. Figure 5 As shown, the method includes:
[0084] S1: Run its own internal program and detect the running process;
[0085] S2: If the current operation process is normal, the level signal corresponding to the internal program is output through the control pin, so that the intelligent high-side driver module operates based on the level signal; the level signal includes a low level signal and a high level signal;
[0086] S3: If an error occurs during the current operation, an alarm signal is sent to the power management chip, so that the power management chip outputs a high-level signal through a fault signal according to the alarm signal, so that the intelligent high-side driver module operates based on the high-level signal.
[0087] The method of the embodiment of the present application is based on the connection relationship between the power management chip, the control module, the first or logic gate, and the intelligent high-side driver module and the operation logic of the power management chip and the control module. The control module runs its own internal program. If the operation process is normal, the level signal corresponding to the current internal program is output through the control pin. If the current operation process is wrong, an alarm signal is sent to the power management chip. The power management chip outputs a high-level signal through the fault pin when receiving the alarm signal, and outputs a low-level signal through the fault pin when not receiving the alarm signal. The first or logic gate performs an or logic operation on the above situation: if the control module is normal, the first input terminal is a low-level signal, and the second input terminal is a level signal corresponding to the current internal program. The first or logic gate outputs a level signal corresponding to the current internal program to control the intelligent high-side driver module. At this time, the intelligent high-side driver module is enabled by the control module; if the control module fails, the first input terminal is a high-level signal. Regardless of the level signal of the second input terminal, the output of the first or logic gate is a high-level signal, which directly enables the intelligent high-side driver module. It can be seen that the method of the embodiment of the present application ensures that the intelligent high-side driver module is enabled when a control module fails, so that it can output normally, ensuring that all associated devices of the HSD can work normally, eliminating the safety hazard when the car is driving when the control module fails.
[0088] In an exemplary embodiment, if an error occurs in the current operation process, the process of sending an alarm signal to the power management chip includes:
[0089] If an error occurs during the current operation, reset the program and record the number of resets;
[0090] When the number of resets is not greater than the preset number and the program is reset successfully, the current operation process is judged to be normal, and the execution returns to the action of outputting the level signal corresponding to the internal program through the control pin;
[0091] When the number of resets is less than the preset number and the current program reset fails, the program reset is performed again and the reset number is recorded;
[0092] When the number of resets is equal to the preset number and the current reset procedure fails, the control module is determined to be faulty and an alarm signal is sent to the power management chip.
[0093] In an exemplary embodiment, the method further comprises:
[0094] Receive the dog feeding instruction sent by the power management chip at a preset frequency;
[0095] Respond to the dog feeding instruction and return a response signal to the power management chip.
[0096] In an exemplary embodiment, the control module includes a first control unit, a second control unit and a second OR logic gate, wherein:
[0097] A first enable terminal of the first control unit is connected to a first input terminal of the second OR logic gate;
[0098] A second enable terminal of the second control unit is connected to a second input terminal of the second OR logic gate;
[0099] The output end of the second OR logic gate serves as a control pin of the control module;
[0100] The method then comprises:
[0101] The first control unit performs the following operations: running its own internal program and detecting the current running process, if the current running process is normal, outputting a level signal corresponding to the current internal program through the first enabling terminal, and if the current running process is wrong, outputting an error signal to the second control unit;
[0102] The second control unit performs the following operations: when an error signal is received, the internal program is run and the current operation process is detected. If the current operation process is normal, a level signal corresponding to the current internal program is output through the second enable terminal. If the current operation process is wrong, an alarm signal is sent to the power management chip.
[0103] In an exemplary embodiment, the first control unit performs the following operations: running its own internal program and detecting the current running process, if the current running process is normal, outputting a level signal corresponding to the current internal program through the first enabling terminal, if the current running process is wrong, outputting an error signal to the second control unit and resetting the program;
[0104] The second control unit performs the following operations: when receiving an error signal, running its own internal program and detecting the current operation process, if the current operation process is normal, outputting a level signal corresponding to the current internal program of the second enabling terminal, if the current operation process is wrong, sending a switching request to the first control unit, and if the request response information returned by the first control unit based on the switching request is not received within the second preset time, sending an alarm signal to the power management chip;
[0105] The method further includes: executing the following operations by the first control unit:
[0106] When the program is reset successfully and a switching request is received, a request response message is returned to the second control unit, and the operation of running the internal program and detecting the current running process is executed.
[0107] Figure 6 Schematic diagram of an electronic device 6 provided in an embodiment of the present application. Figure 6 As shown, the electronic device 6 of this embodiment includes: a processor 601, a memory 602, and a computer program 603 stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program 603, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 601 executes the computer program 603, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0108] The electronic device 6 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 6 may include, but is not limited to, a processor 601 and a memory 602. Those skilled in the art will appreciate that Figure 6 The electronic device 6 is merely an example and does not limit the electronic device 6 . The electronic device 6 may include more or less components than those shown in the figure, or different components.
[0109] The processor 601 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0110] The memory 602 may be an internal storage unit of the electronic device 6, for example, a hard disk or memory of the electronic device 6. The memory 602 may also be an external storage device of the electronic device 6, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. The memory 602 may also include both an internal storage unit of the electronic device 6 and an external storage device. The memory 602 is used to store computer programs and other programs and data required by the electronic device.
[0111] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0112] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0113] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A domain control system based on high-side driver, characterized in that: It includes a power management chip, a control module, an intelligent high-side driver module, and a first OR logic gate, wherein: The fault pin of the power management chip is connected to the first input terminal of the first OR logic gate; The control pin of the control module is connected to the second input terminal of the first OR logic gate; The enable pin of the intelligent high-side driver module is connected to the output end of the first OR logic gate; The control module is used to run its own internal program and detect the running process. If the current running process is normal, the control module outputs a level signal corresponding to the internal program through the control pin. If the current running process is wrong, the control module sends an alarm signal to the power management chip; the level signal includes a low level signal and a high level signal; The power management chip is used to output a low level signal through the fault pin when the alarm signal is not received, and output a high level signal through the fault pin when the alarm signal is received; The intelligent high-side driver module is used to output a working signal to a corresponding receiving object when the enable pin receives a high-level signal, and stop outputting the working signal to the receiving object when the enable pin receives a low-level signal.
2. The domain control system according to claim 1, characterized in that: The control module is specifically used for: Run the current internal program and test the running process; If the current operation process is normal, the level signal corresponding to the current internal program is output through the control pin; If an error occurs during the current operation, reset the program and record the number of resets; When the number of resets is not greater than the preset number and the current program reset is successful, it is determined that the current operation process is normal, and the process returns to the execution of the action of outputting the level signal corresponding to the internal program through the control pin; When the number of resets is less than the preset number and the current program reset fails, the action of resetting the program and recording the number of resets is performed again; When the number of reset times is equal to the preset number of times and the current program reset fails, it is determined that the control module is faulty and the alarm signal is sent to the power management chip.
3. The domain control system according to claim 1, characterized in that: The power management chip is also used to send a dog feeding instruction to the control module according to a preset frequency; The control module is also used to respond to the dog feeding instruction and return a response signal to the power management chip.
4. The domain control system according to claim 3, characterized in that: The power management chip is specifically used for: When the alarm signal is not received and the response signal is received within a first preset time period, a low level signal is output through the fault pin; When the alarm signal is received or the response signal is not received within the first preset time period, a high level signal is output through the fault pin.
5. The domain control system according to claim 1, characterized in that: The receiving object includes at least one of an in-region device and an out-of-region control module; The equipment in the area includes at least one of a wiper and a turn signal lamp.
6. The domain control system according to any one of claims 1 to 5, characterized in that: The control module comprises a first control unit, a second control unit, and a second OR logic gate, wherein: A first enable terminal of the first control unit is connected to a first input terminal of the second OR logic gate; The second enable terminal of the second control unit is connected to the second input terminal of the second OR logic gate; The output end of the second OR logic gate serves as the control pin of the control module; The first control unit is used to run its own internal program and detect the current running process. If the current running process is normal, the first enabling terminal outputs a level signal corresponding to the current internal program of the first control unit. If the current running process is wrong, the error signal is output to the second control unit. The second control unit is used to output a low-level signal through the second enable terminal when the error signal is not received, and to run its own internal program and detect the current operation process when the error signal is received. If the current operation process is normal, output a level signal corresponding to the current internal program through the second enable terminal; if the current operation process is wrong, send the alarm signal to the power management chip.
7. The domain control system according to claim 6, characterized in that: The first control unit is specifically used to run its own internal program and detect the current running process. If the current running process is normal, the first enabling terminal outputs a level signal corresponding to the current internal program of the first control unit. If the current running process is wrong, the first enabling terminal outputs an error signal to the second control unit and resets the program. The second control unit is specifically configured to output a low level signal through the second enable terminal when the error signal is not received, run its own internal program and detect the current operation process when the error signal is received, and if the current operation process is normal, output a level signal corresponding to the current internal program of the second enable terminal, if the current operation process is wrong, send a switching request to the first control unit, and if the request response information returned by the first control unit based on the switching request is not received within a second preset time, send the alarm signal to the power management chip; The first control unit is also used for: When the program is reset successfully and the switching request is received, the request response information is returned to the second control unit, and the action of running the internal program of the self and detecting the current running process is executed.
8. A domain control method based on high-side driver, characterized in that: A control module applied to a domain control system based on a high-side driver according to any one of claims 1 to 7, comprising: Run its own internal programs and test the operation process; If the current operation process is normal, the level signal corresponding to the internal program is output through the control pin, so that the intelligent high-side driver module operates based on the level signal; the level signal includes a low level signal and a high level signal; If an error occurs in the current operation process, an alarm signal is sent to the power management chip, so that the power management chip outputs a high level signal through a fault signal according to the alarm signal, so that the intelligent high-side driver module operates based on the high level signal.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to claim 8 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 8 are implemented.
