Control method for power supply system, storage medium, control device and power supply system

By introducing zero crossing detection and square wave control into the phase-cutting power supply circuit, the problems of weak current and arc noise in traditional lighting systems are solved, and the stability and reliability of the power supply system are improved.

CN119095240APending Publication Date: 2024-12-06QINGDAO HAIER INTELLIGENT HOME APPLIANCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411347650.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In traditional lighting systems, single-fire wiring method causes weak current to flow through the load lamp, causing ghost fire. Without considering zero crossing detection, relay switch operation is prone to generate arcs and noise, affecting the stability and reliability of the power supply system. .

Method used

By introducing a zero crossing detection circuit into the phase-cut power-taking circuit, a square wave control signal is generated to control the phase-cut power-taking, ensuring that the voltage is switched near the zero crossing point, providing stable power supply, and correcting the control signal during voltage sampling to reduce the market Electric fluctuations affect.

Benefits of technology

It effectively avoids ghost fire and arc noise, improves the stability and reliability of the power supply system, and ensures the normal operation of the load lamps and switch panels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095240A_ABST
    Figure CN119095240A_ABST
Patent Text Reader

Abstract

The invention discloses a control method for a power supply system, a storage medium, a control device and a power supply system, and relates to the technical field of circuit control, and the power supply system comprises a phase-cut power taking circuit which is connected in series between a live wire inlet wire and a live wire outlet wire, is connected with a load lamp through the live wire outlet wire, and is connected with a switch panel through a power taking voltage output end; the control method comprises the steps that under the condition that a load lamp is turned on, a square wave control signal is generated according to a voltage zero-crossing signal; according to the square wave control signal, controlling the phase-cut power-taking circuit to alternately intercept voltage so as to respectively supply power to the switch panel and the load lamp; acquiring a first sampling voltage value at the falling edge moment of the square wave control signal; and selectively correcting the square wave control signal according to the first sampling voltage value. It can be guaranteed that the phase-cut electricity taking circuit is always located near the zero crossing point for phase-cut electricity taking, and the stability and reliability of a power supply system can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit control technology, and in particular to a control method and storage medium, a control device, and a power supply system for a power supply system. Background Art

[0002] At present, in traditional lighting mode, a single live wire wiring method is usually adopted, that is, a single live wire is passed through the switch panel to realize the control of the on and off of the load lamp. In order to ensure that the switch panel can control the load lamp at any time, it is necessary to keep it powered on in real time. However, this will cause a weak current to flow through the load lamp, causing it to produce a "ghost fire" phenomenon such as dim or flickering when the user turns off the light, which in turn affects the actual user experience.

[0003] To this end, the relevant technology proposes a power supply circuit, including: a main control panel, electrically connected to the phase-cut power supply circuit, and used to output a first level signal corresponding to the control instruction to the phase-cut power supply circuit when receiving a control instruction; the control instruction is used to control the external load to turn on or off; the phase-cut power supply circuit is used to receive the AC power voltage; the phase-cut power supply circuit is also used to determine the target device according to the first level signal, and use the AC power voltage to provide working power for the target device; the target device is an external load or a main control panel.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] Related technologies can reduce power consumption, but they do not involve zero-crossing detection. Without considering the zero-crossing point, the relay is prone to generate large arcs and noise when performing switching operations, which will have an adverse effect on the life of the switch panel. In addition, due to the fluctuation of the mains itself, the zero-crossing point may also shift. In this case, the intercepted voltage will cause a large fluctuation in the power supply voltage, which will have an adverse effect on the load lamps and affect the stability and reliability of the power supply system.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a control method, device, power supply system, and computer-readable storage medium for a power supply system, which can ensure that the phase-cut power supply circuit is always located near the zero-crossing point to perform phase-cut power supply, which is beneficial to ensuring the stability and reliability of the power supply system.

[0009] In some embodiments, the power supply system includes a phase-cut power supply circuit, which is connected in series between the live wire input line and the live wire output line, connected to the load lamp through the live wire output line, and connected to the switch panel through the power supply voltage output terminal; the control method includes: when the load lamp is turned on, generating a square wave control signal according to the voltage zero-crossing signal; according to the square wave control signal, controlling the phase-cut power supply circuit to alternately intercept the voltage to power the switch panel and the load lamp respectively; at the falling edge of the square wave control signal, obtaining a first sampled voltage value; according to the first sampled voltage value, selectively correcting the square wave control signal.

[0010] In some embodiments, the computer-readable storage medium includes a stored program, wherein the program executes the above-mentioned control method for the power supply system when it is executed.

[0011] In some embodiments, the control device includes a memory and a processor, the memory stores a computer program, and the processor is configured to execute the above-mentioned control method for the power supply system through the computer program.

[0012] In some embodiments, the power supply system includes: a phase-cut power supply circuit, which is connected in series between the live wire input line and the live wire output line, connected to the load lamp through the live wire output line, and connected to the switch panel through the power supply voltage output terminal; the above-mentioned control device for the power supply system is electrically connected to the phase-cut power supply circuit.

[0013] The control method, device, power supply system, and computer-readable storage medium for a power supply system provided in the embodiments of the present disclosure can achieve the following technical effects:

[0014] In the embodiment of the present disclosure, the voltage can be alternately intercepted from the live wire by the phase-cut power circuit to provide the power required for the switch panel and the load lamp to work respectively, so as to ensure that the switch panel and the load lamp can work normally. At the same time, when the load lamp is turned on, the embodiment of the present disclosure can generate a suitable square wave control signal according to the detected voltage zero-crossing signal, so as to control the phase-cut power circuit to cut the phase at the zero-crossing point to provide a stable power supply and avoid the power-taking operation from having an adverse effect on the switch panel and the load lamp. And at each falling edge of the square wave control signal, the embodiment of the present disclosure obtains the current first sampled voltage value to determine whether it is close to the zero-point voltage value, so as to reduce the influence of the fluctuation of the mains itself, and can also reasonably correct the square wave control signal when the zero-crossing point is offset to compensate for the adverse effect of the accumulated error on the power supply system. Therefore, the embodiment of the present disclosure can ensure that the phase-cut power circuit is always located near the zero-crossing point to cut the phase, which is conducive to ensuring the stability and reliability of the power supply system.

[0015] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 is a schematic diagram of a hardware environment of a smart home system according to an embodiment of the present application;

[0019] Figure 2 is a structural schematic diagram of a power supply system provided by an embodiment of the present disclosure;

[0020] Figure 3 is a circuit schematic diagram of a phase-cut power supply circuit provided by an embodiment of the present disclosure;

[0021] Figure 4 is a circuit schematic diagram of a zero-crossing detection circuit provided by an embodiment of the present disclosure;

[0022] Figure 5 is a circuit schematic diagram of a first step-down circuit provided by an embodiment of the present disclosure;

[0023] Figure 6is a circuit schematic diagram of a second step-down circuit provided in an embodiment of the present disclosure;

[0024] Figure 7 is a schematic diagram of a control method for a power supply system provided by an embodiment of the present disclosure;

