A gas controller backup battery charging detection device and detection method

By combining a charger circuit, an analog battery circuit, a charging current monitoring circuit, and a microcontroller circuit, the problem of misdiagnosis in backup battery access detection in gas controllers is solved, realizing automated and accurate battery charging detection, which is suitable for explosion-proof environments.

CN119906136BActive Publication Date: 2025-10-24SHEN ZHEN ERANNTEX ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510376750.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-10-24
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

Existing gas controllers cannot accurately distinguish the voltage source when detecting whether a backup lead-acid battery is connected to the charging circuit, leading to misdiagnosis, easy damage to the battery, and unsuitability for explosion-proof applications.

Method used

It employs a combination of charger circuit, analog battery circuit, charging current monitoring circuit, charging voltage monitoring circuit, and microcontroller circuit to automatically determine whether the backup battery is in the charging circuit by monitoring whether the current and voltage values ​​are within the preset range.

Benefits of technology

It enables accurate detection of backup batteries without frequent switching of the charger, avoiding misdiagnosis, protecting the battery, and is suitable for explosion-proof environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906136B_ABST
    Figure CN119906136B_ABST
Patent Text Reader

Abstract

The application discloses a gas controller backup battery charging detection device and a detection method, and relates to the technical field of charging detection. In the device, a charger circuit is used for charging the backup battery and detecting whether the backup battery is in a charging loop; an analog battery circuit is used for switching between analog battery circuit charging and backup battery charging; the analog battery circuit is also used for monitoring whether the charging current of the analog battery circuit is within a normal range; a charging current monitoring circuit is used for monitoring the current value of the charging loop between the backup battery and the charger circuit, and sending the current value to a microcontroller circuit; and a charging voltage monitoring circuit is used for monitoring the voltage value of the charging loop between the backup battery and the charger circuit, and sending the voltage value to the microcontroller circuit. The application realizes backup battery charging detection of the gas controller through the joint action of multiple circuits and reasonable circuit control, and frequent switching of the charger for detection is not needed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the technical field of charge detection, in particular to a gas controller backup battery charge detection device and a detection method. BACKGROUND

[0002] When the existing gas controller monitors the charger of the backup lead-acid battery, the entire charging circuit has voltage when the backup lead-acid battery is connected, but it cannot be distinguished whether the voltage is from the battery or the charger circuit. Therefore, in order to distinguish, the external output voltage of the charger needs to be turned off. At this time, if there is still voltage, it means that the backup lead-acid battery is connected to the circuit, and if there is no voltage, it means that the backup lead-acid battery is not connected to the circuit. In order to achieve real-time monitoring of whether the battery is connected, this process needs to be continuously cycled and switched once within a few seconds.

[0003] However, this method of detecting whether the backup lead-acid battery is connected to the controller by constantly turning on and off the charger may cause misdiagnosis, easily damage the lead-acid battery, and easily generate sparks when the relay is turned on and off instantaneously, which is not suitable for explosion-proof occasions. SUMMARY

[0004] The application aims to provide a gas controller backup battery charge detection device and a detection method, which can realize automatic charge detection of the backup battery without frequently turning on and off the charger.

[0005] To achieve the above-mentioned purpose, the application provides the following solutions:

[0006] In a first aspect, the application provides a gas controller backup battery charge detection device, which comprises a charger circuit, an analog battery circuit, a charging current monitoring circuit, a charging voltage monitoring circuit and a microcontroller circuit.

[0007] The charger circuit is used for charging the backup battery and detecting whether the backup battery is in the charging circuit.

[0008] The charger circuit comprises a charging management chip U16 for charging control.

[0009] The analog battery circuit is connected with the charger circuit.

[0010] The analog battery circuit comprises:

[0011] A relay K6 is used for switching between the analog battery circuit charging and the backup battery charging.

[0012] A current monitoring chip U2 is used for monitoring whether the charging current of the analog battery circuit is within a normal range.

[0013] The charging current monitoring circuit is connected with the charger circuit.

[0014] The charging current monitoring circuit comprises:

[0015] A current monitoring chip U8 is configured to monitor a current value of a charging loop between the backup battery and the charger circuit, and send the current value to the microcontroller circuit.

[0016] The charging voltage monitoring circuit is connected with the charger circuit, and is configured to monitor a voltage value of the charging loop between the backup battery and the charger circuit, and send the voltage value to the microcontroller circuit.

[0017] The microcontroller circuit is configured to determine whether the current value and the voltage value are within a preset range.

[0018] The charger circuit is controlled to detect whether the backup battery is in the charging loop.

[0019] In a second aspect, the application provides a gas controller backup battery charging detection method of the gas controller backup battery charging detection device.

[0020] The charger circuit is controlled to charge the analog battery circuit.

[0021] It is detected whether the charging current of the analog battery circuit is within a normal range.

[0022] When the charging current of the analog battery circuit is within the normal range, the charger circuit is controlled to charge the backup battery.

[0023] It is detected whether the current value and the voltage value of the charging loop between the backup battery and the charger circuit are within a preset range.

[0024] The external output of the charger circuit is turned off, and it is determined whether the backup battery is connected to the gas controller according to the charging voltage of the charger circuit.

[0025] According to the specific embodiments provided by the application, the following technical effects are disclosed:

