Gas controller standby battery charging detection device and detection method

Through the combination of charger circuit, analog battery circuit, charging current monitoring circuit and microcontroller circuit, the misdiagnosis problem of gas controller when detecting the access of backup lead-acid batteries is solved, and automatic detection and explosion-proof application are achieved.

CN119906136AActive Publication Date: 2025-04-29SHEN ZHEN ERANNTEX ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When the existing gas controller detects whether the backup lead-acid battery is connected to the charging circuit, it cannot distinguish the voltage source, resulting in misdiagnosis, which can easily damage the battery and is not suitable for explosion-proof occasions.

Method used

The combination of charger circuit, analog battery circuit, charging current monitoring circuit, charging voltage monitoring circuit and microcontroller circuit is used to determine whether the backup battery is in the charging circuit by monitoring the current and voltage values, so as to avoid frequent switching of the charger.

Benefits of technology

It realizes automatic charging detection of backup batteries, avoids misdiagnosis and battery damage, and is suitable for explosion-proof occasions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906136A_ABST
    Figure CN119906136A_ABST
Patent Text Reader

Abstract

The invention discloses a gas controller standby battery charging detection device and detection method, and relates to the technical field of charging detection, in the device, a charger circuit is used for charging a standby battery and detecting whether the standby battery is in a charging loop; the simulation battery circuit is used for switching between simulation battery circuit charging and standby battery charging; the monitoring module is also used for monitoring whether charging current of the simulation battery circuit is in a normal range; the charging current monitoring circuit is used for monitoring a current value of a charging loop between the standby battery and the charger circuit and sending the current value to the microcontroller circuit; the charging voltage monitoring circuit is used for monitoring the voltage value of a charging loop between the standby battery and the charger circuit and sending the voltage value to the microcontroller circuit. According to the application, the joint effect of a plurality of circuits is provided, the charging detection of the standby battery of the gas controller is realized through reasonable circuit control, and a charger does not need to be switched on and off frequently for detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] When the existing gas controller monitors the charger of the backup lead-acid battery, when the backup lead-acid battery is connected, the entire charging circuit has voltage, but it is impossible to distinguish whether the voltage is from the battery or the charger circuit. Therefore, in order to distinguish, it is necessary to turn off the external output voltage of the charger. At this time, if there is still voltage, it means that the backup lead-acid battery is connected to the circuit. 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 must be continuously cycled and switched every few seconds.

[0003] However, this method of detecting whether the backup lead-acid battery is connected to the controller by continuously switching the charger on and off may result in misdiagnosis and easily damage the lead-acid battery. The continuous switching of the relay may easily cause sparks, and is not suitable for explosion-proof occasions. Summary of the invention

[0004] The purpose of this 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 switching the charger on and off.

[0005] To achieve the above objectives, this application provides the following solutions: In a first aspect, the present application provides a gas controller backup battery charging detection device, the gas controller backup battery charging detection device comprising: 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 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, which is used for charging control; The simulated battery circuit is connected to the charger circuit; The simulated battery circuit comprises: Relay K6, used for switching between charging of the analog battery circuit and charging of 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 current monitoring circuit comprises: 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 charger circuit; 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: determine whether the current value and the voltage value are within a preset range; The control charger circuit detects whether the backup battery is in the charging loop.

[0006] In a second aspect, the present application provides a gas controller backup battery charging detection method according to the gas controller backup battery charging detection device described above, the gas controller backup battery charging detection method comprising: Controlling the charger circuit to charge the simulated battery circuit; Check whether the charging current of the simulated battery circuit is within the normal range; When the charging current of the simulated battery circuit is within a normal range, controlling the charger circuit to charge the backup battery; Detect whether the current value and voltage value of the charging circuit between the backup battery and the charger circuit are within a preset range; 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.