[0025] Figure 8 It is a schematic diagram of a mains AC signal for powering a load lamp when the load lamp is turned on, provided by an embodiment of the present disclosure;

[0026] Fig. 9 is a schematic diagram of a high-voltage DC signal for supplying power to a switch panel when a load lamp is turned on, provided by an embodiment of the present disclosure;

[0027] Fig.10 It is a schematic diagram of a square wave control signal provided by an embodiment of the present disclosure, in which the control starting point within the square wave period is located near the zero-crossing point;

[0028] Fig.11 It is a schematic diagram of a square wave control signal provided by an embodiment of the present disclosure, in which the control starting point within the square wave period is located on the left side of the zero crossing point;

[0029] Fig.12 It is a schematic diagram of a square wave control signal provided by an embodiment of the present disclosure, in which the control starting point within the square wave period is located on the right side of the zero crossing point;

[0030] Fig.13 is a schematic diagram of a modified square wave control signal provided by an embodiment of the present disclosure;

[0031] Fig.14 is a schematic diagram of another modified square wave control signal provided by an embodiment of the present disclosure;

[0032] Fig.15 is a schematic diagram of another control method for a power supply system provided by an embodiment of the present disclosure;

[0033] Fig.16 is a schematic diagram of a high-voltage DC signal for supplying power to a switch panel when a load lamp is turned off, provided by an embodiment of the present disclosure;

[0034] Fig.17 is a schematic diagram of another control method for a power supply system provided by an embodiment of the present disclosure;

[0035] Fig.18 is a schematic diagram of a voltage zero-crossing signal when a load lamp is turned off, provided by an embodiment of the present disclosure;

[0036] Fig.19 is a schematic diagram of a voltage zero-crossing signal when a load lamp is turned on, provided by an embodiment of the present disclosure;

[0037] Fig. 20 is a schematic diagram of generating a square wave control signal provided by an embodiment of the present disclosure;

[0038] Fig.21 It is a schematic diagram of a control device for a power supply system provided in an embodiment of the present disclosure.

[0039] Reference numerals:

[0040] 100: switch panel; 200: household electrical appliances; 201: load lamps; 10: phase-cutting power supply circuit; 20: zero-crossing detection circuit; 30: first step-down circuit; 40: second step-down circuit; 50: control device for power supply system; 51: processor; 52: memory; 53: communication interface; 54: bus. DETAILED DESCRIPTION

[0041] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0043] Unless otherwise stated, the term "plurality" means two or more.

[0044] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0045] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0046] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0047] According to one aspect of the embodiment of the present application, a smart home system is provided. The smart home system is widely used in smart home (Smart Home), smart home, smart home equipment ecology, smart house (IntelligenceHouse) ecology and other whole house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned smart home system can be applied to Figure 1 In the hardware environment composed of the switch panel 100 and the household appliance 200 shown in FIG. Figure 1 As shown, the switch panel 100 is connected to the home appliance 200 via a network to achieve intelligent control of home electrical appliances.

[0048] The above network may include but is not limited to at least one of the following: wired network, wireless network. The above wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the above wireless network may include but is not limited to at least one of the following: WiFi (Wireless Fidelity), Bluetooth, ZigBee. The home appliance 200 may not be limited to the load lamp 201. The home appliance 200 may also include PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projection equipment, smart TV, smart clothes drying rack, smart curtain, smart audio and video, smart socket, smart audio, smart speaker, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, smart air purification equipment, smart steamer, smart microwave oven, smart kitchen treasure, smart purifier, smart water dispenser, smart door lock, etc.

[0049] Combination Figure 2 As shown, the embodiment of the present disclosure provides a power supply system, including: a switch panel 100, a load lamp 201 and a phase-cut power circuit 10. The phase-cut power circuit 10 is connected in series between the live wire input line L1 and the live wire output line L2, connected to the load lamp 201 through the live wire output line L2, and connected to the switch panel 100 through the power supply voltage output terminal.

[0050] With the power supply system provided by the embodiment of the present disclosure, the switch panel 100 is connected in series between the live wire L1 and the live wire L2, and the load lamp 201 is arranged after the live wire L2, so that the power-on state of the switch panel 100 can be maintained in real time, so as to realize the control of the on and off of the load lamp 201 at any time. The phase-cutting power circuit 10 is installed inside the switch panel 100, and alternately intercepts the voltage from the live wire to provide the power required for the switch panel 100 and the load lamp 201 to work respectively, so as to ensure that the switch panel 100 and the load lamp 201 can work normally.

[0051] Optionally, combined Figure 3 As shown, the phase-cut power supply circuit 10 includes: a first MOS transistor Q1, a second MOS transistor Q2, a first diode D1, a second diode D2 and a first capacitor E1. The first MOS transistor Q1, its drain is connected to the live wire output line L2, its source is connected to the ground terminal, and its gate receives the square wave control signal MOS_CTRL. The second MOS transistor Q2, its drain is connected to the live wire input line L1, its source is respectively connected to the source of the first MOS transistor Q1 and the ground terminal, and its gate receives the square wave control signal MOS_CTRL. The first diode D1, its anode is respectively connected to the live wire output line L2 and the drain of the first MOS transistor Q1, and its cathode is connected to the power supply voltage output terminal. The second diode D2, its anode is respectively connected to the live wire input line L1 and the drain of the second MOS transistor Q2, and its cathode is connected to the power supply voltage output terminal. The first capacitor E1, its first end is connected to the ground terminal, and its second end is respectively connected to the cathode of the first diode D1, the cathode of the second diode D2 and the power supply voltage output terminal.

[0052] In this way, when the load lamp 201 is turned on, the on-off state of the first MOS transistor Q1 and the second MOS transistor Q2 can be controlled by the square wave control signal MOS_CTRL, so that the phase-cut power circuit 10 alternately intercepts the voltage from the live line to provide the switch panel 100 and the load lamp 201 with the power required for their respective operations, thereby ensuring that the switch panel 100 and the load lamp 201 can both work normally. Among them, when the square wave control signal MOS_CTRL is at a high level, the first MOS transistor Q1 and the second MOS transistor Q2 are in a conducting state, at which time the phase-cut power circuit 10 intercepts the voltage through the circuit where the first MOS transistor Q1 and the second MOS transistor Q2 are located, and outputs the AC signal VAC from the live line L2 to provide the load lamp 201 with the power required for operation. When the square wave control signal MOS_CTRL is at a low level, the first MOS tube Q1 and the second MOS tube Q2 are in a cut-off state. At this time, the phase-cut power circuit 10 intercepts the voltage through the circuit where the first diode D1 or the second diode D2 is located, and outputs a high-voltage DC signal VDD from the power voltage output terminal to provide the switch panel 100 with the power required for operation.

