Circuit for controlling on-off of backup battery based on single-chip microcomputer on medical preservation box

By employing a microcontroller-based circuit in the medical storage box, the problems of easy damage to the mechanical switch of the backup battery and inconvenience for user operation have been solved, achieving stable power supply and improving the safety and stability of the equipment.

CN223567371UActive Publication Date: 2025-11-18QINGDAO AUCMA ULTRA LOW TEMPERATURE FREEZING MACHINES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422680906.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-11-18
Estimated Expiration
2034-11-05

AI Technical Summary

Technical Problem

Most existing medical storage boxes use mechanical switches for backup batteries, which are easily damaged and inconvenient for users, leading to false alarms and affecting user experience and equipment stability.

Method used

The circuit adopts a microcontroller-based control system, including a main control unit, an AC-DC circuit, a step-down unit, a power detection unit, a charge/discharge control unit, a power on/off unit, and a backup battery. The microcontroller controls the switching on and off of the backup battery to ensure a stable power supply and normal operation of the equipment.

Benefits of technology

It realizes intelligent charging and discharging control of backup batteries, avoids damage to mechanical switches, improves the stability and safety of equipment, extends equipment life, and provides emergency time and safety guarantee.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223567371U_ABST
    Figure CN223567371U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of medical equipment, in particular to a circuit for controlling on-off of a backup battery based on a single chip microcomputer on a medical preservation box, which comprises a main control unit, an AC-DC circuit, a voltage reduction unit, a power supply detection unit, a charge-discharge control unit, a power supply on-off unit and the backup battery, the power supply detection unit and the charging and discharging control unit are electrically connected with the voltage reduction unit, the charging and discharging control unit, the power supply on-off unit and the backup battery are electrically connected in sequence, and the main control unit is used for controlling the power supply detection unit, the charging and discharging control unit and the power supply on-off unit. According to the utility model, the charging and discharging control unit can charge the backup battery, and the power supply detection unit can detect whether power is off, when the power supply is off, the backup battery can ensure continuous operation of key equipment, prolong the service life of the equipment, provide emergency time for medical personnel, avoid electrical accidents, and improve safety and stability.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to medical equipment technical field, more particularly to a circuit for medical storage box based on singlechip control backup battery on-off. BACKGROUND

[0002] In the medical field, medical storage box plays a vital role, for storing various medicines, biological samples, reagents and other temperature sensitive goods, proper storage of these goods is very important for medical diagnosis, treatment and scientific research activities.

[0003] The existing medical storage box, due to the particularity of the stored goods, is equipped with a backup battery, which can send an alarm in the first time after power failure, informing the user to take appropriate measures; The backup battery of the medical storage box on the market mostly uses mechanical switch for on-off, which is low in cost and easy to damage; In addition, once the user is not familiar with the product, many products reach the user, and most users will not operate the mechanical switch if there is no professional technician to deliver the goods, causing false alarm after the product is connected to the mains, which causes certain trouble to the user and the manufacturer. UTILITY MODEL CONTENTS

[0004] The utility model aims at providing a circuit for medical storage box based on singlechip control backup battery on-off, to solve the problems raised in the above background.

[0005] To achieve the above object, the utility model provides the following technical scheme:

[0006] A circuit for medical storage box based on singlechip control backup battery on-off, comprising a main control unit, an AC-DC circuit, a voltage reducing unit, a power supply detection unit, a charge and discharge control unit, a power supply on-off unit and a backup battery, the input end of the AC-DC circuit is connected to the mains and outputs +24V power supply, the input end of the voltage reducing unit is connected to +24V power supply and outputs +14.2V power supply, the power supply detection unit and the charge and discharge control unit are electrically connected with the voltage reducing unit, the charge and discharge control unit, the power supply on-off unit and the backup battery are electrically connected in sequence, and the main control unit is used for controlling the power supply detection unit, the charge and discharge control unit and the power supply on-off unit.

[0007] As a preferred, the main control unit comprises power supply VDD and main control chip U1, and the model of main control chip U1 is HC32F460KETA.

