A voltage detection system

By designing a voltage detection system in a vehicle, using the voltage comparison circuit and the first transistor switch circuit to capture the transient drop of the battery voltage, the problem of the inaccurate detection of the transient drop of the battery voltage in the prior art is solved, and the rapid capture and precise processing of the battery voltage is achieved.

CN119738610APending Publication Date: 2025-04-01YUANFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311228518.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

In existing vehicles, when the battery voltage drops in a transient state, due to the long sampling time of the ADC detection module, it is impossible to accurately detect and promptly notify the main control module to handle safety measures.

Method used

A voltage detection system is designed, including a main control module, a power supply module, an ADC detection module and a transient drop detection module. The transient drop detection module captures the transient drop of the battery voltage through the voltage comparison circuit and the first transistor switch circuit, and the main control module captures the abnormal voltage by triggering the downward or rising edge.

Benefits of technology

It realizes rapid capture and precise detection of the transient drop of battery voltage, ensuring that the main control module can handle voltage abnormalities in a timely manner, and improving the battery management and safety of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119738610A_ABST
    Figure CN119738610A_ABST
Patent Text Reader

Abstract

The present invention discloses a voltage detection system. The voltage detection system includes a main control module, a power supply module, an ADC detection module and a transient drop detection module; the power supply module is used to convert the voltage of the battery into the working voltage of the main control module; the ADC detection module is used to detect the battery voltage; the transient drop detection module includes a voltage comparison circuit and a first transistor switch circuit, the voltage comparison circuit is used to compare the input voltage of the voltage input end with the reference voltage, and output a first comparison signal when the input voltage is less than the reference voltage, and output a second comparison signal when the input voltage is greater than or equal to the reference voltage; the first transistor switch circuit is used to output a first level when the first comparison signal is obtained, and the first transistor switch circuit is used to output a second level when the second comparison signal is obtained. By adopting the above scheme, the problem that the abnormal situation of the transient drop of the battery voltage cannot be fully and accurately detected is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicles, and in particular to a voltage detection system. Background Art

[0002] Metaverse is a virtual world that is linked and created by technological means, mapped and interacted with the real world, and has a digital living space with a new social system. With the development of technology, Metaverse hosts that integrate Metaverse technology are often used in vehicles.

[0003] Existing vehicles usually include a battery, an engine, a main control module, an ADC detection module and a high-power device. The ADC detection module is used to monitor the battery voltage of the battery. When the engine is ignited through ACC, automatically started and stopped, and high-power devices on the vehicle (such as air-conditioning compressor) are started, the battery needs to provide a high-power output instantaneously, and a transient voltage drop of several milliseconds may occur at this time. In this case, since the conventional battery voltage is monitored by the ADC detection module, the ADC sampling detection method of the ADC detection module requires at least tens to hundreds of milliseconds to perform ADC sampling polling operations. Therefore, the abnormal situation of the transient drop of the battery voltage cannot be completely and accurately detected by the ADC detection module to notify the main control module to perform corresponding safety measures. Summary of the invention

[0004] The present invention provides a voltage detection system to solve the problem that the abnormal situation of transient voltage drop of a battery cannot be completely and accurately detected.

[0005] According to one aspect of the present invention, there is provided a voltage detection system for a vehicle, the vehicle comprising a battery, the voltage detection system comprising a main control module, a power supply module, an ADC detection module and a transient drop detection module;

[0006] The input end of the power supply module is electrically connected to the battery, the output end of the power supply module is electrically connected to the power supply end of the main control module, and the power supply module is used to convert the voltage of the battery into the working voltage of the main control module;

[0007] The input end of the ADC detection module is electrically connected to the battery, the output end of the ADC detection module is electrically connected to the ADC detection end of the main control module, and the ADC detection module is used to detect the battery voltage;

[0008] The transient drop detection module includes a voltage comparison circuit and a first triode switch circuit, wherein the voltage input terminal of the voltage comparison circuit is electrically connected to the battery, and the voltage comparison circuit is used to compare the input voltage of the voltage input terminal with a reference voltage, and output a first comparison signal when the input voltage is less than the reference voltage, and output a second comparison signal when the input voltage is greater than or equal to the reference voltage;

[0009] The input end of the first triode switch circuit is electrically connected to the output end of the voltage comparison circuit, and the output end of the first triode switch circuit is electrically connected to the transient drop detection end of the main control module. The first triode switch circuit is used to output a first level when the first comparison signal is obtained, and the first triode switch circuit is used to output a second level when the second comparison signal is obtained, the first level is one of a high level and a low level, and the second level is the other of a high level and a low level.

[0010] In an optional embodiment of the present invention, the voltage comparison circuit includes a voltage comparator, a first resistor and a second resistor;

[0011] The first resistor and the second resistor are connected in series between the battery and the ground;

[0012] The voltage input terminal of the voltage comparator is electrically connected between the first resistor and the second resistor;

[0013] The output end of the voltage comparator is electrically connected to the input end of the first transistor switch circuit, and the voltage comparator is used to output the first comparison signal and the second comparison signal.

[0014] In an optional embodiment of the present invention, the voltage comparator includes a shunt regulator.

[0015] In an optional embodiment of the present invention, the first triode switch circuit includes a first triode, a fourth resistor, a fifth resistor and a sixth resistor;

[0016] The fourth resistor is electrically connected between the battery and the output terminal of the voltage comparator;

[0017] The fifth resistor is electrically connected between the output terminal of the voltage comparator and the base of the first transistor;

[0018] The sixth resistor is electrically connected between the base of the first transistor and the ground;

[0019] The emitter of the first transistor is electrically connected to the ground, the collector of the first transistor is electrically connected to the transient drop detection terminal of the main control module, the first transistor is used to present a first state based on the first comparison signal and make the collector the first level, and present a second state based on the second comparison signal and make the collector the second level, the first state is one of on and off, and the second state is the other of on and off.