[0026] The application provides a gas controller backup battery charging detection device and a detection method, which comprises a charger circuit, an analog battery circuit, a charging current monitoring circuit, a charging voltage monitoring circuit and a microcontroller circuit; the charger circuit is used for charging the backup battery and detecting whether the backup battery is in a charging loop; the charger circuit comprises a charging management chip U16 used for charging control; the analog battery circuit is connected with the charger circuit; the analog battery circuit comprises a relay K6 used for switching the charging of the analog battery circuit and the charging of the backup battery, and a current monitoring chip U2 used for monitoring whether the charging current of the analog battery circuit is within a normal range; the charging current monitoring circuit is connected with the charger circuit; the charging current monitoring circuit comprises a current monitoring chip U8 used for monitoring the current value of the charging loop between the backup battery and the charger circuit and sending the current value to the microcontroller circuit; the charging voltage monitoring circuit is connected with the charger circuit; the charging voltage monitoring circuit is used for monitoring the voltage value of the charging loop between the backup battery and the charger circuit and sending the voltage value to the microcontroller circuit; and the microcontroller circuit is used for judging whether the current value and the voltage value are within a preset range and controlling the charger circuit to detect whether the backup battery is in the charging loop. The application realizes the backup battery charging detection of the gas controller through the joint action of multiple circuits and reasonable circuit control, and does not need to frequently switch the charger for detection. BRIEF DESCRIPTION OF DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0028] Figure 1 A block diagram of a gas controller backup battery charging detection device provided by an embodiment of the present application;

[0029] Figure 2 A microcontroller circuit structure schematic diagram provided by an embodiment of the present application;

[0030] Figure 3 A charger circuit structure schematic diagram provided by an embodiment of the present application;

[0031] Figure 4 An analog battery circuit structure schematic diagram provided by an embodiment of the present application;

[0032] Figure 5 A charging current monitoring circuit structure schematic diagram provided by an embodiment of the present application;

[0033] Figure 6 A charging voltage monitoring circuit structure schematic diagram provided for an embodiment of the present application;

[0034] Figure 7 A gas controller backup battery charging detection method flowchart provided for an embodiment of the present application. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0036] The purpose of the present application is to provide a gas controller backup battery charging detection device and detection method, which can realize automatic charging detection of the backup battery without frequently turning on and off the charger.

[0037] The above purposes, features and advantages of the present application can be more obvious and easy to understand. The present application will be described in further detail below with reference to the drawings and specific embodiments.

[0038] In an exemplary embodiment, as shown in Figure 1 A gas controller backup battery charging detection device is provided, which comprises a charging power supply, a charger circuit, an analog battery circuit, a charging current monitoring circuit, a charging voltage monitoring circuit, a microcontroller circuit and a backup battery. The backup battery in the embodiment is a backup lead-acid battery.

[0039] The charging power supply is used to provide power for the charger circuit, and is connected to the circuit through J19 (J19 is a power supply seat, which is connected to a direct current 24V to work on the circuit).

[0040] The charger circuit is used to charge the backup battery and detect whether the backup battery is in the charging loop.

[0041] The charger circuit comprises a charging management chip U16, which is a CN3768 type and is used for charging control.

[0042] The analog battery circuit is connected with the charger circuit.

[0043] The analog battery circuit comprises:

[0044] A relay K6 is used to switch the charging of the analog battery circuit and the charging of the backup battery.

[0045] A current monitoring chip U2 is used to monitor whether the charging current of the analog battery circuit is within a normal range.

[0046] The charging current monitoring circuit is connected with the charger circuit;

[0047] The charging current monitoring circuit comprises:

[0048] The current monitoring chip U8 is used for monitoring the current value of the charging loop between the standby battery and the charger circuit, and sending the current value to the microcontroller circuit;

[0049] The charging voltage monitoring circuit is connected with the charger circuit; the charging voltage monitoring circuit is used for monitoring the voltage value of the charging loop between the standby battery and the charger circuit, and sending the voltage value to the microcontroller circuit;

[0050] The microcontroller circuit is used for judging whether the current value and the voltage value are within a preset range;

[0051] The charger circuit is controlled to detect whether the standby battery is in the charging loop.

[0052] Specifically, the microcontroller circuit is used for detecting the charging circuit, detecting the charging loop between the standby battery and the charger circuit, and detecting whether the standby battery is connected to the gas controller, comprising: a resistor R82, a capacitor C38, a capacitor C30, a capacitor C37, a capacitor C1, a resistor R72, a capacitor C29, a microcontroller chip U13, as shown in Figure 2 .

[0053] Wherein, one end of the resistor R82 is connected with the power supply, and the other end of the resistor R82 is connected with the twenty-third common terminal; one end of the capacitor C38 is grounded, and the other end of the capacitor C38 is connected with the twenty-third common terminal; the sixth port of the microcontroller chip U13 is connected with the twenty-third common terminal; one end of the capacitor C30 and the capacitor C37 is connected with the first port of the microcontroller chip U13, and the other end of the capacitor C30 and the capacitor C37 is grounded; one end of the capacitor C1 is connected with the seventh port of the microcontroller chip U13, and the other end of the capacitor C1 is grounded, and the seventh port of the microcontroller chip U13 is also connected with the 3.3V power supply; one end of the capacitor resistor R72 is connected with the thirty-first port of the microcontroller chip U13, and the other end of the capacitor resistor R72 is grounded, and the thirty-first port of the microcontroller chip U13 is also connected with the BOOT0; one end of the capacitor C29 is grounded, and the other end of the capacitor C29 is connected with the seventeenth port of the microcontroller chip U13 and the 3.3V power supply at the same time.

[0054] The microcontroller chip U13 is used for controlling the normal work of the whole circuit, receiving signals from other circuits, and outputting control signals to other circuits.

[0055] The resistor R82, capacitor C38, for ensuring the microcontroller chip U13 power reset work.

[0056] The charger circuit includes transient suppression tube D47, resistor R39, capacitor E2, capacitor C5, capacitor C6, capacitor C10, light emitting diode D35, capacitor C9, resistor R20, charge management chip U16, PMOS tube U1, model IRF7416, diode D46, diode D45, resistor R40, capacitor C23, inductor L10, resistor R63, capacitor E3, capacitor C24, resistor R54, resistor R55, resistor R46, resistor R48, triode Q7, PMOS tube U5, model IRF7416, resistor R41, transient suppression tube D48, capacitor C8, voltage stabilizing chip U9, resistor R43, resistor R57, capacitor C27, resistor R64, diode D50, resistor R62, resistor R58, resistor R59, triode Q9, resistor R61, resistor R60, triode Q8 and PMOS tube U10, model IRF7416, please refer to Figure 3 .

