WO2022242526A1 - Self-powered wireless switch, controlled device, and control system - Google Patents

Self-powered wireless switch, controlled device, and control system Download PDF

Info

Publication number
WO2022242526A1
WO2022242526A1 PCT/CN2022/092236 CN2022092236W WO2022242526A1 WO 2022242526 A1 WO2022242526 A1 WO 2022242526A1 CN 2022092236 W CN2022092236 W CN 2022092236W WO 2022242526 A1 WO2022242526 A1 WO 2022242526A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
electrically connected
output
terminal
power
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.)
Ceased
Application number
PCT/CN2022/092236
Other languages
French (fr)
Chinese (zh)
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
Publication of WO2022242526A1 publication Critical patent/WO2022242526A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Program 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

Definitions

  • the invention relates to the field switch field, in particular to a self-generating wireless switch, a controlled device and a control system.
  • a wireless switch can be understood as a switch equipped with a wireless communication module.
  • One of the wireless switches is a self-generating wireless switch.
  • a self-generating wireless switch In a traditional self-generating wireless switch, it usually communicates externally through a radio frequency communication module.
  • a self-generating wireless switch It can communicate with various controlled devices (such as lamps, wall switches, etc.) through radio frequency signals.
  • self-generating wireless switches and controlled devices can form a control system.
  • the electric energy generated by the generator of the self-generating wireless switch is directly transmitted to the electric components (such as the processor), so it is difficult to ensure the stability of electric energy transmission, and further, due to the influence of electric energy stability, it may cause
  • the self-generating wireless switch cannot send information timely and accurately, which affects the timeliness and accuracy of the control between the self-generating wireless switch and the controlled equipment.
  • the invention provides a self-generating wireless switch, a controlled device and a control system to solve the problem that it is difficult to guarantee the timeliness and accuracy of control.
  • a self-generating wireless switch including: a wireless switch button, a wireless switch circuit, a generator and a reset component, and the wireless switch circuit includes a rectification module, an energy storage module, a voltage output module, A processor, a memory, and a first wireless communication module; the generator includes a movement part and an induction part;
  • the wireless switch key is directly or indirectly transmitted to the moving part of the generator, and the reset part is directly or indirectly transmitted to the moving part of the generator, wherein: the wireless switch key can transmit the movement when pressed part moves in the first direction, the reset part can be deformed when the moving part moves in the first direction, and generate a reset force to overcome the deformation, and the reset part can also make the wireless After the pressing force of the switch button is removed, the moving part is driven to move in the second direction by using the reset force, and the wireless switch button rebounds;
  • the induction part is electrically connected to the rectification module, so as to generate a first induced voltage when the moving part moves in a first direction, and generate a second induced voltage when the moving part moves in a second direction;
  • the rectification module is electrically connected to the energy storage module, so as to store the first electric energy corresponding to the first induced voltage and/or the second electric energy corresponding to the second induced voltage in the energy storage module;
  • the energy storage module is electrically connected to the voltage output module, so as to deliver the stored electric energy to the voltage output module;
  • the voltage output module is electrically connected to the processor, the memory and the first wireless communication module, so as to use the electric energy transmitted from the energy storage module to send the power to the processor, the memory and the first wireless communication module.
  • a wireless communication module outputs a required power supply voltage, so that the processor, the first wireless communication module and the memory are powered on;
  • the first wireless communication module can communicate with the controlled device, and the processor is electrically connected to the first wireless communication module, so that after the processor, the memory and the first wireless communication module are powered on, sending first control information to the controlled device by using the first wireless communication module;
  • the processor uses the first wireless communication module to send the first control information to the controlled device, it is specifically used for:
  • the processor sequentially broadcasts M groups of data packets externally through the first wireless communication module, so that: the controlled device captures at least one data packet during the wake-up period of the wake-up sleep cycle, wherein each group of data packets is It includes a plurality of data packets, each of which includes the first control information; the broadcast interval of two adjacent groups of data packets in the M groups of data packets is matched with the wake-up sleep cycle, where M ⁇ 2,
  • the wake-up-sleep period includes alternate wake-up periods and sleep periods, and the controlled device only receives data packets during the wake-up periods.
  • a controlled device capable of communicating with the first wireless communication module in the self-generating wireless switch of the first aspect and its optional solution;
  • the controlled device is configured to capture the data packet of the first control information sent by the first wireless communication module according to the wake-up sleep cycle.
  • a control system including the self-generating wireless switch related to the first aspect and its optional solution, and the controlled device related to the second aspect and its optional solution.
  • the rectification module can be used to rectify the induced voltage generated by the induction part, and the rectified electric energy can be sent to the energy storage module for storage, and then the voltage output
  • the module can generate a power supply voltage based on the electric energy stored in the energy storage module, and supply power to the circuit parts (such as processor, first wireless communication module, memory, etc.) that need power to form a stable power supply and avoid waste of electric energy , to achieve efficient use of electric energy.
  • the circuit parts such as processor, first wireless communication module, memory, etc.
  • it helps to ensure the accuracy and timeliness of the information sent, thereby ensuring the timeliness and accuracy of the control between the self-generating wireless switch and the controlled equipment.
  • a matching broadcast interval can be configured in the self-generating wireless switch, thereby effectively ensuring that the sent data packet can be received by the controlled device, and further The accuracy and timeliness of information reception are guaranteed, thereby further ensuring the timeliness and accuracy of control.
  • Fig. 1 is a structural schematic diagram 1 of a control system in an embodiment of the present invention
  • Fig. 2 is a structural schematic diagram II of the control system in an embodiment of the present invention.
  • Fig. 3 is a schematic diagram of the third structure of the control system in an embodiment of the present invention.
  • Fig. 4 is a schematic diagram of the structure of a self-generating wireless switch in an embodiment of the present invention.
  • Fig. 5 is a schematic diagram of the second structure of the self-generating wireless switch in an embodiment of the present invention.
  • FIG. 6 is a schematic circuit diagram of a rectifier module in an embodiment of the present invention.
  • FIG. 7 is a schematic circuit diagram of a polarity identification module in an embodiment of the present invention.
  • Fig. 8 is a schematic waveform diagram of a pulse signal output by the sensing part in an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of the connection of the second memory in an embodiment of the present invention.
  • Fig. 10 is a schematic circuit diagram of a voltage output module in an embodiment of the present invention.
  • Fig. 11 is a schematic diagram of the principle of sending and receiving data packets in an embodiment of the present invention.
  • Fig. 12 is a schematic structural diagram of a self-generating wireless switch in an embodiment of the present invention.
  • Fig. 13 is a partial structural schematic diagram of a self-generating wireless switch in an embodiment of the present invention.
  • Fig. 14 is a schematic structural view of the bottom case in an embodiment of the present invention.
  • Fig. 15 is a schematic structural view of transmission components in an embodiment of the present invention.
  • Fig. 16 is a partial structural schematic diagram 2 of the self-generating wireless switch in an embodiment of the present invention.
  • Fig. 17 is a schematic structural view of the middle shell in an embodiment of the present invention.
  • Fig. 18 is a schematic structural view of a waterproof layer in an embodiment of the present invention.
  • Fig. 19 is a schematic structural diagram of a button in an embodiment of the present invention.
  • Fig. 20a and Fig. 20b are schematic diagrams of the working principle of pressing the button of the wireless switch in an embodiment of the present invention.
  • Fig. 21 is a structural schematic diagram of a wall switch in an embodiment of the present invention.
  • Fig. 22 is a schematic structural view of a power-taking module in an embodiment of the present invention.
  • Fig. 23 is a schematic circuit diagram 1 of a wall switch in an embodiment of the present invention.
  • Fig. 24 is a second schematic circuit diagram of a wall switch in an embodiment of the present invention.
  • Fig. 25 is a schematic circuit diagram three of a wall switch in an embodiment of the present invention.
  • Fig. 26 is a circuit diagram four of a wall switch in an embodiment of the present invention.
  • Fig. 27 is a circuit diagram five of a wall switch in an embodiment of the present invention.
  • Fig. 28 is a schematic circuit diagram six of a wall switch in an embodiment of the present invention.
  • Fig. 29 is a circuit diagram seven of a wall switch in an embodiment of the present invention.
  • Fig. 30 is a schematic circuit diagram eight of a wall switch in an embodiment of the present invention.
  • Fig. 31 is a schematic circuit diagram of an output on-off module in an embodiment of the present invention.
  • first and second are only used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features.
  • a plurality means a plurality, such as two, three, four, etc., unless otherwise specifically defined.
  • connection and other terms should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be a mechanical connection , can also be electrically connected or can communicate with each other; it can be directly connected or indirectly connected through an intermediary, and it can be the internal communication of two components or the interaction relationship between two components.
  • connection and other terms should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be a mechanical connection , can also be electrically connected or can communicate with each other; it can be directly connected or indirectly connected through an intermediary, and it can be the internal communication of two components or the interaction relationship between two components.
  • Figure 1 provides a self-generating wireless switch 1 and a controlled device 2.
  • the figure shows a self-generating wireless switch and a controlled device 2.
  • the self-generating wireless switch and the controlled device The number can be multiple, and at the same time, wireless signal transmission can be realized between the self-generating wireless switch 1 and the controlled device 2, and the wireless signal can be Bluetooth, radio frequency, Wifi, etc., for example.
  • the controlled device 2 may be any controlled device that can be controlled by a self-generating wireless switch.
  • the controlled device 2 may be a wall switch, electronic doorbell, lamp, automatic curtain, fan, etc.
  • the self-generating wireless switch 1 includes a wireless switch button 101, a generator 103, a switch circuit and a reset component 102, and the switch circuit includes: a processor 108, a memory 107, a rectification module 104, An energy storage module 105 , a voltage output module 106 , and a first wireless communication module 109 .
  • the generator 103 , the rectification 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 mentioned below may include direct electrical connection and indirect electrical connection.
  • the generator 103 can generate electricity when the wireless switch button 101 is manipulated (for example, pressed down and/or rebounded), and generates electric energy, which can be used to directly or indirectly supply power to 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 separated or integrated together, and if they are integrated together, then: for the processor 108, the wireless communication module 109 and the memory
  • the power supply of 107 can be realized based on the same power supply terminal.
  • the generator 103 may include a moving part 1031 and an induction part 1032 .
  • the moving part 1031 can be understood as a part or a combination of parts that can be driven by at least one of the buttons, reset parts, etc. to move, and the sensing part 1032 can be understood as being able to interact with the moving part 1031, so that when the moving part moves A component or a combination of components that generates electrical energy by induction, and any structure that can generate electrical energy based on motion in the art can be used as an optional solution in the embodiment of the present invention.
  • the generator 103 can be configured with a permanent magnet, a magnetically conductive portion, and a coil portion, and the coil portion can be arranged on the magnetically conductive portion, and then, when the permanent magnet portion and the magnetically conductive portion move relative to each other, the coil portion can generate inductive voltage.
  • the coil part wherein can be regarded as the induction part 1032 mentioned above, and the permanent magnet part or the magnetic conduction part wherein can be regarded as the moving part 1031 mentioned above, that is: in some examples, the permanent magnet part moves, thereby Direct and indirect transmission with keys, reset components, etc. In another example, the magnetic conduction part moves, thereby directly and indirectly transmits with keys, reset components, etc. It can be seen that the sensing part 1032 may move together with the moving part 1031 , or may not move together with the moving part 1031 .
  • the first wireless communication module 109 and the memory 107 are electrically connected to the processor 108, the induction part 1032 of the generator 103 is electrically connected to the energy storage module 105 through the rectification module 111, and the energy storage module 105 is electrically connected to the energy storage module 105 through the
  • the voltage output module 106 is electrically connected to the first wireless communication module 109, the processor 108 and the memory 107 (for example, connected to the power supply of the first wireless communication module 109, the processor 108 and the memory 107 end), the reset member 102 (such as torsion spring, shrapnel, tension spring, etc.) can be transmitted with the moving part 1031 of the generator 103, and the wireless switch button 101 can also be directly or indirectly connected part 1031 transmission, 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.
  • the reset component 102 can be directly driven to the moving part 1031 , and in another part of the scheme, the reset component 102 can also be driven to a button or other components, thereby being indirectly driven to the moving part 1031 .
  • the reset component 102 is used for: if the wireless switch button 101 is pressed down, then: deform and generate a reset force to overcome the deformation; if the wireless switch button 101 rebounds, The manipulation action is: to drive the moving part 1031 of the generator 103 under the action of the reset force.
  • the wireless switch button 101 when the wireless switch button 101 is pressed down, it can drive the moving part 1031 to move in the first direction, and the reset part 102 can deform when the moving part 1031 moves in the first direction, and generate an overcoming The resetting force of the deformation, the resetting component 102 can also use the resetting force to drive the moving part 1031 to move in the second direction after the pressing force of the wireless switch button 101 is removed , and the button rebounds.
  • the generator 103 is used for: if the wireless switch button 101 is pressed down, the moving part 1031 of the generator 103 is directly or indirectly driven by the wireless switch button 101 to make the power generation
  • the induction part 1032 of the machine 103 generates a first induced voltage
  • the wireless switch button 101 performs a rebound control action
  • the moving part 1031 of the generator 103 is driven by the reset part 102, so that the generator generating a second induced voltage
  • the induction part 1032 is electrically connected to the rectification module 111, so that when the movement part 1031 moves in the first direction, a first induced voltage is generated, and when the movement part 1031 moves in the second direction, Generate a second induced voltage.
  • the rectification module 111 is used for: storing the first electric energy corresponding to the first induced voltage and/or the second electric energy corresponding to the second induced voltage in the energy storage module 105; in a specific example, it may only store and/or Or use the first electrical energy, or only store and/or use the second electrical energy.
  • the energy storage module 105 is used to: transmit the stored electric energy to the voltage output module 106;
  • the voltage output module 106 is used to: use the transmitted electric energy (first electric energy and/or second electric energy) to provide the processor 108, the memory 107, and the first wireless communication module 109 with required The power supply voltage to make it powered on;
  • the processor 108 is used for:
  • the communication module 109 sends control information to the outside.
  • the current control message can be, for example, the first control information and the second control information.
  • the control information sent to the outside can be, for example, sending the first control information to the controlled device, and then sending the second control message to the intermediate device. 2. control information.
  • the rectification module can be used to rectify the induced voltage generated by the induction part, and the rectified electric energy can be sent to the energy storage module for storage, and then the voltage output module can generate a supply voltage based on the electric energy stored in the energy storage module , and supply power to the required circuit parts (such as processors, wireless communication modules, memory, etc.) to form a stable power supply, which can also avoid the waste of electric energy and realize the efficient use of electric energy.
  • the required circuit parts such as processors, wireless communication modules, memory, etc.
  • the button can be automatically driven to rebound, so as to realize power generation when pressing down and rebounding, and efficiently utilize kinetic energy.
  • the first wireless communication module 109 can be any circuit module capable of wireless communication, for example, it can include at least one of the following: radio frequency module, bluetooth communication module (namely the first bluetooth communication module), Wifi module and so on.
  • control system also includes an intermediate device 3 .
  • the first wireless communication module 109 can also communicate with the intermediate device 3 to send the 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 one-way, 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 is bidirectional.
  • the intermediate device 3 can also communicate with the controlled device 2, and the communication can be one-way or two-way. It can be communicated by Bluetooth signal, or by Wifi signal, radio frequency signal and so on.
  • the intermediate device 3 is an intermediate device with voice signal collection and recognition functions, for example, a circuit module for voice signal collection can be configured, and the hardware of the intermediate device can be configured as a voice signal recognition function. Furthermore, the intermediate device 3 can collect the voice signal, and form the third control information corresponding to the voice signal (which can be understood as a voice control instruction that enables the controlled device to be controlled to perform corresponding actions).
  • the intermediate device 3 is configured to be able to send information to the controlled device 2, so as to send third control information corresponding to the voice signal to the controlled device 2.
  • the intermediate device 3 may include: a voice signal acquisition unit, an intermediate equipment processing unit and an intermediate equipment communication unit electrically connected in sequence, the voice signal acquisition unit may collect voice signals, and the intermediate equipment processing unit may generate the third control information based on the voice signals, And send the third control information through the communication part of the intermediate device.
  • the intermediate device 3 is configured to be able to receive the information sent by the controlled device 2 (for example, it can be received based on the above device communication part, and the received information can be fed back to the intermediate device processing part), so as to Receive status report information from the controlled device 2 .
  • the status reporting information can be understood as information describing the working status of its hardware and/or software reported by the controlled device.
  • the controlled device and the intermediate device can realize two-way interactive transmission.
  • the intermediate device 3 includes at least one of the following: a Bluetooth gateway, and a voice speaker with a Bluetooth gateway function.
  • the self-generating wireless switch 1 also includes a polarity identification module 112; ) with the processor 108.
  • the polarity identification module 112 is electrically connected between the sensing part 1032 and the processor 108, so that when the sensing part 1032 outputs the first induced voltage, it feeds back to the processor 108 to identify signal, when it is detected that the sensing part 1032 outputs the second induced voltage, a rebound identification signal is fed back to the processor 108 .
  • the processor 108 is also used to: use the polarity recognition module 112 to recognize the current manipulation action of the button, and feed back the recognition result to the processing as the basis for generating the current control message (first control information and/or second control information).
  • 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;
  • processor 108 Before the processor 108 generates the current control message, it may also be used to:
  • the currently occurring manipulation action is a press manipulation action, then: obtain current key information through the key identification module, and update the current key information in the memory;
  • the currently occurring manipulation action is a rebound manipulation action, then: obtain the stored current key information from the memory;
  • the current control message is determined based on the switch identifier, the currently occurring manipulation action, and the obtained current key information. For example, the switch identifier can be written into the current control message, or based on the manipulation action and The current key information determines the key value, and writes the key value into the current control message.
  • the key recognition module 110 may include a detection unit (each detection unit may be, for example, a micro switch 1101, but is not limited thereto), the micro switch 1101 and the wireless switch key 101
  • the number can be one, or multiple as shown in Figure 5.
  • the processor 108 can read the fed back signal (such as a key trigger signal) to determine the key information representing the key, so as to know which key is currently pressed.
  • the self-generating wireless switch 1 further includes a transmission part 117, the number of the wireless switch buttons 101 is at least two, and the buttons correspond to the detection units (ie, the microswitches 1101) one by one.
  • the transmission part 117 is transmitted between the wireless switch button 101 and the moving part 1031, wherein any one of the wireless switch buttons 101 can be directly or indirectly transmitted
  • the transmission member 117 changes from the first position state to the second position state, and when the transmission member 117 changes from the first position state to the second position state, the transmission member 117 can drive the movement Part 1031 produces the movement in the first direction.
  • the transmission part 117 is driven by the reset part 102, and the reset part 102 can use the reset force to drive the transmission part from the
  • the second position state changes to the first position state; when the transmission part 117 changes from the second position state to the first position state, the transmission part 117 can drive the moving part to generate the movement in the second direction, and the key can rebound;
  • the processor 108 is electrically connected to the detection unit, so as to collect a corresponding key trigger signal after the processor 108 is powered on and the detection unit is triggered, and the key trigger signal represents the pressed key.
  • the polarity identification module 112 includes a push-down recognition part 1121 and a rebound recognition part 1122; the push-down recognition part 1121 is electrically connected to the generator 103 respectively.
  • the sensing part 1032 of the generator 103 is electrically connected to the processor 108, and the rebound identification part 1122 is electrically connected to the sensing part 1032 of the generator 103 and the processor 108, respectively.
  • the processor 108 identifies the current manipulation action of the key through the polarity identification module, it is specifically used for:
  • the press-down recognition unit 1121 If the specified signal (i.e., the press recognition signal) sent by the press-down recognition unit 1121 is received, it is determined that the currently occurring manipulation action is a press-down manipulation action; wherein, the press-down recognition unit 1121 only When the generator 103 generates the first induced voltage, it sends the specified signal (ie, press the identification signal) to the processor 108;
  • the specified signal i.e., the press recognition signal
  • the designated signal i.e., the rebound recognition signal
  • the rebound recognition unit 1122 it is determined that the currently occurring manipulation action is a press-down manipulation action, wherein the rebound recognition unit 1122 only
  • the generator 103 sends the specified signal (ie, the rebound identification signal) to the processor 108 only when the generator 103 generates the second induced voltage.
  • the specified signal may be, for example, any one of the following: a high-level signal, a high-pulse signal, a low-level signal, and a low-pulse signal.
  • the push-down identifying part 1121 is electrically connected to the sensing part 1032 and a first signal terminal of the processor 108, so that when the sensing part outputs the first induced voltage, it sends a signal to the first signal terminal. Feedback a specified signal as the press identification signal;
  • the rebound identification part 1122 is electrically connected to the sensing part 1032 and a second signal terminal of the processor 108, so that when the sensing part outputs the second induced voltage, it sends a signal to the second signal terminal. A specified signal is fed back as the rebound identification signal.
  • the pulse signal sent by the sensing part when pressing down and the pulse signal sent by the sensing part when rebounding can be understood with reference to the waveform shown in FIG. 8 .
  • the abscissa is time, and the ordinate is voltage.
  • the press-down identification part 1121 may include: a first press-down identification diode D21, a press-down identification second diode D22, a press-down identification first resistor R21, a press-down identification second Resistor R22, and down-press identification capacitor C21;
  • the anode of the first diode D21 for pressing down to identify is electrically connected to the first output end of the sensing part, the negative pole of the first diode D21 for pressing down to identify is electrically connected to the first end of the identifying capacitor C21 for pressing down, and the second end for pressing down to identify
  • the first end of a resistor R21, the second end of the identification capacitor C21 by pressing down is grounded, the first end of the second resistor R22 is identified by pressing down, and the cathode of the second diode D22 is electrically connected to the first terminal of the processor 108 by pressing down.
  • the controlled device such as an I/O port
  • the anode of the second diode D22 is recognized by pressing down, and the second end of the second resistor R22 is grounded by pressing down.
  • the springback recognition unit 1122 may include: a rebound recognition first diode D23, a rebound recognition second diode D24, a rebound recognition first resistor R23, a rebound recognition second Resistor R24, and rebound identification capacitor C22;
  • the anode of the rebound recognition first diode D23 is electrically connected to the second output terminal of the sensing part, the cathode of the rebound recognition first diode D23 is electrically connected to the first end of the rebound recognition capacitor C22, and the rebound recognition first
  • the first end of a resistor R23, the second end of the rebound identification capacitor C22 is grounded, the first end of the rebound identification second resistor R24, and the cathode of the second rebound identification diode D24 are electrically connected to the second terminal of the processor 108.
  • the controlled device for example, an I/O port
  • the anode of the rebound recognition second diode D24 and the second end of the rebound recognition second resistor R24 are grounded.
  • the output terminal can generate a positive pulse respectively.
  • the energy storage capacitor corresponding to the positive pulse ie, the down-press recognition capacitor C21 or the rebound recognition capacitor C22
  • the capacitor of the negative pulse of the generator will not be charged, and due to the existence of the diode, the electricity of the capacitor corresponding to the positive pulse will not flow to the capacitor corresponding to the negative pulse, so the capacitor corresponding to the negative pulse will not output a pulse signal to the processor or high level signal.
  • the processor can detect the voltage level generated by the resistor divider and take corresponding actions.
  • the first diode D21 for pressing down and the first diode D23 for rebound recognition may be isolated diodes, for example, diodes of type RB551V may be used.
  • Press down to identify the second diode D22 and bounce back to identify the second diode D24 can be used as a voltage regulator diode, for example, it can be a 3.3V voltage regulator diode, and a model MMSZ5226BS voltage regulator diode can be selected specifically.
  • the maximum power consumption is 200mW, and the reverse leakage current is 25uA.
  • only the push-down identification part can be used, and only the rebound identification part can be used.
  • the switch may only need one recognition part (for example, a push-down recognition part or a rebound recognition part).
  • a push-down recognition part for example: when there is only one push-down identification part, a high level is generated when the switch is pressed down, and the processor recognizes that it is a press-down. When the switch rebounds, the processor cannot detect the high level, which can also be considered as a rebound at this time.
  • the memory 107 includes a first memory 1071 for storing programs, and a second memory 1072 for storing current key information and/or current verification identification, the current The verification identification is used as the verification basis for the message sent by the self-generating wireless switch; the current verification identification is updated and stored in the second memory 1072; the second memory 1072 and the first memory 1071 storing programs It is a different memory, and the second memory 1072 is a memory that does not lose data after power failure.
  • the current verification ID updated and stored in the second memory 1072 is the same as the current verification ID recorded in the current control message.
  • 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 10 ms, The energy consumed does not exceed 300uJ.
  • the second memory 1072 includes Flash memory and/or ferroelectric memory.
  • the second memory 1072 also stores current key information, and the current key information represents the key that was pressed last time on the self-generating wireless switch.
  • the second memory 1072 may not select conventional FLASH, this is because conventional FALSH must be erased (written) in units of sectors, resulting in too much power required for writing, and the generator may not be able to support .
  • memory such as EEPROM, ferroelectric memory, etc., it can effectively avoid the situation that the power of the generator is difficult to support.
  • the second memory 1072 may use a 24C02 and be connected to the processor through an IIC bus.
  • the power supply (VDD-EE) of the second memory 1072 is isolated from the power supply VDD of the processor through the diode D71, so that when necessary, such as when burning data into the EEPROM in the production stage, the processor 108 is In the unpowered state, the IIC communication between the EEPROM and the programming tool is not affected by the IIC pin of the processing unit.
  • the verification identification can be read from the second memory first, and then updated (such as self-increment operation), the updated current verification identification is filled in the message and sent, and then the self-updated The current verification identification of the device is rewritten back to the second memory, after which the power will be exhausted, and both the processor and the memory will "power down" and crash.
  • the switch When the switch is pressed and/or rebounded, it will send the current button information (representing which button is pressed & released), but due to the structural limitation of the self-generating wireless switch, although the generator will generate electricity when the switch is released, it will be used Since the micro switch for detecting the key position has been released, it is impossible to identify which key is acting. Therefore, two memories are used.
  • the current key information at this time is written into the second memory;
  • the previous key information can be read from the second memory as the current key information, so that the message when rebounding also carries the key value. As a result, the probability that the controlled device can receive the message is doubled, and the reliability is improved.
  • the SCL terminal of the second memory 1072 can be connected to the VDD-EE of the processor through the resistor R72, and the SDA terminal of the second memory 1072 can be connected to the VDD-EE of the processor through the resistor R71.
  • the processor when the processor sends the current control message (for example, the first control information) to the controlled device, it may cause the controlled device to verify the current Whether the relationship between the verification identifier and the stored historical verification identifier matches the preset conversion rule of the current verification identifier, and when the relationship matches the conversion rule, execute the control event corresponding to the current control message, so
  • the historical verification identifier is determined according to the verification identifier recorded in the control message (for example, first control information) previously sent by the self-generating wireless switch to the controlled device.
  • the current control message represents at least one of the following: the self-generating wireless switch; the key currently controlled by the self-generating wireless switch; the control action currently received by the key in the self-generating wireless switch.
  • the processor may further include:
  • the current verification identification is read from the memory, and the current verification identification is changed from the first
  • the numerical transformation is updated to a second numerical value
  • the first numerical value is different from the second numerical value.
  • the current verification mark can be updated only after the manipulation action of pressing occurs, or the current verification mark can be updated only after the manipulation action of rebound occurs, or can be updated after the manipulation action of pressing The current verification mark is updated after the rebound manipulation action.
  • the processor may also write the updated current verification identifier back to the memory before the energy stored in the energy storage module is exhausted.
  • the verification mark can be any character or combination of characters that is suitable for verification.
  • the current verification mark can be understood as being issued by the self-generating wireless switch.
  • the historical verification mark can be understood as the The controlled device has been stored before the wireless switch is issued.
  • the historical verification identification can be the current verification identification sent to the controlled device and stored by the controlled device when the self-generating wireless switch last operated, or determined according to it. In other partial examples, the historical verification identification can also be It may be the current verification identifier sent to the controlled device and stored by the controlled device when a specific manipulation action (such as a push-down manipulation action or a rebound manipulation action) occurred last time from the self-generating wireless switch, or determined based on it.
  • a specific manipulation action such as a push-down manipulation action or a rebound manipulation action
  • the controlled device After receiving the current control message, the controlled device can verify whether the relationship between the current verification ID and the stored historical verification ID matches the conversion rule; and when the relationship matches the conversion rule, execute the The control event corresponding to the current control message.
  • the corresponding message (such as the current control message) may be discarded; wherein, the discarding of the current control message can be understood as not processing based on the current control message, for example : Do not execute the control event corresponding to the current control message, and do not update and change information such as historical verification identifiers based on the current control message.
  • the matching verification between the current verification identification and the historical verification identification can be used as the basis for executing the control event, and the execution of the control event of copying the message is avoided.
  • the effect of anti-copy attack is realized.
  • the matching verification of whether the current verification identifier and the historical verification identifier match the transformation rule it can also provide a basis for filtering out duplicate messages.
  • the verification identifier in the real message (that is, the control information) is transformed, and the verification identifier in the copied message is usually repeated, and then, through verification based on historical verification identifiers and transformation rules, the duplicated message can be effectively verified (The relationship between the verification identifier and the historical verification identifier usually does not match the transformation rule), thereby avoiding the execution of the control action of copying the message and ensuring security.
  • the data packet sent by the button that is, the data packet of the control message sent after the button is pressed
  • the data packet sent by the rebound that is, the rebound The data packet of the control message sent later
  • the controlled device can still respond after receiving the rebound data packet.
  • the controlled device can judge whether to execute the control event based on the verification mark and the manipulation action represented by the control message. For example, the controlled device can judge according to the serial number (that is, the verification mark), if it is pressed The data packet (that is, the current control message is a pressed control message), must respond to execute the corresponding control event; if it is a rebound data packet (that is, the current control message is a rebound control message), Then only when the pressed data packet of the same serial number (ie, the verification identifier) has not been received before, the corresponding control event is executed in response.
  • the serial number that is, the verification mark
  • the data packet that is, the current control message is a pressed control message
  • if it is a rebound data packet that is, the current control message is a rebound control message
  • the controlled device can also help to avoid repeated execution of the control message pointing to the same control event, for example: using a self-generating wireless switch to control a light (that is, the receiver is a light or connected light ), if the controlled control event is: the inversion of the light state, then: if both the press and the rebound respond, the light is turned on when the press is pressed, and then the light will be turned off after the rebound.
  • the reasonable configuration can be, for example: if the self-generating wireless switch is pressed to change the current verification mark, then: the controlled device can update and write the current verification mark in it when receiving the current control message, as a new historical verification logo.
  • the reasonable configuration can be, for example: if the self-generating wireless switch changes the current verification mark when it is pressed down, then: the controlled device can only write the verification mark in it when it receives the current control message at the time of rebound, as a new History verification ID.
  • the scheme of "the change of the verification mark occurs only after a complete press and rebound" can also save power. For example: if the serial number (that is, the current verification mark) is only updated when it rebounds, then: there is no need to update the serial number (that is, the current verification mark) when the button is pressed, especially saving the need to write the updated serial number energy consumption in memory.
  • serial numbers ie, the current verification ID
  • the controlled device can also make it easier for the controlled device to deduplicate messages according to the serial number.
  • the user presses the button of the self-generating wireless switch When the user presses the button of the self-generating wireless switch, he usually wants to get immediate feedback on the effect of the control. Furthermore, if the serial number is updated only when rebounding (that is, the target manipulation action is the manipulation action of rebounding), then all the electric energy when pressing down can be used for other tasks, especially sending signals, without spending power to update the serial number.
  • the rectification module 111 includes a first rectification part 1111 and a second rectification part 1112; the first rectification part 1111 is electrically connected to the induction part 1032 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 .
  • the rectification 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 used for:
  • the first rectification unit 1111 rectifies the first induced voltage, and stores the corresponding first electric energy in the energy storage module;
  • the second rectification unit 1112 rectifies the second induced voltage, and stores the corresponding second electric energy in the energy storage module.
  • the first rectifying part 1111 includes a first rectifying diode D11, a second rectifying diode D12, and a first rectifying resistor R11
  • the second rectifying part 1112 includes a third rectifying diode D13, a fourth rectifying diode D14 and the first rectifier resistor R12.
  • the negative pole of the first rectifying diode D11 and the negative pole of the second rectifying diode D12 can be electrically connected to the first output terminal and the second output terminal of the sensing part respectively, the positive pole of the first rectifying diode D11 and the positive pole of the second rectifying diode D12 can be grounded, At the same time, the first end of the first rectifying resistor R11 can also be connected, and the second end of the first rectifying resistor R11 is connected to the second output end;
  • the anode of the third rectifier diode D13 and the anode of the fourth rectifier diode D14 can be electrically connected to the first output end and the second output end of the sensing part respectively, the cathode of the third rectifier diode D13 and the cathode of the fourth rectifier diode D14 can be grounded, At the same time, the first terminal of the second rectifying resistor R12 can also be connected, and the second terminal of the second rectifying resistor R12 can be connected to the first output terminal.
  • the third rectifying diode D13 and the fourth rectifying diode D14 form a positive pulse rectifying part
  • the first rectifying diode D11 and the second rectifying diode D12 form a negative pulse rectifying part.
  • the voltage output module 106 may include: a controller 1061, an energy storage capacitor C61, and a freewheeling unit (for example, including a freewheeling inductor L61);
  • the input side of the controller 1061 is electrically connected to the energy storage module.
  • the enabling terminal of the controller 1061 can be connected to the energy storage module and the first terminal of the capacitor C62, and the second terminal of the capacitor C62 can be grounded.
  • the controller The output side of 1061 is electrically connected to the first end of the freewheeling unit (such as the freewheeling inductor L61), and the second end of the freewheeling unit (such as the freewheeling inductor L61) is directly or indirectly electrically connected to the processor, wireless At least one of the memory of the communication module, the energy storage capacitor C61 is electrically connected between the second end of the freewheeling unit (such as the freewheeling inductor L61) and ground; the controller 1061 is configured to be able to control its input The on and off between the side and the output side, and by adjusting the switching frequency of on and off, and the duration of on or off, the voltage output by the freewheeling unit and the energy storage capacitor is adjusted.
  • 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 it back to the inside of the controller 1061 .
  • the controller 1061 can be integrated with a PWM generation unit, which adjusts the width or frequency of the output pulse according to the feedback voltage, controls the internal or external switching tube, and intermittently charges the output inductor to achieve the purpose of voltage stabilization.
  • a resistor R63 may be provided between the output terminal of the energy storage module and the output terminal of the voltage output module (that is, the VDD terminal and the VIN terminal), and a parallel capacitor C63 and stabilizer may be provided between the VIN terminal and the ground. voltage diode D61.
  • the controlled device receives the data packet according to the preset wake-up sleep cycle (it can also be understood as controlling the wake-up and sleep of the data packet receiving function of the controlled device according to the wake-up sleep cycle), in a specific example, the controlled The device itself can wake up and sleep according to the wake-up-sleep cycle.
  • the wake-up-sleep cycle includes alternate wake-up periods and sleep periods, that is, after the wake-up period passes, it enters the sleep period, and after the sleep period passes, it enters the wake-up period, and the cycle repeats. .
  • the controlled device only receives data packets during the wake-up period.
  • the waveform of receiving and scanning is the schematic waveform of the controlled device receiving the scanning data packet, wherein the wake-up period can be represented as Ton, the sleep period can be represented as Toff, and the waveform of sending the packet is the schematic waveform of the data packet sent by the self-generating switch.
  • the raised waveform is the sending period which can be regarded as a data packet.
  • the processor sends the corresponding current control message to the controlled device through the first wireless communication module, it is specifically used for:
  • N groups of data packets are broadcast to the outside in sequence through Bluetooth, so that: the controlled device captures at least one data packet during the wake-up period, wherein each group of data packets includes a plurality of data packets, and each data packet contains the The current control message; the broadcast interval of adjacent data packets in the N groups of data packets is matched with the wake-up and sleep cycle of the controlled device, wherein, N ⁇ 2.
  • At least one data packet in the N groups of data packets sent by the self-generating wireless switch can be captured through Bluetooth, and the N groups of data packets are the self-generating wireless switches.
  • the switch broadcasts to the outside world sequentially through Bluetooth, and each data packet contains the current control message; the broadcast interval between two adjacent data packets in the N groups of data packets matches the wake-up and sleep cycle of the controlled device, Among them, N ⁇ 2.
  • the broadcast interval can be understood as: the interval between the start broadcasting times of two adjacent groups of data packets, which can also be regarded as the broadcast cycle of each group of data packets, and only one group of data packets is sent in each broadcast cycle.
  • the duration of the wake-up period is greater than or equal to the broadcast interval of two adjacent data packets
  • the duration of the sleep period is less than or equal to N-1 times the broadcast interval.
  • the controlled device can receive the data packets during the wake-up period.
  • the wake-up period Ton is within the large cycle of sending packets, there must be at least 1 packet in the window of the wake-up period Ton, that is, it is impossible for the wake-up period Ton to fall within the broadcast interval (for example, 20mS), and the wake-up period Ton is greater than or equal to Broadcast interval (eg 20mS)
  • the Toff of the dormant period must be guaranteed to be less than or equal to the broadcast interval * (N-1), for example, less than Or equal to 20mS*(N-1).
  • the specified packet sending interval (that is, the broadcast interval formed) can be selected as 20mS;
  • the wake-up sleep cycle of the controlled device can be 100mS;
  • the duty cycle can be 20%
  • the wake-up period Ton is 20mS
  • the sleep period Toff is 80mS.
  • the controlled device ie, the controlled device
  • the controlled device can scan at least 1 set of data packets. If the transmitter can send 10 sets of data packets, the controlled device can scan at least 2 sets of data packets.
  • the wake-up period Ton can be specifically 25mS
  • the sleep period Toff can be specifically 75mS
  • the corresponding duty cycle is 25%
  • the controlled device can scan at least one group data packets, and leave a certain margin.
  • the wake-up sleep period can be 125mS
  • the wake-up period Ton can be specifically 25mS
  • the sleep period can be specifically 100mS.
  • the packet sending interval is 20mS
  • 20mS*(N-1) needs to be greater than or It is equal to 100 mS
  • N ⁇ 6 that is, at least 6 groups of data packets need to be sent
  • multiple data packets in the same group are sent through at least two of the following channels:
  • the processor 108 sequentially broadcasts N groups of data packets through the Bluetooth module, it is specifically used for:
  • the above timing function can be realized by a timing module integrated in the processor.
  • the signal transmitted by the first wireless communication module is a bluetooth signal, for example, 2.4GHZ may be used as the carrier frequency, and data packets are respectively transmitted through a designated bluetooth channel.
  • the self-generating Bluetooth switch uses Bluetooth low energy technology to transmit data in 40 2-MHz channels.
  • the data is transmitted on a broadcast channel.
  • the frequencies of the three broadcast channels are: 2.402GHz for channel 37; 2.428GHz for channel 38; 2.480GHz for channel 39.
  • the processor may be integrated with the timing module mentioned above, and the timing module is used for delay in the sending interval.
  • the packet sending interval can be 20mS, specifically, it can fluctuate randomly within the range of 20mS ⁇ 5mS (that is, the specified packet sending interval can be within the range of 15 milliseconds to 25 milliseconds), so as to reduce the difference The probability of a packet sent by the switch colliding in the air.
  • the self-generating wireless switch further includes a light-emitting module 115 and a light-transmitting part 116, the light-emitting module 115 is connected to the circuit board 114, and the light-emitting module 115 is arranged on the light-transmitting part 116. part 116 inside; the light emitting module 115 is configured to emit light when the wireless switch button 101 is pressed and/or rebounded (for example, it can emit light or flash when any button is fully pressed, and can also be used when the corresponding button is fully pressed. only light up or flash when pressed), and transmit light to the outside through the light-transmitting part, which can be specifically realized through the corresponding configuration of the circuit.
  • the light-transmitting portion 116 can be, for example, a light-guiding rod.
  • the light-emitting module 115 includes a light-emitting diode, the positive pole of the light-emitting diode is connected to the positive pole of the energy storage module, and the negative pole of the light-emitting diode is connected to the negative pole of the energy storage module through a switch tube; wherein, the switch tube The control end of the control terminal is connected to the processor, or: the switch tube is a switch tube integrated in the processor.
  • the self-generating wireless switch also includes a bottom case 113 and a middle case 119, and the middle case 119 covers the bottom case 113 to form an internal space, the circuit board 114 , the switch circuit and the transmission part 117 are located in the internal space, and the button 101 is located in the side of the middle shell 119 away from the internal space.
  • the bottom case 113 may be provided without the middle case 119 .
  • the moving part 1031 of the generator 103 can be a power generation paddle, and the power generation paddle can be understood as any structure that can be touched to generate electrical energy by using mechanical energy, which can be in the shape of a sheet, Arbitrary shapes such as a rod shape and a ring shape may also be used.
  • the moving part 1031 of the generator 103 is located on the side of the generator 103 close to the non-pressing end of the button 101 (for example, the left side shown in FIG. 13 ), that is, the moving part 1031 is located at one end of the generator 103
  • the micro switch 1101 ie, the detection unit
  • the generator 103 is located on one side of the other end of the generator 103 .
  • the first end of the transmission part 117 is used to be pressed directly or indirectly by the button 5, for example, it can be controlled by the switch pressing part 1172, wherein the switch pressing part 1172 can protrude from the surface of the transmission part 117 .
  • the second end of the transmission component 117 is used to trigger the moving part 1031 when the first end thereof is pressed and/or reset by the reset force, so that the generator 103 generates electricity.
  • the movement direction of the first end and the second end of the transmission part 117 can be the same or different, no matter what way, as long as the above controlled pressing and the touch of the generating paddle are realized, it will not deviate from this embodiment. Example description.
  • the transmission part 117 can be provided with an insertion hole 1175 for inserting the electric paddle (that is, the moving part 1031 ).
  • the bottom case 113 is provided with a support portion 1131 , and the support portion 1131 extends through the circuit board 114 to the part of the circuit board 114 that is away from the bottom surface of the bottom case 113 .
  • the circuit board 114 may be provided with a through hole for passing it through, and the support portion 1131 is supported by the transmission component 117 .
  • the transmission member 117 can swing with the support portion 1131 as a fulcrum, and change between the first position state and the second position state through the swing.
  • the number of supporting parts 1131 can be two or more, which can be evenly distributed on the lower side of the transmission part 117 .
  • the supporting part 1131 can be docked with the fulcrum of the transmission part 117, and the fulcrum can be provided with a structure for realizing docking, or not provided with a structure, and the fulcrum can be a single position, or a variable Furthermore, as the swing occurs, the contact position between the support portion 1131 and the transmission member 117 may or may not change.
  • the circuit board 114 can be assembled in the inner space formed by the bottom case 113, and the generator 103 is connected with the circuit board 114, wherein, the generator 103 can be installed on the bottom case 113 by using the generator installation buckle 1137;
  • the two fulcrums are connected to the bottom shell 113, specifically, the structure formed by the connection of the two fulcrums can form a seesaw structure, and one end of the transmission part 117 is connected with the generator paddle protruding from the generator 103.
  • the reset part 102 is installed on the bottom shell 113 and connected to the other end of the transmission part 117 or a position close to the other end, the generator 103 can be reset through the transmission part 117, and the other end of the transmission part 117 can be provided with a switch Pressing part 1172 .
  • the transmission member 117 After pressing, under the action of the reset member 102 such as a torsion spring, the transmission member 117 can return to the initial position, thereby driving the generator paddle of the generator 103 to return to the initial position.
  • the button 101 can also return to the initial position under the action of the transmission part 117 .
  • the bottom shell 1 is further provided with movement limiting ribs 1132
  • the transmission part 117 is provided with movement limitation bosses 1174 .
  • the movement limiting rib 1132 extends through the circuit board 114 to the side of the circuit board 114 that is away from the bottom surface of the bottom case 113.
  • the circuit board 114 can be provided for passing through through holes, the movement limiting rib 1132 can limit the movement of the movement limitation boss 1174 and the transmission part 117 along the first reference direction and/or the second reference direction, for example, when moving, the movement limitation The rib 1132 can block the movement of the movement limiting boss 1174 .
  • the first reference direction is the direction from the pressing end to the non-pressing end of the key
  • the second reference direction is the direction from the non-pressing end to the pressing end of the key
  • the limit boss Through the cooperation of the limit boss and the limit rib, the limit can be realized with less processing difficulty.
  • the upper limit buckle 1133 is also provided on the bottom case 113 , and the upper limit buckle 1133 extends through the circuit board 114 to the bottom surface of the circuit board 114 and the bottom case 1 On the opposite side, the upper limit buckle 1133 is used to limit the movement of the transmission part 117 away from the circuit board 114 .
  • a limit snap fitting portion 1171 may be provided on the edge of the transmission component, and the upper limit snap 1133 can block the limit snap fit portion 1171 when the transmission component swings, thereby playing a limiting role.
  • the upper limit buckle 1133 can restrict the end of the transmission part 117 close to the non-pressing end to move away from the circuit board 114 .
  • the moving position of the transmission part 117 can be conveniently limited by the limit buckle and the moving limit rib 1132 .
  • the transmission part 117 mentioned above can be regarded as a rocker, and the scheme of using the support part to swing can have the advantages of easy processing and easy control of the size of the parts.
  • the transmission part 117 is connected to all the buttons 101, so that: when any at least one button 101 is pressed, All the transmission parts 117 can be pushed to change the position state.
  • the reset member 102 may be at least one of the following: a torsion spring, a shrapnel, and a spring.
  • the bottom shell 113 is provided with a torsion spring base 1134, and the torsion spring base 1134 passes through the circuit board 114 and extends to the bottom of the circuit board 114.
  • the torsion spring base 1134 is provided with a torsion spring installation shaft, the torsion spring is installed on the torsion spring installation shaft, and the torsion spring is also arranged on the transmission through a connecting rod contact.
  • the torsion spring connection portion 1173 of the component 117 is used to apply the reset force to the transmission component 117 through the connecting rod and the torsion spring connection portion 1173 .
  • the torsion spring base 1134 can also be provided with a torsion spring limiting portion, which can be used to limit the rotation position of the torsion spring.
  • the self-generating wireless switch further includes a waterproof layer 118, and the waterproof layer 118 is arranged between the middle shell 119 and the between the circuit boards 114 .
  • a surface of the waterproof layer 118 opposite to the middle case 119 can be attached to the middle case 119 .
  • the waterproof layer 118 can be provided with a switch button matching portion 1181, and the switch button matching portion 1181 protrudes from the side of the waterproof layer 118 that is away from the circuit board 114, and the middle shell 119
  • the switch button matching part 1181 passes through the button hole 1194
  • the micro switch 1101 extends into the switch button matching part 1181
  • the switch button matching part 1181 is along the button 101
  • the pressed direction is respectively connected to the button 101 and the micro switch 1101 .
  • the micro switch 1101 can be clicked through the switch key matching portion 1181 , thereby triggering the micro switch 1101 .
  • the waterproof layer 118 can also be provided with a matching part 1183 for the matching key, wherein the position of the matching part 1183 for the matching key can match the position of the matching key, and at the same time, can match the matching switch device of the matching circuit on the circuit board 114 , by pressing down the pairing button, the pairing switch device passing through the pairing button hole 1193 can be triggered through the pairing button matching part 1183, wherein, the structural relationship between the pairing switch device, the pairing button hole, the pairing button matching part and the pairing button can be referred to in The structural relationship between the micro switch 1101 , the button hole 1194 , the switch button matching part 1181 and the button 101 is understood.
  • the waterproof layer 118 can also be provided with a press fit part 1184 whose position can match with the press part accommodating 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 up.
  • the waterproof layer 118 can be made of waterproof silica gel.
  • the middle case 119 is provided with a light transmission hole 1192 in the middle case
  • the waterproof layer 118 is provided with a waterproof layer light transmission part 1182
  • the key 101 is provided with the light exit part
  • the light guide column It penetrates through the light transmission hole 1192 of the middle shell, and the two ends of the light guide column respectively extend to the light exit part and the light transmission part 1182 of the waterproof layer.
  • the position of the light-transmitting part 1182 of the waterproof layer and the light-emitting part match the position of the light-emitting module, which may refer to any matching method in which the positions are close.
  • the middle shell or the bottom shell is provided with a first rotating shaft part 1191
  • the non-pressing end of the button 101 is provided with a second rotating shaft part 1011
  • the first shaft part 1191 is matched with the second shaft part 1011
  • the button 101 can face or face away from the middle shell through the cooperation of the first shaft part 1191 and the second shaft part 1011 119 is pivoted
  • the middle shell 119 or the bottom shell 113 has a first buckle 1196 on one side of the pressing end
  • the pressing end of the button is provided with a second buckle 1013 .
  • the first buckle 1196 is docked with the second buckle 1013 to restrict the pressing end of the button 101 from moving away from the middle shell 119 ;
  • the first rotating shaft part 1191 is a rotating shaft
  • the second rotating shaft part 1011 is a shaft hole through which the corresponding rotating shaft passes.
  • the first rotating shaft part is a shaft hole
  • the second rotating shaft part is a rotating shaft passing through the corresponding shaft hole.
  • a pressing portion 1012 is further provided on the side of the button 101 facing the middle shell, and furthermore, the pressing portion 1012 can directly or indirectly press the switch pressing portion 1172 of the transmission component 117 .
  • a side of the button 101 facing the middle shell may also be provided with a switch pressing portion 1014, and the switch pressing portion 1014 is used to press correspondingly to the micro switch.
  • the waterproof layer 118 of silica gel is connected with 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, thereby compressing the waterproof layer 118 (wherein, the waterproof layer 118 of silica gel can be connected with the bottom case 113).
  • the waterproof wall on the bottom case 1 adopts interference fit in structure) to realize the internal structure is fully sealed and waterproof, and finally the button 101 is assembled, and the button 101 can be assembled on the bottom case 1 or on the middle case 119 .
  • One end of the button 101 is a fixed end as a pivot, and the other end can perform pivotal reciprocating motion (press down and return), that is, the pressing end of the switch.
  • the self-generating wireless switch involved in this embodiment can be directly pasted on the wall or other places with double-sided tape, or can be installed in a traditional switch bottom box with screws.
  • the controlled devices include at least one of the following: wall switches, curtains, lamps, fans, and doorbells.
  • the wall switch includes: at least one wall switch button 22, at least one wall switch circuit board 21, at least two terminal posts, and a wall switch located on the at least one wall switch circuit board 21's wall switch circuit.
  • the wall switch can also include a bottom case, and furthermore, the first side of the bottom case is provided with an accommodating space, and the wall switch circuit board 21, the terminal post, and the wall switch circuit are all arranged in the accommodating space
  • the accommodating space there are at least two terminal cavities separated from each other, and the terminal is arranged in the cavity;
  • the wall switch button 22 is located on the first side of the bottom case,
  • the accommodating space is between the bottom case and the at least one wall switch button 22 , and the wall switch button 22 can move toward the accommodating space, and can also move away from the accommodating space.
  • the at least two terminals include a live wire input terminal (such as a terminal P1) and a live wire output terminal (such as a terminal P2, such as a terminal P3, a terminal P4); in some examples, the at least two terminals
  • the posts may also include neutral terminals (eg, terminal P5).
  • the wall switch circuit includes a power-taking module 211 , a processing module 215 , a second wireless communication module 212 , at least one key recognition module 216 , an output on-off module 14 , a driving module 213 and an indicating module 217 .
  • One end of the output on-off module 214 is directly or indirectly electrically connected to the live wire input terminal (such as terminal P1), and the other end of the output on-off module 214 is directly or indirectly electrically connected to the live wire output terminal (such as terminal P2).
  • the output on-off module 214 is electrically connected to the live wire input terminal (such as terminal P1) through the power-taking module 211.
  • the output on-off module 214 may not be taken
  • the electrical module 211 is electrically connected to the live wire input terminal (eg, terminal P1 ), for example, may also be electrically connected to the live wire input terminal (eg, terminal P1 ) directly or through other modules.
  • the power fetching module 211 is electrically connected to the terminal, the processing module 215, the second wireless communication module 212 and the driving module 213, so as to convert the incoming AC power into the required DC power, and convert the The required direct current is delivered to the processing module 215, the second wireless communication module 212 and the driving module 213; it can be seen that the power fetching module 211 is electrically connected to the processing module 215, the second wireless communication
  • the connection between the communication module 212 and the power supply terminal of the driving module 213, and between the power-taking module 211 and the terminal can be direct or indirect.
  • the second wireless communication module 212 is electrically connected to the processing module 215, so as 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 is matched with the corresponding wall switch key 22, so as to be touched when the corresponding key moves toward the accommodating space, and the key identification module 16 is electrically connected to the processing module to When touched, a corresponding trigger signal is transmitted to the processing module 15 .
  • the trigger signal can be understood as any signal that enables the processing module 15 to determine which key is currently touched.
  • the trigger signal can be any one of the following: high pulse signal, low pulse signal, high level signal, low level signal.
  • the trigger signal can also be a plurality of continuous or discontinuous signals. No matter what form is adopted, it does not 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 wireless control command or the control signal corresponding to the trigger signal to the driving module 13;
  • the control signal can be control information, trigger signal itself, or any signal generated and sent based on control information and trigger signal, and, with the change of control information and trigger signal, the control signal will also change accordingly .
  • the control signal can be understood as a signal that instructs the drive module 213 to drive the corresponding output on-off module 214 to perform any of the following actions: off, on, and flipped (that is, it is turned off when it is turned on, and it is turned on when it is turned off. Pass).
  • the processing module 215 is also electrically connected to the indication module 217 to feed back an indication signal matching the control signal to the indication module 217 .
  • the external indication state of the indication module 217 can change with the indication signal, and further, the state and/or the action of the output on-off module 214 can be reflected through the external indication state.
  • the driving module 213 is electrically connected to the control terminal of the output on-off module 214 to drive the output on-off module on and off in response to the control signal.
  • the present invention provides a hardware basis for the external feedback mechanism.
  • the control signal corresponding to the trigger signal of the button, and then, whether it is the control of the output on-off module, or the external indication and feedback, can be realized based on this.
  • the present invention provides a sufficient hardware foundation for this, thus contributing to Ensure the accuracy of control and feedback instructions.
  • the second wireless communication module 212 and the processing module 215 may be separated or integrated.
  • the power-taking module 211 includes an AC-DC converter 2111 and a DC voltage converter 2112 .
  • the AC-DC converter 2111 is respectively electrically connected to the terminal and the DC voltage converter to convert the AC power into DC power to be converted, and deliver the DC power to be converted to the DC voltage converter;
  • the conversion may be any method capable of converting AC power into DC power. Specifically, it may be implemented based on rectification or switching power supply. No matter which method is used, it does not depart from the scope of the embodiments of the present invention.
  • 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 power to be converted into the required voltage and send it to The processing module 215, the second wireless communication module 212 and the driving module 213;
  • the transformation can be step-up or step-down, and at the same time of transformation, voltage stabilization and filtering can also be realized.
  • the required voltages supplied to the processing module 15 , the second wireless communication module 12 and the driving module 13 may be the same or different.
  • the DC voltage converter 112 can further reduce the voltage to a lower voltage, such as 1.8-3.3V.
  • the wall switch can be a zero-fire wall switch.
  • the live wire output terminal such as terminal P2
  • neutral wire terminal such as terminal P5 .
  • the AC-DC converter 2111 includes a PWM controller 21111, a zero-fire rectification unit 21113, a zero-fire power-taking switch K31, a current-type energy storage unit (for example, it can be realized by using an inductor L32), a voltage-type energy storage unit (for example, It can be realized by using capacitor C33) and freewheeling diode D31.
  • a current-type energy storage unit for example, it can be realized by using an inductor L32
  • a voltage-type energy storage unit for example, It can be realized by using capacitor C33
  • freewheeling diode D31 freewheeling diode D31.
  • the input side of the zero-fire rectification unit 21113 is electrically connected to the live wire input terminal (for example, terminal P1) and the neutral line terminal (for example, terminal P5), and the first terminal of the output side of the zero-fire rectification unit 21113
  • One end is directly or indirectly electrically connected to the first end of the zero-fire power-taking switch K31, the second end of the output side of the zero-fire rectifier unit 21113 is grounded, and the second end of the zero-fire power-taking switch K31 is electrically connected to The first end of the current type energy storage unit (such as inductor L32), the second end of the current type energy storage unit (such as inductor L32) and the first end of the voltage type energy storage unit (such as capacitor C33)
  • the DC voltage converter 2112 is electrically connected to output the DC power to be converted, the second end of the voltage-type energy storage unit (such as capacitor C33) is grounded, and the control end of the PWM controller 21111 is electrically connected to the The control terminal of the zero-fire power
  • the AC-DC converter 2111 further includes a filter unit 21112, and the filter unit 21112 is electrically connected between the output side of the zero-fire rectification unit 21113 and the first end of the zero-fire power-taking switch K31 .
  • the filter unit 21112 includes a filter inductor L31, a filter resistor R31, a filter first capacitor C31 and a filter second capacitor C32;
  • the first end of the filter inductor L31 is electrically connected to the first end of the output side of the zero-fire rectification unit 21113, and the second end of the filter inductor L31 is electrically connected to the first end of the zero-fire power-taking switch K31,
  • the first end of the filter resistor R31 is electrically connected to the first end of the output side of the zero-fire rectification unit 21113, and the second end of the filter resistor R31 is electrically connected to the first end of the zero-fire power-taking switch K31
  • the first end of the filtering first capacitor C31 is electrically connected to the first end of the output side of the zero-fire rectification unit 21113, and the first end of the filtering second capacitor C32 is electrically connected to the zero-fire power-taking switch K31.
  • the first terminal, the second terminal of the filtering first capacitor C31 is grounded, and the second terminal of the filtering second capacitor C32 is grounded.
  • the filtering of the voltage waveform is realized through the combination of the capacitor, the inductor, and the resistor, and the stability of the voltage is ensured.
  • the input side of the zero-fire rectification unit 21113 is connected with a surge suppression unit 21114 in parallel.
  • the surge suppression unit 21114 may include a surge voltage suppression unit 211142 connected in parallel to the input side of the zero-fire rectification unit 21113, and/or: connected to the live wire connection column (such as connection column P1) and the input side of the zero-fire rectification unit 21113 Inrush current suppression unit 211141 between sides.
  • the surge current suppression unit may use a current-limiting resistor, such as a wire-wound resistance wire, and the surge voltage suppression unit may use a subsensitivity resistor, for example.
  • the surge electrical signal can be prevented from entering the back-end circuit to ensure the stability of the voltage.
  • the AC-DC converter 2111 of the zero-fire wall switch may not be provided with circuit units such as a surge suppression unit and a filter unit.
  • the wall switch can be a single-fire wall switch. Further, please refer to FIG. 23 to FIG. ), and the live wire output terminal (such as terminal P2, terminal P3 and terminal P4), but does not include the neutral terminal.
  • 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 (such as terminal P1), the ON state power-taking unit 21115, the output on-off module (for example, the output on-off module RL shown in FIG. 23 , and the output on-off module RL shown in FIG. 28 Module RL1, output on-off module RL2, output on-off module RL3), the fire wire output terminals (such as terminal P2 shown in Figure 23, and terminal P2, terminal P3 and terminal P4 shown in Figure 28 ) are directly or indirectly electrically connected in sequence, and the live wire input terminal (such as terminal P1), the OFF state power-taking unit 21116 is directly or indirectly electrically connected to the live wire output terminal (such as terminal P2) in sequence.
  • the live wire input terminal such as terminal P1, the OFF state power-taking unit 21116 is directly or indirectly electrically connected to the live wire output terminal (such as terminal P2) in sequence.
  • the direct current output terminal of the ON state power acquisition 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 supply the electric energy to the direct current based on the obtained electric energy.
  • the voltage converter 2112 outputs the DC power to be converted;
  • the direct current output terminal of the OFF state power acquisition unit 21116 is electrically connected to the direct current voltage converter 2112, so as to obtain the electric energy of the alternating current when the output on-off module is disconnected, and based on the obtained electric energy to the direct current
  • the voltage converter outputs the DC power to be converted.
  • the ON state circuit is connected in series between the live wire (L), the relay, and the load (L1). By intercepting the energy from the AC current flowing through the load, it outputs a DC current (DC main voltage), and then converts the DC voltage to the processing and The wireless unit works.
  • the ON state circuit When the relay is disconnected, the ON state circuit can no longer be connected in series in the loop due to the short circuit of the relay, and the voltage of the live line and the neutral line will be loaded between the load (such as load L1) and the OFF state power-taking circuit.
  • the OFF state circuit uses the AC voltage to obtain electric energy, outputs a DC voltage (DC main voltage), and then converts the DC voltage to the processing and wireless unit to work.
  • the internal power supply can be realized when the output on-off module is off, and the internal power supply can also be realized when the output on-off module is on.
  • the ON state power fetching unit 21115 includes an ON state power fetching switch Q1, an ON state bypass diode D32, an ON state power fetching control part 211151, a rectification energy storage part (which can be combined with a rectification diode D34 , energy storage capacitor C35 understanding);
  • the first end of the ON-state power-taking switch Q1 is directly or indirectly electrically connected to the live wire input terminal (such as terminal P1), and the second terminal of the ON-state power-taking switch Q1 is respectively electrically connected to the output on-off module (such as the output on-off module RL) and the DC voltage converter 2112 .
  • the ON-state power-taking switch Q1 is connected in series with the output on-off module (such as the output on-off module RL) and connected to the live wire input terminal (such as terminal P1) and the live wire output terminal (such as terminal P1). Between P2); the ON-state bypass diode D32 is connected in parallel with the ON-state power-taking switch Q1.
  • a load for example, load L1
  • the live wire output terminal for example, terminal P2
  • a load for example, load L1
  • the anode of the bypass diode D32 in the ON state is directly or indirectly electrically connected to the live wire input terminal (eg terminal P1).
  • the rectifier energy storage part is electrically connected to the ON-state power-taking node between the ON-state power-taking switch Q1 and the output on-off module RL, and is used to store the electric energy generated by the ON-state power-taking node.
  • the energy storage part is electrically connected to the DC voltage converter 2112 to output the DC power to be converted;
  • the sampling terminal of the ON state power acquisition control part 211151 is electrically connected to one end (such as the second end) of the ON state power acquisition switch Q1, and the control terminal of the ON state power acquisition control part 211151 is electrically connected to the ON state power acquisition control part 211151.
  • the control terminal of the electric switch tube Q1 is used to realize the on-off control of the ON state power-taking switch tube Q1.
  • the rectification energy storage part includes a rectification diode D34 and an energy storage capacitor C35; the ON state power fetching unit 21115 also includes a power supply diode D33;
  • the anode of the rectifier diode D34 is electrically connected to the ON state power-taking node, the cathode of the rectifier diode D34 is electrically connected to the first end of the energy storage capacitor C35, and the second end of the energy storage capacitor C35 is grounded, so The first end of the energy storage capacitor C35 is also electrically connected to the DC voltage converter 2112; the anode of the power supply diode D33 is electrically connected to the power-taking node in the ON state, and the cathode of the power supply diode D33 is electrically connected to the ON state
  • the power supply terminal of the power acquisition control unit 211151 is also grounded through the capacitor C34, so as to realize stable power supply to the ON state power acquisition control unit 211151.
  • the ON-state power acquisition control unit 211151 monitors the voltage in the rectifier energy storage unit. When the threshold voltage is reached, the ON-state power acquisition control unit 211151 outputs an ON signal to turn on the ON-state power acquisition switch tube Q1, and the rectifier energy storage unit is bypassed. It will no longer be charged, but will continue to discharge to supply power to the back-end circuit.
  • the ON-state power-taking control unit 211151 After discharging for about a certain period of time, the ON-state power-taking control unit 211151 will output the OFF signal again to turn off the ON-state power-taking switch tube Q1 (at this time, the voltage is in the positive half cycle, so although the ON-state power-taking switch tube Q1 is in the off state, but It will not charge the rectification energy storage part), so that when the next negative half cycle comes, it will immediately start charging the rectification energy storage part.
  • the discharge time is a half cycle of the alternating current, taking the alternating current of 50HZ as an example, the discharge time is 10 mS.
  • one output terminal of the ON-state power acquisition control unit 211151 is electrically connected to the reset terminal of the specified circuit part to transmit a reset control signal to the reset terminal, wherein the specified circuit part is the The processing module 215 and/or the DC voltage converter 2112; the reset control signal is related to the charging process of the rectified energy storage unit in the power-taking unit in the ON state.
  • the reset control signal includes:
  • the first reset control signal fed back by the ON-state power-taking control unit When the rectifier energy storage unit in the ON-state power-taking unit starts to charge and the charging is not completed, the first reset control signal fed back by the ON-state power-taking control unit, and:
  • the specified circuit part is configured to be able to remain in an unstarted state when the reset terminal receives the first reset control signal, and the specified circuit part can also receive the second reset control signal at its reset terminal Enter the reset start state.
  • the ON-state power-taking control unit 211151 can output a signal to the processing module.
  • the signal is a signal that waits for the ON-state power-taking circuit to be charged after the system is powered on when the relay is in the on state.
  • the signal is connected to the The reset pin of the processing unit, or the reset pin of the DC voltage conversion unit, when the charging of the power-taking circuit in the ON state is not completed, outputs the first level (such as a low level, which can be understood as the above first reset control signal), so that the DC voltage conversion unit or the processing unit is in the reset state, reducing its power consumption, and avoiding the excessive current consumption of the back-end power-taking circuit in the ON state during the start-up process and failing to start.
  • the first level such as a low level, which can be understood as the above first reset control signal
  • the number of the output on-off modules, the number of the live wire output terminals, and the number of the drive modules can be 1 or N; wherein, N ⁇ 2; furthermore, each output on-off module is connected to A fire wire output terminal (such as terminal P1) is connected in series and parallel to the ON state power-taking unit 21115, and each driving module 213 is electrically connected to a control terminal of an output on-off control module.
  • the output on-off control module RL1 is connected in series with terminal P2, the output on-off control module RL2 is connected in series with terminal P3, and the output on-off control module RL3 is connected in series with terminal P4; furthermore, the output on-off control module RL1 It can be connected to the neutral line through the load L3, the output on-off control module RL2 can be connected to the neutral line through the load L2, and the output on-off control module RL3 can be connected to the neutral line through the load L1.
  • the OFF-state power-taking unit 21116 includes an OFF-state power-taking control unit 211161, a transformer T1, and an OFF-state power-taking rectification unit (for example, the rectifier bridge BG shown in FIG. Rectifier bridge BG1 and rectifier bridge BG2), output capacitor C37, output diode D35, input capacitor C36; the transformer includes a first winding, and a second winding induced to the first winding;
  • the first side of the power-taking and rectifying part in the OFF state is used to access the alternating current, the first end of the second side of the power-taking and rectifying part in the OFF state is electrically connected to the first end of the first winding, and the The second end of the second side of the rectifying part in the OFF state is grounded; the first end of the input capacitor C36 is electrically connected to the first end of the first winding, the second end of the input capacitor C36 is grounded, and the The second end of the first winding is grounded through the OFF state power acquisition control part 211161; the OFF state power acquisition control part 211161 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 to the anode of the output diode D35, and the cathode of the output diode D35 and the first end of the output capacitor C37 are electrically connected to the DC voltage converter 2112 to output the The DC power to be converted, the second end of the output capacitor C37 is grounded.
  • the cathode of the output diode D35 can be connected to the DC voltage converter 2112 via the diode D37.
  • the OFF-state power-taking unit 21116 also includes a feedback part 211162, and the feedback part 211162 is electrically connected to the sampling end of the OFF-state power-taking control part 211161 and the first end of the output capacitor C37 respectively, so as to Detect the voltage of the DC power to be converted, and feed back the detection result to the OFF state power acquisition control unit 211161 .
  • the feedback part 211162 can feedback the OFF state power-taking control part 211161 according to the voltage of the output capacitor C37, and control the opening and closing of its internal switch tube, so as to maintain the voltage of the output capacitor C37 within a certain range of the set value.
  • the power supply of the OFF state power acquisition control part 211161 can also be provided by windings in the transformer, for example, the transformer also includes an auxiliary winding induced by the first winding or the second winding, and the OFF state takes
  • the electrical unit 21116 also includes an auxiliary diode D38, an auxiliary resistor R33 and an auxiliary capacitor C38, the auxiliary diode D38 is electrically connected to the first end of the auxiliary winding, and the second end of the auxiliary diode D38 is electrically connected to the auxiliary resistor R33
  • the first end of the auxiliary capacitor C38 and the second end of the auxiliary capacitor C38 are grounded, and the first end of the auxiliary capacitor C38 is also electrically connected to the power supply end of the OFF state power acquisition control unit 211161 .
  • the rectifier bridge in the power-taking rectification part in the OFF state can be connected to the corresponding live wire output terminal through the resistor R31.
  • the load, resistor R31, and rectifier bridge are connected in series between the neutral wire and the live wire.
  • the alternating current is rectified into direct current through the rectifier bridge, and temporarily stored in the input capacitor C36.
  • the input capacitor C36 can be discharged intermittently, so that the induced voltage and current are output in the output winding (such as the second winding, auxiliary winding) of the transformer, and the output diode D35 and
  • the output capacitor C37 performs rectification and storage, and finally outputs, and then outputs to the back-end circuit through the DC voltage changer.
  • the OFF state power-taking rectifier can rectify the alternating current between the live wire input terminal and each live wire output terminal.
  • the power-taking and rectifying section in the OFF state includes two rectifying bridges, which are the first rectifying bridge BG1 and the second rectifying bridge BG2 .
  • the rectifier bridges each include 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 rectifier diode D41 is electrically connected to the anode of the second rectifier diode D42 to form the first node of the rectifier bridge;
  • the cathode of the second rectifier diode D42 is electrically connected to the fourth rectifier diode D44 to form the second node of the rectifier bridge;
  • the anode of the fourth rectifier diode D44 is electrically connected to the cathode of the third rectifier diode D43 to form the third node of the rectifier bridge;
  • the first The anode of the rectifier diode D41 is electrically connected to the anode of the third rectifier diode D43 to form a fourth node of the rectifier bridge;
  • the column includes a first live wire output terminal (such as a terminal P2), and the N live wire output terminals also include a second live wire output terminal (such as a terminal P3) and/or a third live wire output terminal (such as a terminal P3) and/or a third live wire output terminal (such as a terminal P4);
  • the first node of the first rectifier bridge BG1 is electrically connected to the live wire input terminal (for example, terminal P1)
  • the second node of the first rectifier bridge BG1 is connected to the second node of the second rectifier bridge BG2 Both are electrically connected to the first end of the input capacitor C36
  • the third node of the first rectifier bridge BG1 is electrically connected to the first output on-off module (such as the output on-off module RL1) and the first live line
  • the fourth node of the first rectifier bridge BG1 and the fourth node of the second rectifier bridge BG2 are both grounded;
  • the N output on-off modules include the second output on-off module (for example, the output on-off module RL2), and the N live wire output terminals include the second live wire output terminals (ie, wiring column P3), then: the first node of the second rectifier bridge BG2 is electrically connected to the second output on-off module (such as the output on-off module RL2) and the second live wire output terminal (ie terminal P3 )between;
  • the N output on-off modules include the third output on-off module (such as the output on-off module RL3), and the N live wire output terminals include the third live wire output terminal (ie, wiring column P4), then: the third node of the second rectifier bridge BG2 is electrically connected to the third output on-off module (such as the output on-off module RL3) and the third live wire output terminal (ie terminal P4 )between.
  • the current flow and rectification can be performed through the four rectifier diodes of the rectifier bridge BG1.
  • the first rectifier diode D61 and the second rectifier diode D62 of the first rectifier bridge BG1 can conduct current flow and rectification.
  • the first rectifier diode D61 and the second rectifier diode D62 of the first rectifier bridge BG1 can perform current flow and rectification.
  • the wall switch circuit further includes a fuse module 2113, and the fuse module 2113 is electrically connected to the live wire input terminal (for example, terminal P1) and the take-off terminal. between electrical modules.
  • the fuse module 2113 may use a fuse.
  • the range of the fuse is 1-10A.
  • a box-type fuse or a chip-type fuse is used.
  • the fusing function of the fusing module 2113 can play a role of safety protection.
  • any abnormality of any one of the multiple outputs and loads (such as load L1, load L2, and load L3) will cause the fuse to blow, thereby preventing the abnormal circuit from generating continuous large current , causing serious accidents such as fire.
  • the above solution can save volume and cost.
  • the indication module 217 includes a light-emitting unit (such as a circuit unit shown by a light-emitting diode LED1), the light-emitting unit is electrically connected to the processing module 215, and the external indication state includes that the light-emitting unit emits light. state and the state of the light emitting unit not emitting light to the outside.
  • the anode of the light emitting diode LED1 can be electrically connected to the processing module 215 , and the cathode can be grounded.
  • the wall switch button 22 can be provided with a light outlet hole, and the light outlet hole is provided with a light guide column, and the light emitted by the light emitting unit can be exported to the outside through the light guide column.
  • the output on-off module 214 (such as the output on-off module RL, the output on-off module RL1, the output on-off module RL2, the output on-off module RL3) can use the relay FRY, the relay The FRY may include a contact part and a coil part, one end of the coil part is connected to the output of the DC voltage converter 2112 , and the other end is connected to the driving module 213 .
  • the driving module 213 is a triode or MOS transistor (such as the transistor Q2 ), and the collector of the transistor Q2 is connected to the coil part.
  • the emitter of the triode Q2 is grounded, the base of the triode Q2 and the emitter are electrically connected to a resistor R35, the base of the triode Q2 is electrically connected to the processing module 215 through a resistor R34, and a diode D39 can be connected in parallel at both ends of the coil. , the cathode of the diode D39 is electrically connected to the triode Q2.
  • the processing module can be integrated with a pulse signal generating unit, which can output continuous pulse signals, and the pulse width and pulse frequency can be adjusted.
  • the pulse width range is 20%--80%, and the pulse frequency is 10-50KHZ.
  • the pulse signal generating unit outputs the pulse signal through an IO, and is connected to the drive module, where the pulse signal periodically turns on and off the drive module, and when the pulse signal is at a high level, the drive module is turned on, The coil of the relay is turned on, and the flowing current gradually increases. When the pulse signal is at low level, the driving module is turned off.
  • the average current of the relay coil can be reduced, the power consumption of the relay can be reduced, and the temperature rise of the relay can be reduced.
  • the total current in the system is also reduced, the power consumption and temperature rise of the switching tubes in the DC voltage converter are also reduced, the temperature rise of the DC voltage converter is also reduced, and the product quality is improved. reliability.
  • the bottom case may necessarily be provided with a separate heat dissipation hole, so as to obtain a better appearance and better protection performance such as dustproof.
  • traditional products do not include the pulse signal generating unit, and do not use a pulse signal-based control method. Their products have high power consumption, high temperature rise, and poor protection, which is not conducive to the reliable use of the product.
  • a timer can also be configured in the processing module, then, for a single-fire wall switch, after the system is powered on, the timer will be started, and the system will be woken up at a certain time. Bluetooth scanning to implement the wake-up sleep cycle mentioned above.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a self-powered wireless switch, a controlled device, and a control system. The self-powered wireless switch comprises: a wireless switch button, a wireless switch circuit, a power generator, and a reset component; 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 processor sequentially broadcasts M groups of data packets to the outside by means of the first wireless communication module, so that: the controlled device captures at least one data packet during a wake-up period of a wake-up dormancy cycle, wherein each group of data packets comprises multiple data packets, and each data packet comprises first control information; a broadcast interval of two adjacent groups of data packets among the M groups of data packets matches the wake-up dormancy cycle, wherein M≥2, the wake-up dormancy cycle comprises the wake-up period and a dormancy period alternating with each other, and the controlled device only receives a data packet in the wake-up period.