[0020] In an optional embodiment of the present invention, the vehicle includes an ACC device, and the voltage detection system further includes a voltage input control module and an ACC monitoring module;

[0021] The input end of the ACC monitoring module is electrically connected to the ACC device, and the output end of the ACC monitoring module is electrically connected to the ACC detection end of the main control module. The ACC monitoring module is used to monitor the state of the ACC device and output a flameout signal when the state of the ACC device is a flameout state;

[0022] The voltage input control module is electrically connected between the voltage input end of the voltage comparison circuit and the battery, the control end of the main control module is electrically connected to the input end of the voltage input control module, the main control module is used to output a first control signal when an ignition shutdown signal is obtained, and the voltage input control module is used to control the voltage input end of the voltage comparison circuit to be disconnected from the battery based on the first control signal.

[0023] In an optional embodiment of the present invention, the voltage input control module includes a second triode switch circuit, and the input end of the second triode switch circuit is electrically connected to the control end of the main control module;

[0024] The first output end of the second transistor switch circuit is electrically connected to the battery, the second output end of the second transistor switch circuit is electrically connected to the voltage input end of the voltage comparison circuit, and the first output end and the second output end of the second transistor switch circuit are used to be disconnected based on the first control signal.

[0025] In an optional embodiment of the present invention, the second triode switch circuit includes a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a second triode and a third triode;

[0026] The seventh resistor is electrically connected between the control terminal of the main control module and the base of the second transistor;

[0027] The eighth resistor is electrically connected between the base of the second transistor and the ground;

[0028] The ninth resistor and the tenth resistor are connected in series between the collector of the second transistor and the battery;

[0029] The emitter of the second transistor is electrically connected to the ground;

[0030] The base of the third transistor is electrically connected between the ninth resistor and the tenth resistor, the emitter of the third transistor is electrically connected to the battery, the collector of the third transistor is electrically connected to the voltage input terminal of the voltage comparison circuit, and the third transistor is used to be cut off based on the first control signal.

[0031] In an optional embodiment of the present invention, the ADC detection module includes a voltage divider circuit, the voltage divider circuit includes an eleventh resistor and a twelfth resistor, and the eleventh resistor is electrically connected between the collector of the third triode and the ADC detection end of the main control module;

[0032] The twelfth resistor is electrically connected between the ADC detection terminal of the main control module and the ground.

[0033] In an optional embodiment of the present invention, the power supply module includes a wide power domain power supply circuit.

[0034] In an optional embodiment of the present invention, the vehicle further comprises a high-voltage domain module, and the high-voltage control terminal of the main control module is electrically connected to the high-voltage domain module;

[0035] The main control module is used for controlling the high voltage domain module to be turned off when the first electrical level is acquired;

[0036] The main control module is further used to obtain the battery voltage, determine whether the battery has returned to normal based on the battery voltage, and control the high-voltage domain module to turn on when the battery has returned to normal.

[0037] The technical solution of the embodiment of the present invention compares the battery voltage and the reference voltage through a voltage comparison circuit, then outputs a first comparison signal when the input voltage is less than the reference voltage, and outputs a second comparison signal when the input voltage is greater than or equal to the reference voltage, and then outputs a first level when the first comparison signal is obtained through a first transistor switch circuit, and outputs a second level when the second comparison signal is obtained, wherein the first level is one of a high level and a low level, and the second level is the other of a high level and a low level, so that the main control module can capture the transient drop of the battery voltage through a falling edge trigger or a rising edge trigger, so the main control module can quickly capture the transient drop of the battery voltage when the voltage drops, thereby solving the problem that the abnormal situation of the transient drop of the battery voltage cannot be fully and accurately detected.

[0038] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A circuit block diagram of a voltage detection system and a battery connection provided by an embodiment of the present invention;

[0041] Figure 2 A circuit schematic diagram of a main control module provided by an embodiment of the present invention;

[0042] Figure 3 A circuit diagram of a main control module and a high voltage domain module connected to each other provided by an embodiment of the present invention;

[0043] Figure 4 A circuit schematic diagram of a power supply module provided in an embodiment of the present invention;

[0044] Figure 5 A circuit schematic diagram of the connection between an ADC detection module, a transient drop detection module and a voltage input control module provided by an embodiment of the present invention;

[0045] Figure 6 A partial circuit schematic diagram of a voltage comparator provided by an embodiment of the present invention;

[0046] Figure 7 A circuit block diagram of a voltage detection system and a battery connection provided by an embodiment of the present invention;

[0047] Figure 8 A circuit schematic diagram of an ACC monitoring module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0050] Figure 1 A circuit block diagram of a voltage detection system and a battery connection provided by an embodiment of the present invention, Figure 2 A circuit schematic diagram of a main control module provided in an embodiment of the present invention is provided. This embodiment is applicable to the case where the voltage of the battery 5 of the vehicle is detected, such as Figure 1 and Figure 2 As shown, the voltage detection system is used for a vehicle, the vehicle includes a battery 5, and the battery 5 is the power source of the vehicle. The voltage detection system includes a main control module 1, a power supply module 2, an ADC detection module 3 and a transient drop detection module 4.

[0051] The input end of the power supply module 2 is electrically connected to the battery 5, and the output end of the power supply module 2 is electrically connected to the power supply end MCU_3V3 of the main control module 1. The power supply module 2 is used to convert the voltage of the battery 5 into the working voltage of the main control module 1. Among them, the main control module 1 refers to one of the most core components in the electronic system of the vehicle. It is a microprocessor or integrated circuit used to control and manage the electronic system of the entire vehicle. Preferably, the main control module 1 can be one of MCU, CPU, and FPGA. The power supply module 2 refers to a module that can perform voltage conversion to convert the voltage of the battery 5 into the working voltage of the main control module 1. Since the voltage value required for the main control module 1 to work may be inconsistent with the output voltage of the battery 5, the power supply module 2 is required to convert the voltage of the battery 5 into the working voltage of the main control module 1, so as to supply power to the main control module 1 so that the main control module 1 can work normally.