[0007] According to the specific embodiments provided in this application, this application discloses the following technical effects: The present application provides a gas controller backup battery charging detection device and detection method, the device includes: a charger circuit, a simulated 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, which is used for charging control; the simulated battery circuit is connected to the charger circuit; the simulated battery circuit includes: a relay K6, which is used to switch between charging the simulated battery circuit and charging the backup battery; a current monitoring chip U2, which is used to monitor whether the charging current of the simulated battery circuit is within a normal range The charging current monitoring circuit is connected to the charger circuit; the charging current monitoring circuit includes: a current monitoring chip U8, which 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 charger circuit; 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: determine whether the current value and the voltage value are within a preset range; control the charger circuit to detect whether the backup battery is in the charging circuit. The present application proposes the combined action of multiple circuits, and realizes the charging detection of the backup battery of the gas controller through reasonable circuit control, without the need to frequently switch the charger on and off for detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0009] Figure 1 A block diagram of a gas controller backup battery charging detection device provided in one embodiment of the present application; Figure 2 A schematic diagram of the microcontroller circuit structure provided in one embodiment of the present application; Figure 3 A schematic diagram of a charger circuit structure provided in an embodiment of the present application; Figure 4 A schematic diagram of a simulated battery circuit structure provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of a charging current monitoring circuit provided in an embodiment of the present application; Figure 6 A schematic diagram of the structure of a charging voltage monitoring circuit provided in an embodiment of the present application; Figure 7 A schematic flow chart of a gas controller backup battery charging detection method provided in one embodiment of the present application. DETAILED DESCRIPTION

[0010] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0011] The purpose of this 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 switching the charger on and off.

[0012] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0013] In an exemplary embodiment, Figure 1 As shown, a gas controller backup battery charging detection device is provided, which includes: 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 this embodiment is a backup lead-acid battery.

[0014] The charging power supply is used to provide power to the charger circuit and is connected to the circuit through J19 (J19 is a power socket, connected to DC 24V for the circuit to work).

[0015] 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, model CN3768, for charging control; The simulated battery circuit is connected to the charger circuit; The simulated battery circuit comprises: Relay K6, used for switching between charging of the analog battery circuit and charging of 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 current monitoring circuit comprises: 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 charger circuit; 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: determine whether the current value and the voltage value are within a preset range; The control charger circuit detects whether the backup battery is in the charging loop.

[0016] Specifically, the microcontroller circuit is used to detect the charging circuit, the charging circuit between the backup battery and the charger circuit, and whether the backup battery is connected to the gas controller, including: resistor R82, capacitor C38, capacitor C30, capacitor C37, capacitor C1, resistor R72, capacitor C29, microcontroller chip U13, such as Figure 2 shown.

[0017] Among them, one end of the resistor R82 is connected to the power supply, and the other end of the resistor R82 is connected to the twenty-third common terminal; one end of the capacitor C38 is grounded, and the other end of the capacitor C38 is connected to the twenty-third common terminal; the sixth port of the microcontroller chip U13 is connected to the twenty-third common terminal; one end of the capacitor C30 and the capacitor C37 are both connected to the first port of the microcontroller chip U13, and the other ends of the capacitor C30 and the capacitor C37 are both grounded; one end of the capacitor C1 is connected to the seventh port of the microcontroller chip U13, the other end of the capacitor C1 is grounded, and the seventh port of the microcontroller chip U13 is also connected to a 3.3V power supply; one end of the capacitor resistor R72 is connected to the thirty-first port of the microcontroller chip U13, the other end of the capacitor resistor R72 is grounded, and the thirty-first port of the microcontroller chip U13 is also connected to BOOTO; one end of the capacitor C29 is grounded, and the other end of the capacitor C29 is simultaneously connected to the seventeenth port of the microcontroller chip U13 and the 3.3V power supply.

[0018] The microcontroller chip U13 is used to control the normal operation of the entire circuit, receive signals from other circuits, and output control signals to other circuits.

[0019] The resistor R82 and the capacitor C38 are used to ensure that the microcontroller chip U13 can be reset upon power-on.

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

