Wireless switch and control system

By using non-volatile memory and RF transmitting circuitry to generate wireless signals in the wireless switch, the high power consumption problem during RF signal transmission in the wireless switch is solved, realizing a low-power wireless switch design, extending battery life and improving user experience.

CN115410356BActive Publication Date: 2026-03-27WUHAN LINPTECH
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-14
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Existing wireless switches consume a lot of battery power when transmitting radio frequency signals, resulting in short battery life and a poor user experience.

Method used

The system uses non-volatile memory to store the specified encoded information, and the radio frequency transmitting circuit generates wireless signals without the need for MCU and RAM, simplifying the transmission process and reducing static power consumption.

Benefits of technology

It effectively reduces the static power consumption of the wireless switch to less than or equal to 100nA, extends battery life, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115410356B_ABST
    Figure CN115410356B_ABST
Patent Text Reader

Abstract

The application provides a wireless switch and control system, the wireless switch comprising: at least one key, a circuit board, and a power supply module, a radio frequency transmitting circuit, and a key recognition module arranged on the circuit board; the power supply module provides working power to the radio frequency transmitting circuit; the key recognition module is electrically connected to the radio frequency transmitting circuit to transmit a corresponding trigger signal to the radio frequency transmitting circuit when being touched; the trigger signal is used to trigger the radio frequency transmitting circuit to generate and broadcast a wireless signal according to specified coding information stored in a memory, and the data stored in the memory does not change after power failure and restart, so that the static power consumption current of the wireless switch is less than or equal to 100 nA.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of switches, in particular to a wireless switch and control system. BACKGROUND

[0002] The wireless switch can be understood as a switch configured with a wireless communication circuit, and the wireless communication circuit usually adopts a radio frequency signal to realize external interaction.

[0003] In the prior art, for a battery-powered wireless switch, a large amount of battery power is consumed when a radio frequency signal is transmitted, and some wireless switches even cause milliamperes of energy loss when on standby, so that users need to frequently replace batteries, resulting in poor user experience. How to prolong the service life of the battery-powered wireless switch while realizing radio frequency signal transmission and improving user experience has become a problem to be solved. SUMMARY

[0004] The present application provides a wireless switch and control system to solve the problem of short service life of the wireless switch in the prior art.

[0005] According to a first aspect of the present application, a wireless switch is provided, comprising a bottom shell, at least one key, at least one circuit board, and a power supply module, a radio frequency transmission circuit, and a key recognition module provided on the at least one circuit board; a containing space is provided on a first side of the bottom shell, and the circuit board is provided in the containing space; the key is located on the first side of the bottom shell, and the containing space is between the bottom shell and the at least one key, and the key can move towards the containing space and can also move away from the containing space.

[0006] The power supply module is electrically connected to the radio frequency transmission circuit to provide working power to the radio frequency transmission circuit;

[0007] The position of the key recognition module matches the corresponding key, so that the key recognition module is triggered when the corresponding key moves towards the containing space, and the key recognition module is electrically connected to the radio frequency transmission circuit to transmit a corresponding trigger signal to the radio frequency transmission circuit when triggered; the trigger signal is used to trigger the radio frequency transmission circuit to generate and broadcast a wireless signal according to specified encoding information stored in a memory, and the data stored in the memory does not change after power failure and restart, so that the static power consumption current of the wireless switch is less than or equal to 100nA.

[0008] According to a second aspect of the present application, a control system is provided, comprising a wireless switch as described above and a smart controller; the smart controller can receive the wireless signal broadcasted by the wireless switch, and execute the control task corresponding to the wireless signal.

[0009] The wireless switch and control system provided by the application, when sending radio frequency signals, only needs to use the radio frequency transmitting circuit to realize the broadcast of wireless signals according to the specified code information stored in the non-volatile memory, without the intervention of the MCU and the data holding of the RAM. Therefore, the power consumption of the wireless switch is only the power consumption of the radio frequency transmitting circuit, which reduces the power consumption of the MCU compared with the prior art, not only simplifies the transmission program and improves the transmission efficiency, but also reduces the static power consumption of the MCU when the wireless switch is in standby, so that the static power consumption current of the wireless switch is less than or equal to 100nA, effectively reducing the overall static power consumption of the wireless switch, thereby prolonging the service life of the battery in the wireless switch and improving the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description only constitute some embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0011] Figure 1 is a structural schematic diagram of the control system in an embodiment of the application;

[0012] Figure 2 is a structural schematic diagram of the wireless switch in an embodiment of the application Figure 1 ;

[0013] Figure 3 is a structural schematic diagram of the wireless switch in an embodiment of the application Figure 2 ;

[0014] Figure 4 is a circuit diagram of the wireless switch in an embodiment of the application;

[0015] Figure 5 is a data format schematic diagram of the wireless switch after using 1527 encoding in an embodiment of the application;

[0016] Figure 6 is a schematic diagram of the wireless switch modulating to generate radio waves in an embodiment of the application;

[0017] Figure 7 is a structural schematic diagram of the intelligent controller in an embodiment of the application;

[0018] Figure 8 is a schematic diagram of the wireless switch sending a wireless data packet and the radio frequency receiving module of the intelligent controller receiving the wireless data packet in an embodiment of the application. DETAILED DESCRIPTION

[0019] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.

[0020] The terms "first", "second", "third", "fourth" and the like in the description, claims, and drawings of the present application, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the use of the terms so construed can be interchanged, under appropriate circumstances, such that the embodiments of the application described herein are capable of accomplishing the same object for implementation by other than the described or illustrated order. Moreover, the terms "comprising" and "including" and any variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, system, product, or apparatus that comprises a list of steps or elements does not necessarily comprise only those steps or elements but can include other steps or elements not expressly listed or inherent to such process, method, product, or apparatus.

[0021] The technical solutions of the present application will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments.

[0022] Please refer to Figure 1 The present disclosure provides a control system, which can include a wireless switch 1 and a smart controller 2. One wireless switch 1 and one smart controller 2 are shown in the figure. In actual control systems, the number of wireless switches 1 and smart controllers 2 can be multiple.

[0023] The wireless switch 1 can be any switch that can communicate externally based on wireless communication. The wireless communication can be any mode such as radio frequency, Bluetooth, Wifi, etc. In the following description, the communication mode based on radio frequency 433Mhz is mainly described.

[0024] The smart controller 2 can be any device or combination of devices that can be controlled to achieve on-off control, and is provided with a processing module and other circuits with data processing capability, and is also provided with a wireless communication module and other circuits with wireless communication capability. In one example, it can be a wall switch. In other examples, the smart controller can also be a fan, a lamp, a socket, a garbage disposal device, or a device connected thereto. The communication mode of the smart controller 2 to the outside can include at least one of the following: radio frequency, Bluetooth, Wifi, mobile network, etc. In the following description, the communication mode based on radio frequency 433Mhz is mainly described.