[0052] The input end of the ADC detection module 3 is electrically connected to the battery 5, and the output end of the ADC detection module 3 is electrically connected to the ADC detection end BAT12_V_DET of the main control module 1. The ADC detection module 3 is used to detect the voltage of the battery 5. Among them, the ADC detection module 3 refers to a module that collects the voltage output by the battery 5 by ADC sampling. The ADC detection module 3 can output the collected voltage of the battery 5 to the main control module 1. The specific value of the current voltage of the battery 5 can be accurately obtained through the ADC detection module 3, so that the main control module 1 can perform some active operations according to the voltage of the battery 5.

[0053] The transient drop detection module 4 includes a voltage comparison circuit 41 and a first transistor switch circuit 42. The voltage input terminal of the voltage comparison circuit 41 is electrically connected to the battery 5. The voltage comparison circuit 41 is used to compare the input voltage of the voltage input terminal with the reference voltage, and output a first comparison signal when the input voltage is less than the reference voltage, and output a second comparison signal when the input voltage is greater than or equal to the reference voltage. Among them, the voltage comparison circuit 41 refers to a circuit that can compare the input voltage of the voltage input terminal with the reference voltage and output different signals according to the comparison result. The reference voltage refers to the voltage value used as a voltage reference by the voltage comparison circuit 41, which can refer to the voltage setting when the battery 5 is working normally and when the voltage drops. The first comparison signal and the second comparison signal are different electrical signals. Since the voltage input to the voltage input terminal of the voltage comparison circuit 41 comes from the battery 5, the comparison result between the voltage of the battery 5 and the reference voltage can be determined according to the first comparison signal and the second comparison signal.

[0054] The input end of the first triode switch circuit 42 is electrically connected to the output end of the voltage comparison circuit 41, and the output end of the first triode switch circuit 42 is electrically connected to the transient drop detection end BAT_LV_nDET of the main control module 1. The first triode switch circuit 42 is used to output a first level when a first comparison signal is obtained, and the first triode switch circuit 42 is used to output a second level when a second comparison signal is obtained. The first level is one of a high level and a low level, and the second level is the other of a high level and a low level.

[0055] Among them, the first triode switch circuit 42 can be used as a switch. The high level refers to a high voltage relative to the low level, which is a term in electrical engineering. In the logic level, it is the minimum input high level allowed when the input of the logic gate is high. When the input level is higher than the input high voltage (Vih), the input level is considered to be a high level. The low level (Vil) refers to the maximum input low level allowed when the input of the logic gate is low. When the input level is lower than Vil, the input level is considered to be a low level. It is a low voltage relative to the high level, which is a term in electronic engineering.

[0056] When the first level is a low level and the second level is a high level, the first transistor switch circuit 42 will output the second level when the battery 5 works normally. At this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 presents a high level. When the voltage of the battery 5 drops, the first transistor switch circuit 42 will output the first level. At this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 will have a falling edge trigger waveform that changes from a high level to a low level. Therefore, the transient drop detection terminal BAT_LV_nDET of the main control module 1 captures the voltage transient drop of the battery 5 through the falling edge trigger.

[0057] When the first level is high and the second level is low, the first triode switch circuit 42 will output the second level when the battery 5 works normally. At this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 presents a low level. When the voltage of the battery 5 drops, the first triode switch circuit 42 will output the first level. At this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 will have a rising edge trigger waveform that changes from a low level to a high level. Therefore, the transient drop detection terminal BAT_LV_nDET of the main control module 1 captures the voltage transient drop of the battery 5 through the rising edge trigger. When the specific circuit structure of the first triode switch circuit 42 is different, the output first level and the second level will be different, which is not specifically limited here, but is just an example.

[0058] In the above scheme, the battery 5 is electrically connected to the voltage input terminal of the voltage comparison circuit 41, and the voltage comparison circuit 41 compares the input voltage of the voltage input terminal with the reference voltage, and then outputs a first comparison signal when the input voltage of the voltage input terminal of the voltage comparison circuit 41 is less than the reference voltage, and outputs a second comparison signal when the input voltage is greater than or equal to the reference voltage, and then outputs a first level when the first comparison signal is obtained through the first transistor switch circuit 42, and outputs a second level when the second comparison signal is obtained, the first level is one of the high level and the low level, and the second level is the other of the high level and the low level, so that the main control module 1 can capture the transient voltage drop of the battery 5 through the falling edge trigger or the rising edge trigger, so the main control module 1 can quickly capture the transient voltage drop of the battery 5 when the voltage drops, which solves the problem that the abnormal situation of the transient voltage drop of the battery 5 cannot be fully and accurately detected.

[0059] In an optional embodiment of the present invention, Figure 1 and 3As shown, the vehicle also includes a high-voltage domain module 8, and the high-voltage control terminal Module_EN of the main control module 1 is electrically connected to the high-voltage domain module 8; the main control module 1 is used to control the high-voltage domain module 8 to be turned off when the first level is obtained; the main control module 1 is also used to obtain the voltage of the battery 5, determine whether the battery 5 has returned to normal based on the voltage of the battery 5, and control the high-voltage domain module 8 to be turned on when the battery 5 has returned to normal.

[0060] Among them, the high-voltage domain module 8 refers to a module that requires a higher power supply voltage when working inside the vehicle, such as a sound module, a radio module, a servo motor module, a display module, etc. that need to work at more than 6V, so the number of high-voltage domain modules 8 is multiple.

[0061] The main control module 1 will obtain the first level only when the voltage of the battery 5 is too low due to the transient voltage drop of the battery 5. At this time, if the high-voltage domain module 8 continues to work, the vehicle may not be able to operate normally due to insufficient voltage of the battery 5. Therefore, the high-voltage domain module 8 is controlled to be turned off at this time, which can prevent the vehicle from freezing or failing to start due to the transient voltage drop of the battery 5, thereby ensuring the reliability and service life of the electronic components and modules inside the vehicle to the greatest extent possible, and improving the user experience.

[0062] The ADC detection module 3 can detect the voltage of the battery 5, so the main control module 1 can obtain the voltage of the battery 5 through the ADC detection module 3. The voltage of the battery 5 returns to normal means that the voltage of the battery 5 meets the voltage requirement of the battery 5 when the vehicle is working normally. For example, the rated working voltage of the battery 5 is 12V. When the voltage of the battery 5 returns to 12V, it means that the battery 5 returns to normal. At this time, the high-voltage domain module 8 is controlled to be turned on, so that the vehicle can continue to run with full functions.

[0063] Therefore, the above scheme can capture the abnormal transient voltage drop of the battery 5 in real time and accurately, so as to promptly notify the main control unit to protectively shut down the high-voltage domain module 8 that cannot work at low voltage, and re-power on and initialize after the battery 5 returns to normal, so as to restore the normal operation of the high-voltage domain module 8 in the system.

[0064] Preferably, Figure 3 and Figure 4 As shown, the power supply module 2 includes a wide power domain power supply circuit. A wide power domain power supply circuit refers to a circuit capable of wide voltage power supply. Wide voltage power supply refers to the ability of electronic equipment to work normally under a wider range of voltage inputs. Traditional electronic equipment can usually only work normally within a fixed input voltage range, while wide voltage powered equipment can still work normally under voltage inputs higher or lower than the standard voltage range. The main control module 1 is powered by the wide power domain power supply circuit, which ensures that the main control module 1 can work normally when the high-power equipment on the vehicle is working and the battery 5 is in a transient low voltage state.

[0065] In a specific embodiment, the wide power domain power supply circuit includes a wide power domain power supply chip 21, and the wide power domain power supply chip 21 is specifically TPS7B8601. According to different requirements, the wide power domain power supply chip 21 can also be selected as other wide power domain power supply chips 21, such as PN8036, TPS54160, etc., which are not specifically limited here, but are only given as examples. Figure 4 Taking the wide power domain power supply chip 21 as TPS7B8601 as an example, the VIN pin of the wide power domain power supply chip 21 is electrically connected to the battery 5, and the OUT pin of the wide power domain power supply chip 21 is connected to the power supply terminal MCU_3V3 of the main control module 1, so that the voltage of the battery 5 can be converted into the working voltage of the main control module 1, so as to power the main control module 1 so that the main control module 1 can work normally, ensuring that the main control module 1 can work normally when the high-power equipment on the vehicle is working and the battery 5 is transiently low in voltage.

[0066] In an optional embodiment of the present invention, Figure 1 , Figure 3 and Figure 5 As shown, the voltage comparison circuit 41 includes a voltage comparator U1, a first resistor R1 and a second resistor R2; the first resistor R1 and the second resistor R2 are connected in series between the battery 5 and the ground; the voltage input end of the voltage comparator U1 is electrically connected between the first resistor R1 and the second resistor R2; the output end of the voltage comparator U1 is electrically connected to the input end of the first transistor switch circuit 42, and the voltage comparator U1 is used to output a first comparison signal and a second comparison signal.

[0067] Among them. The voltage comparator U1 is a circuit for identifying and comparing input signals, and is a basic unit circuit for constituting a non-sinusoidal wave generating circuit. Commonly used voltage comparators U1 include single-limit comparators, hysteresis comparators, window comparators, and three-state voltage comparators U1. When the voltage comparator U1 is made of different chips, the reference voltage of the voltage comparator U1 is different, and the value of the reference voltage is not specifically limited here. When the reference voltage value of the voltage comparator U1 is fixed, the rated working voltage of the vehicle is different when the vehicle model is different, so the required voltage of the battery 5 will also be different, that is, the standard of instantaneous voltage drop of the battery 5 is also different. For example, the voltage of the battery 5 may be considered too low when it is lower than 5V, or it may be considered too low when it is lower than 6V, and the voltage threshold for judging whether the voltage of the battery 5 drops instantaneously may not be the same as the reference voltage. By setting the first resistor R1 and the second resistor R2, the comparison requirements of the reference voltage of the voltage comparator U1 and the voltage of the battery 5 can be met by adjusting the values ​​of the first resistor R1 and the second resistor R2, so that the voltage comparison circuit 41 outputs a first comparison signal when the voltage of the battery 5 is lower than the voltage threshold, and outputs a second comparison signal when the voltage of the battery 5 is greater than or equal to the voltage threshold. Therefore, the voltage comparison circuit 41 can be applied to different vehicles.

[0068] Based on the above embodiment, the voltage comparator U1 includes a shunt regulator, wherein the shunt regulator is designed as a DC voltage comparator U1, so that the working performance of the voltage comparator U1 can be stabilized. Preferably, the shunt regulator includes one of TL431A and TL432A, which is not specifically limited here.

[0069] In an optional embodiment of the present invention, the first transistor switch circuit 42 includes a first transistor Q1, a fourth resistor R4, a fifth resistor R5 and a sixth resistor R6; the fourth resistor R4 is electrically connected between the battery 5 and the output end of the voltage comparator U1; the fifth resistor R5 is electrically connected between the output end of the voltage comparator U1 and the base of the first transistor Q1; the sixth resistor R6 is electrically connected between the base of the first transistor Q1 and the ground; the emitter of the first transistor Q1 is electrically connected to the ground, and the collector of the first transistor Q1 is electrically connected to the transient drop detection terminal BAT_LV_nDET of the main control module 1. The first transistor Q1 is used to present a first state based on the first comparison signal and make the collector a first level, and present a second state based on the second comparison signal and make the collector a second level. The first state is one of on and off, and the second state is the other of on and off.

