A dual control circuit and control method

Through dual control control circuits and control methods, the problem of dual control room temperature controllers in the prior art that cannot be replaced and wasteful when power outages are released, and a low-cost and effective dual control function is realized, which improves user experience and reduces costs.

CN110740548BActive Publication Date: 2025-03-07RUINA INTELLIGENT EQUIP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201911175667.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-26
Publication Date
2025-03-07
Estimated Expiration
2039-11-26

Smart Images

  • Figure CN110740548B_ABST
    Figure CN110740548B_ABST
Patent Text Reader

Abstract

The present invention discloses a dual-control control circuit and a control method, comprising: a single-chip computer; a first power supply circuit, comprising a first single-pole double-throw switch SPDT1, a diode D1, and a diode D2, wherein the first single-pole double-throw switch comprises a first terminal K1 and a second terminal K2; the first terminal is electrically connected to one end of a first relay through the diode D1, and the second terminal is electrically connected to one end of a first relay through the diode D2, and the other end of the first relay is grounded; a first power-on detection circuit is used to detect the power-on status of the first terminal; and a second power-on detection circuit is used to detect the power-on status of the second terminal; the dual-control detection circuit has low cost and can realize a dual-control function in the true sense in combination with the control method, and will not cause the problem of user lamps being always on after a power outage and power recovery, and is suitable for installation sites and easy to maintain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit control, and in particular to a dual-control circuit and a control method. Background Art

[0002] In the field of heating, heating companies generally install room temperature controllers in users' homes in order to count the actual heating effects. Room temperature controllers generally have two power supply methods: battery power supply and single live wire power supply. Single live wire power supply can replace mechanical switches and can be well installed in the original 86 box position, so single live wire powered room temperature controllers have gradually become popular. However, single live wire powered room temperature controllers have a disadvantage. When the user's lamps are dual-controlled, low-cost room temperature controllers cannot be used instead.

[0003] The room temperature controller in the prior art generally uses an inverter and other methods to achieve dual control of user electrical appliances. When the lights are turned off and the power is restored after a power outage, there is a 50% probability that the user's electrical appliances or lamps will remain on, causing waste and poor user experience. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a dual-control control circuit and a control method. The dual-control detection circuit has a very low cost. In conjunction with the dual-control detection and control method, a true dual-control function can be realized. The problem of user lamps always being on after a power outage and then coming back to power will not occur. Moreover, single-channel dual-control or dual-channel dual-control functions can be selected through on-site configuration, which is suitable for all installation sites, greatly facilitates construction, and reduces maintenance costs and management costs.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0006] A dual-control circuit, used for dual-controlling a first electrical appliance, comprising:

[0007] A first single chip microcomputer having a first switch pin, a first power-on pin, a second power-on pin and a first control pin;

[0008] A first electrical appliance, comprising a first electrical appliance body and a first relay for controlling a switch of the first electrical appliance, wherein the first relay has a first control terminal electrically connected to a first control pin;

[0009] A first power supply circuit includes a first single-pole double-throw switch, a diode D1, and a diode D2. The first single-pole double-throw switch has a first terminal and a second terminal. The first terminal is electrically connected to one end of a first relay through the diode D1, and the second terminal is electrically connected to one end of a first relay through the diode D2. The other end of the first relay is grounded.

[0010] The first dual-control detection circuit comprises:

[0011] A first power-on detection circuit, used for detecting the power-on status of the first terminal, which is electrically connected to the first power-on pin and causes the first power-on pin to generate high and low level pulses when the first terminal is powered on;

[0012] The second power-on detection circuit is used to detect the power-on status of the second terminal. It is electrically connected to the second power-on pin and causes the second power-on pin to generate high and low level pulses when the second terminal is powered on.

[0013] Furthermore, the first power-on detection circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a capacitor C1 and a transistor Q1; the resistor R4 is connected in parallel with the capacitor C1 and one end is connected to the first terminal through the resistor R3 and the resistor R2, and the other end is grounded and connected to the neutral line through the resistor R5; the collector of the transistor Q1 is connected to the first power-on pin and to the 3.3V power supply through the resistor R1, the base of the transistor Q1 is connected to the far ground end of the capacitor C1, and the emitter of the transistor Q1 is grounded.

[0014] Furthermore, the second power-on detection circuit includes resistors R6, R7, R8, R9, capacitor C2 and transistor Q2; the resistor R9 is connected in parallel with the capacitor C2 and one end is connected to the second terminal through resistors R8 and R7, and the other end is grounded and connected to the neutral line through resistor R5; the collector of the transistor Q2 is connected to the second power-on pin and to the 3.3V power supply through resistor R6, the base of the transistor Q2 is connected to the remote end of the capacitor C2, and the emitter of the transistor Q2 is grounded.

[0015] A dual control circuit, used for dual control of a second electrical appliance and a third electrical appliance, comprises:

[0016] A second single chip computer having a second switch pin, a third switch pin, a third power-on pin, a fourth power-on pin, a second control pin, and a third control pin;

[0017] A second electrical appliance, comprising a second electrical appliance body and a second relay for controlling a switch of the second electrical appliance, wherein the second relay has a second control terminal electrically connected to a second control pin;

[0018] A third electrical appliance, comprising a third electrical appliance body and a third relay for controlling a switch of the third electrical appliance, wherein the third relay has a third control terminal electrically connected to a third control pin;

[0019] A second power supply circuit includes a second single-pole double-throw switch, wherein the second single-pole double-throw switch has a third terminal and a fourth terminal; the third terminal is electrically connected to one end of the second relay, and the other end of the second relay is grounded; the fourth terminal is electrically connected to one end of the third relay, and the other end of the third relay is grounded;

[0020] The second dual-control detection circuit comprises:

[0021] A third power-on detection circuit, used for detecting the power-on status of the third terminal, which is electrically connected to the third power-on pin, and causes the third power-on pin to generate high and low level pulses when the third terminal is powered on;

[0022] The fourth power-on detection circuit is used to detect the power-on status of the fourth terminal. The fourth power-on detection circuit is electrically connected to the fourth power-on pin and causes the fourth power-on pin to generate high and low level pulses when the fourth terminal is powered on.

[0023] Furthermore, the third power-on detection circuit includes a resistor R10, a resistor R11, a resistor R12, a resistor R13, a capacitor C3 and a transistor Q3; the resistor R13 is connected in parallel with the capacitor C3 and one end is connected to the third terminal through the resistor R12 and the resistor R11, and the other end is grounded and connected to the neutral line through the resistor R14; the collector of the transistor Q3 is connected to the third power-on pin and to the 3.3V power supply through the resistor R10, the base of the transistor Q3 is connected to the remote ground end of the capacitor C3, and the emitter of the transistor Q3 is grounded.

[0024] Furthermore, the fourth power-on detection circuit includes resistor R15, resistor R16, resistor R17, resistor R18, capacitor C4 and transistor Q4; the resistor R16 is connected in parallel with the capacitor C4 and one end is connected to the fourth terminal through the resistor R17 and the resistor R16, and the other end is grounded and connected to the neutral line through the resistor R14; the collector of the transistor Q4 is connected to the fourth power-on pin and to the 3.3V power supply through the resistor R15, the base of the transistor Q4 is connected to the remote ground end of the capacitor C4, and the emitter of the transistor Q4 is grounded.

[0025] A control method for a dual-control circuit comprises the following steps:

[0026] Step 1: Record the status A1Last of AC1 and AC2 at the time of power-on, and the output of IN1 is low level, so that the appliance does not run at the time of power-on, and record the status K1Last of KEY1;

[0027] Step 2: Record the state A1Now of AC1 and AC2; if A1Now≠A1Last and AC1 is a high-low level pulse, or A1Now≠A1Last and AC2 is a high-low level pulse, then the output level of IN1 is reversed, and A1Last=A1Now;

[0028] Step 3: Detect the state of KEY K1Now. If K1Now≠K1Last, invert the output level of IN1 and make K1Last=K1Now.

[0029] A control method for a dual-control circuit comprises the following steps:

[0030] Step 1: Record the status A2Last of AC3 and AC4 at the time of power-on; if AC3 is a high-low level pulse, IN2 outputs a low level and IN3 outputs a high level, if AC4 is a high-low level pulse, IN2 outputs a high level and IN3 outputs a low level, so that the lamp is not lit at the time of power-on; record the status K2Last of KEY2, and record the status K3Last of KEY3;

[0031] Step 2: Detect the state K2Now of KEY2. If K2Now≠K2Last, invert the output level of IN2 and IN3, and make K2Last=K2Now;

[0032] Step 3: Detect the state K3Now of KEY3. If K3Now≠K3Last, invert the output level of IN2 and IN3, and make K3Last=K3Now.

[0033] Compared with the prior art, the beneficial technical effects of the present invention are:

[0034] 1. The dual-control detection circuit has low cost. With the dual-control detection and control method, it can realize the dual-control function in the true sense. There will be no problem of users' lamps always being on after a power outage and then coming back to power. Moreover, single-channel dual-control or dual-channel dual-control function can be selected through on-site configuration, which is suitable for all installation sites, greatly facilitates construction, and reduces maintenance and management costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a structural schematic diagram of a first dual-control detection circuit of the present invention;

[0036] Figure 2 is a structural schematic diagram of a second dual-control detection circuit of the present invention;

[0037] Figure 3 This is a schematic diagram of the structure of a single-channel dual-control system of the present invention;

[0038] Figure 4 This is a schematic diagram of the dual-path dual-control structure of the present invention;

[0039] Figure 5 The single-channel dual-control control method of the present invention;

[0040] Figure 6 This is the dual-path dual-control control method of the present invention. DETAILED DESCRIPTION

[0041] A preferred embodiment of the present invention is described in detail below with reference to the accompanying drawings.

[0042] like Figure 1 and 3 As shown, a dual control circuit is used to perform dual control on a first electrical appliance 10, and is characterized by comprising:

[0043] A first single chip microcomputer 50 has a first switch pin KEY1, a first power pin AC1, a second power pin AC2 and a first control pin IN1;

[0044] A first electrical appliance 10, comprising a first electrical appliance body 11 and a first relay 12 for controlling a switch of the first electrical appliance, wherein the first relay has a first control terminal electrically connected to a first control pin IN1;

[0045] A first power supply circuit 20 includes a first single-pole double-throw switch SPDT1, a diode D1, and a diode D2. The first single-pole double-throw switch has a first terminal K1 and a second terminal K2. The first terminal is electrically connected to one end of a first relay through the diode D1, and the second terminal is electrically connected to one end of a first relay through the diode D2. The other end of the first relay is grounded.

[0046] The first dual-control detection circuit 1 comprises:

[0047] A first power-on detection circuit 31 is used to detect the power-on status of the first terminal K1, which is electrically connected to the first power-on pin and causes the first power-on pin AC1 to generate high and low level pulses when the first terminal is powered on;

[0048] The second power-on detection circuit 32 is used to detect the power-on status of the second terminal K2. It is electrically connected to the second power-on pin and causes the second power-on pin AC2 to generate high and low level pulses when the second terminal is powered on.

[0049] like Figure 1 As shown, the first power-on detection circuit 31 includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a capacitor C1 and a transistor Q1; the resistor R4 is connected in parallel with the capacitor C1 and one end is connected to the first terminal K1 through the resistor R3 and the resistor R2, and the other end is grounded and connected to the neutral line N through the resistor R5; the collector of the transistor Q1 is connected to the first power-on pin AC1 and is connected to the 3.3V power supply through the resistor R1, the base of the transistor Q1 is connected to the far ground end of the capacitor C1, and the emitter of the transistor Q1 is grounded.

[0050] like Figure 1As shown, the second power-on detection circuit 32 includes a resistor R6, a resistor R7, a resistor R8, a resistor R9, a capacitor C2 and a transistor Q2; the resistor R9 is connected in parallel with the capacitor C2 and one end is connected to the second terminal K2 through the resistors R8 and R7, and the other end is grounded and connected to the neutral line N through the resistor R5; the collector of the transistor Q2 is connected to the second power-on pin AC2 and is connected to the 3.3V power supply through the resistor R6, the base of the transistor Q2 is connected to the far ground end of the capacitor C2, and the emitter of the transistor Q2 is grounded.