[0025] The wireless switch 1 in the partial solution of the embodiment of the present application will be described in detail below, and the scope of the embodiment of the present application can not be limited thereto.

[0026] The present inventor finds that the existing wireless switch is realized by a micro control unit (MCU) and a radio frequency transmitter to transmit a radio frequency signal. For example, when the MCU identifies a command to trigger the transmission of the radio frequency signal, the MCU calls a pre-set program to generate a corresponding radio frequency signal and controls the radio frequency transmitter to transmit the radio frequency signal. However, based on the characteristics of the MCU, the CPU integrates multiple functions, and the retention and refresh of the data in the RAM will bring higher power consumption. For example, even if the MCU is in a sleep mode, only part of the data in the RAM is retained, but the RAM is still in a power-on working state. Based on the characteristics of the RAM, the power consumption of the RAM is high when it is in the power-on working state. The RAM based memory even consumes power when no memory reading or writing occurs, because it is constantly recharging the internal capacitor. Therefore, the existing wireless switch using the MCU and the radio frequency transmitter has high power consumption. Especially for the battery-powered wireless switch, not only the battery power is consumed when the radio frequency signal is transmitted, but also the static power consumption of the MCU consumes the battery power when the wireless switch is on standby, so that the user needs to frequently replace the battery of the wireless switch, and the user experience is poor.

[0027] Based on this, the embodiment provides a wireless switch 1 to solve the above problems. The wireless switch 1 can include a power supply module 103 and a radio frequency transmission circuit.

[0028] The power supply module 103 is electrically connected to the radio frequency transmission circuit to provide working power to the radio frequency transmission circuit. Optionally, the power supply module 103 can supply one voltage or multiple voltages. The power supply module 103 can include any circuit capable of providing power. In a further example, the power supply in the power supply module 103 includes at least one of the following: a kinetic generator, a solar panel, a battery. The battery can be a rechargeable battery or a non-rechargeable battery, for example, the battery can be a button cell. In addition, the power supply module 103 can also be provided with other devices or combinations of devices for voltage stabilization, filtering, rectification, etc.

[0029] The radio frequency transmitting circuit generates and broadcasts radio signals according to the specified coding information stored in the memory when detecting the trigger signal transmitted by the pressing of the key of the wireless switch 1. The data stored in the memory does not change after power-off restart, i.e. the memory is a non-volatile memory. When the key is pressed, the radio frequency transmitting circuit can encode information and broadcast radio signals according to the specified coding information stored in the non-volatile memory, without the need of signal coding through the MCU and the RAM, thereby saving the power consumption caused by the software running in the MCU and the data refreshing and keeping in the RAM, and effectively reducing the power consumption of the wireless switch. Preferably, the static power consumption current of the wireless switch can be reduced to less than or equal to 100 nA. The static power consumption of the wireless switch can be the power consumption caused by the leakage current when the circuit state is stable. For example, it includes but is not limited to the power consumption when the wireless switch is in standby, sleep state or the key is not pressed.

[0030] Further, in some embodiments, as shown in Figure 2 The radio frequency transmitting circuit can include a non-volatile memory 106, a digital logic module 104 and a signal configuration module 105.

[0031] The non-volatile memory 106 is configured to store the identification information of the wireless switch 1 and preset packet sending parameters. The identification information of the wireless switch 1 includes but is not limited to address identification, Internet protocol address, device unique number (a specific number of bits), MAC address, etc., and the identification information can be unique. The non-volatile memory 106 also stores key values corresponding to different keys in the wireless switch 1, and when different keys are pressed, the key values corresponding to the pressed keys can be determined from the non-volatile memory 106. In addition, the non-volatile memory 106 also stores preset packet sending parameters, for example, the packet sending parameters include but are not limited to frequency, data rate, transmission power and modulation mode of radio frequency transmission; packet sending parameter configurations of the data packet, such as the number of groups of data packets transmitted in one transmission period, the number of data packets contained in one group of data packets, and the packet interval between two data packets; and structure parameter configurations of the data packet, such as data packet format, identification information length, key value format (such as hexadecimal or decimal configuration display key value), key value bit number, etc. In one example, the non-volatile memory 106 can be an EEPROM (Electrically Erasable Programmable Read Only Memory), which is a storage chip that does not lose data after power failure. The EEPROM can erase existing information on the computer or dedicated device and reprogram. Users can customize and set the above packet sending parameters according to their needs and then solidify them into the EEPROM of the radio frequency transmission circuit, so as to encode and transmit wireless data according to the packet sending parameters set by the user in the EEPROM, thereby realizing wireless radio frequency application in different scenarios.

[0032] The digital logic module 104 is configured to encode the key value corresponding to the pressed key and the identification information according to the trigger signal transmitted when the pressed key is detected, and generate an encoded signal. When the digital logic module 104 determines that a key is pressed, it reads the key value corresponding to the pressed key in the non-volatile memory 106 and the identification information of the wireless switch, and encodes the data packet parameters such as format parameters and data rate in the packet sending parameters to obtain an encoded signal.

[0033] The signal configuration module 105 is configured to configure the encoded signal according to the preset packet sending parameters such as modulation mode, transmission power, frequency and packet interval, and then transmit radio frequency data. For example, at least two wireless data packets can be broadcasted in turn based on a specified broadcast interval, so that at least one intelligent controller capable of wirelessly interacting with the wireless switch receives at least one wireless data packet and executes the control task corresponding to the wireless data packet.

[0034] In the embodiment, when the wireless switch transmits radio frequency signals, the radio frequency transmitting circuit can broadcast wireless data packets according to the identification information stored in the nonvolatile memory 106 and preset packet transmission parameters, without the intervention of the MCU. Therefore, the power consumption of the wireless switch is only the power consumption of the radio frequency transmitting circuit. Compared with the prior art, the embodiment reduces the power consumption of the MCU, simplifies the transmission program, improves the transmission efficiency, reduces the static power consumption of the MCU when the wireless switch is on standby, effectively reduces the overall static power consumption of the wireless switch, prolongs the service life of the battery in the wireless switch, and improves the user experience.