Description

自发电无线开关、受控设备与控制系统Self-generating wireless switches, controlled devices and control systems 技术领域technical field

本发明涉及领域开关领域,尤其涉及一种自发电无线开关、受控设备与控制系统。The invention relates to the field switch field, in particular to a self-generating wireless switch, a controlled device and a control system.

背景技术Background technique

无线开关,可理解为配置有无线通讯模块的开关,其中一种无线开关为自发电无线开关,在传统自发电无线开关中,其通常是通过射频通信模块对外通信的,例如,自发电无线开关可通过射频信号与各种受控设备(例如灯具、墙壁开关等)通讯。进而,自发电无线开关与受控设备可形成控制系统。A wireless switch can be understood as a switch equipped with a wireless communication module. One of the wireless switches is a self-generating wireless switch. In a traditional self-generating wireless switch, it usually communicates externally through a radio frequency communication module. For example, a self-generating wireless switch It can communicate with various controlled devices (such as lamps, wall switches, etc.) through radio frequency signals. Furthermore, self-generating wireless switches and controlled devices can form a control system.

现有相关技术中,自发电无线开关的发电机发电所产生的电能直接输送至用电部件(例如处理器),难以保障电能输送的稳定性,进而,因为电能稳定性的影响,可能会导致自发电无线开关无法及时准确地发出信息,影响自发电无线开关与受控设备之间控制的及时性与准确性。In the existing related technologies, the electric energy generated by the generator of the self-generating wireless switch is directly transmitted to the electric components (such as the processor), so it is difficult to ensure the stability of electric energy transmission, and further, due to the influence of electric energy stability, it may cause The self-generating wireless switch cannot send information timely and accurately, which affects the timeliness and accuracy of the control between the self-generating wireless switch and the controlled equipment.