[0057] The positive electrode of the transient suppression tube D47 is grounded, and the negative electrode of the transient suppression tube D47 is connected with the first common end; one end of the resistor R39 is connected with the first common end, and the other end of the resistor R39 is connected with the third port of the charge management chip U16 through the light emitting diode D35; one end of the capacitor E2, the capacitor C5 and the capacitor C6 is connected with the first common end, and the other end of the capacitor E2, the capacitor C5 and the capacitor C6 (wherein, E2, E3 are aluminum electrolytic capacitors) is grounded; one end of the capacitor C10 is connected with the first common end, and the other end of the capacitor C10 is connected with the first port of the charge management chip U16; the first port, the second port and the third port of the PMOS tube U1 are connected with the first common end, the fourth port of the PMOS tube U1 is connected with the eighth port of the charge management chip U16, and the fifth port, the sixth port, the seventh port and the eighth port of the PMOS tube U1 are connected with the negative electrode of the diode D46; the positive electrode of the diode D46 is connected with the second common end; the positive electrode of the diode D45 is grounded, and the negative electrode of the diode D45 is connected with the second common end; one end of the resistor R40 is connected with the second common end, and the other end of the resistor R40 is grounded through the capacitor C23; one end of the inductor L10 is connected with the second common end, and the other end of the inductor L10 is connected with the third common end; the sixth port of the charge management chip U16 is connected with the third common end; one end of the resistor R63 is connected with the third common end, and the other end of the resistor R63 is connected with the fourth common end; the fifth port of the charge management chip U16 is connected with the fourth common end; one end of the capacitor E3 and the capacitor C24 is connected with the fourth common end, and the other end of the capacitor E3 and the capacitor C24 is grounded; one end of the resistor R54 is connected with the fourth common end, and the other end of the resistor R54 is connected with the fifth common end; one end of the resistor R55 is connected with the fifth common end, and the other end of the resistor R55 is connected with the collector of the triode Q7; one end of the resistor R46 is connected with the sixth common end, and the other end of the resistor R46 is connected with the twelfth port CHAGUE ON of the microcontroller chip U13; one end of the resistor R48 is connected with the sixth common end, and the other end of the resistor R48 is grounded; the base of the triode Q7 is connected with the sixth common end, and the emitter of the triode Q7 is grounded; the first port, the second port and the third port of the PMOS tube U5 are connected with the fourth common end, the fourth port of the PMOS tube U5 is connected with the fifth common end, and the fifth port, the sixth port, the seventh port and the eighth port of the PMOS tube U5 are connected with the seventh common end; one end of the resistor R41 is grounded, and the other end of the resistor R41 is connected with the seventh common end.The positive electrode of the transient suppression tube D48 is grounded, and the negative electrode of the transient suppression tube D48 is connected with the first common terminal; one end of the capacitor C8 is grounded, and the other end of the capacitor C8 is connected with the first common terminal; the first port of the voltage stabilizing chip U9 is connected with the eighth common terminal, the second port of the voltage stabilizing chip U9 is connected with the ninth common terminal, and the third port of the voltage stabilizing chip U9 is connected with the first common terminal; one end of the resistor R43 is grounded, and the other end of the resistor R43 is connected with the eighth common terminal; one end of the resistor R57 is connected with the eighth common terminal, and the other end of the resistor R57 is connected with the ninth common terminal; one end of the capacitor C27 is connected with the ninth common terminal, and the other end of the capacitor C27 is grounded; one end of the resistor R64 is connected with the ninth common terminal, the other end of the resistor R64 is connected with the positive electrode of the diode D50, and the negative electrode of the diode D50 is connected with the tenth common terminal; one end of the resistor R62 is connected with the tenth common terminal, and the other end of the resistor R62 is connected with the eleventh common terminal; one end of the resistor R58 is connected with the twelfth port CHAGUE ON of the microcontroller chip U13, and the other end of the resistor R58 is connected with the twelfth common terminal; one end of the resistor R59 is connected with the twelfth common terminal, and the other end of the resistor R59 is grounded; the base of the transistor Q9 is connected with the twelfth common terminal, the collector of the transistor Q9 is connected with the eleventh common terminal, and the emitter of the transistor Q9 is grounded; the base of the transistor Q8 is connected with the eleventh common terminal, the collector of the transistor Q8 is connected with one end of the resistor R60, the emitter of the transistor Q8 is grounded, and the other end of the resistor R60 is connected with the thirteenth common terminal; one end of the resistor R61 is connected with the thirteenth common terminal, and the other end of the resistor R61 is connected with the tenth common terminal; the first port, the second port and the third port of the PMOS tube U10 are all connected with the tenth common terminal, the fourth port of the PMOS tube U10 is connected with the thirteenth common terminal, the fifth port, the sixth port, the seventh port and the eighth port of the PMOS tube U10 are all connected with the current monitoring chip U8; one end of the capacitor C9 is grounded, and the other end of the capacitor C9 is connected with the fourth port of the charge management chip U16 through the resistor R20;

[0058] The second port of the charge management chip U16 is grounded; and the seventh port of the charge management chip U16 is connected with the first common terminal.

[0059] The charger circuit is used for charging the backup battery, can improve the charging voltage, and detects whether the backup battery is fully charged and whether the backup battery is in the charging loop.

[0060] Charger circuit through U5 K6 output, standby battery connected to J31 (after switching, detection of normal access to the battery, so the battery is connected to the last J31).

[0061] The transient suppression tube D47, transient suppression tube D48, which acts to alleviate the charging power supply access circuit instantaneous pulse impact.

[0062] The charge management chip U16, for the standby battery to constant voltage, constant current, trickle, float charging process control.

[0063] The voltage regulator chip U9, for the standby battery to improve voltage charging, detection of standby battery whether full charge, and standby battery whether in the charging loop.