[0008] As preferred, the voltage reduction unit comprises capacitor C3, capacitor C4, capacitor C5, capacitor C6, capacitor C7, capacitor C8, capacitor C9, capacitor C10, capacitor C11, capacitor C12, resistor R2, resistor R3, resistor R4, resistor R5, resistor R6, inductor L, diode D1, voltage reduction chip U2 and diode D2;

[0009] The model of the voltage reduction chip U2 is TPS54231, the first end of the capacitor C3 is connected with +24V power supply, the second end of the capacitor C3 is connected with ground, the first end of the capacitor C4 is connected with +24V power supply, the second end of the capacitor C4 is connected with ground, the first end of the capacitor C5 is connected with +24V power supply, the second end of the capacitor C5 is connected with ground, the first end of the resistor R2 is connected with +24V power supply, the second end of the resistor R2 is connected with the first end of the resistor R3, the second end of the resistor R3 is connected with ground, the first end of the capacitor C6 is connected with the SS pin of the voltage reduction chip U2, the second end of the capacitor C6 is connected with ground, the VIN pin of the voltage reduction chip U2 is connected with +24V power supply, the EN pin of the voltage reduction chip U2 is connected with the second end of the resistor R2, the first end of the capacitor C7 is connected with the PH pin of the voltage reduction chip U2, the second end of the capacitor C7 is connected with the BOOST pin of the voltage reduction chip U2, the GND pin of the voltage reduction chip U2 is connected with ground, the positive electrode of the diode D1 is connected with ground, the negative electrode of the diode D1 is connected with the first end of the capacitor C7, the first end of the inductor L is connected with the first end of the capacitor C7, the second end of the inductor L outputs +14.2V power supply, the first end of the capacitor C10 is connected with the second end of the inductor L, the second end of the capacitor C10 is connected with ground, the first end of the capacitor C11 is connected with the second end of the inductor L, the second end of the capacitor C11 is connected with ground, the first end of the resistor R5 is connected with the second end of the inductor L, the second end of the resistor R5 is connected with the first end of the resistor R6, the second end of the resistor R6 is connected with ground, the first end of the capacitor C12 is connected with the second end of the inductor L, the second end of the capacitor C12 is connected with ground, the first end of the capacitor C8 is connected with the COMP pin of the voltage reduction chip U2, the second end of the capacitor C8 is connected with the first end of the resistor R4, the second end of the resistor R4 is connected with ground, the first end of the capacitor C9 is connected with the first end of the capacitor C8, the second end of the capacitor C9 is connected with ground, the VSENSE pin of the voltage reduction chip U2 is connected with the second end of the resistor R5, the positive electrode of the diode D2 is connected with +14.2V power supply.

[0010] As preferred, the power supply detection unit comprises resistor R11, resistor R12, resistor R13, capacitor C14, triode Q2, resistor R14, resistor R15, triode Q3 and resistor R16;

[0011] The first end of the resistor R11 is connected to the negative electrode of the diode D2, the second end of the resistor R11 is connected to the first end of the resistor R12, the second end of the resistor R12 is connected to the base of the triode Q2, the first end of the resistor R13 is connected to the first end of the resistor R11, the second end of the resistor R13 is connected to the second end of the resistor R12, the first end of the capacitor C14 is connected to the first end of the resistor R13, the second end of the capacitor C14 is connected to the second end of the resistor R13, the emitter of the triode Q2 is connected to the negative electrode of the diode D2, the collector of the triode Q2 is connected to the first end of the resistor R14, the second end of the resistor R14 is connected to the base of the triode Q3, the first end of the resistor R15 is connected to the base of the triode Q3, the emitter of the triode Q3 is connected to the ground, the first end of the resistor R16 is connected to the power supply VDD, the second end of the resistor R16 is connected to the collector of the triode Q3, and the second end of the resistor R16 is also connected to the detection pin of the master chip U1.

[0012] Preferably, the charge and discharge control unit comprises a resistor R7, a triode Q1, a capacitor C13, a resistor R8, a resistor R9, a resistor R10, a diode D3, a MOS tube QM1, a resistor R17, a resistor R18, a resistor R19, a triode Q4, a resistor R20, a resistor R21, a resistor R22 and a capacitor C15.