[0051] One end of the first electrical appliance body is connected to the first single-pole double-throw switch SPDT1, and the other end is connected to the live wire L.

[0052] When the first single-pole double-throw switch SPDT1 is connected to the first terminal K1, the transistor Q1 is turned on due to the voltage division of the resistors R2, R3 and R4, so that the first power-on pin AC1 generates high and low level pulses.

[0053] When the first single-pole double-throw switch SPDT1 is connected to the first terminal K2, the transistor Q2 is turned on due to the voltage division of the resistors R7, R8 and R9, so that the second power-on pin AC2 generates high and low level pulses.

[0054] At the time of power-on, the states A1Last of the first power-on pin AC1 and the second power-on pin AC2 are recorded, the output of IN1 is low level, so that the appliance does not run at the time of power-on, and the state K1Last of KEY1 is recorded;

[0055] The first single-pole double-throw switch SPDT1 is arranged at the remote end, and records the state A1Now of the first power-on pin AC1 and the second power-on pin AC2. If the state of the first single-pole double-throw switch is changed, A1Now≠A1Last. If the first power-on pin AC1 or the second power-on pin AC2 is a high or low level pulse at this time, the output level of the first control pin IN1 is reversed, and A1Last=A1Now; that is, after the state of the first single-pole double-throw switch SPDT1 located at the remote end is changed, the output level of the first control pin IN1 used to control the power-on state of the first relay will also be reversed, thereby realizing the control of the user's electrical appliances or lamps by the remote single-pole double-throw switch.

[0056] The first switch pin KEY1 of the first single-chip microcomputer is connected to the control switch, and the control switch can be a touch button or a mechanical button. After the state of the proximal switch changes, the state of KEY1 changes, and the state of KEY K1Now is detected. If K1Now≠K1Last, the output level of the first control pin IN1 is reversed, and K1Last=K1Now; that is, after the state of the proximal switch changes, the output level of the first control pin IN1 used to control the power-on state of the first relay will also be reversed, thereby realizing the control of the proximal switch over the user's electrical appliances or lamps, and thus realizing dual control of single-channel electrical appliances.

[0057] It is a prior art that the first single chip microcomputer detects the levels of the AC1, AC2 and KEY1 pins and changes the level of the first control pin IN1 according to their level states, and can be implemented by circuit or programming as needed.

[0058] like Figure 2 and 4 As shown, a dual control circuit is used to perform dual control on a second electrical appliance 13 and a third electrical appliance 16, and is characterized by comprising:

[0059] The second single chip computer 51 has a second switch pin KEY2, a third switch pin KEY3, a third power pin AC3, a fourth power pin AC4, a second control pin IN2, and a third control pin IN3;

[0060] A second electrical appliance 13, comprising a second electrical appliance body 14 and a second relay 15 for controlling a switch of the second electrical appliance, wherein the second relay has a second control terminal electrically connected to a second control pin IN2;

[0061] A third electrical appliance 16, comprising a third electrical appliance body 17 and a third relay 18 for controlling a switch of the third electrical appliance, wherein the third relay has a third control terminal electrically connected to a third control pin IN3;

[0062] The second power supply circuit 21 comprises a second single-pole double-throw switch SPDT2, wherein the second single-pole double-throw switch has a third terminal K3 and a fourth terminal K4; the third terminal is electrically connected to one end of the second relay, and the other end of the second relay is grounded; the fourth terminal is electrically connected to one end of the third relay, and the other end of the third relay is grounded;

[0063] The second dual-control detection circuit 2 comprises:

[0064] A third power-on detection circuit 33, used for detecting the power-on status of the third terminal K3, which is electrically connected to the third power-on pin, and causes the third power-on pin AC3 to generate high and low level pulses when the third terminal is powered on;

[0065] The fourth power-on detection circuit 34 is used to detect the power-on status of the fourth terminal K4. It is electrically connected to the fourth power-on pin and enables the fourth power-on pin AC4 to generate high and low level pulses when the fourth terminal is powered.

