It is a kind of based on manually and radio double-control switching system and its control method
Technical field
The invention belongs to Smart Home technical field, it is more particularly to a kind of based on manually and radio double-control switching system and
Its control method, more particularly to the double control switch system and its control method of light units.
Background technology
Smart Home, SH. intelligent domestics be using house as platform, using comprehensive wiring technology, network communication technology,
Smart home-system design scheme, security precautions technology, automatic control technology, audio frequency and video technology are set home life is related
Apply integrated, build the management system of efficient housing facilities and family's schedule affairs, it is lifting house security, convenience, comfortable
Property, artistry, and realize the living environment of environmental protection and energy saving.
Smart home is that Thingsization embodies under the influence of internet.Smart home is by technology of Internet of things by family
Various equipment(Such as audio & video equipment, lighting system, curtain control, airconditioning control, safety-protection system, Digital Theater System, network man
Electricity and three tables are made a copy for)Connect together, there is provided home wiring control, Lighting control, curtain control, remote control using telephone, interior
Multiple functions and the means such as outer remote control, burglar alarm, environmental monitoring, HVAC control, infrared forwarding and programmable Timer control.
Compared with common household, smart home not only has traditional inhabitation function, has both building, network service, information household appliances, equipment
Automation, efficient, comfortable, safe and convenient, the environmentally friendly living environment that collecting system, structure, service, management are integrated, there is provided complete
The information exchange function in orientation.Help family to keep information interchange unimpeded with outside, optimize the life style of people, help people
The time effectively is arranged, strengthens the security of home life, even various energy expenditures save fund.
In smart home, it will usually electrical appliance is controlled using wireless device.Under such as some specific environments, such as family
Signal light control in habitat environment, light units(Abbreviation electrical appliance afterwards)Power supply power supply is carried out by both threads(Such as exchange lower zero curve and
Firewire, cathode and anode under direct current), single power line is individually cut off, or cut off two power cords at the same time, you can close electricity consumption
Device.In the actual environment, in order to simplify wiring, the mode of cut-out single power line is generally taken to go to cut off the power(Using this
The switch of mode, i.e. single-pole single-throw switch (SPST), rear abbreviation single line switch;The switch of two power cords, i.e. single-pole double throw are cut off at the same time
Switch, rear abbreviation Double-wire switch).In this manner, if we have extra wireless control switch or wireless controlled to set up
It is standby(Abbreviation second switch afterwards), it is desirable to the physical switches with this line of cutting off the power are located in same circuit system, and at the same time can
The power supply of electrical appliance equipment is controlled, is difficult to realize.Particularly switch is located at wall, and electrical appliance is often positioned at the top of house,
Wiring is overall to be embedded in wall, and the transformation to circuit or to switch, is respectively provided with higher degree of difficulty.
Specifically, it is as shown in Figure 1 common single wire control mode, switch S1 can be switched off or on the electricity of electrical appliance
Source.Fig. 2 is common single line switch plus wireless switching dual-control loop.For Fig. 1, if we want to controlling electricity consumption with wireless switching
Equipment, then need to add wireless processing module in electrical appliance circuit;Wherein, wireless processing module include wireless communication unit,
Control unit and switch execution unit(Certainly power supply unit is further included), wireless communication unit receives other wireless devices and sends
Switch command, switch execution unit is responsible for opening or closing the power supply of electrical appliance, i.e., electrical appliance circuit is performed and be powered or disconnected
Electronic work;Wireless processing module can also include a push-button unit, and user can click directly on push-button unit to control electricity consumption
The power supply of equipment.As shown in Fig. 2, before wireless processing module is placed into electrical appliance, two power supplys are used at the same time with electrical appliance
Line, but switch S2 must be always maintained at closure state at this time, and otherwise wireless processing module will lose power supply, can not act on.
Specifically, common bilinear con- trol mode is illustrated in figure 3, in order to control electrical appliance, using double-pole single throw,
Benefit is Double-wire switch directly can be substituted for wireless processing module(It which is provided with physical switches), realize entity and wireless
Double control(Such as Fig. 4), but its harm be this scheme circuit installation it is cumbersome, if scene press Fig. 1 in circuit side
Formula connects up, very troublesome if desired for the mode for making Fig. 4 into, it is necessary to change circuit.In addition, Double-wire switch is directly substituted for nothing
Line processing module, because wireless processing module volume is generally higher than Double-wire switch, installation also can be cumbersome.
The content of the invention
To solve the above-mentioned problems, on the one hand, opened an embodiment of the present invention provides a kind of based on manual and radio double-control
Relation is united, which realizes entity and wireless by using normally closed touch switch and with the wireless processing module that flash controls
Double control, does not have change to electrical appliance circuit layout and mounting structure and normally closed touch switch can also be by common entity substantially
Switch transformation, volume will not change.On the other hand, the embodiment of the present invention additionally provides the control of aforementioned switches system
Method, the technical solution are as follows:
An embodiment of the present invention provides a kind of based on manual and radio double-control switching system, including it is serially connected with electrical appliance electricity
Normally closed touch switch and wireless processing module in road, the wireless processing module can be according to wireless control signals to electrical appliance electricity
Road performs energization or de-energizing actions;The normally closed touch switch can produce flash signal, the wireless place in electrical appliance circuit
Reason module can detect the flash signal and according to the current state of electrical appliance circuit perform the energization opposite with current state or
De-energizing actions.
Wherein, the wireless processing module in the embodiment of the present invention includes:Flash signal detection unit, it is described normal for detecting
Close the flash signal and output switch control signal of touch switch generation;Wireless communication unit, for receiving wireless control signal;
Execution unit is switched, for performing energization or de-energizing actions to electrical appliance circuit;Control unit, for according to the wireless communication
The wireless control signal that unit receives allows the switch execution unit to perform corresponding energization or de-energizing actions, and according to electricity consumption
The current state of device circuit and the switch controlling signal of flash signal detection unit output allow the switch execution unit to hold
The row energization opposite with current state or de-energizing actions;Power conversion unit, the voltage for changing electrical appliance circuit are described
Flash signal detection unit, wireless communication unit, switch execution unit and control unit power supply.
Specifically, the switch controlling signal in the embodiment of the present invention for pulsewidth and the flash signal flash time into than
The pulse control signal of example.
Wherein, the control unit in the embodiment of the present invention preserves electricity consumption when detecting that the switch controlling signal starts
The current state of device circuit simultaneously allows the switch execution unit to perform de-energizing actions;After the switch controlling signal, allow
The switch execution unit performs the energization opposite with the current state that it is preserved or de-energizing actions, and described control unit is according to institute
State the current state of condition adjudgement electrical appliance circuit of the switch execution unit before the switch controlling signal is detected.
Specifically, the flash signal detection unit in the embodiment of the present invention includes sequentially connected reduction voltage circuit, rectified current
Road, filter circuit and photoelectric switching circuit are respectively used to be depressured the flash signal, rectification, filtering and opto-electronic conversion obtain
To the switch controlling signal.
Specifically, the flash signal detection unit in the embodiment of the present invention include rectifier bridge D1, optocoupler U1, resistance R1-R5,
Series capacitance C1 between the first ac input end and firewire of capacitance C1 and electrolytic capacitor C2, rectifier bridge D1, resistance R1 and capacitance
C1 is in parallel, the first DC output end of series resistance R5 between the second ac input end and zero curve of rectifier bridge D1, rectifier bridge D1
It is connected with electrolytic capacitor C2 cathodes, resistance R2 first ends and resistance R3 first ends, resistance R2 second ends and optocoupler U1 front ends cathode
Connection, the second DC output end and electrolytic capacitor C2 anode, resistance R3 second ends and the optocoupler U1 front ends anode of rectifier bridge D1 connect
Connect, optocoupler U1 rear end anode are connected with resistance R4 first ends and described control unit, resistance R4 second ends ground connection, optocoupler U1 rear ends
Cathode is connected with the power conversion unit.
Wherein, the power conversion unit in the embodiment of the present invention includes energy-storage travelling wave tube, can be in electrical appliance circuit flash time
It is interior to power for described control unit.
Wherein, the normally closed touch switch in the embodiment of the present invention is less than the energy-storage travelling wave tube for that can realize that flash disconnects duration
The normally closed switch of normal power supply time.
Specifically, the normally closed touch switch in the embodiment of the present invention includes the single-pole double-throw switch (SPDT) of two output terminal short circuits.
Wherein, the wireless processing module in the embodiment of the present invention is connected near electrical appliance.
On the other hand, an embodiment of the present invention provides a kind of control method based on manual and radio double-control switch, including:
After wireless processing module detects the flash signal produced in electrical appliance circuit by normally closed touch switch, according to electrical appliance circuit
Current state perform the energization opposite with current state or de-energizing actions.
Specifically, which includes:The wireless processing module is preserved when detecting that the flash signal starts
The current state of electrical appliance circuit simultaneously performs de-energizing actions;After the flash signal, the current shape preserved with it is performed
The opposite energization of state or de-energizing actions.
The beneficial effect that technical solution provided in an embodiment of the present invention is brought is:
The present invention provides a kind of based on manual and radio double-control switching system and its control method, by using normally closed
Touch switch and wireless processing module with flash control realize entity and radio double-control system, and wireless processing module can detect
The flash signal of normally closed touch switch generation simultaneously performs the energization opposite with current state according to the current state of electrical appliance circuit
Or de-energizing actions.The system directly can replace physical switches with normally closed touch switch or be transformed by entity, and will be wireless
Processing module is arranged near electrical appliance, then electrical appliance circuit layout and mounting structure are not changed substantially, transformation is simple, into
This is low.
Brief description of the drawings
Fig. 1 is existing single line switch control circuit;
Fig. 2 is existing single line switch plus wireless switching dual control control loop;
Fig. 3 is existing Double-wire switch control loop;
Fig. 4 is existing wireless switching control loop;
Fig. 5 is the offer of the embodiment of the present invention 1 based on manual and radio double-control control loop;
Fig. 6 is the structure diagram of the wireless processing module in the embodiment of the present invention 1;
Fig. 7 is the work flow diagram of the wireless processing module in the embodiment of the present invention 1;
Fig. 8 is the structure diagram of the flash signal detection unit in the embodiment of the present invention 1;
Fig. 9 is the circuit diagram of the flash signal detection unit in the embodiment of the present invention 1;
Figure 10 is the offer of the embodiment of the present invention 2 based on single-pole double-throw switch (SPDT) and wireless processing module dual control control loop;
Figure 11 is the offer of the embodiment of the present invention 2 based on double control switch and wireless processing module dual control control loop.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing
It is described in detail on step ground.
Referring to Fig. 5, included an embodiment of the present invention provides a kind of based on manual and radio double-control switching system, the system
The normally closed touch switch being serially connected with electrical appliance circuit and the wireless processing module with flash control.Wherein, normally closed point touches out
Close in its natural state for closure, when user's point touches, of short duration disconnect produces flash signal in electrical appliance circuit.Wherein, wirelessly
Processing module can perform electrical appliance circuit corresponding energization or de-energizing actions according to wireless control signal, and can detect normally closed
The flash signal of touch switch generation simultaneously performs and current shape after the signal is detected according to the current state of electrical appliance circuit
The opposite energization of state or de-energizing actions.
Specifically, electrical appliance circuit is currently off-position, after wireless processing module detects flash signal, then to
Appliance circuit performs energization action(Open electrical appliance);Electrical appliance circuit is currently "on" position, when wireless processing module detects
To after flash signal, then de-energizing actions are performed to electrical appliance circuit(Close electrical appliance).Require in embodiments of the present invention wireless
Processing module has the control ability to electrical appliance circuit under short time powering-off state.Wherein, the nothing in the embodiment of the present invention
Line processing module is arranged near electrical appliance, is connected to electrical appliance front end, electrical appliance can be specifically light units, the cooling that heats is set
Standby, humidifying and purifying air device or stereo set etc..
More specifically, the normally closed touch switch in the embodiment of the present invention is normally closed in normal state, and when clicked, electricity consumption
There is the disconnection of short time in device circuit, and when unclamping click, electrical appliance circuit recovers normally off, the electrical appliance circuit within the period
One flash signal of middle generation.Electrical appliance circuit only disconnects other situations in flash and is in closure state, and in the short time
Flash time in, the energy-storage travelling wave tube in wireless processing module can allow its work on a period of time, so wirelessly handling mould
Block can continue sex work, real-time reception wireless control signal, control the switch of electrical appliance.And since normally closed touch switch causes
Short time power supply interruption, power supply will not be caused to influence on wireless processing module, electrical appliance circuit can transmit normally closed point and touch again
The switch motion information of switch allows it to perform the energization opposite with current state or de-energizing actions to wireless processing module.So this
Invention can realize the power supply of " physical switches+wireless signal " double-direction control electrical appliance.
Wherein, referring to Fig. 6, the wireless processing module in the embodiment of the present invention includes:
Flash signal detection unit 101, for detecting the flash signal of normally closed touch switch generation and exporting switch control
Signal;Can specifically it use the principle of opto-electronic conversion that the break-make of circuit is converted to low and high level.Wherein, switch controlling signal is
The pulsewidth pulse control signal proportional to the flash time of flash signal, naturally it is also possible to for it is other can react flash and start when
Between control signal with the end time.
Wireless communication unit 102, for receiving wireless control signal;Can be specifically the wireless communications such as infrared receiving module
Structure.
Execution unit 103 is switched, for performing energization or de-energizing actions to electrical appliance circuit;Specifically can by relay and
Relay drive circuit forms, and relay is used to disconnecting or connecting electrical appliance circuit.
Control unit 104, the wireless control signal for being received according to wireless communication unit 102, which allows, switchs execution unit
103 corresponding energizations or de-energizing actions are performed, and it is defeated according to the current state and flash signal detection unit 101 of electrical appliance circuit
The switch controlling signal gone out allows switch execution unit 103 to perform the energization opposite with current state or de-energizing actions.Specifically can be with
It is the control chips such as microcontroller and microprocessor, there is data storage and processing ability.Being preferably provided with power-off still can preserve
The memory of data, such as EEPROM (Electrically Erasable Programmable Read-Only Memory, electricity
Erasable programmable read-only memory), ferroelectric memory, internal special memory or register etc..
Power conversion unit 105, for changing the voltage of electrical appliance circuit as flash signal detection unit 101, channel radio
Letter unit 102, switch execution unit 103 and control unit 104 are powered;It is specifically as follows common power conversion chip, it is common
Power conversion chip all include energy-storage travelling wave tube, such as capacitance substantially, can in electrical appliance circuit flash time in order to control unit supply
Electricity;I.e. in the power-off state, control unit 104 can be supported(As microcontroller, power consumption are very low)Work a period of time, usually may be used
To continue normal power supply 1-3 seconds, but electrical appliance and switch execution unit 103 can not be supported to work on.Under normal circumstances,
Flash time is less than after power conversion unit 105 powers off the duration of 104 normal power supply of unit in order to control.
Specifically, connect referring to Fig. 6, flash signal detection unit 101, switch execution unit 103 and power conversion unit 105
In electrical appliance circuit, the output terminal of flash signal detection unit 101 and the output terminal and control unit of wireless communication unit 102
104 input terminal connection, the output terminal of control unit 104 are connected with switching the control terminal of execution unit 103, power conversion unit
105 are connected with flash signal detection unit 101, control unit 104, wireless communication unit 102 and switch execution unit 103.When
So, the wireless processing module in the embodiment of the present invention can also include push-button unit, which is connected with control unit 104
For controlling wireless processing module manually.
Wherein, the control unit 104 in the embodiment of the present invention is detecting pulse control signal(Such as detect trailing edge)
When, preserve the current state of electrical appliance circuit and allow switch execution unit 103 to perform de-energizing actions(If current state is disconnected
Electricity, then be failure to actuate and keep current state).After pulse control signal(Such as detect rising edge or detect circuit just
Often power supply), allow switch execution unit 103 to perform the energization opposite with the current state that it is preserved or de-energizing actions(If preserve
Current state for be powered, then be failure to actuate).Wherein, control unit 104 is detecting pulse control according to switch execution unit 103
The current state of condition adjudgement electrical appliance circuit before signal processed.It is as follows referring to Fig. 7, its detailed process:S1 control units 104 exist
Detect that flash signal detection unit 101 sends pulse control signal;S2 is detected and is preserved the current state of electrical appliance circuit:S3
Whether the current state for judging electrical appliance circuit is power-off, if so, S7 is performed, if not, performing S4;S4 allows switch to perform list
103 pairs of electrical appliance circuits of member perform de-energizing actions;S5 waits pulse control signal to terminate;The "on" position that S6 is preserved according to S2 is not
The state of switch execution unit 103 is kept to the switch action of execution unit 103;S7 waits pulse control signal to terminate;S8 according to
The off-position that S2 is preserved allows switch execution unit 103 to perform energization action.
Specifically, referring to Fig. 8, the flash signal detection unit 101 in the embodiment of the present invention includes sequentially connected decompression
Circuit 201, rectification circuit 202, filter circuit 203 and photoelectric switching circuit 204, be respectively used to be depressured flash signal,
Rectification, filtering and opto-electronic conversion obtain pulse control signal.Wherein, reduction voltage circuit 201 is connected in electrical appliance circuit, opto-electronic conversion
Circuit 204 is electrically connected with power conversion unit 105 and control unit 104.And for equally may be used using the circuit of powered by direct current
To be detected using photoelectric switching circuit to flash signal, those skilled in the art is easily achieved, Gu Benshishilisheng
Slightly it is described in detail.
More specifically, referring to Fig. 9, the flash signal detection unit 101 in the embodiment of the present invention includes rectifier bridge D1, optocoupler
U1, resistance R1-R5, capacitance C1 and electrolytic capacitor C2, series capacitance C1 between the first ac input end and firewire of rectifier bridge D1,
Resistance R1 is in parallel with capacitance C1, and the of series resistance R5 between the second ac input end and zero curve of rectifier bridge D1, rectifier bridge D1
One DC output end is connected with electrolytic capacitor C2 cathodes, resistance R2 first ends and resistance R3 first ends, resistance R2 second ends and light
The cathode connection of coupling U1 front ends, the second DC output end and electrolytic capacitor C2 anode, resistance R3 second ends and the optocoupler of rectifier bridge D1
The anode connection of U1 front ends, optocoupler U1 rear end anode are connected with resistance R4 first ends and control unit 104, and resistance R4 second is terminated
Ground, optocoupler U1 rear end cathodes are connected with power conversion unit 105.Wherein, alternating current passes through after capacitance C1, resistance R1 resistance-capacitance depressurizations
Rectifier bridge D1, enters optocoupler U1 after capacitance C2 filtering by resistance R2, R3 partial pressure.When alternating current has electricity, optocoupler U1 conductings, light
Coupling U1 output terminals(Such as scheme at FLASH)Perseverance is high level;When alternating current flash, optocoupler U1 cut-offs, output terminal can be according to flash
Time exports the low level pulse signal of a proportional corresponding pulsewidth.Resistance R5 shields, to eliminate the moment that is powered
Spike.
Wherein, the normally closed touch switch in the embodiment of the present invention is that to realize that flash disconnects duration less than energy-storage travelling wave tube be control
The normally closed switch of 104 normal power supply time of unit processed, is less than the normally closed switch of 3 seconds as flash disconnects duration, including doorbell switch,
The single-pole double-throw switch (SPDT) of two output terminal short circuits or other be normally touch switch closed etc., specifically can be by existing
Some single-pole double-throw switch (SPDT) repackings, or directly customized from manufacturer.Under normal circumstances, human hand is clicked on once foregoing
During normally closed touch switch, flash time about 200ms or so, does not interfere with control unit 104(Common power conversion unit
Sustainable power supply 1-3 seconds after 105 power-off)Work.
With reference to Fig. 6 and Fig. 7 in the embodiment of the present invention based on manual and radio double-control system the course of work into
Row explanation:Switch execution unit 103 is made of relay, and control unit 104 is microcontroller.When flash occurs, if flash
Caused by the result is that in order to close electrical appliance, when flash is recovered, whole system has electricity, and microcontroller can also make relay disconnect electricity consumption
Device is powered.Assuming that flash is sustained, because overall do not power, electrical appliance also natural out of power.If caused by flash
The result is that in order to open electrical appliance, then at the end of flash, whole module all for having under electricity condition, microcontroller can also allow after
Electric appliance opens electrical appliance.General power conversion unit, since there is capacitance in inside, in the power-off state, can support microcontroller work
Make 1-3 seconds, then during flash(Flash time about 200ms or so), when detecting the flash of shutdown signal, just allow relay
Device disconnecting circuit.If detecting the flash of open signal, at the end of flash, relay connection circuit is just allowed.Specifically,
Assuming that 20 seconds Beijing time 0 point 0 minute, when having carried out a flash, it is assumed that this flash time is 1s, will appear from following situation:
(1) if current power device is in running order, then this flash is to need wireless processing module to perform closing
The action of electrical appliance, processing mode:During 20.1 seconds time, microcontroller is found that this flash, and detects and currently open, then
Make relay disconnecting circuit.20.1-21 seconds this periods, what relay was powered off, no matter it is normally opened or normally closed relay,
Electrical appliance all out of power.During 21 seconds time, flash terminates, and power supply is normal, and microcontroller guard relay disconnects and then closes electrical appliance.
(2) if current power device is in off-position, then this flash is to need wireless processing module to perform opening
The action of electrical appliance, processing mode:During 20.1 seconds time, microcontroller is found that this flash, and detects it is currently to close, not right
Relay is acted, during time 20.1-21 second, what relay was powered off, so electrical appliance out of power;During 21 seconds time, flash
Terminate, power supply is normal, and microcontroller control relay closure then opens electrical appliance.
The above process is a hypothesis situation explanation, does not act on the restriction of the present invention.But pass through above-mentioned hypothesis feelings
Condition is known:Microcontroller performs pass action, is occurred in that time for detecting flash.It is to occur and microcontroller performs and starts work
Terminate in flash, power normal that time.During whole flash, wireless communication unit and switch execution unit can not works
Make, but microcontroller must maintain electricity(It is satisfiable under normal circumstances).
Touched out the present invention provides a kind of based on manual and radio double-control switching system, the system by using normally closed point
Close and realize entity and radio double-control system with the wireless processing module that flash controls, wireless processing module can detect normally closed point
Touch the flash signal that switch produces and the energization or power-off opposite with current state are performed according to the current state of electrical appliance circuit
Action.The system directly can replace physical switches with normally closed touch switch or be transformed by transformation entity, and will wirelessly locate
Manage module to be arranged near electrical appliance, then do not change electrical appliance circuit layout and mounting structure substantially, transformation is simple, cost
It is low.
Embodiment two
, will an embodiment of the present invention provides a kind of single-pole double-throw switch (SPDT) and wireless processing module double-control system referring to Figure 10
Original single-pole double-throw switch (SPDT) is substituted for the single-pole double-throw switch (SPDT) of two output terminal short circuits.Common double control switch, is single-pole double throw
Switch, an input terminal, two output terminals, input terminal random time can all be connected in inside with an output terminal, due to inside
Contact structure characteristic, when switch action when, of short duration off-state can occur for circuit.As shown in Figure 10, if by two
Output terminal merges into an output terminal by wiring short circuit(At dotted line), the normally closed point that double control switch has reformed into reality touches out
Close, be normally closed under this switch normal condition, when clicked, the disconnection of short time occurs in circuit, and when unclamping click, circuit recovers normal
Closed state.
As shown in Figure 10, the wireless processing module in embodiment one is accessed before electrical appliance, due to having had in circuit
Standby physical switches S4, so wireless processing module is only needed comprising wireless communication unit, control unit, switch execution unit and electricity
Source converting unit, power supply flash signal caused by also needing to the point shake-up work of processing S4 due to wireless processing module, so wirelessly
Processing module also includes a flash signal detection unit.Since electrical appliance circuit is in closure state for a long time, so wireless place
Reason module can continue sex work, real-time reception wireless command, control the switch of electrical appliance.And due to short time electricity caused by S4
Source is interrupted, and power supply will not be caused to influence on wireless processing module, and can transmit the switch motion information of S4 to wireless processing mould
Block.So the present invention can realize the power supply of " physical switches+wireless signal " double-direction control electrical appliance.
Referring to Figure 11, in another embodiment provided in an embodiment of the present invention, itself possessing double control switch control
Actual environment in, can equally realize much more wireless control using the present invention.As shown in figure 11, by any one in electrical appliance circuit
Two of double control switch output terminal shortcircuits, at this time any one double control switch will all become touch switch, when click, can cause
Power supply flash.
The invention biggest advantage is that former circuit need not be transformed, it is only necessary to former switch is replaced, and in electricity consumption
Install wireless processing module around device additional, be highly suitable under domestic environment, intelligent regeneration is carried out to traditional electric appliance.Due to inciting somebody to action
Regular tap is substituted for improved double control switch or other touch switch, without additional space, so replacement process
Also it is very simple.
Embodiment three
An embodiment of the present invention provides a kind of control method based on manual and radio double-control switch, this method is used to implement
Example 1 and 2 provide based on manually and the switching system of radio double-control in, this method includes:When wireless processing module detects use
After the flash signal produced in appliance circuit by normally closed touch switch, performed and current shape according to the current state of electrical appliance circuit
The opposite energization of state or de-energizing actions.Specifically, electrical appliance circuit is currently off-position, when wireless processing module detects sudden strain of a muscle
During break signal, then energization action is performed to electrical appliance circuit(Open electrical appliance);Electrical appliance circuit is currently "on" position, works as nothing
When line processing module detects flash signal, then de-energizing actions are performed to electrical appliance circuit(Close electrical appliance).
Wherein, normally closed touch switch is in its natural state closure, of short duration when user's point touches to disconnect and in electrical appliance electricity
Flash signal is produced in road, can be specifically the single-pole double-throw switch (SPDT) of two output terminal short circuits.There is storage in wireless processing module
Can element can be powered in the case of the flash of short time to electrical appliance circuit or de-energizing actions, it is desirable to normally closed touch switch
It is its normal power supply time that the flash of generation, which disconnects the energy-storage travelling wave tube that duration is less than in wireless processing module,.Meanwhile it is preferably provided with
Still the memory of data can be preserved under power-off, such as EEPROM (Electrically Erasable Programmable
Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), ferroelectric memory, internal special memory or register etc..
Specifically, which includes:Wireless processing module is detecting that the flash produced by normally closed touch switch believes
Number start when, preserve electrical appliance circuit current state simultaneously perform de-energizing actions(It is failure to actuate if being currently off-position);
After flash signal, the energization opposite with the current state that it is preserved or de-energizing actions are performed(If the current shape preserved
State is then failure to actuate for "on" position).Its idiographic flow may refer to Fig. 7, but be not intended as the restriction of the embodiment of the present invention, this hair
The bright thinking that other embodiment can also be used to realize the present invention.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.