[0013] The first end of the resistor R7 is connected to the negative electrode of the diode D2, the second end of the resistor R7 is connected to the gate of the MOS tube QM1, the emitter of the triode Q1 is connected to the first end of the resistor R7, the collector of the triode Q1 is connected to the second end of the resistor R7, the base of the triode Q1 is connected to the first end of the resistor R9, the second end of the resistor R9 is connected to the second end of the resistor R11, the first end of the capacitor C13 is connected to the first end of the resistor R7, the second end of the capacitor C13 is connected to the base of the triode Q1, the first end of the resistor R8 is connected to the first end of the capacitor C13, the second end of the resistor R8 is connected to the second end of the capacitor C13, the first end of the resistor R10 is connected to the first end of the resistor R7, the second end of the resistor R10 is connected to the second end of the resistor R9, the positive electrode of the diode D3 is connected to the second end of the resistor R7, the negative electrode of the diode D3 is connected to the second end of the resistor R9, the source of the MOS tube QM1 is connected to the second end of the resistor R9, the drain of the MOS tube QM1 is connected to the first end of the resistor R20, the second end of the resistor R20 is connected to the first end of the resistor R21, the second end of the resistor R21 is connected to the ground, the first end of the resistor R19 is connected to the second end of the resistor R7, the second end of the resistor R19 is connected to the collector of the triode Q4, the emitter of the triode Q4 is connected to the ground, the first end of the resistor R17 is connected to the output pin of the master chip U1, the second end of the resistor R17 is connected to the base of the triode Q4, the first end of the resistor R18 is connected to the second end of the resistor R17, the second end of the resistor R18 is connected to the ground, the first end of the resistor R22 is connected to the input pin of the master chip U1, the second end of the resistor R22 is connected to the second end of the resistor R20, the first end of the capacitor C15 is connected to the first end of the resistor R22, and the second end of the capacitor C15 is connected to the ground.

[0014] Preferably, the power supply on-off unit comprises a resistor R22, a resistor R23, a resistor R24, a resistor R25, a triode Q5 and a MOS tube QM2.

[0015] The first end of the resistor R22 is connected with the control pin of the master control chip U1, the second end of the resistor R22 is connected with the base of the triode Q5, the first end of the resistor R23 is connected with the ground, the second end of the resistor R23 is connected with the second end of the resistor R22, the emitter of the triode Q5 is connected with the ground, the first end of the resistor R24 is connected with the first end of the resistor R20, the second end of the resistor R24 is connected with the first end of the resistor R25, the second end of the resistor R25 is connected with the collector of the triode Q5, the gate of the MOS QM2 is connected with the second end of the resistor R24, the source of the MOS QM2 is connected with the first end of the resistor R24, the drain of the MOS QM2 is connected with the positive pole of the backup battery, and the negative pole of the backup battery is connected with the ground.

[0016] As preferred, the display unit and the alarm unit are further included, and the display unit and the alarm unit are both connected with the master control chip U1.

[0017] As preferred, the diode D4 and the diode D5 are further included, the positive pole of the diode D4 is connected with the positive pole of the backup battery, the positive pole of the diode D5 is connected with the +14.2V power supply, and the negative pole of the diode D4 and the negative pole of the diode D5 are connected as the power supply VDD.

[0018] Compared with the prior art, the utility model has the advantages that:

[0019] The utility model discloses a charging and discharging control unit can charge backup battery, can also detect whether power failure through power detection unit, when power failure, backup battery can ensure that the critical equipment continues to run, prolongs the equipment life, provides the emergency time for medical staff, avoids electrical accident simultaneously, improves security and stability. BRIEF DESCRIPTION OF DRAWINGS

[0020] Figure 1 It is the overall circuit diagram of the utility model;

[0021] Figure 2 It is the circuit diagram of the master control unit in the utility model;

[0022] Figure 3 It is the circuit diagram of the voltage reduction unit in the utility model;

[0023] Figure 4 It is the circuit diagram of the power detection unit and the charging and discharging control unit in the utility model;

[0024] Figure 5 It is the circuit diagram of the power on-off unit in the utility model;