[0021] 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 capacitors E2, C5 and C6 (where E2 and E3 are aluminum electrolytic capacitors) are all grounded; one end of the capacitor C10 is connected to the first common terminal 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, the fifth port, the sixth port, the seventh port and the 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 diode D46 is grounded. 5 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 The capacitor E3 and the capacitor C24 are connected at one end to the fourth common terminal, and the other ends of the capacitor E3 and the capacitor C24 are 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 twelfth port CHAGUE of the microcontroller chip U13 ON; 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 tube U5 are connected to the fourth common terminal, the fourth port of the PMOS tube 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 tube 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 tube D48 is grounded, and the negative electrode of the transient suppression tube D48 is connected to the first common terminal; one end of the capacitor C8 is grounded, and the other end of the capacitor C8 is connected to the first common terminal; the first port of the voltage stabilizing chip U9 is connected to the eighth common terminal, the second port of the voltage stabilizing chip U9 is connected to the ninth common terminal, and the third port of the voltage stabilizing chip U9 is connected to the first common terminal; one end of the resistor R43 is grounded, and the other end of the resistor R43 is connected to the eighth common terminal; one end of the resistor R57 is connected to the eighth common terminal, and the The other end of the resistor R57 is connected to the ninth common terminal; one end of the capacitor C27 is connected to the ninth common terminal, and the other end of the capacitor C27 is grounded; one end of the resistor R64 is connected to the ninth common terminal, the other end of the resistor R64 is connected to the positive electrode of the diode D50, and the negative electrode of the diode D50 is connected to the tenth common terminal; one end of the resistor R62 is connected to the tenth common terminal, and the other end of the resistor R62 is connected to the eleventh common terminal; one end of the resistor R58 is connected to the twelfth port CHAGUE of the microcontroller chip U13 ON; the other end of the resistor R58 is connected to the twelfth common terminal; one end of the resistor R59 is connected to the twelfth common terminal, and the other end of the resistor R59 is grounded; the base of the transistor Q9 is connected to the twelfth common terminal, the collector of the transistor Q9 is connected to the eleventh common terminal, and the emitter of the transistor Q9 is grounded; the base of the transistor Q8 is connected to the eleventh common terminal, the collector of the transistor Q8 is connected to one end of the resistor R60, the emitter of the transistor Q8 is grounded, and the other end of the resistor R60 is connected to the thirteenth common terminal; One end of the resistor R61 is connected to the thirteenth common terminal, and the other end of the resistor R61 is connected to the tenth common terminal; the first port, the second port and the third port of the PMOS tube U10 are all connected to the tenth common terminal, the fourth port of the PMOS tube U10 is connected to the thirteenth common terminal, and the fifth port, the sixth port, the seventh port and the eighth port of the PMOS tube U10 are all connected to the current monitoring chip U8; 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; the seventh port of the charging management chip U16 is connected to the first common terminal.

[0022] The charger circuit is used to charge the backup battery, increase the charging voltage, and detect whether the backup battery is fully charged and whether the backup battery is in the charging circuit.

[0023] The charger circuit is output through U5 K6, and the backup battery is connected to J31 (the battery is connected only after switching and testing to be normal, so the battery is connected to the last J31).

[0024] The transient suppression tube D47 and the transient suppression tube D48 are used to alleviate the impact of the instantaneous pulse in the charging power supply access circuit.

[0025] The charging management chip U16 is used to control the charging of the backup battery in constant voltage, constant current, trickle current and floating charging processes.

[0026] The voltage stabilizing chip U9 is used to increase the voltage of the backup battery for charging, detect whether the backup battery is fully charged, and whether the backup battery is in the charging circuit.

[0027] The resistor R64 is used for limiting the current when charging the battery, and is a current limiting resistor.

[0028] The PMOS tube U10 and the PMOS tube U5 are used to switch between the voltage-boosting charging circuit and the charging circuit of the charging management chip.

[0029] When the charging management chip U16 fails, the backup battery can be temporarily charged through the voltage stabilizing chip U9.

[0030] The simulated battery circuit includes: relay K6, resistor R66, resistor R65, transistor 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 .