[0035] Further, in some embodiments, the wireless switch comprises a bottom shell, at least one key, at least one circuit board, and a power supply module, a radio frequency transmitting circuit, and a key recognition module provided on the at least one circuit board. The first side of the bottom shell is provided with a containing space, and the circuit board is arranged in the containing space. The key is located on the first side of the bottom shell, and the containing space is between the bottom shell and the at least one key. The key can move towards the containing space and can also move away from the containing space. The power supply module is electrically connected to the radio frequency transmitting circuit to provide working power for the radio frequency transmitting circuit. The position of the key recognition module matches the corresponding key, so that the key recognition module is triggered when the corresponding key moves towards the containing space. The key recognition module is electrically connected to the radio frequency transmitting circuit to transmit the corresponding trigger signal to the radio frequency transmitting circuit when triggered. Specifically, as shown in Figure 2As shown, the wireless switch comprises at least one key 101 and a key recognition module 102 corresponding to each key 101, the key recognition module 102 is electrically connected to the digital logic module 104; the key 101 can trigger the corresponding key recognition module 102 when being pressed; the key recognition module 102 can deliver a trigger signal to the digital logic module 104 when being triggered. The digital logic module 104 determines the current pressed key 101 according to the trigger signal, reads the key value corresponding to the current pressed key 101 and the identification information of the wireless switch stored in the non-volatile memory 106, and then encodes the wireless signal, and sends the encoded signal to the signal configuration module 105 for configuration such as mixing, amplification and other processing before being emitted outward, thereby realizing the encoding and emission of the wireless signal without the intervention of the MCU, and reducing the power consumption caused by the wireless switch MCU. Among them, the key recognition module 102 in the wireless switch can be a switching device (such as a micro switch). The trigger signal can be understood as any signal that can make the digital logic module 104 determine which key 101 is currently pressed. 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 continuous or discontinuous multiple signal. Regardless of the form, it does not deviate from the above description.

[0036] Further, in some embodiments, the radio frequency transmitting circuit is switched between a sleep state and an active state. When the button 101 is not pressed, i.e. the radio frequency transmitting circuit does not receive the touch signal sent by the button recognition module 102, the radio frequency transmitting circuit is in the sleep state to reduce the power consumption of the wireless switch. When the digital logic module 104 detects the trigger signal transmitted by the button recognition module 102, the radio frequency transmitting circuit is controlled to switch from the sleep state to the active state; and after the signal configuration module 105 sends the wireless data packet, the radio frequency transmitting circuit is controlled to switch from the active state to the sleep state. Since there is no MCU intervention in the present embodiment, the radio frequency transmitting circuit can realize the transmission of the wireless data packet, and therefore the wireless switch of the present embodiment does not have the power consumption of the MCU (whether it is the power consumption during operation or the static power consumption), and the static power consumption of the wireless switch depends only on the static power consumption of the radio frequency transmitting circuit (such as the power consumption caused by the leakage current). The minimum static power consumption of a general MCU is generally several milliamperes, and even if a deep sleep MCU is used, the minimum static power consumption of the MCU is greater than 100 nA. The radio frequency transmitting circuit does not need to integrate multiple complex functions compared to the MCU, and in some implementations, the static power consumption of the wireless switch in the present embodiment is less than or equal to 100 nA, for example, when the radio frequency transmitting circuit is in the sleep state, the power supply current output by the power supply module 103 to the radio frequency transmitting circuit is less than or equal to 100 nA. More preferably, the static power consumption of the wireless switch in the present embodiment is less than or equal to 30 nA, wherein the method for reducing the static power consumption of the wireless switch includes but is not limited to: using a non-volatile memory 106 in the radio frequency transmitting circuit to store key values, identification information of the wireless switch, packet sending parameters, etc., and the wireless switch does not need a RAM, thereby reducing the power consumption caused by the RAM in the MCU; optimizing the circuit structure of the digital logic module 104, the signal configuration module 105 and / or the corresponding peripheral circuit in the radio frequency transmitting circuit to reduce the static power consumption caused by the leakage current, etc. In some optional implementations, the static power consumption of the entire wireless switch can be reduced to within 25 nA, and preferably, the static power consumption of the entire wireless switch is only 20 nA. Further, compared with the static power consumption of the prior art in the order of milliamperes, the present embodiment can greatly reduce the static power consumption of the wireless switch, effectively improve the service life of the battery in the wireless switch under the same use conditions, and avoid frequent replacement of the battery of the wireless switch by the user. Exemplarily, the radio frequency transmitting circuit in the present embodiment can be configured as a Huapu CMT2150L.

[0037] Further, in the existing wireless switch, the indicator light corresponding to the key is generally electrically connected to the MCU, and the MCU controls the on-off of the indicator light, and then the MCU controls the indicator light to indicate the working state of the corresponding key. For example, when the MCU detects the signal of the key being pressed, the MCU analyzes and processes the down signal, and sends a corresponding control signal to control the indicator light corresponding to the key to light up. However, in the present embodiment, in order to reduce the static power consumption of the wireless switch, the wireless switch is not configured with an MCU but only with a radio frequency transmitting circuit, that is, it has no ability to analyze and process signals. In order to realize the control of the indicator light, as shown in Figure 3 The wireless switch in the present embodiment is provided with at least one indication module 107 (such as an LED lamp or any element or combination of elements capable of realizing light indication function) corresponding to each key 101, which is directly or indirectly electrically connected to the key recognition module 102 and is set to be suitable for being controlled by the key recognition module 102 to emit an indication signal outward. Since the key recognition module 102 emits different touch signals such as high pulse signal, low pulse signal, high level signal, low level signal outward when the key 101 is pressed and released, the present embodiment operably connects the indication module 107 of the key 101 with the key recognition module 102 to realize the control of the indication module 107 based on the different touch signals or different working states emitted by the key recognition module 102 when the key 101 is pressed and released, and then realizes the synchronous control of the key 101 and the indication module 107 such as the indicator light in the wireless switch without the MCU, such as the indicator light of the key 101 lighting up when the key 101 is pressed.

[0038] The control mode of the key recognition module 102 on the indication module 107 includes but is not limited to the direct or indirect control of the key recognition module 102 on the on-off, color, brightness, etc. of the indicator light. For example, in an alternative embodiment, the key recognition module 102 emits a first touch signal outward when the key 101 is pressed, which makes the circuit where the indicator light is located control the indicator light to emit a first light signal outward; the key recognition module 102 emits a second touch signal outward when the key 101 is released, which makes the circuit where the indicator light is located control the indicator light to emit a second light signal outward. Wherein, the first light signal and the second light signal are different in at least one of the following: LED color; brightness; duration; on-off state, etc.

[0039] In another alternative embodiment, the association control between the key recognition module 102 and the indication module 107 can be realized by associating the power supply of the key recognition module 102 with the indication module 107. The key recognition module 102 can control the power supply state of the indication module 107 to change when the key 101 is pressed, thereby controlling the indication module 107 to send a corresponding indication signal. The indication module 107 and the key recognition module 102 can be powered by different power supplies or by the same power supply, as long as the power supply state of the indication module 107 can be controlled by the key recognition module 102 when the key 101 is pressed or released, which does not deviate from the protection scope of the present embodiment.

