Power supply circuit and electronic equipment

By designing a power supply circuit including an input terminal, a rectifier unit, a voltage doubler unit and a voltage detection unit, the problem of equipment adaptation under different supply voltages is solved, the applicability of the same load in multiple voltage environments is realized, and the Device design and user management.

CN114123816BActive Publication Date: 2024-09-03SHENZHEN TOPBAND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111258412.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2024-09-03
Estimated Expiration
2041-10-27

Smart Images

  • Figure CN114123816B
    Figure CN114123816B
Patent Text Reader

Abstract

The present invention relates to a power supply circuit and electronic equipment, comprising: a power supply input terminal including a first input terminal and a second input terminal, a rectifier unit, a power supply output terminal, a voltage doubling unit, a first voltage detection unit, a second voltage detection unit, a first voltage doubling switch, a second voltage doubling switch, a voltage conversion unit and a control unit; the voltage conversion unit is connected to the power supply output terminal; the first voltage detection unit is connected to the second input terminal and the voltage conversion unit; the control unit is connected to the first voltage detection unit and the first voltage doubling switch; the second voltage detection unit is connected to the second input terminal and the second voltage doubling switch; the first voltage doubling switch is connected in series with the second voltage doubling switch; wherein the voltage doubling unit is connected to the rectifier unit and the power supply output terminal, and the voltage is doubled when the first voltage doubling switch and the second voltage doubling switch are both turned on. The implementation of the present invention can meet the use requirements of different countries and regions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply, and more specifically, to a power supply circuit and electronic equipment. Background Art

[0002] At present, the power supply voltage of equipment varies depending on the country or region where the equipment is used. For example, some countries use 110V power supply, while some countries use 220V power supply. Due to the different power supplies, even for the same type of electronic equipment, the same load circuit cannot be used. For example, different air purifiers in different countries or regions cannot use the same HVDC motor. As a result, different hardware designs need to be used separately when designing the whole machine, which is inconvenient for users to manage the whole machine. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a power supply circuit and an electronic device in view of the above-mentioned technical defects of the prior art.

[0004] The technical solution adopted by the present invention to solve the technical problem is: construct a power supply circuit, comprising: a power supply input terminal including a first input terminal and a second input terminal, a rectifier unit connected to the power supply input terminal, a power supply output terminal for providing a voltage output, and a voltage doubling unit, a zero crossing detection unit, a first voltage detection unit, a second voltage detection unit, a first voltage doubling switch, a second voltage doubling switch, a voltage conversion unit and a control unit;

[0005] The voltage conversion unit is connected to the power supply output terminal and is used to convert the voltage output to output a power supply voltage;

[0006] The first voltage detection unit is connected to the second input terminal and the voltage conversion unit, and is used to output a corresponding first level according to the input voltage of the second input terminal;

[0007] The control unit is connected to the first voltage detection unit, and is used for receiving the first level and outputting a corresponding first driving level;

[0008] The first voltage doubling switch is connected to the control unit and is used to receive the first driving level to be turned on or off;

[0009] The second voltage detection unit is connected to the second input terminal, and is used to output a corresponding second level according to the input voltage of the second input terminal;

[0010] The second voltage doubler switch is connected to the second voltage detection unit and is used to receive the second voltage level to turn on or off

[0011] The first voltage doubling switch and the second voltage doubling switch are connected in series, and the first end of the series connection is connected to the second input end, and the second end is connected to the voltage doubling unit;

[0012] The voltage doubling unit is connected to the rectifying unit and the power output end, and is used for doubling the voltage when both the first voltage doubling switch and the second voltage doubling switch are turned on.

[0013] Preferably, a power supply circuit of the present invention further includes a zero-crossing detection unit;

[0014] The zero-crossing detection unit is connected to the power input terminal and is used to generate a corresponding zero-crossing signal according to the power input of the power input terminal;

[0015] The control unit is also connected to the zero-crossing detection unit, and is configured to output the first driving level when receiving the first level and the zero-crossing signal.

[0016] Preferably, in a power supply circuit described in the present invention, the first voltage detection unit includes a diode D6, a capacitor EC3, a first voltage divider circuit, a first sub-switch and a first optical coupler;

[0017] The anode of the diode D6 is connected to the second input terminal, the cathode of the diode D6 is connected to the positive electrode of the capacitor EC3 and the first end of the first voltage divider circuit, the second end of the first voltage divider circuit and the negative electrode of the capacitor EC3 are both grounded, the voltage divider end of the first voltage divider circuit is connected to the first end of the first sub-switch, the second end of the first sub-switch and the first end of the first optocoupler are respectively connected to the voltage conversion unit, the third end of the first sub-switch is connected to the second end of the first optocoupler, the third end of the first optocoupler is grounded, and the fourth end of the first optocoupler is connected to the control unit.

[0018] Preferably, in a power supply circuit described in the present invention, the first sub-switch includes a voltage regulator U4, a transistor Q8, a resistor R70, a resistor R74 and a resistor R83; the gate of the voltage regulator U4 is connected to the voltage dividing end of the first voltage dividing circuit, the anode of the voltage regulator U4 is grounded, the cathode of the voltage regulator U4 is connected to the first end of the resistor R70 and the first end of the resistor R74, the second end of the resistor R70 is connected to the voltage conversion unit, the second end of the resistor R74 is connected to the base of the transistor Q8, the emitter of the transistor Q8 is connected to the second end of the first optocoupler, and the collector of the transistor Q8 is grounded via the resistor R83; and / or

[0019] The first voltage-dividing circuit includes a first voltage-dividing resistor and a second voltage-dividing resistor, wherein the first end of the first voltage-dividing resistor is connected to the cathode of the diode D6, the second end of the first voltage-dividing resistor is connected to the first end of the second voltage-dividing resistor and the first end of the first sub-switch, and the second end of the second voltage-dividing resistor is grounded.

[0020] Preferably, in a power supply circuit described in the present invention, the first voltage doubling switch includes a second sub-switch, a third sub-switch and a second optical coupler;

[0021] The first end of the second sub-switch is connected to the control unit, the second end of the second sub-switch is grounded, the third end of the second sub-switch is connected to the second end of the second optocoupler, the first end of the second optocoupler is used to input a voltage, the fourth end of the second optocoupler is connected to the first end of the third sub-switch, and the sixth end of the second optocoupler is connected to the second end of the third sub-switch.