[0025] In the drawing:

[0026] 1, master control unit;

[0027] 2, AC-DC circuit;

[0028] 3, voltage reduction unit;

[0029] 4. a power detection unit;

[0030] 5. a charge and discharge control unit;

[0031] 6. a power on-off unit;

[0032] 7. a backup battery;

[0033] 8. a display unit;

[0034] 9. an alarm unit. DETAILED DESCRIPTION

[0035] The technical solutions in the utility model will be described clearly and completely in combination with the drawings in the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, rather than all the embodiments. Based on the embodiments in the utility model, all the other embodiments obtained by the ordinary skilled in the art without making creative efforts belong to the protection scope of the utility model.

[0036] Please refer to Figures 1-5 The utility model provides technical schemes:

[0037] A circuit for controlling backup battery on-off based on single-chip microcomputer on medical preservation box, including main control unit 1, AC-DC circuit 2, voltage reduction unit 3, power detection unit 4, charge and discharge control unit 5, power on-off unit 6 and backup battery 7, the input end of AC-DC circuit 2 is connected with commercial power and exports + 24V power supply, the input end of voltage reduction unit 3 is connected with + 24V power supply and exports + 14.2V power supply, power detection unit 4 and charge and discharge control unit 5 are electrically connected with voltage reduction unit 3, charge and discharge control unit 5, power on-off unit 6 and backup battery 7 are electrically connected in proper order, main control unit 1 is used to control power detection unit 4, charge and discharge control unit 5 and power on-off unit 6, AC-DC circuit 2 is 220V commercial power into 24V, can select mature switching power supply, here is not described in detail.

[0038] In the embodiment, main control unit 1 includes power VDD and main control chip U1, the model of main control chip U1 is HC32F460KETA, power VDD can use voltage reduction unit 3 or backup battery 7 to provide, main control chip U1 is equipped with corresponding peripheral circuit, here is not described in detail.

[0039] Specifically, voltage reduction unit 3 includes capacitor C3, capacitor C4, capacitor C5, capacitor C6, capacitor C7, capacitor C8, capacitor C9, capacitor C10, capacitor C11, capacitor C12, resistance R2, resistance R3, resistance R4, resistance R5, resistance R6, inductance L, diode D1, voltage reduction chip U2 and diode D2.

[0040] The model of the voltage reduction chip U2 is TPS54231, the first end of the capacitor C3 is connected to the +24V power supply, the second end of the capacitor C3 is connected to the ground, the first end of the capacitor C4 is connected to the +24V power supply, the second end of the capacitor C4 is connected to the ground, the first end of the capacitor C5 is connected to the +24V power supply, the second end of the capacitor C5 is connected to the ground, the first end of the resistor R2 is connected to the +24V power supply, the second end of the resistor R2 is connected to the first end of the resistor R3, the second end of the resistor R3 is connected to the ground, the first end of the capacitor C6 is connected to the SS pin of the voltage reduction chip U2, the second end of the capacitor C6 is connected to the ground, the VIN pin of the voltage reduction chip U2 is connected to the +24V power supply, the EN pin of the voltage reduction chip U2 is connected to the second end of the resistor R2, the first end of the capacitor C7 is connected to the PH pin of the voltage reduction chip U2, the second end of the capacitor C7 is connected to the BOOST pin of the voltage reduction chip U2, the GND pin of the voltage reduction chip U2 is connected to the ground, the positive electrode of the diode D1 is connected to the ground, the negative electrode of the diode D1 is connected to the first end of the capacitor C7, the first end of the inductor L is connected to the first end of the capacitor C7, the second end of the inductor L outputs the +14.2V power supply, the first end of the capacitor C10 is connected to the second end of the inductor L, the second end of the capacitor C10 is connected to the ground, the first end of the capacitor C11 is connected to the second end of the inductor L, the second end of the capacitor C11 is connected to the ground, the first end of the resistor R5 is connected to the second end of the inductor L, the second end of the resistor R5 is connected to the first end of the resistor R6, the second end of the resistor R6 is connected to the ground, the first end of the capacitor C12 is connected to the second end of the inductor L, the second end of the capacitor C12 is connected to the ground, the first end of the capacitor C8 is connected to the COMP pin of the voltage reduction chip U2, the second end of the capacitor C8 is connected to the first end of the resistor R4, the second end of the resistor R4 is connected to the ground, the first end of the capacitor C9 is connected to the first end of the capacitor C8, the second end of the capacitor C9 is connected to the ground, the VSENSE pin of the voltage reduction chip U2 is connected to the second end of the resistor R5, the positive electrode of the diode D2 is connected to the +14.2V power supply, and the TPS54231 is a commonly used voltage reduction converter chip with an input voltage range of 3.5V to 28V, which is suitable for various power input scenes, and other voltage reduction converter chips can also be used instead.