[0053] In addition, when the phase-cut power circuit 10 intercepts the voltage to power the switch panel 100, the first MOS transistor Q1, the second MOS transistor Q2, the first diode D1 and the second diode D2 can form a full-wave rectifier bridge circuit to rectify the voltage output from the power voltage output terminal, thereby generating a rectified high-voltage DC signal VDD. The high-voltage DC signal VDD can continue to pass through the subsequent step-down circuit and the voltage stabilizing circuit to generate a stable low-voltage DC signal VCC, which is used to ensure the normal operation of the switch panel 100.

[0054] Optionally, the phase-cut power circuit 10 further includes: a fuse F1, which is arranged on the live line L1, so as to protect the phase-cut power circuit 10 when overcurrent occurs, which is beneficial to improve the stability and reliability of the power supply system.

[0055] Optionally, the phase-cut power circuit 10 further includes: a varistor RV1, a first end of which is connected to the live wire L1, and a second end of which is connected to the live wire L2. This can prevent surges from occurring in the phase-cut power circuit 10, which is beneficial to improving the stability and reliability of the power supply system.

[0056] Optionally, the power supply system further comprises a zero-crossing detection circuit 20, in combination with Figure 4 As shown, the zero-crossing detection circuit 20 includes: a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a transistor Q3 and a sixth resistor R6. The first resistor R1, whose first end is connected to the live wire outlet L2. The second resistor R2, whose first end is connected to the live wire incoming line L1, and whose second end is connected to the second end of the first resistor R1. The third resistor R3, whose first end is connected to the ground terminal, and whose second end is respectively connected to the second end of the first resistor R1 and the second end of the second resistor R2. The fourth resistor R4, whose first end is respectively connected to the second end of the first resistor R1, the second end of the second resistor R2 and the second end of the third resistor R3. The fifth resistor R5, whose first end is connected to the ground terminal, and whose second end is connected to the second end of the fourth resistor R4. The transistor Q3, whose base is respectively connected to the second end of the fourth resistor R4 and the second end of the fifth resistor R5, and whose emitter is connected to the ground terminal. The sixth resistor R6 has a first end connected to the power supply voltage input end, and a second end connected to the collector of the transistor Q3 and the zero-crossing signal output end respectively.

[0057] In this way, the voltage between the live wire L1 and the live wire L2 can be divided by the first resistor R1, the second resistor R2 and the third resistor R3 to generate a low-voltage control signal VL after voltage division, and the on-off state of the transistor Q3 is controlled accordingly, thereby generating a continuous voltage zero-crossing signal ZERO_DET. Among them, when the voltage value of the low-voltage control signal VL is less than the on-voltage threshold of the transistor Q3, the transistor Q3 is in a cut-off state, and the voltage zero-crossing signal ZERO_DET outputted from the zero-crossing signal output terminal is at a high level. When the voltage value of the low-voltage control signal VL is greater than or equal to the on-voltage threshold of the transistor Q3, the transistor Q3 is in a conducting state, and the voltage zero-crossing signal ZERO_DET outputted from the zero-crossing signal output terminal is at a low level. Therefore, the zero-crossing detection circuit 20 can generate a continuous voltage zero-crossing signal ZERO_DET, which is conducive to the subsequent generation of a suitable square wave control signal MOS_CTRL to control the phase-cut power supply circuit 10 to perform phase-cut power supply at the zero-crossing point, which is conducive to ensuring the stability and reliability of the power supply system.

[0058] Optionally, the zero-crossing detection circuit 20 further includes: a voltage sampling terminal, which is respectively connected to the second end of the first resistor R1, the second end of the second resistor R2, the second end of the third resistor R3, and the first end of the fourth resistor R4. In this way, a real-time sampled voltage value can be obtained through the voltage sampling terminal, and by judging whether it is close to the zero-point voltage value, the influence of the fluctuation of the mains itself can be reduced, so that the square wave control signal MOS_CTRL can be reasonably corrected when the zero-crossing point is offset, thereby compensating for the adverse effects of the accumulated error on the power supply system.

[0059] Optionally, the power supply system further includes a first step-down circuit 30 connected to the power supply voltage output terminal of the phase-cut power supply circuit 10, for stepping down the voltage output by the phase-cut power supply circuit 10, and using the stepped-down voltage to power the switch panel 100.

[0060] Optionally, combined Figure 5As shown, the first step-down circuit 30 includes: a third chip U3, a second chip U2 and a transformer T1. The second chip U2 is provided with a seventeenth resistor R17 and a fourth capacitor C4 in series in parallel, and is connected to the output end of the first step-down circuit 30. The transformer T1 includes a first primary coil, a second primary coil and a secondary coil. The first end of the first primary coil is connected to the power supply voltage output end of the phase-cut power supply circuit 10, the second end of the first primary coil is connected to the D pin of the third chip U3, and is connected to the first end of the first primary coil through the fourth diode D4, the twentieth resistor R20 and the eighteenth resistor R18 in sequence, and the eighteenth resistor R18 is provided with a fifth capacitor C5 and a sixth capacitor C6 in parallel. The first end of the second primary coil is connected to the ground terminal, and the second end of the second primary coil is connected to the VDD pin of the third chip U3 through the twenty-first resistor R21 and the fifth diode D5 in sequence, and is connected to the FB pin of the third chip U3 through the twenty-second resistor R22. The first end of the secondary coil is connected to the signal ground terminal, and the second end of the secondary coil is connected to the VCC pin of the second chip U2 through the eighth capacitor C8.

[0061] In this way, the high-voltage DC signal VDD output by the phase-cut power supply circuit 10 can be stepped down by the first step-down circuit 30 to generate an isolated standard 5V power supply, thereby meeting the system power supply requirements, and then connected to various functional modules of the switch panel 100 to power the switch panel 100 more safely and reliably.

[0062] Among them, the transformer T1 is a three-winding transformer, which provides a power supply voltage and collects feedback voltage for the third chip U3 through the second primary coil. And the fourth diode D4, the twentieth resistor R20, the eighteenth resistor R18, the fifth capacitor C5 and the sixth capacitor C6 can form an RCD absorption circuit for absorbing the energy of the leakage inductance of the transformer T1 to achieve power supply protection. The eighth capacitor C8 can be used as an external energy storage capacitor. At this time, there is no need to set up an auxiliary winding to power the second chip U2, which is conducive to saving system cost and volume. And the seventeenth resistor R17 and the fourth capacitor C4 can form an RC absorption circuit for suppressing peak voltage to achieve power supply protection.

[0063] Optionally, the third chip U3 uses a KP2162SG chip. The KP2162SG chip is a high-performance primary-side controller chip that can provide high-precision constant voltage and constant current output performance, and is particularly suitable for low-power offline charger applications.

[0064] Optionally, the second chip U2 uses a KP4114SGA chip. The KP4114SGA chip is a high-performance synchronous rectification chip with a built-in ultra-low impedance power MOS tube, which can reduce rectification loss and thus improve system efficiency.

[0065] In the disclosed embodiment, the first step-down circuit 30 is used in combination with KP2162SGA and KP41141SGA, which can effectively improve the power conversion efficiency and supply power to the switch panel 100 more safely and reliably.