[0022] Preferably, in a power supply circuit described in the present invention, the second sub-switch includes a diode D3, a diode D4, a transistor Q3, a resistor R11, a resistor R40, a resistor R65, a capacitor C6 and a capacitor C9; the resistor R11 and the capacitor C6 are connected in series, one end of which is connected to the control unit, and the other end is connected to the anode of the diode D3 and the cathode of the diode D4, the cathode of the diode D3 is connected to the first end of the resistor R40 and the first end of the capacitor C9, the second end of the resistor R40 is connected to the first end of the resistor R65 and the base of the transistor Q3, the emitter of the transistor Q3, the anode of the diode D4, the second end of the capacitor C9 and the second end of the resistor R65 are all grounded, and the collector of the transistor Q3 is connected to the second end of the second optocoupler; and / or

[0023] The third sub-switch includes a thyristor T2, a resistor R1, a resistor R18, a resistor R12 and a capacitor C1; a first end of the thyristor T2 is connected to a first end of the resistor R1, the second input end and a first end of the capacitor C1, a second end of the thyristor T2 is connected to a first end of the resistor R18, the second voltage doubling switch and a first end of the resistor R12, a second end of the resistor R18 is connected to a sixth end of the second optocoupler, a third end of the thyristor T2 is connected to a fourth end of the second optocoupler and a second end of the resistor R1, and a second end of the capacitor C1 is connected to a second end of the resistor R12.

[0024] Preferably, in a power supply circuit described in the present invention, the second voltage detection unit includes a diode D1, a second voltage divider circuit, a capacitor EC2 and a fourth sub-switch;

[0025] The anode of the diode D1 is connected to the second input terminal, the cathode of the diode D1 is connected to the positive electrode of the capacitor EC2 and the first end of the second voltage divider circuit, the second end of the second voltage divider circuit and the negative electrode of the capacitor EC2 are both grounded, the voltage divider end of the second voltage divider circuit is connected to the first end of the fourth sub-switch, and the second end of the fourth sub-switch is connected to the second voltage doubling switch.

[0026] Preferably, in a power supply circuit described in the present invention, the fourth sub-switch includes: a voltage regulator tube D8, a resistor R7 and a resistor R23; the cathode of the voltage regulator tube D8 is connected to the voltage dividing end of the second voltage dividing circuit, the anode of the voltage regulator tube D8 is connected to the first end of the resistor R7 and the first end of the resistor R23, the second end of the resistor R23 is grounded, and the second end of the resistor R7 is connected to the second voltage doubling switch; and / or

[0027] The second voltage-dividing circuit includes a third voltage-dividing resistor and a fourth voltage-dividing resistor; the first end of the third voltage-dividing resistor is connected to the cathode of the diode D1, the second end of the third voltage-dividing resistor is connected to the first end of the fourth voltage-dividing resistor and the first end of the fourth sub-switch, and the second end of the fourth voltage-dividing resistor is grounded.

[0028] Preferably, in a power supply circuit described in the present invention, the second voltage doubling switch includes a fifth sub-switch, a sixth sub-switch and a third optical coupler;

[0029] The first end of the fifth sub-switch is connected to the second voltage detection unit, the second end of the fifth sub-switch is grounded, the third end of the fifth sub-switch is connected to the second end of the third optocoupler, the fourth end of the fifth sub-switch and the first end of the third optocoupler are connected to the voltage conversion unit, the fourth end of the third optocoupler is connected to the first end of the sixth sub-switch, and the sixth end of the third optocoupler is connected to the second end of the sixth sub-switch.

[0030] Preferably, in a power supply circuit described in the present invention, the fifth sub-switch includes a transistor Q5, a MOS transistor Q7, a resistor R29, a resistor R55 and a capacitor C7; the base of the transistor Q5 is connected to the second voltage detection unit, the collector of the transistor Q5 is connected to the first end of the resistor R29, the first end of the capacitor C7, the first end of the resistor R55 and the gate of the MOS transistor Q7, the second end of the resistor R29 is connected to the voltage conversion unit, the emitter of the transistor Q5, the source of the MOS transistor Q7, the second end of the resistor R55 and the second end of the capacitor C7 are all grounded, and the drain of the MOS transistor Q7 is connected to the second end of the third optocoupler; and / or

[0031] The sixth sub-switch includes a thyristor T3, a resistor R26, a resistor R34, a resistor R31 and a capacitor C2; the first end of the thyristor T3 is connected to the first end of the resistor R26, the first end of the capacitor C2 and the first voltage doubling switch, the second end of the thyristor T3 is connected to the first end of the resistor R34, the voltage doubling unit and the first end of the resistor R31, the third end of the thyristor T3 is connected to the fourth end of the third optocoupler and the second end of the resistor R26, the second end of the resistor R34 is connected to the sixth end of the third optocoupler, and the second end of the capacitor C2 is connected to the second end of the resistor R31.

[0032] Preferably, in a power supply circuit described in the present invention, the voltage conversion unit includes a voltage transformation circuit and a power supply switch;

[0033] The voltage conversion circuit is connected to the power output end, and the power supply switch is connected to the second input end, the voltage conversion circuit, the first voltage detection unit and the second voltage doubling switch, and is used to be turned on or off according to the input voltage of the second input end.

[0034] Preferably, in a power supply circuit described in the present invention, the voltage conversion circuit includes a transformer T1, a diode D7 and a capacitor EC5;

[0035] The first end and the second end of the first primary coil of the transformer T1 are connected to the power output end, the first end of the second primary coil of the transformer T1 is connected to the anode of the diode D7, the cathode of the diode D7 is connected to the positive electrode of the capacitor EC5, the negative electrode of the capacitor EC5 is grounded, the second end of the second primary coil of the transformer T1 is grounded, and the secondary coil of the transformer T1 is used to connect to the lower voltage conversion circuit; and / or

[0036] The power switch includes: a diode D2, a third voltage divider circuit, a MOS transistor Q6, a MOS transistor Q2, a resistor R33 and a resistor R39;

[0037] The anode of the diode D2 is connected to the second input end, the cathode of the diode D2 is connected to the first end of the third voltage divider circuit, the second end of the third voltage divider circuit is grounded, the voltage divider end of the third voltage divider circuit is connected to the gate of the MOS tube Q6, the source of the MOS tube Q6 is grounded, the drain of the MOS tube Q6 is connected to the first end of the resistor R39, the second end of the resistor R39 is connected to the first end of the resistor R33 and the gate of the MOS tube Q2, the source of the MOS tube Q2 is connected to the voltage conversion circuit, and the drain of the MOS tube Q2 is connected to the first voltage detection unit and the second voltage doubling switch.

