Switching circuit and operating method
By designing the switching circuit in the Internet of Things system and using zero-crossing detection and controllable capacitor array control circuit power supply, the problem of incorrect starting of the load caused by excessive current is solved, and the current value is reduced and the system stability is improved.
Patent Information
- Application Number
- CN201910575174.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-28
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-06-28
AI Technical Summary
In IoT systems, when the current peak value or average current value is too high, loads (such as lamps) may start incorrectly.
A switching circuit is designed, which includes a live wire power taking circuit, a control circuit and a controllable capacitor array. Through zero-crossing detection and switch state control, the live wire power taking circuit or the controllable capacitor array supplies power to the control circuit to reduce the peak or average current. current value to avoid incorrect starting of the load.
It effectively reduces the current peak value or average current value, prevents the load from misstarting, improves the stability and safety of the system, and avoids the problems of short life and low safety of traditional energy storage batteries.
Smart Images

Figure CN112152598B
Abstract
Description
Technical Field
[0001] The embodiments described in the present disclosure relate to a circuit technology, and more particularly to a switching circuit and an operating method. Background Art
[0002] With the development of the Internet of Things, many system chips are equipped with various loads (such as lamps). However, when the peak current or average current value is too high, these loads may have the problem of false start (such as flickering). Summary of the invention
[0003] Some embodiments of the present disclosure relate to a switch circuit. The switch circuit includes a live wire power supply circuit, a control circuit, and a controllable capacitor array. The live wire power supply circuit is coupled to a live wire to receive an AC voltage. The control circuit is used to perform a zero crossing detection on the AC voltage. The controllable capacitor array is coupled to the live wire power supply circuit and the control circuit. The control circuit is used to control the live wire power supply circuit to supply power to the control circuit or the controllable capacitor array to discharge to supply power to the control circuit based on the state of a first switch and a zero crossing detection result.
[0004] Some embodiments of the present disclosure relate to a switch circuit. The switch circuit includes a live wire power supply circuit and a control circuit. The live wire power supply circuit is coupled to a live wire to receive an AC voltage. The control circuit is used to control the live wire power supply circuit or a storage circuit to supply power to the control circuit according to the state of a switch and the AC voltage. The control circuit includes a network module control chip. When the network module control chip executes a scanning procedure, when a first channel scan is completed, the network module control chip enters a sleep mode, and when the sleep mode ends, a second channel is scanned.
[0005] Some embodiments of the present disclosure relate to an operating method of a switch circuit. The operating method includes: receiving an AC voltage through a live wire power circuit; performing a zero-crossing detection on the AC voltage through a control circuit; and based on a state of a first switch and a zero-crossing detection result, supplying power to the control circuit through the live wire power circuit or discharging through a controllable capacitor array to supply power to the control circuit.
[0006] In summary, the switch circuit and the operating method disclosed in the present invention can reduce the current peak value or the average current value to prevent the load from being started up by mistake. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to make the above and other purposes, features, advantages and embodiments of the present disclosure more clearly understood, the following are the descriptions of the accompanying drawings:
[0008] Figure 1 is a functional block diagram of a switch circuit, a live wire, a neutral wire and a load according to some embodiments of the present disclosure;
[0009] Figure 2 is a circuit diagram of a switch circuit, a live line, a neutral line, and a load according to some embodiments of the present disclosure; and
[0010] Figure 3 is a flow chart of an operating method of a switch circuit according to some embodiments of the present disclosure.
[0011] Explanation of symbols
[0012] 100: Switching circuit
[0013] 120: Live wire power circuit
[0014] 122: Power supply circuit
[0015] 124: Power supply circuit
[0016] 140: Controllable capacitor array
[0017] 160: Control circuit
[0018] 220: Power Management Circuit
[0019] 240: Voltage conversion circuit
[0020] 300: Run method
[0021] L: FireWire
[0022] AC: alternating current voltage
[0023] N: Neutral
[0024] LD: Load
[0025] V1: voltage
[0026] VOUT1, VOUT2, VOUT3: output voltage
[0027] N1, N2, N3, N4, N5, N6: nodes
[0028] K1, Q1: switch
[0029] R1, R2, R3, R4, R5: resistors
[0030] C1, C2: capacitors
[0031] Z1, Z2, Z3: Zener diodes
[0032] D1, D2, D3: diodes
[0033] GND: Ground terminal
[0034] KC: Control signal
[0035] CT[1]-CT[N]: control signal
[0036] CA[1]-CA[N]: Capacitance
[0037] S[1]-S[N]: switch
[0038] S302, S304, S306: Operation DETAILED DESCRIPTION
[0039] As used herein, the term “coupled” may also refer to “electrically coupled”, and the term “connected” may also refer to “electrically connected.” “Coupled” and “connected” may also refer to two or more elements cooperating or interacting with each other.
[0040] Please refer to Figure 1 . Figure 1 1 is a functional block diagram of a switch circuit 100, a live line L, a neutral line N, and a load LD according to some embodiments of the present disclosure. Figure 1 For example, the switch circuit 100 is coupled to a live line L and a load LD. The load LD is coupled to a neutral line N. The switch circuit 100 receives an AC voltage AC from the live line L and supplies power to the load LD according to the AC voltage AC. In some embodiments, the AC voltage AC is 220 volts AC, but the disclosure is not limited thereto.
[0041] In some embodiments, the switch circuit 100 includes a live wire power circuit 120, a controllable capacitor array 140, and a control circuit 160. The live wire power circuit 120 is coupled between the live wire L and the load LD. The live wire power circuit 120 includes power supply circuits 122 and 124. The controllable capacitor array 140 is coupled to the live wire power circuit 120 and the control circuit 160. The control circuit 160 is coupled to the live wire power circuit 120. The live wire power circuit 120 receives the alternating current voltage AC from the live wire L. The control circuit 160 performs zero crossing detection on the alternating current voltage AC. For example, the control circuit 160 performs zero crossing detection on the voltage V1 in the live wire power circuit 120. In some embodiments, the phase of the voltage V1 is related to the phase of the alternating current voltage AC, so performing zero crossing detection on the voltage V1 is equivalent to performing zero crossing detection on the alternating current voltage AC. In this way, it can be determined whether the current alternating current voltage AC is in the positive half cycle (positive voltage) or in the negative half cycle (negative voltage). Based on the zero-crossing detection result and the switch (such as Figure 2The state of the switch K1) will determine whether the live wire power circuit 120 supplies power to the control circuit 160 or the controllable capacitor array 140 discharges to supply power to the control circuit 160, so that the control circuit 160 can operate normally. For example, the power supply circuit 122 (power supply circuit 124) of the live wire power circuit 120 can output the output voltage VOUT1 (output voltage VOUT2) to the control circuit 160. The controllable capacitor array 140 can discharge to output the output voltage VOUT3 to the control circuit 160. In some embodiments, the controllable capacitor array 140 can be controlled by the control signals CT[1]-CT[N] of the control circuit 160.
[0042] In some embodiments, the load LD is a lamp, but the present disclosure is not limited thereto. The control circuit 160 is a network module control chip, such as a wireless compatible authentication system chip (Wi-Fi SoC), and the present disclosure is also not limited thereto. In this way, the smart home appliance system will have a networking function (Wi-Fi) and can realize an Internet of Things system. The above-mentioned implementation methods of the load LD and the control circuit 160 are only examples, and various implementation methods that can be used to implement the load LD and the control circuit 160 are all within the scope of the present disclosure.
[0043] Since the controllable capacitor array 140 is composed of a plurality of capacitors with relatively small capacitance values, the current peak value in the current loop can be reduced to prevent the load LD from being started by mistake. The capacitance values of these capacitors and the total number of these capacitors can be set according to the load LD (e.g., the wattage of the lamp). In addition, the use of the controllable capacitor array 140 as an energy storage circuit can avoid the problems of short life and low safety of traditional lithium batteries.
[0044] Please refer to Figure 2 . Figure 2 is a circuit diagram of a switch circuit 100 , a live line L, a neutral line N, and a load LD according to some embodiments of the present disclosure.
[0045] In some embodiments, the power supply circuit 122 includes a diode D1, a resistor R5, a capacitor C2, and a power management circuit 220. The power supply circuit 124 includes a switch Q1, a resistor R4, voltage-stabilizing diodes Z1-Z3, diodes D2-D3, and a voltage conversion circuit 240. The live wire power supply circuit 120 also includes resistors R1-R3, a capacitor C1, and a switch K1. Figure 2As shown, the live wire L is coupled to the resistor R1. The resistor R1 is coupled in series with the resistor R2. The resistor R2 is coupled in series with the resistor R3 at the node N1. The capacitor C1 is coupled in parallel with the resistor R3. The voltage V1 is generated at the node N1. As mentioned above, the control circuit 160 performs zero-crossing detection on the voltage V1 to determine whether the current AC voltage AC is in the positive half cycle (positive voltage) or in the negative half cycle (negative voltage). In addition, the switch Q1 is coupled between the node N2 and the ground terminal GND. In some embodiments, the switch Q1 is implemented by a thyristor, but the present disclosure is not limited to this. The resistor R4 is coupled between the node N3 and the ground terminal GND. The voltage regulator diodes Z1 and Z2 are coupled between the node N3 and the node N4. The diode D2 is coupled between the node N4 and the ground terminal GND. The diode D3 is coupled between the node N4 and the node N5. The voltage regulator diode Z3 is coupled between the node N5 and the ground terminal GND. The voltage conversion circuit 240 is coupled between the node N5 and the control circuit 160. The switch K1 is coupled between the node N2 and the node N4. The diode D1 and the resistor R5 are coupled in series between the node N2 and the node N6. The capacitor C2 is coupled between the node N6 and the ground terminal GND. The power management circuit 220 is coupled between the node N6, the ground terminal GND and the controllable capacitor array 140.
[0046] In some embodiments, the controllable capacitor array 140 includes N capacitors CA[1]-CA[N] and N switches S[1]-S[N]. Any one of the capacitors CA[1]-CA[N] is coupled in series with a corresponding one of the switches S[1]-S[N] to form the controllable capacitor array 140. The switches S[1]-S[N] are respectively controlled by control signals CT[1]-CT[N] to be turned on or off.
[0047] The operation of the switch circuit 100 will be described in detail below.
[0048] When the switch K1 is controlled by the control signal KC and is turned off and the zero-crossing detection result is a positive half-cycle, the power supply circuit 122 generates an output voltage VOUT1 according to the AC voltage AC to power the control circuit 160 and charge the controllable capacitor array 140. For example, when the user turns off the load, the control circuit 160 will output the control signal KC to turn off the switch K1. If the AC voltage AC is a positive half-cycle, the voltage V1 at the node N1 is also a positive half-cycle. At this time, the zero-crossing detection result is a positive half-cycle. Since the switch K1 is turned off, the AC voltage AC will be rectified (half-wave rectification) by the diode D1 and filtered by the resistor R5 and the capacitor C2. Accordingly, the power management circuit 220 will generate an output voltage VOUT1 to power the control circuit 160. In this way, even if the user turns off the load (for example: a lamp), the control circuit 160 can still operate normally to maintain the operation of the Internet of Things system. In addition, the control circuit 160 outputs the control signals CT[1]-CT[N] to the controllable capacitor array 140 to control the switches S[1]-S[N] to at least partially conduct. Since the switches S[1]-S[N] are at least partially conducted, the output voltage VOUT1 can charge the controllable capacitor array 140. If the AC voltage AC is 220 volts, the circuit system satisfies the following formula (1):
[0049] NI×220×T=I2×VOUT1…(1)
[0050] Wherein NI is the current on the neutral line N, T is the conversion efficiency of the switch circuit 100 , I1 is the current of the controllable capacitor array 140 , and I2 is the working current of the control circuit 160 .
[0051] When the switch K1 is turned off by the control signal KC and the zero-crossing detection result is a negative half cycle, the controllable capacitor array 140 discharges to power the control circuit 160. For example, when the user turns off the load, the control circuit 160 outputs the control signal KC to turn off the switch K1. If the AC voltage AC is a negative half cycle, the voltage V1 at the node N1 is also a negative half cycle. At this time, the zero-crossing detection result is a negative half cycle. The AC voltage AC in the negative half cycle will be rectified by the diode D1. The power management circuit 220 stops outputting the output voltage VOUT1. At this time, the control circuit 160 will output the control signal CT[1]-CT[N] to the controllable capacitor array 140 to control the switches S[1]-S[N] to be at least partially turned on. In this way, the controllable capacitor array 140 can discharge to generate the output voltage VOUT3. The output voltage VOUT3 can be used to power the control circuit 160 to ensure that the control circuit 160 can operate normally. At this time, if the AC voltage AC is 220 volts, the circuit system satisfies the following formula (2):
[0052] NI×220×T=I2×VOUT3…(2)
[0053] Wherein NI is the current on the neutral line N, T is the conversion efficiency of the switch circuit 100 , and I2 is the operating current of the control circuit 160 .
[0054] In addition, when the discharge voltage (output voltage VOUT3 ) of the controllable capacitor array 140 is lower than a preset voltage, the control circuit 160 controls more switches among the switches S[ 1 ]-S[N] to be turned on to increase and maintain the discharge voltage of the controllable capacitor array 140 .
[0055] When the switch K1 is turned on and the zero-crossing detection result is a positive half cycle, the power supply circuit 124 generates an output voltage VOUT2 according to the AC voltage AC to supply power to the control circuit 160 and charge the controllable capacitor array 140. For example, when the user turns on the load, the control circuit 160 outputs a control signal KC to turn on the switch K1. If the AC voltage AC is a positive half cycle, the voltage V1 at the node N1 is also a positive half cycle. At this time, the zero-crossing detection result is a positive half cycle. In addition, the control circuit 160 outputs control signals CT[1]-CT[N] to the controllable capacitor array 140 to control the switches S[1]-S[N] to be at least partially turned on. Since the switch K1 is turned on, the AC voltage AC flows through the switch K1. Accordingly, the voltage at the nodes N4 and N3 increases (for example, 7 volts). At this time, the switch Q1 is turned on. The AC voltage AC flows to the load LD via the switch Q1. If the load LD is a lamp, the lamp lights up at this time. In addition, the voltage of the node N5 increases with the voltage of the node N4. The voltage conversion circuit 240 converts (e.g., steps down) the voltage at the node N5 to generate an output voltage VOUT2. The output voltage VOUT2 can be used to power the control circuit 160. In addition, the control circuit 160 outputs control signals CT[1]-CT[N] to the controllable capacitor array 140 to control the switches S[1]-S[N] to at least partially conduct. Since the switches S[1]-S[N] are at least partially conducted, the output voltage VOUT2 can charge the controllable capacitor array 140.
[0056] When the switch K1 is turned on and the zero-crossing detection result is a negative half cycle, the controllable capacitor array 140 discharges to power the control circuit 160. For example, when the user turns on the load, the control circuit 160 outputs a control signal KC to turn on the switch K1. If the AC voltage AC is a negative half cycle, the voltage V1 at the node N1 is also a negative half cycle. At this time, the zero-crossing detection result is a negative half cycle. The control circuit 160 outputs a control signal CT[1]-CT[N] to the controllable capacitor array 140 to control the switches S[1]-S[N] to be at least partially turned on. In this way, the controllable capacitor array 140 can discharge to generate an output voltage VOUT3. The output voltage VOUT3 can be used to power the control circuit 160 to ensure that the control circuit 160 can operate normally.
[0057] As mentioned above, in some embodiments, the control circuit 160 is a network module control chip, such as a Wi-Fi SoC. The connection process of the network module control chip includes a scanning procedure, an authentication procedure, an association procedure, an Extensible Authentication Protocol (EAP) procedure, and a Dynamic Host Configuration Protocol (DHCP) procedure. When the control circuit 160 executes the scanning procedure, multiple channels need to be scanned. In some embodiments, sleep time is inserted between any two channel scans. For example, when a channel scan is completed, the control circuit 160 enters sleep mode. When the sleep mode ends, continue to scan another channel. In this way, the average current can be reduced to prevent the load LD from being mistakenly started. The sleep mode time can be set according to actual needs.
[0058] In addition, in some embodiments, when the control circuit 160 (network module control chip) executes the extensible authentication protocol program, after the control circuit 160 and the network base station complete a handshake program, the control circuit 160 will enter the sleep mode. In this way, the average current can be reduced to prevent the load LD from being mistakenly activated. The sleep mode time can be set according to actual needs.
[0059] In addition, in some embodiments, when the control circuit 160 (network module control chip) performs a reconnection procedure, the number of reconnections will be set to be lower than a preset number. This preset number is, for example, 50 times, but the present disclosure is not limited thereto. In other related technologies, the number of reconnections is not limited. Compared to these related technologies, the number of reconnections of the control circuit 160 is lower than the preset number. In this way, the average current can be reduced to prevent the load LD from being mistakenly started.
[0060] In addition, in some embodiments, the control circuit 160 executes the transmission program only when the zero-crossing detection result is a negative half cycle. The transmission program can be a data transmission program that can be periodically controlled. For example, the transmission program periodically uploads part of the device status information to the server, or periodically obtains part of the network information, according to the setting of the Internet of Things. The present disclosure is not limited to the above. By executing the transmission program only when the zero-crossing detection result is a negative half cycle by the control circuit 160, the current peak value can be reduced to avoid the load LD from being mistakenly started.
[0061] Please refer to Figure 3 . Figure 3 300 is a flowchart of a method 300 for operating a switch circuit according to some embodiments of the present disclosure. The method 300 includes operations S302, S304, and S306. In some embodiments, the method 300 is applied to Figure 1In the switch circuit 100, but the present disclosure is not limited thereto. For ease of understanding, the operation method 300 will be used with Figure 1 Have a discussion.
[0062] In operation S302, an alternating current voltage AC is received through the live wire power circuit 120. In some embodiments, the live wire power circuit 120 is coupled to the live wire L to receive the alternating current voltage AC from the live wire L.
[0063] In operation S304, the control circuit 160 performs zero-crossing detection on the AC voltage AC. In some embodiments, the control circuit 160 performs zero-crossing detection on the voltage V1 of the node N1. Since the phase of the voltage V1 is related to the phase of the AC voltage AC, performing zero-crossing detection on the voltage V1 is equivalent to performing zero-crossing detection on the AC voltage AC. In this way, it can be determined whether the current AC voltage AC is in the positive half cycle (positive voltage) or in the negative half cycle (negative voltage).
[0064] In operation S306, based on the state of the switch K1 and the zero-crossing detection result, the control circuit 160 is powered by the live wire power circuit 120 or the controllable capacitor array 140. In some embodiments, when the switch K1 is turned off and the zero-crossing detection result is a positive half cycle, the control circuit 160 is powered by the power supply circuit 122 of the live wire power circuit 120. When the switch K1 is turned off and the zero-crossing detection result is a negative half cycle, the controllable capacitor array 140 discharges to power the control circuit 160. When the switch K1 is turned on and the zero-crossing detection result is a positive half cycle, the control circuit 160 is powered by the power supply circuit 124 of the live wire power circuit 120. When the switch K1 is turned on and the zero-crossing detection result is a negative half cycle, the controllable capacitor array 140 discharges to power the control circuit 160.
[0065] In summary, the switch circuit and the operating method disclosed in the present invention can reduce the current peak value or the average current value to prevent the load from being started up by mistake.
[0066] Although the present disclosure has been disclosed in the above embodiments, it is not intended to limit the present disclosure. Any person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the scope of protection of the present disclosure shall be determined by the appended claims.
Claims
1. A switching circuit, comprising: A live wire power circuit is coupled to a live wire to receive an AC voltage, wherein the live wire power circuit comprises: a first power supply circuit coupled to the live wire; a second power supply circuit coupled to the live wire; and A first switch is coupled between the first power supply circuit and the second power supply circuit; a control circuit for performing a zero-crossing detection on the AC voltage; as well as A controllable capacitor array is coupled to the live wire power supply circuit and the control circuit, wherein the control circuit is used to control the live wire power supply circuit to supply power to the control circuit or the controllable capacitor array to discharge to supply power to the control circuit based on the state of the first switch and a zero-crossing detection result.
2. The switch circuit as described in claim 1, wherein when the first switch is turned off and the zero-crossing detection result is a positive half-cycle, the first power supply circuit generates an output voltage according to the AC voltage to power the control circuit and charge the controllable capacitor array, wherein when the first switch is turned off and the zero-crossing detection result is a negative half-cycle, the controllable capacitor array discharges to power the control circuit.
3. The switch circuit as described in claim 1, wherein when the first switch is turned on and the zero-crossing detection result is a positive half-cycle, the second power supply circuit generates an output voltage according to the AC voltage to power the control circuit and charge the controllable capacitor array, wherein when the first switch is turned on and the zero-crossing detection result is a negative half-cycle, the controllable capacitor array discharges to power the control circuit.
4. The switch circuit as described in claim 1, wherein the control circuit includes a network module control chip, and when the network module control chip executes a scanning program, when a first channel scan is completed, the network module control chip enters a sleep mode, and when the sleep mode ends, scans a second channel. 5 . The switch circuit as claimed in claim 4 , wherein after the network module control chip completes a handshake procedure with a network base station, the network module control chip enters a sleep mode. 6 . The switch circuit as claimed in claim 4 , wherein the network module control chip executes a transmission procedure when the zero-crossing detection result is a negative half cycle.
7. A switching circuit comprising: A live wire power circuit coupled to a live wire to receive an AC voltage; and A control circuit is used to control the live wire power supply circuit or a storage circuit to supply power to the control circuit according to the state of a switch and the AC voltage, wherein the control circuit includes a network module control chip, wherein when the network module control chip executes a scanning program, when a first channel scan is completed, the network module control chip enters a sleep mode, and when the sleep mode ends, scans a second channel.
8. A method for operating a switch circuit, comprising: An AC voltage is received through a live wire power circuit, wherein the live wire power circuit comprises: a first power supply circuit coupled to the live wire; a second power supply circuit coupled to the live wire; and a first switch coupled between the first power supply circuit and the second power supply circuit; Performing a zero-crossing detection on the AC voltage through a control circuit; as well as Based on the state of the first switch and a zero-crossing detection result, the live wire power supply circuit supplies power to the control circuit or discharges power to the control circuit through a controllable capacitor array.
9. The operating method according to claim 8, further comprising: When the first switch is turned off and the zero-crossing detection result is a positive half cycle, a first power supply circuit of the live wire power supply circuit generates an output voltage according to the AC voltage to power the control circuit and charge the controllable capacitor array; and When the first switch is turned off and the zero-crossing detection result is a negative half cycle, the controllable capacitor array is discharged to supply power to the control circuit.
10. The operating method according to claim 8, further comprising: When the first switch is turned on and the zero-crossing detection result is a positive half cycle, a second power supply circuit of the live wire power supply circuit generates an output voltage according to the AC voltage to power the control circuit and charge the controllable capacitor array; and When the first switch is turned on and the zero-crossing detection result is a negative half cycle, the controllable capacitor array is discharged to supply power to the control circuit.
Citation Information
Patent Citations
Composite switch and methods of passing-zero switching control and self-switching fault judgment thereof
CN106680704A
Capacity discharge method and circuit
TW201731199A
Driver circuits for dimmable solid state lighting apparatus
US20130293135A1
Apparatus, System And Method For Total Protection From Electrical Faults
US20150109077A1
Electrical device for use with a multiway switch system
US20150138860A1