[0064] The resistor R64, for the battery charging current limiting, it is a current limiting resistor.

[0065] The PMOS tube U10, PMOS tube U5, for the switching of the voltage boost charging circuit and charge management chip charging circuit.

[0066] The charge management chip U16 has a fault, can be through the voltage regulator chip U9 on the standby battery for temporary charging.

[0067] The analog battery circuit includes: relay K6, resistor R66, resistor R65, triode Q10, resistor R70, current monitoring chip U2, transient suppression tube D2, transient suppression tube D1, resistor R68, resistor R69, operational amplifier U11, MOS tube Q11, capacitor C28, please refer to Figure 4 .

[0068] The first port of the relay K6 is connected with the charging current monitoring circuit (in this embodiment, the first port of the relay K6 is connected with the twentieth common terminal), the second port of the relay K6 is connected with the collector of the transistor Q10, the third port of the relay K6 is connected with the fifteenth common terminal, the fourth port of the relay K6 is connected with the fourteenth common terminal, the fifth port of the relay K6 is connected with the 3.3V power supply; one end of the resistor R66 is connected with the thirteenth port BAT SEL of the microcontroller chip U13, the other end of the resistor R66 is connected with the sixteenth common terminal; one end of the resistor R65 is connected with the sixteenth common terminal, the other end of the resistor R65 is grounded; the base of the transistor Q10 is connected with the sixteenth common terminal, the emitter of the transistor Q10 is grounded; one end of the resistor R70 is connected with the fifteenth common terminal, the other end of the resistor R70 is connected with the seventeenth common terminal; the third port of the current monitoring chip U2 is connected with the fifteenth common terminal, the fourth port of the current monitoring chip U2 is connected with the seventeenth common terminal; one end of the transient suppression tube D2 is connected with the fifteenth common terminal, the other end of the transient suppression tube D2 is grounded; one end of the transient suppression tube D1 is connected with the seventeenth common terminal, the other end of the transient suppression tube D1 is grounded; one end of the resistor R68 is connected with the seventeenth common terminal, the other end of the resistor R68 is connected with the nineteenth common terminal; one end of the resistor R69 is connected with the nineteenth common terminal, the other end of the resistor R69 is grounded; the first port of the operational amplifier U11 is connected with the nineteenth common terminal, the fourth port of the operational amplifier U11 is connected with the gate of the MOS tube Q11; the drain of the MOS tube Q11 is connected with the seventeenth common terminal; the fifth port of the relay K6 is connected with the 3.3V power supply; the first port of the current monitoring chip U2 is connected with the eleventh port CH4+ of the microcontroller chip U13, the second port of the current monitoring chip U2 is grounded, the fifth port of the current monitoring chip U2 is connected with the 3.3V power supply and one end of the capacitor C7, the other end of the capacitor C7 is grounded; the second port of the operational amplifier U11 is grounded, the third port of the operational amplifier U11 is connected with the fourteenth port DAC of the microcontroller chip U13, the fifth port of the operational amplifier U11 is connected with the power supply and one end of the capacitor C28, the other end of the capacitor C28 is grounded; the source of the MOS tube Q11 is grounded.

[0069] The relay K6 is used for switching the charging of the analog battery circuit and the charging of the real standby battery circuit.

[0070] The current monitoring chip U2 is used for monitoring whether the charging current of the analog battery circuit is within the normal range.

[0071] The transient suppression tube D2, the transient suppression tube D1 are used for protecting the current monitoring chip U2.

[0072] The resistor R68 and the resistor R69 are used for input voltage division by forming a voltage division circuit and inputting the operational amplifier U11.

[0073] The operational amplifier U11 is used for forming a feedback circuit to control the output of the MOS tube Q11 and dissipate current.

[0074] The charging current monitoring circuit is used for monitoring the current value of the charging loop between the standby battery and the charger and sending it to the microcontroller circuit, and comprises a resistor R56, a transient suppression tube D24, a transient suppression tube D34, a current monitoring chip U8, as shown in Figure 5

[0075] One end of the resistor R56 is connected with the seventh common terminal, and the other end of the resistor R56 is connected with the twentieth common terminal; the positive electrode of the transient suppression tube D24 is grounded, and the negative electrode of the transient suppression tube D24 is connected with the twentieth common terminal; the positive electrode of the transient suppression tube D34 is grounded, and the negative electrode of the transient suppression tube D34 is connected with the seventh common terminal; the third port of the current monitoring chip U8 is connected with the seventh common terminal, and the fourth port of the current monitoring chip U8 is connected with the twentieth common terminal; the first port of the current monitoring chip U8 is connected with the tenth port CH3+ of the microcontroller chip U13, the second port of the current monitoring chip U8 is grounded, and the fifth port of the current monitoring chip U8 is connected with the 3.3v power supply while being grounded through the capacitor C3.

[0076] The resistor R56 is used as a current sampling resistor;

[0077] The transient suppression tube D24 and the transient suppression tube D34 are used for protecting the current monitoring chip U8.

[0078] The current monitoring chip U8 is used for monitoring whether the charging current of the analog battery circuit is within a normal range.

[0079] The charging voltage monitoring circuit is used for monitoring the voltage value of the charging loop between the standby battery and the charger circuit and sending it to the microcontroller circuit, and comprises a resistor R45, a resistor R47, a resistor R21, a resistor R44, a capacitor C4, a capacitor C2 and a switch S1, as shown in Figure 6

[0080] ​​One end of the resistor R45 is connected with the fourteenth common terminal, the other end of the resistor R45 is connected with the twenty-first common terminal, the fourteenth common terminal is connected with the third port of the switch S1; one end of the resistor R47 and one end of the capacitor C4 are both connected with the twenty-first common terminal, the other end of the resistor R47 and the other end of the capacitor C4 are both grounded; the twenty-first common terminal is also connected with the eighth port CH1+ of the microcontroller chip U13; one end of the resistor R21 is connected with the second port of the switch S1, the other end of the resistor R21 is connected with the twenty-second common terminal; one end of the resistor R44 and one end of the capacitor C2 are both connected with the twenty-second common terminal, the other end of the resistor R44 and the other end of the capacitor C2 are both grounded; the twenty-second common terminal is also connected with the ninth port CH2+ of the microcontroller chip U13.