[0038] Preferably, in a power supply circuit described in the present invention, the voltage doubling unit includes a capacitor EC1, a capacitor EC18, a resistor R3, a resistor R10, a resistor R19 and a resistor R22; the positive electrode of the capacitor EC1 is connected to the rectifier unit and the power output end, the negative electrode of the capacitor EC1 is connected to the positive electrode of the capacitor EC18 and the second end after the first voltage doubling switch and the second voltage doubling switch are connected in series, the negative electrode of the capacitor EC18 is grounded, and the resistor R3 and the resistor R10 are connected in series at one end to the positive electrode of the capacitor EC1 and the other end to the negative electrode of the capacitor EC1; the resistor R19 and the resistor R22 are connected in series at one end to the positive electrode of the capacitor EC18 and the other end to the ground; and / or

[0039] The rectifier unit includes a rectifier bridge BD1 and a thermistor RT1, a first end of the rectifier bridge BD1 is connected to the second input end, a second end of the rectifier bridge BD1 is connected to the first input end, a third end of the rectifier bridge BD1 is connected to the first end of the thermistor RT1, a second end of the thermistor RT1 is connected to a power supply output end, and a fourth end of the rectifier bridge BD1 is grounded.

[0040] Preferably, in a power supply circuit described in the present invention, the zero-crossing detection unit comprises: a diode D11, a fourth optical coupler and a resistor group;

[0041] The anode of the diode D11 is connected to the second input terminal and the second terminal of the fourth optocoupler, the cathode of the diode D11 is connected to the first terminal of the fourth optocoupler, and the cathode of the diode D11 is also connected to the first input terminal via the resistor group, the third terminal of the fourth optocoupler is grounded, and the fourth terminal of the fourth optocoupler is connected to the control unit.

[0042] In addition, an electronic device of the present invention includes a power supply circuit as described in any one of the above.

[0043] A power supply circuit and electronic equipment implementing the present invention have the following beneficial effects: the same load can be adapted to a variety of power supply voltages to meet the use requirements of different countries and regions. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0045] Figure 1 It is a logic block diagram of an embodiment of a power supply circuit of the present invention;

[0046] Figure 2 is a logic block diagram of another embodiment of a power supply circuit of the present invention;

[0047] Figure 3is a circuit schematic diagram of an embodiment of a power supply circuit of the present invention;

[0048] Figure 4 is a circuit schematic diagram of another embodiment of a power supply circuit of the present invention;

[0049] Figure 5 is a circuit schematic diagram of another embodiment of a power supply circuit of the present invention;

[0050] Figure 6 It is a circuit principle diagram of another embodiment of a power supply circuit of the present invention. DETAILED DESCRIPTION

[0051] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0052] like Figure 1As shown, in a first embodiment of a power supply circuit of the present invention, it includes: a power supply input terminal 110 including a first input terminal 111 and a second input terminal 112, a rectifier unit 120 connected to the power supply input terminal 110, a power supply output terminal 140 for providing a voltage output, and a voltage doubling unit 130, a first voltage detection unit 171, a second voltage detection unit 172, a first voltage doubling switch 181, a second voltage doubling switch 182, a voltage conversion unit 190 and a control unit 160; the voltage conversion unit 190 is connected to the power supply output terminal 140 and is used to convert the voltage output to output a supply voltage; the first voltage detection unit 171 is connected to the second input terminal 112 and the voltage conversion unit 190, and is used to output a first level corresponding to the input voltage of the second input terminal 112; the control unit 160 is connected to the first The voltage detection unit 171 is used to receive the first level and output the corresponding first driving level. The first voltage doubling switch 181 is connected to the control unit 160 and is used to receive the first driving level to turn on or off. The second voltage detection unit 172 is connected to the second input terminal 112 and is used to output the corresponding second level according to the input voltage of the second input terminal 112. The second voltage doubling switch 182 is connected to the second voltage detection unit 172 and is used to receive the second level to turn on or off. The first voltage doubling switch 181 and the second voltage doubling switch 182 are connected in series, and the first end of the series connection is connected to the second input terminal 112 and the second end is connected to the voltage doubling unit 130. The voltage doubling unit 130 is connected to the rectifier unit 120 and the power output terminal 140, and is used to double the voltage when the first voltage doubling switch 181 and the second voltage doubling switch 182 are both turned on. Specifically, after the power output of the power input terminal 110 is rectified by the rectifier unit 120, it can be output to the power output terminal 140 for voltage output after voltage doubling by the voltage doubling unit 130. The first voltage detection unit 171 is used to detect the input voltage of the second input terminal 112, and output the corresponding detection level to the control unit 160. The control unit 160 determines whether it is necessary to turn off or turn on the voltage doubling according to the detected voltage detection level. That is, when it is necessary to turn on the voltage doubling, the output control level controls the first voltage doubling switch 181 to turn on. At the same time, the input voltage of the second input terminal 112 is detected by the second voltage detection unit 172. When the input voltage is low, that is, when it is considered that the voltage doubling needs to be turned on, the output drive level controls the second voltage doubling switch 182 to turn on, and the second input terminal 112 is connected to the voltage doubling unit 130, and the voltage doubling unit 130 is powered on to double the voltage. On the contrary, when it is necessary to turn off the voltage doubling, when it is determined that the voltage doubling needs to be turned off according to the first voltage detection unit 171, the control unit 160 outputs the control level to control the first voltage doubling switch 181 to turn off, and at the same time, the input voltage of the second input terminal 112 is detected by the second voltage detection unit 172. When the input voltage is high, that is, when it is considered that the voltage doubling does not need to be turned on, the output drive level controls the second voltage doubling switch 182 to turn off. At this time, the voltage doubling unit 130 turns off the voltage doubling.The voltage conversion unit 190 is used to convert the voltage of the power output terminal 140 to obtain the power supply voltage required for the internal circuit to work. It can provide corresponding power supply to the first voltage detection unit 171, the second voltage detection unit 172, the first voltage doubler switch 181 and the second voltage doubler switch 182. Optionally, the first input terminal 111 corresponds to the L input of the power input, and the second input terminal 112 corresponds to the N input of the power input. That is, at this time, the voltage of the N terminal is detected by the first voltage detection unit 171 and the second voltage detection unit 172. The first input terminal 111 can also be an N input, and the second input terminal 112 is an L input, that is, at this time, the voltage of the L terminal can be detected by the first voltage detection unit 171 and the second voltage detection unit 172.