[0066] like Figure 2 As shown, the third power-on detection circuit 33 includes a resistor R10, a resistor R11, a resistor R12, a resistor R13, a capacitor C3 and a transistor Q3; the resistor R13 is connected in parallel with the capacitor C3 and one end is connected to the third terminal K3 through the resistor R12 and the resistor R11, and the other end is grounded and connected to the neutral line N through the resistor R14; the collector of the transistor Q3 is connected to the third power-on pin AC3 and is connected to the 3.3V power supply through the resistor R10, the base of the transistor Q3 is connected to the remote end of the capacitor C3, and the emitter of the transistor Q3 is grounded.

[0067] like Figure 2 As shown, the fourth power-on detection circuit 34 includes a resistor R15, a resistor R16, a resistor R17, a resistor R18, a capacitor C4 and a transistor Q4; the resistor R16 is connected in parallel with the capacitor C4 and one end is connected to the fourth terminal K4 through the resistor R17 and the resistor R16, and the other end is grounded and connected to the neutral line N through the resistor R14; the collector of the transistor Q4 is connected to the fourth power-on pin AC4 and is connected to the 3.3V power supply through the resistor R15, the base of the transistor Q4 is connected to the far ground end of the capacitor C4, and the emitter of the transistor Q4 is grounded.

[0068] When the second single-pole double-throw switch SPDT2 is connected to the third terminal K3, the transistor Q3 is turned on due to the voltage division of the resistors R11, R12 and R13, so that the third power-on pin AC3 generates high and low level pulses.

[0069] When the second single-pole double-throw switch SPDT2 is connected to the fourth terminal K4, the transistor Q4 is turned on due to the voltage division of the resistors R16, R17 and R18, so that the fourth power-on pin AC4 generates high and low level pulses.

[0070] At the time of power-on, the state of AC3 and AC4 is recorded as A2Last; if AC3 is a high-low level pulse, IN2 outputs a low level and IN3 outputs a high level; if AC4 is a high-low level pulse, IN2 outputs a high level and IN3 outputs a low level, so that the lamp is not lit at the time of power-on; record the state of KEY2 as K2Last, and record the state of KEY3 as K3Last;

[0071] The second switch pin KEY2 and the third switch pin KEY3 of the second single-chip computer are respectively connected to two control switches, which can be touch buttons or mechanical buttons. If the state of the control switch connected to KEY2 is changed, the state of KEY2 is changed, and the state K2Now of KEY2 is detected. If K2Now≠K2Last, the output level of the second control pin IN2 is reversed, the output level of the third control pin IN3 is reversed, and K2Last=K2Now; if the state of the control switch connected to KEY3 is changed, the state of KEY3 is changed, and the state K3Now of KEY3 is detected. If K3Now≠K3Last, the output level of the second control pin IN2 is reversed, the output level of the third control pin IN3 is reversed, and K3Last=K3Now; the two control switches can be arranged in different places respectively, so as to realize the control of the relays of the dual-channel user electrical appliances by the control switches, thereby realizing the dual control of the dual-channel electrical appliances.

[0072] Among them, the first relay, the second relay, and the third relay can all be replaced by thyristors. The relay has a corresponding control end. When the relay is powered on, if the control end is at a low level, the relay will not work, and the electrical appliances or lamps cannot be powered on and started. Only when the control end is at a high level, the relay will control the corresponding electrical appliances to be powered on and started.

[0073] The electrical appliance in the present invention is a lamp or other household appliances.

[0074] A control method for a dual-control circuit comprises the following steps:

[0075] S1: Record the status of AC1 and AC2 A1Last at power-on, IN1 output is low level, so that the appliance does not run at power-on, and record the status of KEY1 K1Last;

[0076] S2: Record the state A1Now of AC1 and AC2; if A1Now≠A1Last and AC1 is a high-low level pulse, or A1Now≠A1Last and AC2 is a high-low level pulse, the output level of IN1 is reversed, and A1Last=A1Now;

[0077] S3: Detect the state of KEY K1Now. If K1Now≠K1Last, invert the output level of IN1 and make K1Last=K1Now.

[0078] A control method for a dual-control circuit comprises the following steps:

[0079] S4: Record the status A2Last of AC3 and AC4 at power-on time; if AC3 is a high-low level pulse, IN2 outputs a low level and IN3 outputs a high level; if AC4 is a high-low level pulse, IN2 outputs a high level and IN3 outputs a low level, so that the lamp is not lit at power-on time; record the status K2Last of KEY2, and record the status K3Last of KEY3;

[0080] S5: Detect the state K2Now of KEY2. If K2Now≠K2Last, invert the output level of IN2 and IN3, and make K2Last=K2Now;

[0081] S6: Detect the state K3Now of KEY3. If K3Now≠K3Last, invert the output level of IN2 and IN3, and make K3Last=K3Now.

[0082] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention, and any reference numerals in the claims should not be regarded as limiting the claims involved.

[0083] In addition, it should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.

Claims

1. A control method of a dual control circuit, used for dual control of a first electrical appliance (10), characterized in that: The dual control circuit includes: A first single chip microcomputer (50) having a first switch pin (KEY1), a first power pin (AC1), a second power pin (AC2) and a first control pin (IN1); A first electrical appliance (10), comprising a first electrical appliance body (11) and a first relay (12) for controlling a switch of the first electrical appliance, wherein the first relay has a first control end electrically connected to a first control pin (IN1); A first power supply circuit (20) comprises a first single-pole double-throw switch (SPDT1), a diode D1, and a diode D2, wherein the first single-pole double-throw switch has a first terminal (K1) and a second terminal (K2); the first terminal is electrically connected to one end of a first relay through the diode D1, and the second terminal is electrically connected to one end of a first relay through the diode D2, and the other end of the first relay is grounded; and A first dual-control detection circuit (1) comprises: A first power-on detection circuit (31) is used to detect the power-on status of the first terminal (K1), which is electrically connected to the first power-on pin and causes the first power-on pin (AC1) to generate high and low level pulses when the first terminal is powered on; A second power-on detection circuit (32) is used to detect the power-on status of the second terminal (K2), which is electrically connected to the second power-on pin and causes the second power-on pin (AC2) to generate high and low level pulses when the second terminal is powered on; The control method comprises the following steps: Step 1: Record the state A1Last of the first power pin (AC1) and the second power pin (AC2) at the time of power-on, the first control pin (IN1) outputs a low level, so that the appliance does not run at the time of power-on, and record the state K1Last of the first switch pin (KEY1); Step 2: Record the state A1Now of the first power pin (AC1) and the second power pin (AC2); if A1Now≠A1Last and the first power pin (AC1) is a high-low level pulse, or A1Now≠A1Last and the second power pin (AC2) is a high-low level pulse, then the output level of the first control pin (IN1) is reversed, and A1Last=A1Now; Step 3: Detect the state K1Now of the first switch pin (KEY1), if K1Now≠K1Last, invert the output level of the first control pin (IN1), and make K1Last=K1Now.

2. The control method of the dual control circuit according to claim 1, characterized in that: The first power-on detection circuit (31) comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a capacitor C1 and a transistor Q1; the resistor R4 is connected in parallel with the capacitor C1 and one end of the resistor R4 is connected to the first terminal (K1) through the resistor R3 and the resistor R2, and the other end is grounded and connected to the neutral line (N) through the resistor R5; the collector of the transistor Q1 is connected to the first power-on pin (AC1) and connected to the 3.3V power supply through the resistor R1, the base of the transistor Q1 is connected to the far ground end of the capacitor C1, and the emitter of the transistor Q1 is grounded.

3. The control method of the dual control circuit according to claim 1, characterized in that: The second power-on detection circuit (32) comprises a resistor R6, a resistor R7, a resistor R8, a resistor R9, a capacitor C2 and a transistor Q2; the resistor R9 is connected in parallel with the capacitor C2 and one end of the resistor R9 is connected to the second terminal (K2) through the resistors R8 and R7, and the other end is grounded and connected to the neutral line (N) through the resistor R5; the collector of the transistor Q2 is connected to the second power-on pin (AC2) and to the 3.3V power supply through the resistor R6, the base of the transistor Q2 is connected to the far ground end of the capacitor C2, and the emitter of the transistor Q2 is grounded.

