Anti-power-off protection circuit of computer
By detecting the voltage status of the power supply voltage and battery voltage detection modules and driving the alarm prompt, the problem of not being able to be known in time when the battery is insufficient is solved, and data protection of the computer when the battery is powered is realized.
Patent Information
- Application Number
- CN202422158161.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2034-09-04
AI Technical Summary
When the battery power is insufficient, the user cannot know it in time, which may cause the computer to suddenly lose power when the battery is powered by the battery, resulting in data loss.
A computer power-off protection circuit is designed to detect the power supply and battery voltage status through the power supply voltage detection module and the battery voltage detection module, and drive the alarm prompt module to work when the battery voltage is below the threshold value to remind the user to turn off the computer.
It realizes prompting users when the battery is insufficient, avoiding the computer suddenly powered off when the battery is powered, and protecting data from loss.
Smart Images

Figure CN223284285U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of power supply protection, in particular to a power-off protection circuit for a computer. Background Art
[0002] If a computer experiences a sudden power outage while in use, it can result in the loss of data being processed or saved, especially when editing important files or performing critical operations. Power outage protection ensures that in the event of a power outage, the computer has enough time to save data and shut down safely, thus preventing data loss.
[0003] The existing technology often sets up an extra battery as a backup power source, and switches to the battery power supply after the power supply voltage is disconnected. The disadvantage is that when the battery power is low, the user is not aware of this situation, and continuing to use the computer to work will still cause the computer to power off. This needs to be improved. Utility Model Content
[0004] The purpose of the present utility model is to provide a computer power-off protection circuit to solve the problems raised in the above background technology.
[0005] To achieve the above objectives, the present invention provides the following technical solutions:
[0006] A computer power-off protection circuit, comprising:
[0007] The power supply voltage detection module is used to detect the power supply voltage. When the power supply voltage is supplied, the module provides a voltage signal to the dual power supply module. When the power supply voltage is disconnected, the module does not provide a voltage signal to the dual power supply module.
[0008] A dual power supply module, configured to use the power supply voltage as a power supply to power the computer when a voltage signal is received, and use the battery as a power supply to power the computer when no voltage signal is received;
[0009] The battery voltage detection module is used to detect the battery voltage. When the battery voltage is lower than the set threshold, the alarm prompt module is driven to work;
[0010] Alarm prompt module, used to sound the alarm during operation;
[0011] The power supply voltage detection module is connected to the dual power supply module, the dual power supply module is connected to the battery voltage detection module, and the battery voltage detection module is connected to the alarm prompt module.
[0012] As a further solution of the present invention: the power supply voltage detection module includes a resistor R2, a resistor R3, and an optocoupler U1, one end of the resistor R2 is connected to the power supply voltage VCC, the other end of the resistor R2 is connected to the first end of the optocoupler U1, the second end of the optocoupler U1 is grounded, the third end of the optocoupler U1 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the power supply voltage, and the fourth end of the optocoupler U1 is connected to the dual power supply module.
[0013] As a further solution of the present utility model: a dual power supply module includes a resistor R1, a diode D1, a battery E1, a diode D2, a MOS tube V1, and a diode D3. One end of the resistor R1 is connected to the power supply voltage, the other end of the resistor R1 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the positive electrode of the battery E1, the battery voltage detection module, and the positive electrode of the diode D2, the negative electrode of the battery E1 is grounded, the negative electrode of the diode D2 is connected to the S electrode of the MOS tube V1, the G electrode of the MOS tube V1 is connected to the power supply voltage detection module, the D electrode of the MOS tube V1 is connected to the negative electrode of the diode D3 and the computer electrical equipment, and the positive electrode of the diode D3 is connected to the power supply voltage.
[0014] As a further solution of the present invention: the battery voltage detection module includes a diode D4, a diode D5, a diode D6, a diode D7, a diode D8, a resistor R4, a resistor R5, a transistor V2, a transistor V3, and an OR gate U2, one end of the resistor R4 is connected to one end of the resistor R5, the cathode of the diode D4, the cathode of the diode D7, and the dual power supply module, the other end of the resistor R4 is connected to the collector of the transistor V2, the emitter of the transistor V2 is connected to one end of the input of the OR gate, and the other end of the resistor R5 is connected to the transistor V3 The collector of the transistor V3 is connected to the other end of the input of the OR gate U2, the output of the OR gate U2 is connected to the alarm prompt module, the anode of the diode D4 is connected to the cathode of the diode D5, the anode of the diode D5 is connected to the anode of the diode D6, the cathode of the diode D6 is grounded, the anode of the diode D7 is connected to the anode of the diode D8, the cathode of the diode D8 is grounded, the diode D6 is a light emitting diode, which illuminates the base of the phototransistor V2 when it emits light, and the diode D8 is a light emitting diode, which illuminates the base of the phototransistor V3 when it emits light.
[0015] As a further solution of the present utility model: the alarm prompt module includes a resistor R6, a diode D9, a MOS tube V4, and a speaker SPEAKER. One end of the resistor R6 is connected to the dual power supply module, the other end of the resistor R6 is connected to the positive electrode of the diode D9, the negative electrode of the diode D9 is connected to the S electrode of the MOS tube V4, the G electrode of the MOS tube V4 is connected to the battery voltage detection module, the D electrode of the MOS tube V4 is connected to one end of the speaker SPEAKER, and the other end of the speaker SPEAKER is grounded.
[0016] Compared with the existing technology, the beneficial effect of the present invention is that the present invention detects the voltage condition of the backup battery through the battery voltage detection module. When the battery power is low, it will drive the alarm prompt module to work to prompt the user to stop working in time to avoid data loss caused by power failure of the computer when it is powered by the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 The present invention is a schematic diagram of a computer power-off protection circuit.
[0018] Figure 2 This is the circuit diagram of the power supply voltage detection module and the dual power supply module.
[0019] Figure 3 This is the circuit diagram of the battery voltage detection module and the alarm prompt module. DETAILED DESCRIPTION
[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0021] See also Figure 1 , a computer power-off protection circuit, comprising:
[0022] The power supply voltage detection module is used to detect the power supply voltage. When the power supply voltage is supplied, the module provides a voltage signal to the dual power supply module. When the power supply voltage is disconnected, the module does not provide a voltage signal to the dual power supply module.
[0023] A dual power supply module, configured to use the power supply voltage as a power supply to power the computer when a voltage signal is received, and use the battery as a power supply to power the computer when no voltage signal is received;
[0024] The battery voltage detection module is used to detect the battery voltage. When the battery voltage is lower than the set threshold, the alarm prompt module is driven to work;
[0025] Alarm prompt module, used to sound the alarm during operation;
[0026] The power supply voltage detection module is connected to the dual power supply module, the dual power supply module is connected to the battery voltage detection module, and the battery voltage detection module is connected to the alarm prompt module.
[0027] In this example: See Figure 2The power supply voltage detection module includes a resistor R2, a resistor R3, and an optocoupler U1. One end of the resistor R2 is connected to the power supply voltage VCC, the other end of the resistor R2 is connected to the first end of the optocoupler U1, the second end of the optocoupler U1 is grounded, the third end of the optocoupler U1 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the power supply voltage, and the fourth end of the optocoupler U1 is connected to the dual power supply module.
[0028] When the power supply voltage VCC is supplied, the internal light-emitting diode of the optocoupler U1 lights up, and the internal phototransistor is turned on, so that the fourth terminal of the optocoupler U1 outputs a voltage signal to supply the dual power supply module. When the power supply voltage VCC is disconnected, the fourth terminal of the optocoupler U1 does not output a voltage signal to supply the dual power supply module.
[0029] In this example: See Figure 2 The dual power supply module includes a resistor R1, a diode D1, a battery E1, a diode D2, a MOS transistor V1, and a diode D3. One end of the resistor R1 is connected to the power supply voltage, the other end of the resistor R1 is connected to the anode of the diode D1, the cathode of the diode D1 is connected to the anode of the battery E1, the battery voltage detection module, and the anode of the diode D2, the cathode of the battery E1 is grounded, the cathode of the diode D2 is connected to the S electrode of the MOS transistor V1, the G electrode of the MOS transistor V1 is connected to the power supply voltage detection module, the D electrode of the MOS transistor V1 is connected to the cathode of the diode D3 and the computer electrical equipment, and the anode of the diode D3 is connected to the power supply voltage.
[0030] When the power supply voltage VCC is supplied, the G electrode of the MOS tube V1 (PMOS) receives a voltage signal, and the MOS tube V1 is disconnected. At this time, the battery E1 does not supply power, and the power supply voltage VCC supplies power to the computer electrical equipment through the diode D3. At the same time, the battery E1 is charged. When the power supply voltage VCC is disconnected, the G electrode of the MOS tube V1 does not receive a voltage signal and is at a low level. The MOS tube V1 is turned on, and the battery E1 supplies power to the computer electrical equipment through the diode D2 and the MOS tube V1.
[0031] In this example: See Figure 3The battery voltage detection module includes a diode D4, a diode D5, a diode D6, a diode D7, a diode D8, a resistor R4, a resistor R5, a transistor V2, a transistor V3, and an OR gate U2. One end of the resistor R4 is connected to one end of the resistor R5, the cathode of the diode D4, the cathode of the diode D7, and a dual power supply module. The other end of the resistor R4 is connected to the collector of the transistor V2, the emitter of the transistor V2 is connected to one end of the input terminal of the OR gate, the other end of the resistor R5 is connected to the collector of the transistor V3, and the transistor The emitter of tube V3 is connected to the other end of the input end of OR gate U2, the output end of OR gate U2 is connected to the alarm prompt module, the anode of diode D4 is connected to the cathode of diode D5, the anode of diode D5 is connected to the anode of diode D6, the cathode of diode D6 is grounded, the anode of diode D7 is connected to the anode of diode D8, the cathode of diode D8 is grounded, diode D6 is a light emitting diode, which illuminates the base of phototransistor V2 when it emits light, and diode D8 is a light emitting diode, which illuminates the base of phototransistor V3 when it emits light.
[0032] When the voltage of battery E1 is sufficient, Zener diodes D4, D5, and D7 are all turned on, and light-emitting diodes D6 and D8 illuminate the bases of transistors V2 and V3 respectively, making transistors V2 and V3 turned on, the input terminals of OR gate U2 are both high, and the OR gate outputs a high level; as battery E1 supplies power, the voltage drops, and Zener diodes D4 and D5 are not turned on, while Zener diode D7 is turned on. At this time, only light-emitting diode D8 illuminates the base of transistor V3, and transistor V3 is turned on. One of the input terminals of OR gate U2 is still high, and OR gate U2 outputs a high level; when the voltage of battery E1 drops further, diode D7 is also turned off, and light-emitting diode D8 is also turned off, and phototransistor V3 is cut off. At this time, the input terminals of OR gate U2 are both low, and OR gate U2 outputs a low level. The base of the phototransistor V2 receives light only from the diode D6, and the base of the phototransistor V3 receives light only from the diode D8.
[0033] In this example: See Figure 3 The alarm prompt module includes a resistor R6, a diode D9, a MOS tube V4, and a speaker SPEAKER. One end of the resistor R6 is connected to the dual power supply module, the other end of the resistor R6 is connected to the positive electrode of the diode D9, the negative electrode of the diode D9 is connected to the S electrode of the MOS tube V4, the G electrode of the MOS tube V4 is connected to the battery voltage detection module, the D electrode of the MOS tube V4 is connected to one end of the speaker SPEAKER, and the other end of the speaker SPEAKER is grounded.
[0034] OR gate U2 outputs a low level. At this time, the voltage of battery E1 drops to the threshold. At this time, the G terminal of MOS tube V4 (PMOS) is at a low level, MOS tube V4 is turned on, and the speaker SPEAKER beeps to remind the user to shut down the computer in time to avoid data loss.
[0035] The working principle of the utility model is as follows: the power supply voltage detection module is used to detect the power supply voltage, and when the power supply voltage is supplied, the dual power supply module is provided with a voltage signal, and after the power supply voltage is disconnected, the dual power supply module is not provided with a voltage signal; the dual power supply module is used to use the power supply voltage as the power supply to power the computer when the voltage signal is received, and when no voltage signal is received, the battery is used as the power supply to power the computer; the battery voltage detection module is used to detect the battery voltage, and when the battery voltage is lower than a set threshold, the alarm prompt module is driven to work; the alarm prompt module is used to sound an alarm when working.
[0036] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be considered in all respects as exemplary and non-restrictive.
[0037] In addition, it should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. A computer power-off protection circuit, characterized in that: The computer's power-off protection circuit includes: The power supply voltage detection module is used to detect the power supply voltage. When the power supply voltage is supplied, the module provides a voltage signal to the dual power supply module. When the power supply voltage is disconnected, the module does not provide a voltage signal to the dual power supply module. A dual power supply module, configured to use the power supply voltage as a power supply to power the computer when a voltage signal is received, and use the battery as a power supply to power the computer when no voltage signal is received; The battery voltage detection module is used to detect the battery voltage. When the battery voltage is lower than the set threshold, the alarm prompt module is driven to work; Alarm prompt module, used to sound the alarm during operation; The power supply voltage detection module is connected to the dual power supply module, the dual power supply module is connected to the battery voltage detection module, and the battery voltage detection module is connected to the alarm prompt module.
2. The computer power-off protection circuit according to claim 1, wherein: The power supply voltage detection module includes a resistor R2, a resistor R3, and an optocoupler U1. One end of the resistor R2 is connected to the power supply voltage VCC, the other end of the resistor R2 is connected to the first end of the optocoupler U1, the second end of the optocoupler U1 is grounded, the third end of the optocoupler U1 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the power supply voltage, and the fourth end of the optocoupler U1 is connected to the dual power supply module.
3. The computer power-off protection circuit according to claim 2, wherein: The dual power supply module includes a resistor R1, a diode D1, a battery E1, a diode D2, a MOS transistor V1, and a diode D3. One end of the resistor R1 is connected to the power supply voltage, the other end of the resistor R1 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the positive electrode of the battery E1, the battery voltage detection module, and the positive electrode of the diode D2, the negative electrode of the battery E1 is grounded, the negative electrode of the diode D2 is connected to the S electrode of the MOS transistor V1, the G electrode of the MOS transistor V1 is connected to the power supply voltage detection module, the D electrode of the MOS transistor V1 is connected to the negative electrode of the diode D3 and the computer electrical equipment, and the positive electrode of the diode D3 is connected to the power supply voltage.
4. The computer power-off protection circuit according to claim 1 or 3, characterized in that: The battery voltage detection module includes a diode D4, a diode D5, a diode D6, a diode D7, a diode D8, a resistor R4, a resistor R5, a transistor V2, a transistor V3, and an OR gate U2. One end of the resistor R4 is connected to one end of the resistor R5, the cathode of the diode D4, the cathode of the diode D7, and a dual power supply module. The other end of the resistor R4 is connected to the collector of the transistor V2. The emitter of the transistor V2 is connected to one end of the input terminal of the OR gate. The other end of the resistor R5 is connected to the collector of the transistor V3. The emitter of tube V3 is connected to the other end of the input end of OR gate U2, the output end of OR gate U2 is connected to the alarm prompt module, the anode of diode D4 is connected to the cathode of diode D5, the anode of diode D5 is connected to the anode of diode D6, the cathode of diode D6 is grounded, the anode of diode D7 is connected to the anode of diode D8, the cathode of diode D8 is grounded, diode D6 is a light emitting diode, which illuminates the base of phototransistor V2 when it emits light, and diode D8 is a light emitting diode, which illuminates the base of phototransistor V3 when it emits light.
5. The computer power-off protection circuit according to claim 1, wherein: The alarm prompt module includes a resistor R6, a diode D9, a MOS tube V4, and a speaker SPEAKER. One end of the resistor R6 is connected to the dual power supply module, the other end of the resistor R6 is connected to the positive electrode of the diode D9, the negative electrode of the diode D9 is connected to the S electrode of the MOS tube V4, the G electrode of the MOS tube V4 is connected to the battery voltage detection module, the D electrode of the MOS tube V4 is connected to one end of the speaker SPEAKER, and the other end of the speaker SPEAKER is grounded.