[0066] Optionally, the power supply system further includes a second step-down circuit 40 connected to the power supply voltage output terminal of the phase-cut power supply circuit 10, for stepping down the voltage output by the phase-cut power supply circuit 10, and using the stepped-down voltage to power the switch panel 100.

[0067] Optionally, combined Figure 6 As shown, the second step-down circuit 40 includes: a fourth chip U4, a third inductor L3, a sixth diode D6, an eighth electrolytic capacitor E8, a twenty-eighth resistor R28 and an eleventh capacitor C11. The fourth chip U4, its D pin is connected to the power supply voltage output terminal of the phase-cut power supply circuit 10, and is connected to the ground terminal through the seventh electrolytic capacitor E7. The third inductor L3, its first end is connected to the S pin of the fourth chip U4, and its second end is connected to the output end of the second step-down circuit 40. The sixth diode D6, its anode is connected to the second end of the third inductor L3, and its cathode is connected to the FB pin of the fourth chip U4 through the twenty-seventh resistor R27, and the twenty-seventh resistor R27 is provided in parallel with the tenth capacitor C10. The eighth electrolytic capacitor E8, its first end is connected to the cathode of the sixth diode D6, and its second end is connected to the first end of the third inductor L3. The first end of the twenty-eighth resistor R28 is respectively connected to the twenty-seventh resistor R27, the tenth capacitor C10 and the FB pin of the fourth chip U4, and the second end of the eleventh capacitor C11 is respectively connected to the first end of the third inductor L3, the second end of the eighth electrolytic capacitor E8 and the S pin of the fourth chip U4. The first end of the eleventh capacitor C11 is connected to the S pin of the fourth chip U4, and the second end of the eleventh capacitor C11 is connected to the VCC pin of the fourth chip U4.

[0068] In this way, the high-voltage DC signal VDD output by the phase-cut power circuit 10 can be stepped down by the second step-down circuit 40 to generate a stable low-voltage DC signal VCC for ensuring the normal operation of the control device 50 .

[0069] The eleventh capacitor C11 can form a self-powered circuit. The sixth diode D6, the twenty-seventh resistor R27, the tenth capacitor C10, the eighth electrolytic capacitor E8 and the twenty-eighth resistor R28 can form a voltage sampling circuit, so that the voltage output by the second step-down circuit 40 can be sampled and fed back to the fourth chip U4, thereby automatically adjusting the output voltage to generate a low-voltage DC signal VCC with higher voltage stabilization accuracy.

[0070] Optionally, the fourth chip U4 uses a BPA8505D chip. The BPA8505D chip is a high-performance, highly integrated, low standby power consumption switching power supply driver chip suitable for converter topology applications such as Buck, Buck-Boost, Flyback, etc. with full voltage 85-265VAC input. It can achieve excellent constant voltage output characteristics without external loop compensation, greatly reducing the number of peripheral devices, saving system cost and volume, and improving the reliability of system power supply.

[0071] Optionally, the power supply system further includes: a control device 50 for the power supply system, which is electrically connected to the phase-cut power supply circuit 10 and the zero-crossing detection circuit 20. In this way, the embodiment of the present disclosure can execute a corresponding control method through the control device 50 to control the phase-cut power supply circuit 10 to cut phase power supply at the zero-crossing point, which is conducive to ensuring the stability and reliability of the power supply system.

[0072] Based on the above power supply system, combined with Figure 7 As shown, the embodiment of the present disclosure provides a control method for a power supply system, including:

[0073] S101, when the load lamp is turned on, the control device generates a square wave control signal according to the voltage zero-crossing signal.

[0074] S102, the control device controls the phase-cut power circuit to alternately intercept the voltage to supply power to the switch panel and the load lamp respectively according to the square wave control signal.

[0075] S103, the control device obtains a first sampled voltage value at the falling edge of the square wave control signal.

[0076] S104, the control device selectively corrects the square wave control signal according to the first sampled voltage value.

[0077] By adopting the control method for the power supply system provided by the embodiment of the present disclosure, the voltage can be alternately intercepted from the live wire through the phase-cut power circuit to provide the power required for the switch panel and the load lamp to work respectively, thereby ensuring that the switch panel and the load lamp can work normally. At the same time, when the load lamp is turned on, the embodiment of the present disclosure can generate a suitable square wave control signal according to the detected voltage zero-crossing signal, thereby controlling the phase-cut power circuit to cut the phase at the zero-crossing point to provide a stable power supply and avoid the power-taking operation from having an adverse effect on the switch panel and the load lamp. And at each falling edge of the square wave control signal, the embodiment of the present disclosure obtains the current first sampled voltage value to determine whether it is close to the zero-point voltage value, thereby reducing the influence of the fluctuation of the mains itself, and can also reasonably correct the square wave control signal when the zero-crossing point is offset to compensate for the adverse effect of the accumulated error on the power supply system. Therefore, the embodiment of the present disclosure can ensure that the phase-cut power circuit is always located near the zero-crossing point to cut the phase, which is conducive to ensuring the stability and reliability of the power supply system.

[0078] Optionally, the control device controls the phase-cut power circuit to alternately intercept the voltage to power the switch panel and the load lamps respectively according to the square wave control signal, including: when the square wave control signal is at a high level, the control device controls the phase-cut power circuit to intercept the voltage to power the load lamps; or, when the square wave control signal is at a low level, the control device controls the phase-cut power circuit to intercept the voltage to power the switch panel.

[0079] In this way, the duty cycle of the square wave control signal can be controlled to adjust the power-on duration of the load lamps and the switch panel, so that the power provided to the load lamps and the switch panel in each square wave cycle can be reasonably allocated to ensure that the switch panel and the load lamps can work normally.

[0080] Optionally, when the square wave control signal is at a high level, the control device controls the phase-cut power circuit to intercept the voltage to power the load lamp, including: when the square wave control signal is at a high level, the control device controls the phase-cut power circuit to intercept the voltage through the first MOS tube and the second MOS tube to power the load lamp. In this way, when the square wave control signal MOS_CTRL is at a high level, the first MOS tube and the second MOS tube are in a conducting state, at which time the phase-cut power circuit intercepts the voltage through the circuit where the first MOS tube and the second MOS tube are located, and outputs the AC signal VAC from the live line to provide the load lamp with the power required for operation.

[0081] Correspondingly, combined Figure 8As shown, the embodiment of the present disclosure provides a schematic diagram of a mains AC signal VAC for powering a load lamp when the load lamp is turned on. The mains AC signal VAC only lacks a small part of the waveform compared to the complete mains sine wave signal. And because the phase-cut power supply circuit performs phase-cut power supply at the zero-crossing point, the adverse effects on the load lamp can be significantly reduced, which is conducive to ensuring the normal operation of the load lamp.

[0082] Optionally, when the square wave control signal is at a low level, the control device controls the phase-cut power circuit to intercept the voltage to power the switch panel, including: when the square wave control signal is at a low level, the control device controls the phase-cut power circuit to intercept the voltage through the first diode or the second diode to power the switch panel. In this way, when the square wave control signal MOS_CTRL is at a low level, the first MOS transistor and the second MOS transistor are in a cut-off state, at which time the phase-cut power circuit intercepts the voltage through the circuit where the first diode or the second diode is located, and outputs a high-voltage DC signal VDD1 from the power voltage output terminal to provide the switch panel with the power required for operation.