[0070] Among them, when the type of the first transistor Q1 is different, it will be turned on and off under different circumstances to detect whether the battery 5 has a transient low voltage, and then it can output the first level and the second level to the transient drop detection terminal BAT_LV_nDET of the main control module 1 under different circumstances, so that the main control module 1 knows whether the battery 5 has a transient low voltage.

[0071] Specifically, the first transistor Q1 is an NPN transistor, so that when the first transistor Q1 is turned on, the collector of the first transistor Q1 is at a low level, and when the first transistor Q1 is turned off, the collector of the first transistor Q1 is at a high level. When the first level is at a low level and the second level is at a high level, the first transistor Q1 is turned off when the battery 5 works normally, and at this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 presents a high level. When the voltage of the battery 5 drops, the first transistor Q1 is turned on, and at this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 will have a falling edge trigger waveform that changes from a high level to a low level, so the transient drop detection terminal BAT_LV_nDET of the main control module 1 captures the voltage transient drop of the battery 5 through the falling edge trigger. When the first level is a high level and the second level is a low level, the first transistor Q1 is turned on when the battery 5 works normally. At this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 presents a low level. When the voltage of the battery 5 drops, the first transistor Q1 is cut off. At this time, the transient drop detection terminal BAT_LV_nDET of the main control module 1 will have a rising edge trigger waveform that changes from a low level to a high level. Therefore, the transient drop detection terminal BAT_LV_nDET of the main control module 1 captures the voltage transient drop of the battery 5 through the rising edge trigger.

[0072] In a specific embodiment, the shunt regulator TL432A is used to design the voltage comparator U1. Figure 6 The internal circuit diagram of the shunt regulator TL432A is shown in Figure 1. Figure 6 As shown, the reference voltage of the shunt regulator TL432A is V ref , V ref The voltage of the output terminal Cathode of the voltage comparator U1 is 2.5V, the voltage MAX of the voltage comparator U1 is 37V, the REF accuracy of the voltage input terminal REF of the voltage comparator U1 is 1%, and it has a very small temperature drift characteristic, and the working performance is stable in the entire wide temperature range of -40℃-125℃.

[0073] When the voltage input REF of the voltage comparator U1 is less than the V refWhen the threshold is 2.5V, the output terminal Cathode of the voltage comparator U1 maintains the voltage output of the battery 5. When the voltage input terminal REF of the voltage comparator U1 has a voltage division value greater than the Vref threshold 2.5V of the TL432A, the output terminal Cathode of the voltage comparator U1 outputs a voltage of about 2V (range 1.8V-2.2V).

[0074] like Figure 5 and Figure 6 As shown, assuming that in this embodiment, the resistance of the first resistor R1 is 29.4KΩ, the resistance of the second resistor R2 is 22KΩ, the resistance of the fourth resistor R4 is 2.2KΩ, the resistance of the fifth resistor R5 is 22KΩ, and the resistance of the sixth resistor R6 is 4.7KΩ.

[0075] The low voltage threshold of the battery 5 = Vref ÷ [resistance value of the first resistor R1 ÷ (resistance value of the second resistor R2 + resistance value of the first resistor R1 )] = 2.5 ÷ [29.4 ÷ (29.4 + 22)] ≈ 5.8V.

[0076] Therefore, when the voltage of battery 5 is lower than 5.8V, V ka The voltage follows the voltage output of battery 5; when the voltage of battery 5 is higher than 5.8V, the V ka The voltage is about 2V.

[0077] Theoretical calculation of the first transistor switch circuit 42 of the rear stage: the first transistor Q1 is turned on V be The threshold is about 0.7V; when the voltage of battery 5 is lower than 5.8V, the base input voltage is greater than the voltage of battery 5*[sixth resistor R6÷(sixth resistor R6+fifth resistor R5+fourth resistor R4)]>5.8*[4.7÷(4.7+22+2.2)]≈0.94V. 0.94V>0.7V (the first transistor Q1 is turned on V be threshold).

[0078] When the voltage of battery 5 is higher than 5.8V, the base input voltage of the first transistor Q1 = V ka *[sixth resistor R6÷(sixth resistor R6+fifth resistor R5)]=2*[4.7÷(4.7+22)]≈0.35V, 0.35V<0.7V (transistor conduction V be threshold).

[0079] Therefore, when the voltage of the battery 5 is lower than 5.8V, the first transistor Q1 is stably turned on. At this time, the collector and emitter of the first transistor Q1 are turned on, so the transient drop detection terminal BAT_LV_nDET of the main control module 1 is at a low level. Therefore, when the voltage of the battery 5 drops from a power supply higher than 5.8V to a voltage lower than 5.8V, the transient drop detection terminal BAT_LV_nDET of the main control module 1 will have a falling edge trigger waveform from high to low. Therefore, the transient drop detection terminal BAT_LV_nDET of the main control module 1 captures the transient drop of the battery 5 through the falling edge trigger.

[0080] In an optional embodiment of the present invention, Figure 3 and Figure 7 As shown, the vehicle includes an ACC device, and the voltage detection system also includes a voltage input control module 6 and an ACC monitoring module 7. The ACC device refers to the ignition switch of the vehicle. When the ignition switch of the vehicle is turned to the ACC position, the vehicle is in a fully powered state, and the owner can use the cooling and heating effects of the car air conditioner and the audio system in the multimedia system, so when the ACC device is not in the ignition state, that is, in the off state, it means that the vehicle is parked and turned off, and whether the vehicle is in the off state can be judged according to the state of the ignition switch.