[0040] For example, the indication module 107 and the key recognition module 102 can be electrically connected to a power supply circuit and form a series circuit relationship in the power supply circuit. That is, the indication module 107 and the key recognition module 102 obtain electrical energy from the same circuit to work, and the working state of the key recognition module 102 directly affects the power supply of the indication module 107. For example, when the key 101 is pressed, the key recognition module 102 is triggered, so that the power supply circuit is in a first power supply state (such as an on state); in the first power supply state, the indication module 107 sends a first indication signal (such as lighting); when the key 101 is released, the key recognition module 102 is not triggered, so that the power supply circuit is in a second power supply state (such as an off state); in the second power supply state, the indication module 107 sends a second indication signal (such as extinguishing), thereby realizing direct control of the indication state of the corresponding indication module 107 only by the key recognition module 102, such as triggering the key recognition module 102 when the key 101 is pressed, the corresponding indication module 107 sends an indication signal (such as the indication light is on) at the same time. The whole synchronization process does not need the intervention of the MCU, thereby removing the MCU in the wireless switch and greatly reducing the power consumption, while maintaining the synchronization between the key 101 and the indication signal, which can effectively improve the service life of the battery in the wireless switch, and can also prompt the user in time through the indication signal The currently pressed key 101, thereby improving the user experience.

[0041] In addition, the key recognition module 102 controls the power supply of the indication module 107 in the embodiment, so that the key recognition module 102 and the indication module 107 can share one IO port. Compared with the prior art, the key recognition module 102 and the indication module 107 of the wireless switch are respectively controlled through different IO ports, and the number of IO ports can be reduced by half in the embodiment. For example, for a three-key wireless switch, six IO ports are required in the prior art to control the key recognition module 102 corresponding to the three keys 101 and the indication module 107, so as to realize the function of key 101 recognition and indication synchronization. In the embodiment, only three IO ports are required to control the key recognition module 102 of the three keys 101 and the corresponding indication module 107. The more IO ports, the more power consumption of the wireless switch in working and static state, and the service life of the battery in the wireless switch is further increased by reducing the number of IO ports in the digital logic module 104.

[0042] Specifically, as Figure 4As shown, in an example, the indication module 107 comprises light emitting diodes (such as LED1-LED5 in the figure), anodes of the light emitting diodes are electrically connected to a direct current power supply (such as a battery), cathodes of the light emitting diodes are electrically connected to the first end of the key recognition module 102 (such as S1-S3 in the figure), the second end of the key recognition module 102 is grounded, and the first end of the key recognition module 102 is also electrically connected to the radio frequency transmitting circuit. Preferably, the indication module 107 further comprises a first pull-up resistor (such as R1-R3 in the figure) arranged between the cathode of the light emitting diode and the first end of the key recognition module 102. When the key 101 is pressed to trigger the corresponding key recognition module 102, the cathode of the light emitting diode electrically connected to the key recognition module 102 is short-circuited to GND, the light emitting diode forms a path, and the current flows through the pull-up resistor of the path, through the light emitting diode, and then through the pressed key recognition module 102 to GND, so the LED of the path is lit, and the remaining keys 101 that are not pressed are not connected in the current loop, so the LEDs are not lit. It should be noted that the number and position of the indication module 107 in the embodiment match the PCB layout of the wireless switch. Specifically, the wireless switch can include different versions of single key, double key, and triple key, i.e., a wireless switch with one key, a wireless switch with two keys, and a wireless switch with three keys. Each key 101 needs to be correspondingly provided with an indication module 107, and the position of the indication module 107 needs to be adapted to each key 101, so as to display the indication signal (such as light signal) emitted by the indication module 107 through the key 101. In order to make different versions of the wireless switch share the same PCB, reduce the production cost of the wireless switch, and improve the production efficiency, the PCB can be provided with reserved positions of the indication module 107 corresponding to different versions of the key 101 in the embodiment. Specifically, the positions of the indication modules corresponding to the middle position keys of the single key and triple key versions of the wireless switch are the same, and therefore, the single key, double key, and triple key versions only need to be provided with five reserved positions on the PCB to meet the demand that different versions of the wireless switch share the same PCB. For example, when producing the single key version of the wireless switch, only the LED3 is welded in the reserved position on the PCB, and the remaining LED1, LED2, LED4, and LED5 are not welded; when producing the double key version of the wireless switch, only the LED2 and LED4 are welded in the reserved position on the PCB, and the remaining LED1, LED3, and LED5 are not welded; and when producing the triple key version of the wireless switch, only the LED1, LED3, and LED5 are welded in the reserved position on the PCB, and the remaining LED2 and LED4 are not welded.

[0043] Further, as Figure 3In some embodiments, the signal configuration module 105 can include an ASK modulation unit 1051, a frequency configuration unit 1052, a power amplification unit 1053, and an antenna 1054. The digital logic module 104 is connected to the input terminals of the ASK modulation unit 1051, the frequency configuration unit 1052, and the power amplification unit 1053. The output terminal of the power amplification unit 1053 is electrically connected to the antenna 1054. The ASK modulation unit 1051 performs ASK modulation on the encoded signal generated by the digital logic module 104 according to the modulation mode specified in the preset packet sending parameters in the non-volatile memory 106 to obtain an ASK modulation signal. The frequency configuration unit 1052 performs frequency mixing processing on the ASK modulation signal according to the preset packet sending parameters to obtain a wireless signal in a specified frequency range. The power amplification unit 1053 performs power amplification processing on the wireless signal according to the output power specified in the preset packet sending parameters and outputs the wireless signal to the antenna 1054 for outward emission.

[0044] In the present embodiment, when the key 101 of the wireless switch is pressed, the corresponding key recognition module 102 sends a touch signal to the digital logic module 104. The digital logic module 104 reads the key value corresponding to the pressed key 101 in the non-volatile memory 106 according to the touch signal, reads the identification information and packet sending parameters stored in the non-volatile memory 106, and encodes the read key value and identification information according to the packet sending parameters such as data rate and encoding mode to generate an encoded signal. The encoded signal can be a low-frequency signal corresponding to the key value of the pressed key 101. The data rate of the packet sending can be in the range of 0.5-40 kbps.

[0045] The ASK modulation unit 1051 receives the encoded signal sent by the digital logic module 104 and modulates the encoded signal based on the modulation mode configured by the preset packet sending parameters in the non-volatile memory 106 to generate a modulation signal. The modulation mode includes but is not limited to ASK modulation. The modulation signal can be a high-frequency carrier signal.