发明内容Contents of the invention

本发明提供一种自发电无线开关、受控设备与控制系统,以解决难以保障控制的及时性与准确性的问题。The invention provides a self-generating wireless switch, a controlled device and a control system to solve the problem that it is difficult to guarantee the timeliness and accuracy of control.

根据本发明的第一方面,提供了一种自发电无线开关,包括:无线开关按键、无线开关电路、发电机与复位部件,所述无线开关电路包括整流模块、储能模块、电压输出模块、处理器、存储器与第一无线通讯模块;所述发电机包括运动部与感应部;According to the first aspect of the present invention, a self-generating wireless switch is provided, including: a wireless switch button, a wireless switch circuit, a generator and a reset component, and the wireless switch circuit includes a rectification module, an energy storage module, a voltage output module, A processor, a memory, and a first wireless communication module; the generator includes a movement part and an induction part;

所述无线开关按键直接或间接传动于所述发电机的运动部,所述复位部件直接或间接传动于所述发电机的运动部,其中:所述无线开关按键被下按时能够传动所述运动部发生第一方向的运动,所述复位部件能够在所述运动部发生第一方向的运动时发生形变,并产生克服所述形变的复位作用力,所述复位部件还能够在使所述无线开关按键下按的作用力被撤去后,利用所述复位作用力传动所述运动部发生第二方向的运动,且所述无线开关按键发生回弹;The wireless switch key is directly or indirectly transmitted to the moving part of the generator, and the reset part is directly or indirectly transmitted to the moving part of the generator, wherein: the wireless switch key can transmit the movement when pressed part moves in the first direction, the reset part can be deformed when the moving part moves in the first direction, and generate a reset force to overcome the deformation, and the reset part can also make the wireless After the pressing force of the switch button is removed, the moving part is driven to move in the second direction by using the reset force, and the wireless switch button rebounds;

所述感应部电连接所述整流模块,以在所述运动部发生第一方向的运动时,产生第一感应电压,在所述运动部发生第二方向的运动时,产生第二感应电压;The induction part is electrically connected to the rectification module, so as to generate a first induced voltage when the moving part moves in a first direction, and generate a second induced voltage when the moving part moves in a second direction;

所述整流模块电连接所述储能模块,以将所述第一感应电压对应的第一电能和/或所述第二感应电压对应的第二电能存储于所述储能模块;The rectification module is electrically connected to the energy storage module, so as to store the first electric energy corresponding to the first induced voltage and/or the second electric energy corresponding to the second induced voltage in the energy storage module;

所述储能模块电连接所述电压输出模块,以将所存储的电能输送至所述电压输出模块;The energy storage module is electrically connected to the voltage output module, so as to deliver the stored electric energy to the voltage output module;

所述电压输出模块电连接所述处理器、所述存储器与所述第一无线通讯模块,以利用所述储能模块传输而来的电能,向所述处理器、所述存储器与所述第一无线通讯模块输出所需的供电电压,使得所述处理器、所述第一无线通讯模块与所述存储器上电;The voltage output module is electrically connected to the processor, the memory and the first wireless communication module, so as to use the electric energy transmitted from the energy storage module to send the power to the processor, the memory and the first wireless communication module. A wireless communication module outputs a required power supply voltage, so that the processor, the first wireless communication module and the memory are powered on;

所述第一无线通讯模块能够与受控设备通讯,所述处理器电连接所述第一无线通讯模块,以在所述处理器、所述存储器与所述第一无线通讯模块上电后,利用所述第一无线通讯模块向所述受控设备发出第一控制信息;The first wireless communication module can communicate with the controlled device, and the processor is electrically connected to the first wireless communication module, so that after the processor, the memory and the first wireless communication module are powered on, sending first control information to the controlled device by using the first wireless communication module;

所述处理器利用所述第一无线通讯模块向所述受控设备发出第一控制信息时,具体用于:When the processor uses the first wireless communication module to send the first control information to the controlled device, it is specifically used for:

所述处理器通过所述第一无线通讯模块依次对外广播M组数据包,以使得:所述受控设备在唤醒休眠周期的唤醒时段抓取到至少一个数据包,其中,每组数据包均包括多个数据包,每个数据包均包含所述第一控制信息;所述M组数据包中相邻两组数据包的广 播间隔,匹配于所述唤醒休眠周期,其中,M≥2,所述唤醒休眠周期包括交替的唤醒时段与休眠时段,且所述受控设备仅在所述唤醒时段接收数据包。The processor sequentially broadcasts M groups of data packets externally through the first wireless communication module, so that: the controlled device captures at least one data packet during the wake-up period of the wake-up sleep cycle, wherein each group of data packets is It includes a plurality of data packets, each of which includes the first control information; the broadcast interval of two adjacent groups of data packets in the M groups of data packets is matched with the wake-up sleep cycle, where M≥2, The wake-up-sleep period includes alternate wake-up periods and sleep periods, and the controlled device only receives data packets during the wake-up periods.

根据本发明的第二方面,提供了一种受控设备,所述受控设备能够与第一方面及其可选方案的自发电无线开关中的第一无线通讯模块通讯;According to the second aspect of the present invention, there is provided a controlled device capable of communicating with the first wireless communication module in the self-generating wireless switch of the first aspect and its optional solution;

所述受控设备用于根据所述唤醒休眠周期抓取所述第一无线通讯模块发出的所述第一控制信息的数据包。The controlled device is configured to capture the data packet of the first control information sent by the first wireless communication module according to the wake-up sleep cycle.

根据本发明的第三方面,提供了一种控制系统,包括第一方面及其可选方案涉及的自发电无线开关,以及第二方面及其可选方案涉及的受控设备。According to a third aspect of the present invention, a control system is provided, including the self-generating wireless switch related to the first aspect and its optional solution, and the controlled device related to the second aspect and its optional solution.

本发明提供的自发电无线开关、受控设备与控制系统中,可利用整流模块对感应部所产生的感应电压进行整流,并将整流后的电能输送至储能模块进行存储,进而,电压输出模块可基于储能模块所存储的电能产生供电电压,并向所需用电的电路部分(例如处理器、第一无线通讯模块、存储器等)供电,形成稳定的供电,还可避免电能的浪费,实现电能的高效利用。在此基础上,由于自发电无线开关内部供电的稳定,有助于保障信息发出的准确性与及时性,从而保障自发电无线开关与受控设备之间控制的及时性与准确性。In the self-generating wireless switch, controlled equipment and control system provided by the present invention, the rectification module can be used to rectify the induced voltage generated by the induction part, and the rectified electric energy can be sent to the energy storage module for storage, and then the voltage output The module can generate a power supply voltage based on the electric energy stored in the energy storage module, and supply power to the circuit parts (such as processor, first wireless communication module, memory, etc.) that need power to form a stable power supply and avoid waste of electric energy , to achieve efficient use of electric energy. On this basis, due to the stability of the internal power supply of the self-generating wireless switch, it helps to ensure the accuracy and timeliness of the information sent, thereby ensuring the timeliness and accuracy of the control between the self-generating wireless switch and the controlled equipment.

同时,本发明中,针对于根据唤醒休眠周期接收数据包的受控设备,自发电无线开关中可配置匹配的广播间隔,进而有效保障了所发出的数据包可以被受控设备接收到,进一步保障了信息接收的准确性与及时性,从而进一保障控制的及时性与准确性。At the same time, in the present invention, for the controlled device that receives the data packet according to the wake-up sleep cycle, a matching broadcast interval can be configured in the self-generating wireless switch, thereby effectively ensuring that the sent data packet can be received by the controlled device, and further The accuracy and timeliness of information reception are guaranteed, thereby further ensuring the timeliness and accuracy of control.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明一实施例中控制系统的构造示意图一;Fig. 1 is a structural schematic diagram 1 of a control system in an embodiment of the present invention;

图2是本发明一实施例中控制系统的构造示意图二;Fig. 2 is a structural schematic diagram II of the control system in an embodiment of the present invention;

图3是本发明一实施例中控制系统的构造示意图三;Fig. 3 is a schematic diagram of the third structure of the control system in an embodiment of the present invention;

图4是本发明一实施例中自发电无线开关的构造示意图一;Fig. 4 is a schematic diagram of the structure of a self-generating wireless switch in an embodiment of the present invention;

图5是本发明一实施例中自发电无线开关的构造示意图二;Fig. 5 is a schematic diagram of the second structure of the self-generating wireless switch in an embodiment of the present invention;

图6是本发明一实施例中整流模块的电路示意图;6 is a schematic circuit diagram of a rectifier module in an embodiment of the present invention;

图7是本发明一实施例中极性识别模块的电路示意图;7 is a schematic circuit diagram of a polarity identification module in an embodiment of the present invention;

图8是本发明一实施例中感应部所输出的脉冲信号的波形示意图;Fig. 8 is a schematic waveform diagram of a pulse signal output by the sensing part in an embodiment of the present invention;

图9是本发明一实施例中第二存储器的连接示意图;9 is a schematic diagram of the connection of the second memory in an embodiment of the present invention;

图10是本发明一实施例中电压输出模块的电路示意图;Fig. 10 is a schematic circuit diagram of a voltage output module in an embodiment of the present invention;

图11是本发明一实施例中收发数据包的原理示意图;Fig. 11 is a schematic diagram of the principle of sending and receiving data packets in an embodiment of the present invention;

图12是本发明一实施例中自发电无线开关的结构示意图;Fig. 12 is a schematic structural diagram of a self-generating wireless switch in an embodiment of the present invention;

图13是本发明一实施例中自发电无线开关的部分结构示意图一;Fig. 13 is a partial structural schematic diagram of a self-generating wireless switch in an embodiment of the present invention;

图14是本发明一实施例中底壳的结构示意图;Fig. 14 is a schematic structural view of the bottom case in an embodiment of the present invention;

图15是本发明一实施例中传动部件的结构示意图;Fig. 15 is a schematic structural view of transmission components in an embodiment of the present invention;

图16是本发明一实施例中自发电无线开关的部分结构示意图二;Fig. 16 is a partial structural schematic diagram 2 of the self-generating wireless switch in an embodiment of the present invention;

图17是本发明一实施例中中壳的结构示意图;Fig. 17 is a schematic structural view of the middle shell in an embodiment of the present invention;

图18是本发明一实施例中防水层的结构示意图;Fig. 18 is a schematic structural view of a waterproof layer in an embodiment of the present invention;

图19是本发明一实施例中按键的结构示意图;Fig. 19 is a schematic structural diagram of a button in an embodiment of the present invention;

图20a与图20b是本发明一实施例中无线开关按键按压的作用原理示意图;Fig. 20a and Fig. 20b are schematic diagrams of the working principle of pressing the button of the wireless switch in an embodiment of the present invention;

图21是本发明一实施例中墙壁开关的构造示意图;Fig. 21 is a structural schematic diagram of a wall switch in an embodiment of the present invention;

图22是本发明一实施例中取电模块的构造示意图;Fig. 22 is a schematic structural view of a power-taking module in an embodiment of the present invention;

图23是本发明一实施例中墙壁开关的电路示意图一;Fig. 23 is a schematic circuit diagram 1 of a wall switch in an embodiment of the present invention;

图24是本发明一实施例中墙壁开关的电路示意图二;Fig. 24 is a second schematic circuit diagram of a wall switch in an embodiment of the present invention;

图25是本发明一实施例中墙壁开关的电路示意图三;Fig. 25 is a schematic circuit diagram three of a wall switch in an embodiment of the present invention;

图26是本发明一实施例中墙壁开关的电路示意图四;Fig. 26 is a circuit diagram four of a wall switch in an embodiment of the present invention;

图27是本发明一实施例中墙壁开关的电路示意图五;Fig. 27 is a circuit diagram five of a wall switch in an embodiment of the present invention;

图28是本发明一实施例中墙壁开关的电路示意图六;Fig. 28 is a schematic circuit diagram six of a wall switch in an embodiment of the present invention;

图29是本发明一实施例中墙壁开关的电路示意图七;Fig. 29 is a circuit diagram seven of a wall switch in an embodiment of the present invention;

图30是本发明一实施例中墙壁开关的电路示意图八;Fig. 30 is a schematic circuit diagram eight of a wall switch in an embodiment of the present invention;

图31是本发明一实施例中输出通断模块的电路示意图。Fig. 31 is a schematic circuit diagram of an output on-off module in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

在本发明说明书的描述中,需要理解的是,术语“上部”、“下部”、“上端”、“下端”、“下表面”、“上表面”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the specification of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "upper part", "lower part", "upper end", "lower end", "lower surface" and "upper surface" are based on the drawings The orientations or positional relationships shown are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be construed as an important aspect of the present invention. limits.

在本发明说明书的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。In the description of the specification of the present invention, the terms "first" and "second" are only used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features.

在本发明的描述中,“多个”的含义是多个,例如两个,三个,四个等,除非另有明确具体的限定。In the description of the present invention, "a plurality" means a plurality, such as two, three, four, etc., unless otherwise specifically defined.

在本发明说明书的描述中,除非另有明确的规定和限定,术语“连接”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接或可以互相通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the specification of the present invention, unless otherwise clearly stipulated and limited, the term "connection" and other terms should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be a mechanical connection , can also be electrically connected or can communicate with each other; it can be directly connected or indirectly connected through an intermediary, and it can be the internal communication of two components or the interaction relationship between two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention according to specific situations.

下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present invention will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

请参考图1,提供了自发电无线开关1与受控设备2,图中示意了一个自发电无线开关与一个受控设备2,在实际的控制系统中,自发电无线开关、受控设备的数量均可以为多个,同时,自发电无线开关1与受控设备2之间可以实现无线信号的传输,该无线信号可例如为蓝牙、射频、Wifi等。Please refer to Figure 1, which provides a self-generating wireless switch 1 and a controlled device 2. The figure shows a self-generating wireless switch and a controlled device 2. In an actual control system, the self-generating wireless switch and the controlled device The number can be multiple, and at the same time, wireless signal transmission can be realized between the self-generating wireless switch 1 and the controlled device 2, and the wireless signal can be Bluetooth, radio frequency, Wifi, etc., for example.

其中的受控设备2,可以为任意能够被自发电无线开关操控的受控装置,具体举例中,受控设备2可例如为墙壁开关、电子门铃、灯、自动窗帘、风扇等。The controlled device 2 may be any controlled device that can be controlled by a self-generating wireless switch. For example, the controlled device 2 may be a wall switch, electronic doorbell, lamp, automatic curtain, fan, etc.

本发明实施例中,请参考图2,自发电无线开关1包括无线开关按键101、发电机103、开关电路与复位部件102,所述开关电路包括:处理器108、存储器107、整流模块104、储能模块105、电压输出模块106,以及第一无线通讯模块109。In the embodiment of the present invention, please refer to FIG. 2 , the self-generating wireless switch 1 includes a wireless switch button 101, a generator 103, a switch circuit and a reset component 102, and the switch circuit includes: a processor 108, a memory 107, a rectification module 104, An energy storage module 105 , a voltage output module 106 , and a first wireless communication module 109 .

所述发电机103、所述整流模块104、所述储能模块105、所述电压输出模块106、所述处理器108与所述第一无线通讯模块109可以均连接于所述电路板114。The generator 103 , the rectification 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 mentioned below may include direct electrical connection and indirect electrical connection.

发电机103能够在无线开关按键101被操控(例如下按和/或回弹)时发电,产生电能,该电能可用于直接或间接为处理器108、第一无线通讯模块109、存储器107等供电,其中,处理器108、第一无线通讯模块109与存储器107可以是分立的,也可以是集成在一起的,进而,若是集成在一起的,则:对处理器108、无线通讯模块109与存储器107的供电可以基于同一供电端实现。The generator 103 can generate electricity when the wireless switch button 101 is manipulated (for example, pressed down and/or rebounded), and generates electric energy, which can be used to directly or indirectly supply power to 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 separated or integrated together, and if they are integrated together, then: for the processor 108, the wireless communication module 109 and the memory The power supply of 107 can be realized based on the same power supply terminal.

其中,发电机103可以包括运动部1031与感应部1032。Wherein, the generator 103 may include a moving part 1031 and an induction part 1032 .

运动部1031,可理解为能够被按键、复位部件等至少之一传动从而发生运动的部件或部件的组合,感应部1032,可理解为能够与运动部1031相作用,从而在运动部发生运动时感应产生电能的部件或部件的组合,本领域任意可基于运动而产生电能的结构,均可作为本发明实施例的一种可选方案。The moving part 1031 can be understood as a part or a combination of parts that can be driven by at least one of the buttons, reset parts, etc. to move, and the sensing part 1032 can be understood as being able to interact with the moving part 1031, so that when the moving part moves A component or a combination of components that generates electrical energy by induction, and any structure that can generate electrical energy based on motion in the art can be used as an optional solution in the embodiment of the present invention.

具体举例中,发电机103中可配置有永磁部、导磁部与线圈部,线圈部可设于导磁部,进而,当永磁部与导磁部发生相对运动时,线圈部可产生感应电压。其中的线圈部可视作以上所提及的感应部1032,其中的永磁部或导磁部可视作以上所提及的运动部1031,即:部分举例中,永磁部发生运动,从而与按键、复位部件等直接、间接传动,另部分举例中,导磁部发生运动,从而与按键、复位部件等直接、间接传动。可见,感应部1032可能是随运动部1031一同运动的,也可能不随运动部1031一同运动。In a specific example, the generator 103 can be configured with a permanent magnet, a magnetically conductive portion, and a coil portion, and the coil portion can be arranged on the magnetically conductive portion, and then, when the permanent magnet portion and the magnetically conductive portion move relative to each other, the coil portion can generate inductive voltage. The coil part wherein can be regarded as the induction part 1032 mentioned above, and the permanent magnet part or the magnetic conduction part wherein can be regarded as the moving part 1031 mentioned above, that is: in some examples, the permanent magnet part moves, thereby Direct and indirect transmission with keys, reset components, etc. In another example, the magnetic conduction part moves, thereby directly and indirectly transmits with keys, reset components, etc. It can be seen that the sensing part 1032 may move together with the moving part 1031 , or may not move together with the moving part 1031 .

所述第一无线通讯模块109与所述存储器107电连接所述处理器108,所述发电机103的感应部1032通过所述整流模块111电连接储能模块105,所述储能模块105通过所述电压输出模块106电连接所述第一无线通讯模块109、所述处理器108与所述存储器107(例如连接至第一无线通讯模块109、所述处理器108与所述存储器107的供电端),所述复位部件102(例如扭簧、弹片、拉簧等)能够与所述发电机103的运动部1031传动,所述无线开关按键101也能够直接或间接与所述发电机的运动部1031传动,即:所述按键直接或间接传动于所述发电机的运动部,所述复位部件直接或间接传动于所述发电机的运动部。The first wireless communication module 109 and the memory 107 are electrically connected to the processor 108, the induction part 1032 of the generator 103 is electrically connected to the energy storage module 105 through the rectification module 111, and the energy storage module 105 is electrically connected to the energy storage module 105 through the The voltage output module 106 is electrically connected to the first wireless communication module 109, the processor 108 and the memory 107 (for example, connected to the power supply of the first wireless communication module 109, the processor 108 and the memory 107 end), the reset member 102 (such as torsion spring, shrapnel, tension spring, etc.) can be transmitted with the moving part 1031 of the generator 103, and the wireless switch button 101 can also be directly or indirectly connected part 1031 transmission, 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.

部分方案中,复位部件102可直接传动于运动部1031,另部分方案中,复位部件102也可传动于按键或其他部件,从而间接传动于运动部1031。In some schemes, the reset component 102 can be directly driven to the moving part 1031 , and in another part of the scheme, the reset component 102 can also be driven to a button or other components, thereby being indirectly driven to the moving part 1031 .

所述复位部件102用于:若所述无线开关按键101发生了下按的操控动作,则:发生形变并产生克服所述形变的复位作用力;若所述无线开关按键101发生了回弹的操控动作,则:在所述复位作用力的作用下驱动所述发电机103的运动部1031。The reset component 102 is used for: if the wireless switch button 101 is pressed down, then: deform and generate a reset force to overcome the deformation; if the wireless switch button 101 rebounds, The manipulation action is: to drive the moving part 1031 of the generator 103 under the action of the reset force.

进而,所述无线开关按键101被下按时能够传动所述运动部1031发生第一方向的运动,所述复位部件102能够在所述运动部1031发生第一方向的运动时发生形变,并产生克服所述形变的复位作用力,所述复位部件102还能够在使所述无线开关按键101下按的作用力被撤去后,利用所述复位作用力传动所述运动部1031发生第二方向的运动,且所述按键发生回弹。Furthermore, when the wireless switch button 101 is pressed down, it can drive the moving part 1031 to move in the first direction, and the reset part 102 can deform when the moving part 1031 moves in the first direction, and generate an overcoming The resetting force of the deformation, the resetting component 102 can also use the resetting force to drive the moving part 1031 to move in the second direction after the pressing force of the wireless switch button 101 is removed , and the button rebounds.

所述发电机103用于:若所述无线开关按键101发生了下按的操控动作,则:所述发电机103的运动部1031直接或间接被所述无线开关按键101驱动,使所述发电机103的感应部1032产生第一感应电压,若所述无线开关按键101发生了回弹的操控动作,则所述发电机103的运动部1031被所述复位部件102驱动,使所述发电机产生第二感应电压;The generator 103 is used for: if the wireless switch button 101 is pressed down, the moving part 1031 of the generator 103 is directly or indirectly driven by the wireless switch button 101 to make the power generation The induction part 1032 of the machine 103 generates a first induced voltage, and if the wireless switch button 101 performs a rebound control action, the moving part 1031 of the generator 103 is driven by the reset part 102, so that the generator generating a second induced voltage;

进而,所述感应部1032电连接所述整流模块111,以在所述运动部1031发生第一方向的运动时,产生第一感应电压,在所述运动部1031发生第二方向的运动时,产生第二感应电压。Furthermore, the induction part 1032 is electrically connected to the rectification module 111, so that when the movement part 1031 moves in the first direction, a first induced voltage is generated, and when the movement part 1031 moves in the second direction, Generate a second induced voltage.

所述整流模块111用于:将所述第一感应电压对应的第一电能和/或第二感应电压对应的第二电能存储于所述储能模块105;具体举例中,可仅存储和/或使用第一电能,也可仅存储和/或使用第二电能。The rectification module 111 is used for: storing the first electric energy corresponding to the first induced voltage and/or the second electric energy corresponding to the second induced voltage in the energy storage module 105; in a specific example, it may only store and/or Or use the first electrical energy, or only store and/or use the second electrical energy.

所述储能模块105用于:将所存储的电能传输至所述电压输出模块106;The energy storage module 105 is used to: transmit the stored electric energy to the voltage output module 106;

所述电压输出模块106用于:利用传输而来的电能(第一电能和/或第二电能),向所述处理器108、所述存储器107、所述第一无线通讯模块109提供所需的供电电压,使其上电;The voltage output module 106 is used to: use the transmitted electric energy (first electric energy and/or second electric energy) to provide the processor 108, the memory 107, and the first wireless communication module 109 with required The power supply voltage to make it powered on;

所述处理器108用于:The processor 108 is used for:

在所述处理器108、所述存储器107与所述第一无线通讯模块109上电后,产生并通过所述第一无线通讯模块109发出对应的当前控制报文,即利用所述第一无线通讯模块109对外发出控制信息,当前控制报文可例如第一控制信息、第二控制信息,进而,对外发出控制信息具体可例如向受控设备发出第一控制信息,再例如向中间设备发送第二控制信息。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, using the first wireless The communication module 109 sends control information to the outside. The current control message can be, for example, the first control information and the second control information. Furthermore, the control information sent to the outside can be, for example, sending the first control information to the controlled device, and then sending the second control message to the intermediate device. 2. control information.

以上方案中,可利用整流模块对感应部所产生的感应电压进行整流,并将整流后的电能输送至储能模块进行存储,进而,电压输出模块可基于储能模块所存储的电能产生供电电压,并向所需用电的电路部分(例如处理器、无线通讯模块、存储器等)供电,形成稳定的供电,还可避免电能的浪费,实现电能的高效利用。在此基础上,由于自发电无线开关内部供电的稳定,有助于保障信息发出的准确性与及时性,从而保障自发电无线开关与受控设备之间控制的及时性与准确性。In the above solution, the rectification module can be used to rectify the induced voltage generated by the induction part, and the rectified electric energy can be sent to the energy storage module for storage, and then the voltage output module can generate a supply voltage based on the electric energy stored in the energy storage module , and supply power to the required circuit parts (such as processors, wireless communication modules, memory, etc.) to form a stable power supply, which can also avoid the waste of electric energy and realize the efficient use of electric energy. On this basis, due to the stability of the internal power supply of the self-generating wireless switch, it helps to ensure the accuracy and timeliness of the information sent, thereby ensuring the timeliness and accuracy of the control between the self-generating wireless switch and the controlled equipment.

此外,本发明中,基于复位部件的作用,可自动驱动按键回弹,实现下按、回弹时的发电,高效利用了动能。In addition, in the present invention, based on the function of the reset component, the button can be automatically driven to rebound, so as to realize power generation when pressing down and rebounding, and efficiently utilize kinetic energy.

其中的第一无线通讯模块109,可以为任意能够实现无线通讯的电路模块,例如可以包括以下至少之一:射频模块、蓝牙通讯模块(即第一蓝牙通讯模块)、Wifi模块等。The first wireless communication module 109 can be any circuit module capable of wireless communication, for example, it can include at least one of the following: radio frequency module, bluetooth communication module (namely the first bluetooth communication module), Wifi module and so on.

请参考图3,控制系统还包括中间设备3。Please refer to FIG. 3 , the control system also includes an intermediate device 3 .

所述第一无线通讯模块109还能够与所述中间设备3通讯,以向所述中间设备发出第二控制信息。The first wireless communication module 109 can also communicate with the intermediate device 3 to send the second control information to the intermediate device.

其中,第一无线通讯模块109与中间设备3、受控设备2之间的通讯可以是单向的,例如第一无线通讯模块109向中间设备3、受控设备2发送信号的通讯,也可以是双向的。Wherein, the communication between the first wireless communication module 109 and the intermediate device 3 and the controlled device 2 may be one-way, 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 is bidirectional.

其中一种实施方式中,所述中间设备3还能够与所述受控设备2通讯,该通讯可以是单向的也可以是双向的。可以是通过蓝牙信号通讯的,也可以是通过Wifi信号、射频信号等通讯的。In one of the implementation manners, the intermediate device 3 can also communicate with the controlled device 2, and the communication can be one-way or two-way. It can be communicated by Bluetooth signal, or by Wifi signal, radio frequency signal and so on.

