CN112752376B - Multi-control switch circuit - Google Patents

Multi-control switch circuit Download PDF

Info

Publication number
CN112752376B
CN112752376B CN202110165655.4A CN202110165655A CN112752376B CN 112752376 B CN112752376 B CN 112752376B CN 202110165655 A CN202110165655 A CN 202110165655A CN 112752376 B CN112752376 B CN 112752376B
Authority
CN
China
Prior art keywords
slave
slave control
resistor
control switch
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110165655.4A
Other languages
Chinese (zh)
Other versions
CN112752376A (en
Inventor
姚慧川
林友钦
刘堂忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leedarson Lighting Co Ltd
Original Assignee
Leedarson Lighting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leedarson Lighting Co Ltd filed Critical Leedarson Lighting Co Ltd
Priority to CN202110165655.4A priority Critical patent/CN112752376B/en
Publication of CN112752376A publication Critical patent/CN112752376A/en
Application granted granted Critical
Publication of CN112752376B publication Critical patent/CN112752376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/32Pulse-control circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/36Circuits for reducing or suppressing harmonics, ripples or electromagnetic interferences [EMI]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • H05B45/3725Switched mode power supply [SMPS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Abstract

The invention is applicable to the technical field of circuit control, and provides a multi-control switch circuit, which comprises: the system comprises a singlechip, a host control switch and at least one slave module; each slave module comprises a slave control unit and a detection unit; the invention aims at any slave machine module, and a slave machine control unit outputs corresponding alternating current control signals based on the switching state of each slave machine control switch; the detection unit detects the alternating current control signal to obtain a corresponding switch identification pulse signal; the singlechip determines a control signal of the load based on the switch identification pulse signal corresponding to the slave module, and controls the on-off state of the host control switch. The invention can determine the switch state of each slave control switch by utilizing the waveform characteristic of alternating current and control the working state of the load based on the switch state, thereby not only realizing multi-place control of the load, but also solving the problem of interference of wireless signals and solving the problem of poor control stability of the multi-control switch.

Description

Multi-control switch circuit
Technical Field
The invention belongs to the technical field of circuit control, and particularly relates to a multi-control switch circuit.
Background
In modern life, in order to conveniently control loops of common electric equipment such as lamps and lanterns at a plurality of places, mechanical double-control and/or multi-control switches are generally adopted, and after entering an intelligent home age, the intelligent switch provides convenient remote and intelligent linkage control for people.
However, the local double control and/or multiple control demands of the intelligent switch are mostly realized through wireless linkage control, and the master-slave switch of the intelligent switch is provided with a wireless communication module, so that the implementation mode not only increases the equipment cost, but also causes unstable communication of the master-slave switch in an application place where wireless signals are interfered or shielded, and has a certain influence on the multiple control.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a multi-control switch circuit to solve the problem of poor control stability of the multi-control switch in the prior art.
The embodiment of the invention provides a multi-control switch circuit, which comprises: the system comprises a singlechip, a host control switch and at least one slave module; each slave module comprises a slave control unit and a detection unit;
the output end of each slave control unit is respectively connected with the input end of the corresponding detection unit, the output end of each detection unit is respectively connected with the input end of the singlechip, and the control output end of the singlechip is connected with the control end of the host control switch; the fire wire connecting end of each slave control unit and the first end of the host control switch are respectively connected with a fire wire, and the second end of the host control switch is used for connecting a load;
Each slave control unit comprises at least two slave control switches;
for any slave module, the slave control unit corresponding to the slave module is used for outputting a corresponding alternating current control signal based on the switching state of each slave control switch, and sending the alternating current control signal to the detection unit corresponding to the slave module; the detection unit corresponding to the slave module is used for detecting the alternating current control signal to obtain a corresponding switch identification pulse signal, and sending the switch identification pulse signal to the singlechip;
the singlechip is used for controlling the on-off state of the host control switch according to the switch identification pulse signal corresponding to the slave module; the host control switch is used for controlling the working state of the load based on the switch state of the host control switch.
In one embodiment, the slave control unit includes a first resistor, a second resistor, a first capacitor, a first thyristor, a first diode, at least one slave control switch, and at least one branching resistor; each slave control switch corresponds to the branch resistor one by one;
the first end of the first resistor is connected with a zero line, and the second end of the first resistor is respectively connected with the first end of each slave control switch, the first end of the controllable silicon and the positive electrode of the first diode; the negative electrode of the first diode is connected with the first output end of the slave control unit; the second ends of the slave control switches are respectively connected with the first ends of the corresponding branch resistors, the second ends of the branch resistors are respectively connected with the first ends of the second resistors, the second ends of the second resistors are respectively connected with the first ends of the first capacitors and the third ends of the thyristors, the second ends of the thyristors and the second ends of the first capacitors are respectively connected with the live wire connecting ends of the slave control units, and the live wire connecting ends of the slave control units are grounded;
The slave control unit modulates alternating current signals between the zero line and the fire wire according to the switching state of each slave control switch to obtain corresponding alternating current control signals.
In one embodiment, the slave module further comprises a first pulse generating unit; the input end of the first pulse generating unit is connected with the pulse output end of the singlechip, and the output end of the first pulse generating unit is connected with the input end of the detection unit;
the slave control unit comprises a second resistor, a first capacitor, a first silicon controlled rectifier, at least one slave control switch and at least one branch resistor; each slave control switch corresponds to the branch resistor one by one;
the first end of each slave control switch and the first end of the controllable silicon in the slave control unit are respectively connected with the output end of the slave control unit; the second ends of the slave control switches are respectively connected with the first ends of the corresponding branch resistors, the second ends of the branch resistors are respectively connected with the first ends of the second resistors, the second ends of the second resistors are respectively connected with the first ends of the first capacitors and the third ends of the thyristors, the second ends of the thyristors and the second ends of the first capacitors are respectively connected with the live wire connecting ends of the slave control units, and the live wire connecting ends of the slave control units are grounded;
The single chip microcomputer is also used for sending a first pulse signal to the first pulse generating unit, and the first pulse generating unit is used for generating a first alternating current pulse wave according to the first pulse signal so that the first alternating current pulse wave is used as a signal source of the slave control unit;
the slave control unit is used for modulating the first alternating current pulse wave according to the switching state of each slave control switch to obtain a corresponding alternating current control signal.
In one embodiment, the first pulse generating unit includes a first triode, a third resistor, a fourth resistor, and a fifth resistor;
the first end of the third resistor is connected with the input end of the first pulse generating unit, the second end of the third resistor is connected with the base electrode of the first triode and the first end of the fourth resistor respectively, the second end of the fourth resistor and the emitter electrode of the first triode are grounded, the collector electrode of the first triode and the first end of the fifth resistor are connected with the output end of the first pulse generating unit, and the second end of the fifth resistor is connected with a first power supply.
In one embodiment, the resistances of the branch resistances corresponding to the slave control switches in the slave control unit are different.
In one embodiment, the detection unit includes a second triode, a sixth resistor, a seventh resistor, and an eighth resistor;
the first end of the sixth resistor is connected with the input end of the detection unit, the second end of the sixth resistor is respectively connected with the base electrode of the second triode and the first end of the seventh resistor, the emitter electrode of the second triode and the second end of the seventh resistor are grounded, and the collector electrode of the second triode is respectively connected with the first end of the eighth resistor and the output end of the detection unit; and the second end of the eighth resistor is connected with a second power supply.
In one embodiment, the slave control unit includes a first slave control switch, a second slave control switch, a third slave control switch, a fourth slave control switch, a second diode, a third diode, and a ninth resistor;
the first end of the ninth resistor is connected with a zero line, and the second end of the ninth resistor, the first end of the first slave control switch, the cathode of the second diode, the first end of the third slave control switch and the first end of the fourth slave control switch are respectively connected with the output end of the slave control unit; the anode of the second diode is connected with the first end of the second slave control switch; the second end of the first slave control switch, the second end of the second slave control switch, the second end of the third slave control switch and the cathode of the third diode are respectively connected with the live wire connecting end of the slave control unit; the anode of the third diode is connected with the second end of the fourth slave control switch;
The slave control unit modulates alternating current signals between the zero line and the fire wire according to the switching state of each slave control switch to obtain corresponding alternating current control signals.
In one embodiment, the slave module further comprises a second pulse generating unit; the input end of the second pulse generating unit is connected with the pulse output end of the singlechip, and the output end of the second pulse generating unit is connected with the input end of the detection unit;
the slave control unit comprises a first slave control switch, a second slave control switch, a third slave control switch, a fourth slave control switch, a second diode, a third diode and a tenth resistor;
the first end of the first slave control switch, the cathode of the second diode, the first end of the third slave control switch and the first end of the fourth slave control switch are respectively connected with the output end of the slave control unit; the anode of the second diode is connected with the first end of the second slave control switch; the second end of the first slave control switch, the second end of the second slave control switch, the second end of the third slave control switch and the cathode of the third diode are respectively connected with the first end of the tenth resistor, and the second end of the tenth resistor is connected with the live wire connecting end of the slave control unit; the anode of the third diode is connected with the second end of the fourth slave control switch;
The singlechip is used for sending a second pulse signal to the second pulse generating unit, and the second pulse generating unit is used for generating a second alternating current pulse wave according to the second pulse signal so that the second alternating current pulse wave is used as a signal source of the slave control unit;
the slave control unit is used for modulating the second alternating current pulse wave according to the switching state of each slave control switch to obtain a corresponding alternating current control signal.
In one embodiment, the second pulse generating unit includes an eleventh resistor, a twelfth resistor, a thirteenth resistor, and a comparator;
the input end of the second pulse generating unit comprises a first input end and a second input end, and the pulse output end of the singlechip comprises a first pulse output end and a second pulse output end; the first input end of the second pulse generating unit is connected with the first pulse output end of the single chip microcomputer, and the second input end of the second pulse generating unit is connected with the second pulse output end of the single chip microcomputer;
the first end of the eleventh resistor is connected with the first input end of the second pulse generating unit, the first end of the twelfth resistor is connected with the second input end of the second pulse generating unit, the second end of the eleventh resistor is connected with the positive input end of the comparator, the second end of the twelfth resistor is connected with the negative input end of the comparator, the output end of the comparator is connected with the first end of the thirteenth resistor, and the power end of the comparator is connected with a second power supply; the second end of the thirteenth resistor is connected with the output end of the second pulse generating unit.
In one embodiment, the detection unit includes a first output and a second output; the input end of the singlechip comprises a first input end and a second input end; the first output end of the detection unit is connected with the first input end of the singlechip, and the second output end of the detection unit is connected with the second input end of the singlechip;
the detection unit comprises a first photoelectric coupler, a second photoelectric coupler, a fourteenth resistor and a fifteenth resistor;
the positive electrode of the emitting tube of the first photoelectric coupler and the negative electrode of the emitting tube of the second photoelectric coupler are respectively connected with the input end of the detection unit; the emitting tube cathode of the first photoelectric coupler, the receiving tube cathode of the first photoelectric coupler, the emitting tube anode of the second photoelectric coupler and the receiving tube cathode of the second photoelectric coupler are all grounded; the positive electrode of the receiving tube of the first photoelectric coupler and the first end of the fourteenth resistor are respectively connected with the first output end of the detection unit, and the positive electrode of the receiving tube of the second photoelectric coupler and the first end of the fifteenth resistor are respectively connected with the second output end of the detection unit; the second end of the fourteenth resistor and the second end of the fifteenth resistor are both connected with a first power supply.
Compared with the prior art, the embodiment of the application has the beneficial effects that: the multi-control switch circuit provided by the application comprises: the system comprises a singlechip, a host control switch and at least one slave module; each slave module comprises a slave control unit and a detection unit; the application aims at any slave machine module, and a slave machine control unit outputs corresponding alternating current control signals based on the switching state of each slave machine control switch; the detection unit detects the alternating current control signal to obtain a corresponding switch identification pulse signal; the singlechip determines a control signal of the load based on the switch identification pulse signal corresponding to the slave module, and controls the on-off state of the host control switch. The application can determine the switch state of each slave control switch by utilizing the waveform characteristic of alternating current and control the working state of the load based on the switch state, thereby not only realizing multi-place control of the load, but also solving the problem of interference of wireless signals and solving the problem of poor control stability of the multi-control switch.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a multi-control switch circuit according to an embodiment of the present invention;
fig. 2 is a circuit diagram of a multiplexing control circuit of a zero-live wire power supply mode provided by an embodiment of the invention;
fig. 3 is a circuit diagram of an implementation of a multi-path control circuit of a single live wire power supply mode according to an embodiment of the present invention;
FIG. 4a shows waveforms at each of the monitoring points of FIG. 2 when none of the slave control switches of the slave control unit are closed;
FIG. 4b shows waveforms corresponding to the monitoring points of FIG. 2 when the slave control switch with the smaller branch resistance is closed;
FIG. 4c shows waveforms corresponding to the monitoring points in FIG. 2 when the slave control switch with the larger branch resistance is closed;
FIG. 5a shows waveforms at the various monitoring points of FIG. 3 when none of the slave control switches are closed;
FIG. 5b is a waveform diagram corresponding to each monitoring point when the slave control switch corresponding to the smaller branch resistor in FIG. 3 is closed;
FIG. 5c is a waveform diagram corresponding to each monitoring point when the slave control switch corresponding to the larger branch resistor in FIG. 3 is closed;
fig. 6 is another circuit diagram of a multiplexing control circuit of a zero-live wire power supply mode provided by the embodiment of the invention;
fig. 7 is another circuit diagram of a multi-path control circuit of a single live wire power supply mode provided by the embodiment of the invention;
FIG. 8a shows a schematic waveform diagram of each monitoring point in FIG. 6 when none of the slave control switches is depressed;
FIG. 8b shows a schematic waveform diagram of the various monitoring points of FIG. 6 when the slave control switch S1 or S3 is closed;
FIG. 8c shows a schematic waveform diagram of the monitoring points of FIG. 6 when the slave control switch S2 is closed;
FIG. 8d shows a schematic waveform diagram of the monitoring points of FIG. 6 when the slave control switch S4 is closed;
FIG. 9a shows a schematic waveform diagram of each monitoring point in FIG. 7 when none of the slave control switches is depressed;
FIG. 9b shows a schematic waveform diagram of the various monitoring points of FIG. 7 when the slave control switch S1 or S3 is closed;
FIG. 9c shows a schematic waveform diagram of the monitoring points of FIG. 7 when the slave control switch S2 is closed;
fig. 9d shows a schematic waveform diagram of each monitoring point in fig. 7 when the slave control switch S4 is closed.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to illustrate the technical scheme of the invention, the following description is made by specific examples.
In one embodiment, as shown in fig. 1, fig. 1 shows a schematic structural diagram of a multi-control switch circuit according to an embodiment of the present invention, which includes: the system comprises a singlechip 20, a host control switch 30 and at least one slave module 10; each slave module 10 includes a slave control unit 11 and a detection unit 12;
the output end of each slave control unit 11 is respectively connected with the input end of the corresponding detection unit 12, the output end of each detection unit 12 is respectively connected with the input end of the singlechip 20, and the control output end of the singlechip 20 is connected with the control end of the host control switch 30; the live wire connecting end of each slave control unit 11 and the first end of the master control switch 30 are respectively connected with a live wire, and the second end of the master control switch 30 is used for connecting a load;
each slave control unit 11 includes at least two slave control switches;
for any slave module 10, the slave control unit 11 corresponding to the slave module 10 is configured to output a corresponding ac control signal based on the on-off state of each slave control switch, and send the ac control signal to the detection unit 12 corresponding to the slave module 10; the detection unit 12 corresponding to the slave module 10 is configured to detect the ac control signal to obtain a corresponding switch identification pulse signal, and send the switch identification pulse signal to the singlechip 20;
The singlechip 20 is used for controlling the switch state of the host control switch 30 according to the switch identification pulse signal corresponding to the slave module 10; the host control switch 30 is used for controlling the working state of the load based on the switch state of the host control switch.
In this embodiment, the multi-control switching circuit is mainly applied to a lamp control loop for controlling the switching of the lamp. And the master control switch 30 and the slave control switch in the slave module 10 can both control the lamp load, and when the master control switch 30 and the slave module 10 are arranged in different places, the multi-control switch circuit can realize the multi-place control function of the lamp.
Specifically, the modules in the present embodiment are only used for functional distinction, and are not used for limiting the installation positions, for example, the detection unit 12 and the singlechip 20 may be provided as one device, and the device is provided at the proximal end of the host control switch 30.
In the present embodiment, each slave control switch in the slave control unit 11 is used to control different operation states of the load. When the lamp is used as a load, the slave control unit 11 can comprise two control switches, namely an on control switch and an off control switch, and can also comprise the control switches for adjusting the brightness and the chromaticity of different lamps.
In this embodiment, after acquiring a switch identification pulse signal of a certain slave module 10, the singlechip 20 extracts a duty ratio of the switch identification pulse signal corresponding to the slave module 10, and determines a control signal of the load according to the duty ratio of the switch identification pulse signal corresponding to the slave module 10. For example, when it is determined that the slave control switch corresponding to the slave module 10 is turned on according to the switch identification pulse signal, the control signal of the load is "turn on the lamp".
The invention can determine the switch state of each slave control switch in the slave module 10 by utilizing the waveform characteristics of alternating current and control the working state of the load based on the switch state, thereby realizing the multi-place control of the load, avoiding the interference problem of wireless signals and solving the problem of poor control stability of the multi-control switch.
In one embodiment, fig. 2 shows a circuit diagram of a multi-path control circuit of a zero-live power supply manner provided in this embodiment, as shown in fig. 2, the slave control unit 11 includes a first resistor R1, a second resistor R2, a first capacitor C1, a first thyristor Qn, a first diode D1, at least one slave control switch S, and at least one branch resistor R0; each slave control switch S corresponds to the branch resistor R0 one by one;
The first end of the first resistor R1 is connected with a zero line, and the second end of the first resistor R1 is respectively connected with the first end of each slave control switch, the first end of the controllable silicon and the anode of the first diode D1; the negative electrode of the first diode D1 is connected with the first output end of the slave control unit 11; the second ends of the slave control switches are respectively connected with the first ends of the corresponding branch resistors, the second ends of the branch resistors are respectively connected with the first ends of the second resistors R2, the second ends of the second resistors R2 are respectively connected with the first ends of the first capacitors C1 and the third ends of the thyristors, the second ends of the thyristors and the second ends of the first capacitors C1 are respectively connected with the live wire connection ends of the slave control units 11, and the live wire connection ends of the slave control units 11 are grounded;
the slave control unit 11 modulates the alternating current signal between the zero line and the live line according to the switching state of each slave control switch to obtain a corresponding alternating current control signal.
In this embodiment, the multi-control switch circuit provided in this embodiment may be implemented by a zero-live wire power supply mode. Specifically, the slave control unit 11 in fig. 2 uses an alternating current signal between the neutral line and the live line of the commercial power as a signal source, and modulates the alternating current signal through a thyristor, a slave control switch and a branch resistor.
In one embodiment, fig. 3 shows a circuit diagram of an implementation of the multi-path control circuit of the single-live power supply manner provided in this embodiment, as shown in fig. 3, where the slave module 10 further includes a first pulse generating unit; the input end of the first pulse generating unit is connected with the pulse output end sig of the singlechip 20, and the output end of the first pulse generating unit is connected with the input end of the detection unit 12;
the slave control unit 11 comprises a second resistor R2, a first capacitor C1, a first silicon controlled rectifier Qn, at least one slave control switch S and at least one branch resistor R0; each slave control switch S corresponds to the branch resistor R0 one by one;
the first end of each slave control switch in the slave control unit 11 and the first end of the controllable silicon are respectively connected with the output end of the slave control unit 11; the second ends of the slave control switches are respectively connected with the first ends of the corresponding branch resistors, the second ends of the branch resistors are respectively connected with the first ends of the second resistors R2, the second ends of the second resistors R2 are respectively connected with the first ends of the first capacitors C1 and the third ends of the thyristors, the second ends of the thyristors and the second ends of the first capacitors C1 are respectively connected with the live wire connection ends of the slave control units 11, and the live wire connection ends of the slave control units 11 are grounded;
The single chip microcomputer 20 is further configured to send a first pulse signal to the first pulse generating unit, where the first pulse generating unit is configured to generate a first ac pulse wave according to the first pulse signal, so that the first ac pulse wave is used as a signal source of the slave control unit 11;
the slave control unit 11 is configured to modulate the first ac pulse wave according to the on-off state of each slave control switch, so as to obtain a corresponding ac control signal.
In one embodiment, as shown in fig. 3, the first pulse generating unit includes a first transistor Q1, a third resistor R3, a fourth resistor R4, and a fifth resistor R5;
the first end of the third resistor R3 is connected with the input end of the first pulse generating unit, the second end of the third resistor R3 is respectively connected with the base electrode of the first triode Q1 and the first end of the fourth resistor R4, the second end of the fourth resistor R4 and the emitter electrode of the first triode Q1 are grounded, the collector electrode of the first triode Q1 and the first end of the fifth resistor R5 are connected with the output end of the first pulse generating unit, and the second end of the fifth resistor R5 is connected with a first power supply.
In this embodiment, the multi-control switch circuit provided in this embodiment may be implemented by a single live wire power supply mode. Specifically, in fig. 3, since the circuit adopts a single-live wire power supply mode, an ac pulse wave needs to be generated by the first pulse generating unit as a signal source of the slave control unit 11. The slave control unit 11 realizes modulation of alternating current pulse wave through a thyristor, a slave control switch and a branch resistor.
In this embodiment, the first power supply may be a VDD power supply.
In one embodiment, the resistances of the branch resistances corresponding to the slave control switches in the slave control unit 11 are different.
In one embodiment, as shown in fig. 2 or 3, the detection unit 12 includes a second triode Q2, a sixth resistor R6, a seventh resistor R7, and an eighth resistor R8;
the first end of the sixth resistor R6 is connected to the input end of the detection unit 12, the second end of the sixth resistor R6 is connected to the base of the second triode Q2 and the first end of the seventh resistor R7, the emitter of the second triode Q2 and the second end of the seventh resistor R7 are grounded, and the collector of the second triode Q2 is connected to the first end of the eighth resistor R8 and the output end of the detection unit 12; the second end of the eighth resistor R8 is connected with a second power supply.
In this embodiment, the second power supply is a VCC power supply.
In one embodiment of the present invention, when the slave control unit 11 adopts the scr control circuit in the zero-fire wire implementation manner as shown in fig. 2, the specific ac wave modulation and identification processes are as follows:
referring first to fig. 2 and 4 a-4 c, fig. 4 a-4 c illustrate waveforms for various monitoring points in fig. 2.
Specifically, fig. 4a shows waveforms of each monitoring point in fig. 2 when each slave control switch of the slave control unit 11 is not closed, as shown in fig. 4a, a waveform of the monitoring point 1 in fig. 2 is a sinusoidal ac wave, and if each slave control switch key of the slave control unit 11 is not pressed, the thyristor circuit of the slave control unit 11 is not turned on, and then the waveform of the monitoring point 2 in fig. 2 is identical to the waveform of the monitoring point 1. After rectification by a diode, the waveform corresponding to the monitoring point 3 in fig. 2 is a sine half wave, and is transmitted to the detection unit 12 through a loop, the detection unit 12 converts a sine half wave signal into a pulse waveform to be output, the period T of the pulse wave corresponding to the monitoring point 4 in fig. 2 is consistent with the alternating current sine wave corresponding to the monitoring point 1, and the pulse trough time td=T/2; the singlechip 20 determines the duty ratio by comparing td with T, and can recognize that no key is pressed currently.
When a certain slave control switch key in fig. 2 is pressed, different slave control switches are matched with different branch resistances, so that when different slave control switches are triggered, the charging time of the capacitor under the controllable silicon is different, the triggering time is different, and the conduction time of the controllable silicon is different under the triggering of different slave control switches. The on time of the silicon controlled rectifier can be controlled by selecting different branch resistances, and the singlechip 20 can identify the triggered slave control switch according to the pulse signal output by the detection unit 12.
Specifically, fig. 4b shows waveforms corresponding to each monitoring point in fig. 2 when the slave control switch with smaller branch resistance is turned on, and as shown in fig. 4b, when the branch resistance corresponding to the slave control switch is smaller, the thyristor is turned on faster, and at this time, the period T of the switch identification pulse of the monitoring point 4 in fig. 2 is consistent with the period of the alternating current, but the trough td is smaller, so that the duty cycle of the switch identification pulse signal is smaller. FIG. 4c shows waveforms corresponding to the monitoring points in FIG. 2 when the slave control switch with the larger branch resistance is closed; referring to fig. 4c, when the branch resistance corresponding to the slave control switch is larger, the thyristor is turned on more slowly, and at this time, the period T of the switch identification pulse at the monitoring point 4 in fig. 2 is consistent with the period of the alternating current, and the trough td becomes larger, so that the duty ratio of the switch identification pulse signal is larger.
From the above, the singlechip 20 can identify the triggered slave control switch by detecting the periods T and td of the switch identification pulse signal, and then perform corresponding actions. In order to improve the recognition of the duty ratio and avoid the recognition error caused by the detection error, the branch resistances corresponding to each slave control switch in the embodiment need to have a certain difference, so the number of the slave control switches cannot be increased infinitely.
In one embodiment of the present invention, when the slave module 10 employs a scr control circuit in the single-wire implementation as shown in fig. 3, the specific ac wave modulation and identification process is as follows:
referring to fig. 5 a-5 c, fig. 5 a-5 c illustrate waveforms for each of the monitoring points of fig. 3. First, the singlechip 20 outputs a pulse wave (a waveform corresponding to the monitoring point 1 in fig. 3) with a duty ratio of 50% with a fixed period through the pulse output terminal sig. The pulse wave is converted into a first alternating current pulse wave with higher voltage amplitude output by a first pulse generating unit, wherein the first alternating current pulse wave is consistent with the period of the waveform of the monitoring point 1 in fig. 3, but is 180 degrees out of phase. The problem that the waveform cannot be identified due to the fact that the distance between the host and the slave is too long can be avoided by outputting the high-voltage pulse waveform. Alternatively, the high voltage is typically chosen to be above 12V.
Specifically, fig. 5a shows waveforms of each monitoring point in fig. 3 when each slave control switch is not closed, referring to fig. 5a, similar to the implementation of fig. 2, when the slave control switch is not closed, the thyristor loop is not conductive, so that the waveform of the monitoring point 2 in fig. 3 remains as the original pulse waveform of the monitoring point 1. In fig. 3, the waveform of the monitoring point 3 is a switch identification pulse waveform output by the detection unit 12, the period T of the switch identification pulse waveform is consistent with the signal output by the singlechip 20 to the pulse generation unit, and the pulse trough time td=t/2; the singlechip 20 can recognize that the current slave-free control switch is closed by comparing td with T.
When a certain slave control switch is closed, different slave control switches are matched with different branch resistances, so that when different slave control switches are triggered, the charging time of the capacitor under the silicon controlled rectifier is different, the triggering time is different, and the conduction time of the silicon controlled rectifier is different under the triggering of different keys. The on time of the silicon controlled rectifier can be controlled by selecting different branch resistances, and the singlechip 20 can identify the triggered slave control switch according to the switch identification pulse signal output by the detection unit 12.
As shown in fig. 5b, fig. 5b is a waveform diagram corresponding to each monitoring point when the slave control switch corresponding to the smaller branch resistance in fig. 3 is closed, when the branch resistance corresponding to the slave control switch is smaller, the thyristor is turned on faster, at this time, the detection unit 12 outputs the switch identification pulse waveform (monitoring point 3), the period T is consistent with the signal period output to the first pulse generating unit by the singlechip 20, but the trough td is smaller.
As shown in fig. 5c, fig. 5c is a waveform diagram corresponding to each monitoring point when the slave control switch corresponding to the larger branch resistance in fig. 3 is closed, when the branch resistance corresponding to the slave control switch is larger, the thyristor is turned on slowly, at this time, the detection unit 12 outputs (monitoring point 3) a switch identification pulse waveform, and the period T is consistent with the signal period output to the first pulse generating unit by the singlechip 20, but the trough td is larger.
As can be seen from the foregoing, in the present embodiment, in the single fire power supply mode, the first pulse generating unit provides the ac signal source for the slave control unit 11, and the single chip microcomputer 20 can identify the triggered slave control switch by detecting the periods T and td of the switch identification pulse signal, and then perform the corresponding actions. In order to improve the recognition of the duty ratio and avoid the recognition error caused by the detection error, the branch resistances corresponding to each slave control switch in the embodiment need to have a certain difference, so the number of the slave control switches cannot be increased infinitely.
In one embodiment, referring to fig. 6, fig. 6 shows another circuit diagram of a multiple control circuit for a zero line power mode; as shown in fig. 6, the slave control unit 11 includes a first slave control switch S1, a second slave control switch S2, a third slave control switch S3, a fourth slave control switch S4, a second diode D2, a third diode D3, and a ninth resistor R9;
The first end of the ninth resistor R9 is connected to a zero line, and the second end of the ninth resistor R9, the first end of the first slave control switch S1, the cathode of the second diode D2, the first end of the third slave control switch S3, and the first end of the fourth slave control switch S4 are respectively connected to the output end of the slave control unit 11; the anode of the second diode D2 is connected with the first end of the second slave control switch S2; the second end of the first slave control switch S1, the second end of the second slave control switch S2, the second end of the third slave control switch S3, and the cathode of the third diode D3 are respectively connected with the live wire connection end of the slave control unit 11; the anode of the third D3 diode is connected with the second end of the fourth slave control switch S4;
the slave control unit 11 modulates the alternating current signal between the zero line and the live line according to the switching state of each slave control switch, and obtains a corresponding alternating current control signal.
In this embodiment, as shown in fig. 6, the slave control unit 11 in fig. 6 uses an ac signal between the utility power zero line and the utility power line as a signal source, and modulates the ac signal by a diode and a slave control switch.
In one embodiment, fig. 7 shows another implementation circuit diagram of the multi-path control circuit of the single-live power supply manner provided in this embodiment, as shown in fig. 7, where the slave module 10 further includes a second pulse generating unit; the input end of the second pulse generating unit is connected with the pulse output end sig of the singlechip 20, and the output end of the second pulse generating unit is connected with the input end of the detection unit 12;
the slave control unit 11 comprises a first slave control switch S1, a second slave control switch S2, a third slave control switch S3, a fourth slave control switch S4, a second diode D2, a third diode D3 and a tenth resistor R10;
the first end of the first slave control switch S1, the cathode of the second diode D2, the first end of the third slave control switch S3, and the first end of the fourth slave control switch S4 are respectively connected with the output end of the slave control unit 11; the anode of the second diode D2 is connected with the first end of the second slave control switch S2; the second end of the first slave control switch S1, the second end of the second slave control switch S2, the second end of the third slave control switch S3 and the cathode of the third diode are respectively connected with the first end of the tenth resistor R10, and the second end of the tenth resistor R10 is connected with the live wire connection end of the slave control unit 11; the anode of the third diode is connected with the second end of the fourth slave control switch S4;
The single chip microcomputer 20 is configured to send a second pulse signal to the second pulse generating unit, where the second pulse generating unit is configured to generate a second ac pulse wave according to the second pulse signal, so that the second ac pulse wave is used as a signal source of the slave control unit 11;
the slave control unit 11 is configured to modulate the second ac pulse wave according to the on-off state of each slave control switch, so as to obtain a corresponding ac control signal.
In one embodiment, as shown in fig. 7, the second pulse generating unit includes an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, and a comparator a;
the input end of the second pulse generating unit comprises a first input end and a second input end, and the pulse output end sig of the singlechip 20 comprises a first pulse output end sig1 and a second pulse output end sig2; the first input end of the second pulse generating unit is connected with the first pulse output end of the single chip microcomputer 20, and the second input end of the second pulse generating unit is connected with the second pulse output end of the single chip microcomputer 20;
the first end of the eleventh resistor R11 is connected with the first input end of the second pulse generating unit, the first end of the twelfth resistor R12 is connected with the second input end of the second pulse generating unit, the second end of the eleventh resistor R11 is connected with the positive phase input end of the comparator a, the second end of the twelfth resistor R12 is connected with the negative phase input end of the comparator a, the output end of the comparator a is connected with the first end of the thirteenth resistor R13, and the power end of the comparator a is connected with a second power supply; a second end of the thirteenth resistor R13 is connected to the output end of the second pulse generating unit.
Specifically, as shown in fig. 7, since the circuit in fig. 7 adopts a single-live wire power supply method, it is necessary to generate an ac pulse wave as a signal source of the slave control unit 11 by the second pulse generating unit. The slave control unit 11 modulates the ac pulse wave by a diode and a slave control switch.
In this embodiment, the comparator a is power-connected by VDD power and VEE power.
In one embodiment, referring to fig. 6 and 7, the detection unit 12 includes a first output terminal and a second output terminal; the input end of the singlechip 20 comprises a first input end det1 and a second input end det2; the first output end of the detection unit 12 is connected with the first input end det1 of the singlechip 20, and the second output end of the detection unit 12 is connected with the second input end det2 of the singlechip 20;
the detection unit 12 comprises a first photoelectric coupler Q3, a second photoelectric coupler Q4, a fourteenth resistor R14 and a fifteenth resistor R15;
the positive electrode of the emitting tube of the first photoelectric coupler Q3 and the negative electrode of the emitting tube of the second photoelectric coupler Q4 are respectively connected with the input end of the detection unit 12; the emitting tube cathode of the first photoelectric coupler Q3, the receiving tube cathode of the first photoelectric coupler Q3, the emitting tube anode of the second photoelectric coupler Q4 and the receiving tube cathode of the second photoelectric coupler Q4 are all grounded; the positive electrode of the receiving tube of the first photoelectric coupler Q3 and the first end of the fourteenth resistor R14 are respectively connected with the first output end of the detection unit 12, and the positive electrode of the receiving tube of the second photoelectric coupler Q4 and the first end of the fifteenth resistor R15 are respectively connected with the second output end of the detection unit 12; the second end of the fourteenth resistor R14 and the second end of the fifteenth resistor R15 are both connected to a first power supply.
In this embodiment, the positive electrode of the transmitting tube of the photoelectric coupler is the pin 1 of the photoelectric coupler in fig. 6, the negative electrode of the transmitting tube of the photoelectric coupler is the pin 2 of the photoelectric coupler in fig. 6, the positive electrode of the receiving tube of the photoelectric coupler is the pin 4 of the photoelectric coupler in fig. 6, and the negative electrode of the receiving tube of the photoelectric coupler is the pin 3 of the photoelectric coupler in fig. 6.
Specifically, the first photocoupler Q3 and the fourteenth resistor R14 constitute a first detection subunit, output a first switch identification pulse signal, and the second photocoupler Q4 and the fifteenth resistor R15 constitute a second detection subunit, output a second switch identification pulse signal.
In one embodiment of the present invention, when the slave module 10 employs the diode control circuit in the zero-fire implementation as shown in fig. 6, the specific ac modulation and identification process is as follows:
first, referring to fig. 6 and 8 a-8 d, fig. 8 a-8 d illustrate waveforms for various monitoring points in fig. 6. Specifically, fig. 8a shows a schematic waveform diagram of each monitoring point in fig. 6 when each slave control switch is not pressed. As shown in fig. 8a, in fig. 6, the waveform of the monitoring point 1 is a sinusoidal ac wave, and if none of the slave control switch keys of the slave control unit 11 is pressed, no effective path is formed by the slave control unit 11, so the waveform of the monitoring point 2 is the same as the waveform of the monitoring point 1. The detection unit 12 uses the unidirectional conductivity of the photodiode built in the optocoupler, and for the first detection subunit, the first detection subunit is turned on when the alternating current signal (N- > L) between the zero line and the live line is a negative voltage, as in the waveform corresponding to the monitoring point 3 in fig. 8a, and for the second detection subunit, the second detection subunit is turned on when the N- > L is a positive voltage, as in the waveform corresponding to the monitoring point 4 in fig. 8 a. The outputs of the 2 detection subunits are pulse signals with 50% duty ratio, and the period T is consistent with the alternating current period, but the phases of the pulse signals are 180 degrees different. The singlechip 20 judges that the slave control switch is not triggered according to the control information.
As shown in fig. 8b, fig. 8b shows a schematic waveform diagram of each monitoring point in fig. 6 when the slave control switch S1 or S3 is closed. Specifically, when the slave control switch S1 or S3 is closed, the slave control unit 11 forms a loop from the input terminal to the internal reference, so that the output waveform of the slave control unit 11 is 0, no sinusoidal waveform is transmitted to the detection unit 12, and the first detection subunit and the second detection subunit are each output at a high level (waveforms corresponding to the monitoring point 3 and the monitoring point 4), and no pulse signal is generated. The singlechip 20 judges that the signal is triggered by S1 or S3.
As shown in fig. 8c, fig. 8c shows a schematic waveform diagram of each monitoring point in fig. 6 when the slave control switch S2 is closed. When the slave control switch S2 is closed, the loop cannot be conducted when the voltage of the control line connected with the zero line is higher than the reference ground because of the unidirectional conductive characteristic of the diode, and the output (monitoring point 2) of the slave control unit 11 is a sine half wave; when the control line voltage is lower than the reference ground, the loop is turned on, the control line voltage is pulled down, and the slave control unit 11 (monitoring point 2) outputs a low level. The first detection subunit outputs a pulse signal with the duty ratio of 50%, as shown in the waveform of the monitoring point 3 in fig. 8c, and the period T is consistent with the alternating current period; the second detector subunit outputs a continuously high level, such as the waveform of monitor point 4 in fig. 8 c. The singlechip 20 determines that the slave control switch S2 is triggered according to the signal difference.
As shown in fig. 8d, fig. 8d shows a schematic waveform diagram of each monitoring point in fig. 6 when the slave control switch S4 is closed. Specifically, because of the unidirectional conductive characteristic of the diode, when the control line voltage is higher than the reference ground, the loop is turned on, the control line voltage is pulled down, and the slave control unit 11 (monitoring point 2) outputs a low level; when the control line voltage is lower than the reference ground, the loop cannot be conducted, and the slave control unit 11 (monitoring point 2) maintains the original sinusoidal half-wave output. The first detection subunit outputs a continuous high level, such as the waveform of the monitoring point 3 in fig. 8d, and the second detection subunit outputs a pulse signal with a duty ratio of 50%, such as the waveform of the monitoring point 4 in fig. 8d, and the period T coincides with the ac period. The singlechip 20 determines that the slave control switch S4 is triggered according to the signal difference.
In one embodiment of the present invention, when the slave module 10 employs the diode control circuit in the single-fire-wire implementation as shown in fig. 7, the specific ac wave modulation and identification process is as follows:
referring to fig. 9 a-9 d, fig. 9 a-9 d show waveforms corresponding to the various monitoring points of fig. 7.
The singlechip 20 outputs pulse signals (waveforms corresponding to the monitoring points 1 and 2) with a duty ratio of 50% and a phase difference of 180 degrees through a fixed output period of the first pulse output end sig1 and the second pulse output end sig2, and generates positive and negative alternating current pulse wave output with higher voltage through a comparator A in the second pulse generating unit. The problem that the waveform cannot be identified due to the fact that the distance between the host and the slave is too long can be avoided by outputting the high-voltage pulse waveform. The high voltage is typically selected to be 12V or more.
Specifically, fig. 9a shows a schematic waveform diagram of each monitoring point in fig. 7 when each slave control switch is not pressed. When none of the slave control switches is closed, no effective path is formed by the slave control unit 11 at this time, and therefore the ac pulse waveform (monitoring point 3 waveform) output by the second pulse generating unit is input to the detection unit 12 entirely through the control line. The detection unit 12 uses the unidirectional conductivity of the photodiode built in the optocoupler, and is turned on when the pulse output from the second pulse generation unit is positive voltage for the first detection subunit and is turned on when the pulse output from the second pulse generation unit is negative voltage for the second detection subunit. The outputs of the 2 detection subunits (monitoring point 4 and monitoring point 5) are pulse signals with 50% duty ratio, and the period T is consistent with the pulse period output by the second pulse generation unit, but the phases of the pulse signals are 180 degrees different. The singlechip 20 judges that the slave control unit 11 has no slave control switch trigger at the moment.
As shown in fig. 9b, fig. 9b shows a schematic waveform diagram of each monitoring point in fig. 7 when the slave control switch S1 or S3 is closed. When the slave control switch S1 or S3 is closed, a loop is formed from the control line to the internal reference, so that the control line output waveform (monitoring point 3) is 0, no pulse waveform is transmitted to the detection unit 12, and 2 switch identification pulse signals (monitoring point 4 and monitoring point 5) of the detection unit 12 are all output as high level, no pulse signal. The singlechip 20 determines that the first slave control switch S1 or the third slave control switch S3 is triggered according to the signal.
As shown in fig. 9c, fig. 9c shows a schematic waveform diagram of each monitoring point in fig. 7 when the slave control switch S2 is closed. When the second slave control switch S2 is pressed, the loop cannot be turned on when the control line voltage is higher than the reference ground because of the unidirectional conduction characteristic of the diode, and the slave control unit 11 outputs a half wave of the hold original pulse; when the control line voltage is lower than the reference ground, the loop is turned on, the control line voltage is pulled down, and the slave control unit 11 outputs a low level, such as the waveform of the monitor point 3 in fig. 9 c. The first detection subunit (monitoring point 4) outputs continuously high level, the second detection subunit (monitoring point 5) outputs pulse signals with 50% duty ratio, and the period T is consistent with the pulse period output by the pulse generating unit. The singlechip 20 determines that the second slave control switch S2 of the slave control unit 11 is triggered according to the signal difference.
As shown in fig. 9d, fig. 9d shows a schematic waveform diagram of each monitoring point in fig. 7 when the slave control switch S4 is closed. When the fourth slave control switch S4 is closed, the loop is turned on because of the unidirectional conductive characteristic of the diode, when the control line voltage is higher than the reference ground, the control line voltage is pulled down, and the slave control unit 11 outputs a low level; when the control line voltage is lower than the reference ground, the loop cannot be conducted, and the slave control unit 11 maintains the original pulse half-wave output, such as the waveform of the monitoring point 3 in fig. 9 d. The first detection subunit (monitoring point 4) outputs a pulse signal with a duty ratio of 50%, the period T is consistent with the pulse period output by the pulse generating unit, and the second detection subunit (monitoring point 5) outputs a continuous high level. The singlechip 20 determines that the fourth slave control switch S4 is triggered according to the signal difference.
As can be seen from the above embodiments, the slave module 10 of the present embodiment adopts a diode or a thyristor to modulate an ac signal, and does not need to design a power supply and a dedicated communication unit, thereby reducing the cost of the slave module 10 of the multi-control switch circuit. In addition, the control line is adopted between the host computer and the slave computer to transmit alternating current signal waveforms, so that the communication is reliable and stable, the problem of poor control stability of the multi-control switch is solved, and the user experience of the multi-control switch is optimized. In addition, the multi-control switch circuit provided by the embodiment can directly upgrade the traditional switch without changing the original wiring, and is simple to install and high in practicability.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (12)

1. A multi-control switching circuit, comprising: the system comprises a singlechip, a host control switch and at least one slave module; each slave module comprises a slave control unit and a detection unit;
the output end of each slave control unit is respectively connected with the input end of the corresponding detection unit, the output end of each detection unit is respectively connected with the input end of the singlechip, and the control output end of the singlechip is connected with the control end of the host control switch; the fire wire connecting end of each slave control unit and the first end of the host control switch are respectively connected with a fire wire, and the second end of the host control switch is used for connecting a load;
each slave control unit comprises at least two slave control switches;
for any slave module, the slave control unit corresponding to the slave module is used for outputting a corresponding alternating current control signal based on the switching state of each slave control switch, and sending the alternating current control signal to the detection unit corresponding to the slave module; the detection unit corresponding to the slave module is used for detecting the alternating current control signal to obtain a corresponding switch identification pulse signal, and sending the switch identification pulse signal to the singlechip;
The singlechip is used for controlling the on-off state of the host control switch according to the switch identification pulse signal corresponding to the slave module; the host control switch is used for controlling the working state of the load based on the switch state of the host control switch;
the slave control unit comprises a first resistor, a second resistor, a first capacitor, a first silicon controlled rectifier, a first diode, at least one slave control switch and at least one branch resistor; each slave control switch corresponds to the branch resistor one by one;
the first end of the first resistor is connected with a zero line, and the second end of the first resistor is respectively connected with the first end of each slave control switch, the first end of the controllable silicon and the positive electrode of the first diode; the negative electrode of the first diode is connected with the first output end of the slave control unit; the second ends of the slave control switches are respectively connected with the first ends of the corresponding branch resistors, the second ends of the branch resistors are respectively connected with the first ends of the second resistors, the second ends of the second resistors are respectively connected with the first ends of the first capacitors and the third ends of the thyristors, the second ends of the thyristors and the second ends of the first capacitors are respectively connected with the live wire connecting ends of the slave control units, and the live wire connecting ends of the slave control units are grounded;
The slave control unit modulates alternating current signals between the zero line and the fire wire according to the switching state of each slave control switch to obtain corresponding alternating current control signals.
2. The multi-control switch circuit as claimed in claim 1, wherein the resistances of the branch resistances corresponding to the respective slave control switches in the slave control unit are different.
3. The multi-control switching circuit of claim 1 wherein the detection unit comprises a second triode, a sixth resistor, a seventh resistor, and an eighth resistor;
the first end of the sixth resistor is connected with the input end of the detection unit, the second end of the sixth resistor is respectively connected with the base electrode of the second triode and the first end of the seventh resistor, the emitter electrode of the second triode and the second end of the seventh resistor are grounded, and the collector electrode of the second triode is respectively connected with the first end of the eighth resistor and the output end of the detection unit; and the second end of the eighth resistor is connected with a second power supply.
4. A multi-control switching circuit, comprising: the system comprises a singlechip, a host control switch and at least one slave module; each slave module comprises a slave control unit and a detection unit;
The output end of each slave control unit is respectively connected with the input end of the corresponding detection unit, the output end of each detection unit is respectively connected with the input end of the singlechip, and the control output end of the singlechip is connected with the control end of the host control switch; the fire wire connecting end of each slave control unit and the first end of the host control switch are respectively connected with a fire wire, and the second end of the host control switch is used for connecting a load;
each slave control unit comprises at least two slave control switches;
for any slave module, the slave control unit corresponding to the slave module is used for outputting a corresponding alternating current control signal based on the switching state of each slave control switch, and sending the alternating current control signal to the detection unit corresponding to the slave module; the detection unit corresponding to the slave module is used for detecting the alternating current control signal to obtain a corresponding switch identification pulse signal, and sending the switch identification pulse signal to the singlechip;
the singlechip is used for controlling the on-off state of the host control switch according to the switch identification pulse signal corresponding to the slave module; the host control switch is used for controlling the working state of the load based on the switch state of the host control switch;
The slave module further comprises a first pulse generating unit; the input end of the first pulse generating unit is connected with the pulse output end of the singlechip, and the output end of the first pulse generating unit is connected with the input end of the detection unit;
the slave control unit comprises a second resistor, a first capacitor, a first silicon controlled rectifier, at least one slave control switch and at least one branch resistor; each slave control switch corresponds to the branch resistor one by one;
the first end of each slave control switch and the first end of the controllable silicon in the slave control unit are respectively connected with the output end of the slave control unit; the second ends of the slave control switches are respectively connected with the first ends of the corresponding branch resistors, the second ends of the branch resistors are respectively connected with the first ends of the second resistors, the second ends of the second resistors are respectively connected with the first ends of the first capacitors and the third ends of the thyristors, the second ends of the thyristors and the second ends of the first capacitors are respectively connected with the live wire connecting ends of the slave control units, and the live wire connecting ends of the slave control units are grounded;
the single chip microcomputer is also used for sending a first pulse signal to the first pulse generating unit, and the first pulse generating unit is used for generating a first alternating current pulse wave according to the first pulse signal so that the first alternating current pulse wave is used as a signal source of the slave control unit;
The slave control unit is used for modulating the first alternating current pulse wave according to the switching state of each slave control switch to obtain a corresponding alternating current control signal.
5. The multi-control switching circuit of claim 4, wherein the first pulse generating unit comprises a first triode, a third resistor, a fourth resistor, and a fifth resistor;
the first end of the third resistor is connected with the input end of the first pulse generating unit, the second end of the third resistor is connected with the base electrode of the first triode and the first end of the fourth resistor respectively, the second end of the fourth resistor and the emitter electrode of the first triode are grounded, the collector electrode of the first triode and the first end of the fifth resistor are connected with the output end of the first pulse generating unit, and the second end of the fifth resistor is connected with a first power supply.
6. The multi-control switch circuit as claimed in claim 4, wherein the resistances of the branch resistances corresponding to the respective slave control switches in the slave control unit are different.
7. The multi-control switching circuit of claim 4 wherein the detection unit comprises a second triode, a sixth resistor, a seventh resistor, and an eighth resistor;
The first end of the sixth resistor is connected with the input end of the detection unit, the second end of the sixth resistor is respectively connected with the base electrode of the second triode and the first end of the seventh resistor, the emitter electrode of the second triode and the second end of the seventh resistor are grounded, and the collector electrode of the second triode is respectively connected with the first end of the eighth resistor and the output end of the detection unit; and the second end of the eighth resistor is connected with a second power supply.
8. A multi-control switching circuit, comprising: the system comprises a singlechip, a host control switch and at least one slave module; each slave module comprises a slave control unit and a detection unit;
the output end of each slave control unit is respectively connected with the input end of the corresponding detection unit, the output end of each detection unit is respectively connected with the input end of the singlechip, and the control output end of the singlechip is connected with the control end of the host control switch; the fire wire connecting end of each slave control unit and the first end of the host control switch are respectively connected with a fire wire, and the second end of the host control switch is used for connecting a load;
each slave control unit comprises at least two slave control switches;
For any slave module, the slave control unit corresponding to the slave module is used for outputting a corresponding alternating current control signal based on the switching state of each slave control switch, and sending the alternating current control signal to the detection unit corresponding to the slave module; the detection unit corresponding to the slave module is used for detecting the alternating current control signal to obtain a corresponding switch identification pulse signal, and sending the switch identification pulse signal to the singlechip;
the singlechip is used for controlling the on-off state of the host control switch according to the switch identification pulse signal corresponding to the slave module; the host control switch is used for controlling the working state of the load based on the switch state of the host control switch;
the slave control unit comprises a first slave control switch, a second slave control switch, a third slave control switch, a fourth slave control switch, a second diode, a third diode and a ninth resistor;
the first end of the ninth resistor is connected with a zero line, and the second end of the ninth resistor, the first end of the first slave control switch, the cathode of the second diode, the first end of the third slave control switch and the first end of the fourth slave control switch are respectively connected with the output end of the slave control unit; the anode of the second diode is connected with the first end of the second slave control switch; the second end of the first slave control switch, the second end of the second slave control switch, the second end of the third slave control switch and the cathode of the third diode are respectively connected with the live wire connecting end of the slave control unit; the anode of the third diode is connected with the second end of the fourth slave control switch;
The slave control unit modulates alternating current signals between the zero line and the fire wire according to the switching state of each slave control switch to obtain corresponding alternating current control signals.
9. The multi-control switching circuit according to claim 8, wherein the detection unit includes a first output terminal and a second output terminal; the input end of the singlechip comprises a first input end and a second input end; the first output end of the detection unit is connected with the first input end of the singlechip, and the second output end of the detection unit is connected with the second input end of the singlechip;
the detection unit comprises a first photoelectric coupler, a second photoelectric coupler, a fourteenth resistor and a fifteenth resistor;
the positive electrode of the emitting tube of the first photoelectric coupler and the negative electrode of the emitting tube of the second photoelectric coupler are respectively connected with the input end of the detection unit; the emitting tube cathode of the first photoelectric coupler, the receiving tube cathode of the first photoelectric coupler, the emitting tube anode of the second photoelectric coupler and the receiving tube cathode of the second photoelectric coupler are all grounded; the positive electrode of the receiving tube of the first photoelectric coupler and the first end of the fourteenth resistor are respectively connected with the first output end of the detection unit, and the positive electrode of the receiving tube of the second photoelectric coupler and the first end of the fifteenth resistor are respectively connected with the second output end of the detection unit; the second end of the fourteenth resistor and the second end of the fifteenth resistor are both connected with a first power supply.
10. A multi-control switching circuit, comprising: the system comprises a singlechip, a host control switch and at least one slave module; each slave module comprises a slave control unit and a detection unit;
the output end of each slave control unit is respectively connected with the input end of the corresponding detection unit, the output end of each detection unit is respectively connected with the input end of the singlechip, and the control output end of the singlechip is connected with the control end of the host control switch; the fire wire connecting end of each slave control unit and the first end of the host control switch are respectively connected with a fire wire, and the second end of the host control switch is used for connecting a load;
each slave control unit comprises at least two slave control switches;
for any slave module, the slave control unit corresponding to the slave module is used for outputting a corresponding alternating current control signal based on the switching state of each slave control switch, and sending the alternating current control signal to the detection unit corresponding to the slave module; the detection unit corresponding to the slave module is used for detecting the alternating current control signal to obtain a corresponding switch identification pulse signal, and sending the switch identification pulse signal to the singlechip;
The singlechip is used for controlling the on-off state of the host control switch according to the switch identification pulse signal corresponding to the slave module; the host control switch is used for controlling the working state of the load based on the switch state of the host control switch;
the slave module further comprises a second pulse generating unit; the input end of the second pulse generating unit is connected with the pulse output end of the singlechip, and the output end of the second pulse generating unit is connected with the input end of the detection unit;
the slave control unit comprises a first slave control switch, a second slave control switch, a third slave control switch, a fourth slave control switch, a second diode, a third diode and a tenth resistor;
the first end of the first slave control switch, the cathode of the second diode, the first end of the third slave control switch and the first end of the fourth slave control switch are respectively connected with the output end of the slave control unit; the anode of the second diode is connected with the first end of the second slave control switch; the second end of the first slave control switch, the second end of the second slave control switch, the second end of the third slave control switch and the cathode of the third diode are respectively connected with the first end of the tenth resistor, and the second end of the tenth resistor is connected with the live wire connecting end of the slave control unit; the anode of the third diode is connected with the second end of the fourth slave control switch;
The singlechip is used for sending a second pulse signal to the second pulse generating unit, and the second pulse generating unit is used for generating a second alternating current pulse wave according to the second pulse signal so that the second alternating current pulse wave is used as a signal source of the slave control unit;
the slave control unit is used for modulating the second alternating current pulse wave according to the switching state of each slave control switch to obtain a corresponding alternating current control signal.
11. The multi-control switching circuit according to claim 10, wherein the second pulse generating unit includes an eleventh resistor, a twelfth resistor, a thirteenth resistor, and a comparator;
the input end of the second pulse generating unit comprises a first input end and a second input end, and the pulse output end of the singlechip comprises a first pulse output end and a second pulse output end; the first input end of the second pulse generating unit is connected with the first pulse output end of the single chip microcomputer, and the second input end of the second pulse generating unit is connected with the second pulse output end of the single chip microcomputer;
the first end of the eleventh resistor is connected with the first input end of the second pulse generating unit, the first end of the twelfth resistor is connected with the second input end of the second pulse generating unit, the second end of the eleventh resistor is connected with the positive input end of the comparator, the second end of the twelfth resistor is connected with the negative input end of the comparator, the output end of the comparator is connected with the first end of the thirteenth resistor, and the power end of the comparator is connected with a second power supply; the second end of the thirteenth resistor is connected with the output end of the second pulse generating unit.
12. The multi-control switching circuit according to claim 10, wherein the detection unit includes a first output terminal and a second output terminal; the input end of the singlechip comprises a first input end and a second input end; the first output end of the detection unit is connected with the first input end of the singlechip, and the second output end of the detection unit is connected with the second input end of the singlechip;
the detection unit comprises a first photoelectric coupler, a second photoelectric coupler, a fourteenth resistor and a fifteenth resistor;
the positive electrode of the emitting tube of the first photoelectric coupler and the negative electrode of the emitting tube of the second photoelectric coupler are respectively connected with the input end of the detection unit; the emitting tube cathode of the first photoelectric coupler, the receiving tube cathode of the first photoelectric coupler, the emitting tube anode of the second photoelectric coupler and the receiving tube cathode of the second photoelectric coupler are all grounded; the positive electrode of the receiving tube of the first photoelectric coupler and the first end of the fourteenth resistor are respectively connected with the first output end of the detection unit, and the positive electrode of the receiving tube of the second photoelectric coupler and the first end of the fifteenth resistor are respectively connected with the second output end of the detection unit; the second end of the fourteenth resistor and the second end of the fifteenth resistor are both connected with a first power supply.
CN202110165655.4A 2021-02-06 2021-02-06 Multi-control switch circuit Active CN112752376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110165655.4A CN112752376B (en) 2021-02-06 2021-02-06 Multi-control switch circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110165655.4A CN112752376B (en) 2021-02-06 2021-02-06 Multi-control switch circuit

Publications (2)

Publication Number Publication Date
CN112752376A CN112752376A (en) 2021-05-04
CN112752376B true CN112752376B (en) 2023-10-13

Family

ID=75651865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110165655.4A Active CN112752376B (en) 2021-02-06 2021-02-06 Multi-control switch circuit

Country Status (1)

Country Link
CN (1) CN112752376B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116488309B (en) * 2023-06-21 2024-02-27 深圳市华芯控股有限公司 Switching signal series transmission and failure compensation circuit and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033957A (en) * 2016-06-15 2016-10-19 湖南工业大学 Multi-place control single live wire switch
CN106982503A (en) * 2017-05-11 2017-07-25 麦康世 Single fiery dual control intelligent switch of compatible mechanical switch wiring
CN206743209U (en) * 2016-10-08 2017-12-12 东莞市迅迪电子有限公司 A kind of single-fire-wire electronic switch circuit
CN110191549A (en) * 2019-07-04 2019-08-30 浙江阳光美加照明有限公司 A kind of accurate time switch lamp of LED and its driving circuit of accurate timing
CN210202153U (en) * 2019-09-25 2020-03-27 上海小为科技股份有限公司 Single-fire multi-control intelligent switch circuit
CN212393031U (en) * 2020-08-14 2021-01-22 漳州立达信光电子科技有限公司 Intelligent switch circuit with single live wire matched with traditional switch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033957A (en) * 2016-06-15 2016-10-19 湖南工业大学 Multi-place control single live wire switch
CN206743209U (en) * 2016-10-08 2017-12-12 东莞市迅迪电子有限公司 A kind of single-fire-wire electronic switch circuit
CN106982503A (en) * 2017-05-11 2017-07-25 麦康世 Single fiery dual control intelligent switch of compatible mechanical switch wiring
CN110191549A (en) * 2019-07-04 2019-08-30 浙江阳光美加照明有限公司 A kind of accurate time switch lamp of LED and its driving circuit of accurate timing
CN210202153U (en) * 2019-09-25 2020-03-27 上海小为科技股份有限公司 Single-fire multi-control intelligent switch circuit
CN212393031U (en) * 2020-08-14 2021-01-22 漳州立达信光电子科技有限公司 Intelligent switch circuit with single live wire matched with traditional switch

Also Published As

Publication number Publication date
CN112752376A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US11303134B2 (en) Grid synchronisation
GB2335334A (en) Transmitting data over low voltage power distribution system
CN101896026A (en) Equipment, power control unit and the minimizing method that the electric light flickers of control electric weight
EP2282611A2 (en) Apparatus for controlling integrated lighting ballasts in a series scheme
CN112752376B (en) Multi-control switch circuit
US10965246B2 (en) Shutdown control system and method
CN108848598A (en) Module of releasing, LED drive circuit and driving method for controllable silicon dimmer
KR102605850B1 (en) Wireless power transmitter and method for controlling wireless power transmitter
CN101464720A (en) Power supplier
CN111510002A (en) Power circuit, chip, intelligent switch and power supply method
EP2695491B1 (en) Trailing-edge-phase-controlled light modulating circuit
CN109246886B (en) Intelligent TRIAC light modulator
CN218920268U (en) Voltage selection circuit, power supply circuit and electronic equipment
CN102025285B (en) Alternating-current power grid communication control system
CN210776244U (en) Intelligent single-fire switch
CN102468769A (en) Alternating-current network communication system
CN112345821B (en) Commercial power voltage detection circuit and switch power supply system using same
CN212393031U (en) Intelligent switch circuit with single live wire matched with traditional switch
CN110824995A (en) Remote control alternating current switch module with micro standby power consumption
CN211557583U (en) Dimming power supply and dimming power supply monitoring device
CN220823090U (en) RS485 communication circuit, circuit board and industrial control equipment
CN111970793B (en) LED driving circuit, control method thereof and LED driving device
CN212992648U (en) Control circuit of intelligent LED lamp and intelligent LED lamp
CN211557582U (en) Dimming signal conversion device and dimming system
CN217486680U (en) Intelligent switch circuit capable of simultaneously supporting zero-live wire power supply and single-live wire power supply

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant