CN113433841B - Self-generating wireless switch, controlled equipment and control system - Google Patents

Self-generating wireless switch, controlled equipment and control system Download PDF

Info

Publication number
CN113433841B
CN113433841B CN202110531078.6A CN202110531078A CN113433841B CN 113433841 B CN113433841 B CN 113433841B CN 202110531078 A CN202110531078 A CN 202110531078A CN 113433841 B CN113433841 B CN 113433841B
Authority
CN
China
Prior art keywords
module
output
electrically connected
state
taking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110531078.6A
Other languages
Chinese (zh)
Other versions
CN113433841A (en
Inventor
程小科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Linptech Co Ltd
Original Assignee
Wuhan Linptech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Linptech Co Ltd filed Critical Wuhan Linptech Co Ltd
Priority to CN202110531078.6A priority Critical patent/CN113433841B/en
Priority to CN202210658615.8A priority patent/CN115421407A/en
Priority to CN202210658617.7A priority patent/CN115421408A/en
Publication of CN113433841A publication Critical patent/CN113433841A/en
Priority to PCT/CN2022/092236 priority patent/WO2022242526A1/en
Priority to PCT/CN2022/092212 priority patent/WO2022242523A1/en
Application granted granted Critical
Publication of CN113433841B publication Critical patent/CN113433841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a self-generating wireless switch, controlled equipment and a control system, wherein the self-generating wireless switch comprises: the wireless switch circuit comprises a rectification module, an energy storage module, a voltage output module, a processor, a memory and a first wireless communication module; the processor broadcasts M groups of data packets outwards in sequence through the first wireless communication module, so that: the controlled equipment captures at least one data packet in an awakening period of an awakening sleep cycle, wherein each group of data packets comprises a plurality of data packets, and each data packet comprises the first control information; and the broadcast interval of two adjacent groups of data packets in the M groups of data packets is matched with the awakening sleep cycle, wherein M is more than or equal to 2, the awakening sleep cycle comprises an awakening period and a sleep period which are alternated, and the controlled equipment only receives the data packets in the awakening period.

Description

Self-generating wireless switch, controlled equipment and control system
Technical Field
The invention relates to the field of switches, in particular to a self-generating wireless switch, controlled equipment and a control system.
Background
The wireless switch can be understood as a switch configured with a wireless communication module, wherein one wireless switch is a self-generating wireless switch, in the traditional self-generating wireless switch, the wireless switch is usually communicated with the outside through a radio frequency communication module, for example, the self-generating wireless switch can be communicated with various controlled devices (such as lamps, wall switches and the like) through radio frequency signals. Furthermore, the self-generating wireless switch and the controlled equipment can form a control system.
In the prior art, the electric energy generated by the power generation of the generator of the self-generating wireless switch is directly transmitted to the power utilization component (such as a processor), the stability of electric energy transmission is difficult to guarantee, and further, the self-generating wireless switch cannot timely and accurately send information due to the influence of the stability of the electric energy, so that the timeliness and the accuracy of control between the self-generating wireless switch and the controlled equipment are influenced.
Disclosure of Invention
The invention provides a self-generating wireless switch, controlled equipment and a control system, which aim to solve the problem that the timeliness and the accuracy of control are difficult to guarantee.
According to a first aspect of the present invention, there is provided a self-generating wireless switch, comprising: the wireless switch circuit comprises a rectifying module, an energy storage module, a voltage output module, a processor, a memory and a first wireless communication module; the generator comprises a motion part and an induction part;
the wireless switch button directly or indirectly transmits to the motion part of the generator, and the reset component directly or indirectly transmits to the motion part of the generator, wherein: the wireless switch key can be pressed down to drive the motion part to move in a first direction, the reset component can deform when the motion part moves in the first direction and generate a reset acting force for overcoming the deformation, and the reset component can drive the motion part to move in a second direction by utilizing the reset acting force after the acting force for pressing down the wireless switch key is removed, and the wireless switch key rebounds;
the induction part is electrically connected with the rectification module so as to generate a first induction voltage when the motion part moves in a first direction and generate a second induction voltage when the motion part moves in a second direction;
the rectifying module is electrically connected with the energy storage module so as to store first electric energy corresponding to the first induction voltage and/or second electric energy corresponding to the second induction voltage in the energy storage module;
the energy storage module is electrically connected with the voltage output module so as to transmit the stored electric energy to the voltage output module;
the voltage output module is electrically connected with the processor, the memory and the first wireless communication module so as to output required power supply voltage to the processor, the memory and the first wireless communication module by utilizing the electric energy transmitted by the energy storage module, so that the processor, the first wireless communication module and the memory are powered on;
the first wireless communication module can communicate with controlled equipment, and the processor is electrically connected with the first wireless communication module so as to send first control information to the controlled equipment by using the first wireless communication module after the processor, the memory and the first wireless communication module are powered on;
when the processor sends the first control information to the controlled device by using the first wireless communication module, the processor is specifically configured to:
the processor broadcasts M groups of data packets outwards in sequence through the first wireless communication module, so that: the controlled equipment captures at least one data packet in an awakening period of an awakening sleep cycle, wherein each group of data packets comprises a plurality of data packets, and each data packet comprises the first control information; and the broadcast interval of two adjacent groups of data packets in the M groups of data packets is matched with the awakening sleep cycle, wherein M is more than or equal to 2, the awakening sleep cycle comprises an awakening period and a sleep period which are alternated, and the controlled equipment only receives the data packets in the awakening period.
According to a second aspect of the present invention, there is provided a controlled device capable of communicating with a first wireless communication module in the self-generating wireless switch of the first aspect and its alternatives;
the controlled device is used for capturing the data packet of the first control information sent by the first wireless communication module according to the awakening sleep cycle.
According to a third aspect of the present invention, there is provided a control system comprising a self-generating wireless switch according to the first aspect and its alternatives, and a controlled device according to the second aspect and its alternatives.
In the self-generating wireless switch, the controlled equipment and the control system, the induced voltage generated by the induction part can be rectified by the rectifying module, the rectified electric energy is transmitted to the energy storage module to be stored, and then the voltage output module can generate the power supply voltage based on the electric energy stored by the energy storage module and supply power to the circuit part (such as a processor, a first wireless communication module, a memory and the like) needing power, so that stable power supply is formed, the waste of the electric energy can be avoided, and the efficient utilization of the electric energy is realized. On the basis, the stability of power supply inside the self-generating wireless switch is beneficial to guaranteeing the accuracy and timeliness of information sending, so that the timeliness and accuracy of control between the self-generating wireless switch and the controlled equipment are guaranteed.
Meanwhile, aiming at the controlled equipment for receiving the data packet according to the awakening sleep cycle, the self-generating wireless switch can configure the matched broadcast interval, so that the sent data packet can be effectively ensured to be received by the controlled equipment, and the accuracy and timeliness of information receiving are further ensured, thereby further ensuring the timeliness and accuracy of control.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a first schematic diagram of a control system according to an embodiment of the present invention;
FIG. 2 is a second schematic diagram of the control system according to an embodiment of the present invention;
FIG. 3 is a third schematic diagram of the control system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a self-generating wireless switch according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a self-generating wireless switch according to an embodiment of the present invention;
FIG. 6 is a circuit diagram of a rectifier module according to an embodiment of the invention;
FIG. 7 is a circuit diagram of a polarity identification module according to an embodiment of the invention;
FIG. 8 is a schematic waveform diagram of a pulse signal output by the sensing portion according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating the connection of a second memory according to an embodiment of the present invention;
FIG. 10 is a circuit diagram of a voltage output module according to an embodiment of the invention;
FIG. 11 is a schematic diagram illustrating the transceiving of data packets in an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a self-generating wireless switch according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a part of a self-generating wireless switch according to an embodiment of the present invention;
FIG. 14 is a schematic structural diagram of a bottom case according to an embodiment of the present invention;
FIG. 15 is a schematic structural view of a transmission member according to an embodiment of the present invention;
fig. 16 is a schematic diagram of a partial structure of a self-generating wireless switch according to an embodiment of the present invention;
FIG. 17 is a schematic structural view of a center housing in an embodiment of the present invention;
FIG. 18 is a schematic view of the construction of a water barrier according to an embodiment of the present invention;
FIG. 19 is a schematic diagram of a key structure according to an embodiment of the present invention;
FIGS. 20a and 20b are schematic diagrams illustrating the operation of a wireless switch key press according to an embodiment of the present invention;
FIG. 21 is a schematic view of the construction of a wall switch in accordance with an embodiment of the present invention;
FIG. 22 is a schematic diagram of a power-taking module according to an embodiment of the present invention;
FIG. 23 is a first electrical schematic diagram of a wall switch in accordance with an embodiment of the present invention;
FIG. 24 is a second electrical schematic diagram of a wall switch in accordance with an embodiment of the present invention;
FIG. 25 is a third electrical schematic diagram of a wall switch in accordance with an embodiment of the present invention;
FIG. 26 is a fourth electrical schematic of the wall switch in accordance with an embodiment of the present invention;
FIG. 27 is a fifth electrical schematic diagram of a wall switch in accordance with an embodiment of the present invention;
FIG. 28 is a sixth electrical schematic of a wall switch in accordance with an embodiment of the present invention;
fig. 29 is a seventh electrical schematic diagram of a wall switch in accordance with an embodiment of the present invention;
fig. 30 is an eighth electrical schematic diagram of a wall switch in accordance with an embodiment of the present invention;
fig. 31 is a circuit diagram of an output switching module according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "upper surface", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
In the description of the present invention, "a plurality" means a plurality, e.g., two, three, four, etc., unless specifically limited otherwise.
In the description of the present invention, unless otherwise explicitly specified or limited, the terms "connected" and the like are to be construed broadly, e.g., as meaning fixedly attached, detachably attached, or integrally formed; can be mechanically connected, electrically connected or can communicate with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood according to specific situations by those of ordinary skill in the art.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Please refer to fig. 1, which provides a self-generating wireless switch 1 and a controlled device 2, and illustrates one self-generating wireless switch and one controlled device 2, in an actual control system, the number of the self-generating wireless switches and the controlled devices may be multiple, and meanwhile, the transmission of wireless signals may be implemented between the self-generating wireless switch 1 and the controlled device 2, and the wireless signals may be, for example, bluetooth, radio frequency, Wifi, and the like.
The controlled device 2 may be any controlled device that can be controlled by a self-generating wireless switch, and in a specific example, the controlled device 2 may be, for example, a wall switch, an electronic doorbell, a lamp, an automatic curtain, a fan, and the like.
In the embodiment of the present invention, referring to fig. 2, a self-generating wireless switch 1 includes a wireless switch button 101, a generator 103, a switch circuit and a reset component 102, where the switch circuit includes: a processor 108, a memory 107, a rectifying module 104, an energy storage module 105, a voltage output module 106, and a first wireless communication module 109.
The generator 103, the rectifying module 104, the energy storage module 105, the voltage output module 106, the processor 108, and the first wireless communication module 109 may all be connected to the circuit board 114.
The electrical connection referred to hereinafter may include a direct electrical connection and also include an indirect electrical connection.
The generator 103 can generate electricity when the wireless switch button 101 is operated (e.g., pressed and/or rebounded), and generate electric energy, which can be used to directly or indirectly power the processor 108, the first wireless communication module 109, the memory 107, etc., wherein the processor 108, the first wireless communication module 109, and the memory 107 can be separate or integrated, and further, if integrated, then: the power supply to the processor 108, the wireless communication module 109 and the memory 107 can be realized based on the same power supply terminal.
The generator 103 may include a movement portion 1031 and an induction portion 1032.
The moving part 1031 may be understood as a component or a combination of components that can be driven by at least one of a button and a reset component to move, and the sensing part 1032 may be understood as a component or a combination of components that can interact with the moving part 1031 to sense and generate electric energy when the moving part moves.
In a specific example, the generator 103 may include a permanent magnet portion, a magnetic conductive portion, and a coil portion, the coil portion may be disposed on the magnetic conductive portion, and the coil portion may generate an induced voltage when the permanent magnet portion and the magnetic conductive portion move relative to each other. The coil part can be regarded as the above mentioned induction part 1032, and the permanent magnet part or the magnetic conductive part can be regarded as the above mentioned movement part 1031, that is: in some examples, the permanent magnet part moves to directly and indirectly transmit with the key and the reset component, and in other examples, the magnetic conduction part moves to directly and indirectly transmit with the key and the reset component. It can be seen that the sensing portion 1032 may or may not move with the movement portion 1031.
The first wireless communication module 109 and the memory 107 are electrically connected to the processor 108, the sensing portion 1032 of the generator 103 is electrically connected to the energy storage module 105 through the rectifying module 111, the energy storage module 105 is electrically connected to the first wireless communication module 109, the processor 108 and the memory 107 (for example, connected to the power supply terminals of the first wireless communication module 109, the processor 108 and the memory 107) through the voltage output module 106, the reset component 102 (for example, a torsion spring, a spring plate, a tension spring, etc.) can be in transmission with the moving portion 1031 of the generator 103, and the wireless switch button 101 can also be in transmission with the moving portion 1031 of the generator directly or indirectly, that is: the key is directly or indirectly transmitted to the moving part of the generator, and the reset component is directly or indirectly transmitted to the moving part of the generator.
In some embodiments, the reset component 102 can be directly driven to the moving portion 1031, or in other embodiments, the reset component 102 can also be driven to a button or other component, so as to be indirectly driven to the moving portion 1031.
The reset device 102 is configured to: if the wireless switch button 101 is pressed down, then: deformation occurs and a reset acting force overcoming the deformation is generated; if the wireless switch button 101 performs a rebounding operation, then: the moving part 1031 of the generator 103 is driven by the restoring force.
Further, the wireless switch button 101 is pushed down to transmit the motion of the motion part 1031 in the first direction, the reset member 102 is deformed when the motion part 1031 moves in the first direction, and generates a reset acting force to overcome the deformation, and the reset member 102 is also capable of transmitting the motion of the motion part 1031 in the second direction by the reset acting force and rebounds the button after the acting force to push down the wireless switch button 101 is removed.
The generator 103 is configured to: if the wireless switch button 101 is pressed down, then: the moving part 1031 of the generator 103 is directly or indirectly driven by the wireless switch button 101 to cause the induction part 1032 of the generator 103 to generate a first induction voltage, and if the wireless switch button 101 performs a rebounding manipulation operation, the moving part 1031 of the generator 103 is driven by the reset member 102 to cause the generator to generate a second induction voltage;
further, the sensing part 1032 is electrically connected to the rectifying module 111 to generate a first sensing voltage when the movement part 1031 moves in the first direction, and to generate a second sensing voltage when the movement part 1031 moves in the second direction.
The rectification module 111 is configured to: storing a first electric energy corresponding to the first induced voltage and/or a second electric energy corresponding to the second induced voltage in the energy storage module 105; in a specific example, only the first electrical energy may be stored and/or used, and only the second electrical energy may be stored and/or used.
The energy storage module 105 is configured to: transmitting the stored electrical energy to the voltage output module 106;
the voltage output module 106 is configured to: the transmitted power (the first power and/or the second power) is used to provide a required power supply voltage to the processor 108, the memory 107 and the first wireless communication module 109, so as to power up the processor;
the processor 108 is configured to:
after the processor 108, the memory 107 and the first wireless communication module 109 are powered on, a corresponding current control message is generated and sent through the first wireless communication module 109, that is, the first wireless communication module 109 is used to send control information to the outside, where the current control message may be, for example, first control information and second control information, and further, sending the control information to the outside may specifically be, for example, sending the first control information to a controlled device, and then, for example, sending the second control information to an intermediate device.
In the above scheme, the induction voltage generated by the induction part can be rectified by the rectifying module, and the rectified electric energy is transmitted to the energy storage module for storage, so that the voltage output module can generate power supply voltage based on the electric energy stored by the energy storage module and supply power to a circuit part (such as a processor, a wireless communication module and a memory) requiring power utilization, stable power supply is formed, waste of the electric energy can be avoided, and efficient utilization of the electric energy is realized. On the basis, due to the fact that power is stably supplied inside the self-generating wireless switch, accuracy and timeliness of information sending are guaranteed, and therefore timeliness and accuracy of control between the self-generating wireless switch and the controlled equipment are guaranteed.
In addition, the invention can automatically drive the press key to rebound based on the action of the reset component, realizes power generation when the press key is pressed and rebounded, and efficiently utilizes kinetic energy.
The first wireless communication module 109 may be any circuit module capable of implementing wireless communication, and for example, may include at least one of the following: the system comprises a radio frequency module, a Bluetooth communication module (namely a first Bluetooth communication module), a Wifi module and the like.
Referring to fig. 3, the control system further includes an intermediate device 3.
The first wireless communication module 109 can also communicate with the intermediate device 3 to send second control information to the intermediate device.
The communication between the first wireless communication module 109 and the intermediate device 3 and the controlled device 2 may be unidirectional, for example, the communication in which the first wireless communication module 109 sends signals to the intermediate device 3 and the controlled device 2 may also be bidirectional.
In one embodiment, the intermediate device 3 is also capable of communicating with the controlled device 2, and the communication may be unidirectional or bidirectional. The communication can be realized through Bluetooth signals, or through Wifi signals, radio frequency signals and the like.
In one embodiment, the intermediate device 3 is an intermediate device having a voice signal collecting and recognizing function, for example, a circuit module configured to collect a voice signal may be configured as a part having a voice signal recognizing function in hardware of the intermediate device, and further, the intermediate device 3 may collect the voice signal and form third control information (which may be understood as a voice control instruction that enables a controlled device to be controlled to perform a corresponding action) corresponding to the voice signal.
The intermediate device 3 is configured to be able to transmit information to the controlled device 2 to transmit third control information corresponding to the voice signal to the controlled device 2.
For example: the intermediate apparatus 3 may include: the voice signal acquisition part, the intermediate device processing part and the intermediate device communication part are electrically connected in sequence, the voice signal acquisition part can acquire voice signals, the intermediate device processing part can generate third control information based on the voice signals, and the third control information is sent out through the intermediate device communication part.
In one embodiment, the intermediate device 3 is configured to be capable of receiving information sent by the controlled device 2 (for example, the information can be received by the device communication unit, and the received information is fed back to the intermediate device processing unit), so as to receive the status report information from the controlled device 2. The state reporting information may be understood as information describing the hardware and/or software operating state of the controlled device.
Furthermore, for the above status reporting information and the third control information, the controlled device and the intermediate device may implement bidirectional interactive transmission.
In a specific example, if a bluetooth signal is used, then: the intermediate device 3 comprises at least one of: bluetooth gateway, have the pronunciation audio amplifier of bluetooth gateway function.
In one embodiment, please refer to fig. 4 and 5, the self-generating wireless switch 1 further includes a polarity identification module 112; the polarity identification module 112 electrically connects the generator 103 (e.g., its sensing portion 1032) with the processor 108.
The polarity recognition module 112 is electrically connected between the sensing portion 1032 and the processor 108, and configured to feed back a press recognition signal to the processor 108 when the sensing portion 1032 outputs the first sensing voltage, and feed back a rebound recognition signal to the processor 108 when the sensing portion 1032 detects that the second sensing voltage is output.
After the processor, the memory, and the wireless communication module are powered on, the processor 108 is further configured to: the current control action of the key is identified by the polarity identification module 112, and the identification result is fed back to the processor as a basis for generating the current control message (the first control information and/or the second control information).
In one embodiment, please refer to fig. 4, the self-generating wireless switch 1 further includes a key identification module 110, and the key identification module 110 is electrically connected to the processor 108;
the processor 108, prior to generating the current control message, may be further configured to:
reading a switch identifier representing the self-generating wireless switch from the memory;
if the current operation is the operation of pressing down: acquiring current key information through the key identification module, and updating the current key information in the memory;
if the current operation is the springback operation, then: obtaining the stored current key information from the memory;
the current control message is determined based on the switch identifier, the currently generated control action, and the obtained current key information, for example, the switch identifier may be written into the current control message, or a key value may be determined based on the control action and the current key information, and the key value may be written into the current control message.
In a further example, referring to fig. 5, the key identification module 110 may include detection units (each detection unit may be, for example, a micro switch 1101, but is not limited thereto), the number of the micro switches 1101 and the wireless switch keys 101 may be one, or may be multiple as shown in fig. 5, each micro switch 1101 and each wireless switch key 101 are in one-to-one correspondence, the micro switches 1101 can be triggered when the corresponding key is pressed, and then feed back a signal to the processor 108, at this time, the processor 108 may read the fed-back signal (for example, a key trigger signal) to determine the key information representing the key, so as to know which key the key is currently pressed.
In addition, the self-generating wireless switch 1 further comprises a transmission part 117, the number of the wireless switch keys 101 is at least two, and the keys correspond to the detection units (namely, the micro switches 1101) one by one.
Referring to fig. 11 and 12, the transmission member 117 is transmitted between the wireless switch button 101 and the moving portion 1031, wherein any one of the wireless switch buttons 101 can directly or indirectly transmit the change of the transmission member 117 from the first position state to the second position state when being pressed down, and when the transmission member 117 changes from the first position state to the second position state, the transmission member 117 can drive the moving portion 1031 to move in the first direction.
The transmission component 117 is transmitted to the reset component 102, and the reset component 102 can drive the transmission component to change from the second position state to the first position state by using the reset acting force after the acting force for pressing the wireless switch key 101 is removed; when the transmission member 117 changes from the second position state to the first position state, the transmission member 117 can drive the moving part to move in the second direction, and the key can rebound;
the processor 108 is electrically connected to the detection unit to acquire a corresponding key trigger signal after the processor 108 is powered on and the detection unit is triggered, wherein the key trigger signal represents a pressed key.
In one embodiment, referring to fig. 5 and 7, the polarity identification module 112 includes a press identification portion 1121 and a rebound identification portion 1122; the press recognition unit 1121 electrically connects the sensing unit 1032 of the generator 103 and the processor 108, respectively, and the springback recognition unit 1122 electrically connects the sensing unit 1032 of the generator 103 and the processor 108, respectively.
When the processor 108 identifies the current operation action of the key through the polarity identification module, it is specifically configured to:
if a specific signal (i.e., a pressing identification signal) sent by the pressing identification portion 1121 is received, determining a currently generated manipulation action as a pressing manipulation action; wherein the press-down recognition portion 1121 transmits the designation signal (i.e., press-down recognition signal) to the processor 108 only when the generator 103 generates the first induced voltage;
when receiving the designation signal (i.e., the bounce recognition signal) transmitted by the bounce recognition unit 1122, the bounce recognition unit 1122 transmits the designation signal (i.e., the bounce recognition signal) to the processor 108 only when the generator 103 generates the second induced voltage, and determines the currently generated manipulation motion as the pressing manipulation motion.
The specific signal may be, for example, any one of the following: high level signal, high pulse signal, low level signal, low pulse signal.
It can be seen that:
the press recognition portion 1121 is electrically connected to the sensing portion 1032 and a first signal terminal of the processor 108, so as to feed back a designated signal to the first signal terminal as the press recognition signal when the sensing portion outputs the first sensing voltage;
the springback recognition unit 1122 is electrically connected to the sensing unit 1032 and a second signal terminal of the processor 108, so as to feed back a designated signal to the second signal terminal as the springback recognition signal when the sensing unit outputs the second sensing voltage.
The pulse signal emitted from the sensing portion at the time of the next press and the pulse signal emitted from the sensing portion at the time of the rebound can be understood by referring to the waveforms shown in fig. 8. In fig. 8, the abscissa represents time, and the ordinate represents voltage.
For further example, referring to fig. 7, the pressing identification portion 1121 may include: pressing the identification first diode D21, pressing the identification second diode D22, pressing the identification first resistor R21, pressing the identification second resistor R22, and pressing the identification capacitor C21;
the positive electrode of the press-down recognition first diode D21 is electrically connected to the first output terminal of the sensing portion, the negative electrode of the press-down recognition first diode D21 is electrically connected to the first terminal of the press-down recognition capacitor C21 and the first terminal of the press-down recognition first resistor R21, respectively, the second terminal of the press-down recognition capacitor C21 is grounded, the first terminal of the press-down recognition second resistor R22 and the negative electrode of the press-down recognition second diode D22 are electrically connected to a first controlled device (e.g., I/O port) of the processor 108, and the positive electrode of the press-down recognition second diode D22 and the second terminal of the press-down recognition second resistor R22 are grounded.
For further example, referring to fig. 7, the springback recognition unit 1122 may include: a rebound identification first diode D23, a rebound identification second diode D24, a rebound identification first resistor R23, a rebound identification second resistor R24, and a rebound identification capacitor C22;
the anode of the springback identification first diode D23 is electrically connected with the second output end of the sensing part, the cathode of the springback identification first diode D23 is electrically connected with the first end of the springback identification capacitor C22 and the first end of the springback identification first resistor R23, the second end of the springback identification capacitor C22 is grounded, the first end of the springback identification second resistor R24 and the cathode of the springback identification second diode D24 are electrically connected with a second controlled device (for example, an I/O port) of the processor 108, and the anode of the springback identification second diode D24 and the second end of the springback identification second resistor R24 are grounded.
When the generator is pressed down or rebounded, the output end can respectively generate a positive pulse. The energy storage capacitor corresponding to the positive pulse (i.e. the pressing identification capacitor C21 or the rebounding identification capacitor C22) is charged, and then a positive pulse is output to the controlled device of the processor. And the capacitor of the negative pulse of the generator cannot be charged, and simultaneously, because of the existence of the diode, the electricity of the capacitor corresponding to the positive pulse cannot flow to the capacitor corresponding to the negative pulse, so that the capacitor corresponding to the negative pulse cannot output a pulse signal or a high-level signal to the processor. The processor can detect the level generated by the voltage division of the resistors so as to perform corresponding actions.
The press-down recognition diode D21 and the rebound recognition diode D23 may be isolated diodes, for example, a diode of type RB 551V. The press-down recognition second diode D22 and the rebound recognition second diode D24 can be used as a zener diode, for example, a 3.3V zener diode, specifically, a zener diode of the MMSZ5226BS type can be selected, the maximum power consumption is 200mW, and the reverse leakage current is 25 uA.
According to the selection of the resistance value of the divided voltage, the maximum voltage of the generator needs to reach 3.5 × 5/2 × 8.75V to reach the maximum withstand voltage of the IO port of 3.5V, and the generator can usually meet the requirement.
In the embodiment of the invention, only the pressing identification part or the rebounding identification part can be adopted, for example, if the time for transmitting the message from the self-generating wireless switch is short, the message is sent and the electric quantity is exhausted soon after each pressing, the switch can only need one identification part (for example, the pressing identification part or the rebounding identification part). Such as: when only one pressing identification part is pressed, the switch generates a high level when being pressed, and the processor identifies that the pressing is performed. When the switch rebounds, the processor does not detect the high level, which can also be considered as rebound.
However, for a part of the self-generating wireless switches (for example, the wireless communication module adopts a bluetooth module), because the sending duration is long each time, when the user releases the switch, the pressed message is not sent yet, and at this time, the processor is still in a working state, and if no rebound recognition part outputs a high level, the processor cannot know that the switch rebounds. Therefore, two independent identification portions are required to identify the press-down and the rebound, so that when the processor detects that the corresponding IO port has a high level or a positive pulse, the corresponding press-down or rebound is considered to have occurred. Therefore, in the scheme, the IO port identified by the polarity can be detected not only at the power-on moment but also at the rebound moment to judge whether the IO port is pressed down.
In one embodiment, referring to fig. 5, the memory 107 includes a first memory 1071 for storing programs, and: a second memory 1072 for storing current key information and/or a current verification identifier, the current verification identifier being used as a verification basis for a message sent by the self-generating wireless switch; the current authentication identity update is stored in the second memory 1072; the second memory 1072 is a memory different from the first memory 1071 storing a program, and the second memory 1072 is a memory which does not lose data after power failure.
The current verification identifier updated and stored in the second memory 1072 is the same as the current verification identifier recorded in the current manipulation message.
In a further embodiment, the second memory 1072 is a memory capable of erasing, writing, and reading data in units of one or more bytes, wherein the writing and reading time of a single byte does not exceed 10ms, and the consumed energy does not exceed 300 uJ. The second memory 1072 includes, for example, a Flash memory and/or a ferroelectric memory.
In addition, the second memory 1072 further stores current key information representing a key which is pressed by the self-generating wireless switch last time.
The second memory 1072 may not select the conventional FLASH, because the conventional false sh must be erased (written) in units of sectors, which causes too much power to be written and the generator may not be able to support it. On the contrary, when the memories such as the EEPROM, the ferroelectric memory and the like are selected, the situation that the electric quantity of the generator is difficult to support can be effectively avoided.
In a specific example, the second memory 1072 may be coupled to the processor through an IIC bus using 24C 02. Taking fig. 8 as an example, the power supply (VDD-EE) of the second memory 1072 is isolated from the processor's power supply VDD by diode D71 so that the processor 108 is in an unpowered state when necessary, such as when burning data into an EEPROM during production, so that the IIC communication between the EEPROM and the burning tool is not affected by the IIC pin of the processing unit.
Wherein, for storing in particular: (1) a current authentication identity; (2) current key press information.
When the switch is pressed down during working, the verification identifier can be read from the second memory, then updating (such as self-increment operation) is carried out, the updated current verification identifier is filled in a message to be sent, then the self-updated current verification identifier is written back to the second memory again, then the electric quantity is exhausted, and the processor and the memory are powered off.
The switch sends current key information (representing which key is pressed and released) when being pressed and/or rebounded, but due to the structural limitation of the self-generating wireless switch, the micro switch for detecting key positions is loosened to generate power when the switch is released, so that which key acts cannot be identified, and therefore two memories are adopted, and the current key information at the moment is written into the second memory when the switch is pressed; during rebound, although the current key information cannot be read from the state of the microswitch, the previous key information can be read from the second memory as the current key information, so that the message during rebound also carries a key value, thereby doubling the probability that the controlled equipment can receive the message and improving the reliability.
In addition, referring to FIG. 9, the SCL terminal of the second memory 1072 can be connected to the VDD-EE of the processor through a resistor R72, and the SDA terminal of the second memory 1072 can be connected to the VDD-EE of the processor through a resistor R71.
Regarding the processing of the current authentication identifier, when the processor sends a current control packet (e.g., the first control information) to the controlled device, the processor may cause: the controlled device verifies whether the relation between the current verification identifier in the current control message and the stored historical verification identifier is matched with a preset transformation rule of the current verification identifier, and executes a control event corresponding to the current control message when the relation is matched with the transformation rule, wherein the historical verification identifier is determined according to the verification identifier recorded in a control message (such as first control information) sent to the controlled device before the self-generating wireless switch.
The current control packet characterizes at least one of: the self-generating wireless switch; the self-generating wireless switch receives the operated key currently; and the self-generating wireless switch is used for controlling the currently received operation and control actions of the keys.
Before, after, or at the same time as the processor generates and sends the corresponding current control message to the controlled device through the wireless communication module, the processor may further include:
in the continuously generated control actions of one pressing and one rebounding, aiming at least one control action, reading a current verification identifier from the memory, and converting and updating the current verification identifier from a first numerical value to a second numerical value by a preset conversion rule;
wherein the first value is different from the second value.
It can be seen that, since the pressing operation and the rebounding operation are in a pair and continuous manner, rebounding usually occurs after pressing. Furthermore, in the above solution, the current verification identifier may be updated only after the pressing operation or the rebounding operation, or the current verification identifier may be updated only after the pressing operation or the rebounding operation.
In addition, the processor can also write the updated current verification identifier back to the memory before the electric energy stored by the energy storage module is exhausted.
In the continuously-generated one-press control action and one-rebound control action, for at least one control action, before, after or at the same time of generating and sending a current control message to a controlled device through the first wireless communication module, a current verification identifier is read from the memory, the current verification identifier is converted and updated from a first numerical value to a second numerical value according to a preset conversion rule, and the updated current verification identifier is written back to the memory before the electric energy stored in the energy storage module is exhausted, wherein the first numerical value is different from the second numerical value.
The verification identifier can be any character or combination of characters which can be suitable for verification, the current verification identifier can be understood as being currently sent by the self-generating wireless switch, and the historical verification identifier can be understood as being stored by the controlled equipment before the self-generating wireless switch sends out.
In some examples, the historical verification identifier may be a current verification identifier sent to the controlled device and stored by the controlled device when the self-generating wireless switch has performed the last operation and control action, or determined according to the current verification identifier, and in other examples, the historical verification identifier may also be a current verification identifier sent to the controlled device and stored by the controlled device when the self-generating wireless switch has performed the last specific operation and control action (for example, a pressed operation and control action or a rebounded operation and control action), or determined according to the current verification identifier.
After receiving the current control message, the controlled device can verify whether the relation between the current verification identifier and the stored historical verification identifier is matched with the transformation rule; and executing the control event corresponding to the current control message when the relationship is matched with the transformation rule.
If the relationship does not match the transformation rule, the corresponding message (e.g., the current control message) may be discarded; the discarding of the current control packet may be understood as not processing based on the current control packet, for example: and the control event corresponding to the current control message is not executed, and the information such as the historical verification identifier and the like is not updated and changed based on the current control message.
In the above scheme, the current verification identifier is introduced in the interaction process of the self-generating wireless switch and the controlled device, matching verification of the current verification identifier and the historical verification identifier can be used as a basis for executing a control event, the control event of copying a message is avoided, and the effect of preventing copying attack is achieved. Meanwhile, through the matching verification that whether the current verification identification and the historical verification identification are matched with the transformation rule or not, a basis can be provided for filtering repeated messages.
The verification identification in the real message (namely the control information) is changed, the verification identification in the copied message is usually repeated, and further, the copied message can be effectively verified through verification based on the historical verification identification and the transformation rule (wherein the relation between the verification identification and the historical verification identification is usually not matched with the transformation rule), so that the control action of copying the message is avoided, and the safety is guaranteed.
In addition, when the historical verification identifier is the past current verification identifier, it can be ensured that: the verification identifiers come from the self-generating wireless switch, so that the verification accuracy and safety can be effectively guaranteed.
Since there is a possibility of packet loss in wireless communication, if the data packet sent by pressing (i.e., the data packet of the control message sent after pressing) is lost, the data packet sent by rebounding (i.e., the data packet of the control message sent after rebounding) can be used as a remedy, and the controlled device can still perform a response action after receiving the rebounded data packet.
For this, the controlled device may determine whether to execute the control event by combining the verification identifier and the control action represented by the control packet, for example: the controlled device can judge according to the serial number (namely, the verification identifier), and if the data packet is a pressed data packet (namely, the current control message is a pressed control message), the controlled device responds to the data packet to execute a corresponding control event; if the data packet is a rebounded data packet (i.e. the current control packet is a rebounded control packet), the corresponding control event is executed only in response to the condition that the data packet pressed by the same sequence number (i.e. the verification identifier) is not received before.
As can be seen, if the control events corresponding to the press and the rebound are the same, then: the scheme of 'the conversion of the verification identifier only occurs after one complete press and rebound' can help to avoid the data packet loss from influencing the execution of the control event, and ensure that the corresponding control event can be executed effectively.
Meanwhile, after the controlled device is configured reasonably, it can also help to avoid the control message pointing to the same control event from being executed repeatedly, for example: when one lamp (namely the receiver is a lamp or a connecting lamp) is controlled by using the self-generating wireless switch, if the controlled control event is as follows: the lamp state is reversed, then: if both the press and the rebound will respond, the light is turned on when the press is made and then turned off after the rebound. The reasonable configuration can be, for example: if the self-generating wireless switch changes the current verification identifier on time, then: the controlled device can update and write the current verification identifier in the current control message as a new historical verification identifier when receiving the current control message.
When the effects can be realized, even if the control events corresponding to press and rebound in some controlled devices are different, the realization of different control events can be ensured after the controlled devices are reasonably configured. The reasonable configuration can be, for example: if the self-generating wireless switch changes the current verification identifier on time, then: the controlled device can write the verification identifier in the current control message when receiving the rebounded control message as a new historical verification identifier.
Therefore, the same set of updating conditions of the verification identifier (namely, the current verification identifier is changed when the current operation is the target operation and control action) is adopted, so that the requirements of pressing and rebounding the controlled equipment corresponding to the same control event can be met, and the requirements of pressing and rebounding the controlled equipment corresponding to different control events can also be met. Furthermore, the compatibility of the self-generating wireless switch to various possible control requirements is effectively guaranteed, and the diversity of control realized by the control system is improved.
In addition, the scheme of 'the change of the verification identifier only occurs after one complete press and rebound' can also play a role in saving electric energy. For example: if the sequence number (i.e. the current authentication identity) is updated only at the time of the rebound: when the serial number is pressed down, the serial number (namely the current verification identifier) does not need to be updated, and especially the energy consumption for writing the updated serial number into the memory can be saved.
Moreover, when the sequence numbers (namely the current verification identifiers) corresponding to the pressed control actions and the rebounded control actions are the same, the controlled equipment can be simpler to perform message deduplication according to the sequence numbers.
When a user presses a key of the self-generating wireless switch, the user usually wants to obtain feedback of control effect immediately. Furthermore, if the sequence number is updated only in the case of a rebound (i.e. the target actuation is a rebound actuation), all the power during the depression can be used for other tasks, in particular for signaling, without the expenditure of power for updating the sequence number.
In one embodiment, referring to fig. 5 and fig. 6, the rectifying module 111 includes a first rectifying portion 1111 and a second rectifying portion 1112; the first rectification part 1111 is electrically connected to the induction part 1032 of the generator 103 and the energy storage module 105, and the second rectification part 1112 is electrically connected to the induction part 1032 of the generator 103 and the energy storage module 105.
When the rectifying module 111 stores the first electric energy corresponding to the first induced voltage and the second electric energy corresponding to the second induced voltage in the energy storage module, it is specifically configured to:
the first rectifying part 1111 rectifies the first induced voltage and stores corresponding first electric energy in the energy storage module;
the second rectifying unit 1112 rectifies the second induced voltage and stores corresponding second electric energy in the energy storage module.
For further example, referring to fig. 6, the first rectifying portion 1111 includes a first rectifying diode D11, a second rectifying diode D12 and a first rectifying resistor R11, and the second rectifying portion 1112 includes a third rectifying diode D13, a fourth rectifying diode D14 and a first rectifying resistor R12.
The cathode of the first rectifier diode D11 and the cathode of the second rectifier diode D12 can be respectively electrically connected to the first output end and the second output end of the sensing portion, the anode of the first rectifier diode D11 and the anode of the second rectifier diode D12 can be grounded, and can also be connected to the first end of the first rectifier resistor R11, and the second end of the first rectifier resistor R11 is connected to the second output end;
the anode of the third rectifying diode D13 and the anode of the fourth rectifying diode D14 may be respectively electrically connected to the first output terminal and the second output terminal of the sensing portion, the cathode of the third rectifying diode D13 and the cathode of the fourth rectifying diode D14 may be grounded, and may also be connected to the first end of the second rectifying resistor R12, and the second end of the second rectifying resistor R12 is connected to the first output terminal.
In the above scheme, the third rectifier diode D13 and the fourth rectifier diode D14 constitute a positive pulse rectifier, and the first rectifier diode D11 and the second rectifier diode D12 constitute a negative pulse rectifier. Therefore, when the generator is pressed down and reset, the electric energy can be transmitted to the energy storage module 105 through the rectifying device, and signals can be sent when the wireless switch is pressed down and reset.
In one embodiment, referring to fig. 10, the voltage output module 106 may include: the controller 1061, the energy storage capacitor C61 and the freewheeling unit (for example, including the freewheeling inductor L61);
the input side of the controller 1061 is electrically connected to the energy storage module, and meanwhile, the enable end of the controller 1061 may be connected to the energy storage module and a first end of a capacitor C62, a second end of the capacitor C62 may be grounded, the output side of the controller 1061 is electrically connected to a first end of the freewheeling unit (e.g., a freewheeling inductor L61), a second end of the freewheeling unit (e.g., a freewheeling inductor L61) is electrically connected to at least one of the processor and a wireless communication module memory directly or indirectly, and the energy storage capacitor C61 is electrically connected between the second end of the freewheeling unit (e.g., a freewheeling inductor L61) and ground; the controller 1061 is configured to control on/off between an input side and an output side thereof, and adjust a voltage output through the freewheeling unit and the energy storage capacitor by adjusting a switching frequency of the on/off and a time length of the on/off.
The voltage output module 106 may further include a first feedback resistor R61 and a second feedback resistor R62 for detecting the output voltage and feeding the output voltage back to the controller 1061.
The controller 1061 may be integrated with a PWM generating unit, which adjusts the width or frequency of the output pulse according to the feedback voltage, controls an internal or external switching tube, and intermittently charges the output inductor to achieve the purpose of voltage stabilization.
In some examples, a resistor R63 may be disposed between the output terminal of the energy storage module and the output terminal of the voltage output module (i.e., the VDD terminal and the VIN terminal), and a capacitor C63 and a zener diode D61 may be disposed between the VIN terminal and ground in parallel.
In one embodiment, a method of transmitting and scanning a packet when performing communication using bluetooth will be described below.
In a specific example, the controlled device may wake up and sleep according to the wakeup sleep cycle, where the wakeup sleep cycle includes alternate wakeup time periods and sleep time periods, that is: and entering the sleep period after the wake period passes, entering the wake period after the sleep period passes, and repeating the cycle. And the controlled device receives a data packet only during the awake period.
In fig. 11, the waveform of the receiving scan is a schematic waveform of the controlled device receiving the scan data packet, wherein the wakeup period can be characterized as Ton, the sleep period can be characterized as Toff, and the waveform of the sending packet is a schematic waveform of the sending packet from the power switch, wherein the convex waveform is a sending period that can be regarded as one data packet.
When the processor sends the corresponding current control packet to the controlled device through the first wireless communication module, the processor is specifically configured to:
broadcast N group data packet outwards in proper order through the bluetooth to make: the controlled equipment captures at least one data packet in an awakening period, wherein each group of data packets comprises a plurality of data packets, and each data packet comprises the current control message; and the broadcast interval of the adjacent data packets in the N groups of data packets is matched with the awakening sleep period of the controlled equipment, wherein N is more than or equal to 2.
Correspondingly, in the controlled equipment, at least one data packet in N groups of data packets sent by the self-generating wireless switch can be grabbed through Bluetooth in the awakening period, wherein the N groups of data packets are broadcast to the outside sequentially through the Bluetooth by the self-generating wireless switch, and each data packet comprises the current control message; and the broadcast interval of two adjacent data packets in the N groups of data packets is matched with the awakening sleep period of the controlled equipment, wherein N is more than or equal to 2.
Wherein a broadcast interval is understood to be: the interval between the broadcast start time of two adjacent groups of data packets can also be regarded as the broadcast period of each group of data packets, and each broadcast period only sends one group of data packets.
The duration of the awakening time interval is greater than or equal to the broadcasting interval of two adjacent data packets;
the duration of the sleep period is less than or equal to N-1 times the broadcast interval.
Through the scheme, the data packet can be received by the controlled equipment in the awakening period no matter when the self-generating wireless switch sends the data packet in the data packet receiving and sending process.
In the case that the wake-up period Ton is within the large period of the transmitted packet, there should be at least 1 packet in the window of the wake-up period Ton, i.e. the wake-up periods Ton cannot all fall within the broadcast interval (e.g. 20mS), and the wake-up period Ton is greater than or equal to the broadcast interval (e.g. 20mS)
At the same time, it is ensured that at least one packet falls outside the window of the sleep period Toff, which is guaranteed to be less than or equal to the broadcast interval (N-1), for example less than or equal to 20mS (N-1), taking into account the time (e.g. 1mS) for which the packet itself is to be used.
In a specific example, the specified packet sending interval duration (i.e. the formed broadcast interval) may be selected to be 20 mS;
the wake-up sleep period of the controlled device may be 100 mS;
the duty cycle may be 20%,
correspondingly, the wake-up period Ton is 20mS and the sleep period Toff is 80 mS.
Under the above parameters, if the transmitting end (i.e. the self-generating wireless switch) can transmit 5 groups of data packets, the controlled device (i.e. the controlled device) can scan at least 1 group of data packets. If the transmitting end can send 10 groups of data packets, the controlled device can scan at least 2 groups of data packets.
In another specific example, if N is 5, the awake period Ton may be 25mS, the sleep period Toff may be 75mS, and further, the corresponding duty ratio is 25%, and the controlled device may scan at least 1 group of data packets and leave a certain margin.
In another specific example, the awake sleep cycle may be 125mS, the awake period Ton may be 25mS, and the sleep period may be 100mS, correspondingly, if the packet sending interval is 20mS, then: 20mS (N-1) is greater than or equal to 100mS, and N is greater than or equal to 6 (namely, at least 6 groups of data packets need to be sent), wherein when N is 6, at least one group of data packets is scanned in the awakening period.
In a further example, the plurality of data packets in the same group are transmitted via at least two of the following channels:
2.402GHz;2.428GHz;2.480GHz。
correspondingly, when the processor 108 sequentially broadcasts the N groups of packets to the outside through the bluetooth module, the processor is specifically configured to:
after a group of data packets are started to be sent, the time of the broadcast interval is timed, and when the timed time reaches the specified packet sending interval time, another group of corresponding data packets are sent out.
The above timing function can be realized by adopting a timing module integrated in the processor.
In a specific example, the signal transmitted by the first wireless communication module is a bluetooth signal, for example, 2.4GHZ can be used as a carrier frequency, and the data packets are transmitted through the designated bluetooth channels respectively. Specifically, the self-generating bluetooth switch transmits data in 40 2-MHz channels using bluetooth low energy technology. Preferably, the data is transmitted in a broadcast channel. The frequency points of the three broadcast frequency channels are respectively: the 37 channel is 2.402 GHz; the 38 channel is 2.428 GHz; the 39 channel is 2.480 GHz.
Wherein more than one packet of signals will be sent per press, e.g. 3-10 packets of data may be sent. The processor may be integrated with the above mentioned timing module, and the timing module is used for delaying in the transmission interval.
In one example, the packet interval duration may be 20mS, and may specifically fluctuate randomly within a range of 20mS ± 5mS (i.e., the specified packet interval duration may be in an interval range of 15 mS to 25 mS), so as to reduce the probability that transmitted packets of different switches collide over the air.
In one embodiment, the self-generating wireless switch further includes a light emitting module 115 and a transparent portion 116, the light emitting module 115 is connected to the circuit board 114, and the light emitting module 115 is disposed inside the transparent portion 116; the light emitting module 115 is configured to emit light when the wireless switch key 101 is pressed and/or rebounded (for example, the light emitting module may emit light or flickers when any key is pressed sufficiently, or emit light or flickers when a corresponding key is pressed sufficiently), and transmit light to the outside through the light transmitting portion, which may be implemented by a corresponding configuration of a circuit.
The light-transmitting portion 116 may be a light guide pillar, for example.
For example: the light emitting module 115 comprises a light emitting diode, the anode of the light emitting diode is connected with the anode of the energy storage module, and the cathode of the light emitting diode is connected with the cathode of the energy storage module through a switching tube; wherein, the control end of switch tube is connected with the treater, or: the switch tube is integrated with the processor.
In one embodiment, please refer to fig. 12 to 19, the self-generating wireless switch further includes a bottom case 113 and a middle case 119, the middle case 119 covers the bottom case 113 to form an internal space, the circuit board 114, the switch circuit and the transmission member 117 are all located in the internal space, and the key 101 is located on a side of the middle case 119 that is away from the internal space. In other embodiments, only the bottom case 113 may be provided without the middle case 119.
Referring to fig. 12 to 19, the moving part 1031 of the generator 103 may be a power generating pick, which may be any structure that can be touched to generate electric energy by using mechanical energy, and may be in the form of a sheet, a rod, a ring, or any other shape.
The moving portion 1031 of the generator 103 is located on a side (for example, the left side in fig. 13) of the generator 103 near the non-pressing end of the key 101, that is: the moving portion 1031 is located on the side of one end of the generator 103, and the micro switch 1101 (i.e., the detection unit) is located on the side of the other end of the generator 103.
The first end of the transmission member 117 is used to be pressed by the key 5 directly or indirectly, for example, it can be pressed by the switch pressing portion 1172, wherein the switch pressing portion 1172 can protrude from the surface of the transmission member 117.
The second end of the transmission member 117 is used to actuate the moving part 1031 when the first end is pressed and/or reset under the driving of the reset acting force, so as to enable the generator 103 to generate electricity.
The moving directions of the first end and the second end of the transmission member 117 may be the same or different, and in any way, as long as the above controlled pressing and triggering of the power generation shifting piece are realized, the description of the present embodiment is not departed from.
Wherein, the transmission member 117 may be provided with an insertion hole 1175 for inserting the power generation pick (i.e., the movement portion 1031).
In one embodiment, a supporting portion 1131 is disposed on the bottom casing 113, the supporting portion 1131 penetrates through the circuit board 114 and extends to a side of the circuit board 114, which is away from the bottom surface of the bottom casing 113, correspondingly, the circuit board 114 may be disposed with a through hole for the circuit board to pass through, and the supporting portion 1131 is supported on the transmission member 117. The transmission member 117 is swingable about the support portion 1131 as a fulcrum, and is changeable between the first position state and the second position state by the swing. The number of the supporting portions 1131 may be two or more, and they may be uniformly distributed on the lower side of the transmission member 117.
Taking fig. 15 as an example, the supporting portion 1131 may abut against a fulcrum portion of the transmission member 117, the fulcrum portion may be provided with a structure for realizing abutment, or may not be provided with a structure, the fulcrum portion may be a single position, or may be a variable position, and further, along with the generation of the swing, the contact position between the supporting portion 1131 and the transmission member 117 may or may not be changed. The circuit board 114 can be assembled in the inner space formed by the bottom case 113, the generator 103 is connected with the circuit board 114, wherein the generator 103 can be mounted on the bottom case 113 by using the generator mounting buckle 1137; the transmission member 117 is connected to the bottom case 113 through two branch points on two sides, and a rocker structure is formed by connecting lines of the two branch points, wherein one end of the transmission member 117 is connected to a power generation paddle extending from the power generator 103, the reset member 102 is mounted on the bottom case 113 and connected to the other end of the transmission member 117 or a position close to the other end, so that the power generator 103 can be reset through the transmission member 117, and the other end of the transmission member 117 can be provided with a switch pressing portion 1172.
Comparing fig. 20a and 20b, and referring to fig. 12 to 19, after the key 101 is pressed, the key 101 triggers the transmission member 117 to perform seesaw rotation, i.e. the pressing end moves downwards, the other end moves upwards, so as to drive the power generation paddle of the generator 103 to move, the kinetic energy of the generator 103 is converted into electric energy to supply power to the circuit board 114, and the pressed key triggers the micro switch in the pressing process, meanwhile, the circuit board 114 is provided with light emitting modules (such as LEDs) with the same number as the keys, and the LEDs flash once when the emitting signals are pressed each time.
After pressing, the transmission member 117 may return to the initial position under the action of the return member 102, such as a torsion spring, thereby bringing the power generating paddle of the generator 103 back to the initial position. The push button 101 is also returned to the initial position by the actuating member 117.
Referring to fig. 14 and 15, the bottom case 1 is further provided with a movement limiting rib 1132, and the transmission member 117 is provided with a movement limiting boss 1174.
The movement limiting rib 1132 penetrates through the circuit board 114 and extends to one side, away from the bottom surface of the bottom shell 113, of the circuit board 114, correspondingly, the circuit board 114 may be provided with a through hole for the circuit board to pass through, the movement limiting rib 1132 may limit the movement limiting boss 1174 and the transmission part 117 to move along the first reference direction and/or the second reference direction, for example, when moving, the movement limiting rib 1132 may block the movement of the movement limiting boss 1174.
The first reference direction is a direction from a pressing end to a non-pressing end of the key, and the second reference direction is a direction from the non-pressing end to the pressing end of the key.
Through the cooperation of spacing boss and spacing muscle, can less processing degree of difficulty realize spacingly.
Referring to fig. 14, the bottom case 113 is further provided with an upper limiting buckle 1133, the upper limiting buckle 1133 passes through the circuit board 114 and extends to a side of the circuit board 114, which is away from the bottom surface of the bottom case 1, and the upper limiting buckle 1133 is used for limiting the transmission member 117 to move in a direction away from the circuit board 114. Correspondingly, the edge of the transmission part can be provided with a limiting snap-fit part 1171, and the upper limiting snap 1133 can block the limiting snap-fit part 1171 when the transmission part swings, so that the limiting function is realized.
Since the power generating pick is close to the non-pressing end, the upper limiting buckle 1133 can limit the movement of the end of the transmission member 117 close to the non-pressing end away from the circuit board 114.
It can be seen that the limiting buckle and the moving limiting rib 1132 can facilitate the limitation of the movement position of the transmission component 117.
The above-mentioned transmission member 117 can be regarded as a rocker, and the solution of swinging by the support portion can have the advantages of easy processing, easy control of the size of the part, and the like.
In a specific implementation process, if the number of the keys 101 is at least two, for example, three as shown in the figure, then: the transmission member 117 interfaces all the keys 101 so that: when any at least one key 101 is pressed, the transmission part 117 can be pushed to change the position state.
In one embodiment, the reset device 102 may be at least one of: torsional spring, shell fragment, spring.
If the reset member 102 is a torsion spring, then: be equipped with torsional spring base 1134 on drain pan 113, torsional spring base 1134 passes circuit board 114 extends to circuit board 114 with the one side that the bottom surface of drain pan 113 deviates from mutually, torsional spring base 1134 is equipped with the torsional spring installation axle, the torsional spring install in the torsional spring installation axle, the torsional spring still is located through the connecting rod contact the torsional spring connecting portion 1173 of transmission part 117, in order to pass through the connecting rod with torsional spring connecting portion 1173 will the effort of reseing acts on transmission part 117. In a specific implementation process, the torsion spring base 1134 may further include a torsion spring limiting portion for limiting a rotation position of the torsion spring.
In one embodiment, referring to fig. 12 and 18, and with reference to fig. 20a and 20b, the self-generating wireless switch further includes a waterproof layer 118, and the waterproof layer 118 is disposed between the middle shell 119 and the circuit board 114. A side surface of the waterproof layer 118 opposite to the middle shell 119 may be attached to the middle shell 119.
Specifically, the waterproof layer 118 may be provided with a switch key matching portion 1181, the switch key matching portion 1181 protrudes from one side of the waterproof layer 118 away from the circuit board 114, the middle shell 119 is provided with a key hole 1194, the switch key matching portion 1181 penetrates through the key hole 1194, the micro switch 1101 extends into the switch key matching portion 1181, and the switch key matching portion 1181 is butted with the key 101 and the micro switch 1101 respectively along a direction in which the key 101 is pressed. Further, when the key 101 is pressed, the microswitch 1101 is clicked by the switch key fitting portion 1181, and the microswitch 1101 is triggered.
In addition, the waterproof layer 118 may further include a pairing key matching portion 1183, where the position of the pairing key matching portion 1183 may be matched with the position of a pairing key, and meanwhile, may be matched with a pairing switch device of a pairing circuit on the circuit board 114, and by pressing the pairing key, the pairing switch device passing through the pairing key hole 1193 may be triggered by the pairing key matching portion 1183, where the structural relationship among the pairing switch device, the pairing key hole, the pairing key matching portion, and the pairing key may be understood with reference to the structural relationship among the micro switch 1101, the key hole 1194, the switch key matching portion 1181, and the key 101.
The waterproof layer 118 may further include a press-fitting portion 1184, which is located at a position matching the press-fitting portion receiving structure 1195 of the middle shell 119. The pressing portion accommodating structure 1195 can be understood as a structure for accommodating the switch pressing portion 1172 when the switch pressing portion 1172 is lifted.
In a specific implementation process, the waterproof layer 118 may be waterproof silica gel.
In one embodiment, the middle shell 119 is provided with a middle shell light hole 1192, the waterproof layer 118 is provided with a waterproof layer light-transmitting portion 1182, the key 101 is provided with the light-emitting portion, the light guide column penetrates through the middle shell light hole 1192, two ends of the light guide column respectively extend to the light-emitting portion and the waterproof layer light-transmitting portion 1182, and the positions of the light guide column, the middle shell light hole 1192, the waterproof layer light-transmitting portion 1182 and the light-emitting portion are matched with the position of the light-emitting module, which may be any matching mode with the positions close to each other.
The above structure capable of realizing light transmission and light guiding is not deviated from the description of the embodiment.
In one embodiment, referring to fig. 16, 17 and 19, the middle shell or the bottom shell is provided with a first rotating shaft 1191, the non-pressing end of the key 101 is provided with a second rotating shaft 1011, the first rotating shaft 1191 is connected with the second rotating shaft 1011 in a matching manner, the key 101 can pivot toward or away from the middle shell 119 through the matching of the first rotating shaft 1191 and the second rotating shaft 1011, one side of the pressing end of the middle shell 119 or the bottom shell 113 is provided with a first buckle 1196, and the pressing end of the key is provided with a second buckle 1013.
The first buckle 1196 abuts against the second buckle 1013 to limit the pressing end of the key 101 from moving away from the middle shell 119;
in the illustrated example, the first rotation shaft portion 1191 is a rotation shaft, the second rotation shaft portion 1011 is a shaft hole through which the corresponding rotation shaft passes, and in other examples, not illustrated, the first rotation shaft portion is a shaft hole, and the second rotation shaft portion is a rotation shaft passing through the corresponding shaft hole.
The side of the key 101 facing the middle case is further provided with a pressing part 1012, and further, the pressing part 1012 can directly or indirectly press the switch pressing part 1172 of the transmission component 117. One side of the key 101 facing the middle case may further be provided with a switch pressing part 1014, and the switch pressing part 1014 is used for pressing corresponding to the micro switch.
In a specific example, the waterproof layer 118 of the silicone is connected to the bottom case 113, and the middle case 119 is connected between the outer side of the waterproof layer 118 and the bottom case 113, so as to compress the waterproof layer 118 (wherein, the waterproof layer 118 of the silicone may be in interference fit with a waterproof wall on the bottom case 1), thereby achieving full-sealing and waterproof of the internal structure, and finally assembling the key 101, and the key 101 may be assembled on the bottom case 1, or may be assembled on the middle case 119. The key 101 has one end as a pivot, which is a fixed end, and the other end capable of pivotally reciprocating (pressing and resetting), i.e. a pressing end of the switch.
In addition, the related spontaneous electric wireless switch of this embodiment both can directly adopt the double faced adhesive tape to paste in wall or other places, also can adopt the screw to install in traditional switch end box.
The controlled device includes at least one of: wall switch, curtain, lamps and lanterns, fan, doorbell.
The following description will focus on the wall switch therein.
Referring to fig. 21, and with reference to fig. 22 to 31, the wall switch includes: the wall switch comprises at least one wall switch key 22, at least one wall switch circuit board 21, at least two wiring terminals and a wall switch circuit arranged on the at least one wall switch circuit board 21.
The wall switch can further comprise a bottom shell, a containing space is formed in the first side of the bottom shell, the wall switch circuit board 21, the wiring terminal and the wall switch circuit are all arranged in the containing space, at least two wiring terminal cavities which are mutually separated are formed in the containing space, and the wiring terminal is arranged in the wiring terminal cavity; the wall switch key 22 is located at a first side of the bottom case, the accommodating space is located between the bottom case and the at least one wall switch key 22, and the wall switch key 22 can move towards the accommodating space and also can move away from the accommodating space.
The at least two terminals include a live input terminal (e.g., terminal P1) and a live output terminal (e.g., terminal P2, further e.g., terminal P3, terminal P4); in some examples, the at least two terminals may further include a neutral terminal (e.g., terminal P5).
Referring to fig. 26, the wall switch circuit includes a power-taking module 211, a processing module 215, a second wireless communication module 212, at least one key identification module 216, an output on-off module 14, a driving module 213, and an indication module 217.
One end of the output switching module 214 is electrically connected to the live input terminal (e.g., terminal P1) directly or indirectly, and the other end of the output switching module 214 is electrically connected to the live output terminal (e.g., terminal P2) directly or indirectly. In the example shown in fig. 21, the output switching module 214 is electrically connected to the live input terminal (e.g., the terminal P1) through the power taking module 211, and in other examples, the output switching module 214 may not be electrically connected to the live input terminal (e.g., the terminal P1) through the power taking module 211, and may also be electrically connected to the live input terminal (e.g., the terminal P1) directly or through another module.
The power taking module 211 is electrically connected to the binding post, the processing module 215, the second wireless communication module 212 and the driving module 213, so as to convert the accessed alternating current into the required direct current, and transmit the required direct current to the processing module 215, the second wireless communication module 212 and the driving module 213; it can be seen that the power taking module 211 is electrically connected to the processing module 215, the second wireless communication module 212 and the power supply terminal of the driving module 213, and the connection between the power taking module 211 and the binding post may be direct or indirect.
The second wireless communication module 212 is electrically connected to the processing module 215 to feed back the received control information to the processing module 215;
the received control information may be, for example, the aforementioned first control information and third control information.
The position of the key identification module 216 matches with the corresponding wall switch key 22 to be activated when the corresponding key moves towards the accommodating space, and the key identification module 16 is electrically connected with the processing module to transmit a corresponding trigger signal to the processing module 15 when being activated.
The trigger signal may be any signal that enables the processing module 15 to determine which key is currently activated. The trigger signal may be any one of: high pulse signal, low pulse signal, high level signal, low level signal. The trigger signal may be a plurality of signals which are continuous or discontinuous. In any event, the present invention is not intended to depart from the scope of the embodiments of the present invention.
The processing module 15 is electrically connected to the driving module 13, so as to send the control signal corresponding to the wireless control instruction or the trigger signal to the driving module 13;
the control signal may be control information or a trigger signal itself, or may be any signal generated and sent based on the control information or the trigger signal, and the control signal may also change correspondingly with the change of the control information or the trigger signal. Specifically, the control signal may be understood as a signal indicating that the driving module 213 drives the corresponding output on/off module 214 to perform any one of the following actions: off, on, and flip (i.e., off when on and on when off).
The processing module 215 is further electrically connected to the indicating module 217 to feed back the indicating signal matching the control signal to the indicating module 217.
The external indication state of the indication module 217 can be changed along with the indication signal, and further, the state of the output on-off module 214 and/or the generated action can be embodied through the external indication state.
The driving module 213 is electrically connected to the control end of the output on-off module 214, so as to respond to the control signal to drive the output on-off module to be turned on or off.
In the scheme, the indication module is introduced and is electrically connected with the processing module, so that a hardware basis is provided for an external feedback mechanism, meanwhile, the processing module can acquire the control signal corresponding to the wireless control instruction and the control signal corresponding to the trigger signal of the key, and further, the control of the output on-off module, the external indication and the feedback can be realized according to the control signal and the control signal, and the sufficient hardware basis is provided for the purpose, so that the accuracy of the control and feedback indication is favorably ensured.
The second wireless communication module 212 and the processing module 215 may be separate or integrated.
In one embodiment, referring to fig. 22, the power taking module 211 includes an ac-dc converter 2111 and a dc voltage converter 2112.
The alternating current-direct current converter 2111 is electrically connected with the wiring terminal and the direct current voltage converter respectively so as to convert the alternating current into direct current to be converted and transmit the direct current to be converted to the direct current voltage converter;
the conversion may be any manner capable of converting ac power into dc power, and specifically may be implemented based on rectification or based on a switching power supply, and no matter which manner is adopted, the scope of the embodiment of the present invention is not limited.
The dc voltage converter 2112 is electrically connected to the processing module 215, the second wireless communication module 212 and the driving module 213, so as to convert the dc to be converted into the required voltage, and transmit the required voltage to the processing module 215, the second wireless communication module 212 and the driving module 213;
the conversion can be voltage boosting or voltage reducing, and voltage stabilization, filtering and other processing can be realized during the conversion. The required voltages to be transmitted to the processing module 15, the second wireless communication module 12, and the driving module 13 may be the same or different. In a specific example, the dc voltage converter 112 may further reduce the voltage to a lower voltage, which may be, for example, 1.8-3.3V.
In one embodiment, the wall switch may be a zero-power wall switch, and further, referring to fig. 23, the number of the terminals is at least three, and the at least three terminals include the power input terminal (e.g., terminal P1), the power output terminal (e.g., terminal P2), and the zero-power terminal (e.g., terminal P5).
Correspondingly, the ac-dc converter 2111 includes a PWM controller 21111, a zero-fire rectification unit 21113, a zero-fire power switch K31, a current-type energy storage unit (for example, implemented by using an inductor L32), a voltage-type energy storage unit (for example, implemented by using a capacitor C33), and a freewheeling diode D31.
The input side of the zero fire rectification unit 21113 is electrically connected to the live wire input terminal (e.g., terminal P1) and the neutral wire terminal (e.g., terminal P5), the first end of the output side of the zero fire rectification unit 21113 is electrically connected to the first end of the zero fire power switch K31 directly or indirectly, the second end of the output side of the zero fire rectification unit 21113 is grounded, the second end of the zero fire power switch K31 is electrically connected to the first end of the current type energy storage unit (e.g., inductor L32), the second end of the current type energy storage unit (e.g., inductor L32) and the first end of the voltage type energy storage unit (e.g., capacitor C33) are electrically connected to the dc voltage converter 2112 to output the dc power to be converted, the second end of the voltage type energy storage unit (e.g., capacitor C33) is grounded, the control end of the PWM controller 21111 is electrically connected to the control end of the zero fire power switch K31, the on-off of the zero-fire electricity taking switch K31 is controlled by a periodic PWM signal, the negative electrode of the fly-wheel diode D31 is electrically connected with the first end of the current type energy storage unit (such as an inductor L32), and the positive electrode of the fly-wheel diode D31 is grounded.
In some examples, the ac-dc converter 2111 further includes a filter unit 21112, and the filter unit 21112 is electrically connected between an output side of the zero fire rectification unit 21113 and a first end of the zero fire power switch K31.
Specifically, the filtering unit 21112 includes a filtering inductor L31, a filtering resistor R31, a filtering first capacitor C31, and a filtering second capacitor C32;
the first end electricity of filter inductance L31 the first end of zero fire rectifier unit 21113's output side, the second end electricity of filter inductance L31 the first end of switch K31 is got to zero fire, the first end electricity of filter resistance R31 the first end of zero fire rectifier unit 21113's output side, the second end electricity of filter resistance R31 the first end of switch K31 is got to zero fire, the first end electricity of first electric capacity C31 of filter is connected the first end of zero fire rectifier unit 21113's output side, the first end electricity of second electric capacity C32 of filter is connected the first end of switch K31 is got to zero fire, the second end ground connection of first electric capacity C31 of filter, the second end ground connection of second electric capacity C32 of filter.
In the above scheme, through the combination of the capacitor, the inductor and the resistor, the filtering of the voltage waveform is realized, and the stability of the voltage is guaranteed.
For some examples, referring to fig. 23, the input side of the zero fire rectification unit 21113 is connected in parallel with a surge suppression unit 21114. Specifically, the surge suppression unit 21114 may include a surge voltage suppression unit 211142 connected in parallel to the input side of the reactive rectification unit 21113, and/or: and the surge current suppression unit 211141 is connected between a live connection column (such as the connection column P1) and the input side of the zero-fire rectification unit 21113.
The surge current suppression unit can adopt a current-limiting resistor, for example, a wound resistance wire, and the surge voltage suppression unit can adopt a sub-sensitive resistor, for example.
Through the surge suppression, the surge electric signal can be prevented from entering the rear-end circuit, and the voltage stability is guaranteed.
In other examples, the ac/dc converter 2111 of the zero-fire wall switch may not include a circuit unit such as a surge suppression unit or a filter unit.
In one embodiment, the wall switch may be a single-live wall switch, and further, referring to fig. 23 to 30, the number of the terminals may be at least two, including a live input terminal (e.g., terminal P1), and a live output terminal (e.g., terminals P2, P3, and P4), but not including a neutral terminal.
In the single-fire wall switch, referring to fig. 24, 29 and 30, the ac-dc converter 2111 includes an ON-state power-taking unit 21115 and an OFF-state power-taking unit 21116.
The live wire input terminal (e.g., terminal P1), the ON-state power taking unit 21115, the output ON-OFF module (e.g., output ON-OFF module RL shown in fig. 23, and output ON-OFF module RL1, output ON-OFF module RL2, and output ON-OFF module RL3 shown in fig. 28), the live wire output terminal (e.g., terminal P2 shown in fig. 23, and terminal P2, terminal P3, and terminal P4 shown in fig. 28) are directly or indirectly electrically connected in sequence, and the live wire input terminal (e.g., terminal P1), the OFF-state power taking unit 21116, and the live wire output terminal (e.g., terminal P2) are directly or indirectly electrically connected in sequence.
The direct current output end of the ON state power taking unit 21115 is electrically connected to the direct current voltage converter 112, so as to obtain the electric energy of the alternating current when the output ON-off module is turned ON, and output the direct current to be converted to the direct current voltage converter 2112 based ON the obtained electric energy;
the dc output terminal of the OFF state power taking unit 21116 is electrically connected to the dc voltage converter 2112 to obtain the electric energy of the ac power when the output on-OFF module is turned OFF, and output the dc power to be converted to the dc voltage converter based on the obtained electric energy.
When the relay is in the on state, the OFF state circuit is bypassed by turning on the relay, and thus does not operate. The ON state circuit is connected in series between a live wire (L), a relay and a load (L1), energy is intercepted from alternating current flowing through the load, direct current (direct current main voltage) is output, and then the direct current voltage is converted into the processing and wireless unit to work.
When the relay is opened, the ON-state circuit cannot be connected in series in the loop any more because the relay is short-circuited, and the voltage of the live line and the neutral line is loaded between the load (such as the load L1) and the OFF-state power-taking circuit. The OFF state circuit obtains electric energy by using the alternating voltage, outputs direct current voltage (direct current main voltage), and then converts the direct current voltage into the processing and wireless unit to work.
Therefore, according to the scheme, internal power supply can be realized when the output on-off module is switched off, and internal power supply can also be realized when the output on-off module is switched on.
For further example, referring to fig. 26, the ON-state power-taking unit 21115 includes an ON-state power-taking switch Q1, an ON-state bypass diode D32, an ON-state power-taking control portion 211151, and a rectifying energy storage portion (which can be understood in conjunction with the rectifying diode D34 and the energy storage capacitor C35);
a first end of the ON state power-taking switch Q1 is directly or indirectly electrically connected to the live wire input terminal (e.g., the terminal P1), and a second end of the ON state power-taking switch Q1 is electrically connected to the output ON/off module (e.g., the output ON/off module RL) and the dc voltage converter 2112, respectively.
The ON-state power-taking switch Q1 is connected in series with the output ON-off module (e.g., the output ON-off module RL) and then connected between the live wire input terminal (e.g., the terminal P1) and the live wire output terminal (e.g., the terminal P2); the ON-state bypass diode D32 is connected in parallel to the ON-state power-taking switch Q1.
Wherein, through the live output terminal (such as terminal P2), a load (such as load L1) can be connected to the outside and connected to the neutral wire through the load; the positive pole of the ON bypass diode D32 is electrically connected directly or indirectly to a hot input terminal (e.g., terminal P1).
The rectification energy storage part is electrically connected with an ON-state power taking node between the ON-state power taking switch Q1 and the output ON-off module RL and used for storing electric energy generated by the ON-state power taking node, and the rectification energy storage part is electrically connected with the direct-current voltage converter 2112 to output the direct current to be converted;
the sampling end of the ON state power-taking control portion 211151 is electrically connected to one end (for example, the second end) of the ON state power-taking switch Q1, and the control end of the ON state power-taking control portion 211151 is electrically connected to the control end of the ON state power-taking switch tube Q1, so as to realize ON-off control of the ON state power-taking switch tube Q1.
Further, the rectifying energy storage part comprises a rectifying diode D34 and an energy storage capacitor C35; the ON state power taking unit 21115 further includes a power supply diode D33;
the positive electrode of the rectifier diode D34 is electrically connected to the ON-state power taking node, the negative electrode of the rectifier diode D34 is electrically connected to the first end of the energy storage capacitor C35, the second end of the energy storage capacitor C35 is grounded, and the first end of the energy storage capacitor C35 is further electrically connected to the dc voltage converter 2112; the positive electrode of the power supply diode D33 is electrically connected to the ON-state power-taking node, the negative electrode of the power supply diode D33 is electrically connected to the power supply terminal of the ON-state power-taking control unit 211151, and the power supply terminal is grounded via a capacitor C34, so that stable power supply to the ON-state power-taking control unit 211151 is realized.
Taking fig. 26 as an example, in an ON state (that is, in a case where the output ON/off module is turned ON), at an initial time of a negative half cycle of voltage (when a current flows from a zero line through the load L1, the output ON/off module RL, the ON-state power-taking switch Q1, and to a live line), the ON-state power-taking control portion 211151 outputs a level to turn off the ON-state power-taking switch Q1, so that the current charges the rectification energy storage portion that takes power in the ON state and supplies power to the rear end.
Thereafter, the ON-state power control unit 211151 monitors the voltage in the rectification energy storage unit, and when the threshold voltage is reached, the ON-state power control unit 211151 outputs an ON signal to turn ON the ON-state power switching transistor Q1, so that the rectification energy storage unit is bypassed, and is not charged any more, and continues to discharge to supply power to the back-end circuit. After a certain period of discharge, the ON-state power control unit 211151 outputs an OFF signal again to turn OFF the ON-state power transistor Q1 (at this time, the voltage is in the positive half cycle, so that the rectification energy storage unit is not charged even though the ON-state power transistor Q1 is in the OFF state), so that the rectification energy storage unit can be immediately charged when the next negative half cycle comes.
The discharging time is preferably half period of the alternating current, and is 10mS in case of 50HZ alternating current.
In one embodiment, an output terminal of the ON state power-taking control unit 211151 is electrically connected to a reset terminal of a designated circuit part to transmit a reset control signal to the reset terminal, wherein the designated circuit part is the processing module 215 and/or the dc voltage converter 2112; the reset control signal is related to the charging process of the rectification energy storage part in the ON state electricity taking unit.
Wherein the reset control signal includes:
when the rectification energy storage part in the ON state electricity taking unit starts to charge and is not charged, a first reset control signal fed back by the ON state electricity taking control part is obtained, and:
when the charging of the rectification energy storage part in the ON state power taking unit is completed, a second reset control signal fed back by the ON state power taking control part is as follows:
the designated circuit portion is configured to be capable of remaining in a non-activated state when the reset terminal receives the first reset control signal, and the designated circuit portion is further capable of entering a reset-activated state when the reset terminal thereof receives the second reset control signal.
Specifically, the ON-state power-taking control unit 211151 may output a signal to the processing module, where the signal is a signal waiting for the completion of charging the ON-state power-taking circuit after the system is powered ON when the relay is in the ON state, and the signal is connected to a reset pin of the processing unit or a reset pin of the dc voltage conversion unit, and when the charging of the ON-state power-taking circuit is not completed, a first level (for example, a low level, which may be understood as the above first reset control signal) is output, so that the dc voltage conversion unit or the processing unit is in the reset state, power consumption of the dc voltage conversion unit or the processing unit is reduced, and it is avoided that the ON-state power-taking circuit cannot be started due to excessive rear-end current consumption in the starting process.
The number of the output on-off modules, the number of the live wire output binding posts and the number of the driving modules can be 1 or N; wherein N is more than or equal to 2; furthermore, each output ON/off module is connected in series with a live output terminal (e.g., terminal P1) and then connected in parallel to the ON-state power taking unit 21115, and each driving module 213 is electrically connected to a control terminal of one output ON/off control module.
Taking fig. 29 as an example, the output on-off control module RL1 is connected in series with the terminal P2, the output on-off control module RL2 is connected in series with the terminal P3, and the output on-off control module RL3 is connected in series with the terminal P4; furthermore, the output on-off control module RL1 can be connected to the neutral wire through the load L3, the output on-off control module RL2 can be connected to the neutral wire through the load L2, and the output on-off control module RL3 can be connected to the neutral wire through the load L1.
In one embodiment, the OFF-state power-taking unit 21116 includes an OFF-state power-taking control unit 211161, a transformer T1, an OFF-state power-taking rectifying unit (for example, a rectifying bridge BG shown in fig. 28, and a rectifying bridge BG1 and a rectifying bridge BG2 shown in fig. 30), an output capacitor C37, an output diode D35, and an input capacitor C36; the transformer comprises a first winding and a second winding induced to the first winding;
the first side of the OFF state power-taking rectifying part is used for accessing the alternating current, the first end of the second side of the OFF state power-taking rectifying part is electrically connected with the first end of the first winding, and the second end of the second side of the OFF state power-taking rectifying part is grounded; a first end of the input capacitor C36 is electrically connected to a first end of the first winding, a second end of the input capacitor C36 is grounded, and a second end of the first winding is grounded through the OFF state power-taking control part 211161; the OFF state power control unit 211161 can control the on/OFF between the second end of the first winding and the ground;
a first end of the second winding is electrically connected to the anode of the output diode D35, a cathode of the output diode D35 and a first end of the output capacitor C37 are electrically connected to the dc voltage converter 2112 to output the dc power to be converted, and a second end of the output capacitor C37 is grounded. Further, the cathode of the output diode D35 may be connected to the dc voltage converter 2112 via a diode D37.
Further, the OFF state power taking unit 21116 further includes a feedback portion 211162, and the feedback portion 211162 is electrically connected to the sampling end of the OFF state power taking control portion 211161 and the first end of the output capacitor C37, respectively, so as to detect the voltage of the direct current to be converted, and feed back the detection result to the OFF state power taking control portion 211161.
The feedback unit 211162 can feedback the voltage of the output capacitor C37 to affect the OFF state power-taking control unit 211161, and control the on/OFF of the switch tube therein, so that the voltage of the output capacitor C37 is maintained within a certain range of the set value.
In addition, the power supply of the OFF state power supply control unit 211161 may also be provided by a winding in a transformer, for example, the transformer further includes an auxiliary winding induced by the first winding or the second winding, the OFF state power supply unit 21116 further includes an auxiliary diode D38, an auxiliary resistor R33 and an auxiliary capacitor C38, the auxiliary diode D38 is electrically connected to a first end of the auxiliary winding, a second end of the auxiliary diode D38 is electrically connected to a first end of the auxiliary capacitor C38 through the auxiliary resistor R33, a second end of the auxiliary capacitor C38 is grounded, and a first end of the auxiliary capacitor C38 is further electrically connected to a power supply terminal of the OFF state power supply control unit 211161.
In addition, the rectifier bridge in the OFF-state power-taking rectifying part can be connected to the corresponding live wire output terminal through a resistor R31.
Taking fig. 28 as an example, the load, the resistor R31 and the rectifier bridge are connected in series between the neutral line and the live line. The alternating current is rectified into direct current through the rectifier bridge and temporarily stored in the input capacitor C36. The periodic switching of the OFF state power supply control unit 211161 allows the input capacitor C36 to intermittently discharge, so that an induced voltage and a current are output to the output winding (e.g., the second winding and the auxiliary winding) of the transformer, rectified and stored by the output diode D35 and the output capacitor C37, and finally output to the rear-end circuit via the dc voltage converter.
If the number of the live wire output binding posts and the number of the output on-OFF modules are N, the OFF state power-taking rectifying part can rectify alternating current between the live wire input binding posts and each live wire output binding post.
Taking fig. 30 as an example, the OFF-state power-taking rectifying portion includes two rectifying bridges, namely a first rectifying bridge BG1 and a second rectifying bridge BG 2.
The rectifier bridges all comprise a first rectifier diode D41, a second rectifier diode D42, a third rectifier diode D43 and a fourth rectifier diode D44;
the cathode of the first rectifying diode D41 is electrically connected with the anode of the second rectifying diode D42 to form a first node of the rectifying bridge; the cathode of the second rectifier diode D42 is electrically connected to the cathode of the fourth rectifier diode D44 to form a second node of the rectifier bridge; the positive electrode of the fourth rectifier diode D44 is electrically connected with the negative electrode of the third rectifier diode D43 to form a third node of the rectifier bridge; the positive electrode of the first rectifying diode D41 is electrically connected with the positive electrode of the third rectifying diode D43 to form a fourth node of the rectifying bridge;
where N is 2 or 3 (fig. 30 illustrates a case where N is 3, and the case where N is 2 may refer to this connection), the N output switching modules include a first output switching module (e.g., output switching module RL1), and the N output switching modules further include a second output switching module (e.g., output switching module RL2) and/or a third output switching module (e.g., output switching module RL 3); the N live output terminals include a first live output terminal (e.g., terminal P2), the N live output terminals further include a second live output terminal (e.g., terminal P3) and/or a third live output terminal (e.g., terminal P4);
a first node of the first rectifier bridge BG1 is electrically connected to the live input terminal (e.g., terminal P1), a second node of the first rectifier bridge BG1 and a second node of the second rectifier bridge BG2 are both electrically connected to a first end of the input capacitor C36, a third node of the first rectifier bridge BG1 is electrically connected between the first output switching module (e.g., output switching module RL1) and the first live output terminal (e.g., terminal P2), and a fourth node of the first rectifier bridge BG1 and a fourth node of the second rectifier bridge BG2 are both grounded;
wherein:
if the N output switching modules include the second output switching module (e.g., output switching module RL2) and the N live output terminals include the second live output terminal (i.e., terminal P3), then: a first node of the second rectifier bridge BG2 is electrically connected between the second output switching module (e.g., output switching module RL2) and the second live wire output terminal (i.e., terminal P3);
if the N output switching modules include the third output switching module (e.g., output switching module RL3) and the N live output terminals include the third live output terminal (i.e., terminal P4), then: a third node of the second rectifier bridge BG2 is electrically connected between the third output switching module (e.g., output switching module RL3) and the third live output terminal (i.e., terminal P4).
Based on the above circuit design, the current flowing and rectifying processes can be realized:
for load L1: the current can be circulated and rectified by the four rectifier diodes of the rectifier bridge BG 1.
For load L2: the current may flow and be rectified by the first and second rectifier diodes D61 and D62 of the first rectifier bridge BG1, and the first and second rectifier diodes D61 and D62 of the second rectifier bridge BG 2.
For load L3: the current may flow and be rectified by the first and second rectifier diodes D61 and D62 of the first rectifier bridge BG1, and the third and fourth rectifier diodes D63 and D64 of the second rectifier bridge BG 2.
In one embodiment, referring to fig. 23 to 30, the wall switch circuit further includes a fuse module 2113, and the fuse module 2113 is electrically connected between the live input terminal (e.g., terminal P1) and the power-taking module. Specifically, the fuse module 2113 may employ a fuse. Wherein the range of the fuse is 1-10A. Preferably, a box fuse or a patch fuse is used.
The safety guarantee function can be achieved through the fusing function of the fusing module 2113.
Since the fuse module 2113 is at the input of the general input/output, any one of the multiple outputs and loads (such as the load L1, the load L2, and the load L3) is abnormal, which may cause the fuse to fuse, thereby preventing serious accidents such as fire and the like due to continuous large current generated by the abnormal circuit. Compared with the scheme that the fusing unit is connected in series in the output path of the load line, the scheme can save the volume and the cost.
In one embodiment, the indication module 217 includes a light emitting unit (e.g., a circuit unit shown as a light emitting diode LED 1) electrically connected to the processing module 215, and the outward indication state includes a state where the light emitting unit emits light and a state where the light emitting unit does not emit light outward. The anode of the LED1 may be electrically connected to the processing module 215, and the cathode may be grounded.
Corresponding to the light emission of the light emitting unit, the wall switch key 22 may be provided with a light outlet, the light outlet is provided with a light guide pillar, and the light emitted by the light emitting unit can be guided out through the light guide pillar.
In one embodiment, referring to fig. 31, the output switching module 214 (e.g., the output switching module RL1, the output switching module RL2, and the output switching module RL3) may be a relay FRY, and the relay FRY may include a contact portion and a coil portion, one end of the coil portion is connected to the output of the dc voltage converter 2112, and the other end of the coil portion is connected to the driving module 213. The driving module 213 is a transistor or a MOS transistor (e.g., a transistor Q2), and a collector of the transistor Q2 is connected to the coil portion. Furthermore, the emitter of the transistor Q2 is grounded, a resistor R35 is electrically connected between the base and the emitter of the transistor Q2, the base of the transistor Q2 is electrically connected to the processing module 215 through a resistor R34, a diode D39 may be connected in parallel to both ends of the coil portion, and the cathode of the diode D39 is electrically connected to the transistor Q2.
Specifically, when the output on-off module is a relay, the processing module may be integrated with a pulse signal generating unit, which may output a continuous pulse signal, and the pulse width and the pulse frequency may be adjusted. The pulse width is 20% -80%, and the pulse frequency is 10-50 KHZ. The pulse signal generation unit outputs the pulse signal through an IO and is connected with the driving module, the driving module is periodically turned on and off by the pulse signal, when the pulse signal is at a high level, the driving module is turned on, a coil of the relay is turned on, and the flowing current is gradually increased. When the pulse signal is at a low level, the driving module is turned off.
When the circuit structure is applied to a zero-fire wall switch, the coil current of the relay cannot change suddenly, and the current can flow continuously through the freewheeling diode D31 to maintain the coil current, so that the attraction state of the relay is maintained.
Through the control mode of the pulse signal, the average current of a relay coil can be reduced, the power consumption of the relay is reduced, and the temperature rise of the relay is reduced. Meanwhile, the total current in the system is also reduced, the power consumption and the temperature rise of a switch tube in the direct current voltage converter are also reduced, the temperature rise of the direct current voltage converter is also reduced, and the reliability of a product is improved.
Correspondingly, in the specific scheme of the embodiment of the invention, the bottom shell can be provided with the independent heat dissipation holes necessarily, so that better appearance and better protection performances such as dust prevention can be obtained. Compared with the prior art, the traditional product does not comprise the pulse signal generating unit, and a control mode based on the pulse signal is not used, so that the product has high power consumption, large temperature rise and poor protection, and is not beneficial to the reliable use of the product.
In addition, if the second wireless communication module is a bluetooth communication module and a timer can be configured in the processing module, then, for the single-fire wall switch, after the system is powered on, the timer is started, and the system is awakened to perform bluetooth scanning at each certain time, so as to realize the awakening sleep cycle mentioned above.
In the description herein, reference to the terms "an implementation," "an embodiment," "a specific implementation," "an example" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (38)

1. A self-generating wireless switch is characterized by comprising: the wireless switch circuit comprises a rectifying module, an energy storage module, a voltage output module, a processor, a memory and a first wireless communication module; the generator comprises a motion part and an induction part;
the wireless switch button directly or indirectly transmits to the motion part of the generator, and the reset component directly or indirectly transmits to the motion part of the generator, wherein: the wireless switch key can be pressed to drive the moving part to move in a first direction, the reset part can deform when the moving part moves in the first direction and generate a reset acting force for overcoming the deformation, and the reset part can drive the moving part to move in a second direction by utilizing the reset acting force after the acting force for pressing the wireless switch key is removed, and the wireless switch key rebounds;
the induction part is electrically connected with the rectification module so as to generate a first induction voltage when the motion part moves in a first direction and generate a second induction voltage when the motion part moves in a second direction;
the rectifying module is electrically connected with the energy storage module so as to store first electric energy corresponding to the first induction voltage and/or second electric energy corresponding to the second induction voltage in the energy storage module;
the energy storage module is electrically connected with the voltage output module to transmit the stored electric energy to the voltage output module;
the voltage output module is electrically connected with the processor, the memory and the first wireless communication module so as to output required power supply voltage to the processor, the memory and the first wireless communication module by using the electric energy transmitted by the energy storage module, so that the processor, the first wireless communication module and the memory are electrified;
the first wireless communication module can communicate with controlled equipment, and the processor is electrically connected with the first wireless communication module so as to send first control information to the controlled equipment by using the first wireless communication module after the processor, the memory and the first wireless communication module are powered on;
when the processor sends the first control information to the controlled device by using the first wireless communication module, the processor is specifically configured to:
the processor broadcasts M groups of data packets outwards in sequence through the first wireless communication module, so that: the controlled equipment captures at least one data packet in an awakening period of an awakening sleep cycle, wherein each group of data packets comprises a plurality of data packets, and each data packet comprises the first control information; and the broadcast interval of two adjacent groups of data packets in the M groups of data packets is matched with the awakening sleep cycle, wherein M is more than or equal to 2, the awakening sleep cycle comprises an awakening period and a sleep period which are alternated, and the controlled equipment only receives the data packets in the awakening period.
2. The self-generating wireless switch according to claim 1,
the duration of the awakening time interval is greater than or equal to the broadcasting interval of two adjacent groups of data packets;
the duration of the sleep period is less than or equal to M-1 times the broadcast interval.
3. The self-generating wireless switch according to claim 2, wherein the plurality of data packets in the same group are transmitted through at least two of the following channels:
2.402GHz;2.428GHz;2.480GHz。
4. the self-generating wireless switch according to claim 1, wherein the processor sequentially broadcasts M groups of packets to the outside through the first wireless communication module, comprising:
the processor counts the time of the broadcast interval after starting to send a group of data packets, and sends out a corresponding group of data packets when the counted time reaches the specified packet sending interval time length.
5. The self-generating wireless switch according to claim 4, wherein the specified inter-packet interval duration is in an interval range of 15 milliseconds to 25 milliseconds.
6. The self-generating wireless switch according to any one of claims 1 to 5, wherein the first wireless communication module is a first Bluetooth communication module.
7. The self-generating wireless switch according to any one of claims 1 to 5, wherein the rectifying module comprises a first rectifying part and a second rectifying part; the first rectifying part is electrically connected with the induction part of the generator and the energy storage module, and the second rectifying part is electrically connected with the induction part and the energy storage module;
the first rectifying part is used for rectifying the first induction voltage and storing corresponding first electric energy in the energy storage module;
the second rectifying portion is used for rectifying the second induction voltage and storing corresponding second electric energy in the energy storage module.
8. The self-generating wireless switch according to any one of claims 1 to 5, wherein the wireless switch circuit further comprises a polarity identification module, the polarity identification module is electrically connected between the sensing portion and the processor, so as to feed back a press-down identification signal to the processor when the sensing portion outputs the first sensing voltage, and feed back a spring-back identification signal to the processor when the sensing portion outputs the second sensing voltage.
9. The self-generating wireless switch according to claim 8, wherein the polarity recognition module comprises a press recognition portion and a rebound recognition portion;
the press identification part is electrically connected with the sensing part and a first signal end of the processor, so that when the sensing part outputs the first sensing voltage, a specified signal is fed back to the first signal end to serve as the press identification signal;
the springback identification part is electrically connected with the sensing part and a second signal end of the processor, so that when the sensing part outputs the second sensing voltage, a designated signal is fed back to the second signal end to serve as the springback identification signal.
10. The self-generating wireless switch according to any one of claims 1 to 5, wherein the memory comprises: a first memory for storing a program, the first memory electrically connected to the processor.
11. The self-generating wireless switch according to claim 10, wherein the memory further comprises: and the second memory is used for storing current key information and/or a current verification identifier, the current key information represents a wireless switch key which is pressed last time, and the current verification identifier is used as a verification basis of control information sent by the self-generating wireless switch.
12. The self-generating wireless switch according to claim 11, wherein the second memory is a memory capable of erasing, writing and reading data in units of one or more bytes, wherein the writing and reading time of a single byte is not more than 10ms, and the consumed energy is not more than 300 uJ.
13. The self-generating wireless switch according to any one of claims 1 to 5, wherein the voltage output module comprises a controller, an energy storage capacitor and a freewheeling unit;
the input side of the controller is electrically connected with the energy storage module, the output side of the controller is electrically connected with the first end of the follow current unit, the second end of the follow current unit is directly or indirectly electrically connected with the processor and/or the first wireless communication module, and the energy storage capacitor is electrically connected between the second end of the follow current unit and the ground; the controller is configured to control on and off between the input side and the output side of the controller, and adjust the voltage output by the follow current unit and the energy storage capacitor by adjusting the switching frequency of on and off and the time length of on or off.
14. The self-generating wireless switch according to any one of claims 1 to 5, wherein the wireless switch circuit further comprises a detection unit, the self-generating wireless switch further comprises a transmission component, the number of the wireless switch keys is at least two, and the wireless switch keys are in one-to-one correspondence with the detection unit;
the transmission component is transmitted between the wireless switch keys and the motion part, wherein any one of the wireless switch keys can directly or indirectly transmit the transmission component to change from a first position state to a second position state when being pressed down, and when the transmission component changes from the first position state to the second position state, the transmission component can drive the motion part to move in the first direction;
the transmission component is transmitted to the reset component, and the reset component can drive the transmission component to change from the second position state to the first position state by utilizing the reset acting force after the acting force for pressing the wireless switch key is removed; when the transmission component changes from the second position state to the first position state, the transmission component can drive the motion part to move in the second direction, and the wireless switch key can rebound;
the processor is electrically connected with the detection unit so as to acquire a corresponding key trigger signal after the processor is powered on and the detection unit is triggered, wherein the key trigger signal represents a pressed wireless switch key.
15. A controlled device, characterized in that the controlled device is capable of communicating with the first wireless communication module in the self-generating wireless switch according to any one of claims 1 to 14;
the controlled device is used for capturing the data packet of the first control information sent by the first wireless communication module according to the awakening sleep cycle.
16. The controlled device of claim 15, wherein the controlled device comprises at least one of: wall switch, curtain, lamps and lanterns, fan, doorbell.
17. The controlled apparatus of claim 16, wherein the wall switch comprises: the wall switch comprises a wall switch key, a wall switch circuit, a live wire input binding post and a live wire output binding post;
the wall switch circuit comprises a power taking module, a processing module, a second wireless communication module, at least one key identification module, an output on-off module, a driving module and an indication module; one end of the output on-off module is directly or indirectly electrically connected with the live wire input binding post, and the other end of the output on-off module is directly or indirectly electrically connected with the live wire output binding post;
the power taking module is electrically connected with the wiring terminal, the processing module, the second wireless communication module and the driving module so as to convert the accessed alternating current into required direct current and transmit the required direct current to the processing module, the second wireless communication module and the driving module;
the second wireless communication module is electrically connected with the processing module so as to feed back control information received from the intermediate equipment or the self-generating wireless switch to the processing module;
the position of the key identification module is matched with a corresponding wall switch key so as to be triggered when the corresponding wall switch key moves, and the key identification module is electrically connected with the processing module so as to transmit a corresponding trigger signal to the processing module when the key identification module is triggered;
the processing module is electrically connected with the driving module so as to send the received control information or the control signal corresponding to the trigger signal to the driving module;
the processing module is also electrically connected with the indicating module so as to feed back an indicating signal matched with the control signal to the indicating module; the outward indication state of the indication module can be changed along with the indication signal;
the driving module is electrically connected with the control end of the output on-off module so as to respond to the control signal and drive the on-off of the output on-off module.
18. The controlled equipment according to claim 17, wherein the electricity taking module comprises an alternating current-direct current converter, and a direct current voltage converter;
the alternating current-direct current converter is electrically connected with the wiring terminal and the direct current voltage converter respectively, so as to be used for converting the alternating current into direct current and transmitting the direct current to be converted to the direct current voltage converter;
the direct-current voltage converter is electrically connected with the processing module, the second wireless communication module and the driving module so as to convert the direct current to be converted into the required voltage.
19. The controlled apparatus of claim 18,
the alternating current-direct current converter comprises an ON state power-taking unit and an OFF state power-taking unit;
the live wire input binding post, the ON state electricity taking unit, the output ON-OFF module and the live wire output binding post are directly or indirectly and sequentially electrically connected, and the live wire input binding post, the OFF state electricity taking unit and the live wire output binding post are directly or indirectly and sequentially electrically connected;
the direct current output end of the ON-state electricity taking unit is electrically connected with the direct current voltage converter so as to obtain the electric energy of the alternating current when the output ON-off module is conducted and output the direct current to be converted to the direct current voltage converter based ON the obtained electric energy;
the direct current output end of the OFF state electricity taking unit is electrically connected with the direct current voltage converter so as to obtain the electric energy of the alternating current when the output on-OFF module is disconnected, and the direct current to be converted is output to the direct current voltage converter based on the obtained electric energy.
20. The controlled device according to claim 19, wherein the ON-state power supply unit includes an ON-state power supply switch, an ON-state bypass diode, an ON-state power supply control portion, and a rectification energy storage portion;
the first end of the ON state power-taking switch is directly or indirectly electrically connected with the live wire input binding post, and the second end of the ON state power-taking switch is respectively and electrically connected with the output ON-off module and the direct-current voltage converter;
the ON state power-taking switch is connected in series with the output ON-off module and then connected between the live wire input binding post and the live wire output binding post; the ON-state bypass diode is connected in parallel with the ON-state power-taking switch;
the rectification energy storage part is electrically connected with an ON-state power taking node between the ON-state power taking switch and the output ON-off module and used for storing electric energy generated by the ON-state power taking node, and the rectification energy storage part is electrically connected with the direct-current voltage converter to output the direct current to be converted;
the sampling end of the ON-state electricity-taking control portion is electrically connected with one end of the ON-state electricity-taking switch, and the control end of the ON-state electricity-taking control portion is electrically connected with the control end of the ON-state electricity-taking switch tube.
21. The controlled device of claim 20, wherein the rectifying energy storage portion comprises a rectifying diode, an energy storage capacitor; the ON-state electricity taking unit further comprises a power supply diode;
the positive electrode of the rectifier diode is electrically connected with the ON-state power taking node, the negative electrode of the rectifier diode is electrically connected with the first end of the energy storage capacitor, the second end of the energy storage capacitor is grounded, and the first end of the energy storage capacitor is also electrically connected with the direct-current voltage converter; the positive electrode of the power supply diode is electrically connected with the ON-state power taking node, and the negative electrode of the power supply diode is electrically connected with the power supply end of the ON-state power taking control part.
22. The controlled apparatus according to claim 20, wherein an output terminal of the ON state power control section is electrically connected to a reset terminal of a designated circuit section to transmit a reset control signal to the reset terminal, wherein the designated circuit section is the processing module and/or the dc voltage converter; the reset control signal is related to the charging process of the rectification energy storage part in the ON state electricity taking unit.
23. The controlled device of claim 22, wherein the reset control signal comprises:
when rectification energy storage portion begins to charge and not charge and accomplish in the unit is got to the ON state, the first control signal that resets of control portion is got to the ON state, and:
when the charging of the rectification energy storage part in the ON state power taking unit is completed, a second reset control signal fed back by the ON state power taking control part is as follows:
the designated circuit portion is configured to be capable of remaining in a non-activated state when the reset terminal receives the first reset control signal, and the designated circuit portion is further capable of entering a reset-activated state when the reset terminal thereof receives the second reset control signal.
24. The controlled device of claim 19, wherein the number of output on-off modules, the number of live output studs, and the number of drive modules are all N; wherein N is more than or equal to 2; each output ON-off module is connected with one live wire output terminal in series and then connected in parallel to the ON state power taking unit, and each driving module is electrically connected with a control end of one output ON-off control module.
25. The controlled equipment according to claim 19, wherein the OFF-state power supply unit includes an OFF-state power supply control portion, a transformer, an OFF-state power supply rectifying portion, an output capacitor, an output diode, an input capacitor; the transformer comprises a first winding and a second winding induced to the first winding;
the first side of the OFF state power-taking rectifying part is used for accessing the alternating current, the first end of the second side of the OFF state power-taking rectifying part is electrically connected with the first end of the first winding, and the second end of the second side of the OFF state power-taking rectifying part is grounded; the first end of the input capacitor is electrically connected with the first end of the first winding, the second end of the input capacitor is grounded, and the second end of the first winding is grounded through the OFF state power-taking control part; the OFF state electricity taking control part can control the on-OFF between the second end of the first winding and the ground;
the first end of the second winding is electrically connected with the anode of the output diode, the cathode of the output diode and the first end of the output capacitor are electrically connected with the direct current voltage converter to output the direct current to be converted, and the second end of the output capacitor is grounded.
26. The controlled apparatus according to claim 25, wherein the OFF state power taking unit further includes a feedback portion electrically and respectively electrically connecting a sampling terminal of the OFF state power taking control portion and the first terminal of the output capacitor to detect the voltage of the direct current to be converted and feed back a detection result to the OFF state power taking control portion.
27. The controlled device according to claim 25, wherein the transformer further includes an auxiliary winding induced in the first winding or the second winding, the OFF state power taking unit further includes an auxiliary diode, an auxiliary resistor and an auxiliary capacitor, the auxiliary diode is electrically connected to a first end of the auxiliary winding, a second end of the auxiliary diode is electrically connected to a first end of the auxiliary capacitor via the auxiliary resistor, a second end of the auxiliary capacitor is grounded, and the first end of the auxiliary capacitor is further electrically connected to a power supply terminal of the OFF state power taking control unit.
28. The controlled device of claim 25, wherein the number of output on/off modules, the number of live output terminals, and the number of driving modules are all N;
each output ON-off module is connected with one live wire output binding post in series and then is connected with the ON-state power taking unit in parallel, and each driving module is electrically connected with the control end of one output ON-off control module; wherein N is more than or equal to 2;
the OFF state power-taking rectifying part can rectify alternating current between the live wire input binding posts and each live wire output binding post.
29. The controlled device according to claim 28, wherein the OFF state power-taking rectifying portion includes rectifying bridges each including a first rectifying diode, a second rectifying diode, a third rectifying diode, and a fourth rectifying diode;
the cathode of the first rectifier diode is electrically connected with the anode of the second rectifier diode to form a first node of the rectifier bridge; the cathode of the second rectifier diode is electrically connected with the cathode of the fourth rectifier diode to form a second node of the rectifier bridge; the anode of the fourth rectifier diode is electrically connected with the cathode of the third rectifier diode to form a third node of the rectifier bridge; the positive electrode of the first rectifying diode is electrically connected with the positive electrode of the third rectifying diode to form a fourth node of the rectifying bridge;
the number of the rectifier bridges is two, namely a first rectifier bridge and a second rectifier bridge;
n is 2 or 3, the N output on-off modules comprise a first output on-off module, and the N output on-off modules also comprise a second output on-off module and/or a third output on-off module; the N live wire output binding posts comprise first live wire output binding posts, and the N live wire output binding posts further comprise second live wire output binding posts and/or third live wire output binding posts;
a first node of the first rectifier bridge is electrically connected to the live wire input binding post, a second node of the first rectifier bridge and a second node of the second rectifier bridge are both electrically connected to the first end of the input capacitor, a third node of the first rectifier bridge is electrically connected between the first output on-off module and the first live wire output binding post, and a fourth node of the first rectifier bridge and a fourth node of the second rectifier bridge are both grounded;
wherein:
if N output on-off module has included second output on-off module, just N live wire output terminal has included second live wire output terminal, then: a first node of the second rectifier bridge is electrically connected between the second output on-off module and the second live wire output binding post;
if N output on-off module has included third output on-off module, and N live wire output terminal has included third live wire output terminal, then: and a third node of the second rectifier bridge is electrically connected between the third output on-off module and the third live wire output binding post.
30. The controlled device of claim 17, wherein the switching circuit further comprises a fuse module electrically connected between the live input terminal and the power take module.
31. The controlled device according to claim 17, wherein the indication module includes a light-emitting indication unit electrically connected to the processing module, and the outward indication state includes a state in which the light-emitting indication unit emits light and a state in which the light-emitting indication unit does not emit light outward.
32. A control system comprising the self-generating wireless switch of any one of claims 1 to 14, and the controlled device of any one of claims 15 to 31.
33. The control system of claim 32, further comprising an intermediate device,
the first wireless communication module can also communicate with the intermediate device to send second control information to the intermediate device.
34. The control system of claim 33, wherein the intermediate device is further capable of communicating with the controlled device.
35. The control system of claim 34, wherein the intermediate device is an intermediate device with voice signal acquisition and recognition functions,
the intermediate device is configured to be capable of transmitting information to the controlled device to transmit third control information corresponding to the voice signal to the controlled device.
36. The control system of claim 34, wherein the intermediate device is configured to receive information sent by the controlled device to receive status reporting information from the controlled device.
37. The control system of claim 33, wherein the intermediate device is in communication with the self-generating wireless switch via bluetooth signals, the intermediate device comprising at least one of: bluetooth gateway, have the pronunciation audio amplifier of bluetooth gateway function.
38. The control system of claim 33, wherein the intermediate device and the controlled device are in communication via bluetooth signals.
CN202110531078.6A 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system Active CN113433841B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN202110531078.6A CN113433841B (en) 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system
CN202210658615.8A CN115421407A (en) 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system
CN202210658617.7A CN115421408A (en) 2021-05-16 2021-05-16 Self-generating wireless switch
PCT/CN2022/092236 WO2022242526A1 (en) 2021-05-16 2022-05-11 Self-powered wireless switch, controlled device, and control system
PCT/CN2022/092212 WO2022242523A1 (en) 2021-05-16 2022-05-11 Self-powered switch and processing method therefor, and receiver and processing method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110531078.6A CN113433841B (en) 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202210658615.8A Division CN115421407A (en) 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system
CN202210658617.7A Division CN115421408A (en) 2021-05-16 2021-05-16 Self-generating wireless switch

Publications (2)

Publication Number Publication Date
CN113433841A CN113433841A (en) 2021-09-24
CN113433841B true CN113433841B (en) 2022-05-31

Family

ID=77802505

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202210658615.8A Pending CN115421407A (en) 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system
CN202210658617.7A Pending CN115421408A (en) 2021-05-16 2021-05-16 Self-generating wireless switch
CN202110531078.6A Active CN113433841B (en) 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN202210658615.8A Pending CN115421407A (en) 2021-05-16 2021-05-16 Self-generating wireless switch, controlled equipment and control system
CN202210658617.7A Pending CN115421408A (en) 2021-05-16 2021-05-16 Self-generating wireless switch

Country Status (2)

Country Link
CN (3) CN115421407A (en)
WO (2) WO2022242523A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115421407A (en) * 2021-05-16 2022-12-02 武汉领普科技有限公司 Self-generating wireless switch, controlled equipment and control system
CN115410846A (en) * 2021-05-16 2022-11-29 武汉领普科技有限公司 Switch control method, self-generating switch and receiving end
CN114364000B (en) * 2021-12-10 2024-04-02 绿碳智能建筑(杭州)有限公司 Single-fire switch control method and device
CN115019494B (en) * 2022-06-02 2024-02-06 武汉领普科技有限公司 Wireless switch, processing method and control system of wireless switch

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202615143U (en) * 2011-11-02 2012-12-19 武汉领普科技有限公司 Self-power-generation wireless switch control device
CN104062920A (en) * 2014-06-24 2014-09-24 杭州派尼澳电子科技有限公司 No-battery wireless switch and control method thereof
CN104407522A (en) * 2013-08-26 2015-03-11 刘远芳 Self-power-generation wireless switch
CA2853372A1 (en) * 2014-06-04 2015-12-04 Levven Automation Inc. Wireless light switch system and method, load controller device, and remote switch device
JP2018207500A (en) * 2018-07-23 2018-12-27 三菱電機株式会社 Household electric appliance, operation management device for the same, and operation management system for household electric appliance
CN110286624A (en) * 2019-07-04 2019-09-27 北京小米移动软件有限公司 Wireless controlled molding group, wireless switch on wall, electrical equipment and system
CN110828211A (en) * 2019-10-30 2020-02-21 广东昇辉电子控股有限公司 Wireless self-generating switch with reset function
CN111180241A (en) * 2020-01-18 2020-05-19 武汉领普科技有限公司 Self-generating switch with light emitting module and processing method thereof
CN111221273A (en) * 2020-01-18 2020-06-02 武汉领普科技有限公司 Control method, system, gateway, wall switch and cloud based on wireless switch
CN211720263U (en) * 2020-04-27 2020-10-20 武汉领普科技有限公司 Intelligent switch, wireless control device and power supply control system
CN112106123A (en) * 2020-08-14 2020-12-18 廖淑辉 Ultrathin self-powered wireless switch and method and application thereof

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8627086B2 (en) * 2004-10-11 2014-01-07 Telefonaktiebolaget Lm Ericsson (Publ) Secure loading and storing of data in a data processing device
CN100488168C (en) * 2005-12-13 2009-05-13 华为技术有限公司 Method for safety packaging network message
CN107367948B (en) * 2016-05-13 2020-08-28 南宁富桂精密工业有限公司 Intelligent switch system and control method thereof
CN105960002A (en) * 2016-06-24 2016-09-21 江苏博悦物联网技术有限公司 Data packet system and wireless communication data packet sending method
CN107026874A (en) * 2017-06-02 2017-08-08 李维刚 One kind instruction signature and verification method and system
KR102062633B1 (en) * 2017-06-05 2020-02-11 한국전력공사 Highly efficient self -powered wireless sensor and sensor module
CN109756460B (en) * 2017-11-06 2021-07-09 中移(杭州)信息技术有限公司 Replay attack prevention method and device
CN109039971B (en) * 2018-08-20 2021-03-05 深圳市银河风云网络系统股份有限公司 Data sending method and device
CN108734906A (en) * 2018-08-24 2018-11-02 深圳市无电通科技有限公司 Self generating door bell device and control method
CN110246316A (en) * 2019-06-06 2019-09-17 广东易百珑智能科技有限公司 Self-powered emitter, wireless control system and its wireless control method
CN111083654B (en) * 2019-12-18 2022-09-16 欧普照明股份有限公司 Method for realizing control of wireless passive switch, wireless passive switch and proxy node
CN111273579B (en) * 2020-01-18 2021-03-05 武汉领普科技有限公司 Receiver, processing method and system thereof and control assembly based on self-generating switch
CN115421407A (en) * 2021-05-16 2022-12-02 武汉领普科技有限公司 Self-generating wireless switch, controlled equipment and control system
CN113517951B (en) * 2021-05-16 2022-06-03 武汉领普科技有限公司 Self-generating switch and processing method thereof, receiver and processing method thereof
CN115410846A (en) * 2021-05-16 2022-11-29 武汉领普科技有限公司 Switch control method, self-generating switch and receiving end
CN216649662U (en) * 2021-05-16 2022-05-31 武汉领普科技有限公司 Self-generating wireless switch
CN216016509U (en) * 2021-05-16 2022-03-11 武汉领普科技有限公司 Control system
CN115421402A (en) * 2021-05-16 2022-12-02 武汉领普科技有限公司 Processing method of self-generating switch and control system thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202615143U (en) * 2011-11-02 2012-12-19 武汉领普科技有限公司 Self-power-generation wireless switch control device
CN104407522A (en) * 2013-08-26 2015-03-11 刘远芳 Self-power-generation wireless switch
CA2853372A1 (en) * 2014-06-04 2015-12-04 Levven Automation Inc. Wireless light switch system and method, load controller device, and remote switch device
CN104062920A (en) * 2014-06-24 2014-09-24 杭州派尼澳电子科技有限公司 No-battery wireless switch and control method thereof
JP2018207500A (en) * 2018-07-23 2018-12-27 三菱電機株式会社 Household electric appliance, operation management device for the same, and operation management system for household electric appliance
CN110286624A (en) * 2019-07-04 2019-09-27 北京小米移动软件有限公司 Wireless controlled molding group, wireless switch on wall, electrical equipment and system
CN110828211A (en) * 2019-10-30 2020-02-21 广东昇辉电子控股有限公司 Wireless self-generating switch with reset function
CN111180241A (en) * 2020-01-18 2020-05-19 武汉领普科技有限公司 Self-generating switch with light emitting module and processing method thereof
CN111221273A (en) * 2020-01-18 2020-06-02 武汉领普科技有限公司 Control method, system, gateway, wall switch and cloud based on wireless switch
CN211720263U (en) * 2020-04-27 2020-10-20 武汉领普科技有限公司 Intelligent switch, wireless control device and power supply control system
CN112106123A (en) * 2020-08-14 2020-12-18 廖淑辉 Ultrathin self-powered wireless switch and method and application thereof

Also Published As

Publication number Publication date
CN115421407A (en) 2022-12-02
CN115421408A (en) 2022-12-02
WO2022242526A1 (en) 2022-11-24
WO2022242523A1 (en) 2022-11-24
CN113433841A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN113433841B (en) Self-generating wireless switch, controlled equipment and control system
CN113410971B (en) Self-generating switch and processing method and control system thereof
CN113517152B (en) Switch control method, receiving end control method, self-generating switch and receiving end
CN216649662U (en) Self-generating wireless switch
CN101707827B (en) Battery power supply control method of LED lamp and system
CN108734906A (en) Self generating door bell device and control method
CN111180241B (en) Self-generating switch with light emitting module and processing method thereof
CN109963396A (en) A kind of switch detection circuit
CN216016509U (en) Control system
CN211063817U (en) Flash detection control device, electronic equipment comprising same and system
CN110139432B (en) Low-power-consumption carrier control light-emitting diode lamp and lamp string thereof
CN211720263U (en) Intelligent switch, wireless control device and power supply control system
CN107148132B (en) Single live wire on-state power taking circuit
CN111538268B (en) Single-fire electricity taking intelligent switch, wireless control device and power supply control system
CN216648146U (en) Intelligent wall switch
CN205751203U (en) Wireless remote controller
CN111654943A (en) Intelligent LED lamp with passive kinetic energy switch control and implementation method thereof
CN201450643U (en) Remote control power switch and a power switch system
CN212063804U (en) Intelligent remote controller capable of generating electricity
CN206268856U (en) An a kind of lamp
CN208938274U (en) Self generating door bell device
CN214339601U (en) Electric mosquito swatter
CN208938275U (en) Self generating door bell device
CN217423490U (en) Induction humidifier
CN211908431U (en) Lithium battery management circuit for dust collector

Legal Events

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