[0081] The input end of the ACC monitoring module 7 is electrically connected to the output end ACC of the ACC device, and the output end of the ACC monitoring module 7 is electrically connected to the ACC detection end ACC_nDET of the main control module 1. The ACC monitoring module 7 is used to monitor the state of the ACC device and output a flameout signal when the state of the ACC device is a flameout state. The ACC monitoring module 7 refers to a module that can monitor the state of the ACC device, and the flameout signal refers to an electrical signal indicating that the vehicle is parked and flameouted.

[0082] The voltage input control module 6 is electrically connected between the voltage input terminal of the voltage comparison circuit 41 and the battery 5, the control terminal BAT_MON_EN of the main control module 1 is electrically connected to the input terminal of the voltage input control module 6, the main control module 1 is used to output a first control signal when a shutdown signal is obtained, and the voltage input control module 6 is used to control the voltage input terminal of the voltage comparison circuit 41 to be disconnected from the battery 5 based on the first control signal.

[0083] Among them, the voltage input control module 6 refers to a module that can control the voltage input end of the voltage comparison circuit 41 to be disconnected and electrically connected with the battery 5. Since the transient drop detection module 4 obtains electrical energy through the electrical connection between the voltage comparison circuit 41 and the battery 5 to realize its own function, the voltage input control module 6 can control the function of the transient drop detection module 4 to be turned on and off, thereby reducing the static power consumption of the transient drop detection module 4 when the vehicle is parked and the engine is turned off.

[0084] Preferably, the voltage input control module 6 is further used to control the ADC detection module 3 to be disconnected from the battery 5 based on the first control signal.

[0085] When the vehicle is turned off and needs to be parked for a long time, the transient drop detection module 4 and the ADC detection module 3 are directly connected to the battery 5, which will increase the static standby current of the vehicle-mounted electronic equipment. Long-term parking will reduce the battery life of the vehicle body battery 5 due to the increase in static standby current. By adding the voltage input control module 6, the problem of the battery 5 of a long-parked vehicle running low and being unable to successfully ignite and start the engine is avoided. Therefore, this solution can disconnect the transient drop detection module 4 and the ADC detection module 3 from the battery 5 when the vehicle is turned off and needs to be parked for a long time, and will not increase the static standby current of the vehicle's electronic equipment, thereby avoiding the situation where the static current increases and the vehicle cannot successfully ignite and start the engine after being parked for a long time.

[0086] Based on the above embodiments, Figure 3 and Figure 5 As shown, the voltage input control module 6 includes a second triode switch circuit 61, the input end of the second triode switch circuit 61 is electrically connected to the control end BAT_MON_EN of the main control module 1; the first output end of the second triode switch circuit 61 is electrically connected to the battery 5, the second output end of the second triode switch circuit 61 is electrically connected to the voltage input end of the voltage comparison circuit 41, and the first output end and the second output end of the second triode switch circuit 61 are used to disconnect based on the first control signal.

[0087] Among them, the first output end and the second output end of the second transistor switch circuit 61 can be disconnected based on the first control signal. At this time, the voltage input end of the voltage comparison circuit 41 and the battery 5 are disconnected, thereby reducing the static power consumption of the transient drop detection module 4 when the vehicle is parked and the engine is turned off.

[0088] Exemplarily, the second triode switch circuit 61 includes a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, a second triode Q2 and a third triode Q3; the seventh resistor R7 is electrically connected between the control terminal BAT_MON_EN of the main control module 1 and the base of the second triode Q2; the eighth resistor R8 is electrically connected between the base of the second triode Q2 and the ground; the ninth resistor R9 and the tenth resistor R10 are connected in series between the collector of the second triode Q2 and the battery 5; the emitter of the second triode Q2 is electrically connected to the ground; the base of the third triode Q3 is electrically connected between the ninth resistor R9 and the tenth resistor R10, the emitter of the third triode Q3 is electrically connected to the battery 5, the collector of the third triode Q3 is electrically connected to the voltage input terminal of the voltage comparison circuit 41, and the third triode Q3 is used to be cut off based on the first control signal.

[0089] Among them, the emitter of the third triode Q3 is the first output end of the second triode switch circuit 61, and the collector of the third triode Q3 is the second output end of the second triode switch circuit 61. When the third triode Q3 is turned off, the collector and emitter of the third triode Q3 are disconnected, so that the voltage input end of the voltage comparison circuit 41 and the battery 5 are disconnected. When the third triode Q3 is turned on, the collector and emitter of the third triode Q3 are turned on, so that the voltage input end of the voltage comparison circuit 41 and the battery 5 are electrically connected, and the state of the third triode Q3 will be affected by the second triode Q2, so by controlling the states of the second triode Q2 and the third triode Q3, the voltage input end of the voltage comparison circuit 41 and the battery 5 are disconnected or electrically connected.

[0090] Preferably, when the transistor types of the second transistor Q2 and the third transistor Q3 are different and the signal types of the first control signal are different, the second transistor Q2 and the third transistor Q3 will be turned on and off in different states, so that the third transistor Q3 is turned off when the first control signal is received to disconnect the voltage input terminal of the voltage comparison circuit 41 from the battery 5. For example, in a specific embodiment, the second transistor Q2 is an NPN transistor and the third transistor Q3 is a PNP transistor, and the first control signal is a low level, so when the main control module 1 sends the first control signal, that is, when the main control module 1 sends a low level, the second transistor Q2 is turned off, and at this time the third transistor Q3 is also turned off, so that the collector and emitter of the third transistor Q3 are disconnected, so that the voltage input terminal of the voltage comparison circuit 41 and the battery 5 are disconnected.

[0091] When the control terminal BAT_MON_EN of the main control module 1 sends a high level, the second transistor Q2 is turned on, and then the third transistor Q3 is turned on, so that the collector and emitter of the third transistor Q3 are turned on, and then the voltage input terminal of the voltage comparison circuit 41 is electrically connected to the battery 5.

[0092] Therefore, the control terminal BAT_MON_EN of the main control module 1 sends different signals, so that the voltage input control module 6 can control the voltage input of the battery 5 to the transient drop detection module 4 or control the battery 5 to be disconnected from the transient drop detection module 4.