其中一种实施方式中,所述中间设备3为具有语音信号采集、识别功能的中间设备,例如可配置有语音信号采集的电路模块,在中间设备的硬件中可配置为具有语音信号识别功能的部分,进而,中间设备3可采集到语音信号,并形成该语音信号对应的第三控制信息(可理解为一种使受控设备可以受控发生相应动作的语音控制指令)。In one of the implementation manners, the intermediate device 3 is an intermediate device with voice signal collection and recognition functions, for example, a circuit module for voice signal collection can be configured, and the hardware of the intermediate device can be configured as a voice signal recognition function. Furthermore, the intermediate device 3 can collect the voice signal, and form the third control information corresponding to the voice signal (which can be understood as a voice control instruction that enables the controlled device to be controlled to perform corresponding actions).

所述中间设备3被配置为能够向所述受控设备2发送信息,以将所述语音信号对应的第三控制信息发送至所述受控设备2。The intermediate device 3 is configured to be able to send information to the controlled device 2, so as to send third control information corresponding to the voice signal to the controlled device 2.

例如:中间设备3可以包括:依次电连接的语音信号采集部、中间设备处理部与中间设备通讯部,语音信号采集部可采集语音信号,中间设备处理部可基于语音信号产生第三控制信息,并通过中间设备通讯部将第三控制信息发出去。For example: the intermediate device 3 may include: a voice signal acquisition unit, an intermediate equipment processing unit and an intermediate equipment communication unit electrically connected in sequence, the voice signal acquisition unit may collect voice signals, and the intermediate equipment processing unit may generate the third control information based on the voice signals, And send the third control information through the communication part of the intermediate device.

其中一种实施方式中,所述中间设备3配置为能够接收所述受控设备2发出的信息(例如可基于以上设备通讯部接收,并将接收到的信息反馈至中间设备处理部),以自所述受控设备2接收状态上报信息。该状态上报信息可理解为受控设备上报的描述其硬件和/或软件工作状态的信息。In one of the implementations, the intermediate device 3 is configured to be able to receive the information sent by the controlled device 2 (for example, it can be received based on the above device communication part, and the received information can be fed back to the intermediate device processing part), so as to Receive status report information from the controlled device 2 . The status reporting information can be understood as information describing the working status of its hardware and/or software reported by the controlled device.

进而,针对于以上状态上报信息与第三控制信息,受控设备与中间设备可实现双向的交互传输。Furthermore, with regard to the above status report information and the third control information, the controlled device and the intermediate device can realize two-way interactive transmission.

具体举例中,若采用蓝牙信号,则:所述中间设备3包括以下至少之一:蓝牙网关、具有蓝牙网关功能的语音音箱。In a specific example, if Bluetooth signals are used, then: the intermediate device 3 includes at least one of the following: a Bluetooth gateway, and a voice speaker with a Bluetooth gateway function.

其中一种实施方式中,请参考图4与图5,所述自发电无线开关1还包括极性识别模块112;所述极性识别模块112电连接所述发电机103(例如其感应部1032)与所述处理器108。In one embodiment, please refer to FIG. 4 and FIG. 5 , the self-generating wireless switch 1 also includes a polarity identification module 112; ) with the processor 108.

所述极性识别模块112电连接于所述感应部1032与所述处理器108之间,以在所述感应部1032输出所述第一感应电压时,向所述处理器108反馈下按识别信号,在检测到所述感应部1032输出所述第二感应电压时,向所述处理器108反馈回弹识别信号。The polarity identification module 112 is electrically connected between the sensing part 1032 and the processor 108, so that when the sensing part 1032 outputs the first induced voltage, it feeds back to the processor 108 to identify signal, when it is detected that the sensing part 1032 outputs the second induced voltage, a rebound identification signal is fed back to the processor 108 .

在所述处理器、所述存储器与所述无线通讯模块上电后,处理器108还用于:通过所述极性识别模块112识别按键当前所发生的操控动作,并将识别结果反馈至处理器,作为当前控制报文(第一控制信息和/或第二控制信息)的生成依据。After the processor, the memory and the wireless communication module are powered on, the processor 108 is also used to: use the polarity recognition module 112 to recognize the current manipulation action of the button, and feed back the recognition result to the processing as the basis for generating the current control message (first control information and/or second control information).

其中一种实施方式中,请参考图4,所述自发电无线开关1还包括按键识别模块110,所述按键识别模块110电连接所述处理器108;In one of the implementation manners, 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;

处理器108在产生当前控制报文之前,还可用于:Before the processor 108 generates the current control message, it may also be used to:

自所述存储器读取表征所述自发电无线开关的开关标识;reading a switch identification characterizing the self-generating wireless switch from the memory;

若当前所发生的操控动作为下按的操控动作,则:通过所述按键识别模块获取当前按键信息,并将所述当前按键信息更新于所述存储器;If the currently occurring manipulation action is a press manipulation action, then: obtain current key information through the key identification module, and update the current key information in the memory;

若当前所发生的操控动作为回弹的操控动作,则:自所述存储器获取所存储的当前按键信息;If the currently occurring manipulation action is a rebound manipulation action, then: obtain the stored current key information from the memory;

所述当前控制报文是基于所述开关标识、当前所发生的操控动作,以及所获取到的当前按键信息确定的,例如,可将开关标识写入当前控制报文,也可基于操控动作与当前按键信息确定键值,并将键值写入当前控制报文。The current control message is determined based on the switch identifier, the currently occurring manipulation action, and the obtained current key information. For example, the switch identifier can be written into the current control message, or based on the manipulation action and The current key information determines the key value, and writes the key value into the current control message.

进一步的一种举例中,请参考图5,按键识别模块110可以包括检测单元(每个检测单元可例如为微动开关1101,但也不限于此),微动开关1101与无线开关按键101的数量可以为一个,也可以为如图5所示的多个,各微动开关1101与各无线开关按键101之间是一一对应的,微动开关1101能够在对应按键被下按时被触动,进而反馈信号至处理器108,此时,处理器108可读取所反馈的信号(例如按键触发信号)确定表征该按键的按键信息,从而获悉当前被下按的按键为哪个按键。In a further example, please refer to FIG. 5 , the key recognition module 110 may include a detection unit (each detection unit may be, for example, a micro switch 1101, but is not limited thereto), the micro switch 1101 and the wireless switch key 101 The number can be one, or multiple as shown in Figure 5. There is a one-to-one correspondence between each micro switch 1101 and each wireless switch key 101, and the micro switch 1101 can be touched when the corresponding key is pressed. Further, the signal is fed back to the processor 108. At this time, the processor 108 can read the fed back signal (such as a key trigger signal) to determine the key information representing the key, so as to know which key is currently pressed.

此外,所述自发电无线开关1还包括传动部件117,所述无线开关按键101的数量为至少两个,且所述按键与所述检测单元(即微动开关1101)一一对应。In addition, the self-generating wireless switch 1 further includes a transmission part 117, the number of the wireless switch buttons 101 is at least two, and the buttons correspond to the detection units (ie, the microswitches 1101) one by one.

请参考图11与图12,所述传动部件117传动于所述无线开关按键101与所述运动部1031之间,其中,任意之一所述无线开关按键101被下按时均能够直接或间接传动所述传动部件117自第一位置状态变化为第二位置状态,在所述传动部件117自所述第一位置状态变化为所述第二位置状态时,所述传动部件117能够驱动所述运动部1031发生所述第一方向的运动。Please refer to Figure 11 and Figure 12, the transmission part 117 is transmitted between the wireless switch button 101 and the moving part 1031, wherein any one of the wireless switch buttons 101 can be directly or indirectly transmitted The transmission member 117 changes from the first position state to the second position state, and when the transmission member 117 changes from the first position state to the second position state, the transmission member 117 can drive the movement Part 1031 produces the movement in the first direction.

所述传动部件117传动于所述复位部件102,所述复位部件102能够在使所述无线开关按键101下按的作用力被撤去后,利用所述复位作用力驱动所述传动部件自所述第二位置状态变化为所述第一位置状态;在所述传动部件117自所述第二位置状态变化为所述第一位置状态时,所述传动部件117能够驱动所述运动部发生所述第二方向的运动,且所述按键能够发生回弹;The transmission part 117 is driven by the reset part 102, and the reset part 102 can use the reset force to drive the transmission part from the The second position state changes to the first position state; when the transmission part 117 changes from the second position state to the first position state, the transmission part 117 can drive the moving part to generate the movement in the second direction, and the key can rebound;

所述处理器108电连接所述检测单元,以在所述处理器108上电且所述检测单元被触发之后,采集对应的按键触发信号,所述按键触发信号表征了被下按的按键。The processor 108 is electrically connected to the detection unit, so as to collect a corresponding key trigger signal after the processor 108 is powered on and the detection unit is triggered, and the key trigger signal represents the pressed key.

其中一种实施方式中,请参考图5与图7,所述极性识别模块112包括下按识别部1121与回弹识别部1122;所述下按识别部1121分别电连接所述发电机103的感应部1032与所述处理器108,所述回弹识别部1122分别电连接所述发电机103的感应部1032与所述处理器108。In one of the implementation manners, please refer to FIG. 5 and FIG. 7 , the polarity identification module 112 includes a push-down recognition part 1121 and a rebound recognition part 1122; the push-down recognition part 1121 is electrically connected to the generator 103 respectively. The sensing part 1032 of the generator 103 is electrically connected to the processor 108, and the rebound identification part 1122 is electrically connected to the sensing part 1032 of the generator 103 and the processor 108, respectively.

处理器108在通过所述极性识别模块识别按键当前所发生的操控动作时,具体用于:When the processor 108 identifies the current manipulation action of the key through the polarity identification module, it is specifically used for:

若接收到所述下按识别部1121发出的指定信号(即下按识别信号),则确定当前所发生的操控动作为下按的操控动作;其中,所述下按识别部1121仅在所述发电机103产生所述第一感应电压时才向所述处理器108发送所述指定信号(即下按识别信号);If the specified signal (i.e., the press recognition signal) sent by the press-down recognition unit 1121 is received, it is determined that the currently occurring manipulation action is a press-down manipulation action; wherein, the press-down recognition unit 1121 only When the generator 103 generates the first induced voltage, it sends the specified signal (ie, press the identification signal) to the processor 108;

若接收到所述回弹识别部1122发出的所述指定信号(即回弹识别信号),则确定当前所发生的操控动作为下按的操控动作,其中,所述回弹识别部1122仅在所述发电机103产生所述第二感应电压时才向所述处理器108发送所述指定信号(即回弹识别信号)。If the designated signal (i.e., the rebound recognition signal) sent by the rebound recognition unit 1122 is received, it is determined that the currently occurring manipulation action is a press-down manipulation action, wherein the rebound recognition unit 1122 only The generator 103 sends the specified signal (ie, the rebound identification signal) to the processor 108 only when the generator 103 generates the second induced voltage.

其中的指定信号,可例如是以下任意之一:高电平信号、高脉冲信号、低电平信号、低脉冲信号。The specified signal may be, for example, any one of the following: a high-level signal, a high-pulse signal, a low-level signal, and a low-pulse signal.

可见:visible:

所述下按识别部1121电连接于所述感应部1032与所述处理器108的一个第一信号端,以在所述感应部输出所述第一感应电压时,向所述第一信号端反馈指定信号作为所述下按识别信号;The push-down identifying part 1121 is electrically connected to the sensing part 1032 and a first signal terminal of the processor 108, so that when the sensing part outputs the first induced voltage, it sends a signal to the first signal terminal. Feedback a specified signal as the press identification signal;

所述回弹识别部1122电连接于所述感应部1032与所述处理器108的一个第二信号端,以在所述感应部输出所述第二感应电压时,向所述第二信号端反馈指定信号作为所述回弹识别信号。The rebound identification part 1122 is electrically connected to the sensing part 1032 and a second signal terminal of the processor 108, so that when the sensing part outputs the second induced voltage, it sends a signal to the second signal terminal. A specified signal is fed back as the rebound identification signal.

下按时感应部所发出的脉冲信号,以及回弹时感应部所发出的脉冲信号,均可参照图8所显示的波形理解。在图8中,横坐标为时间,纵坐标为电压。The pulse signal sent by the sensing part when pressing down and the pulse signal sent by the sensing part when rebounding can be understood with reference to the waveform shown in FIG. 8 . In FIG. 8, the abscissa is time, and the ordinate is voltage.

进一步举例中,请参考图7,下按识别部1121可以包括:下按识别第一二极管D21、下按识别第二二极管D22、下按识别第一电阻R21、下按识别第二电阻R22,以及下按识别电容C21;In a further example, please refer to FIG. 7 , the press-down identification part 1121 may include: a first press-down identification diode D21, a press-down identification second diode D22, a press-down identification first resistor R21, a press-down identification second Resistor R22, and down-press identification capacitor C21;

下按识别第一二极管D21的正极电连接感应部的第一输出端,下按识别第一二极管D21的负极分别电连接下按识别电容C21的第一端,以及下按识别第一电阻R21的第一端,下按识别电容C21的第二端接地,下按识别第二电阻R22的第一端、下按识别第二二极管D22的负极电连接处理器108的第一受控设备(例如I/O口),下按识别第二二极管D22的正极、下按识别第二电阻R22的第二端接地。The anode of the first diode D21 for pressing down to identify is electrically connected to the first output end of the sensing part, the negative pole of the first diode D21 for pressing down to identify is electrically connected to the first end of the identifying capacitor C21 for pressing down, and the second end for pressing down to identify The first end of a resistor R21, the second end of the identification capacitor C21 by pressing down is grounded, the first end of the second resistor R22 is identified by pressing down, and the cathode of the second diode D22 is electrically connected to the first terminal of the processor 108 by pressing down. For the controlled device (such as an I/O port), the anode of the second diode D22 is recognized by pressing down, and the second end of the second resistor R22 is grounded by pressing down.

进一步举例中,请参考图7,回弹识别部1122可以包括:回弹识别第一二极管D23、回弹识别第二二极管D24、回弹识别第一电阻R23、回弹识别第二电阻R24,以及回弹识别电容C22;In a further example, please refer to FIG. 7 , the springback recognition unit 1122 may include: a rebound recognition first diode D23, a rebound recognition second diode D24, a rebound recognition first resistor R23, a rebound recognition second Resistor R24, and rebound identification capacitor C22;

回弹识别第一二极管D23的正极电连接感应部的第二输出端,回弹识别第一二极管D23的负极分别电连接回弹识别电容C22的第一端,以及回弹识别第一电阻R23的第一端,回弹识别电容C22的第二端接地,回弹识别第二电阻R24的第一端、回弹识别第二二极管D24的负极电连接处理器108的第二受控设备(例如I/O口),回弹识别第二二极管D24的正极、回弹识别第二电阻R24的第二端接地。The anode of the rebound recognition first diode D23 is electrically connected to the second output terminal of the sensing part, the cathode of the rebound recognition first diode D23 is electrically connected to the first end of the rebound recognition capacitor C22, and the rebound recognition first The first end of a resistor R23, the second end of the rebound identification capacitor C22 is grounded, the first end of the rebound identification second resistor R24, and the cathode of the second rebound identification diode D24 are electrically connected to the second terminal of the processor 108. For the controlled device (for example, an I/O port), the anode of the rebound recognition second diode D24 and the second end of the rebound recognition second resistor R24 are grounded.

发电机在进行下按或回弹的时候,输出端可分别产生一个正脉冲。正脉冲对应的储能电容(即下按识别电容C21或回弹识别电容C22)将得到充电,进而对处理器的受控设备输出一个正脉冲。而发电机负脉冲的电容不会被充电,同时由于二极管的存在,正脉冲对应的电容的电也不会流向负脉冲对应的电容,因此负脉冲对应的电容不会向处理器输出脉冲信号或高电平信号。处理器可检测电阻分压产生的电平进而进行相应的动作。When the generator is pressed down or rebounded, the output terminal can generate a positive pulse respectively. The energy storage capacitor corresponding to the positive pulse (ie, the down-press recognition capacitor C21 or the rebound recognition capacitor C22 ) will be charged, and then output a positive pulse to the controlled device of the processor. The capacitor of the negative pulse of the generator will not be charged, and due to the existence of the diode, the electricity of the capacitor corresponding to the positive pulse will not flow to the capacitor corresponding to the negative pulse, so the capacitor corresponding to the negative pulse will not output a pulse signal to the processor or high level signal. The processor can detect the voltage level generated by the resistor divider and take corresponding actions.

其中,下按识别第一二极管D21、回弹识别第一二极管D23可以是隔离的二极管,例如可采用型号为RB551V的二极管。下按识别第二二极管D22、回弹识别第二二极管D24可作为稳压二极管,例如可以为3.3V的稳压二级管,具体可选用型号为MMSZ5226BS的稳压二级管,最大功耗200mW,反向漏电流25uA。Wherein, the first diode D21 for pressing down and the first diode D23 for rebound recognition may be isolated diodes, for example, diodes of type RB551V may be used. Press down to identify the second diode D22 and bounce back to identify the second diode D24 can be used as a voltage regulator diode, for example, it can be a 3.3V voltage regulator diode, and a model MMSZ5226BS voltage regulator diode can be selected specifically. The maximum power consumption is 200mW, and the reverse leakage current is 25uA.

根据分压的阻值选择,发电机的最高电压需要达到U=3.5*5/2=8.75V才会达到IO口的最高承受电压3.5V,发电机通常可满足该要求。According to the selection of the resistance value of the voltage divider, the maximum voltage of the generator needs to reach U=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 this requirement.

本发明实施例中,可以仅采用下按识别部,也可仅采用回弹识别部,例如,如果自 发电无线开关发射报文的时间很短,每次下按后很快就发送完成并将电量耗尽,则开关可以只需要一个识别部(例如下按识别部或回弹识别部)即可。比如:只有一个下按识别部时,开关下压时产生一个高电平,处理器以此识别到是下按。当开关回弹时,处理器则检测不到高电平,此时也可认为是回弹。In the embodiment of the present invention, only the push-down identification part can be used, and only the rebound identification part can be used. For example, if the time for the self-generating wireless switch to transmit a message is very short, the transmission will be completed soon after each press. When the power is exhausted, the switch may only need one recognition part (for example, a push-down recognition part or a rebound recognition part). For example: when there is only one push-down identification part, a high level is generated when the switch is pressed down, and the processor recognizes that it is a press-down. When the switch rebounds, the processor cannot detect the high level, which can also be considered as a rebound at this time.

但对于部分自发电无线开关(例如无线通讯模块采用蓝牙模块的自发电无线开关)而言,由于每次发送持续时间较长,可能在用户释放开关的时候,按压的报文还没有发送完成,此时处理器还处于工作状态,如果没有回弹识别部输出一个高电平,则处理器无从知道开关回弹了。因此,需要两个独立的识别部,来识别下按和回弹,以便处理器检测到对应的IO口出现高电平或正脉冲,则认为出现了相应的下压或回弹。可见,在该方案中,可以不仅仅在“上电”瞬间去检测极性识别的IO口判断是下压还是回弹。However, for some self-generating wireless switches (such as self-generating wireless switches with Bluetooth modules in the wireless communication module), due to the long duration of each transmission, it is possible that when the user releases the switch, the pressed message has not yet been sent. At this moment, the processor is still in the working state. If there is no rebound identification part to output a high level, the processor has no way of knowing that the switch has rebounded. Therefore, two independent identification parts are needed to identify the pressing and rebounding, so that the processor detects that the corresponding IO port has a high level or a positive pulse, and then it is considered that the corresponding pressing or rebounding has occurred. It can be seen that in this scheme, it is not only possible to detect the IO port of polarity recognition at the moment of "power on" to judge whether it is a push-down or a rebound.

其中一种实施方式中,请参考图5,所述存储器107包括用于存储程序的第一存储器1071,以及:用于存储当前按键信息和/或当前验证标识的第二存储器1072,所述当前验证标识用于作为所述自发电无线开关所发出报文的验证依据;所述当前验证标识更新存储于所述第二存储器1072;所述第二存储器1072与存储程序的所述第一存储器1071为不同的存储器,所述第二存储器1072为掉电后不丢失数据的存储器。In one of the implementation manners, please refer 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 current verification identification, the current The verification identification is used as the verification basis for the message sent by the self-generating wireless switch; the current verification identification is updated and stored in the second memory 1072; the second memory 1072 and the first memory 1071 storing programs It is a different memory, and the second memory 1072 is a memory that does not lose data after power failure.

其中,所述第二存储器1072中所更新存储的当前验证标识与所述当前操控报文中所记载的当前验证标识相同。Wherein, the current verification ID updated and stored in the second memory 1072 is the same as the current verification ID recorded in the current control message.

进一步的方案中,所述第二存储器1072为能够按一个或多个字节为单位擦除、写入、读取数据的存储器,其中,单个字节的写入、读取时间不超过10ms,消耗的能量不超过300uJ。例如,所述第二存储器1072包括Flash存储器和/或铁电存储器。In a further solution, 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 10 ms, The energy consumed does not exceed 300uJ. For example, the second memory 1072 includes Flash memory and/or ferroelectric memory.

此外,所述第二存储器1072还存储有当前按键信息,所述当前按键信息表征了所述自发电无线开关最近一次发生下按动作的按键。In addition, the second memory 1072 also stores current key information, and the current key information represents the key that was pressed last time on the self-generating wireless switch.

其中,第二存储器1072可以不选择常规的FLASH,这是因为,常规的FALSH必须要以扇区为单位擦除(写入),导致其写入所需电量太多,而发电机可能无法支撑。反之,选择EEPROM、铁电存储器等存储器时,可有效避免发电机电量难以支撑的情况。Wherein, the second memory 1072 may not select conventional FLASH, this is because conventional FALSH must be erased (written) in units of sectors, resulting in too much power required for writing, and the generator may not be able to support . On the contrary, when selecting memory such as EEPROM, ferroelectric memory, etc., it can effectively avoid the situation that the power of the generator is difficult to support.

具体举例中,第二存储器1072可以使用24C02,通过IIC总线与处理器连接。以图8为例,第二存储器1072的电源(VDD-EE)通过二极管D71与处理器的电源VDD隔离,以便使得在必要的时候比如在生产阶段烧录数据到EEPROM中时,处理器108为未上电状态,使得EEPROM与烧录工具的IIC通信不受处理单元的IIC引脚的影响。In a specific example, the second memory 1072 may use a 24C02 and be connected to the processor through an IIC bus. Taking FIG. 8 as an example, the power supply (VDD-EE) of the second memory 1072 is isolated from the power supply VDD of the processor through the diode D71, so that when necessary, such as when burning data into the EEPROM in the production stage, the processor 108 is In the unpowered state, the IIC communication between the EEPROM and the programming tool is not affected by the IIC pin of the processing unit.

其中,用于特别地存储:(1)当前验证标识;(2)当前按键信息。Among them, it is specially used for storing: (1) current verification identification; (2) current key information.

在工作时,按下开关时,可先从第二存储器中读取验证标识,然后进行更新(例如自增操作),将更新后的当前验证标识填入报文中发送,然后将自更新后的当前验证标识重新写回第二存储器,之后电量将被耗尽,处理器及存储器均会“掉电”死机。When working, when the switch is pressed, the verification identification can be read from the second memory first, and then updated (such as self-increment operation), the updated current verification identification is filled in the message and sent, and then the self-updated The current verification identification of the device is rewritten back to the second memory, after which the power will be exhausted, and both the processor and the memory will "power down" and crash.

开关在被下按和/或回弹时均会发送当前按键信息(表征了哪个按键被按下&释放),但是,由于自发电无线开关的结构限制,释放开关时虽然发电机会发电,但是用于检测键位的微动开关已经被松开,无法由此识别是哪个按键在动作,因此,采用两个存储器,在开关被下按时,将此时的当前按键信息写入第二存储器;回弹时,虽然无法从微动开关的状态来读取当前按键信息,但是可以从第二存储器中去读取之前的按键信息作为当前按键信息,使得回弹的时候的报文也携带键值,由此使得受控设备可以收到报文的概率加倍,提高了可靠性。When the switch is pressed and/or rebounded, it will send the current button information (representing which button is pressed & released), but due to the structural limitation of the self-generating wireless switch, although the generator will generate electricity when the switch is released, it will be used Since the micro switch for detecting the key position has been released, it is impossible to identify which key is acting. Therefore, two memories are used. When the switch is pressed, the current key information at this time is written into the second memory; When flipping, although the current key information cannot be read from the state of the micro switch, the previous key information can be read from the second memory as the current key information, so that the message when rebounding also carries the key value. As a result, the probability that the controlled device can receive the message is doubled, and the reliability is improved.

此外,请参考图9,第二存储器1072的SCL端可经电阻R72连接处理器的VDD-EE,第二存储器1072的SDA端可经电阻R71连接处理器的VDD-EE。In addition, please refer to FIG. 9 , the SCL terminal of the second memory 1072 can be connected to the VDD-EE of the processor through the resistor R72, and the SDA terminal of the second memory 1072 can be connected to the VDD-EE of the processor through the resistor R71.

有关于对当前验证标识的处理,所述处理器将当前控制报文(例如第一控制信息)发送至受控设备时,可以使得:所述受控设备验证所述当前控制报文中的当前验证标识与所存储的历史验证标识的关系是否匹配于预设的当前验证标识的变换规则,并在所述关系 匹配于所述变换规则时,执行所述当前控制报文对应的控制事件,所述历史验证标识是根据所述自发电无线开关之前发给所述受控设备的控制报文(例如第一控制信息)中所记载的验证标识确定的。Regarding the processing of the current verification identifier, when the processor sends the current control message (for example, the first control information) to the controlled device, it may cause the controlled device to verify the current Whether the relationship between the verification identifier and the stored historical verification identifier matches the preset conversion rule of the current verification identifier, and when the relationship matches the conversion rule, execute the control event corresponding to the current control message, so The historical verification identifier is determined according to the verification identifier recorded in the control message (for example, first control information) previously sent by the self-generating wireless switch to the controlled device.

所述当前控制报文表征了以下至少之一:所述自发电无线开关;所述自发电无线开关当前接受到操控的按键;所述自发电无线开关中按键当前所接受到的操控动作。The current control message represents at least one of the following: the self-generating wireless switch; the key currently controlled by the self-generating wireless switch; the control action currently received by the key in the self-generating wireless switch.

所述处理器在产生并通过所述无线通讯模块向受控设备发送对应的当前控制报文之前、之后或同时,还可包括:Before, after or at the same time as generating and sending the corresponding current control message to the controlled device through the wireless communication module, the processor may further include:

在连续发生的一次下按的操控动作和一次回弹的操控动作中,针对于其中至少一次操控动作,自所述存储器读取当前验证标识,以预设的变换规则将当前验证标识自第一数值变换更新为第二数值;During a press-down manipulation action and a rebound manipulation action that occur continuously, for at least one of the manipulation actions, the current verification identification is read from the memory, and the current verification identification is changed from the first The numerical transformation is updated to a second numerical value;

其中,所述第一数值不同于所述第二数值。Wherein, the first numerical value is different from the second numerical value.

可见,由于下按的操控动作与回弹的操控动作是呈对、连续的,进而,下按之后,通常必然会发生回弹。进而,在以上方案中,可仅在发生下按的操控动作之后才更新当前验证标识,也可仅在发生回弹的操控动作之后才更新当前验证标识,还可既在下按的操控动作之后更新当前验证标识,又在回弹的操控动作之后更新当前验证标识。It can be seen that since the control action of pressing down and the control action of rebounding are paired and continuous, furthermore, after pressing down, rebounding will usually inevitably occur. Furthermore, in the above solution, the current verification mark can be updated only after the manipulation action of pressing occurs, or the current verification mark can be updated only after the manipulation action of rebound occurs, or can be updated after the manipulation action of pressing The current verification mark is updated after the rebound manipulation action.

此外,所述处理器还可在所述储能模块所存储的电能耗尽前,将更新后的当前验证标识写回所述存储器。In addition, the processor may also write the updated current verification identifier back to the memory before the energy stored in the energy storage module is exhausted.

在连续发生的一次下按的操控动作和一次回弹的操控动作中,针对于其中至少一次操控动作,在产生并通过所述第一无线通讯模块向受控设备发送当前控制报文之前、之后或同时,还自所述存储器读取当前验证标识,以预设的变换规则将当前验证标识自第一数值变换更新为第二数值,并在所述储能模块所存储的电能耗尽前,将更新后的当前验证标识写回所述存储器,其中,所述第一数值不同于所述第二数值。In one push-down manipulation action and one rebound manipulation action that occur continuously, for at least one of the manipulation actions, before and after the current control message is generated and sent to the controlled device through the first wireless communication module Or at the same time, read the current verification identification from the memory, and update the current verification identification from the first value to the second value according to the preset conversion rule, and before the electric energy stored in the energy storage module is exhausted, Writing the updated current verification identifier back to the memory, wherein the first value is different from the second value.

其中的验证标识,可以为任意可适于实现验证的字符或字符的组合,当前验证标识,可理解为是自发电无线开关当前发出的,与之对应的,历史验证标识可理解为在自发电无线开关发出之前受控设备已存储的。The verification mark can be any character or combination of characters that is suitable for verification. The current verification mark can be understood as being issued by the self-generating wireless switch. Correspondingly, the historical verification mark can be understood as the The controlled device has been stored before the wireless switch is issued.

部分举例中,历史验证标识可以是自发电无线开关上次发生操控动作时发至受控设备并被受控设备存储的当前验证标识,或根据其确定的,另部分举例时,历史验证标识也可以是自发电无线开关上次发生特定操控动作(例如下按的操控动作或回弹的操控动作)时发至受控设备并被受控设备存储的当前验证标识,或根据其确定的。In some examples, the historical verification identification can be the current verification identification sent to the controlled device and stored by the controlled device when the self-generating wireless switch last operated, or determined according to it. In other partial examples, the historical verification identification can also be It may be the current verification identifier sent to the controlled device and stored by the controlled device when a specific manipulation action (such as a push-down manipulation action or a rebound manipulation action) occurred last time from the self-generating wireless switch, or determined based on it.

受控设备接收当前控制报文后,可验证所述当前验证标识与所存储的历史验证标识的关系是否匹配于所述变换规则;并在所述关系匹配于所述变换规则时,执行所述当前控制报文对应的控制事件。After receiving the current control message, the controlled device can verify whether the relationship between the current verification ID and the stored historical verification ID matches the conversion rule; and when the relationship matches the conversion rule, execute the The control event corresponding to the current control message.

若所述关系不匹配于所述变换规则,则可丢弃对应的报文(例如当前控制报文);其中,对当前控制报文的丢弃,可理解为不基于当前控制报文做处理,例如:不执行当前控制报文对应的控制事件,也不基于当前控制报文对历史验证标识等信息进行更新变化。If the relationship does not match the conversion rule, the corresponding message (such as the current control message) may be discarded; wherein, the discarding of the current control message can be understood as not processing based on the current control message, for example : Do not execute the control event corresponding to the current control message, and do not update and change information such as historical verification identifiers based on the current control message.

以上方案中,通过在自发电无线开关与受控设备的交互过程中引入当前验证标识,可以当前验证标识与历史验证标识的匹配验证作为执行控制事件的基础,避免执行复制报文的控制事件,实现了防复制攻击的效果。同时,通过当前验证标识与历史验证标识是否匹配于变换规则的匹配验证,还可以为重复报文的滤除提供依据。In the above scheme, by introducing the current verification identification in the interaction process between the self-generating wireless switch and the controlled device, the matching verification between the current verification identification and the historical verification identification can be used as the basis for executing the control event, and the execution of the control event of copying the message is avoided. The effect of anti-copy attack is realized. At the same time, through the matching verification of whether the current verification identifier and the historical verification identifier match the transformation rule, it can also provide a basis for filtering out duplicate messages.

其中,真实的报文(即控制信息)中验证标识是变换的,而复制报文中验证标识通常是重复的,进而,通过基于历史验证标识、变换规则的验证,可有效验证出复制报文(其中验证标识与历史验证标识的关系通常不匹配于变换规则),进而避免执行复制报文的控制动作,保障安全性。Among them, the verification identifier in the real message (that is, the control information) is transformed, and the verification identifier in the copied message is usually repeated, and then, through verification based on historical verification identifiers and transformation rules, the duplicated message can be effectively verified (The relationship between the verification identifier and the historical verification identifier usually does not match the transformation rule), thereby avoiding the execution of the control action of copying the message and ensuring security.

此外,历史验证标识为过去的当前验证标识时,可保证:验证标识的出处均源自于自发电无线开关,进而可有效保障验证的准确性与安全性。In addition, when the historical verification mark is the current verification mark in the past, it can be guaranteed that the source of the verification mark comes from the self-generating wireless switch, thereby effectively guaranteeing the accuracy and security of the verification.

由于无线的通信有时会存在丢包的可能,假如下按所发的数据包(即下按后发出的控制报文的数据包)被丢失了,则回弹所发的数据包(即回弹后发出的控制报文的数据包)可以作为补救,受控设备收到回弹的数据包之后还是可以进行响应动作。Due to the possibility of packet loss in wireless communication, if the data packet sent by the button (that is, the data packet of the control message sent after the button is pressed) is lost, the data packet sent by the rebound (that is, the rebound The data packet of the control message sent later) can be used as a remedy, and the controlled device can still respond after receiving the rebound data packet.

针对于此,受控设备可结合验证标识,以及控制报文所表征的操控动作来判断是否执行控制事件,例如:受控设备可根据序列号(即验证标识)来判断,如果是按下去的数据包(即当前控制报文为下按的控制报文),则一定响应,从而执行对应的控制事件;如果是回弹的数据包(即当前控制报文为回弹的控制报文),则只有当之前没有收到同一个序列号(即验证标识)的下按的数据包的情况下才响应从而执行对应的控制事件。For this, the controlled device can judge whether to execute the control event based on the verification mark and the manipulation action represented by the control message. For example, the controlled device can judge according to the serial number (that is, the verification mark), if it is pressed The data packet (that is, the current control message is a pressed control message), must respond to execute the corresponding control event; if it is a rebound data packet (that is, the current control message is a rebound control message), Then only when the pressed data packet of the same serial number (ie, the verification identifier) has not been received before, the corresponding control event is executed in response.

可见,若下按、回弹对应的控制事件相同,则:“仅在一次完整的下按与回弹之后才发生验证标识的变换”的方案可有助于避免数据包丢失而影响控制事件的执行,保障了相应控制事件可以有效地被执行。It can be seen that if the control events corresponding to the press and the rebound are the same, the scheme of "only after a complete press and rebound occurs the change of the verification mark" can help to avoid the loss of data packets and affect the control event. Execution ensures that the corresponding control events can be effectively executed.