[0053] like Figure 2 As shown, the power circuit of the present invention also includes a zero-crossing detection unit 150; the zero-crossing detection unit 150 is connected to the power input terminal 110, and is used to generate a corresponding zero-crossing signal according to the power input of the power input terminal 110; the control unit 160 is also connected to the zero-crossing detection unit 150, and is used to output a first driving level when receiving a first level and a zero-crossing signal. That is, the zero-crossing signal of the power input terminal can be detected by the zero-crossing detection unit 150, and the control unit 160 simultaneously judges the voltage detection level and the zero-crossing signal output by the first voltage detection unit 171 to determine whether it is necessary to turn off or turn on the voltage doubling. When it is determined that the voltage doubling needs to be turned off according to the first voltage detection unit 171 and the zero-crossing signal, the control unit 160 outputs a control level to control the first voltage doubling switch 181 to turn off. Among them, the control unit 160 detects the zero-crossing signal, and when the zero-crossing signal is detected, the voltage doubling or the voltage doubling is normally performed according to the judgment result of the first voltage detection unit 171 and the second voltage detection unit 172 on the input voltage. When the zero-crossing signal is detected, if it is determined that the zero-crossing signal is lost, for example, if the zero-crossing signal is lost for two cycles, it can be determined that the voltage doubler needs to be turned off to prevent misjudgment of the low voltage state in the power input. That is, the zero-crossing signal detection process is a process of improving detection reliability.

[0054] like Figure 3As shown, the first voltage detection unit 171 includes a diode D6, a capacitor EC3, a first voltage divider circuit, a first sub-switch and a first optocoupler IC3; the anode of the diode D6 is connected to the second input terminal 112, the cathode of the diode D6 is connected to the positive electrode of the capacitor EC3 and the first end of the first voltage divider circuit, the second end of the first voltage divider circuit and the negative electrode of the capacitor EC3 are both grounded, the voltage divider end of the first voltage divider circuit is connected to the first end of the first sub-switch, the second end of the first sub-switch and the first end of the first optocoupler IC3 are respectively connected to the voltage conversion unit, the third end of the first sub-switch is connected to the second end of the first optocoupler IC3, the third end of the first optocoupler IC3 is grounded, and the fourth end of the first optocoupler IC3 is connected to the control unit 160. Specifically, the voltage of the second input terminal 112 is divided by the first voltage divider circuit to obtain a corresponding voltage detection result, and the first sub-switch is turned on or off according to the voltage division drive. When the input voltage of the power input terminal 110 is high voltage, the first voltage divider circuit obtains a higher voltage division, and the voltage division drives the first sub-switch to turn on. The control unit corresponding to the first optocoupler IC3 working receives a low level and obtains a corresponding high voltage detection result. When the input voltage at the power input terminal 110 is low voltage, the first voltage divider circuit obtains a lower voltage, which drives the first sub-switch to turn off, the first optocoupler IC3 does not work, and the corresponding control unit receives a high level, that is, obtains a corresponding low voltage detection result.

[0055] Optionally, the first sub-switch includes a voltage regulator U4, a transistor Q8, a resistor R70, a resistor R74 and a resistor R83; the gate of the voltage regulator U4 is connected to the voltage dividing end of the first voltage dividing circuit, the anode of the voltage regulator U4 is grounded, the cathode of the voltage regulator U4 is connected to the first end of the resistor R70 and the first end of the resistor R74, the second end of the resistor R70 is connected to the voltage conversion unit, the second end of the resistor R74 is connected to the base of the transistor Q8, the emitter of the transistor Q8 is connected to the second end of the first optocoupler, and the collector of the transistor Q8 is grounded via the resistor R83; specifically, the first sub-switch can be composed of the voltage regulator U4 and the transistor Q8 and their peripheral circuits. When the divided voltage of the first voltage dividing circuit is high voltage, the voltage regulator U4 is driven to turn on, the K pole of the voltage regulator U4 is relatively low level, the base of the transistor Q8 is pulled low, and the transistor Q8 is turned on. At this time, the second pin of the first optocoupler IC3 is low level, and the first optocoupler IC3 is turned on. When the voltage of the first voltage divider circuit is low, the voltage regulator U4 is driven to turn off, and the transistor Q8 is turned off because the base voltage is greater than the emitter voltage. At this time, the second pin of the first optocoupler IC3 is high level, and the first optocoupler IC3 does not work. The voltage regulator U4 is used as a voltage detection device, which can be turned on or off according to the input voltage.

[0056] Optionally, the first voltage-dividing circuit includes a first voltage-dividing resistor and a second voltage-dividing resistor, the first end of the first voltage-dividing resistor is connected to the cathode of the diode D6, the second end of the first voltage-dividing resistor is connected to the first end of the second voltage-dividing resistor and the first end of the first sub-switch, and the second end of the second voltage-dividing resistor is grounded. Specifically, the first voltage-dividing resistor and the second voltage-dividing resistor can be a single resistor or a plurality of resistors connected in series. In a specific embodiment, the first voltage-dividing resistor includes a plurality of resistors such as resistor R51, resistor R54, and resistor R56 connected in series to achieve voltage division, and the second voltage-dividing resistor may include resistor R58; after resistors R51, resistor R54, and resistor R56 are connected in series, one end is connected to the cathode of diode D6, and the other end is connected to the first end of resistor R58, and the second end of resistor R58 is grounded.

[0057] like Figure 4 As shown, in one embodiment, the first voltage doubling switch 181 includes a second sub-switch, a third sub-switch and a second optocoupler; the first end of the second sub-switch is connected to the control unit 160, the second end of the second sub-switch is grounded, the third end of the second sub-switch is connected to the second end of the second optocoupler, the first end of the second optocoupler UF1 is used to input a voltage, the fourth end of the second optocoupler UF1 is connected to the first end of the third sub-switch, and the sixth end of the second optocoupler is connected to the second end of the third sub-switch. Specifically, in the first voltage doubling switch 181, the second sub-switch is connected to the control unit 160, and is driven to be turned on or off according to the output level of the control unit 160. When the control unit 160 outputs a PWM signal, that is, when the voltage doubling is required, the second sub-switch is turned on, driving the second optocoupler UF1 to be turned on, and the third sub-switch is turned on when the second optocoupler UF1 is turned on.

[0058] Optionally, the second sub-switch includes a diode D3, a diode D4, a transistor Q3, a resistor R11, a resistor R40, a resistor R65, a capacitor C6 and a capacitor C9; after the resistor R11 and the capacitor C6 are connected in series, one end is connected to the control unit 160, and the other end is connected to the anode of the diode D3 and the cathode of the diode D4, the cathode of the diode D3 is connected to the first end of the resistor R40 and the first end of the capacitor C9, the second end of the resistor R40 is connected to the first end of the resistor R65 and the base of the transistor Q3, the emitter of the transistor Q3, the anode of the diode D4, the second end of the capacitor C9 and the second end of the resistor R65 are all grounded, and the collector of the transistor Q3 is connected to the second end of the second optical coupler UF1; specifically, when the control unit 160 outputs a PWM signal, the level can pass through R11 and C6, and drive the transistor Q3 to turn on through the diode D3, and the second optical coupler UF1 is turned on when the transistor Q3 is turned on to drive the third sub-switch to turn on. The PWM signal is used to prevent malfunction when the chip crashes. Meanwhile, it can be understood that when the control unit 160 does not output the PWM signal, the base of the transistor Q3 is pulled down by R65, the transistor Q3 is turned off, and the second optical coupler UF1 has no output.

[0059] Optionally, the third sub-switch includes a thyristor T2, a resistor R1, a resistor R18, a resistor R12, and a capacitor C1; the first end of the thyristor T2 is connected to the first end of the resistor R1, the second input end, and the first end of the capacitor C1, the second end of the thyristor T2 is connected to the first end of the resistor R18, the second voltage doubling switch, and the first end of the resistor R12, the second end of the resistor R18 is connected to the sixth end of the second optical coupler, the third end of the thyristor T2 is connected to the fourth end of the second optical coupler and the second end of the resistor R1, and the second end of the capacitor C1 is connected to the second end of the resistor R12. Specifically, the third sub-switch can select the thyristor T2 and its peripheral circuit, wherein the thyristor can improve the life and reliability of the circuit, and can also ensure that it is opened near the zero point and there is no problem of large contact current impact.

[0060] like Figure 3 As shown, the second voltage detection unit 172 includes a diode D1, a second voltage divider circuit, a capacitor EC2 and a fourth sub-switch; the anode of the diode D1 is connected to the second input terminal 112, the cathode of the diode D1 is connected to the positive electrode of the capacitor EC2 and the first end of the second voltage divider circuit, the second end of the second voltage divider circuit and the negative electrode of the capacitor EC2 are both grounded, the voltage divider end of the second voltage divider circuit is connected to the first end of the fourth sub-switch, and the second end of the fourth sub-switch is connected to the second voltage doubling switch 182. Specifically, the input voltage of the power input terminal 110 is divided by the second voltage divider circuit, and the fourth sub-switch is turned on or off according to the voltage division drive. When the input voltage at the second input terminal 112 is high voltage, the second voltage divider circuit obtains a higher voltage division, and the voltage division drives the fourth sub-switch to turn on, so as to drive the second voltage doubling switch 182 to turn off through the detection level. When the input voltage at the second input terminal 112 is low voltage, the corresponding second voltage divider circuit obtains a lower voltage division, the fourth sub-switch is turned off, and the corresponding low voltage detection level is output, so as to drive the second switch unit to turn on through the detection level.

[0061] Optionally, the fourth sub-switch includes: a voltage regulator tube D8, a resistor R7, and a resistor R23; the cathode of the voltage regulator tube D8 is connected to the voltage dividing end of the second voltage dividing circuit, the anode of the voltage regulator tube D8 is connected to the first end of the resistor R7 and the first end of the resistor R23, the second end of the resistor R23 is grounded, and the second end of the resistor R7 is connected to the second voltage doubling switch 182; specifically, the fourth sub-switch includes the voltage regulator tube D8, when the voltage divided by the second voltage dividing circuit is a low voltage, the voltage regulator tube D8 is turned off, at this time, a low voltage is generated at the anode of the voltage regulator tube D8, and the second voltage doubling switch 182 is turned on when receiving the low voltage. When the voltage divided by the second voltage dividing circuit is a high voltage, the anode of the voltage regulator tube D8 generates a high voltage, and the high voltage drives the second voltage doubling switch 182 to turn off to turn off the voltage doubling.

[0062] Optionally, the second voltage-dividing circuit includes a third voltage-dividing resistor and a fourth voltage-dividing resistor; the first end of the third voltage-dividing resistor is connected to the cathode of the diode D1, the second end of the third voltage-dividing resistor is connected to the first end of the fourth voltage-dividing resistor, and the second end of the fourth voltage-dividing resistor is grounded. Specifically, the third voltage-dividing resistor and the fourth voltage-dividing resistor can be connected in series using one or more resistors. In a specific embodiment, the third voltage-dividing resistor includes a plurality of resistors such as resistor R6, resistor R13, and resistor R25 connected in series, and the fourth voltage-dividing resistor includes resistor R32; after resistor R6, resistor R13, and resistor R25 are connected in series, one end is connected to the cathode of the diode D1, and the other end is connected to the first end of resistor R32, and the second end of resistor R32 is grounded.

[0063] like Figure 4 As shown, in one embodiment, the second voltage doubling switch 182 includes a fifth sub-switch, a sixth sub-switch and a third optocoupler; the first end of the fifth sub-switch is connected to the second voltage detection unit 172, the second end of the fifth sub-switch is grounded, the third end of the fifth sub-switch is connected to the second end of the third optocoupler, the fourth end of the fifth sub-switch and the first end of the third optocoupler are respectively connected to the voltage conversion unit 190, the fourth end of the third optocoupler is connected to the first end of the sixth sub-switch, and the sixth end of the third optocoupler is connected to the second end of the sixth sub-switch. Specifically, when the second voltage detection unit 172 outputs a voltage detection level corresponding to a low voltage, the fifth sub-switch is turned on by the power supply drive of the voltage conversion unit 190, and after the fifth sub-switch is turned on, the third optocoupler is turned on to drive the sixth sub-switch to turn on. When the second voltage detection unit 172 outputs a voltage detection level of a high voltage, after the fifth switch is turned off, the third optocoupler is not turned on and the sixth switch is turned off. The voltage conversion unit 192 supplies power to the fifth switch and the second optocoupler UF2.

[0064] Optionally, the fifth sub-switch includes a transistor Q5, a MOS transistor Q7, a resistor R29, a resistor R55, and a capacitor C7; the base of the transistor Q5 is connected to the second voltage detection unit 172, the collector of the transistor Q5 is connected to the first end of the resistor R29, the first end of the capacitor C7, the first end of the resistor R55, and the gate of the MOS transistor Q7, the second end of the resistor R29 is connected to the voltage conversion unit 190, the emitter of the transistor Q5, the source of the MOS transistor Q7, the second end of the resistor R55, and the second end of the capacitor C7 are all grounded, and the drain of the MOS transistor Q7 is connected to the second end of the third optical coupler; specifically, in the fifth sub-switch, the detection level output of the second voltage detection unit 172 drives the transistor Q5 to turn on or off. When the second voltage detection unit 172 outputs a low level, the transistor Q5 is turned off, the voltage conversion unit 190 supplies power to drive the MOS transistor Q7 to turn on, and the third optical coupler is turned on accordingly. When the second voltage detection unit 172 outputs a high level, the transistor Q5 is turned on, and the voltage conversion unit 190 supplies power to the ground through the turned-on transistor Q5. The MOS transistor Q7 is turned off at this time, and the third optical coupler is turned off accordingly. In another embodiment, the transistor Q5 and the MOS transistor Q7 can be replaced by other switch tubes.