4. A control method of a dual control circuit, used for dual control of a second electrical appliance (13) and a third electrical appliance (16), characterized in that: The dual control circuit includes: A second single-chip computer (51) having a second switch pin (KEY2), a third switch pin (KEY3), a third power-on pin (AC3), a fourth power-on pin (AC4), a second control pin (IN2), and a third control pin (IN3); A second electrical appliance (13), comprising a second electrical appliance body (14) and a second relay (15) for controlling a switch of the second electrical appliance, wherein the second relay has a second control terminal electrically connected to a second control pin (IN2); A third electrical appliance (16), comprising a third electrical appliance body (17) and a third relay (18) for controlling a switch of the third electrical appliance, wherein the third relay has a third control terminal electrically connected to a third control pin (IN3); A second power supply circuit (21), comprising a second single-pole double-throw switch (SPDT2), the second single-pole double-throw switch having a third terminal (K3) and a fourth terminal (K4); the third terminal is electrically connected to one end of the second relay, and the other end of the second relay is grounded; the fourth terminal is electrically connected to one end of the third relay, and the other end of the third relay is grounded; The second dual-control detection circuit (2) comprises: A third power-on detection circuit (33) is used to detect the power-on status of the third terminal (K3), which is electrically connected to the third power-on pin and causes the third power-on pin (AC3) to generate high and low level pulses when the third terminal is powered on; A fourth power-on detection circuit (34), used for detecting the power-on status of the fourth terminal (K4), which is electrically connected to the fourth power-on pin and causes the fourth power-on pin (AC4) to generate high and low level pulses when the fourth terminal is powered on; The control method comprises the following steps: Step 1: Record the state A2Last of the third power pin (AC3) and the fourth power pin (AC4) at the power-on time; if the third power pin (AC3) is a high-low level pulse, the second control pin (IN2) outputs a low level and the third control pin (IN3) outputs a high level; if the fourth power pin (AC4) is a high-low level pulse, the second control pin (IN2) outputs a high level and the third control pin (IN3) outputs a low level, so that the lamp is not lit at the power-on time; record the state K2Last of the second switch pin (KEY2), and record the state K3Last of the third switch pin (KEY3); Step 2: Detect the state K2Now of the second switch pin (KEY2). If K2Now≠K2Last, invert the output level of the second control pin (IN2), invert the output level of the third control pin (IN3), and make K2Last=K2Now; Step 3: Detect the state K3Now of the third switch pin (KEY3). If K3Now≠K3Last, invert the output level of the second control pin (IN2), invert the output level of the third control pin (IN3), and make K3Last=K3Now.

5. The control method of the dual control circuit according to claim 4, characterized in that: The third power-on detection circuit (33) comprises a resistor R10, a resistor R11, a resistor R12, a resistor R13, a capacitor C3 and a transistor Q3; the resistor R13 is connected in parallel with the capacitor C3 and one end of the resistor R13 is connected to the third terminal (K3) through the resistor R12 and the resistor R11, and the other end is grounded and connected to the neutral line (N) through the resistor R14; the collector of the transistor Q3 is connected to the third power-on pin (AC3) and is connected to the 3.3V power supply through the resistor R10, the base of the transistor Q3 is connected to the remote end of the capacitor C3, and the emitter of the transistor Q3 is grounded.

6. The control method of the dual control circuit according to claim 4, characterized in that: The fourth power-on detection circuit (34) comprises a resistor R15, a resistor R16, a resistor R17, a resistor R18, a capacitor C4 and a transistor Q4; the resistor R16 is connected in parallel with the capacitor C4 and one end of the resistor R16 is connected to the fourth terminal (K4) through the resistor R17 and the resistor R16, and the other end is grounded and connected to the neutral line (N) through the resistor R14; the collector of the transistor Q4 is connected to the fourth power-on pin (AC4) and is connected to the 3.3V power supply through the resistor R15, the base of the transistor Q4 is connected to the far ground end of the capacitor C4, and the emitter of the transistor Q4 is grounded.

Citation Information

Patent Citations

  • Double-control control circuit

    CN211152293U