[0093] In an optional embodiment of the present invention, Figure 3 and Figure 8As shown, the ACC monitoring module 7 includes a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a first capacitor C1, a second capacitor C2 and a fourth transistor Q4, the thirteenth resistor R13 and the fourteenth resistor R14 are connected in series between the output end of the ACC device and the base of the fourth transistor Q4, the first capacitor C1 is electrically connected between the output end of the ACC device and the ground, one end of the fifteenth resistor R15 is electrically connected to the connection point of the thirteenth resistor R13 and the fourteenth resistor R14, the other end of the fifteenth resistor R15 is electrically connected to the ground, the sixteenth resistor R16 is electrically connected between the power supply end MCU_3V3 of the main control module 1 and the collector of the fourth transistor Q4, the second capacitor C2 is electrically connected between the base of the fourth transistor Q4 and the ground, the emitter of the fourth transistor Q4 is electrically connected to the ground, the collector of the fourth transistor Q4 is electrically connected to the ACC detection end ACC_nDET of the main control module 1, and the fourth transistor Q4 is an NPN transistor.

[0094] In an optional embodiment of the present invention, Figure 3 and Figure 5 As shown, the ADC detection module 3 includes a voltage divider circuit 31, which includes an eleventh resistor R11 and a twelfth resistor R12. The eleventh resistor R11 is electrically connected between the collector of the third transistor Q3 and the ADC detection terminal BAT12_V_DET of the main control module 1; the twelfth resistor R12 is electrically connected between the ADC detection terminal BAT12_V_DET of the main control module 1 and the ground.

[0095] Among them, since the ADC detection module 3 uses the voltage-dividing characteristics of the resistor to form a voltage-dividing circuit 31, it can divide the voltage input by the vehicle battery 5, so that when the battery 5 is working normally, the voltage of the battery 5 can be divided to the working voltage of the main control module 1, ensuring that the voltage value input to the main control module 1 is within the input voltage range allowed by the ADC detection terminal BAT12_V_DET of the main control module 1, thereby avoiding electrical damage to the ADC detection terminal BAT12_V_DET of the main control module 1.

[0096] For example, in a specific embodiment, the main control module 1 is an MCU, and the ADC detection terminal BAT12_V_DET of the main control module 1 is the ADC pin of the MCU. The allowable voltage of the ADC pin is 3.3V. The resistance values ​​of the eleventh resistor R11 and the twelfth resistor R12 are 120KΩ and 15KΩ respectively. Because the output voltage range of the vehicle battery 5 in the ignition or load dumping state will reach 9-16V, the voltage divider circuit 31 can divide the voltage of the battery 5 output to the MCU for ADC detection from 9-16V to within 3.3V, ensuring that it is within the allowable input voltage range of the ADC pin of the MCU.

[0097] In addition, since the eleventh resistor R11 is electrically connected between the collector of the third transistor Q3 and the ADC detection terminal BAT12_V_DET of the main control module 1, and the emitter of the third transistor Q3 is electrically connected to the battery 5, when the third transistor Q3 is turned off, the battery 5 will be disconnected from the ADC detection module 3. Therefore, this solution can disconnect the transient drop detection module 4 and the ADC detection module 3 from the battery 5 when the vehicle is turned off and needs to be parked for a long time, and will not increase the static standby current of the electronic equipment of the vehicle, thereby avoiding the situation where the static current increases and the vehicle parked for a long time cannot successfully ignite and start the engine.

[0098] The reliability of this solution is demonstrated by a specific embodiment. In this embodiment, the main control module 1 adopts the FS32K146UAT0VLQT chip, and the ADC detection terminal BAT12_V_DET of the main control module 1 is the ADC port of the FS32K146UAT0VLQT chip. The ADC input detection range of the ADC port is 0-3.3V, and the ADC sampling depth is 12bit. The resistance values ​​of the eleventh resistor R11 and the twelfth resistor R12 are 120KΩ and 15KΩ respectively.

[0099] The voltage dividing ratio calculation formula of the voltage dividing circuit 31 is: voltage dividing ratio=resistance value of the twelfth resistor R12 ÷(resistance value of the eleventh resistor R11 + resistance value of the twelfth resistor R12); it can be obtained that the voltage dividing ratio of the voltage dividing circuit 31 of this solution=1:9.

[0100] When the low voltage is 9V, the ADC port voltage of the main control module 1 = 9*(1÷9) = 1V < 3.3V, which meets the ADC input detection range of the ADC port; when the high voltage is 16V, the ADC port voltage = 16*(1÷9)≈1.8V < 3.3V, which meets the ADC input detection range of the ADC port.

[0101] ADC sampling progress demonstration of the main control module 1: The sampling depth of the main control module 1 in the present invention is 12 bits, and the ADC sampling code polling time is 100ms. Theoretical calculation of sampling accuracy: sampling accuracy Δ = power supply voltage V*(1÷total number of steps), conditions: power supply voltage = 3.3V, total number of steps = 2 sampling depth. It can be obtained that the sampling accuracy of this solution is Δ = 3.3*(1÷212) = 0.0008V.

[0102] Therefore, in the case of high and low voltage input, the voltage difference of ADC port = 1.8V-1V = 0.8V. Step number = ADC port voltage difference ÷ sampling accuracy Δ = 0.8 ÷ 0.0008 = 1000.

[0103] The ADC interface of the main control module 1 determines the voltage by multiplying the sampling step number of the corresponding input voltage by the sampling accuracy value Δ. The larger the difference in the sampling step number of the two voltage values, the larger the difference between the two voltages, and the easier it is for the main control module 1 to accurately identify them. The difference of 1000 steps can also be very reliable for the ADC sampling difference recognition of the main control by the software code, indicating that the reliability of this solution is good.