[0065] Optionally, the sixth sub-switch includes a thyristor T3, a resistor R26, a resistor R34, a resistor R31, and a capacitor C2; the first end of the thyristor T3 is connected to the first end of the resistor R26, the first end of the capacitor C2, and the first voltage doubler switch 181, the second end of the thyristor T3 is connected to the first end of the resistor R34, the voltage doubler unit 130, and the first end of the resistor R31, the third end of the thyristor T3 is connected to the fourth end of the third optical coupler and the second end of the resistor R26, the second end of the resistor R34 is connected to the sixth end of the third optical coupler, and the second end of the capacitor C2 is connected to the second end of the resistor R31. Specifically, the sixth sub-switch can select the thyristor T3 and its peripheral circuit to improve the life and reliability of the circuit through the thyristor.

[0066] like Figure 5As shown, in one embodiment, the voltage conversion unit 190 includes a voltage conversion circuit 191 and a power switch 192; the voltage conversion circuit 191 is connected to the power output terminal 140; the power switch 192 is connected to the second input terminal 112, the voltage conversion circuit, the first voltage detection unit 171 and the second voltage doubling switch 182, and is used to turn on or off according to the input voltage of the second input terminal 112. Specifically, in the voltage conversion unit 190, the voltage conversion circuit 191 is used to convert the power output of the power output terminal 140 to obtain the power supply voltage. The power switch is turned off or on according to the voltage input of the second input terminal 112 to turn off the power supply voltage. The power supply voltage is used to power the first voltage detection unit 171, and the power supply voltage is also used to power the second voltage doubling switch 182. Through the power switch, when the power supply is not stable at the initial power-on stage, the output timing of the voltage conversion circuit is slower than the detection level output of the second detection unit, which can avoid the false triggering of the second voltage doubling switch 182 when the high voltage input is applied. At the same time, when the power supply at the power input end is cut off, the power-off timing of the transformer circuit is slower than the detection level of the second detection unit. The output of the transformer circuit can be directly turned off through the second voltage doubling switch 192 to turn off the second voltage doubling switch 182 to prevent short-time triggering of the voltage doubling.

[0067] Optionally, the voltage conversion circuit 191 includes a transformer T1, a diode D7 and a capacitor EC5; the first end and the second end of the first primary coil of the transformer T1 are connected to the power supply output terminal 140, the first end of the second primary coil of the transformer T1 is connected to the anode of the diode D7, the cathode of the diode D7 is connected to the positive electrode of the capacitor EC5, the negative electrode of the capacitor EC5 is grounded, the second end of the second primary coil of the transformer T1 is grounded, and the secondary coil of the transformer T1 is used to connect to the lower voltage conversion circuit; specifically, in the voltage conversion circuit, the voltage of the power supply output terminal 140 is converted by the transformer T1 to obtain the corresponding voltage. Among them, the first primary coil of the transformer T1 is used to connect to the DC output terminal 140 of the power supply, the second primary coil of the transformer T1 is used to obtain the output voltage corresponding to the power supply of the switch part, and the secondary coil of the transformer T1 is used to connect to the lower voltage conversion circuit to perform voltage conversion to obtain the voltages required by the internal circuit.

[0068] Optionally, the power switch 192 includes: a diode D2, a third voltage divider circuit, a MOS transistor Q6, a MOS transistor Q2, a resistor R33, and a resistor R39; the anode of the diode D2 is connected to the second input terminal 112, the cathode of the diode D2 is connected to the first end of the third voltage divider circuit, the second end of the third voltage divider circuit is grounded, the voltage divider end of the third voltage divider circuit is connected to the gate of the MOS transistor Q6, the source of the MOS transistor Q6 is grounded, the drain of the MOS transistor Q6 is connected to the first end of the resistor R39, the second end of the resistor R39 is connected to the first end of the resistor R33 and the gate of the MOS transistor Q2, the source of the MOS transistor Q2 is connected to the voltage conversion circuit, and the drain of the MOS transistor Q2 is connected to the first voltage detection unit 171 and the second voltage doubling switch 182. Specifically, according to the power input of the power input terminal, the MOS transistor Q6 is driven to turn on or off, and the MOS transistor Q2 is driven to turn on or off accordingly, and finally the voltage output of the voltage conversion circuit is output to turn on or off the power supply to the first voltage detection unit 171 and the second voltage doubling switch 182. The voltage conversion unit 190 used in the power supply is powered off slowly. If the input line of the power input terminal 110 has no voltage but VDD has voltage, it is possible to double the voltage incorrectly. Therefore, the diode D2 can be used as a voltage divider as a switch to turn off the MOS tube Q2 in time when the power input terminal loses power, thereby preventing the voltage double error caused by the power-off timing.

[0069] Optionally, the third voltage-dividing circuit may form a voltage divider by connecting voltage-dividing resistors in series, and the voltage-dividing resistor may also be composed of a plurality of resistors connected in series.

[0070] Optionally, the voltage doubling unit 130 includes a capacitor EC1, a capacitor EC18, a resistor R3, a resistor R10, a resistor R19, and a resistor R22; the positive electrode of the capacitor EC1 is connected to the rectifier unit 120 and the power output terminal 140, the negative electrode of the capacitor EC1 is connected to the positive electrode of the capacitor EC18 and the second end after the first voltage doubling switch 181 and the second voltage doubling switch 182 are connected in series, the negative electrode of the capacitor EC18 is grounded, the resistor R3 and the resistor R10 are connected in series, one end is connected to the positive electrode of the capacitor EC1, and the other end is connected to the negative electrode of the capacitor EC1; the resistor R19 and the resistor R22 are connected in series, one end is connected to the positive electrode of the capacitor EC18, and the other end is grounded; specifically, in the voltage doubling unit 130, when the voltage doubling is turned on, the AC input signal ACN is connected to the middle point of the series electrolytic capacitor. The output DC voltage is doubled to achieve voltage doubling.

[0071] Optionally, the rectifier unit 120 includes a rectifier bridge BD1 and a thermistor RT1, a first end of the rectifier bridge BD1 is connected to the second input terminal 112, a second end of the rectifier bridge BD1 is connected to the first input terminal 111, a third end of the rectifier bridge BD1 is connected to the first end of the thermistor RT1, a second end of the thermistor RT1 is connected to the power output terminal 140, and a fourth end of the rectifier bridge BD1 is grounded. Specifically, the power input of the power input terminal is rectified by the rectifier bridge BD1.