[0041] Further, the power supply detection unit 4 includes resistors R11, R12, R13, capacitor C14, transistor Q2, resistors R14, R15, transistor Q3, and resistor R16.

[0042] Resistor R11 is connected to the cathode of diode D2. Resistor R11 is connected to the first terminal of resistor R12. Resistor R12 is connected to the base of transistor Q2. Resistor R13 is connected to the first terminal of resistor R11. Resistor R13 is connected to the second terminal of resistor R12. Capacitor C14 is connected to the first terminal of resistor R13. Capacitor C14 is connected to the second terminal of resistor R13. Transistor Q2's emitter is connected to the cathode of diode D2. Transistor Q2's collector is connected to the first terminal of resistor R14. Resistor R14's second terminal is connected to the base of transistor Q3. Resistor R15's first terminal is connected to the base of transistor Q3. Transistor Q3's emitter is grounded. Resistor R16's first terminal is connected to power supply VDD. Resistor R16's second terminal is connected to the collector of transistor Q3. Resistor R16's second terminal is also connected to the detection pin of the main control chip U1. Transistor Q2 is a PNP transistor, and transistor Q3 is an NPN transistor. Capacitor C14 is used to temporarily store electrical energy.

[0043] In addition, the charge and discharge control unit 5 includes resistor R7, transistor Q1, capacitor C13, resistor R8, resistor R9, resistor R10, diode D3, MOSFET QM1, resistor R17, resistor R18, resistor R19, transistor Q4, resistor R20, resistor R21, resistor R22 and capacitor C15.

[0044] Resistor R7 is connected to the first terminal of diode D2, and the second terminal of resistor R7 is connected to the gate of MOSFET QM1. The emitter of transistor Q1 is connected to the first terminal of resistor R7, the collector of transistor Q1 is connected to the second terminal of resistor R7, the base of transistor Q1 is connected to the first terminal of resistor R9, and the second terminal of resistor R9 is connected to the second terminal of resistor R11. Capacitor C13 is connected to the first terminal of resistor R7, and the second terminal of capacitor C13 is connected to the base of transistor Q1. Resistor R8 is connected to the first terminal of capacitor C13, and the second terminal of resistor R8 is connected to the second terminal of capacitor C13. Resistor R10 is connected to the first terminal of resistor R7, and the second terminal of resistor R10 is connected to the second terminal of resistor R9. The anode of diode D3 is connected to the second terminal of resistor R7, and the cathode of diode D3 is connected to the second terminal of resistor R9. The source of MOSFET QM1 is connected to the second terminal of resistor R9, and the drain of MOSFET QM1 is connected to the second terminal of resistor R9. Connect the first terminal of resistor R20, the second terminal of resistor R20 to the first terminal of resistor R21, and the second terminal of resistor R21 to ground. Connect the first terminal of resistor R19 to the second terminal of resistor R7, and the second terminal of resistor R19 to the collector of transistor Q4. The emitter of transistor Q4 is grounded. Connect the first terminal of resistor R17 to the output pin of the main control chip U1, and the second terminal of resistor R17 to the base of transistor Q4. Connect the first terminal of resistor R18 to the second terminal of resistor R17, and the second terminal of resistor R18 to ground. Connect the first terminal of resistor R22 to the input pin of the main control chip U1, and the second terminal of resistor R22 to the second terminal of resistor R20. Connect the first terminal of capacitor C15 to the first terminal of resistor R22, and the second terminal of capacitor C15 to ground. Transistor Q1 is a PNP transistor, transistor Q4 is an NPN transistor, and MOSFET QM1 is a PMOS transistor.