[0081] The resistor R45 and the resistor R47 are used for forming a voltage division circuit to divide the charging voltage.

[0082] The resistor R21 and the resistor R44 are used for forming a voltage division circuit to divide the charging voltage.

[0083] The capacitor C4 and the capacitor C2 are used for filtering and stabilizing the signal.

[0084] The detection of the charger circuit in the embodiment is specifically as follows: the charger circuit is controlled to charge the analog battery circuit, the monitoring current and voltage sent by the charging current monitoring circuit and the charging voltage monitoring circuit are received, and the analog charging current and the charging voltage are judged (according to experience, the voltage of point A is adjusted to be 80% of the full voltage of the standby battery by the fourteenth port DAC of the microcontroller chip U13, and is recorded as V A The analog charging current is detected through the eleventh port CH4+ of the microcontroller chip U13, and is recorded as I R70 The analog charging voltage is calculated by R70, that is, V B =V A +I R70 x R70), whether the analog charging current and the analog charging voltage reach the range of the predetermined setting value, if yes, it is determined that the charging circuit is complete, and the diagnosis is passed.

[0085] The detection of the charging loop between the standby battery and the charger circuit is specifically as follows: when the charging current and the charging voltage are in the range of the predetermined setting value, the diagnosis is passed; when the charging current and the charging voltage are not in the range of the predetermined setting value, the diagnosis is divided into two cases, that is, the charging current is not in the range of the predetermined setting value or the charging voltage is not in the range of the predetermined setting value, and the diagnosis is respectively that the charging loop is short-circuited or open-circuited.

[0086] The detection of whether the standby battery is connected to the gas controller is specifically that the external output of the charger circuit is closed, the charging voltage is monitored, and whether the charging voltage is within the predetermined set value range. If it is within the range, the diagnosis is passed. If it is not within the range, it is diagnosed that the standby battery is not connected to the problem. The external output U5 of the charger circuit is closed, and the voltage on R44 or R47 is obtained to obtain the charging voltage. This voltage is converted by the ADC of the MCU to obtain.

[0087] The components of the embodiment scheme include a microcontroller circuit and its control logic, a charger circuit, an analog battery circuit, a battery voltage detection circuit, and a charging loop current detection circuit. When the microcontroller is powered on, it performs self-detection logic to detect whether the standby lead-acid battery is connected to the gas controller, whether the standby lead-acid battery charger circuit is normal, and whether the charging loop between the standby lead-acid battery and the charger is normal. The embodiment can diagnose in real time whether the standby lead-acid battery is connected, whether the charger and charging are normal. If there is a problem, the user is reminded to check immediately, avoiding damage to the standby lead-acid battery due to long-term lack of charging. In the case where the standby lead-acid battery needs to be switched to use but cannot be used.

[0088] Based on the same inventive concept, the embodiment of the present application also provides a gas controller standby battery charging detection method according to the above-mentioned gas controller standby battery charging detection device. The implementation scheme for solving the problem provided by the method is similar to the implementation scheme described in the above method, so the specific limitations in the embodiments provided below can be referred to the limitations of the gas controller standby battery charging detection device in the above text, which will not be repeated here.

[0089] Please refer to Figure 7 , the gas controller standby battery charging detection method comprises:

[0090] S1, the microcontroller performs self-detection according to the predetermined logic.

[0091] S2, detecting the charger circuit, controlling the charger circuit to charge the analog battery, monitoring the analog charging current, and whether the charging voltage reaches the predetermined set value range. If it is reached, it is determined that the charging circuit is complete and the diagnosis is passed.

[0092] S3, detecting the charging loop between the standby battery and the charger circuit, when the charging current and the charging voltage are within the predetermined set value range, the diagnosis is passed. When it is not within the set range, it is divided into two cases of current not within the range and voltage not within the range, and the charging loop is diagnosed as short circuit problem or open circuit problem respectively.

[0093] S4, detecting whether the standby battery is connected to the gas controller, closing the external output of the charger circuit, monitoring the charging voltage, whether the charging voltage is in the range of the predetermined set value, if in the range, the diagnosis is passed. If not in the range, the diagnosis is that the standby lead-acid battery is not connected.

[0094] S5, the diagnosis process is ended, and the next real-time diagnosis is started.

[0095] The technical features of the above embodiments can be combined in any manner. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described, but as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present application.

[0096] The principles and implementation modes of the present application are described by using specific examples in the present application, and the above embodiment is only used to help understand the method and its core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed. In conclusion, the content of the present application should not be understood as a limitation.

Claims

