Power supply device and electronic device
By using control modules and logic modules in the power supply device, abnormal state is confirmed based on the slope of the output voltage and a logic signal is generated to control the protection mode, the problem of difficult to confirm the abnormal output voltage in the prior art is solved, and accurate protection measures are achieved and convenience of use.
Patent Information
- Application Number
- CN202310970822.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-03
- Publication Date
- 2025-02-14
AI Technical Summary
When an existing power supply encounters an abnormal output voltage, it is difficult to effectively confirm the abnormal state, resulting in the inability to accurately enter the protection measures, which affects the convenience of use.
By introducing a control module and a logic module into the power supply device, the first slope of the first output voltage and the second slope of the second output voltage are used to confirm whether the output voltage is abnormal, and a logic signal is generated based on the comparison result, and the power supply device is controlled to enter the power supply device. Short circuit current protection or undervoltage protection.
Effectively confirm the abnormal output voltage, so that the power supply device can accurately enter the corresponding protection mode, improving the convenience of use and the stability of the equipment.
Smart Images

Figure CN119448803A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a power supply device, and in particular to a power supply device and an electronic device. Background Art
[0002] Generally speaking, when a power supply (such as a traditional flyback circuit) encounters a problem with the main circuit or the influence of the external system matching and a lower output voltage occurs, the power supply must start a protection action, such as under voltage protection (UVP) or short current protection (SCP). However, since under voltage and short circuit current will cause the power supply to have a lower output voltage, this will cause the control circuit of the power supply to be unable to confirm the abnormal state (under voltage or short circuit current) and decide what kind of protection to perform (i.e. under voltage protection or short circuit current protection). Therefore, how to effectively confirm the abnormality of the output voltage and make the power supply device enter the corresponding protection is an important issue at present. Summary of the invention
[0003] The present invention provides a power supply device, which can confirm the abnormality of output voltage, make the power supply device enter corresponding protection, and increase the convenience of use.
[0004] The present invention provides a power supply device, including a rectifier module, an excitation module, a switch module, a transformer module, a first output module, a second output module, a control module and a logic module. The rectifier module receives an AC voltage and converts the AC voltage into a DC voltage. The excitation module is coupled to the rectifier module and receives a DC voltage to generate an excitation voltage. The switch module is coupled to the boost module and determines whether to conduct according to a control signal. The transformer module is coupled to the excitation module and receives the excitation voltage to generate a first transformed voltage and a second transformed voltage. The first output module is coupled to the transformer module and receives the first transformed voltage to generate a first output voltage. The second output module is coupled to the transformer module and receives the second transformed voltage to generate a second output voltage. The control module is coupled to the switch module, the first output module and the second output module. The control module generates a control signal and a reference voltage, receives the first output voltage and the second output voltage, determines whether the first output voltage is abnormal according to a first slope of the first output voltage and a second slope of the second output voltage, and generates a comparison result according to the first slope and the reference slope when the first output voltage is determined to be abnormal. The logic module is coupled to the control module and the first output module, receives the reference voltage, the first output voltage and the comparison result, and generates a logic signal. The control module controls the power supply device to enter short circuit current protection or under voltage protection according to the logic signal.
[0005] The present invention provides an electronic device, including a circuit board and the above-mentioned power supply device. The circuit board includes a controller. The power supply device is coupled to the circuit board. The power supply device provides a first output voltage to the circuit board for the circuit board to operate. When the control module of the power supply device determines that the first output voltage is abnormal, the control module generates an abnormal signal to the controller. The control module generates information corresponding to short-circuit current protection or undervoltage protection to the controller based on the logic signal. The reference slope is set or adjusted by the controller.
[0006] The power supply device and electronic device disclosed in the present invention confirm whether the first output voltage is abnormal based on the first slope of the first output voltage and the second slope of the second output voltage through the control module. When the first output voltage is abnormal, the control module generates a comparison result based on the first slope of the first output voltage and the reference slope. Then, the logic unit generates a logic signal based on the first output voltage, the reference voltage and the comparison result. After that, the control unit controls the power supply device to enter short-circuit current protection or undervoltage protection based on the logic signal. In this way, it can effectively confirm that the first output voltage is abnormal (short-circuit current or undervoltage), so that the power supply device enters the corresponding protection mode (short-circuit current protection or undervoltage protection), and the convenience of use is increased. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 FIG. 4 is a schematic diagram of a power supply device according to an embodiment of the present invention.
[0008] Figure 2 FIG. 4 is a waveform diagram of a first output voltage and a second output voltage according to an embodiment of the present invention.
[0009] Figure 3 FIG. 4 is a waveform diagram of a first slope and a reference slope of a first output voltage according to an embodiment of the present invention.
[0010] Figure 4 FIG. 4 is a waveform diagram of a first slope and a reference slope of a first output voltage according to an embodiment of the present invention.
[0011] Figure 5 FIG. 4 is a detailed schematic diagram of a power supply device according to an embodiment of the present invention.
[0012] Figure 6 FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention.
[0013] The reference numerals are described as follows:
[0014] 100,620: Power supply device
[0015] 110: Rectifier module
[0016] 120: Excitation module
[0017] 130: Switch module
[0018] 140: Transformer module
[0019] 150: First output module
[0020] 160: Second output module
[0021] 170: Control module
[0022] 180: Logic module
[0023] 510: AC power supply
[0024] 520: Comparator
[0025] 530: Logic Unit
[0026] 600: Electronic devices
[0027] 610: Circuit Board
[0028] 611: Controller
[0029] D1, D2, D3, D4: rectifier diodes
[0030] LM: Magnetizing inductance
[0031] Q1: Power switch
[0032] TR: Transformer
[0033] NP: Primary winding
[0034] NS: First secondary winding
[0035] NA: Second secondary winding
[0036] DO1: First output diode
[0037] DO2: Second output diode
[0038] CO1: First output capacitor
[0039] CO2: Second output capacitor
[0040] GND: Ground terminal
[0041] VAC: AC voltage
[0042] VDC: DC voltage
[0043] VE: Excitation voltage
[0044] CS: Control signal
[0045] VT1: First transformer voltage
[0046] VT2: Second transformer voltage
[0047] VO1: First output voltage
[0048] VO2: Second output voltage
[0049] VS: Comparison results
[0050] VF: reference voltage
[0051] LS: logic signal
[0052] ENS: Enable signal
[0053] S1: First slope
[0054] SX: Reference slope DETAILED DESCRIPTION
[0055] It must be understood that the words "comprise", "include" and the like used in this specification are intended to indicate the existence of specific technical features, values, method steps, operation processing, elements and / or components, but do not exclude the addition of more technical features, values, method steps, operation processing, elements, components, or any combination of the above.
[0056] The terms "first", "second", etc. are used to modify elements and are not used to indicate a priority order or a prior relationship between them. They are only used to distinguish elements with the same name.
[0057] In the various embodiments listed below, the same reference numerals will be used to represent the same or similar elements or components.
[0058] Figure 1 is a schematic diagram of a power supply device according to an embodiment of the present invention. Figure 1 The power supply device 100 includes a rectifying module 110 , an exciting module 120 , a switching module 130 , a transformer module 140 , a first output module 150 , a second output module 160 , a control module 170 and a logic module 180 .
[0059] The rectifier module 110 receives the AC voltage VAC and converts the AC voltage VAC into a DC voltage VDC. In this embodiment, the rectifier module 110 may include a bridge rectifier, such as a full-bridge rectifier, but the embodiment of the present invention is not limited thereto. The excitation module 120 is coupled to the rectifier module 110. The excitation module 120 receives the DC voltage VDC to generate an excitation voltage VE.
[0060] The switch module 130 is coupled to the excitation module 120. The switch module 130 determines whether to conduct according to the control signal CS. In the present embodiment, the control signal CS may be a pulse width modulation signal, but the present embodiment is not limited thereto. For example, when the control signal CS is, for example, a high logic level, the switch module 130 is conducted. When the control signal CS is, for example, a low logic level, the switch module 130 is not conducted.
[0061] The transformer module 140 is coupled to the excitation module 120. The transformer module 140 receives the excitation voltage VE to generate a first transformed voltage VT1 and a second transformed voltage VT2. The first output module 150 is coupled to the transformer module 140. The first output module 150 receives the first transformed voltage VT1 to generate a first output voltage VO1. The second output module 160 is coupled to the transformer module 140. The second output module 160 receives the second transformed voltage VT2 to generate a second output voltage VO2.
[0062] The control module 170 is coupled to the switch module 130, the first output module 150 and the second output module 160. The control module 170 generates a control signal CS and a reference voltage VF. In this embodiment, the reference voltage VF is, for example, a voltage of a high voltage level, but the embodiment of the present invention is not limited thereto.
[0063] In addition, the control module 170 receives the first output voltage VO1 and the second output voltage VO2, and determines whether the first output voltage VO1 is abnormal according to the first slope of the first output voltage VO1 and the second slope of the second output voltage VO2. When the first output voltage VO1 is determined to be abnormal, the control module 170 generates a comparison result according to the first slope of the first output voltage VO1 and the reference slope.
[0064] In some embodiments, after the control module 170 obtains the first slope of the first output voltage VO1 and the second slope of the second output voltage VO2, the control module 170 can determine whether the first slope of the first output voltage VO1 is the same as the second slope of the second output voltage VO2 to determine whether the first output voltage VO1 is abnormal. Figure 2 As shown, when it is determined that the first slope of the first output voltage VO1 is the same as the second slope of the second output voltage VO2, the control module 170 can determine that the first output voltage VO1 is not abnormal, and the control module 170 does not generate the comparison result VS. In other words, the pin of the control module 170 for generating the comparison result VS is in a "floating" state.
[0065] On the other hand, when it is determined that the first slope of the first output voltage VO1 is different from the second slope of the second output voltage VO2, the control module 170 can determine that the first output voltage VO1 is abnormal. Then, the control module 170 can further obtain a reference slope and determine whether the first slope of the first output voltage VO1 is greater than or less than the reference slope. Further, the control module 170 obtains the absolute value of the first slope of the first output voltage VO1 and the absolute value of the reference slope, and determines whether the absolute value of the first slope is less than or greater than the absolute value of the reference slope.
[0066] like Figure 3 As shown, when it is determined that the first slope S1 of the first output voltage VO1 is greater than the reference slope SX, it means that the voltage drop speed of the first output voltage VO1 is faster, and the control module 170 generates a comparison result VS of the first voltage level. Figure 4 As shown, when it is determined that the first slope S1 of the first output voltage VO1 is greater than the reference slope SX, it means that the voltage drop speed of the first output voltage VO1 is slower, and the control module 170 generates a comparison result VS of the second voltage level. In this embodiment, the first voltage level may be a high voltage level, such as 5V, and the second voltage level may be a low voltage level, such as 0.1V, but the embodiment of the present invention is not limited thereto.
[0067] The logic module 180 is coupled to the control module 170 and the first output module 150. The logic module 180 receives the reference voltage VF, the first output voltage VO1 and the comparison result VS, and generates a logic signal LS according to the reference voltage VF, the first output voltage VO1 and the comparison result VS. Further, the logic module 180 can determine whether the first output voltage VO1 is greater than the reference voltage VF and generate an enable signal. When it is determined that the first output voltage VO1 is greater than the reference voltage VF, the logic module 180 generates an enable signal of a second voltage level (e.g., a low voltage level). Then, according to the enable signal of the second voltage level (e.g., a low voltage level), the logic module 180 does not operate and does not generate the logic signal LS.
[0068] In addition, when it is determined that the first output voltage VO1 is not greater than the reference voltage VF, the logic module 180 generates an enable signal of a first voltage level (e.g., a high voltage level). Then, according to the enable signal of the first voltage level (e.g., a high voltage level), the logic module 180 performs a logic operation on the comparison result VS and the reference voltage VF to generate a logic signal LS. In the present embodiment, the above-mentioned logic operation is, for example, an "AND" operation.
[0069] For example, when the comparison result VS and the reference voltage VF are both at a first voltage level (e.g., a high voltage level), the logic module 180 may generate a logic signal LS at a first logic level. When the comparison result VS is at a second voltage level (e.g., a low voltage level) and the reference voltage VF is at a first voltage level (e.g., a high voltage level), the logic module 180 may generate a logic signal LS at a second logic level. In the present embodiment, the first logic level may be a high logic level, such as "1", and the second logic level may be a low logic level, such as "0", but the present embodiment is not limited thereto.
[0070] Next, the control module 170 controls the power supply device 100 to enter short-circuit current protection or under-voltage protection according to the logic signal LS. For example, when the logic signal LS is at a first logic level (e.g., a high logic level), it indicates that the abnormality of the first output voltage VO1 is caused by a short-circuit current fault, and the control module 170 controls the power supply device 100 to enter short-circuit current protection. When the logic signal LS is at a second logic level (e.g., a low logic level), it indicates that the abnormality of the first output voltage VO1 is caused by an under-voltage fault, and the control module 170 controls the power supply device 100 to enter under-voltage protection.
[0071] Figure 5 is a detailed schematic diagram of a power supply device according to an embodiment of the present invention. Figure 5 , the rectifier module 110 includes rectifier diodes D1, D2, D3 and D4. The rectifier diode D1 has a first end (e.g., an anode end) and a second end (e.g., a cathode end). The first end of the rectifier diode D1 is coupled to the first end of the AC power source 510 and receives the AC voltage VAC. The second end of the rectifier diode D1 generates a DC voltage VDC. The rectifier diode D2 has a first end (e.g., an anode end) and a second end (e.g., a cathode end). The first end of the rectifier diode D2 is coupled to the second end of the AC power source 510. The second end of the rectifier diode D2 is coupled to the second end of the rectifier diode D1.
[0072] The rectifier diode D3 has a first end (e.g., an anode end) and a second end (e.g., a cathode end). The first end of the rectifier diode D3 is coupled to the ground end GND. The second end of the rectifier diode D3 is coupled to the first end of the rectifier diode D1. The rectifier diode D4 has a first end (e.g., an anode end) and a second end (e.g., a cathode end). The first end of the rectifier diode D4 is coupled to the ground end GND. The second end of the rectifier diode D4 is coupled to the first end of the rectifier diode D2.
[0073] The excitation module 120 includes an excitation inductor LM. The excitation inductor LM has a first end and a second end. The first end of the excitation inductor LM receives a DC voltage VDC and generates an excitation voltage VE. The second end of the excitation inductor LM is coupled to the switch module 130 and the transformer module 140 .
[0074] The switch module 130 includes a power switch Q1. The power switch Q1 has a first terminal, a second terminal and a control terminal. The first terminal of the power switch Q1 is coupled to the second terminal of the magnetizing inductor LM. The second terminal of the power switch Q1 is coupled to the ground terminal GND. The control terminal of the power switch Q1 is coupled to the control module 170 and receives a control signal CS. In other words, the power switch Q1 can determine whether to conduct according to the voltage level of the control signal CS.
[0075] For example, when the control terminal of the power switch Q1 receives a control signal CS of a high voltage level, for example, the power switch Q1 is turned on. When the control terminal of the power switch Q1 receives a control signal CS of a low voltage level, for example, the power switch Q1 is not turned on. In the present embodiment, the power switch Q1 is, for example, an N-type transistor, wherein the first end of the power switch Q1 is, for example, a drain end of the N-type transistor, the second end of the power switch Q1 is, for example, a source end of the N-type transistor, and the control end of the power switch Q1 is, for example, a gate end of the N-type transistor, but the embodiment of the present invention is not limited thereto. In some embodiments, the power switch Q1 may also be a P-type transistor or other suitable transistors.
[0076] The transformer module 140 includes a transformer TR. The transformer TR has a first end, a second end, a third end, a fourth end, a fifth end and a sixth end. The first end of the transformer TR is coupled to the first end of the magnetizing inductor LM. The second end of the transformer TR is coupled to the second end of the magnetizing inductor LM. The third end of the transformer TR generates a first transformed voltage VT1. The fourth end of the transformer is coupled to the ground terminal GND. The fifth end of the transformer TR generates a second transformed voltage VT2. The sixth end of the transformer TR is coupled to the ground terminal GND.
[0077] Further, the transformer TR may include a primary winding NP, a first secondary winding NS, and a second secondary winding NA. The primary winding NP has a first end and a second end. The first end of the primary winding NP is coupled to the first end of the transformer TR. The second end of the primary winding NP is coupled to the second end of the transformer TR. The first secondary winding NS has a first end and a second end. The first end of the first secondary winding NS is coupled to the third end of the transformer TR, and the second end of the first secondary winding NS is coupled to the fourth end of the transformer TR. The second secondary winding NA has a first end and a second end. The first end of the second secondary winding NA is coupled to the fifth end of the transformer TR. The second end of the second secondary winding NA is coupled to the sixth end of the transformer TR.
[0078] The first output module 150 includes a first output diode DO1 and a first output capacitor CO1. The first output diode DO1 has a first end (e.g., an anode end) and a second end (e.g., a cathode end). The first end of the first output diode DO1 is coupled to the transformer module 140 (i.e., the third end of the transformer TR) and receives the first transformed voltage VT1. The second end of the first output diode DO1 generates a first output voltage VO1. The first output capacitor CO1 has a first end and a second end. The first end of the first output capacitor CO1 is coupled to the second end of the first output diode DO1. The second end of the first output capacitor CO1 is coupled to the ground end GND. In addition, the second end of the first output capacitor CO1 is also coupled to the fourth end of the transformer TR.
[0079] The second output module 160 includes a second output diode DO2 and a second output capacitor CO2. The second output diode DO2 has a first end (e.g., an anode end) and a second end (e.g., a cathode end). The first end of the second output diode DO2 is coupled to the transformer module 140 (i.e., the fifth end of the transformer TR) and receives the second transformed voltage VT2. The second end of the second output diode DO2 generates a second output voltage VO2. The second output capacitor CO2 has a first end and a second end. The first end of the second output capacitor CO2 is coupled to the second end of the second output diode DO2. The second end of the second output capacitor CO2 is coupled to the ground end GND. In addition, the second end of the second output capacitor CO2 is also coupled to the sixth end of the transformer TR.
[0080] The logic module 180 includes a comparator 520 and a logic unit 530. The comparator 210 is coupled to the first output module 150 (i.e., the second end of the first output voltage DO1) and the control module 170. The comparator 520 receives the first output voltage VO1 and the reference voltage VF, and generates an enable signal ENS according to the first output voltage VO1 and the reference voltage VF. For example, when the first output voltage VO1 is greater than the reference voltage VF, the comparator 520 generates an enable signal ENS of a second voltage level (e.g., a low voltage level). When it is determined that the first output voltage VO1 is not greater than the reference voltage VF, the comparator 520 generates an enable signal ENS of a first voltage level (e.g., a high voltage level).
[0081] Further, the comparator 520 includes a first input terminal, a second input terminal and an output terminal. The comparator 520 includes a first input terminal (e.g., a negative input terminal), a second input terminal (e.g., a positive input terminal) and an output terminal. The first input terminal of the comparator 520 is coupled to the first output module 150 (i.e., the second terminal of the first output diode DO1) and receives the first output voltage VO1. The second input terminal of the comparator 520 is coupled to the control module 170 and receives the reference voltage VF. The output terminal of the comparator 520 generates an enable signal ENS.
[0082] The logic unit 530 is coupled to the comparator 520 and the control module 170. The logic unit 530 receives the enable signal ENS to determine whether the logic unit 530 is activated. In addition, the logic unit 530 receives the reference voltage VF and the comparison result VS, and generates the logic signal LS according to the reference voltage VF and the comparison result VS. For example, when the logic unit 530 receives the enable signal ENS of the second voltage level (e.g., the low voltage level), the logic unit 530 is not activated and does not generate the logic signal LS.
[0083] When the logic unit 530 receives an enable signal ENS of a first voltage level (e.g., a low voltage level), the logic unit 530 is activated and performs a logic operation (e.g., an “AND” operation) on the comparison result VS and the reference voltage VF to generate a logic signal LS. For example, when the comparison result VS and the reference voltage VF are both at a first voltage level (e.g., a high voltage level), the logic unit 530 can generate a logic signal LS of a first logic level (e.g., a high logic level). When the comparison result VS is a second voltage level (e.g., a low voltage level) and the reference voltage VF is a first voltage level (e.g., a high voltage level), the logic unit 530 can generate a logic signal LS of a second logic level (e.g., a low logic level).
[0084] Further, the logic unit 530 includes a power supply terminal, a first input terminal, a second input terminal and an output terminal. The power supply terminal of the logic unit 530 is coupled to the output terminal of the comparator 520 and receives the enable signal ENS. The first input terminal of the logic unit 530 is coupled to the control module 170 and receives the comparison result VS. The second input terminal of the logic unit 530 is coupled to the control module 170 and receives the reference voltage VF. The output terminal of the logic unit 530 generates a logic signal LS. In some embodiments, the logic unit 530 is, for example, an AND gate, so as to perform an AND operation on the signals received at the first input terminal and the second input terminal.
[0085] In the overall operation of the power supply device 100, the control module 170 generates a control signal CS to switch the power switch Q1 (i.e., the switch module 130) between conducting and non-conducting. Then, the excitation module 120 receives the DC voltage VDC to generate an excitation voltage VE. After that, the transformer module 140 receives the excitation voltage VE to generate a first transformed voltage VT1 and a second transformed voltage VT2. Then, the first output module 150 and the second output module 160 receive the first transformed voltage VT1 and the second transformed voltage VT2, respectively, to generate a first output voltage VO1 and a second output voltage VO2.
[0086] Afterwards, the control module 170 receives the first output voltage VO1 and the second output voltage VO2, and obtains a first slope of the first output voltage VO1 and a second slope of the second output voltage VO2. Next, the control module 170 determines whether the first slope of the first output voltage VO1 is the same as the second slope of the second output voltage VO2, so as to determine whether the first output voltage VO1 is abnormal.
[0087] like Figure 2 As shown, when determining whether the first slope of the first output voltage VO1 is the same as the second slope of the second output voltage VO2, the control module 170 determines that the first output voltage VO1 is not abnormal, and the control module 170 does not generate the comparison result VS, so that the power supply device 100 operates normally.
[0088] On the other hand, when the first slope of the first output voltage VO1 is different from the second slope of the second output voltage VO2, the control module 170 determines that the first output voltage VO1 is abnormal. Then, the control module 170 can determine whether the first output voltage VO1 is greater than or less than the reference slope.
[0089] like Figure 3 As shown, when it is determined that the first slope S1 of the first output voltage VO1 is greater than the reference slope SX, it means that the voltage drop speed of the first output voltage VO1 is faster, and the control module 170 generates a comparison result VS of a first voltage level (eg, a high voltage level).
[0090] Next, the comparator 520 can compare whether the first output voltage VO1 is greater than the reference voltage VF. When the first output voltage VO1 is greater than the reference voltage VF, the comparator 520 generates an enable signal ENS of a second voltage level (e.g., a low voltage level). Afterwards, when the logic unit 530 receives the enable signal ENS of the second voltage level (e.g., a low voltage level), the logic unit 530 is not activated and does not generate the logic signal LS. In other words, the control module 170 does not receive the logic signal LS, so that the power supply device 100 has no ingress protection and maintains normal operation.
[0091] When the first output voltage VO1 is not greater than the reference voltage VF, the comparator 520 generates an enable signal ENS of a first voltage level (e.g., a high voltage level). Afterwards, when the logic unit 530 receives the enable signal ENS of a first voltage level (e.g., a high voltage level), the logic unit 530 is activated and performs an AND operation on the comparison result VS of the first voltage level (e.g., a high voltage level) and the reference voltage VF of the first voltage level (e.g., a high voltage level) to generate a logic signal LS of a first logic level (e.g., a high logic level). Next, when the control module 170 receives the logic signal LS of a first logic level (e.g., a high logic level), it indicates that the abnormality of the first output voltage VO1 is caused by a short-circuit current fault, and the control module 170 controls the power supply device 100 to enter short-circuit current protection.
[0092] The control module 170 can determine whether the first output voltage VO1 is greater than or less than a reference slope, such as Figure 4 As shown, when it is determined that the first slope S1 of the first output voltage VO1 is less than the reference slope SX, it means that the voltage drop speed of the first output voltage VO1 is slower, and the control module 170 generates a comparison result VS of a second voltage level (eg, a low voltage level).
[0093] Next, the comparator 520 can compare whether the first output voltage VO1 is greater than the reference voltage VF. When the first output voltage VO1 is greater than the reference voltage VF, the comparator 520 generates an enable signal ENS of a second voltage level (e.g., a low voltage level). Afterwards, when the logic unit 530 receives the enable signal ENS of the second voltage level (e.g., a low voltage level), the logic unit 530 is not activated and does not generate the logic signal LS. In other words, the control module 170 does not receive the logic signal LS, so that the power supply device 100 has no ingress protection and maintains normal operation.
[0094] When the first output voltage VO1 is not greater than the reference voltage VF, the comparator 520 generates an enable signal ENS of a first voltage level (e.g., a high voltage level). Afterwards, when the logic unit 530 receives the enable signal ENS of the first voltage level (e.g., a high voltage level), the logic unit 530 is activated and performs an AND operation on the comparison result VS of the second voltage level (e.g., a low voltage level) and the reference voltage VF of the first voltage level (e.g., a high voltage level) to generate a logic signal LS of a second logic level (e.g., a low logic level). Next, when the control module 170 receives the logic signal LS of the second logic level (e.g., a low logic level), it indicates that the abnormality of the first output voltage VO1 is caused by an undervoltage fault, and the control module 170 controls the power supply device 100 to enter undervoltage protection.
[0095] Figure 6FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention. In this embodiment, the electronic device 600 may be a notebook computer or a personal computer, but the present invention is not limited thereto. Please refer to FIG. Figure 6 , the electronic device 600 includes a circuit board 610 and a power supply device 620. The circuit board 610 includes a controller 611. In this embodiment, the circuit board 610 may be a motherboard (MB), and the controller 611 may be an embedded controller (EC).
[0096] The power supply device 620 is coupled to the circuit board 610. The power supply device 620 includes a rectifier module 110, an excitation module 120, a switch module 130, a transformer module 140, a first output module 150, a second output module 160, a control module 170, and a logic module 180. In this embodiment, the rectifier module 110, the excitation module 120, the switch module 130, the transformer module 140, the first output module 150, the second output module 160, the control module 170, and the logic module 180 of the power supply device 620 are connected to the circuit board 610. Figure 1 or Figure 5 The rectifier module 110, the excitation module 120, the switch module 130, the transformer module 140, the first output module 150, the second output module 160, the control module 170 and the logic module 180 are the same or similar, and can be referred to Figure 1 or Figure 5 The embodiments of the present invention are described in detail, so they will not be repeated here.
[0097] In this embodiment, the power supply device 620 can provide a first output voltage VO1 to the circuit board 610 for the circuit board 610 to operate. When the control module 170 of the power supply device 620 determines that the first output voltage VO1 is abnormal, the control module 170 generates an abnormal signal to the controller 611, so that the controller 611 knows that the power supply device 620 has an abnormality.
[0098] In some embodiments, the control module 170 generates information corresponding to short-circuit current protection or under-voltage protection to the controller 611 according to the logic signal LS. That is, when the control module 170 receives the logic signal LS of a first logic level (e.g., a high voltage level), the control module 170 controls the power supply device 620 to enter short-circuit current protection, and generates information corresponding to the short-circuit current protection to the controller 611, so that the controller 611 knows that the power supply device 620 enters short-circuit current protection. When the control module 170 receives the logic signal LS of a second logic level (e.g., a low voltage level), the control module 170 controls the power supply device 620 to enter under-voltage protection, and generates information corresponding to under-voltage to the controller 611, so that the controller 611 knows that the power supply device 620 enters under-voltage protection. In some embodiments, the reference slope in the control module 170 can be set or adjusted by the controller 611.
[0099] In summary, the power supply device and electronic device disclosed in the present invention confirm whether the first output voltage is abnormal based on the first slope of the first output voltage and the second slope of the second output voltage through the control module. When the first output voltage is abnormal, the control module generates a comparison result based on the first slope of the first output voltage and the reference slope. Then, the logic unit generates a logic signal based on the first output voltage, the reference voltage and the comparison result. After that, the control unit controls the power supply device to enter short-circuit current protection or undervoltage protection based on the logic signal. In this way, it is possible to effectively confirm that the first output voltage is abnormal (short-circuit current or undervoltage), so that the power supply device enters the corresponding protection mode (short-circuit current protection or undervoltage protection), and increase the convenience of use.
[0100] Although the present invention is disclosed as above by the embodiments, it is not intended to limit the scope of the present invention. Any person with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the appended claims.
Claims
1. A power supply device, comprising: A rectifier module receives an AC voltage and converts the AC voltage into a DC voltage; an excitation module, coupled to the rectifier module, receiving the DC voltage to generate an excitation voltage; A switch module, coupled to the excitation module, determines whether to conduct according to a control signal; A transformer module, coupled to the excitation module, receives the excitation voltage to generate a first transformed voltage and a second transformed voltage; a first output module, coupled to the transformer module, receiving the first transformed voltage to generate a first output voltage; A second output module, coupled to the transformer module, receives a second transformed voltage to generate a second output voltage; a control module coupled to the switch module, the first output module and the second output module, the control module generating the control signal and a reference voltage, receiving the first output voltage and the second output voltage, determining whether the first output voltage is abnormal according to a first slope of the first output voltage and a second slope of the second output voltage, and generating a comparison result according to the first slope and a reference slope when the first output voltage is determined to be abnormal; as well as a logic module, coupled to the control module and the first output module, receiving the reference voltage, the first output voltage and the comparison result, and generating a logic signal according to the reference voltage, the first output voltage and the comparison result; The control module controls the power supply device to enter a short circuit current protection or an under voltage protection according to the logic signal.
2. The power supply device as described in claim 1, wherein the control module determines whether the first slope is the same as the second slope to determine whether the first output voltage is abnormal; when the first slope is determined to be the same as the second slope, the control module determines that the first output voltage is not abnormal, and the control module does not generate the comparison result; when the first slope is determined to be different from the second slope, the control module determines that the first output voltage is abnormal; the control module determines whether the first slope is greater than or less than the reference slope; when the first slope is determined to be greater than the reference slope, the control module generates the comparison result of a first voltage level; when the first slope is determined to be less than the reference slope, the control module generates the comparison result of a second voltage level. 3 . The power supply device as claimed in claim 1 , wherein the rectifier module comprises a bridge rectifier.
4. The power supply device as claimed in claim 1, wherein the excitation module comprises: An exciting inductor has a first end and a second end. The first end of the exciting inductor receives the DC voltage and generates the exciting voltage. The second end of the exciting inductor is coupled to the switch module and the transformer module.
5. The power supply device as claimed in claim 4, wherein the switch module comprises: A power switch has a first end, a second end and a control end. The first end of the power switch is coupled to the second end of the magnetizing inductor, the second end of the power switch is coupled to a ground end, and the control end of the power switch is coupled to the control module and receives the control signal.
6. The power supply device as claimed in claim 4, wherein the transformer module comprises: A transformer has a first end, a second end, a third end, a fourth end, a fifth end and a sixth end, the first end of the transformer is coupled to the first end of the excitation inductor, the second end of the transformer is coupled to the second end of the excitation inductor, the third end of the transformer generates the first transformed voltage, the fourth end of the transformer is coupled to a ground end, the fifth end of the transformer generates the second transformed voltage, and the sixth end of the transformer is coupled to the ground end.
7. The power supply device as claimed in claim 1, wherein the first output module comprises: a first output diode having a first end and a second end, wherein the first end of the first output diode is coupled to the transformer module and receives the first transformed voltage, and the second end of the first output diode generates the first output voltage; as well as A first output capacitor has a first end and a second end. The first end of the first output capacitor is coupled to the second end of the first output diode, and the second end of the first output capacitor is coupled to a ground end.
8. The power supply device as claimed in claim 1, wherein the second output module comprises: a second output diode having a first end and a second end, wherein the first end of the second output diode is coupled to the transformer module and receives the second transformed voltage, and the second end of the second output diode generates the second output voltage; as well as A second output capacitor has a first end and a second end. The first end of the second output capacitor is coupled to the second end of the second output diode, and the second end of the second output capacitor is coupled to a ground end.
9. The power supply device as claimed in claim 1, wherein the logic module comprises: a comparator, coupled to the first output module and the control module, receiving the first output voltage and the reference voltage, and generating an enable signal according to the first output voltage and the reference voltage; as well as A logic unit is coupled to the comparator and the control module, receives the enable signal to determine whether the logic unit is activated, and receives the reference voltage and the comparison result, and generates the logic signal according to the reference voltage and the comparison result.
10. An electronic device comprising: A circuit board including a controller; as well as The power supply device as claimed in any one of claims 1 to 9, coupled to the circuit board; Wherein, the power supply device provides the first output voltage to the circuit board so that the circuit board can operate; Wherein, when the control module of the power supply device determines that the first output voltage is abnormal, the control module generates an abnormal signal to the controller; Wherein, the control module generates information corresponding to the short-circuit current protection or the undervoltage protection to the controller according to the logic signal; The reference slope is set or adjusted by the controller.