[0046] The frequency configuration unit 1052 mixes the low-frequency encoded signal with the generated high-frequency carrier signal based on the preset packet sending parameters such as frequency in the non-volatile memory 106 to obtain a wireless signal in a specified frequency range. The wireless signal can be a high-frequency or low-frequency wireless signal. The specified frequency range can be in the range of 240 MHz-960 MHz, and more preferably, the frequency of the wireless signal is close to 433 MHz.

[0047] The power amplification unit 1053 performs power amplification processing on the high-frequency wireless signal obtained after mixing based on the preset packet sending parameters such as output power information in the non-volatile memory 106, and then outputs to the antenna 1054 for transmission. Among them, the radio frequency transmitting circuit is also provided with LC impedance matching and filtering circuit corresponding to the antenna, such as Figure 4 As shown, C1 is a direct-current capacitor, and part of the inductance of L2 resonates at the working frequency point to play a harmonic suppression role, and L2, C2, L3, C3, L4, C4 form a low-pass filter matching network, and the antenna is mainly used for radio frequency signal transmission. The antenna receives the radio frequency signal output by the power amplification unit through the output end connected to the power amplification unit and transmits it outward. In addition, the radio frequency transmitting circuit is also provided with L1, C5 and C6 between the input power source (such as a battery), wherein L1 is a choke inductance, and C5 and C6 are power decoupling capacitors, which are used to reduce the influence of the output of the power amplification unit in the radio frequency transmitting circuit on the power source.

[0048] Further, in some embodiments, the signal configuration module 105 automatically stops transmitting after transmitting a specified number of wireless data packets in the preset packet sending parameters, so as to save the power consumption of the wireless switch. Alternatively, when the wireless switch is transmitting a wireless data packet, if it is determined that the key is in the pressed state, the wireless data packet will continue to be transmitted until it is determined that the key is released and the transmission is stopped, so as to adapt to the user's operation to send the wireless data packet, ensure that the wireless switch sends more wireless data packets to facilitate the reception of the intelligent controller, and improve the reliability of controlling the intelligent controller through the wireless switch.

[0049] Further, in some embodiments, when the digital logic module 104 reads the key value for encoding, it can be encoded based on the encoding mode preset in the packet sending parameters in the non-volatile memory 106, wherein the encoding mode includes but is not limited to 527, 1527 encoding, etc. In an example, the digital logic module 104 encodes using the 1527 encoding mode, and the data of the wireless data packet finally transmitted outward includes a synchronization code, an identification information, and a key value information, wherein the intelligent controller identifies the data of the wireless data packet through the synchronization code, and then performs the control corresponding to the data of the wireless data packet. Specifically, as shown in Figure 5 Figure 5 ​is a data format diagram of the 1527 encoded data used by the digital logic module 104, wherein each frame of data is composed of 24 data bits, the first 20 bits are identification information such as address code, the content of the address code is fixed for each device, is pre-fabricated before factory, and theoretically the address code of each device is unique. The last 4 bits D1, D2, D3, D4 are key value information, i.e. key code, corresponding to the keys 101 on the wireless switch, and the key code in the encoded signal is different for different pressed keys 101. The synchronization code at the frame header is used to filter out white noise to distinguish between valid data signals and invalid noise signals, so that the receiving end (intelligent controller) can identify valid data signals. Each frame of data starts with a synchronization code, wherein the synchronization code is represented by a high level of one symbol and a low level of 31 symbols. In this embodiment, the data is transmitted at a data rate of 30Ksps, i.e. 30K symbols per second, and one symbol consumes 33us. Each data packet is composed of 24-bit data and a synchronization code, and one data (bit0 or bit1) is composed of 4 symbols, for example, Figure 5 bit0 is composed of a high level of one symbol and a low level of 3 symbols, and bit1 is composed of a high level of 3 symbols and a low level of one symbol. Therefore, the total number of symbols (symbol) contained in one data frame in this embodiment is: 32+(24*4) = 128 symbols. One symbol (symbol) consumes 33us, so the time occupied by one data packet is: 128*33us = 4.224ms.

[0050] The encoded signal obtained by the digital logic module 104 after 1527 encoding is a digital encoded signal. To realize wireless communication, the digital encoded signal needs to be converted into radio waves to transmit wireless data packets into space. The signal configuration module 105 can modulate the digital encoded signal generated by the digital logic module 104 into a wireless data packet according to a predetermined modulation method such as ASK modulation and broadcast it externally. For example, as shown in Figure 6 assuming that the digital logic module 104 generates a piece of encoded signal "010011100" through 1527 encoding, and generates radio waves after modulation by the signal configuration module 105 to be transmitted externally.

[0051] Further, in some embodiments, the wireless switch 1 is capable of wireless communication with at least one smart controller 2, so as to realize remote control of the smart controller 2 and the electrical appliances connected thereto by the wireless switch 1. For example, after the wireless switch 1 is paired with the smart controller 2, the wireless switch 1 can directly send the wireless data packet broadcasted by it to the smart controller 2, so as to make the smart controller 2 or the device connected thereto execute the corresponding control result. For example, when the key of the wireless switch 1 is pressed, the wireless switch 1 can send a wireless data packet to the smart controller 2, and the smart controller 2 controls a lamp to turn on or off according to the data in the wireless data packet.

[0052] The smart controller 2 is connected in series with an electrical appliance (such as a lamp) to control the working state of the electrical appliance; wherein the smart controller 2 comprises a radio frequency receiving module, a processing module and an execution module, the radio frequency receiving module and the execution module are electrically connected to the processing module, the radio frequency receiving module and the processing module are capable of switching between a sleep state and a wake-up state, the radio frequency receiving module wakes up the processing module after receiving at least one wireless data packet sent by the wireless switch 1 when the radio frequency receiving module is in the wake-up state, and the processing module controls the execution module to disconnect or connect the live wire or the neutral wire in the circuit of the electrical appliance according to the data in the wireless data packet.

[0053] For example, as shown in Figure 7 The smart controller 2 comprises a switch circuit, a live wire input terminal P1 and a live wire output terminal P2. Of course, the smart controller 2 can also comprise a neutral wire terminal, i.e. the smart controller 2 can be powered by a single live wire or a neutral live wire. Herein, the smart controller powered by a single live wire is taken as an example for illustration.

[0054] The switch circuit comprises a power taking module 211, a processing module 215, a radio frequency receiving module 212 and an execution module, wherein the execution module can comprise a driving module 213 and an output on-off module 214. One end of the output on-off module 214 is directly or indirectly electrically connected to the live wire input terminal, and the other end of the output on-off module 214 is directly or indirectly electrically connected to the live wire output terminal; the power taking module 211 is electrically connected to the terminal, the processing module 215, the radio frequency receiving module 212 and the driving module 213, so as to convert the accessed alternating current into the required direct current, and deliver the required direct current to the processing module 215, the radio frequency receiving module 212 and the driving module 213.