同时,在对受控设备进行合理的配置之后,还可有助于避免指向同一控制事件的控制报文被重复执行,例如:利用自发电无线开关控制一个灯(即接收器为灯或连接灯)时,若所控制的控制事件为:灯状态的翻转,则:如果下按和回弹都会响应,则下按的时候打开了灯,然后回弹之后就又会关闭灯。其中的合理配置,可例如:若自发电无线开关在下按时变换当前验证标识,则:受控设备可在接收到当前控制报文时就将其中的当前验证标识更新写入,作为新的历史验证标识。At the same time, after a reasonable configuration of the controlled device, it can also help to avoid repeated execution of the control message pointing to the same control event, for example: using a self-generating wireless switch to control a light (that is, the receiver is a light or connected light ), if the controlled control event is: the inversion of the light state, then: if both the press and the rebound respond, the light is turned on when the press is pressed, and then the light will be turned off after the rebound. The reasonable configuration can be, for example: if the self-generating wireless switch is pressed to change the current verification mark, then: the controlled device can update and write the current verification mark in it when receiving the current control message, as a new historical verification logo.

在可兼顾实现以上效果的同时,即便某些受控设备中下按、回弹对应的控制事件不同,在对受控设备进行合理配置之后,也可保障不同控制事件的实现。其中的合理配置,可例如:若自发电无线开关在下按时变换当前验证标识,则:受控设备可在接收到回弹时的当前控制报文时才将其中的验证标识写入,作为新的历史验证标识。While achieving the above effects, even if the control events corresponding to the press and rebound in some controlled devices are different, after the controlled devices are reasonably configured, the realization of different control events can also be guaranteed. The reasonable configuration can be, for example: if the self-generating wireless switch changes the current verification mark when it is pressed down, then: the controlled device can only write the verification mark in it when it receives the current control message at the time of rebound, as a new History verification ID.

可见,采用验证标识的同一套更新条件(即在当前所发生的操控为目标操控动作时才变换当前验证标识),既可满足下按、回弹对应同一控制事件的受控设备的需求,也可兼顾下按、回弹对应不同控制事件的受控设备的需求。进而,有效保障了自发电无线开关对各种可能的控制需求的兼容性,从而提高了控制系统所实现控制的多样性。It can be seen that using the same set of update conditions for the verification mark (that is, changing the current verification mark only when the current manipulation is the target manipulation action) can not only meet the needs of the controlled device that the press and rebound correspond to the same control event, but also It can take into account the needs of controlled devices corresponding to different control events for pressing and rebounding. Furthermore, the compatibility of the self-generating wireless switch to various possible control requirements is effectively guaranteed, thereby improving the diversity of control realized by the control system.

此外,“仅在一次完整的下按与回弹之后才发生验证标识的变换”的方案还可起到节约电能的作用。例如:若仅在回弹的时候更新序列号(即当前验证标识),则:下按的时候就不需要更新序列号(即当前验证标识)了,特别是可以节约将更新后的序列号写会存储器中的耗能。In addition, the scheme of "the change of the verification mark occurs only after a complete press and rebound" can also save power. For example: if the serial number (that is, the current verification mark) is only updated when it rebounds, then: there is no need to update the serial number (that is, the current verification mark) when the button is pressed, especially saving the need to write the updated serial number energy consumption in memory.

并且,当下按的操控动作、回弹的操控动作对应的序列号(即当前验证标识)相同时,还可使得受控设备在根据序列号进行报文去重时更简单。In addition, when the serial numbers (ie, the current verification ID) corresponding to the manipulation action of pressing down and the manipulation action of rebounding are the same, it can also make it easier for the controlled device to deduplicate messages according to the serial number.

当用户下按自发电无线开关的按键后,通常会希望立即获得控制效果的反馈。进而,若仅在回弹时才更新序列号(即目标操控动作为回弹的操控动作),这样下压的时候的全部电能都可以用于其他的任务,特别是发送信号,不用花费电能用于更新序列号。When the user presses the button of the self-generating wireless switch, he usually wants to get immediate feedback on the effect of the control. Furthermore, if the serial number is updated only when rebounding (that is, the target manipulation action is the manipulation action of rebounding), then all the electric energy when pressing down can be used for other tasks, especially sending signals, without spending power to update the serial number.

其中一种实施方式中,请参考图5与图6,所述整流模块111包括第一整流部1111与第二整流部1112;所述第一整流部1111电连接于所述发电机103的感应部1032与所述储能模块105,所述第二整流部1112电连接于所述发电机103的感应部1032与所述储能模块105。In one of the implementation manners, please refer to FIG. 5 and FIG. 6, the rectification module 111 includes a first rectification part 1111 and a second rectification part 1112; the first rectification part 1111 is electrically connected to the induction part 1032 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 .

整流模块111在将所述第一感应电压对应的第一电能和第二感应电压对应的第二电能存储于所述储能模块时,具体用于:When the rectification 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 used for:

所述第一整流部1111对所述第一感应电压进行整流,并将对应的第一电能存储于所述储能模块;The first rectification unit 1111 rectifies the first induced voltage, and stores the corresponding first electric energy in the energy storage module;

所述第二整流部1112对所述第二感应电压进行整流,并将对应的第二电能存储于所述储能模块。The second rectification unit 1112 rectifies the second induced voltage, and stores the corresponding second electric energy in the energy storage module.

进一步的举例中,请参考图6,第一整流部1111包括第一整流二极管D11、第二整 流二极管D12以及第一整流电阻R11,第二整流部1112包括第三整流二极管D13、第四整流二极管D14以及第一整流电阻R12。In a further example, please refer to FIG. 6, the first rectifying part 1111 includes a first rectifying diode D11, a second rectifying diode D12, and a first rectifying resistor R11, and the second rectifying part 1112 includes a third rectifying diode D13, a fourth rectifying diode D14 and the first rectifier resistor R12.

第一整流二极管D11的负极、第二整流二极管D12的负极可分别电连接感应部的第一输出端与第二输出端,第一整流二极管D11的正极、第二整流二极管D12的正极可接地,同时还可连接第一整流电阻R11的第一端,第一整流电阻R11的第二端连接第二输出端;The negative pole of the first rectifying diode D11 and the negative pole of the second rectifying diode D12 can be electrically connected to the first output terminal and the second output terminal of the sensing part respectively, the positive pole of the first rectifying diode D11 and the positive pole of the second rectifying diode D12 can be grounded, At the same time, the first end of the first rectifying resistor R11 can also be connected, and the second end of the first rectifying resistor R11 is connected to the second output end;

第三整流二极管D13的正极、第四整流二极管D14的正极可分别电连接感应部的第一输出端与第二输出端,第三整流二极管D13的负极、第四整流二极管D14的负极可接地,同时还可连接第二整流电阻R12的第一端,第二整流电阻R12的第二端连接第一输出端。The anode of the third rectifier diode D13 and the anode of the fourth rectifier diode D14 can be electrically connected to the first output end and the second output end of the sensing part respectively, the cathode of the third rectifier diode D13 and the cathode of the fourth rectifier diode D14 can be grounded, At the same time, the first terminal of the second rectifying resistor R12 can also be connected, and the second terminal of the second rectifying resistor R12 can be connected to the first output terminal.

以上方案中,第三整流二极管D13与第四整流二极管D14组成正脉冲的整流部,第一整流二极管D11与第二整流二极管D12组成负脉冲的整流部。这样在发电机下压和复位的时候,都可以通过整流装置将电能传到储能模块105中,实现无线开关下压和复位时都可以发送信号。In the above solution, the third rectifying diode D13 and the fourth rectifying diode D14 form a positive pulse rectifying part, and the first rectifying diode D11 and the second rectifying diode D12 form a negative pulse rectifying part. In this way, when the generator is pressed down and reset, electric energy can be transmitted to the energy storage module 105 through the rectification device, so that signals can be sent when the wireless switch is pressed down and reset.

其中一种实施方式中,请参考图10,电压输出模块106可以包括:控制器1061、储能电容C61与续流单元(例如包括续流电感L61);In one of the implementation manners, please refer to FIG. 10 , the voltage output module 106 may include: a controller 1061, an energy storage capacitor C61, and a freewheeling unit (for example, including a freewheeling inductor L61);

所述控制器1061的输入侧电连接所述储能模块,同时,控制器1061使能端可连接储能模块与电容C62的第一端,电容C62的第二端可接地,所述控制器1061的输出侧电连接所述续流单元(例如续流电感L61)的第一端,所述续流单元(例如续流电感L61)的第二端直接或间接电连接所述处理器、无线通讯模块存储器中至少之一,所述储能电容C61电连接于所述续流单元(例如续流电感L61)的第二端与地之间;所述控制器1061被配置为能够控制其输入侧与输出侧之间的导通与关断,并通过调节通断的切换频率,以及导通或关断的时长,调节经所述续流单元与所述储能电容所输出的电压。The input side of the controller 1061 is electrically connected to the energy storage module. At the same time, the enabling terminal of the controller 1061 can be connected to the energy storage module and the first terminal of the capacitor C62, and the second terminal of the capacitor C62 can be grounded. The controller The output side of 1061 is electrically connected to the first end of the freewheeling unit (such as the freewheeling inductor L61), and the second end of the freewheeling unit (such as the freewheeling inductor L61) is directly or indirectly electrically connected to the processor, wireless At least one of the memory of the communication module, the energy storage capacitor C61 is electrically connected between the second end of the freewheeling unit (such as the freewheeling inductor L61) and ground; the controller 1061 is configured to be able to control its input The on and off between the side and the output side, and by adjusting the switching frequency of on and off, and the duration of on or off, the voltage output by the freewheeling unit and the energy storage capacitor is adjusted.

其中,电压输出模块106还可包含第一反馈电阻R61与第二反馈电阻R62,用以检测输出电压,反馈至控制器1061内部。Wherein, 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 it back to the inside of the controller 1061 .

所述控制器1061内可集成有PWM生成单元,根据反馈电压,调节输出的脉冲的宽度或频率,控制内部或外部的开关管,间隙性的给输出电感充电,达到稳压的目的。The controller 1061 can be integrated with a PWM generation unit, which adjusts the width or frequency of the output pulse according to the feedback voltage, controls the internal or external switching tube, and intermittently charges the output inductor to achieve the purpose of voltage stabilization.

部分举例中,储能模块的输出端与电压输出模块的输出端之间(即VDD端与VIN端)之间可设有电阻R63,VIN端与地之间可设有并联的电容C63与稳压二极管D61。In some examples, a resistor R63 may be provided between the output terminal of the energy storage module and the output terminal of the voltage output module (that is, the VDD terminal and the VIN terminal), and a parallel capacitor C63 and stabilizer may be provided between the VIN terminal and the ground. voltage diode D61.

其中一种实施方式中,以下对采用蓝牙进行通讯时的一种发包、扫描接收数据包的方式进行说明。In one of the implementation manners, a method of sending packets and scanning and receiving data packets when using Bluetooth for communication will be described below.

其中,所述受控设备是根据预设的唤醒休眠周期接收数据包的(也可理解为是根据唤醒睡眠周期控制受控设备的数据包接收功能的唤醒与休眠),具体举例中,受控设备本身可以是根据唤醒睡眠周期唤醒与休眠的,所述唤醒休眠周期包括交替的唤醒时段与休眠时段,即:唤醒时段经过后即进入休眠时段,休眠时段经过后即进入唤醒时段,如此重复循环。且所述受控设备仅在所述唤醒时段接收数据包。Wherein, the controlled device receives the data packet according to the preset wake-up sleep cycle (it can also be understood as controlling the wake-up and sleep of the data packet receiving function of the controlled device according to the wake-up sleep cycle), in a specific example, the controlled The device itself can wake up and sleep according to the wake-up-sleep cycle. The wake-up-sleep cycle includes alternate wake-up periods and sleep periods, that is, after the wake-up period passes, it enters the sleep period, and after the sleep period passes, it enters the wake-up period, and the cycle repeats. . And the controlled device only receives data packets during the wake-up period.

在图11中,接收扫描的波形为受控设备接收扫描数据包的示意波形,其中唤醒时段可表征为Ton,休眠时段可表征为Toff,发包的波形为自发电开关发出数据包的示意波形,其中凸起的波形即为可视作一个数据包的发送时段。In Fig. 11, the waveform of receiving and scanning is the schematic waveform of the controlled device receiving the scanning data packet, wherein the wake-up period can be represented as Ton, the sleep period can be represented as Toff, and the waveform of sending the packet is the schematic waveform of the data packet sent by the self-generating switch. The raised waveform is the sending period which can be regarded as a data packet.

处理器在通过第一无线通讯模块向受控设备发送对应的当前控制报文时,具体用于:When the processor sends the corresponding current control message to the controlled device through the first wireless communication module, it is specifically used for:

通过蓝牙依次对外广播N组数据包,以使得:所述受控设备在唤醒时段抓取到至少一个数据包,其中,每组数据包均包括多个数据包,每个数据包均包含所述当前控制报文;所述N组数据包中相邻数据包的广播间隔,匹配于所述受控设备的唤醒休眠周期,其中,N≥2。N groups of data packets are broadcast to the outside in sequence through Bluetooth, so that: the controlled device captures at least one data packet during the wake-up period, wherein each group of data packets includes a plurality of data packets, and each data packet contains the The current control message; the broadcast interval of adjacent data packets in the N groups of data packets is matched with the wake-up and sleep cycle of the controlled device, wherein, N≥2.

对应的,在受控设备,可以在所述唤醒时段,通过蓝牙抓取所述自发电无线开关发 出的N组数据包中的至少一个数据包,所述N组数据包是所述自发电无线开关通过蓝牙依次对外广播的,每个数据包均包含所述当前控制报文;所述N组数据包中相邻两个数据包的广播间隔,匹配于所述受控设备的唤醒休眠周期,其中,N≥2。Correspondingly, in the controlled device, during the wake-up period, at least one data packet in the N groups of data packets sent by the self-generating wireless switch can be captured through Bluetooth, and the N groups of data packets are the self-generating wireless switches. The switch broadcasts to the outside world sequentially through Bluetooth, and each data packet contains the current control message; the broadcast interval between two adjacent data packets in the N groups of data packets matches the wake-up and sleep cycle of the controlled device, Among them, N≥2.

其中,广播间隔可理解为:相邻两组数据包的开始广播时刻之间的间隔,也可视作各组数据包的广播周期,每个广播周期仅发一组数据包。Among them, the broadcast interval can be understood as: the interval between the start broadcasting times of two adjacent groups of data packets, which can also be regarded as the broadcast cycle of each group of data packets, and only one group of data packets is sent in each broadcast cycle.

所述唤醒时段的时长大于或等于相邻两个数据包的广播间隔;The duration of the wake-up period is greater than or equal to the broadcast interval of two adjacent data packets;

所述休眠时段的时长小于或等于N-1倍所述广播间隔。The duration of the sleep period is less than or equal to N-1 times the broadcast interval.

通过以上方案,可有助于保证在数据包的收发过程中,不论自发电无线开关在什么时候发出数据包,受控设备都能在唤醒时段接收到数据包。Through the above solutions, it can help to ensure that during the process of sending and receiving data packets, no matter when the self-generating wireless switch sends data packets, the controlled device can receive the data packets during the wake-up period.

在唤醒时段Ton对上了发包大周期内的情况下,唤醒时段Ton的窗口内至少要有1包,即唤醒时段Ton不可能都落都广播间隔(例如20mS)里面,唤醒时段Ton大于或等于广播间隔(例如20mS)In the case that the wake-up period Ton is within the large cycle of sending packets, there must be at least 1 packet in the window of the wake-up period Ton, that is, it is impossible for the wake-up period Ton to fall within the broadcast interval (for example, 20mS), and the wake-up period Ton is greater than or equal to Broadcast interval (eg 20mS)

同时,还保证至少一包落到休眠时段Toff窗口外,考虑到发包本身需使用一定时长(例如1mS),进而,休眠时段Toff要保证小于或等于广播间隔*(N-1),例如要小于或等于20mS*(N-1)。At the same time, it is also guaranteed that at least one packet falls outside the Toff window of the dormant period. Considering that the sending of the packet itself takes a certain period of time (for example, 1mS), the Toff of the dormant period must be guaranteed to be less than or equal to the broadcast interval * (N-1), for example, less than Or equal to 20mS*(N-1).

具体举例中,指定的发包间隔时长(即形成的广播间隔)可以选择为20mS;In a specific example, the specified packet sending interval (that is, the broadcast interval formed) can be selected as 20mS;

受控设备的唤醒休眠周期可以为100mS;The wake-up sleep cycle of the controlled device can be 100mS;

占空比可以为20%,The duty cycle can be 20%,

对应的,唤醒时段Ton为20mS,休眠时段Toff为80mS。Correspondingly, the wake-up period Ton is 20mS, and the sleep period Toff is 80mS.

在上述参数下,如果发射端(即自发电无线开关)可以发送5组数据包,则受控设备(即受控设备)至少可以扫描到1组数据包。如果发射端可以发送10组数据包,则受控设备至少可以扫描到2组数据包。Under the above parameters, if the transmitter (that is, the self-generating wireless switch) can send 5 sets of data packets, the controlled device (ie, the controlled device) can scan at least 1 set of data packets. If the transmitter can send 10 sets of data packets, the controlled device can scan at least 2 sets of data packets.

另一种具体举例中,若N=5,则,唤醒时段Ton具体可以为25mS,休眠时段Toff具体可以为75mS,进而,对应的占空比为25%,受控设备至少可以扫描到1组数据包,且留有一定的余量。In another specific example, if N=5, the wake-up period Ton can be specifically 25mS, the sleep period Toff can be specifically 75mS, and the corresponding duty cycle is 25%, and the controlled device can scan at least one group data packets, and leave a certain margin.

再一种具体举例中,唤醒休眠周期可以为125mS,唤醒时段Ton具体可以为25mS,休眠时段具体可以为100mS,对应的,若发包间隔为20mS,则:20mS*(N-1)需大于或等于100mS,进而,N≥6(即:需要发送至少6组数据包),其中,当N=6时,至少有一组数据包落在唤醒时段内被扫描到。In another specific example, the wake-up sleep period can be 125mS, the wake-up period Ton can be specifically 25mS, and the sleep period can be specifically 100mS. Correspondingly, if the packet sending interval is 20mS, then: 20mS*(N-1) needs to be greater than or It is equal to 100 mS, furthermore, N≥6 (that is, at least 6 groups of data packets need to be sent), wherein, when N=6, at least one group of data packets is scanned within the wake-up period.

进一步举例中,同一组中的多个数据包是通过以下至少之二信道发送的:In a further example, multiple data packets in the same group are sent through at least two of the following channels:

2.402GHz;2.428GHz;2.480GHz。2.402GHz; 2.428GHz; 2.480GHz.

对应的,处理器108在通过所述蓝牙模块依次对外广播N组数据包时,具体用于:Correspondingly, when the processor 108 sequentially broadcasts N groups of data packets through the Bluetooth module, it is specifically used for:

在开始发送一组数据包后,对广播间隔的时间进行计时,并在计时到达指定的发包间隔时长时,发出对应的另一组数据包。After starting to send a group of data packets, time the broadcast interval, and send another corresponding group of data packets when the timing reaches the specified packet sending interval.

以上计时功能可采用集成于处理器的计时模块实现。The above timing function can be realized by a timing module integrated in the processor.

具体举例中,第一无线通讯模块传输的信号为蓝牙信号,例如可以2.4GHZ为载频,通过指定的蓝牙频道分别传输数据包。具体而言,自发电蓝牙开关使用低功耗蓝牙技术,在40个2-MHz信道中发送数据。作为优选,在广播信道中发射数据。三个广播频信道的频点分别是:37信道是2.402GHz;38信道是2.428GHz;39信道是2.480GHz。In a specific example, the signal transmitted by the first wireless communication module is a bluetooth signal, for example, 2.4GHZ may be used as the carrier frequency, and data packets are respectively transmitted through a designated bluetooth channel. Specifically, the self-generating Bluetooth switch uses Bluetooth low energy technology to transmit data in 40 2-MHz channels. Advantageously, the data is transmitted on a broadcast channel. The frequencies of the three broadcast channels are: 2.402GHz for channel 37; 2.428GHz for channel 38; 2.480GHz for channel 39.

其中,每次按压的时候将发送不止一包信号,例如可发送3-10包数据。所述处理器可集成有以上所提及的计时模块,在发送间隔中,使用计时模块进行延时。Among them, more than one packet of signal will be sent each time it is pressed, for example, 3-10 packets of data can be sent. The processor may be integrated with the timing module mentioned above, and the timing module is used for delay in the sending interval.

一种举例中,该发包间隔时长可以为20mS,具体可在20mS±5mS的范围内随机波动(即:所述指定的发包间隔时长可以处于15毫秒至25毫秒的区间范围内),以便降低不同的开关的所发送的数据包在空中进行碰撞的概率。In one example, the packet sending interval can be 20mS, specifically, it can fluctuate randomly within the range of 20mS±5mS (that is, the specified packet sending interval can be within the range of 15 milliseconds to 25 milliseconds), so as to reduce the difference The probability of a packet sent by the switch colliding in the air.

其中一种实施方式中,所述的自发电无线开关,还包括发光模块115与透光部116, 所述发光模块115连接于所述电路板114,所述发光模块115设于所述透光部116内侧;所述发光模块115被配置为能够在所述无线开关按键101被下按和/或回弹时发光(例如可在任意按键充分按下都发光或闪烁,也可在对应按键充分按下时才发光或闪烁),并通过所述透光部对外透光,具体可通过电路的相应配置来实现。In one of the implementation manners, the self-generating wireless switch further includes a light-emitting module 115 and a light-transmitting part 116, the light-emitting module 115 is connected to the circuit board 114, and the light-emitting module 115 is arranged on the light-transmitting part 116. part 116 inside; the light emitting module 115 is configured to emit light when the wireless switch button 101 is pressed and/or rebounded (for example, it can emit light or flash when any button is fully pressed, and can also be used when the corresponding button is fully pressed. only light up or flash when pressed), and transmit light to the outside through the light-transmitting part, which can be specifically realized through the corresponding configuration of the circuit.

其中的透光部116可例如为导光柱。The light-transmitting portion 116 can be, for example, a light-guiding rod.

例如:所述发光模块115包括发光二极管,所述发光二极管的正极连接所述储能模块的正极,所述发光二极管的负极经开关管连接所述储能模块的负极;其中,所述开关管的控制端连接所述处理器,或者:所述开关管为集成于所述处理器的开关管。For example: the light-emitting module 115 includes a light-emitting diode, the positive pole of the light-emitting diode is connected to the positive pole of the energy storage module, and the negative pole of the light-emitting diode is connected to the negative pole of the energy storage module through a switch tube; wherein, the switch tube The control end of the control terminal is connected to the processor, or: the switch tube is a switch tube integrated in the processor.

其中一种实施方式中,请参考图12至图19,所述的自发电无线开关,还包括底壳113与中壳119,所述中壳119盖合于所述底壳113,以形成内部空间,所述电路板114、所述开关电路与所述传动部件117均位于所述内部空间,所述按键101位于所述中壳119的与所述内部空间相背离的一侧。其他实施方式中,也可仅设有底壳113而未设置中壳119。In one of the implementation manners, please refer to Fig. 12 to Fig. 19, the self-generating wireless switch also includes a bottom case 113 and a middle case 119, and the middle case 119 covers the bottom case 113 to form an internal space, the circuit board 114 , the switch circuit and the transmission part 117 are located in the internal space, and the button 101 is located in the side of the middle shell 119 away from the internal space. In other embodiments, only the bottom case 113 may be provided without the middle case 119 .

请参考图12至图19,所述发电机103的运动部1031可以为发电拨片,其中的发电拨片可理解为能够被触动从而利用机械能产生电能的任意构造,其可以是呈片状,也可以是呈杆状、环状等任意形状。Please refer to FIG. 12 to FIG. 19 , the moving part 1031 of the generator 103 can be a power generation paddle, and the power generation paddle can be understood as any structure that can be touched to generate electrical energy by using mechanical energy, which can be in the shape of a sheet, Arbitrary shapes such as a rod shape and a ring shape may also be used.

所述发电机103的运动部1031位于所述发电机103的靠近所述按键101的非按压端的一侧(例如图13所示的左侧),即:运动部1031位于发电机103的一端的一侧,微动开关1101(即检测单元)位于发电机103的另一端的一侧。The moving part 1031 of the generator 103 is located on the side of the generator 103 close to the non-pressing end of the button 101 (for example, the left side shown in FIG. 13 ), that is, the moving part 1031 is located at one end of the generator 103 On one side, the micro switch 1101 (ie, the detection unit) is located on one side of the other end of the generator 103 .

所述传动部件117的第一端用于直接或间接被所述按键5按下,例如,其可以通过开关按压部1172受控按压,其中的开关按压部1172可凸起于传动部件117的表面。The first end of the transmission part 117 is used to be pressed directly or indirectly by the button 5, for example, it can be controlled by the switch pressing part 1172, wherein the switch pressing part 1172 can protrude from the surface of the transmission part 117 .

所述传动部件117的第二端用于在其第一端被按下时和/或在所述复位作用力的驱动下复位时触动所述运动部1031,以使得所述发电机103发电。The second end of the transmission component 117 is used to trigger the moving part 1031 when the first end thereof is pressed and/or reset by the reset force, so that the generator 103 generates electricity.

其中,传动部件117的第一端与第二端的运动方向可以是相同的也可以是不同的,不论何种方式,只要实现了以上的受控按压与发电拨片的触动,就不脱离本实施例的描述。Wherein, the movement direction of the first end and the second end of the transmission part 117 can be the same or different, no matter what way, as long as the above controlled pressing and the touch of the generating paddle are realized, it will not deviate from this embodiment. Example description.

其中,传动部件117可设有插片孔1175,用于供发电拨片(即运动部1031)插入。Wherein, the transmission part 117 can be provided with an insertion hole 1175 for inserting the electric paddle (that is, the moving part 1031 ).

其中一种实施方式中,所述底壳113上设有支撑部1131,所述支撑部1131穿过所述电路板114延伸至所述电路板114的与所述底壳113的底面相背离的一侧,对应的,电路板114可设有用于供其穿过的通孔,所述支撑部1131支撑于所述传动部件117。所述传动部件117能够以所述支撑部1131为支点摆动,并通过所述摆动在所述第一位置状态与所述第二位置状态间变化。其中,支撑部1131的数量可以是两个或多个,其可均匀分布于传动部件117下侧。In one embodiment, the bottom case 113 is provided with a support portion 1131 , and the support portion 1131 extends through the circuit board 114 to the part of the circuit board 114 that is away from the bottom surface of the bottom case 113 . On one side, correspondingly, the circuit board 114 may be provided with a through hole for passing it through, and the support portion 1131 is supported by the transmission component 117 . The transmission member 117 can swing with the support portion 1131 as a fulcrum, and change between the first position state and the second position state through the swing. Wherein, the number of supporting parts 1131 can be two or more, which can be evenly distributed on the lower side of the transmission part 117 .

以图15为例,支撑部1131可对接传动部件117的支点位,该支点位可以设有用于实现对接的构造,也可以未设置构造,该支点位可以是单个位置,也可以是一个可变的位置,进而,随着摆动的发生,支撑部1131与传动部件117的接触位置可能会发生变化,也可能不发生变化。其中电路板114可装配在底壳113所形成的内部空间,发电机103与电路板114连接,其中,发电机103可利用发电机安装卡扣1137安装于底壳113;传动部件117通过两侧的两个支点位与底壳113连接,具体能以两个支点位的连线所构成的构造,形成一个翘板式结构,传动部件117的一侧端部与发电机103伸出的发电拨片连接,复位部件102安装在底壳113上并连接传动部件117的另一端或靠近另一端的位置,可通过传动部件117让发电机103复位,传动部件117的另一侧端部可设有开关按压部1172。Taking Fig. 15 as an example, the supporting part 1131 can be docked with the fulcrum of the transmission part 117, and the fulcrum can be provided with a structure for realizing docking, or not provided with a structure, and the fulcrum can be a single position, or a variable Furthermore, as the swing occurs, the contact position between the support portion 1131 and the transmission member 117 may or may not change. Wherein the circuit board 114 can be assembled in the inner space formed by the bottom case 113, and the generator 103 is connected with the circuit board 114, wherein, the generator 103 can be installed on the bottom case 113 by using the generator installation buckle 1137; The two fulcrums are connected to the bottom shell 113, specifically, the structure formed by the connection of the two fulcrums can form a seesaw structure, and one end of the transmission part 117 is connected with the generator paddle protruding from the generator 103. Connection, the reset part 102 is installed on the bottom shell 113 and connected to the other end of the transmission part 117 or a position close to the other end, the generator 103 can be reset through the transmission part 117, and the other end of the transmission part 117 can be provided with a switch Pressing part 1172 .

对比图20a与图20b,并结合图12至图19,按下按键101后,按键101触发传动部件117做翘板式转动,即按压端向下运动,另一端则向上运动,从而带动发电机103的发电拨片运动,发电机103该动能转化为电能,为电路板114供电,同时所按压的按键在下压过程中触发微动开关,同时,电路板114上有与按键数目相同的发光模块(例如LED), 每次按压发射信号,LED会闪灯一次。Comparing Figure 20a and Figure 20b, and combining Figure 12 to Figure 19, after the button 101 is pressed, the button 101 triggers the transmission part 117 to do a seesaw rotation, that is, the pressing end moves downward, and the other end moves upward, thereby driving the generator 103 The power generation paddle moves, and the kinetic energy of the generator 103 is converted into electric energy to supply power to the circuit board 114. At the same time, the pressed button triggers the microswitch during the pressing process. At the same time, there are light-emitting modules ( For example, LED), each time the signal is pressed, the LED will flash once.

按压之后,在例如扭簧的复位部件102的作用下,传动部件117可回归到初始位置,从而带动发电机103的发电拨片也回到初始位置。按键101在传动部件117的作用下也可回复到初始位置。After pressing, under the action of the reset member 102 such as a torsion spring, the transmission member 117 can return to the initial position, thereby driving the generator paddle of the generator 103 to return to the initial position. The button 101 can also return to the initial position under the action of the transmission part 117 .

请参考图14和图15,所述底壳1上还设有移动限位筋1132,所述传动部件117设有的移动限位凸台1174。Please refer to FIG. 14 and FIG. 15 , the bottom shell 1 is further provided with movement limiting ribs 1132 , and the transmission part 117 is provided with movement limitation bosses 1174 .

所述移动限位筋1132穿过所述电路板114延伸至所述电路板114的与所述底壳113的底面相背离的一侧,对应的,电路板114可设有用于供其穿过的通孔,所述移动限位筋1132能够限制所述移动限位凸台1174与所述传动部件117沿第一参考方向和/或第二参考方向移动,例如,在移动时,移动限位筋1132可阻挡移动限位凸台1174移动。The movement limiting rib 1132 extends through the circuit board 114 to the side of the circuit board 114 that is away from the bottom surface of the bottom case 113. Correspondingly, the circuit board 114 can be provided for passing through through holes, the movement limiting rib 1132 can limit the movement of the movement limitation boss 1174 and the transmission part 117 along the first reference direction and/or the second reference direction, for example, when moving, the movement limitation The rib 1132 can block the movement of the movement limiting boss 1174 .

所述第一参考方向为所述按键的按压端至非按压端的方向,所述第二参考方向为所述按键的非按压端至按压端的方向。The first reference direction is the direction from the pressing end to the non-pressing end of the key, and the second reference direction is the direction from the non-pressing end to the pressing end of the key.

通过限位凸台与限位筋的配合,可以较小的加工难度实现限位。Through the cooperation of the limit boss and the limit rib, the limit can be realized with less processing difficulty.

请参考图14,所述底壳113上还设有上限位卡扣1133,所述上限位卡扣1133穿过所述电路板114延伸至所述电路板114的与所述底壳1的底面相背离的一侧,所述上限位卡扣1133用于限制所述传动部件117朝远离所述电路板114的方向运动。对应的,在传动部件的边缘可设有限位卡扣配合部1171,上限位卡扣1133可传动部件摆动时阻挡限位卡扣配合部1171,进而起到限位作用。Please refer to FIG. 14 , the upper limit buckle 1133 is also provided on the bottom case 113 , and the upper limit buckle 1133 extends through the circuit board 114 to the bottom surface of the circuit board 114 and the bottom case 1 On the opposite side, the upper limit buckle 1133 is used to limit the movement of the transmission part 117 away from the circuit board 114 . Correspondingly, a limit snap fitting portion 1171 may be provided on the edge of the transmission component, and the upper limit snap 1133 can block the limit snap fit portion 1171 when the transmission component swings, thereby playing a limiting role.

由于发电拨片是靠近非按压端的,故而,上限位卡扣1133可限制传动部件117的靠近非按压端的一端远离电路板114运动。Since the generating paddle is close to the non-pressing end, the upper limit buckle 1133 can restrict the end of the transmission part 117 close to the non-pressing end to move away from the circuit board 114 .

可见,通过限位卡扣、移动限位筋1132,可便于限定传动部件117的运动位置。It can be seen that the moving position of the transmission part 117 can be conveniently limited by the limit buckle and the moving limit rib 1132 .

以上所述涉及的传动部件117可视作摇杆,利用支撑部进行摆动的方案可具有易于加工,零件尺寸容易控制等优点。The transmission part 117 mentioned above can be regarded as a rocker, and the scheme of using the support part to swing can have the advantages of easy processing and easy control of the size of the parts.

具体实施过程中,若所述按键101的数量为至少两个,例如图示的三个,则:所述传动部件117对接所有按键101,以使得:任意至少之一按键101被按下时,所述传动部件117均能够被推动,以变化位置状态。In the specific implementation process, if the number of the buttons 101 is at least two, such as three shown in the figure, then: the transmission part 117 is connected to all the buttons 101, so that: when any at least one button 101 is pressed, All the transmission parts 117 can be pushed to change the position state.

其中一种实施方式中,所述复位部件102可以为以下至少之一:扭簧、弹片、弹簧。In one of the implementation manners, the reset member 102 may be at least one of the following: a torsion spring, a shrapnel, and a spring.

若所述复位部件102为扭簧,则:所述底壳113上设有扭簧底座1134,所述扭簧底座1134穿过所述电路板114延伸至所述电路板114的与所述底壳113的底面相背离的一侧,所述扭簧底座1134设有扭簧安装轴,所述扭簧安装于所述扭簧安装轴,所述扭簧还通过连杆接触设于所述传动部件117的扭簧连接部1173,以通过所述连杆与所述扭簧连接部1173将所述复位作用力作用于所述传动部件117。具体实施过程中,扭簧底座1134还可设有扭簧限位部,其可用于限制扭簧的旋转位置。If the reset member 102 is a torsion spring, then: the bottom shell 113 is provided with a torsion spring base 1134, and the torsion spring base 1134 passes through the circuit board 114 and extends to the bottom of the circuit board 114. On the side facing away from the bottom surface of the shell 113, the torsion spring base 1134 is provided with a torsion spring installation shaft, the torsion spring is installed on the torsion spring installation shaft, and the torsion spring is also arranged on the transmission through a connecting rod contact. The torsion spring connection portion 1173 of the component 117 is used to apply the reset force to the transmission component 117 through the connecting rod and the torsion spring connection portion 1173 . During specific implementation, the torsion spring base 1134 can also be provided with a torsion spring limiting portion, which can be used to limit the rotation position of the torsion spring.