[0045] It is worth mentioning that the power on-off unit 6 comprises a resistor R22, a resistor R23, a resistor R24, a resistor R25, a triode Q5 and a MOS tube QM2;

[0046] The first end of the resistor R22 is connected with the control pin of the main control chip U1, the second end of the resistor R22 is connected with the base of the triode Q5, the first end of the resistor R23 is connected with the ground, the second end of the resistor R23 is connected with the second end of the resistor R22, the emitter of the triode Q5 is connected with the ground, the first end of the resistor R24 is connected with the first end of the resistor R20, the second end of the resistor R24 is connected with the first end of the resistor R25, the second end of the resistor R25 is connected with the collector of the triode Q5, the gate of the MOS tube QM2 is connected with the second end of the resistor R24, the source of the MOS tube QM2 is connected with the first end of the resistor R24, the drain of the MOS tube QM2 is connected with the positive pole of the backup battery 7, the negative pole of the backup battery 7 is connected with the ground, the triode Q5 is an NPN triode, and the MOS tube QM1 is a PMOS tube.

[0047] It is worth noting that the display unit 8 and the alarm unit 9 are further included, and the display unit 8 and the alarm unit 9 are both connected with the main control chip U1 in signal connection, the display unit 8 can use an LCD display screen, the alarm unit 9 can use a buzzer, and the buzzer can cooperate with flashing light to improve the reminding effect.

[0048] Finally, the diode D4 and the diode D5 are further included, the positive pole of the diode D4 is connected with the positive pole of the backup battery 7, the positive pole of the diode D5 is connected with a +14.2V power supply, and the negative pole of the diode D4 and the negative pole of the diode D5 are used as a power supply VDD, so that power supply can be provided at all times, and normal work of the whole circuit is ensured, and voltage reduction processing can be performed according to requirements.

[0049] In use, when the mains input is normal, the AC-DC circuit 2 outputs a +24V power supply, and then the +24V power supply is converted into a +14.2V power supply through the voltage reduction unit 3; the +14.2V power supply charges the capacitor C13 and the capacitor C14, the base of the triode Q1 and the base of the triode Q2 are both high level, the triode Q1 and the triode Q2 are both cut off, the base of the triode Q3 is low level, the detection pin of the main control chip U1 is connected with the power supply VDD and displays high level, which indicates that the power supply is normal, the output pin of the main control chip U1 is low level, the triode Q4 is cut off, the MOS tube QM1 is turned on, the control pin of the main control chip U1 is low level, the triode Q5 is cut off, the MOS tube QM2 is turned on, and the backup battery 7 is charged;

[0050] When power failure occurs, the voltage on the capacitor C14 serves as the power supply of the transistor Q2, the base of the transistor Q2 is low, the transistor Q2 is turned on, the base of the transistor Q3 is high, the transistor Q3 is turned on, the detection pin of the master control chip U1 becomes low, indicating that the power supply is abnormal, at the same time, the backup battery 7 can supply power to the entire circuit, and the user is reminded through the display unit 8 and the alarm unit 9.

[0051] The basic principle, main characteristics and advantages of the present application are shown and described above. Those skilled in the art should understand that the present application is not limited by the above examples, and the above examples and descriptions in the specification are only preferred examples of the present application and are not intended to limit the present application. Without departing from the spirit and scope of the present application, various changes and improvements can be made to the present application, and these changes and improvements all fall within the scope of the present application. The scope of protection of the present application is defined by the appended claims and their equivalents.

Claims

1. A circuit for controlling the on / off switching of a backup battery based on a microcontroller in a medical storage box, comprising a main control unit (1), an AC-DC circuit (2), a step-down unit (3), a power detection unit (4), a charge / discharge control unit (5), a power on / off unit (6), and a backup battery (7), characterized in that: The input terminal of the AC-DC circuit (2) is connected to the mains power and outputs a +24V power supply. The input terminal of the step-down unit (3) is connected to a +24V power supply and outputs a +14.2V power supply. The power detection unit (4) and the charge / discharge control unit (5) are both electrically connected to the step-down unit (3). The charge / discharge control unit (5), the power on / off unit (6), and the backup battery (7) are electrically connected in sequence. The main control unit (1) is used to control the power detection unit (4), the charge / discharge control unit (5), and the power on / off unit (6).

