Disclosure of Invention
The invention provides a wireless switch device and a control method thereof, aiming at solving the technical problems that the existing weak wireless switch needs to replace a battery of the switch regularly and is low in use convenience.
In order to achieve the purpose, the invention adopts the technical scheme that:
the invention provides a wireless switching device, which comprises an energy collecting system, a zero-power-consumption triggering system and a wireless switching system, wherein the energy collecting system is connected with the zero-power-consumption triggering system;
the energy collection system is used for converting solar energy into electric energy and transmitting the electric energy to the zero-power-consumption trigger system;
the zero-power-consumption trigger system is used for monitoring the pressing action of the wireless switch system, converting the input electric energy into power voltage suitable for the wireless switch system and removing the original standby power consumption of the wireless switch system;
and the wireless switching system is used for acquiring a switching action instruction for controlling the controlled load, converting the switching action instruction into a switching signal and transmitting the switching signal to the controlled load through a wireless network.
Further, the energy collection system comprises a solar panel, a first voltage detection module, a pull-up resistor R1, an energy collection circuit and a capacitor C1;
first output end of solar panel and input V of first voltage detection moduleINConnected with the second output end of the solar panel and the input V of the energy collecting circuitINConnecting;
output V of the first voltage detection moduleOD1One end of a pull-up resistor R1 and an enabling end En of the energy collecting circuit are connected;
the other end of the pull-up resistor R1 and the output V of the energy collecting circuitBATAre connected with one end of a capacitor C1, and the output V of the energy collecting circuitBATThe system is also connected with a zero-power-consumption trigger system;
the other end of the capacitor C1 and the first voltage detection module are both grounded.
Further, the capacitor C1 is a super capacitor.
Further, the first voltage detection module comprises a high-voltage monitoring circuit, a medium-voltage monitoring circuit and a low-voltage monitoring circuit, wherein the high-voltage monitoring circuit bears the effect that the voltage drop is reduced step by step; the low-voltage monitoring circuit and the medium-voltage monitoring circuit are both provided with gate control switches;
high voltage monitoring circuit output VO(H)Signals to the control terminal of the medium-voltage monitoring circuit, VO(H)The signal controls a gate control switch of the medium-voltage monitoring circuit; output signal V of medium voltage monitoring circuitIN(M)And VO(M)(ii) a Wherein, VO(M)Is connected with the control terminal of the low-voltage monitoring circuit, and VO(M)Gating switch of signal-controlled low-voltage monitoring circuit, VIN(M)The low-voltage monitoring circuit is connected with a monitoring end of the low-voltage monitoring circuit;
the input ends of the high-voltage monitoring circuit and the medium-voltage monitoring circuit are connected with the first output end of the solar panel;
the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuit all have open-drain output functions, and output signals V of open-drain output ends of the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuitOD1、VOD2And VOD3Combining the outputs into an output VOD(ii) a The output VODOne end of a pull-up resistor R1 and an enabling end En of the energy collecting circuit are connected;
the high voltage monitoring circuit, the medium voltage monitoring circuit and the low voltage monitoring circuit are all grounded.
Further, the zero-power-consumption triggering system comprises a piezoelectric sensor, an NMOS-Q1, an NMOS-Q2, a second voltage detection module, a capacitor C2, a pull-up resistor R2 and a power management system;
the piezoelectric sensor is used for acquiring and controlling the pressing action of the wireless switch system; the output end of the piezoelectric sensor is connected with the grid electrode of the NMOS-Q1;
the grid electrode of the NMOS-Q1 is connected with one end of a pull-up resistor R2, the drain electrode of the NMOS-Q2 and the output end of the energy collecting system; the source of the NMOS-Q1, one end of the capacitor C2, and the input V of the second voltage detection moduleINThe other end of the capacitor C2 is grounded;
output V of the second voltage detection moduleOD2The other end of the pull-up resistor R2 and the grid of the NMOS-Q2 are connected;
source of NMOS-Q2 and input V of power management systemINConnected, output V of the power management systemDDAnd the wireless switch system is connected with the power supply and used for providing power for the wireless switch system.
Furthermore, the zero-power-consumption trigger system also comprises a rectification module; the input end of the rectifying module is connected with the output end of the piezoelectric sensor, and the output end of the rectifying module is connected with the grid of the NMOS-Q1; the piezoelectric sensor is a piezoelectric film or piezoelectric ceramic.
Further, the second voltage detection module comprises a high-voltage monitoring circuit, a medium-voltage monitoring circuit and a low-voltage monitoring circuit, wherein the high-voltage monitoring circuit bears the effect that the voltage drop is gradually reduced; the low-voltage monitoring circuit and the medium-voltage monitoring circuit are both provided with gate control switches;
high voltage monitoring circuit output VO(H)Signals to the control terminal of the medium-voltage monitoring circuit, VO(H)The signal controls a gate control switch of the medium-voltage monitoring circuit; output signal V of medium voltage monitoring circuitIN(M)And VO(M)(ii) a Wherein, VO(M)Is connected with the control terminal of the low-voltage monitoring circuit, and VO(M)Gating switch of signal-controlled low-voltage monitoring circuit, VIN(M)The low-voltage monitoring circuit is connected with a monitoring end of the low-voltage monitoring circuit;
the input ends of the high-voltage monitoring circuit and the medium-voltage monitoring circuit are connected with the source electrode of the NMOS-Q1;
the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuit all have open-drain output functions, and output signals V of open-drain output ends of the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuitOD1、VOD2And VOD3Combining the outputs into an output VOD(ii) a The output VODThe other end of the pull-up resistor R2 and the grid of the NMOS-Q2 are connected;
the high voltage monitoring circuit, the medium voltage monitoring circuit and the low voltage monitoring circuit are all grounded.
Further, the wireless switch system comprises a key, a signal processing and control center and a Zigbee module;
the output end of the key is connected with a signal processing and control center, and the signal processing and control center is connected with a controlled load through a Zigbee module;
the key is used for acquiring a switch action instruction for controlling the controlled load and transmitting the switch action instruction to the signal processing and control center;
the signal processing and control center is used for converting the received switch action instruction for controlling the controlled load into a switch signal and transmitting the switch signal to the controlled load through the Zigbee module;
the key is also connected with the zero-power-consumption trigger system and used for transmitting the self action of the key to the zero-power-consumption trigger system.
The invention also provides a control method of the wireless switch device, which comprises the following steps:
converting solar energy into electric energy as input electric energy;
under the passive condition, monitoring the response action of a switch action command of the controlled load, converting the input electric energy into power voltage suitable for a wireless switch system according to the response action, and removing the original standby power consumption of the wireless switch system; wherein, after the preset time period after the response action is monitored for the last time, the wireless switch system is turned off;
and acquiring a switching action instruction for controlling the controlled load, converting the switching action instruction into a switching signal, and transmitting the switching signal to the controlled load through a wireless network.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a wireless switch device and a control method thereof.A power collection system is used for collecting electric energy and supplying power to a wireless switch system; monitoring the action of the wireless switch system by using a zero-power-consumption trigger system, converting the input electric energy into power voltage suitable for the wireless switch system, and removing the original standby power consumption of the wireless switch system; the power consumption of the energy collection system and the power consumption of the wireless switch system are reduced, the electric energy collected by the energy collection system meets the power consumption requirement of the wireless switch system, inconvenience brought to a user due to battery replacement is avoided, and the use convenience is greatly improved.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects of the present invention more apparent, the following embodiments further describe the present invention in detail. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1-3, the present invention provides a wireless switch device, which comprises an energy collection system, a zero power triggering system and a wireless switch system; the energy collection system is used for converting solar energy into electric energy and transmitting the electric energy to the zero-power-consumption trigger system; the zero-power-consumption trigger system is used for monitoring the pressing action of the wireless switch system, converting the input electric energy into power voltage suitable for the wireless switch system and removing the original standby power consumption of the wireless switch system; and the wireless switching system is used for acquiring a switching action instruction for controlling the controlled load, converting the switching action instruction into a switching signal and transmitting the switching signal to the controlled load through a wireless network.
The energy collection system comprises a solar panel, a first voltage detection module, a pull-up resistor R1, an energy collection circuit and a capacitor C1; first output end of solar panel and input V of first voltage detection moduleINConnected with the second output end of the solar panel and the input V of the energy collecting circuitINConnecting; output V of the first voltage detection moduleOD1An output V of the first voltage detection module connected to one end of a pull-up resistor R1OD1The energy collecting circuit is also connected with an enabling end En of the energy collecting circuit; the other end of the pull-up resistor R1 and the output V of the energy collecting circuitBATAre connected with one end of a capacitor C1, and the output V of the energy collecting circuitBATThe system is also connected with a zero-power-consumption trigger system; the other end of the capacitor C1 and the first voltage detection module are both grounded; preferably, the capacitor C1 is a super capacitor.
The first voltage detection module comprises a high-voltage monitoring circuit, a medium-voltage monitoring circuit and a low-voltage monitoring circuit, wherein the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuit bear the pressure drop which is reduced step by step; the low-voltage monitoring circuit and the medium-voltage monitoring circuit are both provided with gate control switches; high voltage monitoring circuit output VO(H)Signals to the control terminal of the medium-voltage monitoring circuit, VO(H)The signal controls a gate control switch of the medium-voltage monitoring circuit; output signal V of medium voltage monitoring circuitIN(M)And VO(M)(ii) a Wherein, VO(M)Is connected with the control terminal of the low-voltage monitoring circuit, and VO(M)Gating switch of signal-controlled low-voltage monitoring circuit, VIN(M)The low-voltage monitoring circuit is connected with a monitoring end of the low-voltage monitoring circuit; the input ends of the high-voltage monitoring circuit and the medium-voltage monitoring circuit are connected with the first output end of the solar panel; the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuit all have open-drain output functions, and output signals V of open-drain output ends of the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuitOD1、VOD2And VOD3Combining the outputs into an output VOD(ii) a The output VODOne end of a pull-up resistor R1 and an enabling end En of the energy collecting circuit are connected; wherein here the output VODI.e. the output V of the first voltage detection moduleOD1(ii) a The high voltage monitoring circuit, the medium voltage monitoring circuit and the low voltage monitoring circuit are all grounded.
The zero-power-consumption trigger system comprises a piezoelectric sensor, an NMOS-Q1, an NMOS-Q2, a second voltage detection module, a capacitor C2, a pull-up resistor R2 and a power management system; the input end of the piezoelectric sensor is connected with the wireless switch system and used for acquiring the action of the wireless switch system; the input end of the piezoelectric sensor is connected with a key of the wireless switch system; the output of the piezoelectric sensor is connected to the gate of NMOS-Q1.
The gate of the NMOS-Q1, one end of a pull-up resistor R2, the drain of the NMOS-Q2 and the output V of the energy harvesting circuitBATAre all connected; the source of the NMOS-Q1, the anode of the capacitor C2, and the input V of the second voltage detection moduleINThe negative electrode of the capacitor C2 is grounded; output V of the second voltage detection moduleOD2The other end of the pull-up resistor R2 and the grid of the NMOS-Q2 are connected; source of NMOS-Q2 and input V of power management systemINConnected, output V of the power management systemDDThe wireless switch system is connected with the power supply and used for providing power for the wireless switch system; the power management system and the wireless switch system are both grounded.
In the invention, the piezoelectric sensor adopts a piezoelectric film, and the input end of the piezoelectric film is connected with a key in a wireless switch system; a rectifying module is also arranged between the piezoelectric film and the NMOS-Q1, the input end of the rectifying module is connected with the output end of the piezoelectric film, and the output end of the rectifying module is connected with the grid of the NMOS-Q1.
The second voltage detection module comprises a high-voltage monitoring circuit, a medium-voltage monitoring circuit and a low-voltage monitoring circuit, wherein the high-voltage monitoring circuit, the medium-voltage monitoring circuit and the low-voltage monitoring circuit bear the pressure drop which is reduced step by step; the low-voltage monitoring circuit and the medium-voltage monitoring circuit are both provided with gate control switches; high voltage monitoring circuit output VO(H)Signals to the control terminal of the medium-voltage monitoring circuit, VO(H)The signal controls a gate control switch of the medium-voltage monitoring circuit; output signal V of medium voltage monitoring circuitIN(M)And VO(M)(ii) a Wherein, VO(M)Is connected with the control terminal of the low-voltage monitoring circuit, and VO(M)Gating switch of signal-controlled low-voltage monitoring circuit, VIN(M)The low-voltage monitoring circuit is connected with a monitoring end of the low-voltage monitoring circuit; the input ends of the high-voltage monitoring circuit and the medium-voltage monitoring circuit are connected with the source electrode of the NMOS-Q1.
High-voltage monitoring circuitThe medium-voltage monitoring circuit and the low-voltage monitoring circuit have open-drain output function, and output signals V of open-drain output ends of the medium-voltage monitoring circuit and the low-voltage monitoring circuitOD1、VOD2And VOD3Combining the outputs into an output VOD(ii) a The output VODThe other end of the pull-up resistor R2 and the grid of the NMOS-Q2 are connected; wherein here the output VODI.e. the output V of the second voltage detection moduleOD2(ii) a The high voltage monitoring circuit, the medium voltage monitoring circuit and the low voltage monitoring circuit are all grounded.
The wireless switch system comprises a key, a signal processing and control center and a Zigbee module; the output end of the key is connected with a signal processing and control center, and the signal processing and control center is connected with a controlled load through a Zigbee module; the key is also connected with a piezoelectric film of the zero-power-consumption triggering system and used for transmitting the self action of the key to the zero-power-consumption triggering system.
The key is used for acquiring a switch action instruction for controlling the controlled load and transmitting the switch action instruction to the signal processing and control center; the signal processing and control center is used for converting the received switch action instruction for controlling the controlled load into a switch signal and transmitting the switch signal to the controlled load through the Zigbee module; preferably, the wireless switch system is an infrared remote switch system.
The control method of the wireless switch device comprises the following steps:
converting solar energy into electric energy as input electric energy;
monitoring the response action of a switch action command of the controlled load, converting the input electric energy into power supply voltage suitable for a wireless switch system according to the response action, and removing the original standby power consumption of the wireless switch system;
and acquiring a switching action instruction for controlling the controlled load, converting the switching action instruction into a switching signal, and transmitting the switching signal to the controlled load through a wireless network.
The wireless switch device of the present invention will be described in detail below;
the wireless switch device comprises an energy collecting system, a zero-power-consumption triggering system and a wireless switch system; the energy collecting system comprises a solar panel, a first voltage detecting module and an energy collecting circuit; the zero-power-consumption trigger system comprises a piezoelectric film, a second voltage detection module, an NMOS-Q1, an NMOS-Q2 and a power management system; the wireless switch system comprises a Zigbee module, a signal processing and control unit and a key.
In the energy collecting system, the first output end of the solar panel and the input V of the first voltage detection moduleINConnected, the output V of the first voltage detection moduleOD1Output V of the energy collecting circuit is connected with the pull-up resistor R1BATConnecting; output V of the first voltage detection moduleOD1The energy collecting circuit is also connected with an enabling end of the energy collecting circuit; the second output end of the solar panel is simultaneously connected with the input V of the energy collecting circuitINConnecting; output V of the energy harvesting circuitBATThe capacitor C1 is connected, and the capacitor C1 is used for storing energy; the capacitor C1 of the present invention can also provide energy to other power systems.
In the zero-power-consumption trigger system, the output end of a piezoelectric film is connected with the input end of a rectifier module, and alternating current generated by the piezoelectric film is converted into direct current through the rectifier module; the output end of the rectifying module is connected with the grid of the NMOS-Q1; drain of NMOS-Q1 and output V of energy harvesting circuitBATConnecting; the source electrode of the NMOS-Q1 is connected with the anode of the capacitor C2, and the cathode of the capacitor C2 is grounded; the positive electrode of the capacitor C2 and the input V of the second voltage detection moduleINConnected to the output V of the second voltage detection moduleOD2And pull-up resistor R2 and output V of energy collection circuitBATConnected and the output V of the second voltage detection moduleOD2And also connected to the gate of NMOS-Q2; drain of NMOS-Q2 and output V of energy harvesting circuitBATConnected, source of NMOS-Q2 and input V of power management systemINConnecting; output V of power management systemDDThe wireless switch system is connected with the wireless switch system and used for providing voltage for the wireless switch system; the power management system and the wireless switch system are both grounded; preferably, the wireless switch system is an infrared remote control system, and the output V of the power management systemDDAnd stable voltage is provided for an infrared remote control system of the load.
The wireless switch system comprises a key, a Zigbee module and a signal processing and control module, when the key is clicked, the wireless switch is activated, corresponding action signals are transmitted to the signal processing and control module, switch signals are obtained after conversion, and the switch signals are transmitted to the gateway and the binding equipment through the Zigbee module; after the last click finishes the preset time period, the wireless switch system is automatically switched off and enters a shutdown state; the combination of the keys in the wireless switch system represents different commands, the triggering of the keys can transmit information to the signal processing and control module, the information is processed to obtain a switch signal, the switch signal is converted and transmitted to the Zigbee module, and the switch signal is transmitted to the gateway by the Zigbee module so as to transmit the switch signal to a controlled load.
Principle of operation and control
The invention relates to a wireless switch device, a solar panel in an energy collecting system and an input V of a first voltage detection moduleINConnecting; when the input V of the first voltage detection moduleINIs lower than the threshold V of the first voltage detection moduleTHThe output V of the first voltage detection moduleOD1Keeping the low level; when the input V of the first voltage detection moduleINIs higher than the threshold value V of the first voltage detection moduleTHThe output V of the first voltage detection moduleOD1Converted to high level and held at input V of the first voltage detection moduleinIs lower than the falling threshold V of the first voltage detection moduleTLThe signal diagram is shown in fig. 4.
Output V of the first voltage detection moduleOD1The solar panel is connected with an enabling end En of the energy collecting circuit through a pull-up resistor R1, and when the indoor is illuminated, the solar panel outputs high voltage; when the output voltage of the solar panel exceeds the threshold value V of the first voltage detection moduleTHThe energy harvesting circuit is enabled; when no light exists indoors, the solar panel outputs low voltage, and the energy collecting circuit enters a shutdown state; the first voltage detection module realizes the function that the energy collection circuit only works when the collected energy is larger than the static power consumption of the energy collection circuit, and improves the energy collection efficiency.
The output of the solar panel is simultaneously connected with the input V of the energy collecting circuitINThe energy collection circuit adopts maximum power tracking to improve the energy collection efficiency; output V of the energy harvesting circuitBATThe capacitor C1 is connected to the capacitor C1 and serves as a main energy storage capacitor, which is an energy source for other systems.
The zero-power-consumption trigger system can remove the original standby power consumption of the wireless switch system, the action of pressing the key is monitored through the zero-power-consumption trigger system, and the action of pressing the key can activate the whole load system; the output of the piezoelectric film is connected with the rectifying module and used for converting alternating current output by the piezoelectric film into direct current.
The output of the rectifying module is connected with the grid of the NMOS-Q1, the source of the NMOS-Q1 is connected with the capacitor C2, and the drain of the NMOS-Q1 is connected with the output V of the energy collecting circuitBATConnecting; when the output of the rectifier module is higher than the threshold value V of NMOS-Q1gs(th)When the key is pressed, the NMOS-Q1 is conducted, the capacitor C2 starts to be charged, the pressing action of the key is finished, and the capacitor C2 is finished to be charged; after the capacitor C2 is charged, the capacitor C2 leaks slowly, and the capacitance value of the capacitor C2 determines the time length of the delayed turn-off of the load system.
The positive electrode of the capacitor C2 and the input V of the second voltage detection moduleINConnected when the voltage of the capacitor C2 is higher than the threshold V of the second voltage detection moduleTHThe output V of the second voltage detection moduleOD2Is at a high level; when the voltage of the capacitor C2 is lower than the drop threshold V of the second voltage detection moduleTLThen, the output V of the second voltage detection module is outputOD2Is low.
Output V of the second voltage detection moduleOD2The drain of the NMOS-Q2 is connected with the output V of the energy collecting circuit through a pull-up resistor R2 and the grid of the NMOS-Q2BATConnected, source of NMOS-Q2 and input V of power management systemINConnected due to the output V of the energy-harvesting circuitBATIs not adjusted and is not suitable for being used as the power supply voltage of a wireless switch system, so the output V of the energy collecting circuit is collected by a power supply management systemBATPerforming DC conversion to make it suitableSupply voltage for a wireless switching system, output V of a power management systemDDConnected with the anode of the wireless switch system.
When the output V of the second voltage detection moduleOD2The output is high level, NMOS-Q2 is conducted, and the output V of the energy collecting circuitBATThe output voltage is converted into the voltage required by the wireless switch system through the power management system, and the wireless switch system is activated; when the output V of the second voltage detection moduleOD2When the output is low level, NMOS-Q2 is disconnected, and the output V of the power management systemDDThe output is 0V, and the wireless switch system is in a shutdown state, so that the standby power consumption of the load system is removed.
According to the wireless switch device, a solar energy collection technology is used as a power supply of the wireless switch, a zero-power-consumption continuous voltage detection technology is used, the power consumption of an energy collection system and the power consumption of a wireless switch system are reduced, the efficiency of the energy collection system is improved, and meanwhile the power consumption of a load is reduced, so that the load weak-current wireless switch system is free from the constraint of a battery in practical application.
The above-described embodiment is only one of the embodiments that can implement the technical solution of the present invention, and the scope of the present invention is not limited by the embodiment, but includes any variations, substitutions and other embodiments that can be easily conceived by those skilled in the art within the technical scope of the present invention disclosed.