[0072] like Figure 6 As shown, in one embodiment, the zero-crossing detection unit 150 includes: a diode D11, a fourth optical coupler and a resistor group; the anode of the diode D11 is connected to the second input terminal 112 and the second end of the fourth optical coupler, the cathode of the diode D11 is connected to the first end of the fourth optical coupler, and the cathode of the diode D11 is also connected to the first input terminal 111 through the resistor group, the third end of the fourth optical coupler IC10 is grounded, and the fourth end of the fourth optical coupler IC10 is connected to the control unit 160. The resistor group includes a resistor R67, a resistor R72 and a resistor R73 connected in series, and the circuit detects the power input through the diode D11 and the optical coupler IC10 to obtain a zero-crossing signal.

[0073] An electronic device of the present invention includes any one of the power supply circuits above. That is, by designing the power supply circuit in the electronic device, the voltage of the power supply input can be doubled as needed, the uniform design of the workload can be ensured, and the compatibility of the device can be improved.

[0074] It can be understood that the above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the coverage of the claims of the present invention.

Claims

1. A power supply circuit, characterized in that: include: A power input terminal including a first input terminal and a second input terminal, a rectifier unit connected to the power input terminal, a power output terminal for providing a voltage output, a voltage doubling unit, a first voltage detection unit, a second voltage detection unit, a first voltage doubling switch, a second voltage doubling switch, a voltage conversion unit and a control unit; The voltage conversion unit is connected to the power supply output terminal and is used for converting the voltage output to output a supply voltage to supply power to the first voltage detection unit and the second voltage doubling switch; The first voltage detection unit is connected to the second input terminal and the voltage conversion unit, and is used to output a corresponding first level according to the input voltage of the second input terminal; The control unit is connected to the first voltage detection unit, and is used for receiving the first level and outputting a corresponding first driving level; The first voltage doubling switch is connected to the control unit and is used to receive the first driving level to be turned on or off; The second voltage detection unit is connected to the second input terminal, and is used to output a corresponding second level according to the input voltage of the second input terminal; The second voltage doubling switch is connected to the second voltage detection unit and is used to receive the second level to turn on or off; The first voltage doubling switch and the second voltage doubling switch are connected in series, and the first end of the series connection is connected to the second input end, and the second end is connected to the voltage doubling unit; The voltage doubling unit is connected to the rectifying unit and the power output end, and is used for doubling the voltage when both the first voltage doubling switch and the second voltage doubling switch are turned on.

2. The power supply circuit according to claim 1, characterized in that: Also includes a zero-crossing detection unit; The zero-crossing detection unit is connected to the power input terminal and is used to generate a corresponding zero-crossing signal according to the power input of the power input terminal; The control unit is also connected to the zero-crossing detection unit, and is configured to output the first driving level when receiving the first level and the zero-crossing signal.

3. The power supply circuit according to claim 1, characterized in that: The first voltage detection unit includes a diode D6, a capacitor EC3, a first voltage divider circuit, a first sub-switch and a first optical coupler; The anode of the diode D6 is connected to the second input terminal, the cathode of the diode D6 is connected to the positive electrode of the capacitor EC3 and the first end of the first voltage divider circuit, the second end of the first voltage divider circuit and the negative electrode of the capacitor EC3 are both grounded, the voltage divider end of the first voltage divider circuit is connected to the first end of the first sub-switch, the second end of the first sub-switch and the first end of the first optocoupler are respectively connected to the voltage conversion unit, the third end of the first sub-switch is connected to the second end of the first optocoupler, the third end of the first optocoupler is grounded, and the fourth end of the first optocoupler is connected to the control unit.

4. The power supply circuit according to claim 3, characterized in that: The first sub-switch includes a voltage regulator U4, a transistor Q8, a resistor R70, a resistor R74 and a resistor R83; the gate of the voltage regulator U4 is connected to the voltage dividing end of the first voltage dividing circuit, the anode of the voltage regulator U4 is grounded, the cathode of the voltage regulator U4 is connected to the first end of the resistor R70 and the first end of the resistor R74, the second end of the resistor R70 is connected to the voltage conversion unit, the second end of the resistor R74 is connected to the base of the transistor Q8, the emitter of the transistor Q8 is connected to the second end of the first optical coupler, and the collector of the transistor Q8 is grounded via the resistor R83; and / or The first voltage-dividing circuit includes a first voltage-dividing resistor and a second voltage-dividing resistor, wherein the first end of the first voltage-dividing resistor is connected to the cathode of the diode D6, the second end of the first voltage-dividing resistor is connected to the first end of the second voltage-dividing resistor and the first end of the first sub-switch, and the second end of the second voltage-dividing resistor is grounded.

5. The power supply circuit according to claim 1, characterized in that: The first voltage doubling switch includes a second sub-switch, a third sub-switch and a second optical coupler; The first end of the second sub-switch is connected to the control unit, the second end of the second sub-switch is grounded, the third end of the second sub-switch is connected to the second end of the second optocoupler, the first end of the second optocoupler is used to input a voltage, the fourth end of the second optocoupler is connected to the first end of the third sub-switch, and the sixth end of the second optocoupler is connected to the second end of the third sub-switch.

6. The power supply circuit according to claim 5, characterized in that: The second sub-switch includes a diode D3, a diode D4, a transistor Q3, a resistor R11, a resistor R40, a resistor R65, a capacitor C6 and a capacitor C9; the resistor R11 and the capacitor C6 are connected in series, one end of which is connected to the control unit, and the other end is connected to the anode of the diode D3 and the cathode of the diode D4, the cathode of the diode D3 is connected to the first end of the resistor R40 and the first end of the capacitor C9, the second end of the resistor R40 is connected to the first end of the resistor R65 and the base of the transistor Q3, the emitter of the transistor Q3, the anode of the diode D4, the second end of the capacitor C9 and the second end of the resistor R65 are all grounded, and the collector of the transistor Q3 is connected to the second end of the second optical coupler; and / or The third sub-switch includes a thyristor T2, a resistor R1, a resistor R18, a resistor R12 and a capacitor C1; a first end of the thyristor T2 is connected to a first end of the resistor R1, the second input end and a first end of the capacitor C1, a second end of the thyristor T2 is connected to a first end of the resistor R18, the second voltage doubling switch and a first end of the resistor R12, a second end of the resistor R18 is connected to a sixth end of the second optocoupler, a third end of the thyristor T2 is connected to a fourth end of the second optocoupler and a second end of the resistor R1, and a second end of the capacitor C1 is connected to a second end of the resistor R12.