[0055] The radio frequency receiving module 212 is electrically connected to the processing module 215 to feed back the wireless data packet received from the wireless switch 1 to the processing module 215; the processing module 215 is electrically connected to the driving module 213 to send the corresponding control signal to the driving module 213 according to the received wireless data packet; and the driving module 213 is electrically connected to the control end of the output on-off module 214 to drive the on-off of the output on-off module 214 in response to the control signal.

[0056] The power taking module 211 includes an AC-DC converter and a DC voltage converter; the AC-DC converter is electrically connected to the terminal post and the DC voltage converter respectively to convert the AC power into DC power and deliver the DC power to be converted to the DC voltage converter; and the DC voltage converter is electrically connected to the processing module 215, the radio frequency receiving module 212 and the driving module 213 to convert the DC power to be converted into the required voltage.

[0057] The AC-DC converter includes an ON-state power taking unit and an OFF-state power taking unit; the live wire input terminal post, the ON-state power taking unit, the output on-off module 214 and the live wire output terminal post are directly or indirectly sequentially connected; the live wire input terminal post, the OFF-state power taking unit and the live wire output terminal post are directly or indirectly sequentially connected; the DC power output end of the ON-state power taking unit is electrically connected to the DC voltage converter to obtain the power of the AC power when the output on-off module 214 is turned on and output the DC power to be converted to the DC voltage converter based on the obtained power; and the DC power output end of the OFF-state power taking unit is electrically connected to the DC voltage converter to obtain the power of the AC power when the output on-off module 214 is turned off and output the DC power to be converted to the DC voltage converter based on the obtained power.

[0058] In this embodiment, the intelligent controller and the electrical appliance form a series circuit relationship, for example, the intelligent controller is connected in series with the live wire in the circuit where the electrical appliance is located. In order to receive the wireless data packet sent by the wireless switch in time, the intelligent controller is kept in the working state by continuous power supply. However, if the power consumption of the intelligent controller in this working state is large, the current consumed by the intelligent controller is also large, so that the current in the series circuit formed by the intelligent controller and the electrical appliance is large, so that the electrical appliance may be turned on by the large current caused by the intelligent controller when it should be turned off. For example, when the electrical appliance is a lamp, the large current caused by the intelligent controller may drive the lamp in series to produce light or flicker, resulting in that the lamp may produce light or flicker when it should be turned off, affecting the user experience.

[0059] Therefore, in order to reduce the power consumption of the intelligent controller when it is continuously powered and kept in the working state, the radio frequency receiving module and the processing module in the intelligent controller are configured to switch between the sleep state and the wake-up state when in the working state. Moreover, by prolonging the time of the intelligent controller in the sleep state in the working state, the power consumption of the intelligent controller can be reduced as much as possible. However, if the sleep state time of the intelligent controller is too long, the wireless switch may miss the wireless data packet sent by the wireless switch in the short wake-up period, resulting in control failure.

[0060] In addition, considering that after the intelligent controller receives the wireless data packet sent by the wireless switch, the processing module of the intelligent controller needs to perform some logical processing such as decoding, storing, and matching of the received wireless data, and then the next packet listening can be performed. If the packet interval of the wireless switch transmitting the wireless data packet is too small, the intelligent controller will miss the next packet data when decoding and logical processing, resulting in data loss. Therefore, for the intelligent controller, appropriately increasing the packet interval of the wireless switch is beneficial to improve the communication reliability of the control system. At the same time, under the condition of prolonging the sleep state time of the intelligent controller as much as possible, the intelligent controller needs to receive sufficient wireless data packets sent by the wireless switch in the wake-up state time, so as to respond to the wireless signal sent by the wireless switch when it is controlled in time, and then realize the wireless control of the intelligent controller by the wireless switch.

[0061] Therefore, in order to realize both prolonging the sleep state time of the intelligent controller to reduce its power consumption and enabling the intelligent controller to receive wireless data packets in the wake-up state time, the related parameters of the wireless switch transmitting data packets and the related parameters of the intelligent controller switching between the sleep state and the wake-up state need to be associated and configured. When the wireless switch is controlled to transmit wireless data packets, in order to ensure the reliability of communication, at least two data packets are generally transmitted, and each data packet includes the same control data.

[0062] As shown in Figure 8 In the embodiment, the total time of the wireless switch broadcasting at least two wireless data packets in turn when controlled is defined as T, and the length of one wake-up and sleep cycle (including one wake-up period and one sleep period) of the radio frequency receiving module of the intelligent controller is also T, that is, the total time of the wireless switch transmitting at least two data packets is set to be the same as one wake-up and sleep cycle of the radio frequency receiving module of the intelligent controller.

[0063] When the wireless switch broadcasts at least two wireless data packets in turn, the broadcast interval of adjacent two wireless data packets is defined as t1, the sending time of one wireless data packet is defined as t2, and the length of the wake-up period of the radio frequency receiving module in one wake-up and sleep cycle is defined as t3. The broadcast interval of adjacent two data packets and the sending time of one data packet of the wireless switch and the length of the wake-up period of the radio frequency receiving module in one wake-up and sleep cycle satisfy the following relationship: t3≥n(t1+t2). When the relationship is satisfied, the radio frequency receiving module of the intelligent controller can capture at least n wireless data packets in the wake-up period of one or more wake-up and sleep cycles no matter when the wireless switch sends the wireless data packets, and the radio frequency receiving module can be in the sleep state for the longest time in one wake-up and sleep cycle, thereby reducing the power consumption of the intelligent controller. n is the minimum number of wireless data packets that the radio frequency receiving module can receive in one wake-up and sleep cycle, and n≥1.