[0083] Correspondingly, combined Fig. 9 As shown, the embodiment of the present disclosure provides a schematic diagram of a high-voltage DC signal VDD1 for powering the switch panel when the load lamp is turned on. Among them, the L1-L2 signal is a partial waveform intercepted after each zero-crossing point of the mains signal, which is rectified by a full-wave rectifier bridge circuit composed of a first MOS tube, a second MOS tube, a first diode and a second diode, and is charged and discharged in a relatively large-capacity electrolytic capacitor E1, thereby being converted into a relatively stable high-voltage DC signal VDD1, and used to power the switch panel, which is conducive to ensuring the normal operation of the switch panel.

[0084] Optionally, the control device selectively corrects the square wave control signal according to the first sampled voltage value, including: when the first sampled voltage value is greater than or equal to the zero-crossing voltage threshold, the control device corrects the square wave control signal; or, when the first sampled voltage value is less than the zero-crossing voltage threshold, the control device maintains the square wave control signal.

[0085] In this way, by comparing the magnitude relationship between the first sampled voltage value obtained by the voltage sampling end and the zero-crossing voltage threshold, it can be determined whether the control starting point of the square wave control signal in each square wave cycle is located near the zero-crossing point. When the first sampled voltage value is greater than or equal to the zero-crossing voltage threshold, it indicates that the control starting point of the square wave control signal corresponding to the current square wave cycle is far away from the zero-crossing point. The reason may be that the fluctuation of the mains itself causes the zero-crossing point to shift. At this time, the intercepted voltage will cause the supply voltage to fluctuate greatly. And with the long-term operation of the power supply system, the accumulated error will become larger and larger, thereby affecting the stability and reliability of the power supply system. For this reason, the embodiment of the present disclosure can timely correct the square wave control signal, and readjust the control starting point in the subsequent square wave cycle back to the vicinity of the zero-crossing point, thereby compensating for the adverse effects of the accumulated error on the power supply system.

[0086] When the first sampled voltage value is less than the zero-crossing voltage threshold, it indicates that the square wave control signal corresponds to the control starting point in the current square wave cycle, which is just near the zero-crossing point. At this time, the fluctuation of the mains electricity caused by the power consumption requirements or other interference factors in different time periods is small, and the mains electricity cycle is relatively fixed. Therefore, the embodiment of the present disclosure can continue to maintain the square wave control signal so that the phase-cut power supply circuit is always located near the zero-crossing point for phase-cut power supply, which is conducive to ensuring the stability and reliability of the power supply system.

[0087] Correspondingly, combined Fig.10 As shown, the embodiment of the present disclosure provides a schematic diagram of a square wave control signal in which the control starting point within the square wave period is located near the zero crossing point. 0n is the zero-crossing point of the mains signal, t com is the preset deviation duration, V com is the zero-crossing voltage threshold. When the control starting point of the square wave control signal within the square wave period is between T 0n -t com and T 0n +t com When the first sampling voltage value VL1 obtained by the voltage sampling terminal is less than the zero-crossing voltage threshold V com When , it indicates that the phase-cut power supply circuit is just located near the zero-crossing point for phase-cut power supply. At this time, a stable power supply can be provided and the power supply operation can be prevented from having an adverse effect on the switch panel and load lamps.

[0088] Optionally, when the first sampled voltage value is greater than or equal to the zero-crossing voltage threshold, the control device corrects the square wave control signal, including: when the first sampled voltage value is greater than or equal to the zero-crossing voltage threshold, the control device obtains the second sampled voltage value at the corresponding moment; the control device corrects the square wave control signal according to the first sampled voltage value and the second sampled voltage value.

[0089] In this way, when the first sampling voltage value VL1 is greater than or equal to the zero-crossing voltage threshold V com , it indicates that the control starting point of the square wave control signal corresponding to the current square wave cycle is far from the zero crossing point. At this time, the phase-cutting power supply operation is likely to have an adverse effect on the switch panel and the load lamps. The disclosed embodiment further controls the voltage sampling end to obtain the second sampling voltage value VL2 at the corresponding moment, and judges the actual change trend of the sampling voltage by comparing the magnitude relationship between the first sampling voltage value VL1 and the second sampling voltage value VL2, so as to analyze whether the control starting point of the square wave control signal in the square wave cycle is actually located on the left side of the zero crossing point or on the right side of the zero crossing point, which is conducive to reasonable correction of the square wave control signal to compensate for the adverse effect of the accumulated error on the power supply system.

[0090] Correspondingly, combined Fig.11 As shown, the embodiment of the present disclosure provides a schematic diagram of a square wave control signal in which the control starting point within the square wave period is located on the left side of the zero crossing point. Specifically, when the first sampled voltage value VL1 ≥ the second sampled voltage value VL2 ≥ the zero crossing voltage threshold V com When , it can be determined that the zero crossing point is offset, and the control starting point of the square wave control signal within the square wave period is currently located on the left side of the zero crossing point. At this time, the phase-cutting power supply operation is likely to have an adverse effect on the switch panel and the load lamps.

[0091] Correspondingly, combined Fig.12 As shown, the embodiment of the present disclosure provides a schematic diagram of a square wave control signal in which the control starting point within the square wave period is located on the right side of the zero crossing point. Specifically, when the zero crossing voltage threshold V com ≤first sampling voltage value VL1<second sampling voltage value VL2, it can be determined that the zero crossing point is offset, and the control starting point of the square wave control signal within the square wave period is currently located on the right side of the zero crossing point. At this time, the phase-cutting power supply operation is likely to have an adverse effect on the switch panel and the load lamps.

[0092] Optionally, the control device corrects the square wave control signal according to the first sampling voltage value and the second sampling voltage value, including: when the first sampling voltage value is greater than or equal to the second sampling voltage value, the control device increases the duration of the current square wave cycle in the square wave control signal; or, when the first sampling voltage value is less than the second sampling voltage value, the control device reduces the duration of the current square wave cycle in the current square wave control signal.

[0093] In this way, when the first sampled voltage value is greater than or equal to the second sampled voltage value, it indicates that the control starting point of the square wave control signal in the current square wave cycle is located on the left side of the zero crossing point. The embodiment of the present disclosure can slightly increase the duration of the current square wave cycle in the square wave control signal to delay the arrival of the next square wave cycle of the square wave control signal, so that the control starting point in the subsequent square wave cycle can be gradually adjusted back to near the zero crossing point, which is beneficial to compensate for the adverse effects of the accumulated error on the power supply system.