2. The circuit for controlling the on / off switching of a backup battery based on a microcontroller on a medical storage box according to claim 1, characterized in that: The main control unit (1) includes a power supply VDD and a main control chip U1, the model of which is HC32F460KETA.

3. The circuit for controlling the on / off switching of a backup battery based on a microcontroller on a medical storage box according to claim 2, characterized in that: The step-down unit (3) includes capacitors C3, C4, C5, C6, C7, C8, C9, C10, C11, and C12; resistors R2, R3, R4, R5, and R6; inductor L; diode D1; step-down chip U2; and diode D2. The buck converter U2 is model TPS54231. The first terminal of capacitor C3 is connected to the +24V power supply, and the second terminal is grounded. The first terminal of capacitor C4 is connected to the +24V power supply, and the second terminal is grounded. The first terminal of capacitor C5 is connected to the +24V power supply, and the second terminal is grounded. The first terminal of resistor R2 is connected to the +24V power supply, and the second terminal of resistor R2 is connected to the first terminal of resistor R3, which is grounded. The first terminal of capacitor C6 is connected to the SS pin of buck converter U2, and the second terminal is grounded. The VIN pin of buck converter U2 is connected to the +24V power supply. The EN pin of buck converter U2 is connected to the second terminal of resistor R2. The first terminal of capacitor C7 is connected to the PH pin of buck converter U2, and the second terminal is connected to the BOOST pin of buck converter U2. The GND pin of buck converter U2 is grounded. The positive terminal of diode D1 is grounded, and the negative terminal of diode D1 is grounded. The first terminal of capacitor C7 is connected to the first terminal of inductor L, and the second terminal of inductor L outputs a +14.2V power supply. The first terminal of capacitor C10 is connected to the second terminal of inductor L, and the second terminal of capacitor C10 is grounded. The first terminal of capacitor C11 is connected to the second terminal of inductor L, and the second terminal of capacitor C11 is grounded. The first terminal of resistor R5 is connected to the second terminal of inductor L, and the second terminal of resistor R5 is connected to the first terminal of resistor R6, and the second terminal of resistor R6 is grounded. The first terminal of capacitor C12 is connected to the second terminal of inductor L, and the second terminal of capacitor C12 is grounded. The first terminal of capacitor C8 is connected to the COMP pin of buck chip U2, and the second terminal of capacitor C8 is connected to the first terminal of resistor R4, and the second terminal of resistor R4 is grounded. The first terminal of capacitor C9 is connected to the first terminal of capacitor C8, and the second terminal of capacitor C9 is grounded. The VSENSE pin of buck chip U2 is connected to the second terminal of resistor R5. The anode of diode D2 is connected to the +14.2V power supply.

4. The circuit for controlling the on / off switching of a backup battery based on a microcontroller on a medical storage box according to claim 3, characterized in that: The power detection unit (4) includes resistors R11, R12, R13, C14, Q2, R14, R15, Q3, and R16. The first terminal of resistor R11 is connected to the negative terminal of diode D2. The second terminal of resistor R11 is connected to the first terminal of resistor R12. The second terminal of resistor R12 is connected to the base of transistor Q2. The first terminal of resistor R13 is connected to the first terminal of resistor R11. The second terminal of resistor R13 is connected to the second terminal of resistor R12. The first terminal of capacitor C14 is connected to the first terminal of resistor R13. The second terminal of capacitor C14 is connected to the second terminal of resistor R13. The emitter of transistor Q2 is connected to the negative terminal of diode D2. The collector of transistor Q2 is connected to the first terminal of resistor R14. The second terminal of resistor R14 is connected to the base of transistor Q3. The first terminal of resistor R15 is connected to the base of transistor Q3. The emitter of transistor Q3 is grounded. The first terminal of resistor R16 is connected to the power supply VDD. The second terminal of resistor R16 is connected to the collector of transistor Q3. The second terminal of resistor R16 is also connected to the detection pin of the main control chip U1.