其中一种实施方式中,请参考图12和图18,并结合图20a与图20b,所述的自发电无线开关,还包括防水层118,所述防水层118设于所述中壳119与所述电路板114之间。该防水层118的与中壳119相对的一侧表面可以与中壳119相贴合。In one of the implementations, please refer to Figure 12 and Figure 18, and in combination with Figure 20a and Figure 20b, the self-generating wireless switch further includes a waterproof layer 118, and the waterproof layer 118 is arranged between the middle shell 119 and the between the circuit boards 114 . A surface of the waterproof layer 118 opposite to the middle case 119 can be attached to the middle case 119 .

具体的,所述防水层118可设有开关按键配合部1181,所述开关按键配合部1181凸起于所述防水层118的与所述电路板114相背离的一侧,所述中壳119设有按键孔1194,所述开关按键配合部1181穿过所述按键孔1194,所述微动开关1101延伸至所述开关按键配合部1181内,所述开关按键配合部1181沿所述按键101被按下的方向分别对接所述按键101与所述微动开关1101。进而,下按按键101时,可经开关按键配合部1181点击至微动开关1101,从而触发微动开关1101。Specifically, the waterproof layer 118 can be provided with a switch button matching portion 1181, and the switch button matching portion 1181 protrudes from the side of the waterproof layer 118 that is away from the circuit board 114, and the middle shell 119 There is a button hole 1194, the switch button matching part 1181 passes through the button hole 1194, the micro switch 1101 extends into the switch button matching part 1181, and the switch button matching part 1181 is along the button 101 The pressed direction is respectively connected to the button 101 and the micro switch 1101 . Furthermore, when the key 101 is pressed down, the micro switch 1101 can be clicked through the switch key matching portion 1181 , thereby triggering the micro switch 1101 .

此外,所述防水层118还可设有配对按键配合部1183,其中的配对按键配合部1183的位置可匹配于配对按键的位置,同时,可匹配于电路板114上的配对电路的配对开关器件,通过下按配对按键,可经配对按键配合部1183触发穿过配对按键孔1193的配对开关 器件,其中,配对开关器件、配对按键孔、配对按键配合部与配对按键的结构关系,可参照于微动开关1101、按键孔1194、开关按键配合部1181与按键101的结构关系理解。In addition, the waterproof layer 118 can also be provided with a matching part 1183 for the matching key, wherein the position of the matching part 1183 for the matching key can match the position of the matching key, and at the same time, can match the matching switch device of the matching circuit on the circuit board 114 , by pressing down the pairing button, the pairing switch device passing through the pairing button hole 1193 can be triggered through the pairing button matching part 1183, wherein, the structural relationship between the pairing switch device, the pairing button hole, the pairing button matching part and the pairing button can be referred to in The structural relationship between the micro switch 1101 , the button hole 1194 , the switch button matching part 1181 and the button 101 is understood.

所述防水层118还可设有按压配合部1184,其位置可与中壳119的按压部容置结构1195相匹配。其中,按压部容置结构1195可理解为是用于在开关按压部1172上抬时容置该开关按压部1172的结构。The waterproof layer 118 can also be provided with a press fit part 1184 whose position can match with the press part accommodating structure 1195 of the middle shell 119 . Wherein, 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 up.

具体实施过程中,该防水层118可以采用防水硅胶。During specific implementation, the waterproof layer 118 can be made of waterproof silica gel.

其中一种实施方式中,所述中壳119设有中壳透光孔1192,所述防水层118设有防水层透光部1182,所述按键101设有所述出光部,所述导光柱穿设于所述中壳透光孔1192,且所述导光柱两端分别延伸至所述出光部与所述防水层透光部1182,所述导光柱、所述中壳透光孔1192、所述防水层透光部1182与所述出光部的位置与所述发光模块位置相匹配,其可以是指位置相靠近的任意匹配方式。In one embodiment, the middle case 119 is provided with a light transmission hole 1192 in the middle case, the waterproof layer 118 is provided with a waterproof layer light transmission part 1182, the key 101 is provided with the light exit part, and the light guide column It penetrates through the light transmission hole 1192 of the middle shell, and the two ends of the light guide column respectively extend to the light exit part and the light transmission part 1182 of the waterproof layer. The light guide column, the light transmission hole 1192 of the middle shell, The position of the light-transmitting part 1182 of the waterproof layer and the light-emitting part match the position of the light-emitting module, which may refer to any matching method in which the positions are close.

任意可实现透光、导光的以上结构,均不脱离本实施例的描述。Any of the above structures that can realize light transmission and light guidance will not deviate from the description of this embodiment.

其中一种实施方式中,请参考图16、图17与图19,所述中壳或所述底壳设有第一转轴部1191,所述按键101的非按压端设有第二转轴部1011,所述第一转轴部1191与所述第二转轴部1011匹配连接,所述按键101能够通过所述第一转轴部1191与所述第二转轴部1011的配合朝向或背向所述中壳119枢转,所述中壳119或所述底壳113的按压端一侧具有第一卡扣1196,所述按键的按压端设有第二卡扣1013。In one of the implementation manners, please refer to FIG. 16 , FIG. 17 and FIG. 19 , the middle shell or the bottom shell is provided with a first rotating shaft part 1191 , and the non-pressing end of the button 101 is provided with a second rotating shaft part 1011 , the first shaft part 1191 is matched with the second shaft part 1011, and the button 101 can face or face away from the middle shell through the cooperation of the first shaft part 1191 and the second shaft part 1011 119 is pivoted, the middle shell 119 or the bottom shell 113 has a first buckle 1196 on one side of the pressing end, and the pressing end of the button is provided with a second buckle 1013 .

所述第一卡扣1196对接所述第二卡扣1013,以限制所述按键101的按压端向远离所述中壳119的方向运动;The first buckle 1196 is docked with the second buckle 1013 to restrict the pressing end of the button 101 from moving away from the middle shell 119 ;

在图示的举例中,所述第一转轴部1191为转轴,所述第二转轴部1011为供对应转轴穿过的轴孔,其他未图示的举例中,所述第一转轴部为轴孔,所述第二转轴部为穿过对应轴孔的转轴。In the illustrated example, the first rotating shaft part 1191 is a rotating shaft, and the second rotating shaft part 1011 is a shaft hole through which the corresponding rotating shaft passes. In other not-shown examples, the first rotating shaft part is a shaft hole, and the second rotating shaft part is a rotating shaft passing through the corresponding shaft hole.

所述按键101的朝向中壳的一侧还设有抵压部1012,进而,可通过抵压部1012直接或间接抵压传动部件117的开关按压部1172。所述按键101的朝向中壳的一侧还可设有开关抵压部1014,开关抵压部1014用于与微动开关对应按压。A pressing portion 1012 is further provided on the side of the button 101 facing the middle shell, and furthermore, the pressing portion 1012 can directly or indirectly press the switch pressing portion 1172 of the transmission component 117 . A side of the button 101 facing the middle shell may also be provided with a switch pressing portion 1014, and the switch pressing portion 1014 is used to press correspondingly to the micro switch.

在具体举例中,硅胶的防水层118与底壳113连接,而中壳119在防水层118的外侧与底壳113之间连接,从而压紧防水层118(其中,硅胶的防水层118可与底壳1上的防水墙在结构上采用过盈配合),实现内部结构全密封防水,最后装配按键101,按键101可装配在底壳1上,也可装配在中壳119上。按键101以一端为枢轴,是固定端,另一端可做枢转式的往复运动(下压与复位),也就是开关的按压端。In a specific example, the waterproof layer 118 of silica gel is connected with 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, thereby compressing the waterproof layer 118 (wherein, the waterproof layer 118 of silica gel can be connected with the bottom case 113). The waterproof wall on the bottom case 1 adopts interference fit in structure) to realize the internal structure is fully sealed and waterproof, and finally the button 101 is assembled, and the button 101 can be assembled on the bottom case 1 or on the middle case 119 . One end of the button 101 is a fixed end as a pivot, and the other end can perform pivotal reciprocating motion (press down and return), that is, the pressing end of the switch.

此外,本实施例所涉及的自发电无线开关既可以直接采用双面胶贴在墙面或者其他地方,也可以采用螺钉安装在传统的开关底盒中。In addition, the self-generating wireless switch involved in this embodiment can be directly pasted on the wall or other places with double-sided tape, or can be installed in a traditional switch bottom box with screws.

所述受控设备包括以下至少之一:墙壁开关、窗帘,灯具,风扇、门铃。The controlled devices include at least one of the following: wall switches, curtains, lamps, fans, and doorbells.

以下将着重针对于其中的墙壁开关进行阐述。The following will focus on the wall switch among them.

请参考图21,并结合图22至图31,墙壁开关,包括:至少一个墙壁开关按键22、至少一个墙壁开关电路板21、至少两个接线柱,以及设于所述至少一个墙壁开关电路板21的墙壁开关电路。Please refer to FIG. 21, and in conjunction with FIG. 22 to FIG. 31, the wall switch includes: at least one wall switch button 22, at least one wall switch circuit board 21, at least two terminal posts, and a wall switch located on the at least one wall switch circuit board 21's wall switch circuit.

墙壁开关还可包括底壳,进而,所述底壳的第一侧设有容置空间,所述墙壁开关电路板21、所述接线柱、所述墙壁开关电路均设于所述容置空间内,所述容置空间内还设有至少两个互相分隔的接线柱腔,所述接线柱设于所述接线柱腔内;所述墙壁开关按键22位于所述底壳的第一侧,所述容置空间处于所述底壳与所述至少一个墙壁开关按键22之间,所述墙壁开关按键22能够朝向所述容置空间运动,也能够远离所述容置空间运动。The wall switch can also include a bottom case, and furthermore, the first side of the bottom case is provided with an accommodating space, and the wall switch circuit board 21, the terminal post, and the wall switch circuit are all arranged in the accommodating space In the accommodating space, there are at least two terminal cavities separated from each other, and the terminal is arranged in the cavity; the wall switch button 22 is located on the first side of the bottom case, The accommodating space is between the bottom case and the at least one wall switch button 22 , and the wall switch button 22 can move toward the accommodating space, and can also move away from the accommodating space.

所述至少两个接线柱包括火线输入接线柱(例如接线柱P1)与火线输出接线柱(例如接线柱P2,再例如接线柱P3、接线柱P4);部分举例中,所述至少两个接线柱还可包括零线接线柱(例如接线柱P5)。The at least two terminals include a live wire input terminal (such as a terminal P1) and a live wire output terminal (such as a terminal P2, such as a terminal P3, a terminal P4); in some examples, the at least two terminals The posts may also include neutral terminals (eg, terminal P5).

请参考图26,所述墙壁开关电路包括取电模块211、处理模块215、第二无线通讯模块212、至少一个按键识别模块216、输出通断模块14、驱动模块213与指示模块217。Please refer 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 recognition module 216 , an output on-off module 14 , a driving module 213 and an indicating module 217 .

所述输出通断模块214的一端直接或间接电连接所述火线输入接线柱(例如接线柱P1),所述输出通断模块214的另一端直接或间接电连接所述火线输出接线柱(例如接线柱P2)。在图21所示的举例中,所述输出通断模块214通过取电模块211电连接至火线输入接线柱(例如接线柱P1),其他举例中,所述输出通断模块214也可不经取电模块211电连接至火线输入接线柱(例如接线柱P1),例如也可直接电连接或经其他模块电连接至火线输入接线柱(例如接线柱P1)。One end of the output on-off module 214 is directly or indirectly electrically connected to the live wire input terminal (such as terminal P1), and the other end of the output on-off module 214 is directly or indirectly electrically connected to the live wire output terminal (such as terminal P2). In the example shown in FIG. 21, the output on-off module 214 is electrically connected to the live wire input terminal (such as terminal P1) through the power-taking module 211. In other examples, the output on-off module 214 may not be taken The electrical module 211 is electrically connected to the live wire input terminal (eg, terminal P1 ), for example, may also be electrically connected to the live wire input terminal (eg, terminal P1 ) directly or through other modules.

所述取电模块211电连接所述接线柱、所述处理模块215、所述第二无线通讯模块212与所述驱动模块213,以将接入的交流电转换为所需的直流电,并将所述所需的直流电输送至所述处理模块215、所述第二无线通讯模块212与所述驱动模块213;可见,所述取电模块211电连接至所述处理模块215、所述第二无线通讯模块212与所述驱动模块213的供电端,取电模块211与接线柱之间的连接可以是直接的,也可以是间接的。The power fetching module 211 is electrically connected to the terminal, the processing module 215, the second wireless communication module 212 and the driving module 213, so as to convert the incoming AC power into the required DC power, and convert the The required direct current is delivered to the processing module 215, the second wireless communication module 212 and the driving module 213; it can be seen that the power fetching module 211 is electrically connected to the processing module 215, the second wireless communication The connection between the communication module 212 and the power supply terminal of the driving module 213, and between the power-taking module 211 and the terminal can be direct or indirect.

所述第二无线通讯模块212电连接所述处理模块215,以将接收到的控制信息反馈至所述处理模块215;The second wireless communication module 212 is electrically connected to the processing module 215, so as 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.

所述按键识别模块216的位置匹配于对应的墙壁开关按键22,以在所述对应的按键朝向所述容置空间运动时被触动,所述按键识别模块16电连接所述处理模块,以在被触动时向所述处理模块15传递对应的触发信号。The position of the key identification module 216 is matched with the corresponding wall switch key 22, so as to be touched when the corresponding key moves toward the accommodating space, and the key identification module 16 is electrically connected to the processing module to When touched, a corresponding trigger signal is transmitted to the processing module 15 .

其中的触发信号,可理解为能够使得处理模块15确定当前哪个按键被触动的任意信号。该触发信号可以是以下任意之一:高脉冲信号、低脉冲信号、高电平信号、低电平信号。该触发信号也可以是连续或非连续的多个信号。不论采用何种形式,均不脱离本发明实施例的范围。The trigger signal can be understood as any signal that enables the processing module 15 to determine which key is currently touched. The trigger signal can be any one of the following: high pulse signal, low pulse signal, high level signal, low level signal. The trigger signal can also be a plurality of continuous or discontinuous signals. No matter what form is adopted, it does not depart from the scope of the embodiments of the present invention.

所述处理模块15电连接所述驱动模块13,以将所述无线控制指令或所述触发信号对应的控制信号发送至所述驱动模块13;The processing module 15 is electrically connected to the driving module 13, so as to send the wireless control command or the control signal corresponding to the trigger signal to the driving module 13;

其中的控制信号,可以是控制信息、触发信号本身,也可以是基于控制信息、触发信号而生成、发出的任意信号,并且,随着控制信息、触发信号的变化,控制信号也会发生相应变化。具体的,该控制信号可理解为指示驱动模块213驱动对应输出通断模块214发生以下任意之一动作的信号:关断、导通、翻转(即在导通时关断,在关断时导通)。The control signal can be control information, trigger signal itself, or any signal generated and sent based on control information and trigger signal, and, with the change of control information and trigger signal, the control signal will also change accordingly . Specifically, the control signal can be understood as a signal that instructs the drive module 213 to drive the corresponding output on-off module 214 to perform any of the following actions: off, on, and flipped (that is, it is turned off when it is turned on, and it is turned on when it is turned off. Pass).

所述处理模块215还电连接所述指示模块217,以将匹配于所述控制信号的指示信号反馈至所述指示模块217。The processing module 215 is also electrically connected to the indication module 217 to feed back an indication signal matching the control signal to the indication module 217 .

所述指示模块217的对外指示状态能够随所述指示信号变化,进而,通过对外指示状态,可体现出输出通断模块214的状态和/或所发生的动作。The external indication state of the indication module 217 can change with the indication signal, and further, the state and/or the action of the output on-off module 214 can be reflected through the external indication state.

所述驱动模块213电连接所述输出通断模块214的控制端,以响应于所述控制信号,驱动所述输出通断模块的通断。The driving module 213 is electrically connected to the control terminal of the output on-off module 214 to drive the output on-off module on and off in response to the control signal.

以上方案中,通过引入指示模块,且指示模块电连接处理模块,本发明为对外反馈的机制提供了硬件基础,同时,由于处理模块既可以获取到无线控制指令对应的控制信号,又可获取到按键的触发信号对应的控制信号,进而,不论是对输出通断模块的控制,还是对外指示、反馈,均可以此为依据而实现,本发明为此提供了充分的硬件基础,从而有助于保障控制、反馈指示的准确性。In the above solution, by introducing the indication module, and the indication module is electrically connected to the processing module, the present invention provides a hardware basis for the external feedback mechanism. The control signal corresponding to the trigger signal of the button, and then, whether it is the control of the output on-off module, or the external indication and feedback, can be realized based on this. The present invention provides a sufficient hardware foundation for this, thus contributing to Ensure the accuracy of control and feedback instructions.

其中,第二无线通讯模块212与处理模块215可以是分离的,也可以是集成在一起的。Wherein, the second wireless communication module 212 and the processing module 215 may be separated or integrated.

其中一种实施方式中,请参考图22,所述取电模块211包括交流直流转换器2111,以及直流电压变换器2112。In one implementation manner, please refer to FIG. 22 , the power-taking module 211 includes an AC-DC converter 2111 and a DC voltage converter 2112 .

所述交流直流转换器2111分别电连接所述接线柱与所述直流电压变换器,以将所述交流电转换为待变换的直流电,并将待变换的直流电输送至所述直流电压变换器;The AC-DC converter 2111 is respectively electrically connected to the terminal and the DC voltage converter to convert the AC power into DC power to be converted, and deliver the DC power to be converted to the DC voltage converter;

其中的转换,可以是能够将交流电转换为直流电的任意方式,具体的,可基于整流实现,也可基于开关电源实现,不论采用何种方式,均不脱离本发明实施例的范围。The conversion may be any method capable of converting AC power into DC power. Specifically, it may be implemented based on rectification or switching power supply. No matter which method is used, it does not depart from the scope of the embodiments of the present invention.

所述直流电压变换器2112电连接所述处理模块215、所述第二无线通讯模块212与所述驱动模块213,以将所述待变换的直流电变换为所述所需的电压,并输送至所述处理模块215、所述第二无线通讯模块212与所述驱动模块213;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 power to be converted into the required voltage and send it to The processing module 215, the second wireless communication module 212 and the driving module 213;

其中的变换,可以是升压,也可以是降压,在变换的同时,还可实现电压的稳压、滤波等处理。此外,输送至所述处理模块15、所述第二无线通讯模块12与所述驱动模块13的所述所需的电压,可以是相同的,也可以是不同的。一种具体的举例中,直流电压变换器112可将电压进一步降低为更低的电压,例如可以为1.8-3.3V。The transformation can be step-up or step-down, and at the same time of transformation, voltage stabilization and filtering can also be realized. In addition, the required voltages supplied 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 can further reduce the voltage to a lower voltage, such as 1.8-3.3V.

其中一种实施方式中,墙壁开关可以为零火墙壁开关,进而,请参考图23,所述接线柱的数量为至少三个,至少三个接线柱包括所述火线输入接线柱(例如接线柱P1)、所述火线输出接线柱(例如接线柱P2)与零线接线柱(例如接线柱P5)。In one of the implementation manners, the wall switch can be a zero-fire wall switch. Furthermore, please refer to FIG. P1), the live wire output terminal (such as terminal P2 ) and neutral wire terminal (such as terminal P5 ).

对应的,所述交流直流转换器2111包括PWM控制器21111、零火整流单元21113、零火取电开关K31、电流型储能单元(例如可采用电感L32实现)、电压型储能单元(例如可采用电容C33实现)与续流二极管D31。Correspondingly, the AC-DC converter 2111 includes a PWM controller 21111, a zero-fire rectification unit 21113, a zero-fire power-taking switch K31, a current-type energy storage unit (for example, it can be realized by using an inductor L32), a voltage-type energy storage unit (for example, It can be realized by using capacitor C33) and freewheeling diode D31.

所述零火整流单元21113的输入侧电连接所述火线输入接线柱(例如接线柱P1)与所述零线接线柱(例如接线柱P5),所述零火整流单元21113的输出侧的第一端直接或间接电连接所述零火取电开关K31的第一端,所述零火整流单元21113的输出侧的第二端接地,所述零火取电开关K31的第二端电连接所述电流型储能单元(例如电感L32)的第一端,所述电流型储能单元(例如电感L32)的第二端与所述电压型储能单元(例如电容C33)的第一端电连接所述直流电压变换器2112,以输出所述待变换的直流电,所述电压型储能单元(例如电容C33)的第二端接地,所述PWM控制器21111的控制端电连接所述零火取电开关K31的控制端,以通过周期性的PWM信号控制所述零火取电开关K31的通断,所述续流二极管D31的负极电连接所述电流型储能单元(例如电感L32)的第一端,所述续流二极管D31的正极接地。The input side of the zero-fire rectification unit 21113 is electrically connected to the live wire input terminal (for example, terminal P1) and the neutral line terminal (for example, terminal P5), and the first terminal of the output side of the zero-fire rectification unit 21113 One end is directly or indirectly electrically connected to the first end of the zero-fire power-taking switch K31, the second end of the output side of the zero-fire rectifier unit 21113 is grounded, and the second end of the zero-fire power-taking switch K31 is electrically connected to The first end of the current type energy storage unit (such as inductor L32), the second end of the current type energy storage unit (such as inductor L32) and the first end of the voltage type energy storage unit (such as capacitor C33) The DC voltage converter 2112 is electrically connected to output the DC power to be converted, the second end of the voltage-type energy storage unit (such as capacitor C33) is grounded, and the control end of the PWM controller 21111 is electrically connected to the The control terminal of the zero-fire power-taking switch K31 is used to control the on-off of the zero-fire power-taking switch K31 through a periodic PWM signal, and the negative pole of the freewheeling diode D31 is electrically connected to the current-type energy storage unit (such as an inductor L32), the anode of the freewheeling diode D31 is grounded.

部分举例中,所述交流直流转换器2111还包括滤波单元21112,所述滤波单元21112电连接于所述零火整流单元21113的输出侧与所述零火取电开关K31的第一端之间。In some examples, the AC-DC converter 2111 further includes a filter unit 21112, and the filter unit 21112 is electrically connected between the output side of the zero-fire rectification unit 21113 and the first end of the zero-fire power-taking switch K31 .

具体的,所述滤波单元21112包括滤波电感L31、滤波电阻R31、滤波第一电容C31与滤波第二电容C32;Specifically, the filter unit 21112 includes a filter inductor L31, a filter resistor R31, a filter first capacitor C31 and a filter second capacitor C32;

所述滤波电感L31的第一端电连接所述零火整流单元21113的输出侧的第一端,所述滤波电感L31的第二端电连接所述零火取电开关K31的第一端,所述滤波电阻R31的第一端电连接所述零火整流单元21113的输出侧的第一端,所述滤波电阻R31的第二端电连接所述零火取电开关K31的第一端,所述滤波第一电容C31的第一端电连接所述零火整流单元21113的输出侧的第一端,所述滤波第二电容C32的第一端电连接所述零火取电开关K31的第一端,所述滤波第一电容C31的第二端接地,所述滤波第二电容C32的第二端接地。The first end of the filter inductor L31 is electrically connected to the first end of the output side of the zero-fire rectification unit 21113, and the second end of the filter inductor L31 is electrically connected to the first end of the zero-fire power-taking switch K31, The first end of the filter resistor R31 is electrically connected to the first end of the output side of the zero-fire rectification unit 21113, and the second end of the filter resistor R31 is electrically connected to the first end of the zero-fire power-taking switch K31, The first end of the filtering first capacitor C31 is electrically connected to the first end of the output side of the zero-fire rectification unit 21113, and the first end of the filtering second capacitor C32 is electrically connected to the zero-fire power-taking switch K31. The first terminal, the second terminal of the filtering first capacitor C31 is grounded, and the second terminal of the filtering second capacitor C32 is grounded.

以上方案中,通过电容、电感、电阻的组合,实现了对电压波形的滤波,保障了电压的稳定性。In the above scheme, the filtering of the voltage waveform is realized through the combination of the capacitor, the inductor, and the resistor, and the stability of the voltage is ensured.

部分举例中,请参考图23,所述零火整流单元21113的输入侧并联有浪涌抑制单元21114。具体的,浪涌抑制单元21114可以包括并联于零火整流单元21113的输入侧的浪涌电压抑制单元211142,和/或:连接于火线连接柱(例如连接柱P1)与零火整流单元21113输入侧之间的浪涌电流抑制单元211141。In some examples, please refer to FIG. 23 , the input side of the zero-fire rectification unit 21113 is connected with a surge suppression unit 21114 in parallel. Specifically, the surge suppression unit 21114 may include a surge voltage suppression unit 211142 connected in parallel to the input side of the zero-fire rectification unit 21113, and/or: connected to the live wire connection column (such as connection column P1) and the input side of the zero-fire rectification unit 21113 Inrush current suppression unit 211141 between sides.

浪涌电流抑制单元可以采用限流电阻,例如可以为绕线式电阻丝、浪涌电压抑制单元例如可以采用亚敏电阻。The surge current suppression unit may use a current-limiting resistor, such as a wire-wound resistance wire, and the surge voltage suppression unit may use a subsensitivity resistor, for example.

通过以上的浪涌抑制,可避免浪涌的电信号进入后端电路,保障电压的稳定。Through the above surge suppression, the surge electrical signal can be prevented from entering the back-end circuit to ensure the stability of the voltage.

在其他部分举例中,零火墙壁开关的交流直流转换器2111中也可未设置浪涌抑制单元、滤波单元等电路单元。In other partial examples, the AC-DC converter 2111 of the zero-fire wall switch may not be provided with circuit units such as a surge suppression unit and a filter unit.

其中一种实施方式中,墙壁开关可以为单火墙壁开关,进而,请参考图23至图30,所述接线柱的数量可以为至少两个,其中包含了火线输入接线柱(例如接线柱P1),以及火线输出接线柱(例如接线柱P2、接线柱P3与接线柱P4),但不包含零线接线柱。In one of the implementation manners, the wall switch can be a single-fire wall switch. Further, please refer to FIG. 23 to FIG. ), and the live wire output terminal (such as terminal P2, terminal P3 and terminal P4), but does not include the neutral terminal.

在单火墙壁开关中,请参考图24、图29、图30,所述交流直流转换器2111包括ON态取电单元21115与OFF态取电单元21116。In the single-fire wall switch, please refer to FIG. 24 , FIG. 29 , and FIG. 30 , the AC-DC converter 2111 includes an ON-state power-taking unit 21115 and an OFF-state power-taking unit 21116 .

所述火线输入接线柱(例如接线柱P1)、所述ON态取电单元21115、所述输出通断模块(例如图23所示的输出通断模块RL,以及图28所示的输出通断模块RL1、输出通断模块RL2、输出通断模块RL3)、所述火线输出接线柱(例如图23所示的接线柱P2,以及图28所示的接线柱P2、接线柱P3与接线柱P4)直接或间接依次电连接,所述火线输入接线柱(例如接线柱P1)、所述OFF态取电单元21116与所述火线输出接线柱(例如接线柱P2)直接或间接依次电连接。The live wire input terminal (such as terminal P1), the ON state power-taking unit 21115, the output on-off module (for example, the output on-off module RL shown in FIG. 23 , and the output on-off module RL shown in FIG. 28 Module RL1, output on-off module RL2, output on-off module RL3), the fire wire output terminals (such as terminal P2 shown in Figure 23, and terminal P2, terminal P3 and terminal P4 shown in Figure 28 ) are directly or indirectly electrically connected in sequence, and the live wire input terminal (such as terminal P1), the OFF state power-taking unit 21116 is directly or indirectly electrically connected to the live wire output terminal (such as terminal P2) in sequence.

所述ON态取电单元21115的直流电输出端电连接所述直流电压变换器112,以在所述输出通断模块导通时获取所述交流电的电能,并基于所获取的电能向所述直流电压变换器2112输出所述待变换的直流电;The direct current output terminal of the ON state power acquisition 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 supply the electric energy to the direct current based on the obtained electric energy. The voltage converter 2112 outputs the DC power to be converted;

所述OFF态取电单元21116的直流电输出端电连接所述直流电压变换器2112,以在所述输出通断模块断开时获取所述交流电的电能,并基于所获取的电能向所述直流电压变换器输出所述待变换的直流电。The direct current output terminal of the OFF state power acquisition unit 21116 is electrically connected to the direct current voltage converter 2112, so as to obtain the electric energy of the alternating current when the output on-off module is disconnected, and based on the obtained electric energy to the direct current The voltage converter outputs the DC power to be converted.

其中,当继电器处于接通状态时,OFF态电路因为继电器的接通而被旁路,因此不会工作。ON态电路串联于、火线(L)、继电器、负载(L1)之间,通过从流经负载的交流电流中截取能量,输出直流电流(直流主电压),然后再通过直流电压变换到处理及无线单元工作。Wherein, when the relay is in the on state, the OFF state circuit is bypassed due to the on of the relay, so it will not work. The ON state circuit is connected in series between the live wire (L), the relay, and the load (L1). By intercepting the energy from the AC current flowing through the load, it outputs a DC current (DC main voltage), and then converts the DC voltage to the processing and The wireless unit works.

当继电器断开时,ON态电路因为继电器短路而无法再串联于回路中,火线与零线的电压将加载于负载(例如负载L1)与OFF态取电电路之间。OFF态电路利用该交流电压获得电能,输出直流电压(直流主电压),然后再通过直流电压变换到处理及无线单元工作。When the relay is disconnected, the ON state circuit can no longer be connected in series in the loop due to the short circuit of the relay, and the voltage of the live line and the neutral line will be loaded between the load (such as load L1) and the OFF state power-taking circuit. The OFF state circuit uses the AC voltage to obtain electric energy, outputs a DC voltage (DC main voltage), and then converts the DC voltage to the processing and wireless unit to work.

可见,以上方案中,既能够在输出通断模块断开时实现内部的供电,也能够在输出通断模块导通时实现内部的供电。It can be seen that in the above solution, the internal power supply can be realized when the output on-off module is off, and the internal power supply can also be realized when the output on-off module is on.

进一步举例中,请参考图26,所述ON态取电单元21115包括ON态取电开关Q1、ON态旁路二极管D32、ON态取电控制部211151、整流储能部(可结合整流二极管D34、储能电容C35理解);For a further example, please refer to FIG. 26, the ON state power fetching unit 21115 includes an ON state power fetching switch Q1, an ON state bypass diode D32, an ON state power fetching control part 211151, a rectification energy storage part (which can be combined with a rectification diode D34 , energy storage capacitor C35 understanding);

所述ON态取电开关Q1的第一端直接或间接电连接所述火线输入接线柱(例如接线柱P1),所述ON态取电开关Q1的第二端分别电连接所述输出通断模块(例如输出通断模块RL)与所述直流电压变换器2112。The first end of the ON-state power-taking switch Q1 is directly or indirectly electrically connected to the live wire input terminal (such as terminal P1), and the second terminal of the ON-state power-taking switch Q1 is respectively electrically connected to the output on-off module (such as the output on-off module RL) and the DC voltage converter 2112 .

所述ON态取电开关Q1与所述输出通断模块(例如输出通断模块RL)串联后连接于所述火线输入接线柱(例如接线柱P1)与所述火线输出接线柱(例如接线柱P2)之间;所述ON态旁路二极管D32并联于所述ON态取电开关Q1。The ON-state power-taking switch Q1 is connected in series with the output on-off module (such as the output on-off module RL) and connected to the live wire input terminal (such as terminal P1) and the live wire output terminal (such as terminal P1). Between P2); the ON-state bypass diode D32 is connected in parallel with the ON-state power-taking switch Q1.

其中,通过火线输出接线柱(例如接线柱P2),可对外连接负载(例如负载L1)并经负载连接至零线;所述ON态旁路二极管D32的正极直接或间接电连接火线输入接线柱(例如接线柱P1)。Wherein, through the live wire output terminal (for example, terminal P2), a load (for example, load L1) can be connected to the outside and connected to the neutral line through the load; the anode of the bypass diode D32 in the ON state is directly or indirectly electrically connected to the live wire input terminal (eg terminal P1).

所述整流储能部电连接所述ON态取电开关Q1与所述输出通断模块RL之间的ON态取电节点,用于存储所述ON态取电节点产生的电能,所述整流储能部电连接所述直流电压变换器2112,以输出所述待变换的直流电;The rectifier energy storage part is electrically connected to the ON-state power-taking node between the ON-state power-taking switch Q1 and the output on-off module RL, and is used to store the electric energy generated by the ON-state power-taking node. The energy storage part is electrically connected to the DC voltage converter 2112 to output the DC power to be converted;

所述ON态取电控制部211151的采样端电连接所述ON态取电开关Q1的一端(例 如第二端),所述ON态取电控制部211151的控制端电连接所述ON态取电开关管Q1的控制端,以实现ON态取电开关管Q1的通断控制。The sampling terminal of the ON state power acquisition control part 211151 is electrically connected to one end (such as the second end) of the ON state power acquisition switch Q1, and the control terminal of the ON state power acquisition control part 211151 is electrically connected to the ON state power acquisition control part 211151. The control terminal of the electric switch tube Q1 is used to realize the on-off control of the ON state power-taking switch tube Q1.

进一步的,所述整流储能部包括整流二极管D34、储能电容C35;所述ON态取电单元21115还包括供电二极管D33;Further, the rectification energy storage part includes a rectification diode D34 and an energy storage capacitor C35; the ON state power fetching unit 21115 also includes a power supply diode D33;

所述整流二极管D34的正极电连接所述ON态取电节点,所述整流二极管D34的负极电连接所述储能电容C35的第一端,所述储能电容C35的第二端接地,所述储能电容C35的第一端还电连接所述直流电压变换器2112;所述供电二极管D33的正极电连接所述ON态取电节点,所述供电二极管D33的负极电连接所述ON态取电控制部211151的供电端,同时,该供电端还经电容C34接地,从而实现对ON态取电控制部211151的稳定供电。The anode of the rectifier diode D34 is electrically connected to the ON state power-taking node, the cathode of the rectifier diode D34 is electrically connected to the first end of the energy storage capacitor C35, and the second end of the energy storage capacitor C35 is grounded, so The first end of the energy storage capacitor C35 is also electrically connected to the DC voltage converter 2112; the anode of the power supply diode D33 is electrically connected to the power-taking node in the ON state, and the cathode of the power supply diode D33 is electrically connected to the ON state The power supply terminal of the power acquisition control unit 211151 is also grounded through the capacitor C34, so as to realize stable power supply to the ON state power acquisition control unit 211151.