[0094] Similarly, when the first sampled voltage value is less than the second sampled voltage value, it indicates that the control starting point of the square wave control signal in the current square wave cycle is located on the right side of the zero crossing point. The embodiment of the present disclosure can slightly reduce the duration of the current square wave cycle in the square wave control signal so that the next square wave cycle of the square wave control signal arrives in advance, so that the control starting point in the subsequent square wave cycle can be gradually adjusted back to the vicinity of the zero crossing point, which is beneficial to compensate for the adverse effects of the accumulated error on the power supply system.

[0095] Optionally, the control device increases the duration of the current square wave cycle in the square wave control signal, including: the control device detects the current power supply information of the load lamp; the control device increases the low level duration or high level duration of the current square wave cycle in the square wave control signal according to the current power supply information of the load lamp. In this way, the embodiment of the present disclosure can selectively increase the power supply duration corresponding to the load lamp or the switch panel in combination with the current power supply information of the load lamp, so as to reasonably allocate the electric energy provided to the load lamp and the switch panel respectively in the current square wave cycle, which is conducive to ensuring that the switch panel and the load lamp can work normally.

[0096] For example, when the power supply of the load lamp is insufficient, the control device increases the high level duration of the current square wave cycle in the square wave control signal to appropriately increase the power supply duration corresponding to the load lamp, so that more power can be reserved in the current square wave cycle for powering the load lamp to ensure the reliability of the load lamp. When the power supply of the load lamp is excessive, the control device increases the low level duration of the current square wave cycle in the square wave control signal to appropriately increase the power supply duration corresponding to the switch panel, so that more power can be intercepted in the current square wave cycle for powering the switch panel to ensure the reliability of the switch panel.

[0097] Specifically, combined Fig.13 As shown, the embodiment of the present disclosure provides a schematic diagram of correcting a square wave control signal. When the control starting point of the square wave control signal within the square wave cycle is located on the left side of the zero crossing point, the low level duration of the current square wave cycle can be increased by a preset deviation duration t com, thereby appropriately increasing the power-taking time of the phase-cut power-taking circuit corresponding to the switch panel, so that the next square wave cycle arrives slightly later, which is convenient for the control starting point in the subsequent square wave cycle to be adjusted to the right and gradually return to the vicinity of the zero crossing point, which is beneficial to compensate for the adverse effects of the accumulated error on the power supply system. In addition, the correction of the square wave control signal can be completed earlier, which is beneficial to ensure that the power-taking voltage value corresponding to the rising edge is relatively stable, so as to improve the stability of the power supply system.

[0098] Optionally, the control device reduces the duration of the current square wave cycle in the square wave control signal, including: the control device detects the current power supply information of the load lamp; the control device reduces the low level duration or high level duration of the current square wave cycle in the square wave control signal according to the current power supply information of the load lamp. In this way, the embodiment of the present disclosure can selectively reduce the power supply duration corresponding to the load lamp or the switch panel in combination with the current power supply information of the load lamp, so as to reasonably allocate the electric energy provided to the load lamp and the switch panel respectively in the current square wave cycle, which is conducive to ensuring that the switch panel and the load lamp can work normally.

[0099] For example, when the power supply of the load lamp is insufficient, the control device reduces the low level duration of the current square wave cycle in the square wave control signal to appropriately reduce the power supply duration corresponding to the switch panel, so that more power can be reserved in the current square wave cycle for powering the load lamp to ensure the reliability of the load lamp. When the power supply of the load lamp is excessive, the control device reduces the high level duration of the current square wave cycle in the square wave control signal to appropriately reduce the power supply duration corresponding to the load lamp, so that the power provided to the load lamp can be reduced, which is conducive to ensuring the reliability of the load lamp.

[0100] Specifically, combined Fig.14 As shown, the embodiment of the present disclosure provides another schematic diagram of modifying a square wave control signal. When the control starting point of the square wave control signal within the square wave cycle is located on the right side of the zero crossing point, the low level duration of the current square wave cycle can be reduced by a preset deviation duration t com , thereby appropriately reducing the power-taking time of the phase-cut power-taking circuit corresponding to the switch panel, so that the next square wave cycle arrives slightly earlier, which is convenient for the control starting point in the subsequent square wave cycle to be adjusted to the left and gradually return to the vicinity of the zero crossing point, which is conducive to compensating for the adverse effects of the accumulated error on the power supply system. In addition, the correction of the square wave control signal can be completed earlier, which is conducive to ensuring that the power-taking voltage value corresponding to the rising edge moment is relatively stable, so as to improve the stability of the power supply system.

[0101] Optionally, the preset deviation time t com It can be set in combination with the compensation accuracy of the zero-crossing offset, and the preset deviation time t com The smaller the deviation is, the higher the corresponding compensation accuracy is. Preferably, the preset deviation time length tcom It can be set to 0.2ms so that it does not exceed 2% of the half-wave period. At this time, the zero-crossing voltage threshold V com ≈20V. Preset deviation duration t com It can also be adjusted in combination with AD sampling capability and calculation speed, and can also be set to any other reasonable value such as 0.18ms or 0.16ms.

[0102] Based on the above power supply system, combined with Fig.15 As shown, the embodiment of the present disclosure provides another control method for a power supply system, including:

[0103] S201, when the load lamp is turned off, the control device generates a low-level control signal.

[0104] S202, the control device controls the phase-cutting power supply circuit to supply power to the switch panel according to the low-level control signal.

[0105] S203, when the load lamp is turned on, the control device generates a square wave control signal according to the voltage zero-crossing signal.

[0106] S204, the control device controls the phase-cut power circuit to alternately intercept the voltage to supply power to the switch panel and the load lamp respectively according to the square wave control signal.

[0107] S205, the control device obtains a first sampled voltage value at the falling edge of the square wave control signal.

[0108] S206: The control device selectively corrects the square wave control signal according to the first sampled voltage value.

[0109] By adopting the control method for the power supply system provided by the embodiment of the present disclosure, when the load lamp is turned off, the embodiment of the present disclosure can generate a low-level control signal to control the phase-cut power supply circuit to disconnect the first MOS tube and the second MOS tube. At this time, the phase-cut power supply circuit provides power supply through the circuit where the first diode or the second diode is located, and outputs a high-voltage DC signal VDD2 from the power supply voltage output terminal, so that the AC power voltage is fully used to power the switch panel, thereby ensuring that the switch panel works normally when the lights are off.

[0110] Correspondingly, combined Fig.16As shown, the embodiment of the present disclosure provides a schematic diagram of a high-voltage DC signal VDD2 for powering the switch panel when the load lamp is turned off. In the light-off state, no phase-cutting power-taking operation is involved, and the L1-L2 signal is a complete AC sine wave signal, which is rectified by a full-wave rectifier bridge circuit composed of a first MOS tube, a second MOS tube, a first diode, and a second diode, and is charged and discharged in a larger-capacity electrolytic capacitor E1, thereby converting it into a relatively stable high-voltage DC signal VDD2. At this time, all the AC voltage is used to power the switch panel, thereby ensuring that the switch panel works normally when the light is off.

[0111] Based on the above power supply system, combined with Fig.17 As shown, the embodiment of the present disclosure provides another control method for a power supply system, including:

[0112] S301, when the load lamp is turned off, the control device controls the zero-crossing detection circuit to divide the voltage between the live input line and the live output line, and generates a voltage zero-crossing signal according to the divided voltage.

[0113] S302, when the load lamp is turned on, the control device generates a square wave control signal according to the voltage zero-crossing signal.

[0114] S303, the control device controls the phase-cut power circuit to alternately intercept the voltage to supply power to the switch panel and the load lamp respectively according to the square wave control signal.

[0115] S304, the control device obtains a first sampled voltage value at the falling edge of the square wave control signal.

[0116] S305, the control device selectively corrects the square wave control signal according to the first sampled voltage value.

[0117] By adopting the control method for the power supply system provided by the embodiment of the present disclosure, when the load lamp is turned off, the embodiment of the present disclosure can continuously monitor the mains signal to generate a voltage zero-crossing signal ZERO_DET in real time. Specifically, the voltage between the live wire L1 and the live wire L2 can be divided to generate a low-voltage control signal VL after the voltage division, and the on-off state of the transistor can be controlled accordingly, thereby generating a continuous voltage zero-crossing signal ZERO_DET, which is conducive to the reasonable prediction of the voltage zero-crossing point in the subsequent lighting stage. Then, when the load lamp is turned on, the embodiment of the present disclosure can generate a theoretical square wave control signal MOS_CTRL based on the voltage zero-crossing signal ZERO_DET collected in real time during the lighting off stage, thereby controlling the phase-cut power supply circuit to normally cut the phase to take power at the predicted zero-crossing point, so as to provide a stable power supply and avoid the power supply operation from having an adverse effect on the switch panel and the load lamp. Furthermore, after considering that the actual zero-crossing point may be affected by the fluctuation of the mains electricity and may be offset, the disclosed embodiment can obtain the current first sampled voltage value at each falling edge of the square wave control signal MOS_CTRL to determine whether the zero-crossing point offset phenomenon occurs, and timely and reasonably correct the square wave control signal MOS_CTRL after determining that the zero-crossing point has been offset, so as to use the corrected square wave control signal MOS_CTRL to compensate for the adverse effects of the accumulated error on the power supply system. Therefore, the disclosed embodiment can ensure that the phase-cut power supply circuit is always located near the zero-crossing point for phase-cut power supply, which is conducive to ensuring the stability and reliability of the power supply system.

[0118] Optionally, combined Fig.18 As shown, the embodiment of the present disclosure provides a schematic diagram of a voltage zero-crossing signal ZERO_DET when turning off a load lamp. When the voltage value of the low-voltage control signal VL is less than the on-voltage threshold of the transistor, the transistor in the zero-crossing detection circuit is in a cut-off state, and the voltage zero-crossing signal ZERO_DET generated by it is at a high level. When the voltage value of the low-voltage control signal VL is greater than or equal to the on-voltage threshold of the transistor, the transistor in the zero-crossing detection circuit is in a conducting state, and the voltage zero-crossing signal ZERO_DET generated by it is at a low level. Thus, the voltage change of the low-voltage control signal VL after voltage division can be detected by the zero-crossing detection circuit, so as to generate a corresponding voltage zero-crossing signal ZERO_DET when turning off the load lamp.

[0119] Optionally, combined Fig.19As shown, the embodiment of the present disclosure provides a schematic diagram of a voltage zero-crossing signal ZERO_DET when a load lamp is turned on. Among them, when the phase-cut power circuit intercepts the voltage to power the switch panel, the first MOS tube and the second MOS tube are in a cut-off state, at which time a small part of the waveform of the mains signal is intercepted, and a low-voltage control signal VL is generated through a negative voltage. When the voltage value of the low-voltage control signal VL is less than the conduction voltage threshold of the transistor, the transistor in the zero-crossing detection circuit is in a cut-off state, and the voltage zero-crossing signal ZERO_DET generated by it is a high level. When the voltage value of the low-voltage control signal VL is greater than or equal to the conduction voltage threshold of the transistor, the transistor in the zero-crossing detection circuit is in a conduction state, and the voltage zero-crossing signal ZERO_DET generated by it is a low level. When the phase-cut power circuit intercepts the voltage to power the load lamp, the first MOS tube and the second MOS tube are in a conduction state, and at this time the voltage between the live wire L1 and the live wire L2 is zero, and the voltage of the corresponding low-voltage control signal VL after voltage division is also zero. Therefore, the transistor in the zero-crossing detection circuit is always in a cut-off state, and the voltage zero-crossing signal ZERO_DET generated by it is at a high level.

[0120] Optionally, when the load lamp is turned on, the control device generates a square wave control signal according to the voltage zero-crossing signal, including: when the load lamp is turned on, the control device determines the half-wave period of the voltage zero-crossing signal and the next high level; the control device uses the middle moment of the next high level as the starting moment of the square wave control signal, and uses the half-wave period of the voltage zero-crossing signal as the square wave period of the square wave control signal to generate a square wave control signal.

[0121] Specifically, combined Fig. 20 As shown, the embodiment of the present disclosure provides a schematic diagram of generating a square wave control signal MOS_CTRL. When the load lamp is turned on, the embodiment of the present disclosure can retrieve the detected voltage zero crossing signal ZERO_DET and determine the rising edge time t un And the falling edge time t dn Then according to T = t dn -t dn-1 , or, T = t un -t un-1 , calculate the half-wave period T of the voltage zero-crossing signal ZERO_DET, and synchronize it with the square wave period of the square wave control signal MOS_CTRL. m= t dn -t un , calculate the positive pulse period T of the voltage zero-crossing signal ZERO_DET m . Further, the embodiments of the present disclosure can be based on t 01= t un +0.5tm , calculate the middle time t of the next high level of the voltage zero-crossing signal ZERO_DET 01 , and determine it as the first zero-crossing moment after responding to the light-on command, that is, the starting moment of the square wave control signal MOS_CTRL. By controlling the relay to close at this starting moment, the embodiment of the present disclosure can reduce the arc and noise generated by the switch operation, which is beneficial to prolonging the service life of the switch panel. At the same time, by controlling the phase-cut power supply circuit to normally cut the phase to supply power at the subsequently predicted zero-crossing point, the embodiment of the present disclosure can provide a stable power supply, which is beneficial to avoid the adverse effects of the power supply operation on the switch panel and the load lamps, thereby ensuring the stability and reliability of the power supply system.

[0122] Optionally, the low-level duration TL of the square wave cycle can be set in combination with the rated power consumption of the switch panel. The more functional modules the switch panel integrates, the greater its corresponding working power consumption and the more electric energy required. Therefore, a relatively larger low-level duration TL can be set in each square wave cycle of the square wave control signal to appropriately increase the power-drawing duration corresponding to the switch panel, so that more electric energy can be allocated to power the switch panel to ensure the reliability of the switch panel operation.

[0123] Preferably, the low level duration TL of the square wave cycle can be set to 2.5ms to intercept the electric energy of 1 / 4 half-wave cycle to power the switch panel, and the corresponding phase-cut voltage threshold is about 220V. The low level duration TL of the square wave cycle can also be adjusted in combination with the transformer efficiency, and can also be set to any other reasonable value such as 2.2ms or 2.8ms.