1. A gas controller back-up battery charge detection device, characterized by, The gas controller backup battery charging detection device includes: a charger circuit, a simulation battery circuit, a charging current monitoring circuit, a charging voltage monitoring circuit and a microcontroller circuit; The charger circuit is used to charge the backup battery and detect whether the backup battery is in the charging circuit; The charger circuit includes: a charging management chip U16 for charging control; The simulated battery circuit is respectively connected to the charger circuit, the charging current monitoring circuit, the charging voltage monitoring circuit and the microcontroller circuit; The simulated battery circuit comprises: Relay K6 is used to switch between charging the analog battery circuit and charging the backup battery; The current monitoring chip U2 is used to monitor whether the charging current of the analog battery circuit is within the normal range; The charging current monitoring circuit is connected to the charger circuit, the charging voltage monitoring circuit, and the microcontroller circuit respectively; The charging current monitoring circuit includes: A current monitoring chip U8 is used to monitor the current value of the charging circuit between the backup battery and the charger circuit, and send the current value to the microcontroller circuit; The charging voltage monitoring circuit is connected to the charging current monitoring circuit, the microcontroller circuit, and the backup battery respectively; the charging voltage monitoring circuit is used to monitor the voltage value of the charging circuit between the backup battery and the charger circuit, and send the voltage value to the microcontroller circuit; The microcontroller circuit is used to: The microcontroller performs self-test at power-on according to the established logic; Detect the charger circuit, control the charger circuit to charge the simulated battery, and monitor whether the charging current and charging voltage of the simulated battery circuit are within the range of the preset setting values. If they are, it is determined that the charging circuit is intact and the diagnosis passes; The charging current and charging voltage of the charging circuit between the backup battery and the charger circuit are detected. When the charging current and charging voltage of the charging circuit between the backup battery and the charger circuit are within the preset setting value range, the diagnosis is passed. When they are not within the set range, there are two cases: current is not within the range and voltage is not within the range. When the charging current of the charging circuit between the backup battery and the charger circuit is not within the range, the diagnosis is a short circuit problem in the charging circuit; when the charging voltage of the charging circuit between the backup battery and the charger circuit is not within the range, the diagnosis is a disconnection problem in the charging circuit. To check whether the backup battery is connected to the gas controller, turn off the external output of the charger circuit and monitor whether the charging voltage is within the preset setting value range; if it is within the range, it is diagnosed that the backup battery is connected; if it is not within the range, it is diagnosed that the backup battery is not connected; The diagnosis process ends and the next real-time diagnosis begins.

2. The gas controller backup battery charge detection device of claim 1, wherein, The microcontroller circuit specifically includes: a resistor R82, a capacitor C38, a capacitor C30, a capacitor C37, a capacitor C1, a resistor R72, a capacitor C29 and a microcontroller chip U13; One end of the resistor R82 is connected to the power supply, the other end of the resistor R82 is connected with the twenty-third common end; one end of the capacitor C38 is grounded, the other end of the capacitor C38 is connected with the twenty-third common end; the sixth port of the microcontroller chip U13 is connected with the twenty-third common end; one end of the capacitor C30 and the capacitor C37 is connected with the first port of the microcontroller chip U13, the other end of the capacitor C30 and the capacitor C37 is grounded; one end of the capacitor C1 is connected with the seventh port of the microcontroller chip U13, the other end of the capacitor C1 is grounded; one end of the resistor R72 is connected with the thirty-first port of the microcontroller chip U13, the other end of the resistor R72 is grounded; one end of the capacitor C29 is grounded, the other end of the capacitor C29 is connected with the seventeenth port of the microcontroller chip U13 and the power supply; the sixth port of the microcontroller chip U13 is the RESETB pin, the first port is the VCAP pin, the seventh port is the AVCC pin, the thirty-first port is the PDO3 / MODE pin, and the seventeenth port is the DVCC pin.