[0031] Among them, the first port of the relay K6 is connected to the charging current monitoring circuit (the first port of the relay K6 in this embodiment is connected to the twentieth common terminal), the second port of the relay K6 is connected to the collector of the transistor Q10, the third port of the relay K6 is connected to the fifteenth common terminal, the fourth port of the relay K6 is connected to the fourteenth common terminal, and the fifth port of the relay K6 is connected to a 3.3V power supply; one end of the resistor R66 is connected to the thirteenth port BAT of the microcontroller chip U13 SEL, the other end of the resistor R66 is connected to the sixteenth common terminal; one end of the resistor R65 is connected to the sixteenth common terminal, and the other end of the resistor R65 is grounded; the base of the transistor Q10 is connected to the sixteenth common terminal, and the emitter of the transistor Q10 is grounded; one end of the resistor R70 is connected to the fifteenth common terminal, and the other end of the resistor R70 is connected to the seventeenth common terminal; the third port of the current monitoring chip U2 is connected to the fifteenth common terminal, and the fourth port of the current monitoring chip U2 is connected to the seventeenth common terminal; one end of the transient suppression tube D2 is connected to 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 to the seventeenth common terminal, and the other end of the transient suppression tube D1 is grounded; one end of the resistor R68 is connected to the seventeenth common terminal, and the other end of the resistor R68 is connected to the nineteenth common terminal; one end of the resistor R69 is connected to the tenth common terminal. The ninth common terminal is connected, and the other end of the resistor R69 is grounded; the first port of the operational amplifier U11 is connected to the nineteenth common terminal, and the fourth port of the operational amplifier U11 is connected to the gate of the MOS tube Q11; the drain of the MOS tube Q11 is connected to the seventeenth common terminal; the fifth port of the relay K6 is connected to a 3.3v power supply; the first port of the current monitoring chip U2 is connected to 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 to a 3.3v power supply, and is connected to one end of the 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 to the fourteenth port DAC of the microcontroller chip U13, the fifth port of the operational amplifier U11 is connected to the power supply, and is connected to one end of the capacitor C28, and the other end of the capacitor C28 is grounded; the source of the MOS tube Q11 is grounded.

[0032] The relay K6 is used for switching between the simulation battery circuit charging and the real backup battery circuit charging.

[0033] The current monitoring chip U2 is used to monitor whether the charging current of the simulated battery circuit is within a normal range.

[0034] The transient suppression tube D2 and the transient suppression tube D1 are used to protect the current monitoring chip U2.

[0035] The resistor R68 and the resistor R69 are used to form a voltage divider circuit to divide the input voltage and input it into the operational amplifier U11.

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

[0037] The charging current monitoring circuit is used to monitor the current value of the charging circuit between the backup battery and the charger, and send it to the microcontroller circuit, including: resistor R56, transient suppression tube D24, transient suppression tube D34, current monitoring chip U8, such as Figure 5 shown.

[0038] Among them, one end of the resistor R56 is connected to the seventh common terminal, and the other end of the resistor R56 is connected to the twentieth common terminal; the positive pole of the transient suppression tube D24 is grounded, and the negative pole of the transient suppression tube D24 is connected to the twentieth common terminal; the positive pole of the transient suppression tube D34 is grounded, and the negative pole of the transient suppression tube D34 is connected to the seventh common terminal; the third port of the current monitoring chip U8 is connected to the seventh common terminal, and the fourth port of the current monitoring chip U8 is connected to the twentieth common terminal; the first port of the current monitoring chip U8 is connected to 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 to the 3.3v power supply and grounded through the capacitor C3.

[0039] The resistor R56 is used as a current sampling resistor; The transient suppression tube D24 and the transient suppression tube D34 are used to protect the current monitoring chip U8.

[0040] The current monitoring chip U8 is used to monitor whether the charging current of the simulated battery circuit is within a normal range.

[0041] 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 it to the microcontroller circuit, including a resistor R45, a resistor R47, a resistor R21, a resistor R44, a capacitor C4, a capacitor C2, and a switch S1. Figure 6 shown.

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

[0043] The resistor R45 and the resistor R47 are used to form a voltage divider circuit to perform voltage division processing on the charging voltage.

[0044] The resistor R21 and the resistor R44 are used to form a voltage divider circuit to perform voltage division processing on the charging voltage.

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

[0046] In this embodiment, the charger circuit is detected as follows: the charger circuit is controlled to charge the simulated battery circuit, the monitoring current and voltage sent by the charging current monitoring circuit and the charging voltage monitoring circuit are received, and the simulated charging current and charging voltage are determined (according to experience, the DAC of the fourteenth port of the microcontroller chip U13 is adjusted so that the voltage at point A is constant at 80% of the full charge of the backup battery, which is recorded as V A The analog charging current can be detected through the eleventh port CH4+ of the microcontroller chip U13, which is recorded as I R70 , and then the simulated charging voltage can be calculated by R70, that is, V B =V A +I R70 x R70) reaches the preset setting value. If it does, it is judged that the charging circuit is intact and the diagnosis passes.

[0047] The specific detection of the charging circuit between the backup battery and the charger circuit is as follows: when the charging current and the charging voltage are within the preset setting value range, the diagnosis is passed. When they are not within the setting range, it is divided into two situations: the current is not within the range and the voltage is not within the range, and the short circuit problem or the open circuit problem of the charging circuit is diagnosed respectively.