5. The circuit for controlling the on / off switching of a backup battery based on a microcontroller on a medical storage box according to claim 4, characterized in that: The charging and discharging control unit (5) includes resistor R7, transistor Q1, capacitor C13, resistor R8, resistor R9, resistor R10, diode D3, MOSFET QM1, resistor R17, resistor R18, resistor R19, transistor Q4, resistor R20, resistor R21, resistor R22 and capacitor C15. Resistor R7 is connected to the first terminal of diode D2, and the second terminal of resistor R7 is connected to the gate of MOSFET QM1. The emitter of transistor Q1 is connected to the first terminal of resistor R7, the collector of transistor Q1 is connected to the second terminal of resistor R7, the base of transistor Q1 is connected to the first terminal of resistor R9, and the second terminal of resistor R9 is connected to the second terminal of resistor R11. Capacitor C13 is connected to the first terminal of resistor R7, and the second terminal of capacitor C13 is connected to the base of transistor Q1. Resistor R8 is connected to the first terminal of capacitor C13, and the second terminal of resistor R8 is connected to the second terminal of capacitor C13. Resistor R10 is connected to the first terminal of resistor R7, and the second terminal of resistor R10 is connected to the second terminal of resistor R9. The anode of diode D3 is connected to the second terminal of resistor R7, and the cathode of diode D3 is connected to the second terminal of resistor R9. MOSFET QM1...

1. The source of MOSFET QM1 is connected to the second terminal of resistor R9. The drain of MOSFET QM1 is connected to the first terminal of resistor R20. The second terminal of resistor R20 is connected to the first terminal of resistor R21. The second terminal of resistor R21 is grounded. The first terminal of resistor R19 is connected to the second terminal of resistor R7. The second terminal of resistor R19 is connected to the collector of transistor Q4. The emitter of transistor Q4 is grounded. The first terminal of resistor R17 is connected to the output pin of main control chip U1. The second terminal of resistor R17 is connected to the base of transistor Q4. The first terminal of resistor R18 is connected to the second terminal of resistor R17. The second terminal of resistor R18 is grounded. The first terminal of resistor R22 is connected to the input pin of main control chip U1. The second terminal of resistor R22 is connected to the second terminal of resistor R20. The first terminal of capacitor C15 is connected to the first terminal of resistor R22. The second terminal of capacitor C15 is grounded.

6. The circuit for controlling the on / off switching of a backup battery based on a microcontroller on a medical storage box according to claim 5, characterized in that: The power supply switching unit (6) includes resistors R22, R23, R24, and R25, transistor Q5, and MOSFET QM2; The first end of resistor R22 is connected to the control pin of the main control chip U1, the second end of resistor R22 is connected to the base of transistor Q5, the first end of resistor R23 is grounded, the second end of resistor R23 is connected to the second end of resistor R22, the emitter of transistor Q5 is grounded, the first end of resistor R24 ​​is connected to the first end of resistor R20, the second end of resistor R24 ​​is connected to the first end of resistor R25, the second end of resistor R25 is connected to the collector of transistor Q5, the gate of MOSFET QM2 is connected to the second end of resistor R24, the source of MOSFET QM2 is connected to the first end of resistor R24, the drain of MOSFET QM2 is connected to the positive terminal of the backup battery (7), and the negative terminal of the backup battery (7) is grounded.

7. The circuit for controlling the on / off switching of a backup battery based on a microcontroller on a medical storage box according to claim 1, characterized in that: It also includes a display unit (8) and an alarm unit (9), both of which are connected to the main control chip U1 via signals.

8. The circuit for controlling the on / off switching of a backup battery based on a microcontroller on a medical storage box according to claim 1, characterized in that: It also includes diodes D4 and D5. The positive terminal of diode D4 is connected to the positive terminal of the backup battery (7), the positive terminal of diode D5 is connected to a +14.2V power supply, and the negative terminals of diodes D4 and D5 serve as the power supply VDD.