[0104] In summary, the present invention can avoid the need for all modules inside the entire electronic device to use wide power domain devices to ensure the stability and reliability of the entire electronic device system. Only the wide power domain power supply chip 21 needs to be used on the main control module 1, which greatly reduces the material cost of the product. It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially, or in different orders. As long as the desired results of the technical solution of the present invention can be achieved, this document does not limit it here.

[0105] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A voltage detection system for a vehicle, the vehicle comprising a battery, characterized in that: The voltage detection system includes a main control module, a power supply module, an ADC detection module and a transient drop detection module; The input end of the power supply module is electrically connected to the battery, the output end of the power supply module is electrically connected to the power supply end of the main control module, and the power supply module is used to convert the voltage of the battery into the working voltage of the main control module; The input end of the ADC detection module is electrically connected to the battery, the output end of the ADC detection module is electrically connected to the ADC detection end of the main control module, and the ADC detection module is used to detect the battery voltage; The transient drop detection module includes a voltage comparison circuit and a first triode switch circuit, wherein the voltage input terminal of the voltage comparison circuit is electrically connected to the battery, and the voltage comparison circuit is used to compare the input voltage of the voltage input terminal with a reference voltage, and output a first comparison signal when the input voltage is less than the reference voltage, and output a second comparison signal when the input voltage is greater than or equal to the reference voltage; The input end of the first triode switch circuit is electrically connected to the output end of the voltage comparison circuit, and the output end of the first triode switch circuit is electrically connected to the transient drop detection end of the main control module. The first triode switch circuit is used to output a first level when the first comparison signal is obtained, and the first triode switch circuit is used to output a second level when the second comparison signal is obtained, the first level is one of a high level and a low level, and the second level is the other of a high level and a low level.

2. The voltage detection system according to claim 1, characterized in that: The voltage comparison circuit includes a voltage comparator, a first resistor and a second resistor; The first resistor and the second resistor are connected in series between the battery and the ground; The voltage input terminal of the voltage comparator is electrically connected between the first resistor and the second resistor; The output end of the voltage comparator is electrically connected to the input end of the first transistor switch circuit, and the voltage comparator is used to output the first comparison signal and the second comparison signal.

3. The voltage detection system according to claim 2, characterized in that: The voltage comparator includes a shunt regulator.

4. The voltage detection system according to claim 2, characterized in that: The first transistor switch circuit includes a first transistor, a fourth resistor, a fifth resistor and a sixth resistor; The fourth resistor is electrically connected between the battery and the output terminal of the voltage comparator; The fifth resistor is electrically connected between the output terminal of the voltage comparator and the base of the first transistor; The sixth resistor is electrically connected between the base of the first transistor and the ground; The emitter of the first transistor is electrically connected to the ground, the collector of the first transistor is electrically connected to the transient drop detection terminal of the main control module, the first transistor is used to present a first state based on the first comparison signal and make the collector the first level, and present a second state based on the second comparison signal and make the collector the second level, the first state is one of on and off, and the second state is the other of on and off.

5. The voltage detection system according to any one of claims 1 to 4, characterized in that: The vehicle includes an ACC device, and the voltage detection system also includes a voltage input control module and an ACC monitoring module; The input end of the ACC monitoring module is electrically connected to the ACC device, and the output end of the ACC monitoring module is electrically connected to the ACC detection end of the main control module. The ACC monitoring module is used to monitor the state of the ACC device and output a flameout signal when the state of the ACC device is a flameout state; The voltage input control module is electrically connected between the voltage input end of the voltage comparison circuit and the battery, the control end of the main control module is electrically connected to the input end of the voltage input control module, the main control module is used to output a first control signal when an ignition shutdown signal is obtained, and the voltage input control module is used to control the voltage input end of the voltage comparison circuit to be disconnected from the battery based on the first control signal.

6. The voltage detection system according to claim 5, characterized in that: The voltage input control module comprises a second triode switch circuit, the input end of the second triode switch circuit is electrically connected to the control end of the main control module; The first output end of the second transistor switch circuit is electrically connected to the battery, the second output end of the second transistor switch circuit is electrically connected to the voltage input end of the voltage comparison circuit, and the first output end and the second output end of the second transistor switch circuit are used to be disconnected based on the first control signal.

7. The voltage detection system according to claim 6, characterized in that: The second triode switch circuit includes a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a second triode and a third triode; The seventh resistor is electrically connected between the control terminal of the main control module and the base of the second transistor; The eighth resistor is electrically connected between the base of the second transistor and the ground; The ninth resistor and the tenth resistor are connected in series between the collector of the second transistor and the battery; The emitter of the second transistor is electrically connected to the ground; The base of the third transistor is electrically connected between the ninth resistor and the tenth resistor, the emitter of the third transistor is electrically connected to the battery, the collector of the third transistor is electrically connected to the voltage input terminal of the voltage comparison circuit, and the third transistor is used to be cut off based on the first control signal.

8. The voltage detection system according to claim 7, characterized in that: The ADC detection module includes a voltage divider circuit, the voltage divider circuit includes an eleventh resistor and a twelfth resistor, and the eleventh resistor is electrically connected between the collector of the third triode and the ADC detection end of the main control module; The twelfth resistor is electrically connected between the ADC detection terminal of the main control module and the ground.

9. The voltage detection system according to any one of claims 1 to 4, characterized in that: The power supply module includes a wide power domain power supply circuit.

10. The voltage detection system according to any one of claims 1 to 4, characterized in that: The vehicle further comprises a high-voltage domain module, and the high-voltage control terminal of the main control module is electrically connected to the high-voltage domain module; The main control module is used for controlling the high voltage domain module to be turned off when the first electrical level is acquired; The main control module is further used to obtain the battery voltage, determine whether the battery has returned to normal based on the battery voltage, and control the high-voltage domain module to turn on when the battery has returned to normal.