[0048] The specific detection of whether the backup battery is connected to the gas controller is as follows: turn off the external output of the charger circuit, monitor the charging voltage, and check whether the charging voltage is within the range of the preset setting value. If it is within the range, the diagnosis is passed. If it is not within the range, it is diagnosed that there is no problem with the backup battery being connected. Turn off the external output U5 of the charger circuit, and obtain the voltage on R44 or R47 to obtain the charging voltage, which can be obtained by converting the voltage through the ADC of the MCU.

[0049] The components of the scheme of this embodiment include a microcontroller circuit and its control logic, a charger circuit, a simulated battery circuit, a battery voltage detection circuit, and a charging circuit current detection circuit. When the microcontroller is powered on, it detects whether the backup lead-acid battery is connected to the gas controller, whether the backup lead-acid battery charger circuit is normal, and whether the charging circuit between the backup lead-acid battery and the charger is normal according to the set self-test logic. This embodiment can diagnose in real time whether the backup lead-acid battery is connected, and whether the charger and charging are normal. If there is a problem, remind the user to check immediately, so as to avoid the backup lead-acid battery from being damaged due to long-term failure to charge. The situation where the backup lead-acid battery needs to be switched and cannot be used.

[0050] Based on the same inventive concept, the embodiment of the present application also provides a gas controller backup battery charging detection method according to the gas controller backup battery charging detection device involved above. The implementation scheme for solving the problem provided by this method is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments provided below can refer to the limitations of the gas controller backup battery charging detection device above, and will not be repeated here.

[0051] See also Figure 7 , the gas controller backup battery charging detection method comprises: S1. The microcontroller starts up and performs self-test according to the established logic.

[0052] S2. Detect the charger circuit, control the charger circuit to charge the simulated battery, monitor its simulated charging current, and whether the charging voltage reaches a predetermined setting value. If it reaches a predetermined setting value, it is determined that the charging circuit is intact and the diagnosis passes.

[0053] S3. Detect the charging circuit between the backup battery and the charger circuit. When the charging current and charging voltage are within the preset range, the diagnosis is passed. If they are not within the set range, there are two cases: current is not within the range and voltage is not within the range. The diagnosis is respectively whether it is a short circuit problem or a circuit break problem in the charging circuit.

[0054] S4. Check whether the backup battery is connected to the gas controller, turn off the external output of the charger circuit, monitor the charging voltage, and check whether the charging voltage is within the range of the preset setting value. If it is within the range, the diagnosis is passed. If it is not within the range, it is diagnosed that the backup lead-acid battery has no connection problem.

[0055] S5. The diagnosis process ends and the next real-time diagnosis begins.

[0056] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0057] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A gas controller backup battery charging detection device, characterized in that: The gas controller backup battery charging detection device comprises: 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, which is used for charging control; The simulated battery circuit is connected to the charger circuit; The simulated battery circuit comprises: Relay K6, used for switching between charging of the analog battery circuit and charging of 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 current monitoring circuit comprises: 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 charger circuit; 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: determine whether the current value and the voltage value are within a preset range; The control charger circuit detects whether the backup battery is in the charging loop.

2. The gas controller backup battery charging detection device according to claim 1 is characterized in that: 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; Among them, one end of the resistor R82 is connected to the power supply, and the other end of the resistor R82 is connected to the twenty-third common terminal; one end of the capacitor C38 is grounded, and the other end of the capacitor C38 is connected to the twenty-third common terminal; the sixth port of the microcontroller chip U13 is connected to the twenty-third common terminal; one end of the capacitor C30 and the capacitor C37 are both connected to the first port of the microcontroller chip U13, and the other ends of the capacitor C30 and the capacitor C37 are both grounded; one end of the capacitor C1 is connected to the seventh port of the microcontroller chip U13, and the other end of the capacitor C1 is grounded; one end of the capacitor resistor R72 is connected to the thirty-first port of the microcontroller chip U13, and the other end of the capacitor resistor R72 is grounded; one end of the capacitor C29 is grounded, and the other end of the capacitor C29 is simultaneously connected to the seventeenth port of the microcontroller chip U13 and the power supply.