3. The gas controller backup battery charge detection device of claim 2, wherein, The charger circuit further comprises: transient suppression tube D47, resistor R39, capacitor E2, capacitor C5, capacitor C6, capacitor C10, light emitting diode D35, PMOS tube U1, diode D46, diode D45, resistor R40, capacitor C23, inductor L10, resistor R63, capacitor E3, capacitor C24, resistor R54, resistor R55, resistor R46, resistor R48, triode Q7, PMOS tube U5, resistor R41, transient suppression tube D48, capacitor C8, voltage stabilizing chip U9, resistor R43, resistor R57, capacitor C27, resistor R64, diode D50, resistor R62, resistor R58, resistor R59, triode Q9, resistor R61, resistor R60, triode Q8 and PMOS tube U10; Among them, the positive electrode of the transient suppression tube D47 is grounded, and the negative electrode of the transient suppression tube D47 is connected to the first common terminal; one end of the resistor R39 is connected to the first common terminal, and the other end of the resistor R39 is connected to the third port of the charging management chip U16 through the light-emitting diode D35; one end of the capacitor E2, the capacitor C5 and the capacitor C6 are all connected to the first common terminal, and the other ends of the capacitor E2, the capacitor C5 and the capacitor C6 are all grounded; one end of the capacitor C10 is connected to the first common terminal, and the other end of the capacitor C10 is connected to the first port of the charging management chip U16; the first port, the second port and the third port of the PMOS tube U1 are all connected to the first common terminal, The fourth port of the PMOS tube U1 is connected to the eighth port of the charging management chip U16, and the fifth port, sixth port, seventh port and eighth port of the PMOS tube U1 are all connected to the cathode of the diode D46; the anode of the diode D46 is connected to the second common terminal; the anode of the diode D45 is grounded, and the cathode of the diode D45 is connected to the second common terminal; one end of the resistor R40 is connected to the second common terminal, and the other end of the resistor R40 is grounded through the capacitor C23; one end of the inductor L10 is connected to the second common terminal, and the other end of the inductor L10 is connected to the third common terminal; the sixth port of the charging management chip U16 is connected to the third common terminal; One end of the resistor R63 is connected to the third common terminal, and the other end of the resistor R63 is connected to the fourth common terminal; the fifth port of the charging management chip U16 is connected to the fourth common terminal; one end of the capacitor E3 and the capacitor C24 are both connected to the fourth common terminal, and the other ends of the capacitor E3 and the capacitor C24 are both grounded; one end of the resistor R54 is connected to the fourth common terminal, and the other end of the resistor R54 is connected to the fifth common terminal; one end of the resistor R55 is connected to the fifth common terminal, and the other end of the resistor R55 is connected to the collector of the transistor Q7; one end of the resistor R46 is connected to the sixth common terminal, and the other end of the resistor R46 is connected to the collector of the microcontroller chip U13 a twelfth port; one end of the resistor R48 is connected to the sixth common terminal, and the other end of the resistor R48 is grounded; the base of the transistor Q7 is connected to the sixth common terminal, and the emitter of the transistor Q7 is grounded; the first port, the second port, and the third port of the PMOS transistor U5 are connected to the fourth common terminal, the fourth port of the PMOS transistor U5 is connected to the fifth common terminal, and the fifth port, the sixth port, the seventh port, and the eighth port of the PMOS transistor U5 are connected to the seventh common terminal; one end of the resistor R41 is grounded, and the other end of the resistor R41 is connected to the seventh common terminal; the positive electrode of the transient suppression transistor D48 is grounded, and the negative electrode of the transient suppression transistor D48 is connected to the first common terminal;One end of the capacitor C8 is grounded, the other end of the capacitor C8 is connected with the first common end; the first port of the voltage stabilizing chip U9 is connected with the eighth common end, the second port of the voltage stabilizing chip U9 is connected with the ninth common end, the third port of the voltage stabilizing chip U9 is connected with the first common end; one end of the resistor R43 is grounded, the other end of the resistor R43 is connected with the eighth common end; one end of the resistor R57 is connected with the eighth common end, the other end of the resistor R57 is connected with the ninth common end; one end of the capacitor C27 is connected with the ninth common end, the other end of the capacitor C27 is grounded; one end of the resistor R64 is connected with the ninth common end, the other end of the resistor R64 is connected with the anode of the diode D50, the cathode of the diode D50 is connected with the tenth common end; one end of the resistor R62 is connected with the tenth common end, the other end of the resistor R62 is connected with the eleventh common end; one end of the resistor R58 is connected with the twelfth port of the microcontroller chip U13; the other end of the resistor R58 is connected with the twelfth common end; one end of the resistor R59 is connected with the twelfth common end, the other end of the resistor R59 is grounded; the base of the transistor Q9 is connected with the twelfth common end, the collector of the transistor Q9 is connected with the eleventh common end, the emitter of the transistor Q9 is grounded; the base of the transistor Q8 is connected with the eleventh common end, the collector of the transistor Q8 is connected with one end of the resistor R60, the emitter of the transistor Q8 is grounded, the other end of the resistor R60 is connected with the thirteenth common end; one end of the resistor R61 is connected with the thirteenth common end, the other end of the resistor R61 is connected with the tenth common end; the first port, the second port and the third port of the PMOS tube U10 are all connected with the tenth common end, the fourth port of the PMOS tube U10 is connected with the thirteenth common end, the fifth port, the sixth port, the seventh port and the eighth port of the PMOS tube U10 are all connected with the current monitoring chip U8; The transient suppression tube D47 and the transient suppression tube D48 are used to alleviate the impact of instantaneous pulses when the charging power supply is connected to the circuit. The voltage stabilizing chip U9 is used to charge the backup battery, detect whether the backup battery is fully charged, and whether the backup battery is in the charging loop; The PMOS tube U10 and the PMOS tube U5 are used to switch the voltage boosting charging loop and the charging management chip U16 charging loop. The first port, the second port and the third port of the PMOS tube U1 are source pins, the fourth port is a gate pin, and the fifth port, the sixth port, the seventh port and the eighth port are all drain pins; the first port, the second port and the third port of the PMOS tube U5 are source pins, the fourth port is a gate pin, and the fifth port, the sixth port, the seventh port and the eighth port are all drain pins; the first port of the voltage stabilizing chip U9 is a GND pin, the second port is a VOUT pin, and the third port is a VIN pin; the third port of the charging management chip U16 is a charging state indication pin, the first port is a VG pin, the eighth port is a DRV port, the sixth port is a CSP port, and the fifth port is a BAT port; the twelfth port of the microcontroller chip U13 is a PAO7 pin; the first port, the second port and the third port of the PMOS tube U10 are source pins, the fourth port is a gate pin, and the fifth port, the sixth port, the seventh port and the eighth port are all drain pins.

4. The gas controller backup battery charge detection device of claim 3, wherein, The charger circuit further comprises a capacitor C9 and a resistor R20; One end of the capacitor C9 is grounded, and the other end of the capacitor C9 is connected to the fourth port of the charging management chip U16 through the resistor R20; The second port of the charging management chip U16 is grounded; and the seventh port of the charging management chip U16 is connected to the first common end; The fourth port of the charging management chip U16 is a COM pin, the second port is a GND pin, and the seventh port is a VCC port.

5. The gas controller backup battery charge detection device of claim 4, wherein, The analog battery circuit further comprises a resistor R66, a resistor R65, a triode Q10, a resistor R70, a transient suppression tube D2, a transient suppression tube D1, a resistor R68, a resistor R69, an operational amplifier U11 and a MOS tube Q11; The first port of the relay K6 is connected with the charging current monitoring circuit, the second port of the relay K6 is connected with the collector of the triode Q10, the third port of the relay K6 is connected with the fifteenth common terminal, and the fourth port of the relay K6 is connected with the fourteenth common terminal; one end of the resistor R66 is connected with the thirteenth port of the microcontroller chip U13, and the other end of the resistor R66 is connected with the sixteenth common terminal; one end of the resistor R65 is connected with the sixteenth common terminal, and the other end of the resistor R65 is grounded; the base of the triode Q10 is connected with the sixteenth common terminal, and the emitter of the triode Q10 is grounded; one end of the resistor R70 is connected with the fifteenth common terminal, and the other end of the resistor R70 is connected with the seventeenth common terminal; the third port of the current monitoring chip U2 is connected with the fifteenth common terminal, and the fourth port of the current monitoring chip U2 is connected with the seventeenth common terminal; one end of the transient suppression tube D2 is connected with the fifteenth common terminal, and the other end of the transient suppression tube D2 is grounded; one end of the transient suppression tube D1 is connected with the seventeenth common terminal, and the other end of the transient suppression tube D1 is grounded; one end of the resistor R68 is connected with the seventeenth common terminal, and the other end of the resistor R68 is connected with the nineteenth common terminal; one end of the resistor R69 is connected with the nineteenth common terminal, and the other end of the resistor R69 is grounded; the first port of the operational amplifier U11 is connected with the nineteenth common terminal, and the fourth port of the operational amplifier U11 is connected with the gate of the MOS tube Q11; the drain of the MOS tube Q11 is connected with the seventeenth common terminal. The third port of the current monitoring chip U2 is an IN+ pin, and the fourth port of the current monitoring chip U2 is an IN- pin; the thirteenth port of the microcontroller chip U13 is a PBO0 pin; the first port of the operational amplifier U11 is a same-phase input end pin, and the fourth port of the operational amplifier U11 is an output end pin.