7. The power supply circuit according to claim 1, characterized in that: The second voltage detection unit includes a diode D1, a second voltage divider circuit, a capacitor EC2 and a fourth sub-switch; The anode of the diode D1 is connected to the second input terminal, the cathode of the diode D1 is connected to the positive electrode of the capacitor EC2 and the first end of the second voltage divider circuit, the second end of the second voltage divider circuit and the negative electrode of the capacitor EC2 are both grounded, the voltage divider end of the second voltage divider circuit is connected to the first end of the fourth sub-switch, and the second end of the fourth sub-switch is connected to the second voltage doubling switch.

8. The power supply circuit according to claim 7, characterized in that: The fourth sub-switch includes: a voltage regulator tube D8, a resistor R7 and a resistor R23; the cathode of the voltage regulator tube D8 is connected to the voltage dividing end of the second voltage dividing circuit, the anode of the voltage regulator tube D8 is connected to the first end of the resistor R7 and the first end of the resistor R23, the second end of the resistor R23 is grounded, and the second end of the resistor R7 is connected to the second voltage doubling switch; and / or The second voltage-dividing circuit includes a third voltage-dividing resistor and a fourth voltage-dividing resistor; the first end of the third voltage-dividing resistor is connected to the cathode of the diode D1, the second end of the third voltage-dividing resistor is connected to the first end of the fourth voltage-dividing resistor and the first end of the fourth sub-switch, and the second end of the fourth voltage-dividing resistor is grounded.

9. The power supply circuit according to claim 1, characterized in that: The second voltage doubling switch includes a fifth sub-switch, a sixth sub-switch and a third optical coupler; The first end of the fifth sub-switch is connected to the second voltage detection unit, the second end of the fifth sub-switch is grounded, the third end of the fifth sub-switch is connected to the second end of the third optocoupler, the fourth end of the fifth sub-switch and the first end of the third optocoupler are connected to the voltage conversion unit, the fourth end of the third optocoupler is connected to the first end of the sixth sub-switch, and the sixth end of the third optocoupler is connected to the second end of the sixth sub-switch.

10. The power supply circuit according to claim 9, characterized in that: The fifth sub-switch includes a transistor Q5, a MOS transistor Q7, a resistor R29, a resistor R55 and a capacitor C7; the base of the transistor Q5 is connected to the second voltage detection unit, the collector of the transistor Q5 is connected to the first end of the resistor R29, the first end of the capacitor C7, the first end of the resistor R55 and the gate of the MOS transistor Q7, the second end of the resistor R29 is connected to the voltage conversion unit, the emitter of the transistor Q5, the source of the MOS transistor Q7, the second end of the resistor R55 and the second end of the capacitor C7 are all grounded, and the drain of the MOS transistor Q7 is connected to the second end of the third optical coupler; and / or The sixth sub-switch includes a thyristor T3, a resistor R26, a resistor R34, a resistor R31 and a capacitor C2; the first end of the thyristor T3 is connected to the first end of the resistor R26, the first end of the capacitor C2 and the first voltage doubling switch, the second end of the thyristor T3 is connected to the first end of the resistor R34, the voltage doubling unit and the first end of the resistor R31, the third end of the thyristor T3 is connected to the fourth end of the third optocoupler and the second end of the resistor R26, the second end of the resistor R34 is connected to the sixth end of the third optocoupler, and the second end of the capacitor C2 is connected to the second end of the resistor R31.

11. The power supply circuit according to claim 1, characterized in that: The voltage conversion unit includes a voltage conversion circuit and a power supply switch; The voltage conversion circuit is connected to the power output end, and the power supply switch is connected to the second input end, the voltage conversion circuit, the first voltage detection unit and the second voltage doubling switch, and is used to be turned on or off according to the input voltage of the second input end.

12. The power supply circuit according to claim 11, characterized in that: The voltage conversion circuit includes a transformer T1, a diode D7 and a capacitor EC5; The first end and the second end of the first primary coil of the transformer T1 are connected to the power supply output end, the first end of the second primary coil of the transformer T1 is connected to the anode of the diode D7, the cathode of the diode D7 is connected to the positive electrode of the capacitor EC5, the negative electrode of the capacitor EC5 is grounded, the second end of the second primary coil of the transformer T1 is grounded, and the secondary coil of the transformer T1 is used to connect to the lower voltage conversion circuit; and / or The power switch includes: a diode D2, a third voltage divider circuit, a MOS transistor Q6, a MOS transistor Q2, a resistor R33 and a resistor R39; The anode of the diode D2 is connected to the second input end, the cathode of the diode D2 is connected to the first end of the third voltage divider circuit, the second end of the third voltage divider circuit is grounded, the voltage divider end of the third voltage divider circuit is connected to the gate of the MOS tube Q6, the source of the MOS tube Q6 is grounded, the drain of the MOS tube Q6 is connected to the first end of the resistor R39, the second end of the resistor R39 is connected to the first end of the resistor R33 and the gate of the MOS tube Q2, the source of the MOS tube Q2 is connected to the voltage conversion circuit, and the drain of the MOS tube Q2 is connected to the first voltage detection unit and the second voltage doubling switch.

13. The power supply circuit according to claim 1, characterized in that: The voltage doubling unit includes a capacitor EC1, a capacitor EC18, a resistor R3, a resistor R10, a resistor R19 and a resistor R22; the positive electrode of the capacitor EC1 is connected to the rectifier unit and the power output end, the negative electrode of the capacitor EC1 is connected to the positive electrode of the capacitor EC18 and the second end after the first voltage doubling switch and the second voltage doubling switch are connected in series, the negative electrode of the capacitor EC18 is grounded, the resistor R3 and the resistor R10 are connected in series, one end is connected to the positive electrode of the capacitor EC1, and the other end is connected to the negative electrode of the capacitor EC1; the resistor R19 and the resistor R22 are connected in series, one end is connected to the positive electrode of the capacitor EC18, and the other end is grounded; and / or The rectifier unit includes a rectifier bridge BD1 and a thermistor RT1, a first end of the rectifier bridge BD1 is connected to the second input end, a second end of the rectifier bridge BD1 is connected to the first input end, a third end of the rectifier bridge BD1 is connected to the first end of the thermistor RT1, a second end of the thermistor RT1 is connected to a power supply output end, and a fourth end of the rectifier bridge BD1 is grounded.

14. The power supply circuit according to claim 2, characterized in that: The zero-crossing detection unit includes: a diode D11, a fourth optical coupler and a resistor group; The anode of the diode D11 is connected to the second input terminal and the second terminal of the fourth optocoupler, the cathode of the diode D11 is connected to the first terminal of the fourth optocoupler, and the cathode of the diode D11 is also connected to the first input terminal via the resistor group, the third terminal of the fourth optocoupler is grounded, and the fourth terminal of the fourth optocoupler is connected to the control unit.

15. An electronic device, characterized in that: Comprising the power supply circuit as claimed in any one of claims 1 to 14.