A switch control circuit with adjustable on-off phase
By using zero-crossing detection and correction signal correction, the problems of low accuracy and poor applicability of existing switch control circuits are solved, achieving high-precision and flexible on/off control, which is suitable for a variety of devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- ZHONGSHAN LINGKEJIA TECHNOLOGY CO LTD
- Filing Date
- 2025-06-12
- Publication Date
- 2026-06-02
Smart Images

Figure CN224319236U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of circuit design technology, and in particular to a switch control circuit with adjustable on / off phase. Background Technology
[0002] In equipment research and development and industrial control manufacturing, it is often necessary to perform on / off control or short-circuit control on equipment with different electrical performance. To ensure coordinated operation between various devices, there are high requirements for the on / off phase value or on / off time value of the on / off action. Therefore, it is necessary to equip each device with a switch control circuit. However, the current switch control circuits that can perform on / off control usually have low sampling accuracy and control accuracy, or can only achieve on / off control of specific phase values. High-precision switch control circuits are mostly designed and manufactured specifically for specific equipment and cannot be directly transplanted to other equipment, resulting in poor applicability. Utility Model Content
[0003] This embodiment discloses a switch control circuit with adjustable on / off phase, specifically including:
[0004] Parameter setting unit for inputting preset on / off phase values or preset on / off time values;
[0005] Zero-crossing detection unit used to generate zero-crossing synchronization signals and output them to the control unit;
[0006] The control unit uses the zero-crossing synchronization signal as the phase calculation reference and controls the switching unit to perform switching actions based on the preset on / off phase value or the preset on / off time value.
[0007] The calibration detection unit outputs a phase correction signal to the control unit;
[0008] The control unit calculates the phase deviation of the on / off action performed by the control unit based on the phase correction signal, and corrects the phase deviation.
[0009] As an optional implementation, it also includes:
[0010] A display unit connected to the control unit;
[0011] The display unit obtains the preset on / off phase value, the preset on / off time value, and the actual on / off phase value from the control unit, and displays and outputs them.
[0012] As an optional implementation, it also includes:
[0013] A parameter correction unit connected to the control unit;
[0014] The parameter correction unit is used to input correction values for the phase deviation.
[0015] As an optional implementation, it also includes:
[0016] A power supply unit is connected to the parameter setting unit, the zero-crossing detection unit, the control unit, the calibration detection unit, the display unit, and the parameter correction unit to supply operating power.
[0017] As an optional implementation, the parameter setting unit adopts encoder ED1;
[0018] The control unit uses an integrated chip U1 with model number PIC16F877A;
[0019] The zero-crossing detection unit uses an optocoupler OP2, with its first pin being zero-crossing detection port 1, its second pin being zero-crossing detection port 2, its third pin being connected to the emitter of transistor Q9, and its fourth pin being connected to the base of transistor Q9.
[0020] The switching unit uses a relay RL1 to perform the on / off action. The two normally open contacts of the relay RL1 serve as switch port 1 and switch port 2, and one end of its coil is connected to the collector of transistor Q1 and the collector of transistor Q2.
[0021] The calibration detection unit uses an optocoupler OP1, with its first pin being calibration detection port 1 and its second pin being calibration detection port 2. The second pin is connected to the emitter of transistor Q10, and the fourth pin is connected to the base of transistor Q10.
[0022] The parameter correction unit uses a potentiometer VR1, which is connected to pin 8 of the integrated chip U1, to transmit the correction value to the control unit.
[0023] As an optional implementation, the PB1 pin of the encoder ED1 is connected to the 34th pin of the integrated chip U1, the PB2 pin of the encoder ED1 is connected to the 35th pin of the integrated chip U1, and the PB4 pin of the encoder ED1 is connected to the 37th pin of the integrated chip U1, so as to receive and transmit the preset on / off phase value or the preset on / off time value to the control unit.
[0024] The collector of the transistor Q9 is connected to pin 33 of the integrated chip U1 to transmit the zero-crossing synchronization signal to the control unit;
[0025] The bases of transistors Q1 and Q2 are connected to pin 39 of integrated chip U1 via resistor R4 to receive and transmit control commands to relay RL1.
[0026] The collector of the transistor Q10 is connected to pin 38 of the integrated chip U1 to transmit the phase correction signal to the control unit.
[0027] As an optional implementation, the switch port 1 and the switch port 2 are connected in series in the circuit of the controlled device, or connected in parallel across the two ends of the controlled device;
[0028] The zero-crossing detection port 1 and the zero-crossing detection port 2 are respectively connected to the mains live wire and the mains neutral wire;
[0029] Alternatively, it can be connected in parallel to both ends of the controlled device;
[0030] Alternatively, one end can be connected to the switch port 1 or the switch port 2, and the other end can be connected to the non-controlled end of the controlled device to sample and generate the zero-crossing synchronization signal;
[0031] The calibration detection port 1 and the calibration detection port 2 are respectively connected to the mains live wire and the mains neutral wire;
[0032] Alternatively, it can be connected in parallel to both ends of the controlled device;
[0033] Alternatively, one end can be connected to switch port 1 or switch port 2, and the other end can be connected to the non-controlled end of the controlled device to sample and generate the phase correction signal.
[0034] As an optional implementation, the display unit includes display screens DP1, DP2, DP3, DP4, DP5, and DP6.
[0035] Display screens DP1, DP2, DP3, DP4, DP5, and DP6 are all connected to pin 26 of the integrated chip U1 for receiving activation commands.
[0036] As an optional implementation, the display screens DP1, DP2, DP3, DP4, DP5, and DP6 are respectively connected to pins 15, 16, 17, 18, 23, 24, and 25 of the integrated chip U1, so that the integrated chip U1 can control specific areas to be lit up for display.
[0037] As an optional implementation, the power supply unit uses a power chip U3, which is connected to the mains power via a rectifier bridge D5 and outputs the operating power via a transformer T1.
[0038] Compared with the prior art, this embodiment has the following beneficial effects:
[0039] The zero-crossing detection unit continuously outputs a zero-crossing synchronization signal. The control unit uses the zero-crossing synchronization signal as the phase calculation reference, and controls the switching unit to perform on / off actions in combination with the preset on / off phase value or preset on / off time value. It also corrects the phase deviation according to the phase correction signal of the correction detection unit, ensuring stable on / off control for the controlled equipment. Its sampling method is flexible, the control accuracy is high, and the application range is wide. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in this embodiment, the accompanying drawings used in the embodiment will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a schematic diagram of the circuit structure of a switch control circuit with adjustable on / off phase disclosed in this embodiment;
[0042] Figure 2 This is a circuit schematic diagram of a switch control circuit with adjustable on / off phase disclosed in this embodiment;
[0043] Figure 3 This is a schematic diagram of the circuit structure of a switch control circuit with adjustable on / off phase disclosed in this embodiment, which performs different phase power-on impulse tests on the controlled device.
[0044] Figure 4 This embodiment discloses a circuit structure diagram of a switch control circuit with adjustable on / off phase, which performs short-circuit tests of different phases on the controlled device under test.
[0045] Figure 5 This is a schematic diagram of the circuit structure of a switch control circuit with adjustable on / off phase disclosed in this embodiment, which performs different phase loading / unloading tests on the controlled device. Detailed Implementation
[0046] The technical solutions in this embodiment will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.
[0047] Please see Figures 1-5 This embodiment discloses a switch control circuit with adjustable on / off phase, comprising:
[0048] Parameter setting unit for inputting preset on / off phase values or preset on / off time values;
[0049] Zero-crossing detection unit used to generate zero-crossing synchronization signals and output them to the control unit;
[0050] The control unit uses the zero-crossing synchronization signal as the phase calculation reference and controls the switching unit to perform on / off actions based on the preset on / off phase value or preset on / off time value.
[0051] The calibration detection unit outputs a phase correction signal to the control unit;
[0052] The control unit calculates the phase deviation of the control unit's on / off action based on the phase correction signal and corrects the phase deviation.
[0053] In this embodiment, the zero-crossing detection unit continuously outputs a zero-crossing synchronization signal. The control unit uses the zero-crossing synchronization signal as the phase calculation reference and combines it with a preset on / off phase value or a preset on / off time value to control the switching unit to perform on / off actions.
[0054] Among them, the zero-crossing detection unit and the correction detection unit have flexible wiring methods. According to actual needs, the port can be flexibly selected between the switching unit, the controlled equipment or the mains power for sampling feedback to achieve high-precision sampling. There are no specific requirements for the type of equipment, and it is suitable for all types of equipment.
[0055] This embodiment also includes:
[0056] A display unit connected to the control unit;
[0057] The display unit acquires the preset on / off phase value, preset on / off time value, and actual on / off phase value from the control unit and displays them.
[0058] Here, the preset on / off phase value, preset on / off time value, actual on / off phase value, and other types of parameters can be viewed intuitively through the display unit without the need for other additional measurement and control equipment, making configuration and use convenient.
[0059] This embodiment also includes:
[0060] A parameter correction unit connected to the control circuit;
[0061] The parameter correction unit is used to input correction values for phase deviation.
[0062] Here, in addition to the calibration and detection unit automatically correcting the deviation based on preset values, the parameter correction unit can also be used to manually input correction values to achieve large value correction or to conduct debugging tests.
[0063] This embodiment also includes:
[0064] The power supply unit connects the parameter setting unit, zero-crossing detection unit, control unit, calibration detection unit, display unit, and parameter correction unit to supply operating power.
[0065] As an optional implementation, the parameter setting unit adopts encoder ED1;
[0066] The control unit uses an integrated chip U1 with model number PIC16F877A;
[0067] The zero-crossing detection unit uses an optocoupler OP2, with its first pin being zero-crossing detection port 1, its second pin being zero-crossing detection port 2, its third pin being connected to the emitter of transistor Q9, and its fourth pin being connected to the base of transistor Q9.
[0068] The switching unit uses relay RL1 to perform the on / off action. The two normally open contacts of relay RL1 serve as switch port 1 and switch port 2. One end of its coil is connected to the collector of transistor Q1 and the collector of transistor Q2.
[0069] The calibration detection unit uses an optocoupler OP1, with its first pin being calibration detection port 1 and its second pin being calibration detection port 2. The second pin is connected to the emitter of transistor Q10, and the fourth pin is connected to the base of transistor Q10.
[0070] The parameter correction unit uses potentiometer VR1, which is connected to pin 8 of integrated chip U1 to transmit correction values to the control unit.
[0071] As an optional implementation, the PB1 pin of encoder ED1 is connected to the 34th pin of integrated chip U1, the PB2 pin of encoder ED1 is connected to the 35th pin of integrated chip U1, and the PB4 pin of encoder ED1 is connected to the 37th pin of integrated chip U1, in order to receive and transmit preset on / off phase values or preset on / off time values to the control unit.
[0072] The collector of transistor Q9 is connected to pin 33 of integrated chip U1 to transmit a zero-crossing synchronization signal to the control unit.
[0073] The bases of transistors Q1 and Q2 are connected to pin 39 of integrated chip U1 via resistor R4 to receive and transmit control commands to relay RL1.
[0074] The collector of transistor Q10 is connected to pin 38 of integrated chip U1 to transmit a phase correction signal to the control unit.
[0075] The parameter correction unit is connected to pin 8 of the integrated chip U1 to transmit correction values to the control unit.
[0076] In this embodiment, the parameter setting unit and parameter correction unit can use an encoder for numerical input, or they can use components such as DIP switches, buttons, handwriting tablets, touch screens, etc. to achieve numerical input. This embodiment does not limit the use of such components.
[0077] As an optional implementation, switch port 1 is connected in series with switch port 2 in the circuit of the controlled device, or in parallel to both ends of the controlled device;
[0078] Zero-crossing detection port 1 and zero-crossing detection port 2 are respectively connected to the live wire and the neutral wire of the mains power supply;
[0079] Alternatively, it can be connected in parallel to both ends of the controlled device;
[0080] Alternatively, one end can be connected to switch port 1 or switch port 2, and the other end can be connected to the non-controlled end of the controlled device to sample and generate a zero-crossing synchronization signal;
[0081] Calibration test port 1 and calibration test port 2 are respectively connected to the live wire and neutral wire of the mains power supply;
[0082] Alternatively, it can be connected in parallel to both ends of the controlled device;
[0083] Alternatively, one end can be connected to switch port 1 or switch port 2, and the other end can be connected to the non-controlled end of the controlled device to sample and generate a phase correction signal.
[0084] like Figure 3 As shown, switch port 1 and switch port 2 are connected in series with the controlled device, and calibration detection port 1 and calibration detection port 2 are connected in parallel to the two ends of the controlled device. Zero-crossing detection port 1 and zero-crossing detection port 2 are respectively connected to the mains live wire and the mains neutral wire, so that different phase power-on impulse tests can be performed on the controlled device.
[0085] like Figure 4 As shown, switch port 1 and switch port 2 are connected in parallel across the two ends of the controlled device, calibration detection port 1 and calibration detection port 2 are connected in parallel across the two ends of the controlled device, and zero-crossing detection port 1 and zero-crossing detection port 2 are connected in parallel across the two ends of the controlled device. By using the controlled device as the load of the device under test, short-circuit tests of different phases can be performed on the controlled device loaded by the device under test.
[0086] like Figure 5 As shown, switch port 1 and switch port 2 are connected in series with the controlled device. Calibration detection port 1 is connected to switch port 2, and calibration detection port 2 is connected to the controlled device and the device under test. Zero crossing detection port 1 is connected to switch port 1, and zero crossing detection port 2 is connected to the controlled device and the device under test. If the controlled device is used as the load of the device under test, different phase loading / unloading tests can be performed on the device under test.
[0087] It is evident that the zero-crossing detection unit and the calibration detection unit can be flexibly wired and sampled between the mains power, the controlled equipment and the switch port based on the electrical characteristics of the controlled equipment or the actual needs of the current circuit. There are no specific adaptation requirements between them and the controlled equipment, making them widely applicable.
[0088] At the same time, it can ensure that accurate and undisturbed zero-crossing synchronization signals or phase correction signals are acquired to ensure high-precision on / off control of the controlled equipment.
[0089] As an optional implementation, the display unit includes display screens DP1, DP2, DP3, DP4, DP5, and DP6.
[0090] Displays DP1, DP2, DP3, DP4, DP5, and DP6 are all connected to pin 26 of integrated chip U1 to receive activation commands.
[0091] As an optional implementation, displays DP1, DP2, DP3, DP4, DP5 and DP6 are connected to pins 15, 16, 17, 18, 23, 24 and 25 of integrated chip U1, respectively, so that integrated chip U1 can control specific areas to be lit up.
[0092] Here, the integrated chip U1 first activates a specific display screen, then lights up a specific area on the display screen, and the combination of these specific areas displays numerical values, thereby achieving an intuitive display of the values of each circuit.
[0093] As an optional implementation, the power supply unit uses a power chip U3, which is connected to the mains power via a rectifier bridge D5 and outputs operating current via a transformer T1.
[0094] Compared with the prior art, this embodiment has the following beneficial effects:
[0095] The zero-crossing detection unit continuously outputs a zero-crossing synchronization signal. The control unit uses the zero-crossing synchronization signal as the phase calculation reference, and controls the switching unit to perform on / off actions in combination with the preset on / off phase value or preset on / off time value. It also corrects the phase deviation according to the phase correction signal of the correction detection unit, ensuring stable on / off control for the controlled equipment. Its sampling method is flexible, the control accuracy is high, and the application range is wide.
Claims
1. A switch control circuit with adjustable on / off phase, characterized in that, include: Parameter setting unit for inputting preset on / off phase values or preset on / off time values; Zero-crossing detection unit used to generate zero-crossing synchronization signals and output them to the control unit; The control unit uses the zero-crossing synchronization signal as the phase calculation reference and controls the switching unit to perform switching actions based on the preset on / off phase value or the preset on / off time value. The calibration detection unit outputs a phase correction signal to the control unit; The control unit calculates the phase deviation of the on / off action performed by the control unit based on the phase correction signal, and corrects the phase deviation.
2. The switch control circuit with adjustable on / off phase according to claim 1, characterized in that, Also includes: A display unit connected to the control unit; The display unit obtains the preset on / off phase value, the preset on / off time value, and the actual on / off phase value from the control unit, and displays and outputs them.
3. The switch control circuit with adjustable on / off phase according to claim 2, characterized in that, Also includes: A parameter correction unit connected to the control unit; The parameter correction unit is used to input correction values for the phase deviation.
4. A switch control circuit with adjustable on / off phase according to claim 3, characterized in that, Also includes: A power supply unit is connected to the parameter setting unit, the zero-crossing detection unit, the control unit, the calibration detection unit, the display unit, and the parameter correction unit to supply operating power.
5. A switch control circuit with adjustable on / off phase according to claim 4, characterized in that, include: The parameter setting unit uses encoder ED1; The control unit uses an integrated chip U1 with model number PIC16F877A; The zero-crossing detection unit uses an optocoupler OP2, with its first pin being zero-crossing detection port 1, its second pin being zero-crossing detection port 2, its third pin being connected to the emitter of transistor Q9, and its fourth pin being connected to the base of transistor Q9. The switching unit uses a relay RL1 to perform the on / off action. The two normally open contacts of the relay RL1 serve as switch port 1 and switch port 2, and one end of its coil is connected to the collector of transistor Q1 and the collector of transistor Q2. The calibration detection unit uses an optocoupler OP1, with its first pin being calibration detection port 1 and its second pin being calibration detection port 2. The second pin is connected to the emitter of transistor Q10, and the fourth pin is connected to the base of transistor Q10. The parameter correction unit uses a potentiometer VR1, which is connected to pin 8 of the integrated chip U1, to transmit the correction value to the control unit.
6. A switch control circuit with adjustable on / off phase according to claim 5, characterized in that, include: The PB1 pin of the encoder ED1 is connected to the 34th pin of the integrated chip U1, the PB2 pin of the encoder ED1 is connected to the 35th pin of the integrated chip U1, and the PB4 pin of the encoder ED1 is connected to the 37th pin of the integrated chip U1, so as to receive and transmit the preset on / off phase value or the preset on / off time value to the control unit. The collector of the transistor Q9 is connected to pin 33 of the integrated chip U1 to transmit the zero-crossing synchronization signal to the control unit; The bases of transistors Q1 and Q2 are connected to pin 39 of integrated chip U1 via resistor R4 to receive and transmit control commands to relay RL1. The collector of the transistor Q10 is connected to pin 38 of the integrated chip U1 to transmit the phase correction signal to the control unit.
7. A switch control circuit with adjustable on / off phase according to claim 5, characterized in that, include: The switch port 1 and the switch port 2 are connected in series in the circuit of the controlled device, or in parallel at both ends of the controlled device; The zero-crossing detection port 1 and the zero-crossing detection port 2 are respectively connected to the mains live wire and the mains neutral wire; Alternatively, it can be connected in parallel to both ends of the controlled device; Alternatively, one end can be connected to the switch port 1 or the switch port 2, and the other end can be connected to the non-controlled end of the controlled device to sample and generate the zero-crossing synchronization signal; The calibration detection port 1 and the calibration detection port 2 are respectively connected to the mains live wire and the mains neutral wire; Alternatively, it can be connected in parallel to both ends of the controlled device; Alternatively, one end can be connected to switch port 1 or switch port 2, and the other end can be connected to the non-controlled end of the controlled device to sample and generate the phase correction signal.
8. A switch control circuit with adjustable on / off phase according to claim 5, characterized in that, include: The display unit includes display screens DP1, DP2, DP3, DP4, DP5, and DP6. Display screens DP1, DP2, DP3, DP4, DP5, and DP6 are all connected to pin 26 of the integrated chip U1 for receiving activation commands.
9. A switch control circuit with adjustable on / off phase according to claim 8, characterized in that, include: The display screens DP1, DP2, DP3, DP4, DP5, and DP6 are respectively connected to pins 15, 16, 17, 18, 23, 24, and 25 of the integrated chip U1, so that the integrated chip U1 can control specific areas to be lit up for display.
10. A switch control circuit with adjustable on / off phase according to claim 5, characterized in that, include: The power supply unit uses a power chip U3, which is connected to the mains power via a rectifier bridge D5 and outputs the operating power via a transformer T1.