[0124] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

[0125] Combination Fig.21 As shown, an embodiment of the present disclosure provides a control device 50 for a power supply system, including a processor 51 and a memory 52. ​​Optionally, the control device 50 may also include a communication interface 53 and a bus 54. Among them, the processor 51, the communication interface 53, and the memory 52 can communicate with each other through the bus 54. The communication interface 53 can be used for information transmission. The processor 51 can call the logic instructions in the memory 52 to execute the control method for the power supply system of the above embodiment.

[0126] In addition, the logic instructions in the memory 52 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0127] The memory 52 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 51 executes functional applications and data processing by running the program instructions / modules stored in the memory 52, that is, implementing the control method for the power supply system in the above embodiment.

[0128] The memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 52 may include a high-speed random access memory and may also include a non-volatile memory.

[0129] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the control method for a power supply system.

[0130] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0131] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0132] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0133] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0134] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A control method for a power supply system, It is characterized in that The power supply system includes a phase-cut power supply circuit, which is connected in series between the live wire input line and the live wire output line, connected to the load lamp through the live wire output line, and connected to the switch panel through the power supply voltage output terminal; the control method includes: When the load lamp is turned on, a square wave control signal is generated according to the voltage zero-crossing signal; According to the square wave control signal, the phase-cutting power circuit is controlled to alternately intercept the voltage to supply power to the switch panel and the load lamp respectively; At the falling edge of the square wave control signal, obtaining a first sampled voltage value; The square wave control signal is selectively modified according to the first sampled voltage value.

2. The control method according to claim 1, It is characterized in that Selectively correcting the square wave control signal according to the first sampled voltage value, including: When the first sampled voltage value is greater than or equal to the zero-crossing voltage threshold, the square wave control signal is modified; or, When the first sampling voltage value is less than the zero-crossing voltage threshold, the square wave control signal is maintained.

3. The control method according to claim 2, It is characterized in that When the first sampling voltage value is greater than or equal to the zero-crossing voltage threshold, the square wave control signal is corrected, including: When the first sampled voltage value is greater than or equal to the zero-crossing voltage threshold, obtaining a second sampled voltage value at a corresponding moment; The square wave control signal is modified according to the first sampled voltage value and the second sampled voltage value.

4. The control method according to claim 3, It is characterized in that According to the first sampled voltage value and the second sampled voltage value, the square wave control signal is modified, including: When the first sampling voltage value is greater than or equal to the second sampling voltage value, increasing the duration of the current square wave cycle in the square wave control signal; or, When the first sampling voltage value is less than the second sampling voltage value, the duration of the current square wave cycle in the square wave control signal is reduced.

5. The control method according to claim 1, It is characterized in that According to the square wave control signal, the phase-cutting power circuit is controlled to alternately intercept the voltage to supply power to the switch panel and the load lamp respectively, including: When the square wave control signal is at a high level, the phase-cut power circuit is controlled to intercept the voltage to supply power to the load lamp; or, When the square wave control signal is at a low level, the phase-cut power circuit is controlled to intercept the voltage to supply power to the switch panel.

6. The control method according to claim 5, It is characterized in that The phase-cutting power-taking circuit includes a first MOS tube, whose drain is connected to the live wire output, whose source is connected to the ground terminal, and whose gate receives a square wave control signal; a second MOS tube, whose drain is connected to the live wire input, whose source is respectively connected to the source and the ground terminal of the first MOS tube, and whose gate receives a square wave control signal; a first diode, whose anode is respectively connected to the live wire output and the drain of the first MOS tube, and whose cathode is connected to the power-taking voltage output terminal; a second diode, whose anode is respectively connected to the live wire input and the drain of the second MOS tube, and whose cathode is connected to the power-taking voltage output terminal; a first capacitor, whose first end is connected to the ground terminal, and whose second end is respectively connected to the cathode of the first diode, the cathode of the second diode and the power-taking voltage output terminal; When the square wave control signal is at a high level, the phase-cutting power circuit is controlled to intercept the voltage to supply power to the load lamp, including: When the square wave control signal is at a high level, the phase-cut power circuit is controlled to intercept the voltage through the first MOS tube and the second MOS tube to supply power to the load lamp; When the square wave control signal is at a low level, the phase-cutting power circuit is controlled to intercept the voltage to supply power to the switch panel, including: When the square wave control signal is at a low level, the phase-cut power circuit is controlled to intercept the voltage through the first diode or the second diode to supply power to the switch panel.

7. The control method according to any one of claims 1 to 6, It is characterized in that Also includes: When the load lamp is turned off, a low-level control signal is generated; According to the low-level control signal, the phase-cutting power supply circuit is controlled to supply power to the switch panel.

8. The control method according to any one of claims 1 to 6, It is characterized in that The power supply system also includes a zero-crossing detection circuit, which includes a first resistor, a first end of which is connected to the live wire outlet; a second resistor, a first end of which is connected to the live wire incoming line, and a second end of which is connected to the second end of the first resistor; a third resistor, a first end of which is connected to the ground terminal, and a second end of which is respectively connected to the second end of the first resistor and the second end of the second resistor; a fourth resistor, a first end of which is respectively connected to the second end of the first resistor, the second end of the second resistor and the second end of the third resistor; a fifth resistor, a first end of which is connected to the ground terminal, and a second end of which is connected to the second end of the fourth resistor; a transistor, a base of which is respectively connected to the second end of the fourth resistor and the second end of the fifth resistor, and an emitter of which is connected to the ground terminal; a sixth resistor, a first end of which is connected to the power supply voltage input terminal, and a second end of which is respectively connected to the collector of the transistor and the zero-crossing signal output terminal; the control method also includes: When the load lamp is turned off, the zero-crossing detection circuit is controlled to divide the voltage between the live input line and the live output line, and a voltage zero-crossing signal is generated according to the divided voltage.

9. The control method according to claim 8, It is characterized in that When the load lamp is turned on, a square wave control signal is generated according to the voltage zero-crossing signal, including: When the load lamp is turned on, determine the half-wave period of the voltage zero-crossing signal and the next high level; The middle moment of the next high level is used as the starting moment of the square wave control signal, and the half wave period of the voltage zero-crossing signal is used as the square wave period of the square wave control signal to generate a square wave control signal.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the control method for a power supply system according to any one of claims 1 to 9 when executed.

11. A control device for a power supply system, comprising a memory and a processor, It is characterized in that The memory stores a computer program, and the processor is configured to execute the control method for a power supply system according to any one of claims 1 to 9 through the computer program.

12. A power supply system, It is characterized in that include: The phase-cutting power supply circuit is connected in series between the live wire input line and the live wire output line, connected to the load lamp through the live wire output line, and connected to the switch panel through the power supply voltage output terminal; The control device for a power supply system as claimed in claim 11 is electrically connected to the phase-cutting power supply circuit.