以图26为例,在ON态下(也即是输出通断模块导通的情况下),在电压的负半周(电流从零线流经负载L1、输出通断模块RL、ON态取电开关管Q1、到火线)的起始时刻,ON态取电控制部211151输出电平使得ON态取电开关管Q1关闭,这样电流将给ON态取电的整流储能部充电,供给后端供电。Taking Figure 26 as an example, in the ON state (that is, when the output on-off module is turned on), in the negative half cycle of the voltage (the current flows from the neutral line through the load L1, the output on-off module RL, and the ON state takes power At the initial moment of switching tube Q1, to the live wire), the output level of the ON-state power-taking control part 211151 makes the ON-state power-taking switch tube Q1 close, so that the current will charge the rectifier and energy storage part of the ON-state power-taking, and supply the back-end powered by.

此后,ON态取电控制部211151监测整流储能部中的电压,当达到阈值电压之后,ON态取电控制部211151输出ON信号打开ON态取电开关管Q1,整流储能部被旁路掉,不再进行充电,而会继续放电给后端电路供电。放电约一定时间后,ON态取电控制部211151会再次输出OFF信号,关闭ON态取电开关管Q1(此时,电压处于正半周,因此虽然ON态取电开关管Q1处于关闭状态,但是也不会给整流储能部充电),以便下一个负半周来的时候,会立即开始给整流储能部充电。Thereafter, the ON-state power acquisition control unit 211151 monitors the voltage in the rectifier energy storage unit. When the threshold voltage is reached, the ON-state power acquisition control unit 211151 outputs an ON signal to turn on the ON-state power acquisition switch tube Q1, and the rectifier energy storage unit is bypassed. It will no longer be charged, but will continue to discharge to supply power to the back-end circuit. After discharging for about a certain period of time, the ON-state power-taking control unit 211151 will output the OFF signal again to turn off the ON-state power-taking switch tube Q1 (at this time, the voltage is in the positive half cycle, so although the ON-state power-taking switch tube Q1 is in the off state, but It will not charge the rectification energy storage part), so that when the next negative half cycle comes, it will immediately start charging the rectification energy storage part.

其中,优选地,放电时间为交流电的半周期,以50HZ的交流电为例,放电时间为10mS。Wherein, preferably, the discharge time is a half cycle of the alternating current, taking the alternating current of 50HZ as an example, the discharge time is 10 mS.

其中一种实施方式中,所述ON态取电控制部211151的一个输出端电连接指定电路部分的复位端,以向所述复位端传递复位控制信号,其中,所述指定电路部分为所述处理模块215和/或所述直流电压变换器2112;所述复位控制信号关联于ON态取电单元中整流储能部的充电过程。In one of the implementation manners, one output terminal of the ON-state power acquisition control unit 211151 is electrically connected to the reset terminal of the specified circuit part to transmit a reset control signal to the reset terminal, wherein the specified circuit part is the The processing module 215 and/or the DC voltage converter 2112; the reset control signal is related to the charging process of the rectified energy storage unit in the power-taking unit in the ON state.

其中,所述复位控制信号包括:Wherein, the reset control signal includes:

所述ON态取电单元中整流储能部开始充电且未充电完成时,所述ON态取电控制部反馈的第一复位控制信号,以及:When the rectifier energy storage unit in the ON-state power-taking unit starts to charge and the charging is not completed, the first reset control signal fed back by the ON-state power-taking control unit, and:

所述ON态取电单元中整流储能部充电完成时,所述ON态取电控制部反馈的第二复位控制信号:When the charging of the rectifier energy storage unit in the ON-state power-taking unit is completed, the second reset control signal fed back by the ON-state power-taking control unit:

所述指定电路部分被配置为能够在所述复位端接收到所述第一复位控制信号时保持未启动的状态,所述指定电路部分还能够在其复位端接收到所述第二复位控制信号时进入复位启动的状态。The specified circuit part is configured to be able to remain in an unstarted state when the reset terminal receives the first reset control signal, and the specified circuit part can also receive the second reset control signal at its reset terminal Enter the reset start state.

具体的,ON态取电控制部211151可输出一信号到处理模块,该信号为当继电器处于接通状态时,系统上电后,等待ON态取电电路充电完成的信号,该信号接入到处理单元的复位引脚,或者直流电压变换单元的复位引脚,当ON态取电电路充电未完成时,输出第一电平(比如为低电平,其可理解为以上的第一复位控制信号),使得直流电压变换单元或所述处理单元处于复位状态,减小其电能消耗,避免ON态取电电路在启动过程中后端电流消耗过大无法启动。Specifically, the ON-state power-taking control unit 211151 can output a signal to the processing module. The signal is a signal that waits for the ON-state power-taking circuit to be charged after the system is powered on when the relay is in the on state. The signal is connected to the The reset pin of the processing unit, or the reset pin of the DC voltage conversion unit, when the charging of the power-taking circuit in the ON state is not completed, outputs the first level (such as a low level, which can be understood as the above first reset control signal), so that the DC voltage conversion unit or the processing unit is in the reset state, reducing its power consumption, and avoiding the excessive current consumption of the back-end power-taking circuit in the ON state during the start-up process and failing to start.

所述输出通断模块的数量、所述火线输出接线柱的数量、所述驱动模块的数量可以为1个,也可以为N个;其中,N≥2;进而,每个输出通断模块与一个火线输出接线柱(例如接线柱P1)串联后并联于所述ON态取电单元21115,每个驱动模块213电连接一个输出通断控制模块的控制端。The number of the output on-off modules, the number of the live wire output terminals, and the number of the drive modules can be 1 or N; wherein, N≥2; furthermore, each output on-off module is connected to A fire wire output terminal (such as terminal P1) is connected in series and parallel to the ON state power-taking unit 21115, and each driving module 213 is electrically connected to a control terminal of an output on-off control module.

以图29为例,输出通断控制模块RL1与接线柱P2串联,输出通断控制模块RL2与 接线柱P3串联,输出通断控制模块RL3与接线柱P4串联;进而,输出通断控制模块RL1可经负载L3连接至零线,输出通断控制模块RL2可经负载L2连接至零线,输出通断控制模块RL3可经负载L1连接至零线。Taking Figure 29 as an example, the output on-off control module RL1 is connected in series with terminal P2, the output on-off control module RL2 is connected in series with terminal P3, and the output on-off control module RL3 is connected in series with terminal P4; furthermore, the output on-off control module RL1 It can be connected to the neutral line through the load L3, the output on-off control module RL2 can be connected to the neutral line through the load L2, and the output on-off control module RL3 can be connected to the neutral line through the load L1.

其中一种实施方式中,所述OFF态取电单元21116包括OFF态取电控制部211161、变压器T1、OFF态取电整流部(例如图28所示的整流桥BG,以及图30所示的整流桥BG1与整流桥BG2)、输出电容C37、输出二极管D35、输入电容C36;所述变压器包括第一绕组,以及感应于所述第一绕组的第二绕组;In one of the implementations, the OFF-state power-taking unit 21116 includes an OFF-state power-taking control unit 211161, a transformer T1, and an OFF-state power-taking rectification unit (for example, the rectifier bridge BG shown in FIG. Rectifier bridge BG1 and rectifier bridge BG2), output capacitor C37, output diode D35, input capacitor C36; the transformer includes a first winding, and a second winding induced to the first winding;

所述OFF态取电整流部的第一侧用于接入所述交流电,所述OFF态取电整流部的第二侧的第一端电连接所述第一绕组的第一端,所述OFF态取电整流部的第二侧的第二端接地;所述输入电容C36的第一端电连接所述第一绕组的第一端,所述输入电容C36的第二端接地,所述第一绕组的第二端经所述OFF态取电控制部211161接地;所述OFF态取电控制部211161能够控制所述第一绕组的第二端与地之间的通断;The first side of the power-taking and rectifying part in the OFF state is used to access the alternating current, the first end of the second side of the power-taking and rectifying part in the OFF state is electrically connected to the first end of the first winding, and the The second end of the second side of the rectifying part in the OFF state is grounded; the first end of the input capacitor C36 is electrically connected to the first end of the first winding, the second end of the input capacitor C36 is grounded, and the The second end of the first winding is grounded through the OFF state power acquisition control part 211161; the OFF state power acquisition control part 211161 can control the on-off between the second end of the first winding and the ground;

所述第二绕组的第一端电连接所述输出二极管D35的正极,所述输出二极管D35的负极与所述输出电容C37的第一端电连接至所述直流电压变换器2112,以输出所述待变换的直流电,所述输出电容C37的第二端接地。此外,输出二极管D35的负极可经二极管D37连接至直流电压变换器2112。The first end of the second winding is electrically connected to the anode of the output diode D35, and the cathode of the output diode D35 and the first end of the output capacitor C37 are electrically connected to the DC voltage converter 2112 to output the The DC power to be converted, the second end of the output capacitor C37 is grounded. In addition, the cathode of the output diode D35 can be connected to the DC voltage converter 2112 via the diode D37.

进一步的,所述OFF态取电单元21116还包括反馈部211162,所述反馈部211162电分别电连接所述OFF态取电控制部211161的采样端与所述输出电容C37的第一端,以检测所述待变换的直流电的电压,并将检测结果反馈至所述OFF态取电控制部211161。Further, the OFF-state power-taking unit 21116 also includes a feedback part 211162, and the feedback part 211162 is electrically connected to the sampling end of the OFF-state power-taking control part 211161 and the first end of the output capacitor C37 respectively, so as to Detect the voltage of the DC power to be converted, and feed back the detection result to the OFF state power acquisition control unit 211161 .

反馈部211162可以根据输出电容C37的电压,反馈影响OFF态取电控制部211161,控制其内部的开关管的开通与关断,进而使得输出电容C37的电压维持在设定值的一定范围内。The feedback part 211162 can feedback the OFF state power-taking control part 211161 according to the voltage of the output capacitor C37, and control the opening and closing of its internal switch tube, so as to maintain the voltage of the output capacitor C37 within a certain range of the set value.

此外,OFF态取电控制部211161的供电也可以是变压器中的绕组提供的,例如,所述变压器还包括感应于所述第一绕组或所述第二绕组的辅助绕组,所述OFF态取电单元21116还包括辅助二极管D38、辅助电阻R33与辅助电容C38,所述辅助二极管D38电连接所述辅助绕组的第一端,所述辅助二极管D38的第二端经所述辅助电阻R33电连接所述辅助电容C38的第一端,所述辅助电容C38的第二端接地,所述辅助电容C38的第一端还电连接所述OFF态取电控制部211161的供电端。In addition, the power supply of the OFF state power acquisition control part 211161 can also be provided by windings in the transformer, for example, the transformer also includes an auxiliary winding induced by the first winding or the second winding, and the OFF state takes The electrical unit 21116 also includes an auxiliary diode D38, an auxiliary resistor R33 and an auxiliary capacitor C38, the auxiliary diode D38 is electrically connected to the first end of the auxiliary winding, and the second end of the auxiliary diode D38 is electrically connected to the auxiliary resistor R33 The first end of the auxiliary capacitor C38 and the second end of the auxiliary capacitor C38 are grounded, and the first end of the auxiliary capacitor C38 is also electrically connected to the power supply end of the OFF state power acquisition control unit 211161 .

此外,OFF态取电整流部中的整流桥可经电阻R31连接至对应的火线输出接线柱。In addition, the rectifier bridge in the power-taking rectification part in the OFF state can be connected to the corresponding live wire output terminal through the resistor R31.

以图28为例,负载、电阻R31、整流桥串联于零线与火线之间。通过整流桥将交流电整流为直流电,暂存于输入电容C36中。通过OFF态取电控制部211161的周期性开关,可使得输入电容C36间歇性进行放电,从而在变压器的输出绕组(例如第二绕组、辅助绕组)中输出感应电压和电流,通过输出二极管D35和输出电容C37进行整流和存储,最终输出,进而通过直流电压变化器输出给后端的电路。Taking Figure 28 as an example, the load, resistor R31, and rectifier bridge are connected in series between the neutral wire and the live wire. The alternating current is rectified into direct current through the rectifier bridge, and temporarily stored in the input capacitor C36. Through the periodic switching of the OFF state power acquisition control part 211161, the input capacitor C36 can be discharged intermittently, so that the induced voltage and current are output in the output winding (such as the second winding, auxiliary winding) of the transformer, and the output diode D35 and The output capacitor C37 performs rectification and storage, and finally outputs, and then outputs to the back-end circuit through the DC voltage changer.

其中,若火线输出接线柱、输出通断模块的数量为N个,所述OFF态取电整流部能够对所述火线输入接线柱与每个火线输出接线柱之间的交流电进行整流。Wherein, if the number of live wire output terminals and output on-off modules is N, the OFF state power-taking rectifier can rectify the alternating current between the live wire input terminal and each live wire output terminal.

以图30为例,所述OFF态取电整流部包括整流桥,所述整流桥的数量为两个,分别为第一整流桥BG1与第二整流桥BG2。Taking FIG. 30 as an example, the power-taking and rectifying section in the OFF state includes two rectifying bridges, which are the first rectifying bridge BG1 and the second rectifying bridge BG2 .

所述整流桥均包括第一整流二极管D41、第二整流二极管D42、第三整流二极管D43与第四整流二极管D44;The rectifier bridges each include a first rectifier diode D41, a second rectifier diode D42, a third rectifier diode D43, and a fourth rectifier diode D44;

所述第一整流二极管D41的负极电连接所述第二整流二极管D42的正极,以形成所述整流桥的第一节点;所述第二整流二极管D42的负极电连接所述第四整流二极管D44的负极,以形成所述整流桥的第二节点;所述第四整流二极管D44的正极电连接所述第三整流二极管D43的负极,以形成所述整流桥的第三节点;所述第一整流二极管D41的正极电连接所述第三整流二极管D43的正极,以形成所述整流桥的第四节点;The cathode of the first rectifier diode D41 is electrically connected to the anode of the second rectifier diode D42 to form the first node of the rectifier bridge; the cathode of the second rectifier diode D42 is electrically connected to the fourth rectifier diode D44 to form the second node of the rectifier bridge; the anode of the fourth rectifier diode D44 is electrically connected to the cathode of the third rectifier diode D43 to form the third node of the rectifier bridge; the first The anode of the rectifier diode D41 is electrically connected to the anode of the third rectifier diode D43 to form a fourth node of the rectifier bridge;

其中的N为2或3(图30中示意了N=3的情形,N=2的情形可参照于此连接),N个输出通断模块包括第一输出通断模块(例如输出通断模块RL1),所述N个输出通断模块还包括第二输出通断模块(例如输出通断模块RL2)和/或第三输出通断模块(例如输出通断模块RL3);N个火线输出接线柱包括第一火线输出接线柱(例如接线柱P2),所述N个火线输出接线柱还包括第二火线输出接线柱(例如接线柱P3)和/或第三火线输出接线柱(例如接线柱P4);Wherein N is 2 or 3 (the situation of N=3 is illustrated in Fig. 30, and the situation of N=2 can refer to this connection), and the N output on-off modules include the first output on-off module (for example, the output on-off module RL1), said N output on-off modules also include a second output on-off module (such as output on-off module RL2) and/or a third output on-off module (such as output on-off module RL3); N live wire output wiring The column includes a first live wire output terminal (such as a terminal P2), and the N live wire output terminals also include a second live wire output terminal (such as a terminal P3) and/or a third live wire output terminal (such as a terminal P3) and/or a third live wire output terminal (such as a terminal P4);

所述第一整流桥BG1的第一节点电连接至所述火线输入接线柱(例如接线柱P1),所述第一整流桥BG1的第二节点与所述第二整流桥BG2的第二节点均电连接至所述输入电容C36的第一端,所述第一整流桥BG1的第三节点电连接至所述第一输出通断模块(例如输出通断模块RL1)与所述第一火线输出接线柱(例如接线柱P2)之间,所述第一整流桥BG1的第四节点与所述第二整流桥BG2的第四节点均接地;The first node of the first rectifier bridge BG1 is electrically connected to the live wire input terminal (for example, terminal P1), the second node of the first rectifier bridge BG1 is connected to the second node of the second rectifier bridge BG2 Both are electrically connected to the first end of the input capacitor C36, and the third node of the first rectifier bridge BG1 is electrically connected to the first output on-off module (such as the output on-off module RL1) and the first live line Between the output terminals (such as terminal P2), the fourth node of the first rectifier bridge BG1 and the fourth node of the second rectifier bridge BG2 are both grounded;

其中:in:

若所述N个输出通断模块包括了所述第二输出通断模块(例如输出通断模块RL2),且所述N个火线输出接线柱包括了所述第二火线输出接线柱(即接线柱P3),则:所述第二整流桥BG2的第一节点电连接至所述第二输出通断模块(例如输出通断模块RL2)与所述第二火线输出接线柱(即接线柱P3)之间;If the N output on-off modules include the second output on-off module (for example, the output on-off module RL2), and the N live wire output terminals include the second live wire output terminals (ie, wiring column P3), then: the first node of the second rectifier bridge BG2 is electrically connected to the second output on-off module (such as the output on-off module RL2) and the second live wire output terminal (ie terminal P3 )between;

若所述N个输出通断模块包括了所述第三输出通断模块(例如输出通断模块RL3),且所述N个火线输出接线柱包括了所述第三火线输出接线柱(即接线柱P4),则:所述第二整流桥BG2的第三节点电连接至所述第三输出通断模块(例如输出通断模块RL3)与所述第三火线输出接线柱(即接线柱P4)之间。If the N output on-off modules include the third output on-off module (such as the output on-off module RL3), and the N live wire output terminals include the third live wire output terminal (ie, wiring column P4), then: the third node of the second rectifier bridge BG2 is electrically connected to the third output on-off module (such as the output on-off module RL3) and the third live wire output terminal (ie terminal P4 )between.

基于以上电路涉及,可实现以的电流流通和整流过程:Based on the above circuit involvement, the following current flow and rectification process can be realized:

针对于负载L1:可以通过整流桥BG1的四个整流二极管进行电流流通和整流。For the load L1: the current flow and rectification can be performed through the four rectifier diodes of the rectifier bridge BG1.

针对于负载L2:可以通过第一整流桥BG1的第一整流二极管D61、第二整流二极管D62,以及第二整流桥BG2的第一整流二极管D61、第二整流二极管D62进行电流流通和整流。For the load L2: the first rectifier diode D61 and the second rectifier diode D62 of the first rectifier bridge BG1, and the first rectifier diode D61 and the second rectifier diode D62 of the second rectifier bridge BG2 can conduct current flow and rectification.

针对于负载L3:可以通过第一整流桥BG1的第一整流二极管D61、第二整流二极管D62,以及第二整流桥BG2的第三整流二极管D63、第四整流二极管D64进行电流流通和整流。For the load L3: the first rectifier diode D61 and the second rectifier diode D62 of the first rectifier bridge BG1, and the third rectifier diode D63 and fourth rectifier diode D64 of the second rectifier bridge BG2 can perform current flow and rectification.

其中一种实施方式中,请参考图23至图30,所述墙壁开关电路还包括熔断模块2113,所述熔断模块2113电连接于所述火线输入接线柱(例如接线柱P1)与所述取电模块之间。具体的,熔断模块2113可以采用保险丝。其中保险丝的范围为1-10A。作为优选,采用盒式保险丝,或贴片式保险丝。In one of the implementation manners, please refer to FIG. 23 to FIG. 30 , the wall switch circuit further includes a fuse module 2113, and the fuse module 2113 is electrically connected to the live wire input terminal (for example, terminal P1) and the take-off terminal. between electrical modules. Specifically, the fuse module 2113 may use a fuse. The range of the fuse is 1-10A. Preferably, a box-type fuse or a chip-type fuse is used.

通过熔断模块2113的熔断作用,可起到安全保障作用。The fusing function of the fusing module 2113 can play a role of safety protection.

由于该熔断模块2113处于输入的总的入口出,则多路输出及负载(例如负载L1、负载L2与负载L3)任意一路异常,都会导致熔断器熔断,从而阻止异常的电路发生持续的大电流,造成火灾等严重事故。相比于在负载线输出通路串联熔断单元的方案,以上方案可以节省体积、节省成本。Since the fuse module 2113 is at the main entrance and exit of the input, any abnormality of any one of the multiple outputs and loads (such as load L1, load L2, and load L3) will cause the fuse to blow, thereby preventing the abnormal circuit from generating continuous large current , causing serious accidents such as fire. Compared with the solution of connecting the fuse units in series in the output path of the load line, the above solution can save volume and cost.

其中一种实施方式中,所述指示模块217包括发光单元(例如发光二极管LED1所示的电路单元),所述发光单元电连接所述处理模块215,所述对外指示状态包括所述发光单元发光的状态与所述发光单元未对外发光的状态。其中,发光二极管LED1的正极可电连接处理模块215,负极可接地。In one of the implementation manners, the indication module 217 includes a light-emitting unit (such as a circuit unit shown by a light-emitting diode LED1), the light-emitting unit is electrically connected to the processing module 215, and the external indication state includes that the light-emitting unit emits light. state and the state of the light emitting unit not emitting light to the outside. Wherein, the anode of the light emitting diode LED1 can be electrically connected to the processing module 215 , and the cathode can be grounded.

对应于发光单元的发光,所述墙壁开关按键22可设有出光孔,所述出光孔设有导光柱,所述发光单元发出的光能够经所述导光柱对外导出。Corresponding to the lighting of the light emitting unit, the wall switch button 22 can be provided with a light outlet hole, and the light outlet hole is provided with a light guide column, and the light emitted by the light emitting unit can be exported to the outside through the light guide column.

其中一种实施方式中,请参考图31,输出通断模块214(例如输出通断模块RL、输出通断模块RL1、输出通断模块RL2、输出通断模块RL3)可以采用继电器FRY,该 继电器FRY可包含一触点部与线圈部,线圈部的一端连接直流电压变换器2112的输出,另一端连接所述驱动模块213。所述驱动模块213为一三极管或MOS管(例如三极管Q2),三极管Q2的集电极连接所述线圈部。进一步的,三极管Q2的发射极接地,三极管Q2的基极与发射极之间电连接有电阻R35,三极管Q2的基极经电阻R34电连接处理模块215,线圈部的两端可并联有二极管D39,二极管D39的负极电连接三极管Q2。In one of the implementations, please refer to FIG. 31, the output on-off module 214 (such as the output on-off module RL, the output on-off module RL1, the output on-off module RL2, the output on-off module RL3) can use the relay FRY, the relay The FRY may include a contact part and a coil part, one end of the coil part is connected to the output of the DC voltage converter 2112 , and the other end is connected to the driving module 213 . The driving module 213 is a triode or MOS transistor (such as the transistor Q2 ), and the collector of the transistor Q2 is connected to the coil part. Further, the emitter of the triode Q2 is grounded, the base of the triode Q2 and the emitter are electrically connected to a resistor R35, the base of the triode Q2 is electrically connected to the processing module 215 through a resistor R34, and a diode D39 can be connected in parallel at both ends of the coil. , the cathode of the diode D39 is electrically connected to the triode Q2.

具体的,当所述输出通断模块为继电器时,所述处理模块可集成有脉冲信号生成单元,其可以输出连续的脉冲信号,脉冲宽度和脉冲频率可以调节。脉冲宽度范围为20%--80%,脉冲频率为10-50KHZ。所述脉冲信号生成单元通过一IO输出所述脉冲信号,与驱动模块相连接,所处脉冲信号周期性的打开和关闭驱动模块,当所述脉冲信号为高电平时,所述驱动模块打开,继电器的线圈接通,流过电流逐渐增大。当所述脉冲信号为低电平时,所述驱动模块关闭。Specifically, when the output on-off module is a relay, the processing module can be integrated with a pulse signal generating unit, which can output continuous pulse signals, and the pulse width and pulse frequency can be adjusted. The pulse width range is 20%--80%, and the pulse frequency is 10-50KHZ. The pulse signal generating unit outputs the pulse signal through an IO, and is connected to the drive module, where the pulse signal periodically turns on and off the drive module, and when the pulse signal is at a high level, the drive module is turned on, The coil of the relay is turned on, and the flowing current gradually increases. When the pulse signal is at low level, the driving module is turned off.

当该电路结构应用于零火墙壁开关时,继电器的线圈电流不能突变,将通过续流二极管D31续流,维持线圈电流,进而维持继电器的吸合状态。When this circuit structure is applied to a zero-fire wall switch, the coil current of the relay cannot change suddenly, and it will continue to flow through the freewheeling diode D31 to maintain the coil current, and then maintain the pull-in state of the relay.

通过该脉冲信号的控制方式,可以降低继电器线圈的平均电流,降低继电器功耗,降低继电器的温升。同时,系统中总电流也得到了降低,所述直流电压变换器中的开关管的功耗和温升也得到了降低,所述直流电压变换器的温升也得到了降低,提升了产品的可靠性。Through the control mode of the pulse signal, the average current of the relay coil can be reduced, the power consumption of the relay can be reduced, and the temperature rise of the relay can be reduced. At the same time, the total current in the system is also reduced, the power consumption and temperature rise of the switching tubes in the DC voltage converter are also reduced, the temperature rise of the DC voltage converter is also reduced, and the product quality is improved. reliability.

与之相对应的,本发明实施例具体的方案中,所述底壳可以必要设置单独的散热孔,可以获得更好的外观,以及更好的防尘等防护性能。相较而言,传统产品不包含该脉冲信号生成单元,未使用基于脉冲信号的控制方式,其产品功耗高、温升大、防护性差,不利于产品的可靠使用。Correspondingly, in the specific solution of the embodiment of the present invention, the bottom case may necessarily be provided with a separate heat dissipation hole, so as to obtain a better appearance and better protection performance such as dustproof. In comparison, traditional products do not include the pulse signal generating unit, and do not use a pulse signal-based control method. Their products have high power consumption, high temperature rise, and poor protection, which is not conducive to the reliable use of the product.

此外,若第二无线通讯模块为蓝牙通讯模块,同时,处理模块内还可配置有定时器,那么,对于单火墙壁开关,系统上电后,将启动定时器,每一定的时间唤醒系统进行蓝牙扫描,实现前文提到的唤醒休眠周期。In addition, if the second wireless communication module is a Bluetooth communication module, at the same time, a timer can also be configured in the processing module, then, for a single-fire wall switch, after the system is powered on, the timer will be started, and the system will be woken up at a certain time. Bluetooth scanning to implement the wake-up sleep cycle mentioned above.

在本说明书的描述中,参考术语“一种实施方式”、“一种实施例”、“具体实施过程”、“一种举例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to terms such as "one embodiment", "an embodiment", "a specific implementation process", "an example" mean specific features described in conjunction with the embodiment or example, A structure, material or characteristic is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific 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 solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (38)