3. The gas controller backup battery charging detection device according to claim 2, characterized in that: The charger circuit also includes: a transient suppression tube D47, a resistor R39, a capacitor E2, a capacitor C5, a capacitor C6, a capacitor C10, a light emitting diode D35, a PMOS tube U1, a diode D46, a diode D45, a resistor R40, a capacitor C23, an inductor L10, a resistor R63, a capacitor E3, a capacitor C24, a resistor R54, a resistor R55, a resistor R46, a resistor R48, a transistor Q7, a PMOS tube U5, a resistor R41, a transient suppression tube D48, a capacitor C8, a voltage stabilizing chip U9, a resistor R43, a resistor R57, a capacitor C27, a resistor R64, a diode D50, a resistor R62, a resistor R58, a resistor R59, a transistor Q9, a resistor R61, a resistor R60, a transistor Q8 and a 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, the sixth port, the seventh port and the 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 The 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 tube U5 are connected to the fourth common terminal, the fourth port of the PMOS tube 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 tube 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 tube D48 is grounded, and the negative electrode of the transient suppression tube D48 is connected to the first common terminal;One end of the capacitor C8 is grounded, and the other end of the capacitor C8 is connected to the first common end; the first port of the voltage stabilizing chip U9 is connected to the eighth common end, the second port of the voltage stabilizing chip U9 is connected to the ninth common end, and the third port of the voltage stabilizing chip U9 is connected to the first common end; one end of the resistor R43 is grounded, and the other end of the resistor R43 is connected to the eighth common end; one end of the resistor R57 is connected to the eighth common end, and the other end of the resistor R57 is connected to the ninth common end; one end of the capacitor C27 is connected to the ninth common end, and the other end of the capacitor C27 is grounded; one end of the resistor R64 is connected to the ninth common end, and the other end of the resistor R64 is connected to the positive electrode of the diode D50, and the negative electrode of the diode D50 is connected to the tenth common end; one end of the resistor R62 is connected to the tenth common end, and the other end of the resistor R62 is connected to the eleventh common end; one end of the resistor R58 is connected to the twelfth port of the microcontroller chip U13 ; The other end of the resistor R58 is connected to the twelfth common terminal; one end of the resistor R59 is connected to the twelfth common terminal, and the other end of the resistor R59 is grounded; the base of the transistor Q9 is connected to the twelfth common terminal, the collector of the transistor Q9 is connected to the eleventh common terminal, and the emitter of the transistor Q9 is grounded; the base of the transistor Q8 is connected to the eleventh common terminal, the collector of the transistor Q8 is connected to one end of the resistor R60, the emitter of the transistor Q8 is grounded, and the other end of the resistor R60 is connected to the thirteenth common terminal; one end of the resistor R61 is connected to the thirteenth common terminal, and the other end of the resistor R61 is connected to the tenth common terminal; the first port, the second port and the third port of the PMOS tube U10 are all connected to the tenth common terminal, the fourth port of the PMOS tube U10 is connected to the thirteenth common terminal, and the fifth port, the sixth port, the seventh port and the eighth port of the PMOS tube U10 are all connected to the current monitoring chip U8; Wherein, the transient suppression tube D47 and the transient suppression tube D48 are used to alleviate the impact of the instantaneous pulse when the charging power supply is connected to the circuit; The voltage stabilizing chip U9 is used to charge the backup battery and detect whether the backup battery is fully charged and whether the backup battery is in the charging circuit; The PMOS tube U10 and the PMOS tube U5 are used to switch between the voltage-boosting charging circuit and the charging management chip charging circuit.

4. The gas controller backup battery charging detection device according to claim 3 is characterized in that: The charger circuit also includes: 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; the seventh port of the charging management chip U16 is connected to the first common terminal.