[0064] In an example, the wireless switch sends 10 wireless data packets corresponding to the key value of the wireless switch for each action of the key of the wireless switch. The wireless switch transmits the wireless data packets at a rate of 30 Ksps. The packet interval t1 is about 256*33.3us=8.5ms. The packet duration t2 of one packet is 4.32ms. The total packet duration of the wireless switch sending 10 packets is 130ms. Accordingly, the rate of the smart controller is set to be the same as that of the wireless switch, i.e., 30 Ksps. The wake-up and sleep period of the radio frequency receiving module of the smart controller is the same as the total packet duration of the wireless switch sending 10 packets, i.e., 130ms. In the embodiment, when the wireless switch sends 10 wireless data packets, the radio frequency receiving module of the smart controller needs to receive at least 2 wireless data packets so as to accurately control the smart controller according to the received wireless data packets. Therefore, the wake-up time duration t3 of the radio frequency receiving module in one wake-up and sleep period is greater than or equal to n(t1+t2), i.e., the wake-up time duration t3 of the radio frequency receiving module in one wake-up and sleep period can be set to 2*(8.5ms+4.32ms) about 26ms. Correspondingly, the sleep time duration of the radio frequency receiving module in one wake-up and sleep period is 130ms-26ms=104ms. In this way, no matter when the wireless switch sends the wireless data packets, the radio frequency receiving module of the smart controller can capture at least 2 wireless data packets in the wake-up time duration of the wake-up and sleep period, and the radio frequency receiving module is in the sleep state for the longest time in one wake-up and sleep period, thereby reducing the power consumption of the smart controller. For example, the radio frequency receiving module consumes a current of 440nA in the sleep state and a current of 3.8mA in the wake-up state. By configuring the sleep time of the radio frequency receiving module to be 104ms and the wake-up time to be 26ms, the power consumption of the radio frequency receiving module can be reduced to 1 / 5*3.8mA=0.76mA of the normal receiving function, thereby reducing the power consumption of the smart controller.

[0065] Further, in some embodiments, the radio frequency receiving module and the processing module (such as MCU) in the intelligent controller are both operated in an intermittent manner to achieve low power consumption. That is, the radio frequency receiving module and the processing module are switched between a wake-up state and a sleep state to reduce the power consumption of the intelligent controller. The difference is that the radio frequency receiving module is periodically switched between a sleep state and a wake-up state. The processing module enters a sleep state in an idle mode. When the radio frequency receiving module receives a wireless data packet sent by the wireless switch, the processing module is woken up. After the processing module performs a control operation according to the wireless data packet, it does not immediately enter the sleep state, but determines whether the radio frequency receiving module outputs a preset sleep signal. If yes, the processing module enters the sleep state. Exemplarily, the preset sleep signal can be a low-level signal lasting for 5 ms. Since the radio frequency receiving module outputs a low-level signal to the processing module when normally receiving a radio frequency signal, which is a normal signal, but there is no low-level signal lasting for more than 5 ms. Therefore, whether the radio frequency receiving module has entered the sleep state is determined by the low-level signal lasting for 5 ms. If yes, the processing module enters the sleep state to avoid false judgment and repeated wake-up of the processing module, thereby reducing the power consumption.

[0066] It is found through experimental tests that, when the wake-up time of the radio frequency receiving module in one cycle is 26 ms and the sleep time is 104 ms, the wake-up time of the processing module is 33.6 ms and the sleep time is 96.8 ms. The duty cycle of the radio frequency receiving module is about 20%, and the duty cycle of the processing module is about 25%, which can effectively reduce the power consumption of the intelligent controller. Exemplarily, the radio frequency receiving module in the embodiment can be configured as a Huapu CMT2210LB, and the processing module can be configured as a Keshilian KSL8M163 / Huiman CM8M02 single-chip microcomputer.

[0067] Further, in some embodiments, the processing module needs to close the related timer circuit (such as WDT) before entering the sleep state, and simultaneously open the port level change interrupt. Only the key signal and the radio frequency signal (such as the radio frequency receiving module receiving the wireless data packet sent by the wireless switch) can make the processing module interrupt and wake up. After being woken up, the WDT is opened, and the processing module enters the sleep state again after completing the task. In the embodiment, the WDT is closed when the processing module is in the sleep state, which can prevent the processing module from being falsely woken up by the WDT. Meanwhile, closing the WDT can also reduce part of the power consumption. For example, it is found through experimental tests that the current consumed by the processing module when entering the sleep state by closing the WDT is only about 0.8 uA.

[0068] Further, in some embodiments, the smart controller comprises a circuit board; the radio frequency receiving module and the processing module are arranged on the circuit board; wherein the radio frequency receiving module and / or the processing module have X pin ports; the circuit board is provided with Y soldering points for electrically connecting the pin ports; and X≤Y. It should be noted that the radio frequency receiving module and the processing module of the smart controller in this embodiment can be separate or integrated together. Since the smart controller in this embodiment can have single-key, double-key or three-key versions, the radio frequency receiving module, the processing module or the integrated radio frequency receiving module and processing module of the smart controller of different versions have different numbers of pin ports, for example, the radio frequency receiving module and / or the processing module of the single-key, double-key version smart controller have 14 pin ports, and the radio frequency receiving module and / or the processing module of the three-key version smart controller have 16 pin ports.

[0069] In order to enable different versions of the smart controller to share the same circuit board, so as to reduce the production cost of the smart controller and improve the production efficiency, the number Y of soldering points for electrically connecting the pin ports provided on the circuit board is greater than or equal to the number X of pin ports of the radio frequency receiving module and / or the processing module of each version of the smart controller. For example, the number of soldering points for electrically connecting the pin ports provided on the circuit board is 16, which can adapt to the single-key, double-key or three-key version smart controller.

[0070] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to realize the method described above.

[0071] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the foregoing storage medium includes ROM, RAM, magnetic disc or optical disc and various storage medium capable of storing program codes.

[0072] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A wireless switch, characterized in that, The wireless switch comprises a bottom shell, at least one key, at least one circuit board, a power supply module, a radio frequency transmitting circuit, a key recognition module and an indication module. The first side of the bottom shell is provided with a containing space, and the at least one circuit board is arranged in the containing space; the key is arranged on the first side of the bottom shell, and the containing space is located between the bottom shell and the at least one key; the key can move towards the containing space and can also move away from the containing space. The power supply module is electrically connected to the radio frequency transmitting circuit to provide working power for the radio frequency transmitting circuit. The position of the key recognition module matches the corresponding key, so that the key recognition module is triggered when the corresponding key moves towards the containing space; the key recognition module is electrically connected to the radio frequency transmitting circuit to transmit a corresponding trigger signal to the radio frequency transmitting circuit when the key recognition module is triggered; the trigger signal is used to trigger the radio frequency transmitting circuit to generate and broadcast wireless signals according to specified encoding information stored in a memory; the data stored in the memory does not change after power failure and restart, so that the static power consumption current of the wireless switch is less than or equal to 100 nA; wherein, when the key is pressed, the radio frequency transmitting circuit encodes information and broadcasts wireless signals according to the specified encoding information stored in the memory without the need for signal encoding through an MCU and a RAM. The indication module is arranged on the at least one circuit board and is used to indicate the working state of the key when the key moves and triggers the corresponding key recognition module. The indication module and the key recognition module are electrically connected to a power supply circuit; the key recognition module controls the power supply state of the indication module to change when the key is pressed, and the indication module synchronously sends an indication signal without the intervention of an MCU. A first power supply state: when the key is pressed, the key recognition module is triggered, and the power supply circuit is in an on state; in the first power supply state, the indication module is lit up; A second power supply state: when the key is released, the key recognition module is not triggered, and the power supply circuit is in an off state; In the second power supply state, the indication module is turned off. The specified encoding information comprises identification information of the wireless switch and preset packet sending parameters; the radio frequency transmitting circuit comprises:

2. The wireless switch of claim 1, wherein, A digital logic module, which is used to encode the key value corresponding to the pressed key and the identification information to generate an encoding signal when a trigger signal transmitted by the key being pressed is detected; A signal configuration module, which is used to configure the encoding signal according to the preset packet sending parameters and then broadcast at least two wireless data packets based on a specified broadcast interval, so that at least one intelligent controller capable of wirelessly interacting with the wireless switch receives at least one wireless data packet and executes a control task corresponding to the wireless data packet. The wireless switch further comprises:

3. The wireless switch of claim 1, wherein, An indication module arranged on the at least one circuit board, which is used to indicate the working state of the key when the key moves and triggers the corresponding key recognition module. ​ The indication module is directly or indirectly electrically connected to the key recognition module and is configured to send an indication signal outward under the control of the key recognition module.

4. The wireless switch of claim 1, wherein, The wireless switch further comprises: An indication module arranged on the at least one circuit board and configured to indicate the working state of the key when the key is triggered by the corresponding key recognition module; The indication module and the key recognition module are electrically connected to a power supply circuit and form a series circuit relationship in the power supply circuit, and the key recognition module is configured to disconnect the power supply circuit of the indication module when it is not triggered.

5. The wireless switch of claim 4, wherein, The key recognition module can be triggered according to the pressing or releasing action of the corresponding key, wherein the key recognition module is triggered in response to the pressing action of the key, so that the power supply circuit is in a first power supply state; in the first power supply state, the indication module sends a first indication signal; The key recognition module can be triggered in response to the releasing action of the corresponding key, so that the power supply circuit is in a second power supply state; in the second power supply state, the indication module sends a second indication signal; The first indication signal and the second indication signal are different.

6. The wireless switch of claim 2, wherein, The radio frequency transmitting circuit is further configured to: When the digital logic module detects the trigger signal transmitted by the key recognition module, the radio frequency transmitting circuit is controlled to switch from the sleep state to the working state; and after the signal configuration module sends the wireless data packet, the radio frequency transmitting circuit is controlled to switch from the working state to the sleep state; the current of the radio frequency transmitting circuit in the sleep state is less than or equal to 30nA.

7. The wireless switch of claim 2, wherein, The signal configuration module is configured to broadcast at least two wireless data packets based on the specified broadcast interval after the encoding signal is configured according to the preset packet sending parameters, and is configured to: The total time length of sending the at least two data packets matches a wake-up sleep period of the intelligent controller; wherein the intelligent controller receives the wireless data packet in the wake-up period of the wake-up sleep period.

8. The wireless switch according to claim 2 or 7, characterized in that, The signal configuration module is configured to broadcast at least two wireless data packets based on the specified broadcast interval after the encoding signal is configured according to the preset packet sending parameters, and is configured to: The signal configuration module broadcasts at least two wireless data packets in sequence, defines the broadcast interval of adjacent two data packets as t1, the packet sending time length of the signal configuration module for sending one data packet as t2, and the length of the wake-up period in one wake-up sleep period of the intelligent controller as t3, so that the broadcast interval of adjacent two data packets and the packet sending time length of the signal configuration module for sending one data packet satisfy the following relationship: t3≥n(t1+t2), wherein n is the minimum number of wireless data packets that the intelligent controller can receive in one wake-up sleep period; so that the intelligent controller captures at least n wireless data packets in the wake-up period of the wake-up sleep period, wherein the wake-up sleep period includes alternating wake-up period and sleep period.

9. The wireless switch of claim 2, wherein, The signal configuration module is configured to broadcast at least two wireless data packets in turn based on a specified broadcast interval after the encoding signal is configured according to the preset packet sending parameters. The signal configuration module automatically stops transmitting after transmitting a specified number of wireless data packets in the preset packet sending parameters. Alternatively, When the signal configuration module is transmitting wireless data packets, if it is determined that the key is in a pressed state, the signal configuration module continues to transmit wireless data packets until it is determined that the key is released and the transmission is stopped.

10. A control system characterized by, The wireless switch and the intelligent controller according to any one of claims 1-9; the intelligent controller is capable of receiving the wireless signal broadcasted by the wireless switch and performing a control task corresponding to the wireless signal. The intelligent controller is connected in series to an electrical appliance to control the working state of the electrical appliance; the intelligent controller includes a radio frequency receiving module, a processing module, and an execution module, the radio frequency receiving module and the execution module are electrically connected to the processing module, the radio frequency receiving module and the processing module are capable of switching between a sleep state and a wake-up state, the radio frequency receiving module wakes up the processing module after receiving at least one wireless data packet sent by the wireless switch when the radio frequency receiving module is in a wake-up state, and the processing module controls the execution module to disconnect or connect a hot line or a neutral line in a circuit of the electrical appliance according to data in the wireless data packet.

11. The control system of claim 10, wherein, The radio frequency receiving module periodically switches between a sleep state and a wake-up state, and the total time length of the signal configuration module of the wireless switch for sending at least two data packets is set to be the same as one wake-up sleep cycle of the radio frequency receiving module of the intelligent controller.

12. The control system of claim 11, wherein, The signal configuration module broadcasts at least two wireless data packets in turn, the broadcast interval of adjacent two data packets is defined as t1, the packet sending time length of one data packet sent by the signal configuration module is t2, and the wake-up time length of the radio frequency receiving module in one wake-up sleep cycle is t3, then the broadcast interval of adjacent two data packets and the packet sending time length of one data packet sent by the signal configuration module satisfy the following relationship: t3≥n(t1+t2), where n is the minimum number of wireless data packets that can be received by the radio frequency receiving module in one wake-up sleep cycle; so that the radio frequency receiving module can capture at least n wireless data packets in the wake-up period of the wake-up sleep cycle, and the wake-up sleep cycle includes alternating wake-up periods and sleep periods. The intelligent controller includes a circuit board; the radio frequency receiving module and the processing module are arranged on the circuit board; the radio frequency receiving module and / or the processing module have X pin ports; the circuit board is provided with Y soldering points for electrically connecting the pin ports; and X≤Y.

13. The control system of claim 11, wherein, ​

Citation Information

Patent Citations

  • Self-generating switch and processing method and control system thereof

    CN113410971A

  • Wireless switch, processing method of wireless switch and control system

    CN115019494A

  • Wireless switch and control system

    CN218939073U