一种自发电无线开关,其特征在于,包括:无线开关按键、无线开关电路、发电机与复位部件,所述无线开关电路包括整流模块、储能模块、电压输出模块、处理器、存储器与第一无线通讯模块;所述发电机包括运动部与感应部;A self-generating wireless switch, characterized in that it includes: a wireless switch button, a wireless switch circuit, a generator and a reset component, and the wireless switch circuit includes a rectifier module, an energy storage module, a voltage output module, a processor, a memory and a second A wireless communication module; the generator includes a moving part and an induction part; 所述无线开关按键直接或间接传动于所述发电机的运动部,所述复位部件直接或间接传动于所述发电机的运动部,其中:所述无线开关按键被下按时能够传动所述运动部发生第一方向的运动,所述复位部件能够在所述运动部发生第一方向的运动时发生形变,并产生克服所述形变的复位作用力,所述复位部件还能够在使所述无线开关按键下按的作用力被撤去后,利用所述复位作用力传动所述运动部发生第二方向的运动,且所述无线开关按键发生回弹;The wireless switch key is directly or indirectly transmitted to the moving part of the generator, and the reset part is directly or indirectly transmitted to the moving part of the generator, wherein: the wireless switch key can transmit the movement when pressed part moves in the first direction, the reset part can be deformed when the moving part moves in the first direction, and generate a reset force to overcome the deformation, and the reset part can also make the wireless After the pressing force of the switch button is removed, the moving part is driven to move in the second direction by using the reset force, and the wireless switch button rebounds; 所述感应部电连接所述整流模块,以在所述运动部发生第一方向的运动时,产生第一感应电压,在所述运动部发生第二方向的运动时,产生第二感应电压;The induction part is electrically connected to the rectification module, so as to generate a first induced voltage when the moving part moves in a first direction, and generate a second induced voltage when the moving part moves in a second direction; 所述整流模块电连接所述储能模块,以将所述第一感应电压对应的第一电能和/或所述第二感应电压对应的第二电能存储于所述储能模块;The rectification module is electrically connected to the energy storage module, so as to store the first electric energy corresponding to the first induced voltage and/or the second electric energy corresponding to the second induced voltage in the energy storage module; 所述储能模块电连接所述电压输出模块,以将所存储的电能输送至所述电压输出模块;The energy storage module is electrically connected to the voltage output module, so as to deliver the stored electric energy to the voltage output module; 所述电压输出模块电连接所述处理器、所述存储器与所述第一无线通讯模块,以利用所述储能模块传输而来的电能,向所述处理器、所述存储器与所述第一无线通讯模块输出所需的供电电压,使得所述处理器、所述第一无线通讯模块与所述存储器上电;The voltage output module is electrically connected to the processor, the memory and the first wireless communication module, so as to use the electric energy transmitted from the energy storage module to send the power to the processor, the memory and the first wireless communication module. A wireless communication module outputs a required power supply voltage, so that the processor, the first wireless communication module and the memory are powered on; 所述第一无线通讯模块能够与受控设备通讯,所述处理器电连接所述第一无线通讯模块,以在所述处理器、所述存储器与所述第一无线通讯模块上电后,利用所述第一无线通讯模块向所述受控设备发出第一控制信息;The first wireless communication module can communicate with the controlled device, and the processor is electrically connected to the first wireless communication module, so that after the processor, the memory and the first wireless communication module are powered on, sending first control information to the controlled device by using the first wireless communication module; 所述处理器利用所述第一无线通讯模块向所述受控设备发出第一控制信息时,具体用于:When the processor uses the first wireless communication module to send the first control information to the controlled device, it is specifically used for: 所述处理器通过所述第一无线通讯模块依次对外广播M组数据包,以使得:所述受控设备在唤醒休眠周期的唤醒时段抓取到至少一个数据包,其中,每组数据包均包括多个数据包,每个数据包均包含所述第一控制信息;所述M组数据包中相邻两组数据包的广播间隔,匹配于所述唤醒休眠周期,其中,M≥2,所述唤醒休眠周期包括交替的唤醒时段与休眠时段,且所述受控设备仅在所述唤醒时段接收数据包。The processor sequentially broadcasts M groups of data packets externally through the first wireless communication module, so that: the controlled device captures at least one data packet during the wake-up period of the wake-up sleep cycle, wherein each group of data packets is It includes a plurality of data packets, each of which includes the first control information; the broadcast interval of two adjacent groups of data packets in the M groups of data packets is matched with the wake-up sleep cycle, where M≥2, The wake-up-sleep period includes alternate wake-up periods and sleep periods, and the controlled device only receives data packets during the wake-up periods. 根据权利要求1所述的自发电无线开关,其特征在于,The self-generating wireless switch according to claim 1, characterized in that, 所述唤醒时段的时长大于或等于相邻两组数据包的广播间隔;The duration of the wake-up period is greater than or equal to the broadcast interval of two adjacent groups of data packets; 所述休眠时段的时长小于或等于M-1倍所述广播间隔。The duration of the sleep period is less than or equal to M-1 times the broadcast interval. 根据权利要求2所述的自发电无线开关,其特征在于,同一组中的多个数据包是通过以下至少之二信道发送的:The self-generating wireless switch according to claim 2, wherein a plurality of data packets in the same group are sent through at least two of the following channels: 2.402GHz;2.428GHz;2.480GHz。2.402GHz; 2.428GHz; 2.480GHz. 根据权利要求1所述的自发电无线开关,其特征在于,所述处理器通过所述第一无线模块依次对外广播M组数据包,包括:The self-generating wireless switch according to claim 1, wherein the processor sequentially broadcasts M groups of data packets through the first wireless module, including: 所述处理器在开始发送一组数据包后,对广播间隔的时间进行计时,并在计时到达指定的发包间隔时长时,发出对应的一组数据包。After the processor starts to send a group of data packets, it counts the time of the broadcast interval, and sends out a corresponding group of data packets when the timing reaches the specified packet sending interval. 根据权利要求4所述的自发电无线开关,其特征在于,所述指定的发包间隔时长处于15毫秒至25毫秒的区间范围内。The self-generating wireless switch according to claim 4, characterized in that, the specified packet sending interval is within the range of 15 milliseconds to 25 milliseconds. 根据权利要求1至5任一项所述的自发电无线开关,其特征在于,所述第一无线通讯模块为第一蓝牙通讯模块。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. 根据权利要求1至5任一项所述的自发电无线开关,其特征在于,所述整流模块包括第一整流部与第二整流部;所述第一整流部电连接于所述发电机的感应部与所述储能 模块,所述第二整流部电连接于所述感应部与所述储能模块;The self-generating wireless switch according to any one of claims 1 to 5, wherein the rectification module includes a first rectification part and a second rectification part; the first rectification part is electrically connected to the generator The sensing part is connected to the energy storage module, and the second rectification part is electrically connected to the sensing part and the energy storage module; 所述第一整流部用于对所述第一感应电压进行整流,并将对应的第一电能存储于所述储能模块;The first rectifying unit is used to rectify the first induced voltage and store the corresponding first electric energy in the energy storage module; 所述第二整流部用于对所述第二感应电压进行整流,并将对应的第二电能存储于所述储能模块。The second rectification unit is used to rectify the second induced voltage and store the corresponding second electric energy in the energy storage module. 根据权利要求1至5任一项所述的自发电无线开关,其特征在于,所述无线开关电路还包括极性识别模块,所述极性识别模块电连接于所述感应部与所述处理器之间,以在所述感应部输出所述第一感应电压时,向所述处理器反馈下按识别信号,在检测到所述感应部输出所述第二感应电压时,向所述处理器反馈回弹识别信号。The self-generating wireless switch according to any one of claims 1 to 5, wherein the wireless switch circuit further includes a polarity identification module, the polarity identification module is electrically connected to the sensing part and the processing between the sensors, so that when the sensing part outputs the first induced voltage, the press-down identification signal is fed back to the processor, and when it is detected that the sensing part outputs the second induced voltage, the processing The device feeds back the rebound recognition signal. 根据权利要求8所述的自发电无线开关,其特征在于,所述极性识别模块包括下按识别部与回弹识别部;The self-generating wireless switch according to claim 8, wherein the polarity identification module includes a push-down identification part and a rebound identification part; 所述下按识别部电连接于所述感应部与所述处理器的一个第一信号端,以在所述感应部输出所述第一感应电压时,向所述第一信号端反馈指定信号作为所述下按识别信号;The push-down identifying part is electrically connected to the sensing part and a first signal terminal of the processor, so that when the sensing part outputs the first induced voltage, a specified signal is fed back to the first signal terminal. As the pressing down identification signal; 所述回弹识别部电连接于所述感应部与所述处理器的一个第二信号端,以在所述感应部输出所述第二感应电压时,向所述第二信号端反馈指定信号作为所述回弹识别信号。The rebound identification part is electrically connected to the sensing part and a second signal terminal of the processor, so as to feed back a specified signal to the second signal terminal when the sensing part outputs the second induced voltage as the rebound identification signal. 根据权利要求1至5任一项所述的自发电无线开关,其特征在于,所述存储器包括:用于存储程序的第一存储器,所述第一存储器电连接所述处理器。The self-generating wireless switch according to any one of claims 1 to 5, wherein the memory includes: a first memory for storing programs, and the first memory is electrically connected to the processor. 根据权利要求10所述的自发电无线开关,其特征在于,所述存储模块还包括:用于存储当前按键信息和/或当前验证标识的第二存储器,所述当前按键信息表征了最近一次被下按的无线开关按键,所述当前验证标识用于作为所述自发电无线开关所发出控制信息的验证依据。The self-generating wireless switch according to claim 10, wherein the storage module further includes: a second memory for storing current key information and/or current verification identification, the current key information represents the latest The pressed button of the wireless switch, the current verification mark is used as a verification basis for the control information sent by the self-generating wireless switch. 根据权利要求11所述的自发电无线开关,其特征在于,所述第二存储器为能够按一个或多个字节为单位擦除、写入、读取数据的存储器,其中,单个字节的写入、读取时间不超过10ms,消耗的能量不超过300uJ。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 a single byte The writing and reading time does not exceed 10ms, and the energy consumption does not exceed 300uJ. 根据权利要求1至5任一项所述的自发电无线开关,其特征在于,所述电压输出模块包括控制器、储能电容与续流单元;The self-generating wireless switch according to any one of claims 1 to 5, wherein the voltage output module includes a controller, an energy storage capacitor and a freewheeling unit; 所述控制器的输入侧电连接所述储能模块,所述控制器的输出侧电连接所述续流单元的第一端,所述续流单元的第二端直接或间接电连接所述处理器和/或第一无线通讯模块,所述储能电容电连接于所述续流单元的第二端与地之间;所述控制器被配置为能够控制其输入侧与输出侧之间的导通与关断,并通过调节通断的切换频率,以及导通或关断的时长,调节经所述续流单元与所述储能电容所输出的电压。The input side of the controller is electrically connected to the energy storage module, the output side of the controller is electrically connected to the first end of the freewheeling unit, and the second end of the freewheeling unit is directly or indirectly electrically connected to the Processor and/or the first wireless communication module, the energy storage capacitor is electrically connected between the second end of the freewheeling unit and the ground; the controller is configured to be able to control the connection between the input side and the output side and by adjusting the on-off switching frequency and the on-off or off-time duration, the voltage output by the freewheeling unit and the energy storage capacitor is adjusted. 根据权利要求1至5任一项所述的自发电无线开关,其特征在于,所述无线开关电路还包括检测单元,所述自发电无线开关还包括传动部件,所述无线开关按键的数量为至少两个,且所述无线开关按键与所述检测单元一一对应;According to the self-generating wireless switch according to any one of claims 1 to 5, it is characterized in that the wireless switch circuit also includes a detection unit, the self-generating wireless switch also includes a transmission component, and the number of the wireless switch keys is At least two, and the wireless switch keys correspond to the detection unit one by one; 所述传动部件传动于所述无线开关按键与所述运动部之间,其中,任意之一所述无线开关按键被下按时均能够直接或间接传动所述传动部件自第一位置状态变化为第二位置状态,在所述传动部件自所述第一位置状态变化为所述第二位置状态时,所述传动部件能够驱动所述运动部发生所述第一方向的运动;The transmission part is driven between the wireless switch button and the moving part, wherein, when any one of the wireless switch buttons is pressed, it can directly or indirectly drive the transmission part to change from the first position to the second position. Two position states, when the transmission part changes from the first position state to the second position state, the transmission part can drive the moving part to move in the first direction; 所述传动部件传动于所述复位部件,所述复位部件能够在使所述无线开关按键下按的作用力被撤去后,利用所述复位作用力驱动所述传动部件自所述第二位置状态变化为所述第一位置状态;在所述传动部件自所述第二位置状态变化为所述第一位置状态时,所述传动部件能够驱动所述运动部发生所述第二方向的运动,且所述无线开关按键能够发生回弹;The transmission part is driven by the reset part, and the reset part can use the reset force to drive the transmission part from the second position state after the push force of the wireless switch button is removed. change to the first position state; when the transmission component changes from the second position state to the first position state, the transmission component can drive the moving part to move in the second direction, And the wireless switch button can rebound; 所述处理器电连接所述检测单元,以在所述处理器上电且所述检测单元被触发之后,采集对应的按键触发信号,所述按键触发信号表征了被下按的无线开关按键。The processor is electrically connected to the detection unit, so as to collect a corresponding key trigger signal after the processor is powered on and the detection unit is triggered, and the key trigger signal represents the pressed wireless switch key. 一种受控设备,其特征在于,所述受控设备能够与权利要求1至14任一项所述的自发电无线开关中的第一无线通讯模块通讯;A controlled device, characterized in that the controlled device can communicate 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 configured to capture the data packet of the first control information sent by the first wireless communication module according to the wake-up sleep cycle. 根据权利要求15所述的受控设备,其特征在于,所述受控设备包括以下至少之一:墙壁开关、窗帘,灯具,风扇、门铃。The controlled device according to claim 15, wherein the controlled device comprises at least one of the following: a wall switch, a curtain, a lamp, a fan, and a doorbell. 根据权利要求16所述的受控设备,其特征在于,所述墙壁开关包括:墙壁开关按键、墙壁开关电路、火线输入接线柱与火线输出接线柱;The controlled device according to claim 16, wherein the wall switch comprises: a wall switch button, a wall switch circuit, a live wire input terminal and a live wire output terminal; 所述墙壁开关电路包括取电模块、处理模块、第二无线通讯模块、至少一个按键识别模块、输出通断模块、驱动模块与指示模块;所述输出通断模块的一端直接或间接电连接所述火线输入接线柱,所述输出通断模块的另一端直接或间接电连接所述火线输出接线柱;The wall switch circuit includes a power-taking module, a processing module, a second wireless communication module, at least one key recognition module, an output on-off module, a drive module and an indication module; one end of the output on-off module is directly or indirectly connected to the The live wire input terminal, the other end of the output on-off module is directly or indirectly electrically connected to the live wire output terminal; 所述取电模块电连接所述接线柱、所述处理模块、所述第二无线通讯模块与所述驱动模块,以将接入的交流电转换为所需的直流电,并将所述所需的直流电输送至所述处理模块、所述第二无线通讯模块与所述驱动模块;The power-taking module is electrically connected to the terminal, the processing module, the second wireless communication module and the driving module, so as to convert the incoming AC power into the required DC power, and convert the required direct current is delivered to the processing module, the second wireless communication module and the driving module; 所述第二无线通讯模块电连接所述处理模块,以将自中间设备或所述自发电无线开关接收到的控制信息反馈至所述处理模块;The second wireless communication module is electrically connected to the processing module, so as to feed back the control information received from the intermediate device or the self-generating wireless switch to the processing module; 所述按键识别模块的位置匹配于对应的墙壁开关按键,以在所述对应的墙壁开关按键运动时被触动,所述按键识别模块电连接所述处理模块,以在被触动时向所述处理模块传递对应的触发信号;The position of the button recognition module is matched with the corresponding wall switch button, so as to be touched when the corresponding wall switch button moves, and the button recognition module is electrically connected to the processing module, so as to report to the processing module when touched. The module transmits the corresponding trigger signal; 所述处理模块电连接所述驱动模块,以将所接收到的控制信息或所述触发信号对应的控制信号发送至所述驱动模块;The processing module is electrically connected to 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 to the indication module, so as to feed back the indication signal matching the control signal to the indication module; the external indication state of the indication module can change with the indication signal; 所述驱动模块电连接所述输出通断模块的控制端,以响应于所述控制信号,驱动所述输出通断模块的通断。The driving module is electrically connected to the control terminal of the output on-off module, so as to drive the on-off of the output on-off module in response to the control signal. 根据权利要求17所述的受控设备,其特征在于,所述取电模块包括交流直流转换器,以及直流电压变换器;The controlled device according to claim 17, wherein the power-taking module includes an AC-DC converter and a DC voltage converter; 所述交流直流转换器分别电连接所述接线柱与所述直流电压变换器,以用于将所述交流电转换为直流电,并将待变换的直流电输送至所述直流电压变换器;The AC-DC converter is respectively electrically connected to the terminal and the DC voltage converter for converting the AC power into DC power and delivering the DC power to be converted to the DC voltage converter; 所述直流电压变换器电连接所述处理模块、所述第二无线通讯模块与所述驱动模块,以将所述待变换的直流电变换为所述所需的电压。The DC voltage converter is electrically connected to the processing module, the second wireless communication module and the driving module to convert the DC power to be converted into the required voltage. 根据权利要求18所述的受控设备,其特征在于,The controlled device according to claim 18, characterized in that, 所述交流直流转换器包括ON态取电单元与OFF态取电单元;The AC-DC converter includes an ON state power fetching unit and an OFF state power fetching unit; 所述火线输入接线柱、所述ON态取电单元、所述输出通断模块、所述火线输出接线柱直接或间接依次电连接,所述火线输入接线柱、所述OFF态取电单元与所述火线输出接线柱直接或间接依次电连接;The live wire input terminal, the ON-state power-taking unit, the output on-off module, and the live-wire output terminal are directly or indirectly electrically connected in sequence, and the live-wire input terminal, the OFF-state power-taking unit and The live wire output terminals are directly or indirectly electrically connected in sequence; 所述ON态取电单元的直流电输出端电连接所述直流电压变换器,以在所述输出通断模块导通时获取所述交流电的电能,并基于所获取的电能向所述直流电压变换器输出所述待变换的直流电;The DC output terminal of the ON-state power fetching unit is electrically connected to the DC voltage converter, so as to obtain the electric energy of the AC power when the output on-off module is turned on, and convert the electric energy to the DC voltage based on the obtained electric energy The device outputs the direct current to be converted; 所述OFF态取电单元的直流电输出端电连接所述直流电压变换器,以在所述输出通断模块断开时获取所述交流电的电能,并基于所获取的电能向所述直流电压变换器输出所述待变换的直流电。The DC output terminal of the OFF state power-taking unit is electrically connected to the DC voltage converter, so as to obtain the electric energy of the AC power when the output on-off module is disconnected, and convert to the DC voltage based on the obtained electric energy The converter outputs the DC power to be converted. 根据权利要求19所述的受控设备,其特征在于,所述ON态取电单元包括ON态取电开关、ON态旁路二极管、ON态取电控制部、整流储能部;The controlled device according to claim 19, characterized in that, the ON-state power-taking unit includes an ON-state power-taking switch, an ON-state bypass diode, an ON-state power-taking control unit, and a rectification energy storage unit; 所述ON态取电开关的第一端直接或间接电连接所述火线输入接线柱,所述ON态取电开关的第二端分别电连接所述输出通断模块与所述直流电压变换器;The first end of the ON-state power-taking switch is directly or indirectly electrically connected to the live wire input terminal, and the second end of the ON-state power-taking switch is respectively electrically connected to the output on-off module and the DC voltage converter ; 所述ON态取电开关与所述输出通断模块串联后连接于所述火线输入接线柱与所述火线输出接线柱之间;所述ON态旁路二极管并联于所述ON态取电开关;The ON-state power-taking switch is connected in series with the output on-off module between the live wire input terminal and the live-wire output terminal; the ON-state bypass diode is connected in parallel to the ON-state power-taking switch ; 所述整流储能部电连接所述ON态取电开关与所述输出通断模块之间的ON态取电节点,用于存储所述ON态取电节点产生的电能,所述整流储能部电连接所述直流电压变换器,以输出所述待变换的直流电;The rectification energy storage part is electrically connected to the ON state power acquisition node between the ON state power acquisition switch and the output on-off module, and is used to store the electric energy generated by the ON state power acquisition node. The part is electrically connected to the DC voltage converter to output the DC power to be converted; 所述ON态取电控制部的采样端电连接所述ON态取电开关的一端,所述ON态取电控制部的控制端电连接所述ON态取电开关管的控制端。The sampling end of the ON state power acquisition control part is electrically connected to one end of the ON state power acquisition switch, and the control end of the ON state power acquisition control part is electrically connected to the control end of the ON state power acquisition switch tube. 根据权利要求20所述的受控设备,其特征在于,所述整流储能部包括整流二极管、储能电容;所述ON态取电单元还包括供电二极管;The controlled device according to claim 20, wherein the rectification energy storage part includes a rectification diode and an energy storage capacitor; the ON state power fetching unit further includes a power supply diode; 所述整流二极管的正极电连接所述ON态取电节点,所述整流二极管的负极电连接所述储能电容的第一端,所述储能电容的第二端接地,所述储能电容的第一端还电连接所述直流电压变换器;所述供电二极管的正极电连接所述ON态取电节点,所述供电二极管的负极电连接所述ON态取电控制部的供电端。The anode of the rectifier diode is electrically connected to the ON state power-taking node, the cathode of the rectifier diode is electrically connected to the first end of the energy storage capacitor, the second end of the energy storage capacitor is grounded, and the energy storage capacitor The first end of the power supply diode is also electrically connected to the DC voltage converter; the anode of the power supply diode is electrically connected to the ON state power acquisition node, and the cathode of the power supply diode is electrically connected to the power supply terminal of the ON state power acquisition control part. 根据权利要求20所述的受控设备,其特征在于,所述ON态取电控制部的一个输出端电连接指定电路部分的复位端,以向所述复位端传递复位控制信号,其中,所述指定电路部分为所述处理模块和/或所述直流电压变换器;所述复位控制信号关联于ON态取电单元中整流储能部的充电过程。The controlled device according to claim 20, characterized in that, one output terminal of the ON-state power-taking control part is electrically connected to a reset terminal of a specified circuit part, so as to transmit a reset control signal to the reset terminal, wherein the The specified circuit part is the processing module and/or the DC voltage converter; the reset control signal is related to the charging process of the rectifier energy storage unit in the ON-state power-taking unit. 根据权利要求22所述的受控设备,其特征在于,所述复位控制信号包括:The controlled device according to claim 22, wherein the reset control signal comprises: 所述ON态取电单元中整流储能部开始充电且未充电完成时,所述ON态取电控制部反馈的第一复位控制信号,以及:When the rectifier energy storage unit in the ON-state power-taking unit starts to charge and the charging is not completed, the first reset control signal fed back by the ON-state power-taking control unit, and: 所述ON态取电单元中整流储能部充电完成时,所述ON态取电控制部反馈的第二复位控制信号:When the charging of the rectifier energy storage unit in the ON-state power-taking unit is completed, the second reset control signal fed back by the ON-state power-taking control unit: 所述指定电路部分被配置为能够在所述复位端接收到所述第一复位控制信号时保持未启动的状态,所述指定电路部分还能够在其复位端接收到所述第二复位控制信号时进入复位启动的状态。The specified circuit part is configured to be able to remain in an unstarted state when the reset terminal receives the first reset control signal, and the specified circuit part can also receive the second reset control signal at its reset terminal Enter the reset start state. 根据权利要求19所述的受控设备,其特征在于,所述输出通断模块的数量、所述火线输出接线柱的数量、所述驱动模块的数量均为N个;其中,N≥2;每个输出通断模块与一个火线输出接线柱串联后并联于所述ON态取电单元,每个驱动模块电连接一个输出通断控制模块的控制端。The controlled device according to claim 19, wherein the number of the output on-off modules, the number of the live wire output terminals, and the number of the driving modules are all N; wherein, N≥2; Each output on-off module is connected in series with a live wire output terminal and then connected in parallel to the ON-state power-taking unit, and each driving module is electrically connected to a control terminal of an output on-off control module. 根据权利要求19所述的受控设备,其特征在于,所述OFF态取电单元包括OFF态取电控制部、变压器、OFF态取电整流部、输出电容、输出二极管、输入电容;所述变压器包括第一绕组,以及感应于所述第一绕组的第二绕组;The controlled device according to claim 19, wherein the OFF-state power-taking unit includes an OFF-state power-taking control unit, a transformer, an OFF-state power-taking rectifier, an output capacitor, an output diode, and an input capacitor; a transformer comprising a first winding, and a second winding induced to said first winding; 所述OFF态取电整流部的第一侧用于接入所述交流电,所述OFF态取电整流部的第二侧的第一端电连接所述第一绕组的第一端,所述OFF态取电整流部的第二侧的第二端接地;所述输入电容的第一端电连接所述第一绕组的第一端,所述输入电容的第二端接地,所述第一绕组的第二端经所述OFF态取电控制部接地;所述OFF态取电控制部能够控制所述第一绕组的第二端与地之间的通断;The first side of the power-taking and rectifying part in the OFF state is used to access the alternating current, the first end of the second side of the power-taking and rectifying part in the OFF state is electrically connected to the first end of the first winding, and the The second end of the second side of the rectifying part in the OFF state is grounded; the first end of the input capacitor is electrically connected to the first end of the first winding, the second end of the input capacitor is grounded, and the first The second end of the winding is grounded through the OFF state power acquisition control part; the OFF state power acquisition control part can control the connection between the second end of the first winding and the ground; 所述第二绕组的第一端电连接所述输出二极管的正极,所述输出二极管的负极与所述输出电容的第一端电连接至所述直流电压变换器,以输出所述待变换的直流电,所述输出电容的第二端接地。The first end of the second winding is electrically connected to the anode of the output diode, and the cathode of the output diode and the first end of the output capacitor are electrically connected to the DC voltage converter to output the to-be-converted direct current, the second end of the output capacitor is grounded. 根据权利要求25所述的受控设备,其特征在于,所述OFF态取电单元还包括反馈部,所述反馈部电分别电连接所述OFF态取电控制部的采样端与所述输出电容的第一端,以检测所述待变换的直流电的电压,并将检测结果反馈至所述OFF态取电控制部。The controlled device according to claim 25, wherein the OFF-state power-taking unit further includes a feedback part, and the feedback part is electrically connected to the sampling terminal of the OFF-state power-taking control part and the output The first terminal of the capacitor is used to detect the voltage of the DC power to be converted, and feed back the detection result to the OFF state power acquisition control part. 根据权利要求25所述的受控设备,其特征在于,所述变压器还包括感应于所述第一绕组或所述第二绕组的辅助绕组,所述OFF态取电单元还包括辅助二极管、辅助电阻与辅助电容,所述辅助二极管电连接所述辅助绕组的第一端,所述辅助二极管的第二端经所述辅助电阻电连接所述辅助电容的第一端,所述辅助电容的第二端接地,所述辅助电容的第一端还电连接所述OFF态取电控制部的供电端。The controlled device according to claim 25, wherein the transformer further includes an auxiliary winding inductive to the first winding or the second winding, and the power-taking unit in the OFF state further includes an auxiliary diode, an auxiliary resistor and auxiliary capacitor, the auxiliary diode is electrically connected to the first end of the auxiliary winding, the second end of the auxiliary diode is electrically connected to the first end of the auxiliary capacitor through the auxiliary resistor, and the second end of the auxiliary capacitor is Both terminals are grounded, and the first terminal of the auxiliary capacitor is also electrically connected to the power supply terminal of the OFF state power acquisition control part. 根据权利要求25所述的受控设备,其特征在于,所述输出通断模块的数量、所述火线输出接线柱的数量、所述驱动模块的数量均为N个;The controlled device according to claim 25, wherein the number of the output on-off modules, the number of the live wire output terminals, and the number of the driving modules are all N; 每个输出通断模块与一个火线输出接线柱串联后并联于所述ON态取电单元,每个驱动模块电连接一个输出通断控制模块的控制端;其中,N≥2;Each output on-off module is connected in series with a live wire output terminal post in parallel to the ON-state power-taking unit, and each drive module is electrically connected to a control terminal of an output on-off control module; wherein, N≥2; 所述OFF态取电整流部能够对所述火线输入接线柱与每个火线输出接线柱之间的交流电进行整流。The power-taking and rectifying part in the OFF state can rectify the alternating current between the live wire input terminal and each live wire output terminal. 根据权利要求28所述的受控设备,其特征在于,所述OFF态取电整流部包括整流桥,所述整流桥均包括第一整流二极管、第二整流二极管、第三整流二极管与第四整流二极管;The controlled device according to claim 28, characterized in that, the rectifying part for taking power in the OFF state includes a rectifying bridge, and each of the rectifying bridges includes a first rectifying diode, a second rectifying diode, a third rectifying diode and a fourth rectifying diode. rectifier diode; 所述第一整流二极管的负极电连接所述第二整流二极管的正极,以形成所述整流桥的第一节点;所述第二整流二极管的负极电连接所述第四整流二极管的负极,以形成所述整流桥的第二节点;所述第四整流二极管的正极电连接所述第三整流二极管的负极,以形成所述整流桥的第三节点;所述第一整流二极管的正极电连接所述第三整流二极管的正极,以形成所述整流桥的第四节点;The cathode of the first rectifier diode is electrically connected to 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 to the cathode of the fourth rectifier diode to form a first node of the rectifier bridge. forming the second node of the rectifier bridge; the anode of the fourth rectifier diode is electrically connected to the cathode of the third rectifier diode to form the third node of the rectifier bridge; the anode of the first rectifier diode is electrically connected an anode of the third rectifier diode to form a fourth node of the rectifier bridge; 所述整流桥的数量为两个,分别为第一整流桥与第二整流桥;There are two rectifier bridges, namely the first rectifier bridge and the second rectifier bridge; 其中的N为2或3,N个输出通断模块包括第一输出通断模块,所述N个输出通断模块还包括第二输出通断模块和/或第三输出通断模块;N个火线输出接线柱包括第一火线输出接线柱,所述N个火线输出接线柱还包括第二火线输出接线柱和/或第三火线输出接线柱;Wherein N is 2 or 3, N output on-off modules include a first output on-off module, and the N output on-off modules also include a second output on-off module and/or a third output on-off module; N The live wire output terminal includes a first live wire output terminal, and the N live wire output terminals further include a second live wire output terminal and/or a third live wire output terminal; 所述第一整流桥的第一节点电连接至所述火线输入接线柱,所述第一整流桥的第二节点与所述第二整流桥的第二节点均电连接至所述输入电容的第一端,所述第一整流桥的第三节点电连接至所述第一输出通断模块与所述第一火线输出接线柱之间,所述第一整流桥的第四节点与所述第二整流桥的第四节点均接地;The first node of the first rectifier bridge is electrically connected to the live wire input terminal, and the second node of the first rectifier bridge and the second node of the second rectifier bridge are both electrically connected to the input capacitor. At the first end, the third node of the first rectifier bridge is electrically connected between the first output on-off module and the first live wire output terminal, and the fourth node of the first rectifier bridge is connected to the The fourth nodes of the second rectifier bridge are all grounded; 其中:in: 若所述N个输出通断模块包括了所述第二输出通断模块,且所述N个火线输出接线柱包括了所述第二火线输出接线柱,则:所述第二整流桥的第一节点电连接至所述第二输出通断模块与所述第二火线输出接线柱之间;If the N output on-off modules include the second output on-off module, and the N live wire output terminals include the second live wire output terminal, then: the second rectifier bridge A node is electrically connected between the second output on-off module and the second live wire output terminal; 若所述N个输出通断模块包括了所述第三输出通断模块,且所述N个火线输出接线柱包括了所述第三火线输出接线柱,则:所述第二整流桥的第三节点电连接至所述第三输出通断模块与所述第三火线输出接线柱之间。If the N output on-off modules include the third output on-off module, and the N live wire output terminals include the third live wire output terminal, then: the second rectifier bridge The three nodes are electrically connected between the third output on-off module and the third live wire output terminal. 根据权利要求17所述的受控设备,其特征在于,所述开关电路还包括熔断模块,所述熔断模块电连接于所述火线输入接线柱与所述取电模块之间。The controlled device according to claim 17, wherein the switch circuit further includes a fuse module, and the fuse module is electrically connected between the live wire input terminal and the power-taking module. 根据权利要求17所述的受控设备,其特征在于,所述指示模块包括发光指示单元,所述发光指示单元电连接所述处理模块,所述对外指示状态包括所述发光指示单元发光的状态与所述发光指示单元未对外发光的状态。The controlled device according to claim 17, wherein the indication module includes a light-emitting indication unit, the light-emitting indication unit is electrically connected to the processing module, and the external indication state includes a light-emitting state of the light-emitting indication unit Indicates the state of the light emitting unit not emitting light to the outside. 一种控制系统,其特征在于,包括权利要求1至14任一项所述的自发电无线开关,以及权利要求15至31任一项所述的受控设备。A control system, characterized by comprising the self-generating wireless switch according to any one of claims 1 to 14, and the controlled device according to any one of claims 15 to 31. 根据权利要求32所述的控制系统,其特征在于,还包括中间设备,The control system according to claim 32, further comprising an intermediate device, 所述第一无线通讯模块还能够与所述中间设备通讯,以向所述中间设备发出第二控制信息。The first wireless communication module is also capable of communicating with the intermediate device to send second control information to the intermediate device. 根据权利要求33所述的控制系统,其特征在于,所述中间设备还能够与所述受控设备通讯。The control system according to claim 33, wherein said intermediate device is also capable of communicating with said controlled device. 根据权利要求34所述的控制系统,其特征在于,所述中间设备为具有语音信号采集、识别功能的中间设备,The control system according to claim 34, wherein the intermediate device is an intermediate device with voice signal collection and recognition functions, 所述中间设备被配置为能够向所述受控设备发送信息,以将所述语音信号对应的第三控制信息发送至所述受控设备。The intermediate device is configured to be able to send information to the controlled device, so as to send third control information corresponding to the voice signal to the controlled device. 根据权利要求34所述的控制系统,其特征在于,所述中间设备配置为能够接收所述受控设备发出的信息,以自所述受控设备接收状态上报信息。The control system according to claim 34, wherein the intermediate device is configured to receive information sent by the controlled device, so as to receive status report information from the controlled device. 根据权利要求33所述的控制系统,其特征在于,所述中间设备与所述自发电无线开关之间是通过蓝牙信号通讯的,所述中间设备包括以下至少之一:蓝牙网关、具有蓝牙网关功能的语音音箱。The control system according to claim 33, wherein the intermediate device communicates with the self-generating wireless switch through Bluetooth signals, and the intermediate device includes at least one of the following: a Bluetooth gateway, a Bluetooth gateway function of the voice speaker. 根据权利要求33所述的控制系统,其特征在于,所述中间设备与所述受控设备之间是通过蓝牙信号通讯的。The control system according to claim 33, characterized in that, the communication between the intermediate device and the controlled device is through Bluetooth signals.
PCT/CN2022/092236 2021-05-16 2022-05-11 Self-powered wireless switch, controlled device, and control system Ceased WO2022242526A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2022242526A1 true WO2022242526A1 (en) 2022-11-24

Family

ID=77802505

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2022/092236 Ceased WO2022242526A1 (en) 2021-05-16 2022-05-11 Self-powered wireless switch, controlled device, and control system
PCT/CN2022/092212 Ceased WO2022242523A1 (en) 2021-05-16 2022-05-11 Self-powered switch and processing method therefor, and receiver and processing method therefor

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092212 Ceased WO2022242523A1 (en) 2021-05-16 2022-05-11 Self-powered switch and processing method therefor, and receiver and processing method therefor

Country Status (2)

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

Families Citing this family (5)

* 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 switches, controlled devices and control systems
CN113517152B (en) * 2021-05-16 2022-08-16 武汉领普科技有限公司 Switch control method, receiving end control method, self-generating switch and receiving end
CN114364000B (en) * 2021-12-10 2024-04-02 绿碳智能建筑(杭州)有限公司 Single fire switch control method and device
CN114448067A (en) * 2022-03-15 2022-05-06 武汉领普科技有限公司 Transmitter and control system
CN118038655A (en) * 2022-06-02 2024-05-14 武汉领普科技有限公司 Wireless switch, wireless switch processing method and control system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107367948A (en) * 2016-05-13 2017-11-21 南宁富桂精密工业有限公司 Intelligent switch system and its control method
CN108734906A (en) * 2018-08-24 2018-11-02 深圳市无电通科技有限公司 Self generating door bell device and control method
KR20180133228A (en) * 2017-06-05 2018-12-13 홍익대학교 산학협력단 Highly efficient self -powered wireless sensor and sensor module
CN109039971A (en) * 2018-08-20 2018-12-18 深圳市银河风云网络系统股份有限公司 A kind of data transmission method for uplink and device
CN111180241A (en) * 2020-01-18 2020-05-19 武汉领普科技有限公司 Self-generating switch with light-emitting module and processing method thereof
CN211720263U (en) * 2020-04-27 2020-10-20 武汉领普科技有限公司 Intelligent switch, wireless control device and power supply control system
CN113410971A (en) * 2021-05-16 2021-09-17 武汉领普科技有限公司 Self-generating switch and processing method and control system thereof
CN113433841A (en) * 2021-05-16 2021-09-24 武汉领普科技有限公司 Self-generating wireless switch, controlled equipment and control system
CN113517152A (en) * 2021-05-16 2021-10-19 武汉领普科技有限公司 Switch control method, receiving end control method, self-generating switch and receiving end
CN216016509U (en) * 2021-05-16 2022-03-11 武汉领普科技有限公司 Control System
CN216649662U (en) * 2021-05-16 2022-05-31 武汉领普科技有限公司 Self-generating wireless switch

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
CN202615143U (en) * 2011-11-02 2012-12-19 武汉领普科技有限公司 Self-power-generation wireless switch control device
CN104407522B (en) * 2013-08-26 2017-06-30 刘远芳 self-generating wireless switch
US9743497B2 (en) * 2014-06-04 2017-08-22 Levven Automation Inc. Wireless light switch system and method, load controller device, and remote switch device
CN104062920B (en) * 2014-06-24 2017-10-03 杭州夏尔电子科技有限公司 One kind is without battery wireless switching
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
CN109756460B (en) * 2017-11-06 2021-07-09 中移(杭州)信息技术有限公司 A kind of anti-replay attack method and device
JP6610729B2 (en) * 2018-07-23 2019-11-27 三菱電機株式会社 Home appliance, its operation management device and home appliance operation management system
CN110246316A (en) * 2019-06-06 2019-09-17 广东易百珑智能科技有限公司 Self-powered emitter, wireless control system and its wireless control method
CN110286624A (en) * 2019-07-04 2019-09-27 北京小米移动软件有限公司 Wireless control modules, wireless wall switches, electrical equipment and systems
CN110828211B (en) * 2019-10-30 2024-08-30 广东昇辉电子控股有限公司 Wireless self-generating switch with reset function
CN111083654B (en) * 2019-12-18 2022-09-16 欧普照明股份有限公司 Method for realizing control of wireless passive switch, wireless passive switch and proxy node
CN111221273B (en) * 2020-01-18 2021-06-04 武汉领普科技有限公司 Control method, system, gateway, wall switch and cloud based on wireless switch
CN111273579B (en) * 2020-01-18 2021-03-05 武汉领普科技有限公司 Receiver and its processing method, system and self-generating switch-based control assembly
CN112106123A (en) * 2020-08-14 2020-12-18 廖淑辉 Ultrathin self-powered wireless switch and method and application thereof
CN115426112A (en) * 2021-05-16 2022-12-02 武汉领普科技有限公司 Processing method of self-generating switch

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107367948A (en) * 2016-05-13 2017-11-21 南宁富桂精密工业有限公司 Intelligent switch system and its control method
KR20180133228A (en) * 2017-06-05 2018-12-13 홍익대학교 산학협력단 Highly efficient self -powered wireless sensor and sensor module
CN109039971A (en) * 2018-08-20 2018-12-18 深圳市银河风云网络系统股份有限公司 A kind of data transmission method for uplink and device
CN108734906A (en) * 2018-08-24 2018-11-02 深圳市无电通科技有限公司 Self generating door bell device and control method
CN111180241A (en) * 2020-01-18 2020-05-19 武汉领普科技有限公司 Self-generating switch with light-emitting module and processing method thereof
CN211720263U (en) * 2020-04-27 2020-10-20 武汉领普科技有限公司 Intelligent switch, wireless control device and power supply control system
CN113410971A (en) * 2021-05-16 2021-09-17 武汉领普科技有限公司 Self-generating switch and processing method and control system thereof
CN113433841A (en) * 2021-05-16 2021-09-24 武汉领普科技有限公司 Self-generating wireless switch, controlled equipment and control system
CN113517152A (en) * 2021-05-16 2021-10-19 武汉领普科技有限公司 Switch control method, receiving end control method, self-generating switch and receiving end
CN216016509U (en) * 2021-05-16 2022-03-11 武汉领普科技有限公司 Control System
CN216649662U (en) * 2021-05-16 2022-05-31 武汉领普科技有限公司 Self-generating wireless switch

Also Published As

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

Similar Documents

Publication Publication Date Title
CN113433841B (en) Self-generating wireless switch, controlled equipment and control system
CN113517152B (en) Switch control method, receiving end control method, self-generating switch and receiving end
CN113410971B (en) Self-generating switch and processing method and control system thereof
US8188686B1 (en) System and method for processing and forwarding transmitted information
CN109347301B (en) A self-powered method and device
CN110139432B (en) Low-power-consumption carrier control light-emitting diode lamp and lamp string thereof
CN108734906A (en) Self generating door bell device and control method
CN216649662U (en) Self-generating wireless switch
TW202027556A (en) Carry-signal controlled led lights and led light string having the same
CN216016509U (en) Control System
CN211267192U (en) Self-generating switch with light emitting module
TWI726318B (en) Carry-signal controlled led lights with low power consumption and led light string having the same
CN114123441B (en) A self-power supply method and device based on polarity detection
TW201427487A (en) Wireless smart energy conservation two-wire lamp control switch device
WO2020037596A1 (en) Circuit control system and control method therefor, and series control device
CN211720263U (en) Intelligent switch, wireless control device and power supply control system
CN109951919B (en) Carrier controlled LED lamp and LED lamp string
CN111538268B (en) Single-fire electricity taking intelligent switch, wireless control device and power supply control system
CN120834630A (en) An intermittent power supply control circuit and energy storage power supply thereof
CN205751203U (en) Wireless remote controller
CN115097742B (en) Intelligent switches, processing methods and control systems
CN108601161A (en) A kind of sectional power supply formula Multi-way touch Bluetooth control list firewire switching circuit
CN216648146U (en) Intelligent wall switch
CN201450643U (en) Remote control power switch and a power switch system
CN111654943B (en) Intelligent LED lamp with passive kinetic energy switch control function and implementation method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22803848

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22803848

Country of ref document: EP

Kind code of ref document: A1