5. The gas controller backup battery charging detection device according to claim 4, characterized in that: The simulated battery circuit also includes: a resistor R66, a resistor R65, a transistor 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; Among them, the first port of the relay K6 is connected to the charging current monitoring circuit, the second port of the relay K6 is connected to the collector of the transistor Q10, the third port of the relay K6 is connected to the fifteenth common terminal, and the fourth port of the relay K6 is connected to the fourteenth common terminal; one end of the resistor R66 is connected to the thirteenth port of the microcontroller chip U13, and the other end of the resistor R66 is connected to the sixteenth common terminal; one end of the resistor R65 is connected to the sixteenth common terminal, and the other end of the resistor R65 is grounded; the base of the transistor Q10 is connected to the sixteenth common terminal, and the emitter of the transistor Q10 is grounded; one end of the resistor R70 is connected to the fifteenth common terminal, and the other end of the resistor R70 is connected to the seventeenth common terminal; the third end of the current monitoring chip U2 is connected to the thirteenth common terminal, and the other end of the resistor R70 is connected to the seventeenth common terminal. The first port of the operational amplifier U11 is connected to the 19th common terminal, and the fourth port of the current monitoring chip U2 is connected to the 17th common terminal; one end of the transient suppression tube D2 is connected to the 15th common terminal, and the other end of the transient suppression tube D2 is grounded; one end of the transient suppression tube D1 is connected to the 17th common terminal, and the other end of the transient suppression tube D1 is grounded; one end of the resistor R68 is connected to the 17th common terminal, and the other end of the resistor R68 is connected to the 19th common terminal; one end of the resistor R69 is connected to the 19th common terminal, and the other end of the resistor R69 is grounded; the first port of the operational amplifier U11 is connected to the 19th common terminal, and the fourth port of the operational amplifier U11 is connected to the gate of the MOS tube Q11; the drain of the MOS tube Q11 is connected to the 17th common terminal.

6. The gas controller backup battery charging detection device according to claim 5, characterized in that: The simulated battery circuit also includes: a capacitor C7 and a capacitor C28; The fifth port of the relay K6 is connected to a 3.3V power supply; The first port of the current monitoring chip U2 is connected to 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 to a 3.3v power supply and to 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 to the fourteenth port of the microcontroller chip U13, the fifth port of the operational amplifier U11 is connected to a power supply and to one end of a capacitor C28, and the other end of the capacitor C28 is grounded; The source of the MOS transistor Q11 is grounded.

7. The gas controller backup battery charging detection device according to claim 6, characterized in that: The charging current monitoring circuit also includes: a resistor R56, a transient suppression tube D24, a transient suppression tube D34 and a current monitoring chip U8; Among them, one end of the resistor R56 is connected to the seventh common terminal, and the other end of the resistor R56 is connected to 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 to 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 to the seventh common terminal; the third port of the current monitoring chip U8 is connected to the seventh common terminal, and the fourth port of the current monitoring chip U8 is connected to the twentieth common terminal.

8. The gas controller backup battery charging detection device according to claim 7, characterized in that: The first port of the current monitoring chip U8 is connected to 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 to a 3.3V power supply and grounded through a capacitor C3.

9. The gas controller backup battery charging detection device according to claim 8, characterized in that: The charging voltage monitoring circuit specifically includes: a resistor R45, a resistor R47, a resistor R21, a resistor R44, a capacitor C4, a capacitor C2 and a switch S1; Among them, one end of the resistor R45 is connected to the fourteenth common terminal, the other end of the resistor R45 is connected to the twenty-first common terminal, and the fourteenth common terminal is connected to the third port of the switch S1; one end of the resistor R47 and the capacitor C4 are both connected to the twenty-first common terminal, and the other ends of the resistor R47 and the capacitor C4 are both grounded; the twenty-first common terminal is also connected to the eighth port of the microcontroller chip U13; one end of the resistor R21 is connected to the second port of the switch S1, and the other end of the resistor R21 is connected to the twenty-second common terminal; one end of the resistor R44 and the capacitor C2 are both connected to the twenty-second common terminal, and the other ends of the resistor R44 and the capacitor C2 are both grounded; the twenty-second common terminal is also connected to the ninth port of the microcontroller chip U13.

10. A gas controller backup battery charging detection method of the gas controller backup battery charging detection device according to claim 1, characterized in that: The gas controller backup battery charging detection method comprises: Controlling the charger circuit to charge the simulated battery circuit; Check whether the charging current of the simulated battery circuit is within the normal range; When the charging current of the simulated battery circuit is within a normal range, controlling the charger circuit to charge the backup battery; Detect whether the current value and voltage value of the charging circuit between the backup battery and the charger circuit are within a preset range; 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.

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

  • Charging management circuit and portable electronic equipment

    CN117200381A

  • Star finder battery performance detection circuit

    CN216670228U

  • Charger circuit and intelligent charging control method thereof

    US20200119574A1