Power supply control circuit of electronic equipment and electronic equipment
By designing a power-off detection circuit and a power supply control circuit for the control switch in electronic equipment, the problems of data loss and device damage caused by abnormal power off in electronic equipment are solved, and the orderly reduction of the main voltage and timely preservation of data are achieved.
Patent Information
- Application Number
- CN202510757030.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-09-23
AI Technical Summary
Abnormal power failure in electronic devices may cause the failure to save critical data and damage the device, especially OLED, which may cause afterimages due to abnormal power failure timing.
A power supply control circuit for electronic equipment is designed, including a power-off detection circuit and a control switch. The circuit generates a power-off control signal by detecting the power-off state of an external power signal. The control switch disconnects the power supply when the power-off signal is detected, ensuring an orderly drop in the main voltage. The control switch also generates a data preservation control signal after detecting the power-off.
It effectively avoids abnormalities in electronic equipment caused by sudden power failure, ensures the preservation of key data and protection of devices, and avoids damage caused by abnormal power failure timing.
Smart Images

Figure CN120691308A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of electronic technology, and in particular to a power supply control circuit of an electronic device and the electronic device. Background Art
[0002] The circuit boards of electronic devices typically consist of a power module, a mainboard, and other control circuit boards. To meet the power supply requirements of different boards, electronic devices will have multiple voltage outputs after connecting to a 220V AC power source. For example, after the power module of an electronic device is powered on, the internal standby voltage is powered on first. This voltage is independent of the mainboard control and only depends on whether the power module is powered. The standby voltage supplies power to the mainboard. When the mainboard is connected to the standby voltage, it pulls up the power enable pin to control the activation of the various output voltages of the power supply (i.e., the main voltage). The main voltage then powers each circuit board, and the system starts normally. When shutting down, the mainboard initiates the shutdown process, saves data, closes the program, and pulls down the output control pin of the power module to shut down the main voltage as required.
[0003] However, in actual use, resistor devices may frequently experience abnormal power outages, such as unplugging the 220V power strip when shutting down or experiencing a sudden power outage during operation. Sudden power outages in electronic devices can cause critical data to be lost. Devices sensitive to power outage timing can also be affected by these frequent power outages. For example, organic light-emitting diodes (OLEDs) can experience charge retention due to abnormal power-down timing, resulting in residual images when powered back on. Therefore, abnormal power outages in electronic devices can cause them to malfunction. Summary of the Invention
[0004] Embodiments of the present invention provide a power supply control circuit for an electronic device and the electronic device, so as to solve the problem that abnormality may occur in the electronic device after abnormal power failure.
[0005] To solve the above problems, the present invention is achieved as follows:
[0006] In a first aspect, an embodiment of the present invention provides a power supply control circuit for an electronic device, comprising:
[0007] A power module is connected to the power input terminal to obtain an external power signal;
[0008] a power-off detection circuit connected to the power input terminal, configured to detect whether the external power signal enters a power-off state, and generate a power-off control signal when the external power signal enters a power-off state;
[0009] The main control circuit board of the electronic device is connected to the power module to obtain a power signal.
[0010] In some embodiments, further comprising:
[0011] The first control switch is connected to the power module and the power load respectively to provide a power signal to the power load. The first control switch is also connected to the power failure detection circuit. The first control switch is configured to be disconnected when the power failure control signal is detected.
[0012] In some embodiments, further comprising:
[0013] A second control switch, wherein the second control switch and the first control switch are connected in series to the circuit between the load and the power module, and the second control switch is connected to the main control circuit board to be turned on or off under the control of the main circuit board.
[0014] In some embodiments, a response time of the first control switch is less than a discharge delay of the power module.
[0015] In some embodiments, the main control circuit board is further connected to the power-off detection circuit, and the main control circuit board is configured to generate a data preservation control signal after obtaining the power-off control signal.
[0016] In some embodiments, the power-off detection circuit includes:
[0017] A rectifier circuit, connected to the input terminal of the power supply, for rectifying the AC input power signal into a DC power signal;
[0018] The control sub-circuit is connected to the power-off detection circuit and is used to generate a power-off protection control signal when the power supply enters a power-off state.
[0019] In some embodiments, the control subcircuit includes a photocoupler, and the photocoupler includes:
[0020] a light emitting diode, a cathode connected to the first node, and an anode connected to the second node;
[0021] The photosensitive element has a first end connected to the power signal end and a second end used to provide the power-off protection control signal.
[0022] In some embodiments, the rectifier circuit includes:
[0023] a first diode, an anode connected to the first node, and a cathode connected to the first input terminal of the power supply;
[0024] a second diode, an anode of which is connected to the cathode of the first diode, and a cathode of which is connected to the second node;
[0025] a third diode, an anode connected to the first node, and a cathode connected to the second input terminal of the power supply;
[0026] a fourth diode, an anode connected to the cathode of the third diode, and a cathode connected to the second node;
[0027] A rectifier capacitor has a first end connected to the first node and a second end connected to the second node.
[0028] In some embodiments, further comprising:
[0029] The current limiting sub-circuit is provided between the rectifier sub-circuit and the power-off detection circuit, and is used to reduce the loop current of the power-off detection circuit.
[0030] In a second aspect, an embodiment of the present application provides an electronic device, comprising the power supply control circuit of the electronic device described in any one of the first aspects.
[0031] The embodiment of the present application performs power-off detection by setting a power-off detection circuit and generates a power-off control signal according to the detection result, so as to respond promptly when the electronic device loses power and reduce the possibility of abnormality of the electronic device due to power failure. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in describing the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0033] Figure 1 1 is a schematic structural diagram of a power supply control circuit of an electronic device provided by an embodiment of the present invention;
[0034] Figure 2 This is a schematic diagram of the main voltage waveform of an electronic device in a power-off state in the related art;
[0035] Figure 3 This is another schematic diagram of the main voltage waveform of an electronic device in a power-off state in the related art;
[0036] Figure 4 1 is a schematic diagram of a main voltage waveform of an electronic device in a power-off state according to an embodiment of the present invention;
[0037] Figure 5 is a circuit diagram of a power supply control circuit provided by an embodiment of the present invention;
[0038] Figure 6 is a schematic diagram of the working process of an electronic device in one embodiment of the present invention;
[0039] Figure 7 is a control circuit diagram of a second control switch in one embodiment of the present invention;
[0040] Figure 8 is a schematic diagram of a working process of another electronic device in one embodiment of the present invention;
[0041] Figure 9 This is a schematic diagram of the main voltage waveform of the electronic device in the power-on state in the related art;
[0042] Figure 10 It is a schematic diagram of the main voltage waveform of the electronic device in the power-on state according to one embodiment of the present invention. DETAILED DESCRIPTION
[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0044] The terms "first", "second" etc. in the embodiments of the present invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or that are inherent to these processes, methods, products or equipment. In addition, "and / or" is used in this application to represent at least one of the connected objects, for example A and / or B and / or C, which means comprising 7 situations including single A, single B, single C, and both A and B exist, both B and C exist, both A and C exist, and both A, B and C exist.
[0045] An embodiment of the present invention provides a power supply control circuit for an electronic device.
[0046] like Figure 1 As shown in one embodiment, the electronic device includes a main control circuit board 102 and a power load 104. The power supply control circuit includes a power supply module 101 and a power failure detection circuit 103.
[0047] The power module 101 is connected to a power input terminal 105 to obtain an external power signal. Here, the power input terminal 105 may include, but is not limited to, a power input terminal such as a socket or a power supply circuit. The external power signal may be AC power, illustratively, 110V, 220V, or 380V AC power. The main control circuit board 102 of the electronic device is connected to the power module 101 to obtain the power signal required for operation.
[0048] The power-off detection circuit 103 is connected to the power input terminal 105. The power-off detection circuit 103 is used to detect whether the external power signal enters the power-off state. In this way, when the external power signal is powered off, the power-off state of the external power signal can be immediately detected. When the external power signal enters the power-off state, the power-off detection circuit 103 simultaneously generates a power-off control signal to control the corresponding components to perform abnormal processing for the power-off state.
[0049] See also Figure 2 , Figure 2 This is a schematic diagram of the power supply status of an electronic device, wherein the upper line represents the external power signal. When the external power signal is 0 (the horizontal line part), it means that the power is off. The lower line represents the main voltage of the main control circuit board 102 of the electronic device.
[0050] Depend on Figure 2 It can be seen that when the power is lost, the energy storage device on the power module 101 needs a certain amount of time to discharge, which causes the main voltage to be maintained for a short period of time. In other words, the main voltage begins to drop after a certain delay. For the electronic device used in the test of this embodiment, the delay is about 70 milliseconds (ms). The technical solution of this embodiment detects the power-off state of the external power signal through the power-off detection circuit 103, and uses the delay from the external power signal being lost to the main voltage dropping in the electronic device to perform abnormal processing to avoid abnormalities in the electronic device.
[0051] In some instances, the power supply control circuit further includes a first control switch S1, which is respectively connected to the power module 101 and the power load 104 to provide a power signal to the power load 104. The first control switch S1 is also connected to the power-off detection circuit 103, and the first control switch S1 is configured to disconnect when a power-off control signal is detected.
[0052] In some embodiments, the first control switch S1 can be a relay or a field effect transistor (MOS). The response time of a relay is generally about 10 ms, and the response time of a MOS device is generally in the nanosecond level. Thus, the control response time is much less than 70 ms, thereby ensuring that the second main voltage V2 provided by the circuit where the first control switch S1 is located can be quickly disconnected and stop providing the voltage signal. Figure 3 As shown, after the electronic device in the related art loses power, the main voltages of multiple channels begin to drop almost simultaneously, such as Figure 4 As shown, in this embodiment, the two main voltages can be reduced and powered off in a certain order.
[0053] In the technical solution of this embodiment, the response time of the first control switch S1 needs to be less than the discharge delay of the power module 101. In this way, the multiple main voltages can be powered off in a certain order, avoiding the abnormality caused by the simultaneous power off of multiple main voltages of the electronic device.
[0054] In some embodiments, the main control circuit board 102 is also connected to the power-off detection circuit 103. The main control circuit board 102 is configured to generate a data storage control signal after obtaining the power-off control signal. In this way, when the power-off control signal is detected, the electronic device can save data in response to the data storage control signal, and at the same time, orderly shut down the power supply status of some power loads 104 or power modules to avoid adverse effects caused by sudden power failure of the electronic device.
[0055] like Figure 5 As shown, in some embodiments, the power failure detection circuit 103 includes:
[0056] The rectifier circuit 1031 is connected to the input terminal of the power supply and is used to rectify the AC input power signal into a DC power signal.
[0057] In this embodiment, the input end of the power supply is connected to the live wire L and the neutral wire N of the mains. In some embodiments, a fuse F may be provided for safety reasons. The circuit also includes an electrical appliance R1.
[0058] The control sub-circuit 1032 is connected to the power-off detection circuit 103 and is used to generate a power-off protection control signal when the power supply enters a power-off state.
[0059] Furthermore, in some embodiments, the rectifier circuit 1031 includes:
[0060] a first diode D1, an anode of which is connected to the first node N1, and a cathode of which is connected to the first input terminal of the power supply;
[0061] A second diode D2, an anode of which is connected to the cathode of the first diode D1, and a cathode of which is connected to the second node N2;
[0062] a third diode D3, an anode of which is connected to the first node N1, and a cathode of which is connected to the second input terminal of the power supply;
[0063] a fourth diode D4, an anode connected to the cathode of the third diode D3, and a cathode connected to the second node N2;
[0064] The rectifier capacitor C1 has a first end connected to the first node N1 and a second end connected to the second node N2.
[0065] In this embodiment, one of the first input terminal and the second input terminal of the power supply may be the live wire L, and the other may be the neutral wire N.
[0066] Furthermore, in some embodiments, the method further comprises:
[0067] The current limiting sub-circuit 1033 is disposed between the rectifier sub-circuit 1031 and the power-off detection circuit 103 and is used to reduce the loop current of the power-off detection circuit 103. In some embodiments, the current limiting sub-circuit 1033 includes multiple resistors. For example, when the external power signal is 220V AC, a resistor R2 and a resistor R3 can be connected in series with the neutral line N and the live line L, respectively, to form the current limiting sub-circuit 1033. For example, in this embodiment, two 30kΩ resistors R2 and R3 are selected to form the current limiting sub-circuit 1033. During implementation, the resistor values can be selected as needed and are not further limited in this embodiment.
[0068] Furthermore, in some embodiments, the control sub-circuit 1032 includes a photocoupler OP, and the photocoupler OP includes:
[0069] A light emitting diode, with a cathode connected to the first node N1 and an anode connected to the second node N2;
[0070] The photosensitive element has a first end connected to the power signal end and a second end used to provide a power-off protection control signal.
[0071] An optocoupler (OP) typically consists of an input side (driving side) and an output side. The input side is typically an LED (light-emitting diode), which receives electrical signals and emits light. The output side (detection side) is typically a photosensitive element such as a phototransistor, photodiode, or photoresistor. The output side receives light signals and converts them into electrical signals.
[0072] The optocoupler OP may further include an isolation layer, which is usually a transparent insulating material such as epoxy resin and can ensure that there is no direct electrical connection between the input and output.
[0073] During operation, when voltage is applied to the input end, the LED emits light, the light passes through the isolation layer, and illuminates the photosensitive element on the output side. The photosensitive element receives the light signal and converts it into an electrical signal, such as a current or voltage change. The subsequent circuit performs corresponding operations based on the output signal on the output end side, that is, the power-off protection control signal provided by the second end of the photosensitive element.
[0074] For example, Figure 5 As shown, the third node N3 provides a first level signal, and the current signal or level signal at the output end of the optocoupler OP is a certain measured value. When the photosensor receives a light signal, its electrical properties change, and the electrical signal at the output end of the optocoupler OP also changes. When this changed signal is detected, it is considered that a power-off control signal has been received.
[0075] In some embodiments, the back-end control circuit further includes:
[0076] a fifth resistor R5, one end of which is connected to the output end of the photocoupler OP, and the other end of which is connected to the seventh node N7;
[0077] a sixth resistor R6, one end of which is connected to the seventh node N7, and the other end of which is connected to the ground;
[0078] A first transistor Q1, having a control electrode connected to the seventh node N7 and a second end connected to the ground line;
[0079] a seventh resistor R7, one end of which is connected to the first end of the first transistor Q1, and the other end of which is connected to the first control end of the first relay IEC1;
[0080] a first voltage stabilizing diode D5 , having an anode connected to the first control terminal of the first relay IEC1 and a cathode connected to the second control terminal of the first relay IEC1 ;
[0081] A fourth node N4 is connected to the second control terminal of the first relay IEC1 and is used to provide a second level signal;
[0082] The first relay IEC1 has an input end connected to the fifth node N5 and an output end connected to the sixth node N6. Thus, when the first relay IEC1 is turned on, the signal of the fifth node N5 can be provided to the sixth node N6.
[0083] The eighth resistor R8 has one end connected to the fourth node N4 and the other end grounded.
[0084] Here, the first relay IEC1 is used as the first control switch S1 .
[0085] like Figure 6 As shown, the technical solution of this embodiment can be summarized as follows: when the electronic device is operating normally, it detects whether the power has been lost. If the power is not lost, the electronic device can still operate normally. In this case, the power failure status is continuously monitored. When the power fails, the first control switch S1 is controlled to close during the short period before the main voltage returns to zero. At this time, the second main voltage V2 is de-energized. After a certain delay, the first main voltage V1 is de-energized. In this way, the various modules of the device can be shut down in an orderly manner.
[0086] Furthermore, in some embodiments, a second control switch S2 is further included, and the second control switch S2 and the first control switch S1 are connected in series in the circuit between the load 104 and the power module 101, and the second control switch S2 is connected to the main control circuit board 102 to be turned on or off under the control of the main control circuit board 102.
[0087] like Figure 7 As shown, in one embodiment, the control circuit of the second control switch S2 includes:
[0088] a ninth resistor R9, one end of which is connected to the control terminal of the main control circuit board 102, and the other end of which is connected to the eighth node N8;
[0089] a tenth resistor R10, one end of which is connected to the eighth node N8, and the other end of which is connected to the ground;
[0090] a second transistor Q2, having a control electrode connected to the eighth node N8 and a second end connected to the ground;
[0091] an eleventh resistor R11, one end of which is connected to the first end of the second transistor Q2, and the other end of which is connected to the first control end of the second relay IEC2;
[0092] a second voltage stabilizing diode D6, an anode of which is connected to the first control terminal of the second relay IEC2, and a cathode of which is connected to the second control terminal of the second relay IEC2;
[0093] A ninth node N9 is connected to the second control terminal of the second relay IEC2 and is used for providing a third level signal;
[0094] The second relay IEC2 has an input end connected to the tenth node N10 and an output end connected to the eleventh node N11. Thus, when the second relay IEC2 is turned on, the signal at the tenth node N10 can be provided to the eleventh node N11.
[0095] A second capacitor C2, one end of which is connected to the tenth node N10, and the other end of which is grounded;
[0096] The third capacitor C3 has one end connected to the eleventh node N11 and the other end grounded.
[0097] like Figure 8 As shown, when the electronic device is powered on, the main control circuit board 102 starts first and controls the power module 101 to simultaneously turn on all output voltages via the voltage control output signal terminal VOCP. At the same time, the first control switch S1 is already turned on after the power is applied. The second main voltage V2 can be supplied via the first control switch S1 and the second control switch S2. The second control switch S2 is controlled by the main control circuit board 102 and can adjust its on-time at any time, thereby delaying the power-on of the second main voltage V2. In this way, even if the power module 101 does not support timing control, the main control circuit board 102 can still achieve timing control of the various voltage outputs during power-up.
[0098] like Figure 9 and Figure 10 As shown in the figure, the two waveforms represent the two main voltages. Figure 9 In the related technology shown, the two main voltages are powered on at the same time. Figure 10 In the embodiment, after applying the technical solution of this embodiment, the two main voltages can be powered on in different timings.
[0099] The present application also provides an electronic device, comprising the power supply control circuit of any electronic device in the first aspect.
[0100] Since the technical solution of this embodiment includes all the technical solutions of the power supply control circuit embodiment of the above-mentioned electronic device, it can at least achieve all the above-mentioned technical effects, which will not be repeated here.
[0101] The above is a preferred implementation of the embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A power supply control circuit for an electronic device, characterized in that: include: A power module is connected to the power input terminal to obtain an external power signal; a power-off detection circuit connected to the power input terminal, configured to detect whether the external power signal enters a power-off state, and generate a power-off control signal when the external power signal enters a power-off state; The main control circuit board of the electronic device is connected to the power module to obtain a power signal.
2. The power supply control circuit according to claim 1, wherein: Also includes: The first control switch is connected to the power module and the power load respectively to provide a power signal to the power load. The first control switch is also connected to the power failure detection circuit. The first control switch is configured to be disconnected when the power failure control signal is detected.
3. The power supply control circuit according to claim 2, wherein: Also includes: A second control switch, wherein the second control switch and the first control switch are connected in series to the circuit between the load and the power module, and the second control switch is connected to the main control circuit board to be turned on or off under the control of the main circuit board.
4. The power supply control circuit according to claim 2, wherein: A response time of the first control switch is shorter than a discharge delay of the power module.
5. The power supply control circuit according to claim 1, wherein: The main control circuit board is also connected to the power-off detection circuit. The main control circuit board is configured to generate a data preservation control signal after acquiring the power-off control signal.
6. The power supply control circuit according to any one of claims 1 to 5, characterized in that: The power-off detection circuit comprises: A rectifier circuit, connected to the input terminal of the power supply, for rectifying the AC input power signal into a DC power signal; The control sub-circuit is connected to the power-off detection circuit and is used to generate a power-off protection control signal when the power supply enters a power-off state.
7. The power supply control circuit according to claim 6, wherein: The control subcircuit includes a photoelectric coupler, and the photoelectric coupler includes: a light emitting diode, a cathode connected to the first node, and an anode connected to the second node; The photosensitive element has a first end connected to the power signal end and a second end used to provide the power-off protection control signal.
8. The power supply control circuit according to claim 6, wherein: The rectifier circuit comprises: a first diode, an anode connected to the first node, and a cathode connected to the first input terminal of the power supply; a second diode, an anode of which is connected to the cathode of the first diode, and a cathode of which is connected to the second node; a third diode, an anode connected to the first node, and a cathode connected to the second input terminal of the power supply; a fourth diode, an anode connected to the cathode of the third diode, and a cathode connected to the second node; A rectifier capacitor has a first end connected to the first node and a second end connected to the second node.
9. The power supply control circuit according to claim 6, wherein: Also includes: The current limiting sub-circuit is provided between the rectifier sub-circuit and the power-off detection circuit, and is used to reduce the loop current of the power-off detection circuit.
10. An electronic device, characterized in that: A power supply control circuit for an electronic device comprising the electronic device according to any one of claims 1 to 9.