6. The gas controller backup battery charge detection device of claim 5, wherein, The analog battery circuit further comprises a capacitor C7 and a capacitor C28. The fifth port of the relay K6 is connected with a 3.3v power supply. The first port of the current monitoring chip U2 is connected with the eleventh port of the microcontroller chip U13, the second port of the current monitoring chip U2 is grounded, the fifth port of the current monitoring chip U2 is connected with a 3.3v power supply and one end of a capacitor C7, and the other end of the capacitor C7 is grounded. The second port of the operational amplifier U11 is grounded, the third port of the operational amplifier U11 is connected with the fourteenth port of the microcontroller chip U13, the fifth port of the operational amplifier U11 is connected with a power supply and one end of a capacitor C28, and the other end of the capacitor C28 is grounded. The source of the MOS tube Q11 is grounded. The first port of the current monitoring chip U2 is an OUT pin, the second port of the current monitoring chip U2 is a GND pin, and the fifth port of the current monitoring chip U2 is a VS pin; the eleventh port of the microcontroller chip U13 is a PAO6 pin, and the fourteenth port of the microcontroller chip U13 is a PBO1 pin; the second port of the operational amplifier U11 is a ground pin, the third port of the operational amplifier U11 is a reverse input end, and the fifth port of the operational amplifier U11 is a power supply pin.

7. The gas controller backup battery charge detection device of claim 6, wherein, The charging current monitoring circuit further comprises a resistor R56, a transient suppression tube D24, a transient suppression tube D34 and a current monitoring chip U8; One end of the resistor R56 is connected with the seventh common terminal, and the other end of the resistor R56 is connected with the twentieth common terminal; the positive electrode of the transient suppression tube D24 is grounded, and the negative electrode of the transient suppression tube D24 is connected with the twentieth common terminal; the positive electrode of the transient suppression tube D34 is grounded, and the negative electrode of the transient suppression tube D34 is connected with the seventh common terminal; the third port of the current monitoring chip U8 is connected with the seventh common terminal, and the fourth port of the current monitoring chip U8 is connected with the twentieth common terminal; The third port of the current monitoring chip U8 is an IN+ pin, and the fourth port of the current monitoring chip U8 is an IN- pin.

8. The gas controller backup battery charge detection device of claim 7, wherein, The first port of the current monitoring chip U8 is connected with the tenth port of the microcontroller chip U13, the second port of the current monitoring chip U8 is grounded, and the fifth port of the current monitoring chip U8 is connected with the 3.3v power supply while being grounded through the capacitor C3; The first port of the current monitoring chip U8 is an OUT pin, the second port of the current monitoring chip U8 is a GND pin, and the fifth port of the current monitoring chip U8 is a VS pin; the tenth port of the microcontroller chip U13 is a PAO5 pin.

9. The gas controller backup battery charge detection device of claim 8, wherein, The charging voltage monitoring circuit specifically comprises a resistor R45, a resistor R47, a resistor R21, a resistor R44, a capacitor C4, a capacitor C2 and a switch S1; One end of the resistor R45 is connected with the fourteenth common terminal, the other end of the resistor R45 is connected with the twenty-first common terminal, and the fourteenth common terminal is connected with the third port of the switch S1; one end of the resistor R47 and one end of the capacitor C4 are both connected with the twenty-first common terminal, and the other end of the resistor R47 and the other end of the capacitor C4 are both grounded; the twenty-first common terminal is further connected with the eighth port of the microcontroller chip U13; one end of the resistor R21 is connected with the second port of the switch S1, and the other end of the resistor R21 is connected with the twenty-second common terminal; one end of the resistor R44 and one end of the capacitor C2 are both connected with the twenty-second common terminal, and the other end of the resistor R44 and the other end of the capacitor C2 are both grounded; the twenty-second common terminal is further connected with the ninth port of the microcontroller chip U13; The eighth port of the microcontroller chip U13 is a PAO2 pin, and the ninth port of the microcontroller chip U13 is a PAO4 pin; the switch S1 is a selection switch.

10. A gas controller backup battery charge detection method for a gas controller backup battery charge detection apparatus according to claim 1, characterized by, The gas controller backup battery charging detection method comprises: The microcontroller is started according to a predetermined logic and performs self-detection; The charger circuit is detected, the charger circuit is controlled to charge the simulated battery, and whether the charging current and the charging voltage of the simulated battery circuit reach the predetermined setting value range is monitored; if yes, it is determined that the charging circuit is intact, and the diagnosis is passed; The charging current and charging voltage of the charging circuit between the standby battery and the charger circuit are detected, when the charging current and charging voltage of the charging circuit between the standby battery and the charger circuit are within the predetermined setting value range, the diagnosis is passed; when not within the setting range, there are two cases of current out of range and voltage out of range; when the charging current of the charging circuit between the standby battery and the charger circuit is out of range, the diagnosis is a short circuit problem of the charging circuit; when the charging voltage of the charging circuit between the standby battery and the charger circuit is out of range, the diagnosis is an open circuit problem of the charging circuit; The standby battery is detected whether it is connected to the gas controller, the external output of the charger circuit is closed, and whether the charging voltage is within the predetermined setting value range is monitored; if within the range, the diagnosis is that the standby battery is connected; if not within the range, the diagnosis is that the standby battery is not connected; The diagnosis process is ended, and the next real-time diagnosis is started.

Citation Information

Patent Citations

  • External power supply in-place monitoring system for lithium ion battery direct-current reserve power supply

    CN102680909A

  • Test systems and charging test system based on charging chip

    CN112147484A