Electrical equipment controller, dimming system and control system
By sending control signals intermittently and dynamically multiple times, combined with local and remote link communication, the data processing pressure problem of electrical equipment controllers during the rotational movement of rotary input components is solved, thereby improving the continuous motion control effect and user experience of electrical equipment.
Patent Information
- Application Number
- CN202310153244.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
Existing electrical equipment controllers continuously send a large number of control signals during the rotation of the rotary input component, resulting in insufficient processing capacity of the controlled device, packet loss and lag, which affects the user experience.
The electrical equipment controller sends control signals repeatedly and dynamically at intervals, combining local and remote link communication. It prioritizes transmitting control signals corresponding to rotational movements through the local link and expands the control range using predefined rules on the cloud server to achieve flexible control.
It improves the continuous operation control effect of electrical equipment controllers, reduces data processing pressure, enhances user experience and control stability, and expands the range of controlled equipment.
Smart Images

Figure CN118540831A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home, and in particular to an electrical equipment controller, a dimming system and a control system. Background Art
[0002] The electrical device controller can be understood as an intelligent controller that is configured to communicate with the electrical device and thus control the electrical device, such as an intelligent switch.
[0003] With the development of smart homes, the functions of electrical appliances in daily use are becoming increasingly rich. The control of more and more electrical appliances is not limited to switch control, but also requires continuous action control. For example, the control of smart lamps needs to achieve continuous dimming and color adjustment.
[0004] In the prior art, continuous actions of electrical equipment, such as dimming and color adjustment, are generally controlled through a knob-type switch panel. Therefore, the control process of the knob is crucial to the overall user experience. Summary of the invention
[0005] One object of the present invention is to provide an electrical equipment controller, a dimming system and a control system, wherein the communication processing module of the electrical equipment controller sends corresponding control signals to the outside multiple times at intervals and dynamically in response to the rotation action of its rotatable input component, so that the electrical equipment can receive and process control data in a timely and accurate manner during the user's rotation operation, thereby enabling the electrical equipment to adjust relevant state parameters in real time following the user's rotation operation, thereby improving the effect of the electrical equipment controller on the continuous action control of the electrical equipment.
[0006] One object of the present invention is to provide an electrical equipment controller, a dimming system and a control system, wherein the rotatable input component of the electrical equipment controller can not only track the user's rotational manipulation, but also respond to the user's single action to instruct the corresponding electrical equipment to directly adjust to a selected state, thereby realizing diverse control of continuous action and state control of the electrical equipment.
[0007] One object of the present invention is to provide an electrical equipment controller, a dimming system and a control system, wherein the communication processing module can preferentially use a local link to send a control signal based on different action types of rotational action and single action, so as to achieve faster and more stable control of the electrical equipment.
[0008] One object of the present invention is to provide an electrical equipment controller, a dimming system and a control system, wherein when the communication processing module sends a control signal to the outside through a remote link, a matching rule can be predefined on a cloud server, thereby expanding the devices that can be controlled by the electrical equipment controller to any controlled device that can communicate with the cloud server, making the control more flexible and rich.
[0009] An object of the present invention is to provide an electrical equipment controller, a dimming system and a control system, wherein the communication processing module can control the electrical equipment to adjust different types of parameters according to the type of rotational action and the rotational displacement, so as to achieve the adjustment of multiple types of parameters of the electrical equipment.
[0010] One object of the present invention is to provide an electrical equipment controller, a dimming system and a control system, wherein the electrical equipment controller is hidden with an on-off operation module to control the electrical equipment to maintain a normal power supply state during normal use, so as to receive control signals sent by the electrical equipment controller at any time. At the same time, when the electrical equipment freezes and needs to be restarted or needs to be powered off to enter a selected working state, the power supply of the electrical equipment can be directly cut off through the on-off operation module without performing a power-off operation on the electrical equipment, so that when it is inconvenient to operate the power-off of the electrical equipment, the power can be cut off through the electrical equipment controller.
[0011] One object of the present invention is to provide an electrical equipment controller, a dimming system and a control system, wherein the electrical equipment controller is also provided with a button, by operating the button, local rapid control of the electrical equipment to enter a specified working state can be achieved, or the cloud server can be triggered by the button operation to control the controlled device to execute functions according to predefined matching rules, thereby enabling the electrical equipment controller to implement a variety of control schemes based on knobs and buttons.
[0012] To achieve any one of the above purposes, according to a first aspect of the present invention, there is provided an electrical device controller, comprising:
[0013] case;
[0014] a rotatable input assembly mounted on the housing and configured to be able to track external rotation input actuation to generate a rotation motion;
[0015] A communication processing module is enclosed within the shell and communicatively coupled to the rotatable input component; wherein the communication processing module is configured to be able to send corresponding control signals to the outside multiple times at intervals and dynamically during the rotation action of the rotatable input component to instruct the corresponding electrical device to adjust relevant state parameters in a manner following the rotation action.
[0016] According to a second aspect of the present invention, there is provided a dimming system, comprising:
[0017] An electrical equipment controller capable of tracking external rotation input actuation to generate rotational motion, and sending control signals to the outside multiple times at intervals and dynamically during the rotational motion;
[0018] The driver can be communicatively connected to the electrical device controller, and is used to receive the control signal, and adjust the optical parameters of a lamp based on the control signal and following the rotation action of the electrical device controller; the optical parameters include color temperature and / or brightness.
[0019] According to a third aspect of the present invention, a control system is provided, comprising: an electrical equipment controller as described above and electrical equipment, wherein the electrical equipment controller is communicatively connected to the electrical equipment; the electrical equipment comprises at least one of a lamp, a window pusher, and a curtain motor controller.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0022] Figure 1 is a schematic block diagram of a control system provided in one embodiment of the present invention. Figure 1 ;
[0023] Figure 2 It is a schematic diagram of the structure of an electrical equipment controller according to an embodiment of the present invention;
[0024] Figure 3 is a schematic diagram of a first pulse signal and a second pulse signal that are alternately switched in one embodiment of the present invention;
[0025] Figure 4 is a schematic diagram of the structure of a triggering member and a sensing member in one embodiment of the present invention;
[0026] Figure 5 is an exploded view of a trigger member and a sensing member in one embodiment of the present invention;
[0027] Figure 6 It is a schematic diagram of the structure of a brush guide sheet and a brush head in one embodiment of the present invention;
[0028] Figure 7 The circuit of the induction element in one embodiment of the present invention is Figure 1 ;
[0029] Figure 8 The circuit of the induction element in one embodiment of the present invention is Figure 2 ;
[0030] Fig. 9 is a schematic block diagram of an electrical device controller provided in one embodiment of the present invention. Figure 1 ;
[0031] Fig.10 is a schematic block diagram of a dimming system provided in one embodiment of the present invention;
[0032] Fig.11 It is a schematic diagram of a flow chart of an electrical equipment controller adjusting the brightness or color temperature of a lamp in one embodiment of the present invention;
[0033] Fig.12 is a key recognition circuit diagram in one embodiment of the present invention;
[0034] Fig.13 is a capacitive proximity sensing circuit diagram in one embodiment of the present invention;
[0035] Fig.14 is a microwave proximity sensing circuit diagram in one embodiment of the present invention;
[0036] Fig.15 It is a module of an electrical equipment controller in one embodiment of the present invention Figure 1 ;
[0037] Fig.16 A circuit of the second power supply circuit in one embodiment of the present invention Figure 1 ;
[0038] Fig.17 A circuit of the second power supply circuit in one embodiment of the present invention Figure 2 ;
[0039] Fig.18 is a circuit diagram of a rectifier circuit and a filter circuit in one embodiment of the present invention;
[0040] Fig.19 It is a module of an electrical equipment controller in one embodiment of the present invention Figure 2 ;
[0041] Fig. 20 is a circuit diagram of a transceiver unit in one embodiment of the present invention;
[0042] Fig.21 is a circuit diagram of a second switching power supply in one embodiment of the present invention;
[0043] Fig. 22 It is a module of an electrical equipment controller in one embodiment of the present invention Figure 3 ;
[0044] Fig.23 is a schematic block diagram of a control system provided in one embodiment of the present invention. Figure 2 ;
[0045] Fig.24 It is a schematic diagram of the control actions that can be selected for the controller of the electrical equipment in one embodiment of the present invention;
[0046] Fig.25 is a schematic diagram of a target task when the controlled device is a lamp in one embodiment of the present invention;
[0047] Fig.26 is a schematic block diagram of a control system provided in one embodiment of the present invention. Figure 3 ;
[0048] Fig. 27 is a schematic block diagram of a control system provided in one embodiment of the present invention. Figure 4 ;
[0049] Fig.28 It is a flowchart of an electrical equipment control method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0052] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0053] The inventor of the present invention has found that in an existing electrical device controller with a rotatable input component, when the rotatable input component controls a controlled end to perform continuous actions, the electrical device controller will continuously send corresponding control signals to the controlled end during the rotational movement of the rotatable input component, and the continuous sending of control signals will generate a large number of data packets. The controlled end needs to quickly process these data packets and make corresponding responses. This leads to that if the performance of the controlled end is not good, the controlled end will not be able to process these large amounts of generated data in time due to insufficient processing power, and then, it will cause serious packet loss or even a jamming phenomenon when the controlled end performs actions. Based on this, in one embodiment of the present invention, an electrical device controller is provided, during the rotational action of the rotatable input component, the communication processing module sends corresponding control signals to the outside at intervals and dynamically for multiple times to instruct the corresponding electrical device to adjust the relevant state parameters in a manner that follows the rotational action. The electrical device controller provided by this embodiment sends the continuously generated data to the corresponding electrical device at intervals during the rotational action of the rotatable input component, solving the problem in the prior art that a large number of data packets are continuously sent, causing the controlled electrical device to be unable to process them and the user experience to be poor.
[0054] In addition, the embodiment of the present invention further proposes a control system and a control method corresponding to the electrical device controller based on the electrical device controller proposed in the above embodiment. Furthermore, in the subsequent embodiments corresponding to the control system and the control method, the explanation of the relevant features can be understood by referring to the description of the relevant features in this embodiment.
[0055] See also Figure 1 , shows a schematic block diagram of a control system provided by this embodiment. It can be seen that a control system provided by the present invention includes at least one electrical device controller 1 and at least one electrical device 2, wherein the electrical device controller 1 can be communicatively connected to the electrical device 2. The electrical device controller 1 can receive the control action of the user to implement corresponding control on the electrical device 2, and the electrical device 2 can include but is not limited to curtain motors, dimmable lamps, window pushers, doorbell electrical devices, etc. The corresponding control can be, for example, the action of the curtain motor controlling the opening and closing of the curtain, the action of increasing or decreasing the brightness and color temperature of the dimmable lamp, the action of the window pusher controlling the opening and closing of the window or the opening angle, and the action of the doorbell electrical device controlling the volume to increase or decrease.
[0056] See also Figure 2 An electrical equipment controller 1 provided by an embodiment of the present invention includes:
[0057] A housing 80; a rotatable input component 50, mounted on the housing and configured to be able to track external rotation input actuation to generate a rotational motion; a communication processing module (not shown in the figure), enclosed in the housing 80 and communicatively coupled to the rotatable input component 50; wherein the communication processing module is configured to be able to send corresponding control signals to the outside at intervals and dynamically multiple times during the rotational motion of the rotatable input component 50, so as to instruct the corresponding electrical device 2 to adjust the relevant state parameters in a manner of following the rotational motion. The following manner can be understood as when the electrical device 2 adjusts the state parameters during the rotational motion of the rotatable input component 50, it lags slightly behind the rotational motion, so as to achieve the effect of following the adjustment and improve the user experience.
[0058] In this embodiment, the electrical device controller 1 can communicate with the electrical device 2 directly or indirectly. For example, the electrical device controller 1 can control the electrical device 2 based on wireless communication or wired communication; wherein, the electrical device controller 1 can directly establish a communication link with the electrical device 2 for direct communication, or can communicate with the electrical device 2 through information exchange via a gateway, a router, a terminal, etc., without limitation. The wireless communication can be any wireless communication method such as RF communication, Bluetooth or Bluetooth MESH communication, ZIGBEE communication, etc. The rotatable input component 50 in the electrical device controller 1 can generate a rotational action in response to the user's rotational manipulation, and the communication processing module in the electrical device controller 1 generates a corresponding control signal in response to the generated rotational action, and sends the control signal to the outside, so that the electrical device 2 adjusts the corresponding state parameters after receiving the control signal, thereby realizing the control of the electrical device 2 by the electrical device controller 1.
[0059] Since the electrical device controller 1 in this embodiment can control the continuous action of the electrical device 2 in response to the user's rotational manipulation, for example, controlling the lamp to continuously increase or decrease the brightness, etc. Considering that when the electrical device controller 1 sends a control signal to the outside in response to the user's rotational manipulation, if the control signal is sent to the electrical device 2 in real time and indiscriminately in response to the user's rotational manipulation, the electrical device 2 will receive a large number of real-time control signals sent by the electrical device controller 1 during the user's rotational manipulation, and since the processing capacity of the electrical device 2 is limited, the data processing may take a long time when processing a large number of real-time control signals, and there may even be a risk of downtime due to too many data queue tasks, so that during the user's rotational manipulation, the electrical device 2 has a delay in controlling the continuous action, and even the electrical device 2 may downtime and not respond when the user's rotational manipulation lasts too long.
[0060] In view of this, when the communication processing module of the electrical device controller 1 in this embodiment sends a control signal to the outside in response to the user's rotational manipulation, it does not send the control signal in real time without distinction, but sends the corresponding control signal to the outside at intervals and dynamically multiple times during the rotational action to instruct the corresponding electrical device 2 to adjust the relevant state parameters in a manner following the rotational action. Optionally, the electrical device controller 1 can configure the interval time between any two adjacent control signal transmissions during the rotational action, and send control signals to the outside at intervals during the rotational action based on the configured interval time, so that the electrical device 2 can process each control signal in time within the interval time when receiving a large number of control signals sent by the electrical device controller 1. After multiple creative tests by the inventor of the present application, the above-mentioned effect can be satisfied when the interval time between any two adjacent control signal transmissions of the electrical device 2 is set to be less than or equal to 500ms and greater than or equal to 20ms. Preferably, the interval time is further configured as [100ms, 200ms]. When the electrical device controller 1 sends a control signal based on the interval time configured in this embodiment, it can reduce the amount of data processed by the electrical device 2, so that it can process the control signal in a timely manner, and also enable the user's eye to perceive the response of the electrical device 2 to continuous actions in real time during rotation control.
[0061] In addition, the fact that the electrical device controller 1 dynamically sends corresponding control signals multiple times during the rotational action can be understood as that the contents of the control signals sent multiple times are not completely different or the intervals of the control signals sent multiple times are not completely the same. For example, the content of each control signal sent by the electrical device controller 1 during the rotational action can be determined based on one or more combinations of parameters such as the speed, direction, rotational displacement per unit time, and total rotational displacement accumulated from the start of rotation. This allows the electrical device 2 to obtain real-time information about the user's rotational manipulation of the electrical device controller 1 when receiving control signals with different contents, thereby achieving real-time follow-up control of the electrical device 2 in response to the user's rotational manipulation.
[0062] In an optional embodiment, the communication processing module is configured to periodically send a corresponding control signal based on the interval time when the rotatable input component performs a rotation action. Furthermore, based on this scheme, the control signal received by the electrical device will be regular and predictable, and the electrical device can make targeted preparations for the control signal to be received based on a preset period, and then respond in time when the corresponding control signal is received. At the same time, the regular transmission of control signals also facilitates some low-power electrical devices to set corresponding sleep / wake-up strategies (for example, setting the sleep time to the same as the interval time of the cycle to ensure that the electrical device is in a wake-up state when the control signal is sent to improve the success rate of signal reception). In an example, the cycle (i.e., the interval time) is configured as [20ms, 500ms]. In a further example, the cycle is configured as 200ms. Based on this condition, the control signal is periodically sent outward, and the load capacity of the communication link, the data processing capacity of the electrical device, and the follow-up effect of the response action of the electrical device will achieve a better balance.
[0063] In an optional embodiment, when the electrical device controller 1 dynamically sends corresponding control signals multiple times during the rotation action, the control signals can also be dynamically sent out differently according to the speed of the rotation action. In an example, when the rotatable input component performs a uniform rotation action in response to the user's rotation manipulation, the content and / or interval time of the control signals sent out multiple times can be configured to be the same; so that the electrical device 2 adjusts the relevant state parameters at a uniform speed in response to the control signals sent multiple times to match the user's uniform rotation manipulation. When the rotatable input component performs a non-uniform rotation action, the content and / or interval time of the control signals sent out multiple times are different. For example, when the user's rotation manipulation speed is fast, a shorter interval time can be set to send more control signals to the electrical device 2 in a unit time, so that the electrical device 2 quickly adjusts the relevant state parameters in response to the control signal, and then can match the user's fast rotation manipulation and synchronize parameter adjustment. Based on this method, the state parameter adjustment of the electrical device 2 will achieve a better follow-up effect.
[0064] In this embodiment, the electrical device controller 1 can track the external rotation input actuation to generate a rotation action, and send corresponding control signals to the outside at intervals and dynamically multiple times during the rotation action to instruct the corresponding electrical device 2 to adjust the relevant state parameters. Since the control of the electrical device 2 can be achieved in response to the user's rotation operation, it is more convenient than the operation of the smart switch button, and the control in response to the rotation operation can better match the control of the continuous action of the electrical device 2. Furthermore, by sending corresponding control signals to the outside at intervals and dynamically multiple times during the response to the rotation action, the electrical device 2 can receive control data in a timely and accurate manner during the user's rotation control, so that the electrical device 2 follows the user's rotation operation and adjusts the relevant state parameters in real time, thereby improving the effect of the electrical device controller 1 on the continuous action control of the electrical device 2.
[0065] Furthermore, in some embodiments, the rotatable input component 50 is further constructed to be capable of being pressed inwardly along the direction of the rotation axis of the rotation action to produce a single action; and the communication processing module is further configured to be able to send a corresponding control signal to the outside when the rotatable input component undergoes a single action to instruct the corresponding electrical device 2 to directly adjust to a selected state.
[0066] In this embodiment, the electrical device controller 1 can not only track the user's rotational manipulation, but also recognize the user's single action on its rotatable input component, including but not limited to single click, double click, long press and other actions and their combination, and send a control signal to the outside when recognizing the occurrence of a single action. After receiving the control signal sent by the electrical device controller 1 based on the single action, the electrical device 2 can directly adjust to a selected state, for example, directly turn on or off or directly adjust a parameter to a specific value.
[0067] Furthermore, in some embodiments, the communication processing module is further configured to:
[0068] Sending a control signal corresponding to the rotation action via a local link; and,
[0069] A control signal corresponding to the single action is sent via a local link and / or a remote link.
[0070] In this embodiment, according to the different manipulations of the rotatable input component by the user, it is distinguished into a rotational action for controlling the continuous action of the electrical device and a single action for controlling the discontinuous action of the electrical device. And based on the characteristics that the number of control signals sent by the rotational action is large and the electrical device needs to respond in time, the control signal corresponding to the rotational action is sent through a local link, so that the electrical device can obtain the control signal sent by the electrical device controller in response to the user's rotation manipulation more quickly and stably, and then adjust the corresponding state parameters of the electrical device synchronously with the user's rotation manipulation. As for the control signal corresponding to a single action, it can be sent to the electrical device through both a local link and a remote link.
[0071] Among them, the local link may include a communication link established between the electrical device controller and the electrical device directly via wireless or wired communication, and may also include a communication link established between the electrical device controller and the electrical device through an intermediate local device (such as a gateway, router, etc.). As long as the link that can realize communication between the electrical device controller and the electrical device locally without passing through the cloud can be regarded as a local link. The remote link may include the electrical device directly or through an intermediary device connecting to the cloud server to form the remote link based on cloud communication. In some embodiments, when the remote link is communicable, the control signal corresponding to the rotation action is sent through the local link, and / or the control signal corresponding to the single action is sent through the local link. In this embodiment, the electrical device controller preferentially sends the control signal to the electrical device through the local link, so that the transmission speed of the control signal is faster and more stable, thereby improving the speed and stability of the electrical device controller controlling the electrical device.
[0072] Furthermore, in some embodiments, the communication processing module receives a control instruction based on the remote link, and establishes a corresponding relationship with the electrical device according to the control instruction, so that the control signal is sent outwardly to the electrical device in a direction. When the corresponding relationship is not established, the control signal is sent through the remote link; the control signal is used to trigger the execution of the target task matched with it; wherein the target task includes an executable function of the controlled device that can communicate with the cloud server; the matching rule between the trigger event represented by the control signal and the target task is predefined and stored in the cloud server.
[0073] In this embodiment, a corresponding relationship, i.e., a binding relationship, between the electrical device controller and the electrical device can be established on the cloud server through the terminal, so that the electrical device controller can send the control signal generated in response to the rotation action to the electrical device based on the binding relationship, so as to control the electrical device bound thereto to adjust the corresponding state parameters in response to the rotation. When the binding relationship is not established, the control signal generated by the electrical device controller can also be sent to the cloud server through a remote link, and the cloud server is triggered to control the corresponding controlled device to perform the corresponding function according to the stored predefined matching rules, wherein the controlled device can be any device that can interact with the cloud server. Thus, the range of devices that can be controlled by the electrical device controller is expanded to any device that can interact with the cloud server, and more flexible and diverse control can be achieved.
[0074] Specifically, in some embodiments, Figure 2 As shown, a schematic diagram of the structure of the electrical equipment controller is disclosed, and the rotatable input component 50 includes:
[0075] a knob module 7, movably mounted on the housing 80 and configured to perform a rotational action when receiving a rotational input action;
[0076] A sensing module 5, which is linked to the knob module 7 and can be communicatively coupled to the communication processing module (not shown in the figure) to track the rotation movement and can continuously output a trigger signal during the rotation movement of the knob module 7. The communication processing module identifies the rotation movement of the knob module 7 based on the trigger signal to generate a control signal.
[0077] Optionally, the electrical equipment controller 1 also includes a circuit board 6, and the sensing module 5 is electrically connected to the circuit board 6; a pulse signal with a time difference is output during the rotation of the knob module 7; the communication processing module receives and processes the number and / or phase of the pulses to identify the rotation action.
[0078] The communication processing module is arranged on the circuit board 6 and is electrically connected to the sensing module 5. It is used to receive the pulse signal with a time difference output by the sensing module 5, and determine the step length of the rotation control of the knob module 7 according to the pulse signal, and generate and send out a control signal based on the adjustment step length, so that: the control result pointed to by the control signal can be executed by the corresponding controlled device.
[0079] The pulse signal with a timing difference can be understood as follows: the sensing module 5 has at least three signal output contacts, which can output pulse signals in pairs, and different pulse signals have a timing difference. The communication processing module determines the rotation direction of the knob module 7 by analyzing the timing difference, and identifies the rotation step by the number of pulses. Figure 3 As shown, the pulse signal includes a first pulse signal and a second pulse signal that are switched alternately. In some preferred embodiments, the pulse signal output by the induction module 5 may be a pulse signal generated by magnetic induction, a pulse signal generated by alternating conduction of a conductive sheet, or a pulse signal generated by other means.
[0080] In some embodiments, the sensing module 5 includes a sensing member electrically connected to the communication processing module, and the knob module includes a trigger member; the trigger member is at least partially sleeved on the outside of the sensing member, and is capable of rotating around the sensing member, and triggers the sensing member to output a pulse signal with a timing difference during the rotation process, and the pulse signal includes a first level signal and a second level signal that are alternately switched; the rotatable input component also includes a locking member, which is fixedly connected to a circuit board, and the locking member abuts against at least a portion of the upper surface of the trigger member to limit the axial displacement of the trigger member; the locking member is buckled to the sensing member, thereby fixing the sensing member to the circuit board.
[0081] Wherein, the induction element is provided with a plurality of brush guide pieces, and the brush guide pieces are not connected to each other;
[0082] The trigger member is provided with a plurality of brush heads which are connected to each other and are arranged toward the brush guide sheet, and are used for abutting against the brush guide sheet;
[0083] The brush guide sheet at least includes a first brush guide sheet, a second brush guide sheet and a third brush guide sheet, the first brush guide sheet and the second brush guide sheet are respectively provided with a plurality of conductive areas at intervals, an insulating area is provided between two adjacent conductive areas, and the conductive areas of the same brush guide sheet are mutually conductive;
[0084] The first brush guide piece and the second brush guide piece are electrically connected to one of the power supply and the ground, respectively, and the third brush guide piece is electrically connected to the other of the power supply and the ground. When the trigger member rotates relative to the sensing member, the brush head passes through the conductive area, the insulating area and the third brush guide piece, continuously changing the conductive relationship between the brush guide pieces; there is a preset phase angle between the conductive area of the first brush guide piece and the conductive area of the second brush guide piece, so that the pulse signal with a time difference is formed between the brush guide pieces.
[0085] The first brush guide piece and / or the second brush guide piece are electrically connected to the power supply via a resistor, and the third brush guide piece is grounded. When the brush head connects the third brush guide piece with the first brush guide piece and / or the second brush guide piece, the circuit between the resistor and the third brush guide piece is cut off.
[0086] Specifically, in some embodiments, Figure 2-Figure 6 As shown, the sensing member 52 is electrically connected to the circuit board 6; the trigger member 51 is at least partially sleeved on the outside of the sensing member 52 and can rotate around the sensing member 52, and trigger the sensing member 52 to output a pulse signal with a time sequence difference during the rotation process; the locking member 53 is fixedly connected to the circuit board 6, and the locking member 53 abuts against at least part of the upper surface of the trigger member 51 to limit the axial displacement of the trigger member 51; the locking member 53 is buckled on the sensing member 52, thereby fixing the sensing member 52 to the circuit board 6; the communication processing module is electrically connected to the sensing member 52, for receiving the pulse signal with a time sequence difference output by the sensing member 52, and determining the adjustment step length of the rotation control of the trigger member 51 according to the pulse signal, and generating and sending a control signal to the outside based on the adjustment step length, so that: the control result pointed to by the control signal can be executed by the corresponding controlled device. Among them, the electrical connection can be understood as a connection that can conduct electricity, which can be welding, wire connection, plug-in, etc. The pulse signal with a time difference can be understood as the induction element 52 having at least three signal output contacts, which can output pulse signals in groups of two (for example Figure 3 As shown), and there is a timing difference between different pulse signals, the communication processing module determines the rotation direction of the trigger member 51 by analyzing the timing difference, and in some preferred embodiments, the pulse signal output by the sensor 52 can be a pulse signal generated by magnetic induction, or a pulse signal generated by alternating conduction of the conductive sheet, or a pulse signal generated by other means. The locking member 53 provided in the embodiment of the present invention can not only lock the trigger member 51 to the sensor 52, so that the trigger member 51 can rotate and cannot be separated from the sensor 52, so as to improve the tightness of the matching between the trigger member 51 and the sensor 52, thereby improving the rotation feel of the knob, but the locking member 53 can also fix the sensor 52 to the circuit board 6, so that the connection between the sensor 52 and the circuit board 6 is tighter, the reliability of the knob operation is higher, and the operation feel is improved.
[0087] In some preferred embodiments, the induction member 52 is provided with a plurality of brush guides 51, which are electrically connected to the circuit board 6 respectively, and the brush guides 521 are not connected to each other; the trigger member 51 is provided with a plurality of brush heads 511 connected to each other toward the brush guide 521, which are used to abut against the brush guide 521; wherein the brush guide 521 at least includes a first brush guide 5211, a second brush guide 5212 and a third brush guide 5213, the first brush guide 5211 and the second brush guide 5212 are respectively provided with a plurality of conductive areas 5214 at intervals, an insulating area 5215 is provided between two adjacent conductive areas 5214, and each conductive area 5214 of the same brush guide 521 is provided with a plurality of brush heads 511 connected to each other. The conductive areas 5214 are electrically connected to each other; the first brush piece 5211 and the second brush piece 5212 are electrically connected to a first potential, respectively, and the third brush piece 5213 is electrically connected to a second potential. When the trigger member 51 rotates relative to the sensing member 52, the brush head 511 passes through the conductive area 5214, the insulating area 5215 and the third brush piece 5213, and continuously changes the conductive relationship between the brush pieces 521; there is a preset phase angle between the conductive area 5214 of the first brush piece 5211 and the conductive area 5214 of the second brush piece 5212, so that the pulse signal with a time difference is formed between the brush pieces 521. Among them, the first brush guide piece 5211 and the second brush guide piece 5212 are alternately provided with the conductive area 5214 and the insulating area 5215, respectively. When the brush head 511 passes over the brush guide piece 521, the brush head 511 alternately switches the conduction relationship with the conductive piece, thereby outputting a pulse signal. There is a preset phase angle between the conductive area 5214 of the first brush guide piece 5211 and the conductive area 5214 of the second brush guide piece 5212, so that the conduction relationship between the brush head 511 and the first brush guide piece 5211 and the second brush guide piece 5212 is not synchronized, so that there is a timing difference between the pulse signals output by the two brush guide pieces relative to the third brush guide piece 5213, and the timing difference can be directly controlled by controlling the preset phase angle, so that the control of the pulse signal is simpler and more direct. Compared with the magnetic induction encoder, the present invention adopts a method of switching conduction between the brush head 511 and the brush guide piece 521, so that the jump of the pulse signal is faster, such as Figure 3 As shown, it is a pulse diagram of an embodiment of the present invention. It can be seen from the figure that the pulse signal generated by the structure provided by the present invention has a very short jump time, so that the timing of the pulse signal jump is more controllable. Preferably, the first brush plate 5211 and the second brush plate 5212 are electrically connected to a high potential respectively, and the third brush plate 5213 is grounded. When the brush head 511 conducts the first brush plate 5211 and the third brush plate 5213, the first brush plate 5211 changes from a high level to a low level. When the brush head 511 conducts the second brush plate 5212 and the third brush plate 5213, the second brush plate 5212 changes from a high level to a low level, thereby outputting the signal as shown in FIG. Figure 3The pulse signal is shown.
[0088] like Figure 7 As shown, the first sensing end of the sensing element 52 is electrically connected to a first power source, so as to control the on and off of the first power source in response to the rotation of the trigger element 51 and to send out a first level signal;
[0089] The second sensing end of the sensing element 52 is electrically connected to a second power source, so as to control the on and off of the second power source in response to the rotation control of the trigger element 51 and to send out a second level signal.
[0090] Wherein, the first sensing end and the second sensing end of the sensing element 52 are such as ES1, and the first power supply and the second power supply can be 3.3V power supplies. The 3.3V power supply is connected to the level output terminal KA via resistors R9 and R25, and the 3.3V power supply is connected to the level output terminal KB via resistors R11 and R26. When ES1 is turned on or off in response to the rotation of the trigger element 51, the KA and KB terminals output high and low level pulses with phases, and the knob switch can identify the direction in which the user rotates the knob assembly 5 (such as clockwise rotation, counterclockwise rotation) by judging the phase difference, and can also identify the knob rotation scale by the number of pulses to determine the adjustment step of the knob rotation. In addition, capacitors C17 and C19 are reserved in the circuit for filtering.
[0091] Furthermore, considering that when the brush guide piece of the induction member 52 is turned on in response to the rotation of the trigger member 51, the brush guide piece of the induction member 52 is grounded and outputs a low level, the power supply connected thereto will generate a continuous leakage current. If the brush guide piece 52 is always in the on state, the leakage current will last too long and cause a large energy consumption. When the rotary switch is powered by a battery, the standby time of the rotary switch will be reduced, and the user needs to frequently replace the battery, which affects the user experience.
[0092] Based on this, in the electrical equipment controller, a battery such as Figure 2 When the battery 91 in the induction device is powered, the brush guide of the induction device is electrically connected to the third power source based on the battery through a switch tube. When the trigger device rotates to the first preset position, the switch tube is turned on, so that the third power source outputs a level signal to the brush guide through the switch tube. When the trigger device rotates to the second preset position, the switch tube is turned off, so that the third power source cannot output a level signal to the brush guide through the switch tube, so as to reduce the power loss of the battery when the trigger device rotates to the second preset position. That is, when the trigger device rotates to disconnect the brush guide, the third power source powered by the battery can output a high-level signal to the outside, and when the trigger device rotates to connect the brush guide, the leakage current caused by the third power source can be reduced by disconnecting the third power source path, thereby reducing the power loss of the battery when the brush guide is connected for a long time.
[0093] Specifically, Figure 8 As shown, the sensing end of the sensing element 52, for example, its level output end KA is electrically connected to the first end of the first switch tube Q3, the control end of the first switch tube Q3 is electrically connected to the voltage control unit, and the second end of the first switch tube Q3 is electrically connected to the third power supply DVCC-3;
[0094] When the sensing end of the sensing element 52 is disconnected in response to the rotation of the trigger element 51, the voltage control unit outputs a first voltage control signal to turn on the first switch tube Q3, and KA sends a high level signal to the outside based on the third power supply DVCC-3;
[0095] When the brush guide of the induction member 52 is turned on in response to the rotation of the trigger member 51, the voltage control unit outputs a second voltage control signal to turn off the first switch tube Q3, and KA outputs a low level signal.
[0096] Optionally, the voltage control unit includes a second switch tube Q2, a fourth power supply DVCC-4, and a fifth power supply DVCC-5, wherein a first end of the second switch tube Q2 is electrically connected to a control end of the first switch tube Q3, a second end of the second switch tube Q2 is connected to the fourth power supply DVCC-4, and a control end of the second switch tube Q2 is connected to the fifth power supply DVCC-5;
[0097] When the brush guide of the induction member 52 is disconnected in response to the rotation of the trigger member 51, the fifth power supply DVCC-5 controls the second switch tube Q2 to be turned off, so as to output a first voltage control signal to the control end of the first switch tube Q3, so that the first switch tube is turned on;
[0098] When the brush guide of the induction member 52 is turned on in response to the rotation of the trigger member 51, the fifth power supply DVCC-5 controls the second switch tube Q2 to be turned on, so as to output a second voltage control signal to the control end of the first switch tube Q3, so that the first switch tube Q3 is turned off. The first switch tube and the second switch tube are MOS tubes.
[0099] In addition, it may also include resistors R16 and R17 connected between the fifth power supply DVCC-5 and KA, a resistor R18 connected between the fourth power supply DVCC-4 and the second switch tube Q2, R19 and R20 respectively connected to the control end of the first switch tube Q3, and a resistor R21 connected between the third power supply DVCC-3 and the first switch tube Q3.
[0100] In this embodiment, if only pull-up resistors are used at both ends of KA and KB, Figure 7When R9 and R11 in the pull-up resistor are kept at a high level, when KA and KB are both at a low level, it is equivalent to directly grounding one end of the pull-up resistor, which will greatly increase the power consumption (taking the pull-up resistor of 100K as an example, at 3V, there will be a leakage current of 60uA in both paths until the level of KA and KB ends changes). Although increasing the pull-up resistor can reduce the leakage current, the chip will not recognize the high level after the resistance is increased, so it is adopted Figure 8 The circuit in solves the above problems.
[0101] For KA: When the knob ES1 is in the off state, the base of Q2 is pulled up by R16, and Q2 is in the off state. At this time, the base of Q3 is pulled down by R20, and Q3 is in the on state. The level of KA is high at this time; when the knob ES1 changes from the off state to the closed state, the base of Q2 is pulled down by R17, making Q2's V GS When the conduction threshold is reached, Q2 is in the on state. At this time, the base of Q3 is pulled up by R18, making Q3's V GS If the conduction threshold is not reached, Q3 is in the off state, and the level of KA is low at this time, and the connection between the pull-up resistor and the ground is cut off; that is, the connection between the third power supply DVCC-3 and the ground through the resistor is cut off, and no leakage current is generated by the third power supply DVCC-3. Although the fifth power supply DVCC-5 can be connected to the ground through R16 and R17, the leakage current can be reduced by configuring R16 and R17 as large resistances, and it will not affect the output of a high level based on the third power supply DVCC-3 when the knob ES1 is disconnected, which is easy to be recognized by the chip.
[0102] For the KB circuit and its principle, please refer to the description of KA, which will not be repeated here.
[0103] The control signal includes information indicating an adjustment amount and a parameter type, and the control signal is used to trigger the electrical device that receives the control signal to adjust a state parameter corresponding to the parameter type according to the adjustment amount; the communication processing module identifies the rotation action of the knob module based on the trigger signal to generate a control signal, which is specifically used to:
[0104] Acquire the rotation displacement generated by the knob module in the interval time according to the trigger signal, and the rotation displacement is used to generate the adjustment amount loaded in the primary control signal adjacent to the interval time;
[0105] The parameter type is determined based on whether a single action is maintained during the rotation action; if only a rotation action occurs, it is determined to be a first parameter type; if a single action is maintained during the rotation action, it is determined to be a second parameter type; the first parameter type and the second parameter type are respectively used to characterize different state parameters.
[0106] In this embodiment, the electrical device controller 1 can determine the type of target parameter to be adjusted in response to different control actions of the user, for example, a rotation action, a single action such as pressing a knob module, respectively corresponding to the adjustment of different target parameter types. At the same time, the electrical device controller 1 can also determine parameter information in response to the adjustment amount of the knob module rotated by the user. For example, according to the different target parameter types determined, based on the adjustment amount of the user rotating the knob, the parameter corresponding to the target parameter type is calculated, and then a corresponding control signal is generated and sent out. After the electrical device 2 receives the control signal, it can adjust the parameter corresponding to the target parameter type according to the adjustment amount carried in the control signal or the information indicated by the adjustment amount.
[0107] Since different target parameter types to be adjusted can be determined according to different control actions of the user, the adjustment of multiple different target parameter types can be realized, enriching the adjustment function, and the adjustment amount in the user's control action can be converted into an adjustment parameter matching the target parameter type according to the determined target parameter type, and carried in the control signal and sent to the electrical device 2. The electrical device 2 can adjust the parameter corresponding to the target parameter type according to the adjustment amount, and the electrical device 2 can adjust the parameter by combining different target parameter types and corresponding adjustment amounts. Compared with the existing method that can only send a fixed parameter according to the adjustment amount to adjust all types of parameters, in this embodiment, the adjustment amount controlled by the user can be adaptively converted into an adjustment parameter matching the target parameter type according to the determined different target parameter types, and the corresponding control signal can be sent to the electrical device 2, so that the electrical device 2 that receives the control signal can adjust the target parameter in a targeted manner based on the user's adjustment amount, and can more accurately adjust different types of target parameters.
[0108] For further information, see Fig. 9 In some embodiments, the communication processing module can be communicatively coupled to the rotatable input component, and the rotatable input component can include a knob operating member 101 and a sensing unit 102.
[0109] The communication processing module can be understood as a circuit module with data processing and communication capabilities, on this basis, the communication processing module can be added with circuits or circuit combinations with any other functions. In a further solution, the communication processing module can also have other detection and conversion functions.
[0110] In one embodiment, the communication processing module includes: a processing unit 103 and a communication unit 104, wherein the processing unit 103 is electrically connected to the communication unit 104; the processing unit 103 is also electrically connected to the sensing unit 102 and the identification unit 107. The processing unit 103 can communicate with the outside through the communication unit 104. The processing unit 103 and the communication unit 104 can be integrated together or can be separate. The communication unit 104 can communicate directly or indirectly with the electrical device 2, and the communication unit 104 can use RF communication, Bluetooth or Bluetooth MESH communication, ZIGBEE communication, etc.
[0111] The knob operating member 101 can be understood as a knob of the electrical device controller 1, or can be understood as a combination of components that can move together, such as a knob of the electrical device controller 1 and a transmission member. The knob operating member 101 can touch the corresponding sensing unit 102 in response to an operation; the touch can be a direct touch or an indirect touch (for example, through other transmission members). The operations that the knob operating member 101 can respond to include but are not limited to the user's clockwise and counterclockwise rotation operations of the knob operating member 101, the pressing operations of the knob operating member 101 such as short press, long press, double click, etc., or the combination of rotating and pressing operations on the knob operating member 101 at the same time, etc. The sensing unit 102 is electrically connected to the processing unit 103 to transmit a trigger signal to the processing unit 103 when it is touched. The processing unit 103 can obtain information related to the control action currently accepted by the knob operating member 101 according to the trigger signal. Furthermore, the electrical device controller 1 can implement corresponding control on the electrical device 2 or a device connected to the electrical device 2 according to the user's control action on the knob operating member 101 .
[0112] In this embodiment, the electrical device 2 is taken as a lamp for illustration. The lamp can be any device that can realize lighting function and has dimming and color adjustment function, and is provided with a driver and other circuits with data processing and driving capabilities, and also has a lighting device electrically connected to the driver and can be driven by the driver to emit light; wherein the driver and the lighting device can be separate or integrated. In one example, the lamp can be an intelligent LED lamp with dimming and color adjustment function. Fig.10As shown, an embodiment of a dimming system is illustrated. The dimming system includes: an electrical device controller 1, which can track the external rotation input actuation to generate a rotational motion, and send out a control signal multiple times at intervals and dynamically during the rotational motion; a driver 22, which can be communicatively connected to the electrical device controller, for receiving the control signal, and adjusting the optical parameters of a lighting device 21 based on the control signal and following the rotational motion of the electrical device controller; the optical parameters include color temperature and / or brightness. Among them, the data interaction and processing between the electrical device controller and the driver 22 can refer to the processing process of the electrical device controller and the electrical device in the above-mentioned embodiment, which will not be repeated here.
[0113] In some embodiments, the electrical device controller 1 can control different types of target parameters of the lamp in response to the user's control of the knob operating member 101. The different types of target parameters include but are not limited to brightness, color temperature, etc. The communication processing module is used to:
[0114] In response to the control action of the knob operating member 101, the target parameter type is determined. According to the pre-set correspondence between different trigger signals and target parameter types, the knob operating member 101 sends different trigger signals to the communication processing module when receiving different control actions, so that the communication processing module determines the target parameter type in the control signal according to the different trigger signals. Exemplarily, when the knob operating member 101 is subjected to a control action of rotation, the communication processing module determines that the target parameter type is brightness; when the knob operating member 101 is subjected to a control action of pressing and rotating, the communication processing module determines that the target parameter type is color temperature.
[0115] The adjustment amount corresponding to the control action is obtained, and information indicating the adjustment amount corresponding to the control action is obtained according to the target parameter type. The adjustment amount corresponding to the control action may include the number of grids corresponding to the rotating knob. For example, the total number of grids corresponding to one circle of the knob is 30 grids. A trigger signal is generated and sent to the communication processing module every time the knob is rotated by one grid or half a grid. The communication processing module can determine the rotation step corresponding to the control action according to the trigger signal. In addition, according to the direction of the rotating knob (for example, clockwise or counterclockwise), the trigger signal sent to the communication processing module is also different. Based on this, the communication processing module can also determine the rotation direction corresponding to the control action according to the trigger signal. Furthermore, when the communication processing module receives the control trigger signal sent by the knob module due to the control action, the control trigger signal can be used to determine the adjustment amount, rotation direction, target parameter type and other information, and generate a control signal based on this, and send the control signal outward. The corresponding lamp can adjust the parameters according to the target parameter type of the lamp according to the adjustment amount of the user rotating the knob according to the control signal.
[0116] In some embodiments, the communication processing module can convert the number of rotation grids into corresponding adjustment parameters according to different target parameter types, and carry them in the control signal to send out. Among them, the adjustable range of parameters based on different target parameter types is different. In this embodiment, conversion coefficients corresponding to different target parameter types are pre-set. For example, when the target parameter type is brightness, the adjustable range is 0%-100%, and the adjustment amount of the knob rotating one circle needs to meet the adjustment of the brightness from 0%-100%, then the brightness adjustment coefficient matched by each grid is (0%-100%) / total number of grids, thereby obtaining the brightness adjustment coefficient. When the target parameter type is color temperature, the adjustable range is 2700K-6500K, and the adjustment amount of the knob rotating one circle needs to meet the adjustment of the color temperature from 2700K-6500K, then the color temperature adjustment coefficient matched by each grid is (2700K-6500K) / total number of grids, thereby obtaining the color temperature adjustment coefficient. In this way, after the communication processing module obtains the adjustment amount corresponding to the control action, the adjustment amount can be converted into an adjustment parameter of the corresponding target parameter type according to the target parameter type and the corresponding adjustment coefficient, and the adjustment parameter is carried in the control signal and sent out. So that the lamp that receives the control signal adjusts the parameter of the corresponding target parameter type according to the adjustment parameter. Exemplarily, when the electrical equipment controller 1 adjusts the lamp parameter according to the user's manipulation action, in response to the user's manipulation of rotating the knob to the right, a control signal for increasing the brightness of the lamp is issued; in response to the user's manipulation of rotating the knob to the left, a control signal for reducing the brightness of the lamp is issued. In response to the user's manipulation of pressing and rotating the knob to the right, a control signal for increasing the color temperature of the lamp is issued; in response to the user's manipulation of pressing and rotating the knob to the left, a control signal for reducing the color temperature of the lamp is issued. Optionally, in response to the user rotating the knob, a control signal matching the rotation step can be sent to the lamp periodically (for example, every 200ms) according to the user's rotation speed, so that the lamp end can adapt to the user's control actions on the electrical equipment controller 1 end and adjust the lamp parameters in time, so that the user can feel that the control of the electrical equipment controller 1 and the parameter changes of the lamp are carried out in real time and synchronously, so as to improve the user experience.
[0117] Furthermore, in an optional embodiment, the adjustment amount is used to instruct the target electrical device, i.e., the driver, to increase or decrease the corresponding state parameter of the lamp from the current value by the adjustment amount. That is, the adjustment amount in the control signal sent by the electrical device controller is a relative value, which represents the relative parameter value that needs to be adjusted for the target parameter type. After receiving the control signal, the driver accumulates or subtracts the current state parameter of the lamp according to the relative value in the control signal to achieve parameter adjustment. There is no need for the electrical device controller to record the state parameters of the lamp, so as to avoid the adjustment error caused by the inconsistency between the state parameters of the lamp and the state parameters recorded by the electrical device controller.
[0118] In another optional implementation, the adjustment amount is used to instruct the target electrical device to update the corresponding state parameter from the current value to the adjustment amount. That is, the adjustment amount in the control signal sent by the electrical device controller is an absolute value, which represents the value of the target parameter type after adjustment. After the driver receives the control signal, it can directly adjust the current state parameter of the lamp to the absolute value in the control signal according to the absolute value in the control signal, which can reduce the data processing pressure on the driver side.
[0119] Furthermore, in some embodiments, the communication processing module is also used for: in the process of responding to the rotation action applied to the knob module, if it is detected that the knob module has a single action and remains for less than a specified time, then the single action is not responded. Since the knob module in this embodiment can respond to the user's rotation action and a single action such as a pressing action, it is easy to trigger a single action by mistake during the user's rotation operation. Therefore, in the process of adjusting electrical equipment such as lamps in response to the user's rotation action, if the user's single-click action is detected, it is judged as a false touch by the user, and the single-click action is not responded. Moreover, in this embodiment, it is only judged as a false touch when a single action of the knob module is detected and remains for less than a specified time, such as a short single-click action. When the user presses the knob module for a long time and rotates it to adjust the color temperature, it will not be judged as a false touch. While realizing the anti-false touch function, it will not affect the normal use of brightness and color temperature adjustment.
[0120] Among them, after receiving the control signal sent by the electrical equipment controller 1, the driver parses the control signal, obtains the target parameter type to be adjusted and the corresponding adjustment parameters, and controls the target parameter type of the lamp such as brightness, color temperature, etc. according to the adjustment parameters in the control signal to realize the control of the lamp by the electrical equipment controller 1.
[0121] For example, Fig.11 As shown, a schematic diagram of a process for an electrical equipment controller to adjust the brightness or color temperature of a lamp is disclosed.
[0122] Further, in some embodiments, after the lamp receives the control signal sent by the electrical device controller 1 and increases the target parameter type to the specified parameter value according to the control signal, if the lamp receives the control signal sent by the electrical device controller 1 indicating that the parameter value of the target parameter type continues to increase, the lamp does not respond to the control signal, nor does it perform the adjustment action of continuing to increase the parameter value of the target parameter type. If the lamp receives the control signal sent by the electrical device controller 1 indicating that the parameter value of the target parameter type is reduced, the lamp responds to the control signal and performs the adjustment action of reducing the parameter value of the target parameter type, so as to immediately reduce the specified parameter value of the target parameter type of the lamp, so as to respond in real time to the control signal sent by the electrical device controller 1 to reduce the parameter value of the target parameter type. Similarly, after the lamp receives the control signal sent by the electrical device controller 1 and reduces the target parameter type to the specified parameter value according to the control signal, if the lamp receives the control signal sent by the electrical device controller 1 indicating that the parameter value of the target parameter type continues to decrease, the lamp does not respond to the control signal, nor does it perform the adjustment action of continuing to reduce the parameter value of the target parameter type. If a control signal indicating an increase in the parameter value of the target parameter type is received from the electrical device controller 1, the control signal is responded to and an adjustment action of increasing the parameter value of the target parameter type is performed to immediately increase the designated parameter value of the target parameter type of the lamp, so as to respond in real time to the control signal of increasing the parameter value of the target parameter type issued by the electrical device controller 1. Exemplarily, when the electrical device controller 1 adjusts the brightness or color temperature of the lamp to the maximum or minimum value in response to the user's rotation of the knob, the lamp will no longer change the brightness or color temperature value if it continues to rotate in the same direction, and the brightness or color temperature value of the lamp will change immediately when responding to the user's reverse rotation. Thus, after the user adjusts the brightness or color temperature of the lamp to the maximum or minimum value, when the reverse adjustment is performed, the lamp can immediately respond to the user's adjustment to change the lamp parameters, so as to improve the user experience.
[0123] In addition, when the lamp is in a specified on-off state, if a specified control signal is received from the electrical device controller 1, the on-off state of the lamp is switched, and the parameters of the corresponding target parameter type are adjusted according to the specified control signal. Exemplarily, when the lamp is in an off state, if a control signal is received from the electrical device controller 1 to increase the brightness value in response to rotating the knob to the right, the lamp is directly turned on, and the operation of increasing the brightness value is performed in response to the control signal. When the lamp is in an on state and the brightness of the lamp is at the lowest value, if a control signal is received from the electrical device controller 1 to decrease the brightness value in response to rotating the knob to the left, the lamp is directly turned off.
[0124] Furthermore, in some embodiments, the communication processing module of the electrical device controller 1 is also used for:
[0125] In response to the control action applied to the knob module, at least one first control signal is sent externally; the first control signal is used to instruct the electrical device 2 to change the on / off state; wherein the control action includes at least one pressing action applied to the knob module.
[0126] In this embodiment, when the user presses the knob operating member 101, a first control signal is sent out. After receiving the first control signal, the lamp changes its on-off state according to the first control signal, that is, performs a light-on or light-off operation. Thus, the user only needs to operate the knob operating member 101 to control the lamp adjustment parameters and the light-on and light-off operations, without the need to set additional buttons for controlling the light-on and light-off on the electrical device controller 1, thereby realizing a variety of control of the lamp through the knob. In addition, the driver is also used for: before responding to the first control signal to control the lamp to change from the on state to the off state, storing the working state information of the lamp before the lamp is turned off, and controlling the lamp to turn off; when receiving the first control signal to control the lamp to change from the off state to the on state, the lamp is directly adjusted to the on state corresponding to the stored working state information. That is, when you turn off the light by pressing the knob module, the driver can record the parameter status when the light is turned off. When you press the knob module to turn on the light next time, the driver can directly adjust the lamp to the recorded parameter state after turning on the light, thereby realizing the power-off memory function.
[0127] In addition, the driver is also used to: when the lamp is in the off state, if a specified control signal is received from the electrical device controller in response to the rotation action, control the lamp to change from the off state to the on state, and the optical parameters of the lamp in the on state are set to the specified initial value. That is, the user can directly turn on the off lamp by rotating the knob, and the optical parameters of the lamp are initialized, that is, the adjustment starts from the lowest brightness or color temperature.
[0128] In addition, the electrical device controller 1 further includes a knob indicating module 105, which is electrically connected to the communication processing module and is used to indicate the control action of the knob operating member 101 to the outside. For example, it can be a light ring arranged on the periphery of the knob operating member 101. The communication processing module can control the light ring to emit a light signal to the outside in response to the user's control action on the knob operating member 101 to prompt the user. For example, when receiving the user's rotation operation on the knob operating member 101, the light ring is controlled to flash once every 100ms to prompt the user that the rotation operation is currently being performed. When receiving the user's pressing operation on the knob operating member 101, the communication processing module controls the knob indicating module 105 to emit a specific light signal. For example, when the user clicks the knob operating member 101 to control the lamp bound thereto to turn on or off the light, at the same time or after the user clicks the knob operating member 101, the light ring on the periphery of the knob operating member 101 is controlled to flash once to remind the user that the lamp is currently being operated on and off.
[0129] Furthermore, the duration of the on-off state of the electrical device 2 changing once is the transition time, i.e., the specified gradual change duration, and the communication processing module is also used for: within the specified gradual change duration after the first control signal is sent to the outside, if the first control signal is sent again, then the first control signal sent again is used to trigger the electrical device 2 to directly change the on-off state based on the current working state. In this embodiment, the user can set the gradual change duration of the lamp on the terminal app, and the gradual change duration of the light on the lamp end determines the on and off time of the lamp. The electrical device controller 1 sends out a first control signal to the outside, and after the lamp receives the first control signal, it performs the operation of turning the lamp on or off within the set gradual change duration, that is, performs the opening operation at a certain speed within the gradual change duration, for example, gradually turning on from 0% brightness to 100% brightness within the gradual change duration. If the first control signal is received again within the gradual change time of the lamp, it means that an operation opposite to the current operation needs to be performed. For example, if the lamp that is being turned on receives the first control signal again, it means that a closing operation needs to be performed. In this way, the closing operation is directly performed when the lamp is in the current working state of gradual opening, without waiting for the opening operation to be completely completed before performing the closing operation. Thus, when the user receives multiple commands to control the lamp to turn on or off issued by the electrical device controller 1 in a short period of time, the lamp can respond quickly to the switch command. For example, if the gradual change time of the lamp is set to 2s, when the user clicks the knob operating member 101 for the first time within 2s, the lamp performs a gradual opening until the brightness reaches 100% within 2s. If the user clicks the knob operating member 101 for the second time within 2s, the lamp directly performs a closing operation from the current working state of gradual opening (for example, the current brightness reaches 80%), without waiting for the brightness to reach 100% before performing the closing operation.
[0130] For further information, see Fig. 9 In some embodiments, the electrical device controller 1 may further include: a key module, the key module may include a key 106 and an identification unit 107, wherein the key 106 may be a key provided independently of the knob operating member 101 in the electrical device controller 1, and the key 106 may trigger the corresponding identification unit 107 in response to the operation; wherein the triggering may be a direct triggering or an indirect triggering (for example, via other transmission members). The identification unit 107 is electrically connected to the processing unit 103 to transmit an identification signal to the processing unit 103 when triggered. The processing unit 103 may obtain information related to the manipulation action currently accepted by the key 106 according to the identification signal. Furthermore, the electrical device controller 1 may implement corresponding control of the electrical device 2 or the device connected to the electrical device 2 according to the user's control action on the key 106.
[0131] Furthermore, in some embodiments, the electrical device controller includes multiple buttons. If the pressing and releasing of the buttons are identified through IO ports, IO ports that are the same as the number of buttons are required. When the number of buttons is large, more IO port resources will be occupied. This embodiment proposes a button identification scheme that can identify multiple buttons through a small number of IO ports. Fig.12 As shown, the electrical equipment controller includes 6 buttons S1, S2, S3, S4, SW3, SW1, of which 4 buttons may be Figure 2 The conventional buttons 106 in the module are S1, S2, S3, S4, a push button SW3 of a knob module and an emergency button SW1. These six buttons can be identified and judged by the values of two ADC inputs, wherein ADC1 identifies buttons S1, S2, S3, ADC2 identifies buttons S4, SW3, SW1, ADC1 measures the voltage between the node between R4 and R6 and the ground, and ADC2 measures the voltage between the node between R1 and R8 and the ground.
[0132] When S1 is pressed, the voltage between the node and ground is 0, and the voltage value read by ADC1 is 0.
[0133] When S2 is pressed, the voltage between the node and the ground, i.e., the voltage applied across R6 = 3.3V*10 / (10+78.7) = 0.372V, which is the voltage value read by ADC1.
[0134] When S3 is pressed, the voltage between the node and the ground is the voltage across R6 and R7 = 3.3V*(10+10) / (10+10+78.7)
[0135] =0.669V, which is the voltage value read by ADC1.
[0136] Similarly, S4, SW1, and SW3 under ADC2 are consistent with S1, S2, and S3. When S4 is pressed, the voltage between the node and the ground is 0, and the voltage value read by ADC2 is 0. When SW1 is pressed, the voltage between the node and the ground is 0.372V, which is the voltage value read by ADC2. When SW3 is pressed, the voltage between the node and the ground is 0.669V.
[0137] Therefore, by reading the values of the two ADCs, it is possible to determine which button is pressed, thereby realizing the recognition of multiple buttons through a small number of IO ports and saving IO port resources.
[0138] Optionally, the communication processing module is further used for:
[0139] At least one second control signal is sent externally in response to the control action applied to the button; the second control signal is used to instruct the electrical device 2 to switch to the specified working mode corresponding to the button; the control action includes at least one pressing action applied to the button.
[0140] In this embodiment, based on several commonly used scenario working modes of the lamp, the correspondence between the buttons and the scenario working modes can be preset. For example, when the number of buttons is 4, the scenario working modes corresponding to the 4 buttons can be preset as full cold light, full warm light, neutral light, and night light working modes, respectively, wherein the brightness or color temperature of the lamp in different scenario working modes is different. When the electrical device controller 1 receives the user's control action on the button (such as a single click), it sends a second control signal to the outside. When the lamp receives the second control signal, it can directly switch the current working mode of the lamp to the scenario working mode corresponding to the controlled button according to the second control signal, so that the user can quickly control the lamp to switch to the scenario working mode he needs to use through the button of the electrical device controller 1, without having to perform cumbersome dimming and color temperature adjustment operations through the knob every time, which is more convenient.
[0141] Among them, the mapping relationship between the button and the specified working mode can be determined by the electrical device controller 1 when pairing with the lamp, or it can be freely set by the user on the terminal 4 and then sent to the electrical device controller 1 or the lamp, which is not limited here. The mapping relationship between the button and the specified working mode can be stored in one or more of the electrical device controller 1, the lamp, the gateway 3, the router, the terminal 4, the cloud server, etc., which is not limited here. As long as the lamp is controlled to switch the scene working mode by the button applied to the electrical device controller 1, it does not deviate from the protection scope of this embodiment. In some embodiments, the mapping relationship is predefined locally in the driver, such as being defined through a local link or a remote link and stored in the local memory of the driver.
[0142] Furthermore, in some embodiments, the communication processing module is also used to:
[0143] A third control signal is sent externally in response to a control action applied to the button; the control action includes at least one action in which the pressing time of the button exceeds a specified pressing time; the driver is also used to: receive the third control signal; obtain the current working state of the lamp, and modify the specified working state corresponding to the button in the locally stored mapping relationship to the current working state in response to the third control signal.
[0144] In this embodiment, when the user needs to set the current working state of the lamp (current brightness and color temperature) to a working state that can be quickly controlled by pressing a button, the designated working state corresponding to the button needs to be updated.
[0145] The electrical device controller 1 enters the update state of the electrical device controller 1 in response to the update operation applied to the button (for example, the user presses the button for 5 seconds). In the update state, the electrical device controller 1 sends an update instruction to the outside; the update instruction is used to instruct to modify the specified working mode corresponding to the button to the current working mode of the electrical device 2. For example, in an optional embodiment, if the mapping relationship between the button and the specified working state is stored on the electrical device controller 1, then after entering the update state, the current working state of the lamp is obtained, and the specified working state corresponding to the button in the mapping relationship is modified to the current working state of the lamp, and the updated mapping relationship is sent out through the update instruction, so that the lamp, gateway, router, terminal, cloud server, etc. that receive the update instruction update the stored mapping relationship. In another optional embodiment, the mapping relationship between the button and the specified working state is not stored on the electrical device controller 1, and after entering the update state, an update instruction is sent out. So that the lamp, gateway, router, terminal, cloud server, etc. that receive the update instruction can obtain the current working state of the lamp and modify the specified working state corresponding to the button in the stored mapping relationship to the current working mode of the lamp.
[0146] In this way, after the designated working state corresponding to the button is modified to the current working state of the lamp, when the electrical device controller 1 receives the user's control action on the button (such as a single click), it can control the lamp to switch to the current working state corresponding to the button in the updated mapping relationship. In this embodiment, the user can update the working state of the lamp corresponding to the button in a personalized manner through the update operation of the button, so that the lamp can be quickly controlled to switch to the scene working state required by the button, without the need to perform cumbersome dimming and color temperature adjustment operations through the knob every time, which is more flexible and practical.
[0147] It should be noted that when any end of the electrical equipment controller, lamp, gateway, router, terminal, cloud server, etc. modifies the designated working state corresponding to the button in the mapping relationship, the mapping relationship is synchronously updated on each device storing the mapping relationship. For example, when the mapping relationship is stored on the driver, the corresponding information of the button and the designated working state is also displayed on the terminal. For example, a button indicating a preset mode (such as the above-mentioned scenario working mode or a plurality of customized lamp working modes) corresponding to the button of the electrical equipment controller is displayed in the terminal display interface, and the driver is also used to: receive a fourth control signal sent by the terminal; the fourth control signal is issued by the terminal in response to the selection control of the preset mode applied to the display interface; in response to the fourth control signal, the lamp is adjusted to the corresponding designated working state, and the designated working state is determined by the button corresponding to the preset mode. That is, the user can click the preset mode displayed by the terminal to directly adjust the lamp to the designated working state, which achieves the same effect as clicking the button of the electrical equipment controller, and then the lamp can be directly adjusted to the designated working state through the local physical button of the electrical equipment controller or the app display button (preset mode) of the terminal. Furthermore, the driver is also used to: receive a fifth control signal sent by the terminal; the fifth control signal is sent by the terminal after modifying the working state corresponding to the preset mode in response to the modification manipulation applied to the preset mode in the display interface; in response to the fifth control signal, update the specified working state mapped by the key corresponding to the preset mode in the locally stored mapping relationship to the working state modified on the terminal. That is, the user can modify the specified working state of the lamp corresponding to the preset mode by manipulating the preset mode button displayed on the terminal that corresponds one to one with the key, and synchronize with the electrical device controller. As a result, after the user modifies the specified working state corresponding to the key on the terminal, when the user subsequently clicks the local physical key of the electrical device controller, the lamp is adjusted to the specified working state modified on the terminal.
[0148] If the user presses and holds a button to modify the mapping relationship stored in the driver, the driver sends the modified mapping relationship to the terminal, so that the terminal synchronously updates the modified mapping relationship. Similarly, when the user modifies the mapping relationship between the button and the specified working state on the terminal app, the terminal sends a command to the driver, so that the driver synchronously modifies the mapping relationship stored locally.
[0149] For further information, see Fig. 9In some embodiments, the electrical device controller 1 may further include: a button indication module 108, which is electrically connected to the communication processing module and is used to indicate the control action of the button to the outside, and may be an LED indicator light corresponding to each button. When the communication processing module responds to the user's control action on the button, such as a single click, the button indication module 108 corresponding to the button may be controlled to flash to prompt the user that the button is subjected to a single click.
[0150] For further information, see Fig. 9 In some embodiments, the electrical device controller 1 may further include: a proximity sensing module 109, the proximity sensing module 109 is electrically connected to the communication processing module, the proximity sensing module 109 is used to send the sensing signal to the communication processing module after detecting the sensing signal in the sensing area, the sensing signal indicates that a human body has entered the sensing area; the communication processing module is used to control the knob indication module 105 and / or the button indication module 108 to continuously emit a light signal within a specified period of time according to the sensing signal. Exemplarily, when the electrical device controller 1 is in a dormant state, if the sensing signal sent by the proximity sensing module 109 is received, it indicates that there is a human body in the sensing area of the electrical device controller 1, and then the light ring around the knob operating member 101 and / or the light-emitting unit corresponding to the button are controlled to emit a light signal to the outside to provide a backlight for the user, so that the user can operate the electrical device controller 1 conveniently. Among them, when the electrical equipment controller 1 does not respond to the operation of the knob operating component 101 and the button within 5 seconds, or does not receive the sensing signal sent by the proximity sensing module 109 within 5 seconds, the electrical equipment controller 1 enters a sleep state and automatically turns off the light ring around the knob operating component 101 and / or the light-emitting unit corresponding to the button to save energy.
[0151] It also includes a proximity sensing module for detecting a human body; the proximity sensing module adopts capacitive proximity sensing, and the buckle lock is also made of metal and is constructed to be suitable for radiating an electric field outward to serve as an electrode of the capacitive proximity sensing.
[0152] Furthermore, if Figure 5 As shown, the locking member 53 includes an annular pressing portion 534 and a plurality of fixing claws 535 extending from the outer edge of the annular pressing portion 534 toward the circuit board 6, the fixing claws 535 are welded to the circuit board 6, and the locking member 53 is electrically connected to the proximity sensing module through the fixing claws 535.
[0153] Specifically, the circuit board 6 is provided with a proximity sensing module for sensing the change of the electric field in a preset area; the snap lock 53 is electrically connected to the proximity sensing module, and the snap lock 53 is made of metal material, so that the snap lock 53 is used as the antenna of the proximity sensing module. Wherein, the preset area can be the area directly in front of the circuit board 6. Using the snap lock 53 as the antenna (sensing electrode) of the proximity sensing module not only improves the space utilization rate of the circuit board 6, but also because the height of the snap lock 53 is higher than the circuit board 6, the sensing effect of the proximity sensing module is better. Wherein, the proximity sensing module can adopt a capacitive proximity sensing chip, which has a lead-out electrode; the capacitive proximity sensing chip realizes the proximity detection function by measuring the change in the capacitance formed between the human body and the chip lead-out electrode; the specific capacitance calculation formula is:
[0154]
[0155] S is the relative area of the capacitor plates, d is the distance between the plates, and εr is the relative dielectric constant (an inherent parameter related to the dielectric material). The buckle 53 is used as the antenna of the proximity sensing module 61, that is, the capacitor plates. Fig.13 As shown, in an exemplary embodiment, the capacitive proximity sensing chip uses the IQS211A / B proximity sensing chip of Azoteq, wherein IO1 and IO2 are the IIC burning pins and GPIO output ports of the chip, and IO1 and IO2 need to be pulled up during burning, and CX is the interface of the chip's sensing antenna E1; and the chip is configured in low power consumption mode, specifically:
[0156] The low power consumption scanning time is greater than or equal to 160 ms and less than or equal to 256 ms. Preferably, the scanning time is set to 160 ms.
[0157] The calibration base value is set to be greater than or equal to 192 and less than or equal to 1200. Preferably, the calibration base value is set to 192 or 384.
[0158] Further, in some embodiments, when the electrical equipment controller 1 is powered by strong electricity, such as an intelligent controller installed on a wall and powered by zero or single fire, the proximity sensing module can use a microwave proximity sensing chip. Exemplarily, the proximity sensing module uses the MS58-1417S20M4 module of Migan Technology. The working principle of the module is to perform proximity and movement detection based on the Doppler effect. The radar antenna transmits a fixed frequency signal. When it contacts an obstacle, an echo signal will be generated. The real movement change is reflected by detecting the frequency change of the echo and the transmission signal, thereby realizing motion detection. Compared with capacitive proximity sensing, the Doppler effect proximity sensing used in this embodiment has the advantages of strong anti-interference ability, long detection distance, and small size; compared with infrared proximity sensing, the Doppler effect proximity sensing used in this embodiment can penetrate a certain thickness of plastic shell, without exposing the transmitting and receiving probes, which can ensure the integrity of the shell and make the appearance more beautiful.
[0159] Specifically, the Doppler effect calculation relationship is:
[0160]
[0161] In the above formula, v is the relative speed between the radar and the detected object; c is the speed of light; f s is the transmission frequency; f0 is the echo frequency; the working principle of the proximity sensing module is: when a moving object approaches the radar, v takes a positive value, and the echo frequency f0>f s , otherwise f0 <f s The MS58-1417S20M4 module of Migan Technology used in this embodiment has an effective detection angle of 120°. The specific implementation circuit is as follows: Fig.14 As shown. After detecting the movement of an object in the sensing area, the communication processing module controls the light-emitting module to emit a light signal. In a dark environment, it can provide effective direction indication and button indication, which can greatly improve the product experience.
[0162] like Fig.15 A circuit block diagram of a specific embodiment is shown. In this embodiment, the electrical equipment controller is powered by a power line.
[0163] See also Fig.15 The electrical equipment controller at least includes: a first power circuit 601, a second power circuit 602, an indication module 603, a communication processing module, a key module 604 and a proximity sensing module 109. The first power circuit 601 is connected to an external AC power supply through a transmission unit, and the AC power is converted into a first power output after passing through the first power circuit 601; the first power supply is suitable for supplying power to the relay 605. The transmission unit can be a wiring terminal.
[0164] The input end of the second power circuit 602 is electrically connected to the output end of the first power circuit 601 to access the first power supply, and the first power supply is processed and output as the second power supply; the second power supply is suitable for supplying power to the indication module 603, the communication processing module, the proximity sensing module 109 and the rotatable input component 50. The indication module 603, the proximity sensing module 109 and the rotatable input component 50 are electrically connected to the communication processing module respectively, and the communication processing module is configured to control the indication module 603 to send a corresponding indication signal (such as a light signal, a sound signal, a vibration signal, or any signal that can be perceived by human vision, hearing and touch) based on the sensing result of the proximity sensing module 109 (such as someone exists, no one exists, someone is approaching, no one is approaching, etc.), and to determine whether the rotatable input component 50 is in action (such as a rotation action, a pressing action, etc.) based on the level detection of the rotatable input component 50, and to emit a corresponding control signal when in action.
[0165] In one example, the first power supply circuit 601 uses a first switching power supply, and the second power supply circuit 602 uses a second switching power supply, and the switching frequency of the first switching power supply is less than the switching frequency of the second switching power supply. In a further example, the first switching power supply uses a BUCK flyback power supply to reduce the voltage of an external AC power supply (such as 220V industrial frequency AC power) to 5V (first power supply). The second switching power supply uses a BL8039CB5TR power supply chip to convert the 5V first power supply into a 3.3V second power supply output. The specific implementation circuit is as follows Fig.16 As shown, it can be seen that the second power supply circuit 602 includes a BL8039CB5TR power supply chip U4, a capacitor C18, a capacitor C25, a capacitor C37, a resistor R3, a resistor R14, an inductor L4, a resistor R2, a capacitor C26, a capacitor C27, a capacitor C20, and a resistor C23. After C18 and C25 are connected in parallel, one end is connected to the input end of U4 together with a 5V power supply, and the other end is grounded. R3 and R14 are connected in series, and one end of R3 is connected to the output feedback (VLED), and the other end is connected in series with R14 and electrically connected to the feedback pin of U4 to form a feedback signal of U4. The other end of R14 is grounded, and C37 is electrically connected between the feedback pin of U4 and VLED for filtering; the enable pin of U4 is electrically connected to the communication processing module through the current limiting resistor R2, so that U4 can be turned on and off under the control of the communication processing module. The specific circuit connection relationship of other components can be referred to Fig.16 Please understand and I will not elaborate on it here.
[0166] In another example, the first power supply circuit 601 uses a BUCK flyback power supply to step down the external AC power supply to 5V (first power supply) output. The second power supply circuit 602 uses a low-dropout linear regulator (LDO). In a further example, the low-dropout linear regulator (LDO) uses a BL1117-33CX power chip, and its specific implementation circuit is as follows Fig.17 As shown, it can be seen that the second power supply circuit 602 includes a BL1117-33CX power supply chip U2, a capacitor C5, a capacitor C2, a capacitor C6, a capacitor C7, and a transient suppression diode D11, wherein one end of C5 and C2 connected in parallel is connected to the input end of U2 together with a 5V power supply, and the other end is grounded; one end of C6, C7 and D11 connected in parallel is connected to the output end of U2 to output a 3.3V power supply (DVCC), and the other end is grounded. The specific connection relationship of each component can be referred to Fig.17 To understand.
[0167] It should be noted that the external AC power is rectified and filtered before being input into the first power circuit 601, wherein the rectifier circuit may be a full-wave rectifier bridge. In an example, the specific implementation of the rectifier circuit and the filter circuit may be as follows: Fig.18 As shown, the input end of the rectifier bridge DB1 is connected to the neutral line and the live line of the 220V external AC power supply, and the output end is electrically connected to the filter circuit; the filter circuit is composed of an inductor L1, a resistor R5, a capacitor EC3 and a capacitor EC4, wherein L1 and R5 are connected in parallel between the positive electrodes of EC3 and EC4, and one end is connected to the output end of DB1, and the other end is electrically connected to the input end of the first power supply circuit 601, and the negative electrodes of EC3 and EC4 are electrically connected to the output end of DB1;
[0168] The indication module 603 includes a button indication module 108 for button indication and a knob indication module 105 for rotatable input component 50 indication; wherein the button indication module 108 has a plurality of first LED lights corresponding to the buttons one by one, and these first LED lights are respectively controlled by the communication processing module, so that when the corresponding buttons are triggered, they are controlled to emit corresponding light signals to play an indicating role; the knob indication module 105 includes a plurality of second LED lights in parallel, and these second LED lights are evenly distributed around the circumference of the rotatable input component 50, and are controlled by the communication processing module, so that when the rotatable input component 50 performs a rotation action, they are controlled to emit corresponding light signals to play an indicating role. In one example, when the rotatable input component 50 rotates, a plurality of the second LED lights are controlled to flash periodically at the same time.
[0169] The proximity sensing module 109 uses a microwave radar sensing module. In one example, the microwave radar sensing module can be composed of a MS58-14172S20M4 radar chip and a peripheral circuit used in conjunction with it, and the detection distance is configured to be [20cm, 200cm]. In a preferred embodiment, the detection distance is configured to be 80cm±20cm.
[0170] The communication processing module uses a module that integrates a communication unit and a processing unit, such as Xiaomi's Bluetooth module, which uses Bluetooth-based wireless communication to send and receive data.
[0171] like Fig.19 A circuit block diagram of another specific embodiment is shown. In this embodiment, the electrical device controller supplies power to the circuit board through a power line.
[0172] See also Fig.19 In this embodiment, the electrical device controller at least includes: a power supply unit 60, an indication module 603, a key module 604, a communication processing module and a proximity sensing module 109. The power supply unit 60 includes a first power supply circuit 601 and a second power supply circuit 602. The first power supply circuit 601 is connected to an external AC power supply through a transmission unit, and the AC power supply is converted into a first power supply output after passing through the first power supply circuit 601; the first power supply is suitable for supplying power to the relay 605. The circuit board is accommodated in the housing and carries a transmission unit for connecting and / or connecting to a power line.
[0173] The input end of the second power circuit 602 is electrically connected to the output end of the first power circuit 601 to access the first power supply, and the first power supply is processed and output as the second power supply; the second power supply is suitable for supplying power to the indication module 603, the communication processing module, the proximity sensing module 109 and the rotatable input component 50. The indication module 603, the proximity sensing module 109 and the rotatable input component 50 are electrically connected to the communication processing module respectively, and the communication processing module is configured to control the indication module 603 to send a corresponding indication signal (such as a light signal, a sound signal, a vibration signal, or any signal that can be perceived by human vision, hearing and touch) based on the sensing result of the proximity sensing module 109 (such as someone exists, no one exists, someone is approaching, no one is approaching, etc.), and to determine whether the rotatable input component 50 is in action (such as a rotation action, a pressing action, etc.) based on the level detection of the rotatable input component 50, and to emit a corresponding control signal when in action.
[0174] In one application scenario, the electrical equipment controller is used for intelligent dimming of lamps in a lighting system. With the increase in lighting needs, current lighting systems are becoming more and more complex. Existing intelligent lighting mainly relies on magnetic lamps, hanging lamps, light strips, etc. to achieve whole-house lighting, which includes many types and quantities of lamps. In existing intelligent dimming methods, the brightness and / or color temperature of various lamps are controlled by wireless methods such as WIFI, BLEMESH, and ZIGBEE. However, the instability and delay of wireless communication make it impossible to achieve stable and unified dimming control when there are many types and quantities of lamps. Therefore, wired communication methods based on power carrier technology are gradually applied to intelligent lighting control. However, due to the complexity of various signals in the power grid, the signals coupled to the power lines are extremely susceptible to interference. At the same time, the control signals coupled in the power lines are also easily transmitted to the external power grid, causing signal pollution to the power grid. In view of this, in this embodiment, power lines are used for power supply, and the communication processing module includes a power carrier communication module, which sends and receives data based on a wired communication method of power line transmission signals, and the communication processing module accesses the control signal loaded in the power line through an access protection unit 606, and receives the control signal in isolation through a transceiver unit 607, which can stably extract the control signal and reduce the attenuation of the control signal, effectively improving the problem of unstable control signal when wired communication based on power carrier technology is used in smart lighting control. Specifically:
[0175] The first power supply circuit 601 is directly or indirectly electrically connected to the transmission unit through an access protection unit 606, so that it can access multiple signals loaded in the power line when the transmission unit is connected to the power line, wherein an impedance regulator is provided in the access protection unit 606 to form an impedance surge when a signal in a specific frequency range passes through the access protection unit 606, and then the access protection unit 606 is configured to be able to pass a second signal in a specific frequency range with high impedance, and to pass a first signal in a non-specific frequency range with low impedance to power the first power supply circuit 601; wherein the frequency of the first signal is less than the frequency of the second signal.
[0176] The communication processing module accesses the second signal in isolation through a transceiver unit 607 before accessing the impedance adjuster in the protection unit 606 .
[0177] In other words, the impedance regulator forms a high impedance isolation protection effect on the second signal in the access protection unit 606 for a specific frequency range, so that when the second signal passes through the access protection unit 606, most of the second signals are blocked and cannot pass due to the existence of the impedance regulator, and the first signal different from the second signal can pass smoothly with low impedance and be used for back-end power supply. The impedance surge can be understood as: when the first signal for power supply enters the access protection unit 606 from the external power grid, the impedance regulator presents a low impedance to it, does not have a strong blocking effect on it, and the first signal for power supply can pass almost intact and power the back-end based on the power line; when the second signal carrying control information enters the access protection unit 606, the impedance regulator instantly shows a high impedance to the second signal, produces a strong blocking effect, so that the signal strength of the second signal passing through the impedance regulator is attenuated by more than 60%. Specifically, in this embodiment, the specific frequency range is set to 1MHz~12MHz, and the first signal is a 50Hz or 60Hz industrial frequency AC signal. In one example, the specific frequency interval is set to 2.4MHz~5.6MHz, 1.95MHz~12MHz, 0.78MHz~2.93MHz or 1.76MHz~2.93MHz. Those skilled in the art can set the corresponding specific frequency interval based on actual use requirements, and no excessive restrictions are made here; the second signal should be understood as a type of signal used for communication, which can be a message generated in a specific format based on a certain protocol (such as IEEE1901.1). Based on different purposes, the content of the relevant fields in the message is also different to form a second signal with different communication functions. In this embodiment, the first signal is a 220v industrial frequency AC signal, and the second signal is a PLC carrier signal (i.e., the control signal).
[0178] Based on the above technical solution, it can be known that in the embodiment of the present invention, due to the setting of the protection unit, in the high-impedance isolation process of the impedance regulator of the access protection unit 606, the first signal can be passed almost losslessly to ensure the normal power supply of the back-end circuit, and the second signal can be protected from being attenuated by the back-end filtering element, thereby protecting the integrity and authenticity of the second signal to the greatest extent. Then, the communication processing module can extract a cleaner second signal from the power line by accessing the protection unit 606, thereby improving the instability problem of the power carrier signal transmitted in the power line.
[0179] In one embodiment, the access protection unit 606 is connected in series with a first inductor on the neutral line or live line between the transmission unit and the power supply unit 60 to form the impedance adjuster. Specifically, the access protection unit 606 is connected in series with a first inductor on the neutral line or live line between the transmission unit and the first power supply circuit 601 to form the impedance adjuster, so that when the first inductor is connected to the first signal through the transmission unit, based on the frequency selection characteristics of the first inductor, a second signal in a specific frequency range passes through the access protection unit 606. The impedance surge.
[0180] In one embodiment, the access protection unit 606 connects a first inductor and a second inductor in series on the neutral line and the live line between the transmission unit and the power supply unit 60 to form the impedance regulator. Specifically, the access protection unit 606 sets a first inductor and a second inductor on the neutral line and the live line between the transmission unit and the first power supply circuit 601 to form the impedance regulator; in the state where the first inductor and the second inductor are connected to the second signal through the power line, based on the frequency selection characteristics of the first inductor and the second inductor, the impedance of the second signal in a specific frequency range passes through the access protection unit 606. The inductance values of the first inductor and the second inductor are the same. In this embodiment, the second signal is transmitted on the neutral line and the live line in the form of a differential signal, so setting inductors on the neutral line and the live line at the same time can provide a better protection effect on the second signal. In one example, the inductance value of the first inductor and / or the second inductor is set to 33uH~1mH. In a further example, it is set to 330uH or 100uH.
[0181] In addition, since the first signal is a strong electric signal (generally 220V or 380V), its voltage level is relatively high compared to the communication processing module (generally 3.3V or 5V). If the communication processing module directly receives the second signal loaded therein from the first signal, it is likely to be damaged by the high voltage. Therefore, in this embodiment, the communication processing module is connected to the second signal through a first transformer and a first capacitor before the impedance adjuster in the access protection unit 606; wherein the first transformer is connected in series with the first capacitor between its primary side and one end of the impedance adjuster of the access protection unit 606 facing the transmission unit, and the communication processing module is directly or indirectly electrically connected to its secondary side, so that when the transmission unit is connected to the power line, the first capacitor is electrically connected to the primary side of the first transformer to form a transceiver unit 607 that is selective for the specific frequency range, so that the communication processing module can be isolated from the secondary side of the first transformer to access the second signal. To prevent the high-voltage first signal from directly contacting the communication processing module and causing the communication processing module to be burned. Similarly, when the communication processing module needs to send a second signal carrying information to the outside, it injects the second signal to be sent into the primary side of the first transformer in isolation through the secondary side of the first transformer, and then couples the second signal to the power line and sends it out based on the coupling circuit formed by the electrical connection between the primary side of the first transformer and the first capacitor.
[0182] The transceiver unit 607 further includes a surge filter, which is electrically connected to both ends of the primary side of the first transformer. Fig. 20 As shown, capacitor CX2 is the first capacitor, transformer T5 is the first transformer, the two ends of the primary side of T5 are connected to the live wire (L) and the neutral wire (N) through capacitor CX2, and the two ends of the secondary side respectively output control signals (PLC+ and PLC-); the surge filter is implemented as a 12V transient suppression diode D5; the transceiver unit 607 also includes two electrostatic protectors, which are respectively arranged at the two ends of the secondary side of the first transformer to filter out surge pulses in the circuit and prevent circuit components from being damaged. In one embodiment, as Fig. 20 As shown, the electrostatic protector is implemented as a 5V static suppression diode D14 and D15, one end of which is electrically connected to one end of the secondary side of the first transformer and the other end is grounded to discharge the electrostatic pulse generated in the circuit to prevent circuit components from being damaged.
[0183] In one embodiment, the first power supply circuit 601 adopts a first switching power supply, and the second power supply adopts a second switching power supply, and the switching frequency of the first switching power supply is less than the switching frequency of the second switching power supply. In a further example, the first switching power supply adopts a BUCK flyback power supply to reduce the voltage of an external AC power supply (which may be, for example, a 220V industrial frequency AC power transmitted from a power line) to 5V (first power supply), and its switching frequency is configured to be at the kHz level. The second switching power supply converts the 5V first power supply into a 3.3V second power supply output, and its switching frequency is configured to be at the MHz level, and the ratio of the switching frequency of the second switching power supply to the switching frequency of the first switching power supply is set to be greater than or equal to 5. In a preferred embodiment, the switching frequency of the second switching power supply is set to 1MHz, and the maximum supply current is configured to be greater than or equal to 500mA.
[0184] like Fig.21 A specific implementation circuit diagram of the second switching power supply is shown. It can be seen that the second power supply circuit 602 includes a TMI3410 power supply chip U6, a capacitor C35, a capacitor C36, a capacitor C34, a resistor R34, a resistor R35, an inductor L6, a capacitor C30, a capacitor C32, a capacitor C33, and a transient suppression diode D11. Specifically, after resistors C35 and C36 are connected in parallel, one end is connected to the input end of U6 together with a 5V power supply, and the other end is grounded. R34 and R35 are connected in series, and one end of R34 is connected to the output feedback (3.3V power supply), and the other end is connected in series with R35 and electrically connected to the feedback pin of U6 to form a feedback signal of U6. The other end of R35 is grounded, and C34 is electrically connected between the feedback pin of U6 and the 3.3V output power supply for filtering; the enable pin of U6 is connected to the 5V power supply so that U6 is always turned on. The specific circuit connection relationship of other components can be referred to Fig.21 Please understand and I will not elaborate on it here.
[0185] Furthermore, the power supply unit 60 also includes a third power supply circuit 608, the input end of the third power supply circuit 608 is electrically connected to the output end of the second power supply circuit 602 to access the second power supply, and the third power supply circuit 608 uses a third switching power supply to boost the second power supply to the third power supply and then provide it to the peripheral circuit of the communication processing module. In an example, the third switching power supply uses a 1MHz DCDC chip to convert 3.3V to 7V (third power supply). Among them, the 3.3V power supply and the 7V power supply are successively used to power the main control chip and the peripheral circuit of the communication processing module. And the maximum power supply current of the third power supply circuit 608 is greater than or equal to 500mA.
[0186] In addition, the inventors found that when using a wired communication method based on power carrier communication, power carrier communication is particularly sensitive to noise, so the control signal in the power line is easily interfered by noise. In order to minimize interference, after a large number of experiments, a preferred setting method for the power line is obtained, specifically: the distance between the neutral line and the live line at the transmission unit is greater than or equal to 4mm, the routing distance of the neutral line or the live line on the circuit board is greater than or equal to 4mm, and the routing width is [30mil, 50mil]; the primary and secondary spacing of the transformer T1 is greater than or equal to 4mm, and on the circuit board, the secondary of T1, D5, CX2, and RV1 are electrically connected in sequence.
[0187] It should be noted that the external AC power is rectified and filtered before being input into the first power circuit 601, wherein the rectifier circuit may be a full-wave rectifier bridge. Fig.18 The corresponding embodiments are understood.
[0188] The indication module 603 includes a button indication module 108 for indicating the button status and a knob indication module 105 for indicating the status of the rotatable input component 50; wherein the button indication module 108 has a plurality of first LED lights corresponding to the buttons one by one, and these first LED lights are respectively controlled by the communication processing module, so that when the corresponding button is triggered, they are controlled to emit corresponding light signals to play an indicating role; the knob indication module 105 includes a plurality of second LED lights in parallel, and these second LED lights are evenly distributed around the circumference of the rotatable input component 50, and are controlled by the communication processing module, so that when the rotatable input component 50 performs a rotation action, they are controlled to emit corresponding light signals to play an indicating role. In one example, when the rotatable input component 50 rotates, the plurality of second LED lights are controlled to flash periodically at the same time.
[0189] The proximity sensing module 109 uses a microwave radar sensing module. In one example, the microwave radar sensing module can be composed of a MS58-14172S20M4 radar chip and a peripheral circuit used in conjunction with it, and the detection distance is configured to be [20cm, 200cm]. In a preferred embodiment, the detection distance is configured to be 80cm±20cm.
[0190] like Fig. 22 A circuit block diagram of another specific embodiment is shown. In this embodiment, the electrical device controller is powered by a battery 91. It can be seen that in this embodiment, the electrical device controller at least includes: a first power circuit 601, an indication module 603, a communication processing module and a proximity sensing module 109.
[0191] The first power supply circuit 601 is connected to the battery 91 through a switch. When the switch is disconnected, the power supply circuit between the battery 91 and the first power supply circuit 601 is disconnected (suitable for power off during product transportation and storage to save battery 91 power). When the switch is closed, the power supply between the battery 91 and the first power supply circuit 601 is connected, and the power of the battery 91 is converted into a second power output after passing through the first power supply circuit 601; the second power supply is suitable for powering the indication module 603, the communication processing module, the proximity sensing module 109 and the rotatable input component 50. The indication module 603, the proximity sensing module 109, and the rotatable input component 50 are electrically connected to the communication processing module, respectively. The communication processing module is configured to control the indication module 603 to send a corresponding indication signal (such as a light signal, a sound signal, a vibration signal, or any other signal that can be perceived by human vision, hearing, and touch) based on the sensing result of the proximity sensing module 109 (such as someone is present, no one is present, someone is approaching, no one is approaching, etc.), and to determine whether the rotatable input component 50 is in action (such as rotation action, pressing action, etc.) based on the level detection of the rotatable input component 50, and to emit a corresponding control signal when in action.
[0192] In this embodiment, in order to reduce the volume, a button battery 91 can be used for power supply, and the first power circuit 601 adopts a boost type switching power supply. The button battery 91 provides a 3V power supply, which is boosted to 3.3V by the first power circuit 601 and then output to form a power supply for the indication module 603, the communication processing module, the proximity sensing module 109, the rotatable input component 50, the key module 604, etc.; wherein, the indication module 603, the communication processing module, and the key module 604 can all be understood with reference to the above embodiment. The difference is:
[0193] In this embodiment, the proximity sensing module 109 adopts capacitive proximity sensing, wherein the proximity sensing module 109 is electrically connected to a snap lock, the snap lock is coupled to the rotatable input component 50 to position the rotatable input component 50 to the circuit board, and the snap lock is also made of metal and is configured to radiate an electric field outwardly to serve as an electrode of capacitive proximity sensing. In an example, the proximity sensing module 109 adopts an IQS211 chip, such as Fig.13 The specific implementation circuit is shown.
[0194] See also Fig.13, the proximity sensing module 109 includes an IQS211 chip U2, resistors R33, R34, R36, R41, R38, R37, capacitors C31, C32, C34, C35, C36, and an electrode E0; wherein, electrode E0 is the buckle lock, used to radiate an electric field outward, and when a human body enters the electric field, the detected capacitance value (the capacitance value detected by Cx) will be changed. C36 is used to adjust the sensitivity. When the sensitivity needs to be maximized, C36 is not set. When the sensitivity needs to be lowered, the corresponding capacitance value of C36 can be adaptively increased. R37 (generally 47Ω) is used to prevent static electricity, to prevent chip U2 from being damaged when there is a static point in E0. C34 and C35 are the reference capacitors of U2, which are used to adjust the working mode of the chip, wherein the working mode is divided into a low power mode and a normal mode. When C34 and C35 are 1uF and 100pF respectively, it is a low power mode, and when they are 4.7uF and 100nF respectively, it is a normal mode. VDDHI is used for power supply, C31 and C32 are used for filtering, and R38 is used for current limiting. IO1 and IO2 can be used as GPIO ports or I2C ports. When burning the program, they are used as I2C ports for burning the program. At this time, R33 and R34 are used as pull-up resistors of I2C. When not burning the program, as a GPIO port, when a capacitance change is detected, OUT is pulled low, and the communication processing module is electrically connected to the OUT end. When the low-level signal sent by the OUT end is recognized, it will be determined as someone and respond to the control.
[0195] For further information, see Fig.23 , shows a schematic block diagram of another control system provided by this embodiment, wherein the control system also includes a terminal 4 and a gateway 3. The terminal 4 can be any device or combination of devices with data processing capabilities and external communication capabilities, for example, it can be a mobile phone, a computer, a tablet computer, a computer, a car computer, etc. The gateway 3 can be a gateway 3 of any network. In a further scheme, the gateway 3 can access the Internet, thereby realizing data exchange with other devices (such as the terminal 4) that access the Internet. In addition, the gateway 3 can be a gateway 3 device dedicated to serving as a gateway 3, or it can be other devices with the function of a gateway 3 (for example, it can be a speaker device with a gateway 3 function, a display device with a gateway 3 function, a computer with a gateway 3 function, a host, etc.). In some schemes, the control system may also include a server, and both the gateway 3 and the terminal 4 can interact with the server, and the data interaction between the gateway 3 and the terminal 4 can be realized based on the server. In some examples, the server can mainly play the role of data forwarding, and in some examples, the server can also play the role of data storage and processing.
[0196] In this embodiment, the electrical device controller 1 can interact with the gateway 3, and then communicate with the terminal 4 and the cloud server in the Internet through the gateway 3. Among them, the electrical device controller 1 can interact with the gateway 3 through a variety of communication methods, such as but not limited to RF communication, Bluetooth or Bluetooth MESH communication, ZIGBEE communication, PLC communication and the like. Here, the gateway 3 is taken as a PLC gateway as an example for explanation, wherein the power line communication (Power Line Communication, PLC) technology refers to a communication method that uses power lines to transmit data and media signals. This technology is to load the high frequency carrying information onto the current and then use the adapter that transmits the received information through the wire to separate the high frequency from the current and transmit it to achieve information transmission. The electrical device controller 1 is connected to the PLC gateway through the power line, and uses PLC communication to exchange information with the PLC gateway. The lamp is also connected to the PLC gateway through the power line, and uses PLC communication to exchange information with the PLC gateway.
[0197] That is, the intermediary device in the above embodiment is a gateway device, and the gateway device establishes a wired local area network through a power line, and the electrical device controller and the electrical device are electrically connected to the wired local area network; wherein the gateway device includes a first communication unit and a second communication unit, and the communication processing module can establish a local link by conducting wired communication with the electrical device via the first communication unit; the communication processing module can also interact with the cloud server via the second communication unit to form a remote link.
[0198] After the electrical equipment controller 1 and the gateway 3 are networked, the electrical equipment controller 1 and the lamp can be bound. Then, after receiving the user's control operation, the electrical equipment controller 1 can determine the adjustment amount, rotation direction, target parameter type (such as brightness, color temperature, etc.) and other information according to the control operation, and generate a control signal based on this, and send the control signal to the gateway 3. The gateway 3 then forwards the control signal to the lamp bound to the electrical equipment controller 1. The lamp can adjust the parameters according to the control signal according to the adjustment amount of the user rotating the knob according to the target parameter type of the lamp.
[0199] Specifically, the electrical device controller 1 may have a network distribution mode and a networked mode. When in the networked mode, the above process of generating and sending control signals may be performed. In the network distribution mode, the network distribution between the electrical device controller 1 and the gateway 3 may be completed.
[0200] Furthermore, the electrical device controller 1 can also automatically enter the network distribution mode after leaving the factory, powering on, or being reset. For example, if the electrical device controller 1 has not been networked, it will automatically enter the network distribution mode after powering on, and the knob indication module 105 and / or the button indication module 108 will be in a fast flashing state. At this time, the electrical device controller 1 and the gateway 3 can be networked, and then:
[0201] Before the above process of generating and sending the control signal, the communication processing module may be further used to:
[0202] When not in the network distribution mode, in response to at least one trigger signal brought about by the network distribution operation, it is determined that the electrical equipment controller 1 enters the network distribution mode; the network distribution operation can be a specific operation of the knob operating element 101 or a button, for example, if any button or knob operating element 101 is pressed and held for 5 seconds, the electrical equipment controller 1 enters the network distribution mode.
[0203] When in the network distribution mode, a network distribution message is generated and sent to the gateway 3, so that: after the gateway 3 obtains the network distribution message, it instructs the electrical equipment controller 1 to join the network corresponding to the gateway 3 to complete the network distribution; wherein, after completing the network distribution, the electrical equipment controller 1 can communicate with the designated device through the gateway 3, and the designated device includes the terminal 4 and / or the electrical equipment 2.
[0204] After the network configuration is completed, in response to at least one trigger signal brought about by the control operation of the knob operating member 101, a control signal is generated and sent out, so that: the control result pointed to by the control signal can be executed by the corresponding controlled device such as a lamp.
[0205] The network configuration mode can be understood as a mode in which the electrical device controller 1 can perform normal data transmission with the gateway 3 after successfully configuring the network and joining the network of the gateway 3; the network configuration mode can be understood as a mode for realizing network configuration between the electrical device controller 1 and the gateway 3; the unconfigured network mode can be understood as a mode in which the network configuration between the electrical device controller 1 and the gateway 3 has not been realized, and further, the electrical device controller 1 has not joined the network of the gateway 3. The modes of the electrical device controller 1 are not limited to the above examples. At the same time, the electrical device controller 1 can mark the current mode with a corresponding identifier, or it can not mark it. Regardless of whether it is marked or not, as long as different processing is realized based on the above modes, it can be understood that the electrical device controller 1 has realized a change in mode.
[0206] The control operation and the network configuration operation may be the same operation or different operations, and the network configuration message sent may include one network configuration message or multiple identical or different network configuration messages.
[0207] Among them, the control signal sent out by the electrical device controller 1 in response to the control operation may include: the electrical device controller 1 information of the electrical device controller 1 that responds to the control operation; the electrical device controller 1 information may represent at least one of the following: the corresponding electrical device controller 1, the knob operating member 101 in the electrical device controller 1 that responds to the operation, the button and its corresponding action. The action represented in the electrical device controller 1 information may include, for example, at least one of the following: clockwise rotation, counterclockwise rotation, pressing of the rotary operating member, single click, multiple clicks, long press, etc. of the button.
[0208] After the electrical equipment controller 1 sends out the network distribution message and control signal, the gateway 3 can forward it to the corresponding device (such as the terminal 4, the server, the electrical equipment 2 such as lamps, etc.) directly or after verification.
[0209] In some embodiments, terminal 4 may be used to:
[0210] After obtaining the network distribution message (for example, the network distribution message forwarded from the gateway 3), the electrical device controller 1 (that is, the electrical device controller 1 that sends the network distribution message) is listed as a controllable switch;
[0211] The terminal 4 or the gateway 3 is further used to instruct the electrical device controller 1 to join the network corresponding to the gateway 3 after acquiring the network distribution message.
[0212] When the terminal 4 lists the electrical equipment controller 1 as a controllable switch, it can be used for:
[0213] Displaying the electrical device controller 1 through an interface (e.g., a scanning result display interface capable of displaying the scanned device or the electrical device controller 1);
[0214] At the same time, after the lamps and the gateway 3 complete the network configuration, the lamps can also be displayed in the interface.
[0215] In response to the binding operation of the electrical device controller 1 and the lamp (for example, the touch control of the scanning result display interface, or the control of other operable components of the terminal 4), the electrical device controller 1 is bound to the specified lamp, so that the electrical device controller 1 acts as a switch that can control the lamp. Among them, the electrical device controller 1 can be bound to one lamp, or a lamp group consisting of multiple lamps, etc.
[0216] In addition, after the network configuration is completed (for example, when in the network configuration mode), the electrical device controller 1 is also used to: report the control event of the electrical device controller 1 to the gateway 3 when the knob operating member 101 or the button is controlled;
[0217] The gateway 3 is also used to: feedback the control event of the electrical device controller 1 to the terminal 4;
[0218] The terminal 4 is further used for: prompting the control event of the electrical device controller 1 to the outside, and / or: updating the historical operation record of the electrical device controller 1 according to the control event of the electrical device controller 1.
[0219] Specifically, a program (APP) can be run in the terminal 4 (such as a mobile phone), and a list of electrical device controllers 1 can be listed in the APP. When the electrical device controller 1 is manipulated, such as the knob operating member 101 or a button is pressed (i.e., when the electrical device controller 1 is pressed), the APP will display the event of the electrical device controller 1 being pressed (i.e., the electrical device controller 1 is pressed) or the historical operation record. The APP can also send a notification to remind the user, and / or: remind the user with vibration, ringtone, etc.
[0220] The terminal 4 instructs the electrical device controller 1 to join the network of the gateway 3, for example, by forwarding through the gateway 3 or driving the gateway 3 to send the network distribution feedback information to the electrical device controller 1. The gateway 3 instructs the electrical device controller 1 to join the network, for example, by actively sending the network distribution feedback information to the electrical device controller 1 in response to the network distribution message, or by sending the network distribution feedback information to the electrical device controller 1 under the driving of the terminal 4. Furthermore, before sending the network distribution message to the outside to determine that the electrical device controller 1 has entered the network distribution mode, the communication processing module is also used to: obtain the network distribution feedback information sent by the gateway 3 or the terminal 4, and the network distribution feedback information includes security information, but is not limited to this, for example, it can also include the identification and address of the gateway 3, the device information of the gateway 3, etc.
[0221] After the binding between the electrical device controller 1 and the lamp is completed on the terminal 4, the binding information between the electrical device controller 1 and the lamp can be sent to the electrical device controller, driver or gateway 3, and the electrical device controller can send the control signal to the corresponding electrical device based on the binding information. For example, after receiving the control signal sent by the electrical device controller, the gateway 3 can directly forward the control signal to the corresponding target electrical device according to the directional information in the control signal (such as the source identifier of the target electrical device), thereby realizing the local control of the lamp by the electrical device controller 1. The control signal sent by the electrical device controller 1 does not need to be uploaded to the cloud via the network, but is directly sent to the lamp through the local gateway 3 to realize control, thereby improving the control speed.
[0222] In this embodiment, the electrical equipment controller 1 can send the control signal generated by the user controlling the knob or button to the gateway 3. The gateway 3 sends control information to the bound lamps or other devices based on the control signal, and can also forward it to the terminal 4 or the server. Then, the terminal 4 or the server can control other devices to execute corresponding control results based on this.
[0223] Furthermore, in some embodiments, the communication processing module is also used to:
[0224] A control signal is sent externally in response to a control action applied to the button; the control signal is used to trigger the execution of a target task that matches it; wherein the triggering rules of the control signal and the target task are freely set on the terminal 4; the control action includes at least one pressing action applied to the button.
[0225] In this embodiment, the user can customize the trigger rules on the terminal 4, which defines the trigger rules between at least one action event and at least one target task, and performs corresponding control according to the trigger rules. Among them, the action event can be a control event of a button in the electrical device controller 1, for example, it can be a control action such as a single click, double click or long press of a button in the electrical device controller 1. The target task can be an executable function of a controlled device, for example, it can include the opening and closing of the device, the on and off of the corresponding switch of the device, and can also include the specific functions of the device, such as a controlled entertainment device playing specific music and video, and can also be, for example, the working mode of the air-conditioning device and the adjustment of the temperature. The controlled device can be any device that can interact with the gateway 3, the terminal 4 or the cloud server. The trigger rules can be stored in the gateway 3, the terminal 4 or the cloud server.
[0226] After receiving the control action on the button, the electrical device controller 1 sends a control signal representing the button control action event to the gateway 3. In an optional embodiment, after receiving the control signal, the gateway 3 can determine the target task corresponding to it in the trigger rule according to the button control action event represented by the control signal, and control the target task to be executed, such as the gateway 3 sends a control instruction to the controlled device in the target task, so that the controlled device executes the executable function in the target task according to the control instruction. In another optional embodiment, after receiving the control signal, the gateway 3 forwards the control signal to the cloud server, and the cloud server can determine the target task corresponding to it in the trigger rule according to the button control action event represented by the control signal, and control the target task to be executed, such as the cloud server sends a control instruction to the controlled device in the target task, so that the controlled device executes the executable function in the target task according to the control instruction.
[0227] In this embodiment, the user can freely define the control relationship between the control action of the button of the electrical device controller 1 and the executable function of the controlled device on the terminal 4. Then, the electrical device controller 1 can send a control signal to the gateway 3 after responding to the control action of the button of the electrical device controller 1, so as to control the controlled device. On the basis that the electrical device controller 1 can adjust the target parameters of the lamp, the controlled device controlled by the button of the electrical device controller 1 is not limited to the lamp, but any device that can interact with the gateway 3, the terminal 4 or the cloud server, which greatly enriches the control function of the electrical device controller 1.
[0228] like Fig.24 As shown in the figure, it shows the selectable control actions for the electrical equipment controller that can be configured in the terminal app interface. For example, when the electrical equipment controller is a knob switch, scenes 1, 2, 3, and 4 correspond to the single-click actions of the four buttons on the knob switch. Fig.25 As shown, it illustrates the target task when the controlled device that can be configured in the terminal app interface is a lamp.
[0229] In addition, the user can also set the electrical device controller 1 on the terminal 4. For example, the backlight function of the electrical device controller 1 can be set. If the backlight function is set to be turned off, the electrical device controller 1 turns off the backlight function after receiving the setting information sent to it by the terminal 4 through the gateway 3, and does not turn on the knob indication module 105 and the button indication module 108 when the proximity sensing module 109 of the electrical device controller 1 senses the presence of a human body or the knob operating member 101 or the button is manipulated. If the backlight function is set to be turned on, the electrical device controller 1 turns on the backlight function after receiving the setting information sent to it by the terminal 4 through the gateway 3, and turns on the knob indication module 105 and the button indication module 108 when the proximity sensing module 109 of the electrical device controller 1 senses the presence of a human body or the knob operating member 101 or the button is manipulated, such as controlling them to emit light signals to provide the backlight function to the user.
[0230] For further information, see Fig.26, shows a schematic block diagram of another control system provided by this embodiment, the electrical device controller 1 can establish a wireless interactive link with the lamp by direct connection, and after the electrical device controller 1 responds to the control action of the knob operating member 101, the generated control signal is directly sent to the lamp through the wireless interactive link, so that the lamp performs corresponding control according to the control signal. That is, the intermediary device in the above embodiment is the electrical device, and the electrical device controller can communicate with the electrical device by direct connection to establish a local link; the electrical device controller can also interact with the cloud server through the electrical device to form the remote link.
[0231] Optionally, the communication unit 104 of the electrical device controller 1 may be a Bluetooth communication unit.
[0232] Optionally, the communication processing module is further used for:
[0233] In response to the pairing operation on the knob operating member 101 or the button, a pairing message is sent out, and the pairing message is used to indicate that the lamp receives and stores the pairing information carried in the pairing message to establish a pairing relationship with the electrical device controller 1; after the pairing is successful, the electrical device controller 1 can establish a wireless interactive link with the lamp in a direct connection manner. The pairing information may include the device information of the electrical device controller 1 (such as source identification ID number, MAC address, etc.).
[0234] Wherein, the lamp receives the pairing message when it is in a preset waiting-for-pairing mode. Exemplarily, if the lamp is within a preset time length after power-on (for example, within 5 seconds), it is determined that the lamp is in a preset waiting-for-pairing mode. In some embodiments, after the pairing is successful, the lamp sends a preset feedback signal to the outside. Exemplarily, after the pairing is successful, the pairing message is also used to instruct the lamp to send a preset light signal to the outside after the pairing is completed, so as to feedback that the electrical device controller 1 and the lamp have established a pairing relationship. Exemplarily, the preset light signal can be implemented as the lamp flashing 3 times.
[0235] Optionally, the communication processing module is further used for:
[0236] In response to a specific manipulation (e.g., long pressing the knob operating member 101), a clearing message is sent; the clearing message is used to trigger the lamp to clear the stored pairing information in response to the clearing message in a specified mode. The pairing information includes at least the source identifier of the successfully paired electrical device controller 1. In a specific embodiment, the lamp needs to be in a specified mode to complete the decoding operation with the electrical device controller 1. Exemplarily, the specified mode can be set to be within a preset time after the lamp is powered on, such as within 5 seconds.
[0237] In this embodiment, the electrical device controller 1 is directly paired with the lamp, and after the pairing is completed, the two form a direct interactive relationship, without the need for coordination and forwarding by other intermediary devices such as routers and gateways 3. Through the direct connection, the delay is small, and the electrical device controller 1 responds faster to the parameter adjustment of the lamp, such as dimming and color adjustment, thereby improving the user experience.
[0238] For further information, see Fig. 27 In some embodiments, the electrical device controller 1 further includes an on-off operation module 1101 and an on-off module 110, wherein the on-off module 110 is connected in series to the electrical device 2 to control the power supply circuit of the electrical device 2; the on-off operation module 1101 and the on-off module 110 are electrically connected to the communication processing module, and the communication processing module is further used for:
[0239] In response to the trigger signal emitted by the on-off operation module 1101 being manipulated within a specified time, the on-off module 110 is controlled to change the on-off state at least once, so that the electrical device 2 changes the power supply state at least once within the specified time and enters the selected working mode of the electrical device 2.
[0240] In this embodiment, the on-off operation module 1101 may be a device switch button provided on the electrical device controller 1, and the on-off module 110 may be a relay. The relay is electrically connected to the lamp, and the electrical device controller 1 controls the on-off of the relay in response to the manipulation of the device switch button, thereby controlling the power supply circuit of the lamp.
[0241] Since the lamp needs to be operated in a specific way to enter the selected working mode, for example, some lamps need to be powered on again or powered on multiple times within a specified time to enter the selected working mode such as pairing mode, network distribution mode or code clearing mode, etc. Therefore, in this embodiment, the electrical device controller 1 can respond to the operation (such as single click) of the device switch button within a specified time (such as within 5 seconds) to control the relay to change the on-off state, thereby making the lamp synchronously perform the on-off operation within the specified time (such as within 5 seconds) and enter the selected working mode of the lamp.
[0242] In this embodiment, the power on / off state of the lamp can be controlled by operating the device switch button on the electrical device controller 1, thereby making the lamp enter the selected working mode. The lamp can be easily placed in the selected working mode without the user having to manually touch the lamp. For example, when the lamp is implemented as an intelligent LED lamp, it is generally embedded in the ceiling of the room, and it is not easy for the user to touch the lamp without the help of tools such as ladders. Based on the solution provided in this embodiment, the lamp can enter the specified working mode within 5 seconds after it is powered on by simply turning off the power of the lamp through the electrical device controller 1, which is convenient for user operation.
[0243] The on-off operation module 1101 is hidden in the housing and used as an emergency switch. Under normal circumstances, after the electrical device controller 1 is powered on, the on-off module 110 is controlled to remain in the on state so that the electrical device 2 is in a continuous power supply state. When the electrical device program crashes and needs to be powered off and restarted, the power supply to the electrical device can be disconnected by operating the emergency switch on the electrical device controller.
[0244] In this embodiment, after the lamp is triggered to enter the pairing mode by the electrical device controller 1, the electrical device controller 1 responds to the pressing operation of the knob operating member 101 and sends a pairing message to the outside to pair with the lamp. After the pairing is completed, the electrical device controller 1 can send a control signal to the lamp in response to the control operation, thereby realizing the control of the lamp. At the same time, after the electrical device controller 1 is powered on, the control relay remains in the on state so that the lamp can continue to work and receive the control signal sent by the electrical device controller 1 in real time.
[0245] In addition, the selected working mode may also be the network distribution mode of the electrical device 2. After the electrical device controller 1 triggers the lamp to enter the network distribution mode, the lamp joins the network of the gateway 3 through the gateway 3 and binds with the electrical device controller 1. After the binding is completed, the electrical device controller 1 may send a control signal to the gateway 3 in response to the control operation, and the gateway 3 forwards the control signal to the lamp, thereby realizing the control of the lamp.
[0246] The electrical equipment controller 1 in this embodiment can not only directly control the on and off of the power supply circuit of the lamp through the relay provided therein, but also can intelligently control the lamp by sending control signals, and can realize various control functions of the lamp to prompt user experience.
[0247] Furthermore, in some embodiments, a driver is disclosed, wherein the driver is electrically connected to an electrical appliance and is used to drive the electrical appliance to adjust state parameters. The driver can also be communicatively connected to an electrical equipment controller, and the driver is configured to: receive a control signal issued by the electrical equipment controller, wherein the control signal is issued by the electrical equipment controller multiple times at intervals and dynamically during a response to a rotation action; and adjust a relevant state parameter corresponding to the electrical appliance following the rotation action of the electrical equipment controller based on the control signal.
[0248] Optionally, the driver is also used for:
[0249] Receiving a control signal sent out by the electrical device controller when a single action occurs; wherein the single action is generated when the electrical device controller is pressed inwardly along the direction of the rotation axis of the rotation action;
[0250] The electrical appliance is directly adjusted to a selected state in response to the control signal.
[0251] Optionally, the driver is also used for:
[0252] receiving a first control signal, wherein the first control signal is sent by the electrical device controller in response to the single action;
[0253] The on / off state of the electrical appliance is changed in response to the first control signal.
[0254] Optionally, the driver is also used for:
[0255] Before controlling the electrical appliance to change from the on state to the off state in response to the first control signal, storing the working state information of the electrical appliance before being turned off, and controlling the electrical appliance to be turned off;
[0256] When the first control signal is received to control the electrical appliance to change from the off state to the on state, the electrical appliance is directly adjusted to the on state corresponding to the stored working state information.
[0257] Optionally, the time for the electrical appliance to be adjusted from the off state to the specified on state in response to the first control signal is configured as a transition time, and the driver is further used for:
[0258] During the transition time, if a first control signal for instructing the electrical appliance to be turned off is received, the electrical appliance is controlled to be directly turned off from a current on state, where the current on state is different from the designated on state.
[0259] Optionally, the driver is also used for:
[0260] When the electrical appliance is in the off state, if a specified control signal is received from the electrical equipment controller in response to the rotation action, the electrical appliance is controlled to change from the off state to the on state, and the relevant state parameters of the electrical appliance in the on state are set to specified initial values.
[0261] Optionally, the electrical equipment controller further includes a button, and the driver is further used for:
[0262] receiving a second control signal sent externally by the electrical device controller in response to a first control action applied to the button; the first control action includes at least one pressing action applied to the button;
[0263] The electrical appliance is adjusted to a designated working state corresponding to the button according to the second control signal.
[0264] Optionally, the driver adjusts the electrical appliance to a specified working state corresponding to the button according to the second control signal, specifically including:
[0265] The driver determines the corresponding designated working state according to the second control signal and the mapping relationship stored locally, wherein the mapping relationship represents the corresponding information between the buttons of the electrical equipment controller and the different working states of the electrical appliance;
[0266] The electrical appliance is adjusted to a certain designated working state.
[0267] Optionally, the driver is also used for:
[0268] receiving a third control signal sent externally by the electrical device controller in response to a second control action applied to the button; the second control action includes at least one action of pressing the button for a duration exceeding a specified pressing duration;
[0269] The current working state of the electrical appliance is acquired, and in response to the third control signal, the designated working state corresponding to the button in the locally stored mapping relationship is modified to the current working state.
[0270] Optionally, the driver is capable of interacting with a terminal, and the driver is further used for:
[0271] receiving a fourth control signal sent by the terminal; the fourth control signal is sent by the terminal in response to a selection operation of a preset mode applied to the display interface; the preset mode corresponds one-to-one to a button of the electrical device controller;
[0272] In response to the fourth control signal, the electrical appliance is adjusted to a corresponding designated working state, where the designated working state is determined by a key corresponding to the preset mode.
[0273] Optionally, the driver is also used for:
[0274] receiving a fifth control signal sent by the terminal; the fifth control signal is sent by the terminal after modifying the working state corresponding to the preset mode in response to the modification manipulation applied to the preset mode in the display interface;
[0275] In response to the fifth control signal, the designated working state mapped to the key corresponding to the preset mode in the locally stored mapping relationship is updated to the working state modified on the terminal.
[0276] Furthermore, in some embodiments, an electrical device is disclosed, characterized in that it includes: the driver and the electrical appliance as described above.
[0277] The technical terms, technical features, optional implementation methods and technical effects involved above can be understood by referring to the relevant description of the embodiment of the above-mentioned electrical equipment controller, and the repeated contents will not be repeated here.
[0278] See also Fig.28 , shows a flow chart of an electrical equipment control method provided by an embodiment of the present invention. The control method provided by this embodiment is suitable for application in the electrical equipment controller provided by the above embodiment. Furthermore, the functions, principles and effects of the relevant components, parameters and their connection relationships in this embodiment can be understood with reference to the above embodiment. Referring to the above embodiment, it can be seen that the electrical equipment controller includes: a housing, a rotatable input component installed in the housing, and a communication processing module enclosed in the housing and communicatively coupled to the rotatable input component; see Fig.28 It can be seen that the control method at least includes the following steps:
[0279] S1, applying a rotational action to a rotatable input component;
[0280] S2, in response to the rotational actuation, the rotatable input component generates a rotational motion; and,
[0281] S3. In response to the rotation of the rotatable input component, the communication processing module sends corresponding control signals to the outside multiple times at intervals and dynamically during the rotation of the rotatable input component to instruct the corresponding electrical device to adjust relevant state parameters in a manner following the rotation.
[0282] Optionally, step S3 further includes that when the rotatable input component rotates, the communication processing module sends control signals with different contents and / or intervals multiple times to form a dynamic sending feature of the control signal.
[0283] Optionally, step S3 further includes, the communication processing module sending a control signal corresponding to the rotation action through a local link, so that during the rotation action, the interval time between any two adjacent control signal sendings by the communication processing module is set to [20ms, 500ms]. In one example, the interval time is further configured to [100ms, 200ms].
[0284] Optionally, the rotatable input component is constructed to be able to be pressed inward along the direction of the rotation axis of the rotation action to produce a single action; step S3 further includes that the communication processing module sends a corresponding control signal to the outside when the rotatable input component undergoes a single action to instruct the corresponding electrical device to directly adjust to a selected state.
[0285] Optionally, step S3 further includes: the communication processing module:
[0286] S31, sending a control signal corresponding to the rotation action through a local link; and
[0287] S32. Send a control signal corresponding to the single action via a local link and / or a remote link.
[0288] Optionally, the communication processing module is connected to the cloud server through an intermediary device to form the remote link based on cloud communication; steps S31 and S32 further include that the communication processing module:
[0289] In the case where the remote link is communicable, a control signal corresponding to the rotation action is sent through the local link, and / or a control signal corresponding to the single action is sent through the local link.
[0290] Optionally, the control method further includes: S41, the communication processing module establishes a corresponding relationship with at least one electrical device according to a control instruction, so that the control signal is sent outward in a directionally directed manner.
[0291] Optionally, before step S4, the method further includes: S33, the communication processing module connects to the cloud server through an intermediary device to form a remote link based on cloud communication, and receives the control instruction based on the remote link.
[0292] In one example, the intermediary device is a gateway device, and the gateway device establishes a wired local area network through a power line, and the electrical device controller and the electrical device are electrically connected to the wired local area network; wherein the gateway device includes a first communication unit and a second communication unit, and the communication processing module can establish a local link by wired communication with the electrical device via the first communication unit; the communication processing module can also interact with a cloud server via the second communication unit to form a remote link. In another example, the intermediary device is the electrical device, and the electrical device controller can establish a local link by communicating with the electrical device in a direct connection manner; the electrical device controller can also interact with a cloud server via the electrical device to form the remote link.
[0293] Optionally, after step S33, it also includes: S42, when the corresponding relationship is not established, the communication processing module sends the control signal through the remote link; the control signal is used to trigger the execution of a target task matching it; wherein the target task includes an executable function of a controlled device capable of communicating with the cloud server; the matching rules between the trigger event represented by the control signal and the target task are predefined and stored in the cloud server.
[0294] Optionally, the rotatable input component comprises:
[0295] a knob module, movably mounted on the housing and configured to perform a rotational action when receiving a rotational input action;
[0296] a sensing module, the sensing module being linked to the knob module and communicatively coupled to the communication processing module to track the rotation action;
[0297] Step S3 further includes that the sensing module continuously outputs a trigger signal during the rotation of the knob module;
[0298] The communication processing module identifies the rotation action of the knob module based on the trigger signal to generate a control signal.
[0299] Optionally, the control signal includes information for indicating an adjustment amount and a parameter type, and the control signal is used to trigger the electrical device that receives the control signal to adjust a state parameter corresponding to the parameter type according to the adjustment amount; the communication processing module identifies the rotation action of the knob module based on the trigger signal to generate a control signal, specifically including:
[0300] Acquire the rotation displacement generated by the knob module in the interval time according to the trigger signal, and the rotation displacement is used to generate the adjustment amount loaded in the primary control signal adjacent to the interval time;
[0301] The parameter type is determined based on whether a single action is maintained during the rotation action; if only a rotation action occurs, it is determined to be a first parameter type; if a single action is maintained during the rotation action, it is determined to be a second parameter type; the first parameter type and the second parameter type are respectively used to characterize different state parameters.
[0302] In one example, the adjustment amount is used to instruct the target electrical device to increase or decrease the corresponding state parameter from the current value by the adjustment amount. In another example, the adjustment amount is used to instruct the target electrical device to update the corresponding state parameter from the current value to the adjustment amount.
[0303] Optionally, the control method further includes: S5, when the communication processing module is responding to the rotation action applied to the knob module, if it is detected that the knob module has a single action and maintains it for less than a specified time, then the communication processing module does not respond to the single action.
[0304] In a specific application scenario, the electrical device is a lamp, the first parameter type is brightness, and the second parameter type is color temperature; the electrical device can increase or decrease the brightness or color temperature value according to the adjustment amount.
[0305] Optionally, the electrical equipment controller also includes an on-off operation module and an on-off module, the on-off module is connected in series to the electrical equipment to control the power supply circuit of the electrical equipment; the on-off operation module and the on-off module are electrically connected to the communication processing module, wherein the on-off operation module is hidden in the shell; the method also includes: S6, controlling the on-off module to remain continuously turned on; or, in response to a power-off control on the on-off operation module, controlling the on-off module to switch from an on state to an off state to disconnect the power supply of the electrical equipment.
[0306] Optionally, the control method further includes: S7, triggering the target electrical device to enter a selected working mode by turning the on / off module on and off for a specified number of times or for a specified duration within a specified time.
[0307] Optionally, the control method also includes: S8, the communication processing module generates and sends out a pairing message in response to the pairing operation applied to the electrical device controller, and the pairing message includes information used to characterize the electrical device controller, so that: an electrical device receives and stores at least part of the information in the pairing message to complete the pairing with the electrical device controller and establish a wireless direct interaction with the electrical device controller.
[0308] Optionally, the electrical equipment controller also includes a button, and the control method also includes: the communication processing module sends at least one control signal to the outside in response to the control action applied to the button; the control signal is used to trigger the execution of a target task matching it; wherein the matching rules between the control action and the target task are predefined and stored in the cloud server; the target task includes an executable function of the controlled device that can communicate with the cloud server.
[0309] Optionally, the sensing module includes a sensing member electrically connected to the communication processing module, and the knob module includes a trigger member; the trigger member is at least partially sleeved on the outside of the sensing member, and can rotate around the sensing member, and trigger the sensing member to output a pulse signal with a timing difference during the rotation process, and the pulse signal includes a first level signal and a second level signal that are alternately switched; the rotatable input component also includes a locking member, which is fixedly connected to a circuit board, and the locking member abuts against at least a portion of the upper surface of the trigger member to limit the axial displacement of the trigger member; the locking member is buckled to the sensing member, thereby fixing the sensing member to the circuit board.
[0310] Optionally, the electrical device controller also includes a proximity sensing module for detecting a human body; the proximity sensing module uses capacitive proximity sensing, and the buckle lock is also made of metal and is constructed to be suitable for radiating an electric field outward to serve as an electrode of capacitive proximity sensing.
[0311] Optionally, the sensing member is provided with a plurality of brush guides, and the brush guides are not conductive to each other; the trigger member is provided with a plurality of brush heads conductive to each other toward the brush guides, for abutting the brush guides; wherein the brush guides include at least a first brush guide, a second brush guide and a third brush guide, the first brush guide and the second brush guide are respectively provided with a plurality of conductive areas at intervals, an insulating area is provided between two adjacent conductive areas, and the conductive areas of the same brush guide are conductive to each other; the first brush guide and the second brush guide are respectively electrically connected to one of the power supply and the ground, and the third brush guide is electrically connected to the other of the power supply and the ground, and when the trigger member rotates relative to the sensing member, the brush head passes through the conductive area, the insulating area and the third brush guide, continuously changing the conductive relationship between the brush guides; there is a preset phase angle between the conductive area of the first brush guide and the conductive area of the second brush guide, so that the pulse signal with the time difference is formed between the brush guides.
[0312] Optionally, the first brush guide piece and / or the second brush guide piece are electrically connected to the power supply via a resistor, and the third brush guide piece is grounded. When the brush head connects the third brush guide piece with the first brush guide piece and / or the second brush guide piece, the circuit between the resistor and the third brush guide piece is cut off.
[0313] Optionally, the electrical equipment controller further includes: a transmission unit for accessing a power line; a power supply unit, which is electrically connected to the transmission unit directly or indirectly through an access protection unit, so that the transmission unit can access multiple signals loaded in the power line when the transmission unit is connected to the power line, wherein an impedance regulator is provided in the access protection unit to form an impedance surge of a signal in a specific frequency range through the access protection unit, and then the access protection unit is configured to be able to pass a second signal in a specific frequency range with high impedance, and to pass a first signal in a non-specific frequency range with low impedance to power the power supply unit; wherein the frequency of the first signal is less than the frequency of the second signal; and the communication processing module is isolated and accesses the second signal before the impedance regulator in the access protection unit through a transceiver unit. Specifically, in this embodiment, the specific frequency range is set to 1MHz to 12MHz. In a further exemplary example, the specific frequency range is set to 4MHz to 5.6MHz.
[0314] Optionally, the access protection unit is connected in series with a first inductor on the neutral line or the live line between the transmission unit and the power supply unit to form the impedance adjuster, so that when the first inductor is connected to the first signal through the transmission unit, based on the frequency selection characteristics of the first inductor, a second signal in a specific frequency range is formed to pass through the impedance surge of the access protection unit.
[0315] Optionally, the access protection unit respectively sets a first inductor and a second inductor on the neutral line and the live line between the transmission unit and the power supply unit to form the impedance adjuster; when the first inductor and the second inductor are connected to the second signal via the power line, based on the frequency selection characteristics of the first inductor and the second inductor, an impedance surge of the second signal in a specific frequency range passing through the access protection unit is formed; wherein the inductance values of the first inductor and the second inductor are the same.
[0316] Optionally, the inductance of the first inductor and / or the second inductor is set to 33uH-1mH. In an example, the inductance of the first inductor and / or the second inductor is set to 330uH or 100uH.
[0317] Optionally, the communication processing module accesses the second signal through a first transformer and a first capacitor before the impedance adjuster in the access protection unit; wherein the first transformer is connected in series with the first capacitor between its primary side and the end of the impedance adjuster of the access protection unit facing the transmission unit, and the communication processing module is directly or indirectly electrically connected to its secondary side, so that when the transmission unit is connected to the power line, the first capacitor is electrically connected to the primary side of the first transformer to form a transceiver unit that is selective for the specific frequency range, so that the communication processing module can access the second signal in isolation at the secondary side of the first transformer.
[0318] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned 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 aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0319] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An electrical equipment controller, It is characterized in that include: case; a rotatable input assembly mounted on the housing and configured to be able to track external rotation input actuation to generate a rotation motion; A communication processing module is enclosed within the shell and communicatively coupled to the rotatable input component; wherein the communication processing module is configured to be able to send corresponding control signals to the outside multiple times at intervals and dynamically during the rotation action of the rotatable input component to instruct the corresponding electrical device to adjust relevant state parameters in a manner following the rotation action.
2. The electrical equipment controller according to claim 1, It is characterized in that The communication processing module is configured to have different contents and / or intervals of the control signals sent out multiple times when the rotatable input component performs a non-uniform rotation action; or, The communication processing module is configured to periodically send a corresponding control signal based on the interval time when the rotatable input component performs a rotation action.
3. The electrical equipment controller according to claim 1 or 2, It is characterized in that The communication processing module is also configured to send a control signal corresponding to the rotation action through a local link, so that during the rotation action, the interval time between any two adjacent control signal transmissions by the communication processing module is set to [20ms, 500ms].
4. The electrical equipment controller according to claim 3, It is characterized in that The interval time is further configured as [100ms, 200ms].
5. The electrical equipment controller according to claim 3, It is characterized in that The rotatable input component is further constructed to be capable of being pressed inwardly along the direction of the rotation axis of the rotation action to produce a single action; the communication processing module is further configured to be able to send a corresponding control signal to the outside when the rotatable input component undergoes a single action to instruct the corresponding electrical device to directly adjust to a selected state.
6. The electrical equipment controller according to claim 5, It is characterized in that The communication processing module is further configured to: Sending a control signal corresponding to the rotation action via a local link; and, A control signal corresponding to the single action is sent via a local link and / or a remote link.
7. The electrical equipment controller according to claim 6, It is characterized in that The communication processing module can connect to the cloud server through an intermediary device to form the remote link based on cloud communication; the communication processing module is also used for: In the case where the remote link is communicable, a control signal corresponding to the rotation action is sent through the local link, and / or a control signal corresponding to the single action is sent through the local link.
8. The electrical equipment controller according to claim 1, It is characterized in that The communication processing module is also used to establish a corresponding relationship with at least one electrical device according to a control instruction, so that the control signal is sent outward in a directionally directed manner.
9. The electrical equipment controller according to claim 8, It is characterized in that The communication processing module can connect to the cloud server through an intermediary device to form a remote link based on cloud communication, and receive the control instruction based on the remote link.
10. The electrical equipment controller according to claim 9, It is characterized in that The communication processing module is also used for: When the corresponding relationship is not established, the control signal is sent through the remote link; the control signal is used to trigger the execution of a target task that matches it; wherein the target task includes an executable function of a controlled device that can communicate with the cloud server; the matching rules between the trigger event represented by the control signal and the target task are predefined and stored in the cloud server.
11. The electrical equipment controller according to claim 7 or 9, It is characterized in that The intermediary device is a gateway device, which establishes a wired local area network through a power line, and the electrical device controller and the electrical device are electrically connected to the wired local area network; wherein the gateway device includes a first communication unit and a second communication unit, and the communication processing module can establish a local link by conducting wired communication with the electrical device via the first communication unit; the communication processing module can also interact with a cloud server via the second communication unit to form a remote link.
12. The electrical equipment controller according to claim 7 or 9, It is characterized in that The intermediary device is the electrical device, and the electrical device controller can communicate with the electrical device in a direct connection manner to establish a local link; the electrical device controller can also interact with the cloud server through the electrical device to form the remote link.
13. The electrical equipment controller according to claim 5, It is characterized in that The rotatable input assembly comprises: a knob module, movably mounted on the housing and configured to perform a rotational action when receiving a rotational input action; A sensing module, which is linked to the knob module and communicatively coupled to the communication processing module to track the rotation action and is capable of continuously outputting a trigger signal during the rotation action of the knob module. The communication processing module identifies the rotation action of the knob module based on the trigger signal to generate a control signal.
14. The electrical equipment controller according to claim 13, It is characterized in that The control signal includes information indicating an adjustment amount and a parameter type, and the control signal is used to trigger the electrical device that receives the control signal to adjust a state parameter corresponding to the parameter type according to the adjustment amount; the communication processing module identifies the rotation action of the knob module based on the trigger signal to generate a control signal, specifically used to: Acquire the rotation displacement generated by the knob module in the interval time according to the trigger signal, and the rotation displacement is used to generate the adjustment amount loaded in the primary control signal adjacent to the interval time; The parameter type is determined based on whether a single action is maintained during the rotation action; if only a rotation action occurs, it is determined to be a first parameter type; if a single action is maintained during the rotation action, it is determined to be a second parameter type; the first parameter type and the second parameter type are respectively used to characterize different state parameters.
15. The electrical equipment controller according to claim 14, It is characterized in that The adjustment amount is used to instruct the target electrical device to increase or decrease the corresponding state parameter from the current value by the adjustment amount.
16. The electrical equipment controller according to claim 14, It is characterized in that The adjustment amount is used to instruct the target electrical device to update the corresponding state parameter from the current value to the adjustment amount.
17. The electrical equipment controller according to claim 13, It is characterized in that The communication processing module is also used for: In the process of responding to the rotation action applied to the knob module, if it is detected that a single action of the knob module occurs and is maintained for less than a specified time, the single action is not responded to.
18. The electrical equipment controller according to any one of claims 14 to 16, It is characterized in that The electrical device is a lamp, the first parameter type is brightness, and the second parameter type is color temperature; the electrical device can increase or decrease the brightness or color temperature value according to the adjustment amount.
19. The electrical equipment controller according to claim 1, It is characterized in that The electrical equipment controller also includes an on-off operation module and an on-off module, the on-off module is connected in series to the electrical equipment to control the power supply circuit of the electrical equipment; the on-off operation module and the on-off module are electrically connected to the communication processing module, wherein the on-off operation module is hidden in the shell; the communication processing module is also used to: control the on-off module to maintain continuous conduction; or, in response to the power-off control of the on-off operation module, control the on-off module to switch from the on state to the off state to disconnect the power supply of the electrical equipment.
20. The electrical equipment controller according to claim 19, It is characterized in that The communication processing module is also used for: The target electrical device is triggered to enter the selected working mode by turning the on / off module on and off for a specified number of times or for a specified duration within a specified time.
21. The electrical equipment controller according to claim 1, It is characterized in that The communication processing module is also used for: In response to a pairing operation applied to the electrical device controller, a pairing message is generated and sent out, wherein the pairing message includes information used to characterize the electrical device controller, so that: an electrical device receives and stores at least part of the information in the pairing message to complete pairing with the electrical device controller and establish a wireless direct interaction with the electrical device controller.
22. The electrical equipment controller according to claim 1, It is characterized in that The electrical equipment controller further includes a button, and the communication processing module is further used for: At least one control signal is sent externally in response to a control action applied to the button; the control signal is used to trigger the execution of a target task matching it; wherein a matching rule between the control action and the target task is predefined and stored in a cloud server; the target task includes an executable function of a controlled device capable of communicating with the cloud server.
23. The electrical equipment controller according to claim 13, It is characterized in that The sensing module includes a sensing member electrically connected to the communication processing module, and the knob module includes a trigger member; the trigger member is at least partially sleeved on the outside of the sensing member, and can rotate around the sensing member, and trigger the sensing member to output a pulse signal with a time difference during the rotation process, and the pulse signal includes a first level signal and a second level signal that are alternately switched; the rotatable input component also includes a locking member, which is fixedly connected to a circuit board, and the locking member abuts against at least a portion of the upper surface of the trigger member to limit the axial displacement of the trigger member; the locking member is buckled to the sensing member, thereby fixing the sensing member to the circuit board.
24. The electrical equipment controller according to claim 23, It is characterized in that It also includes a proximity sensing module for detecting a human body; the proximity sensing module adopts capacitive proximity sensing, and the buckle lock is also made of metal and is constructed to be suitable for radiating an electric field outward to serve as an electrode of the capacitive proximity sensing.
25. The electrical equipment controller according to claim 23, It is characterized in that The induction element is provided with a plurality of brush guide pieces, and the brush guide pieces are not connected to each other; The trigger member is provided with a plurality of brush heads which are connected to each other and are arranged toward the brush guide sheet, and are used for abutting against the brush guide sheet; The brush guide sheet at least includes a first brush guide sheet, a second brush guide sheet and a third brush guide sheet, the first brush guide sheet and the second brush guide sheet are respectively provided with a plurality of conductive areas at intervals, an insulating area is provided between two adjacent conductive areas, and the conductive areas of the same brush guide sheet are mutually conductive; The first brush guide piece and the second brush guide piece are electrically connected to one of the power supply and the ground, respectively, and the third brush guide piece is electrically connected to the other of the power supply and the ground. When the trigger member rotates relative to the sensing member, the brush head passes through the conductive area, the insulating area and the third brush guide piece, continuously changing the conductive relationship between the brush guide pieces; there is a preset phase angle between the conductive area of the first brush guide piece and the conductive area of the second brush guide piece, so that the pulse signal with a time difference is formed between the brush guide pieces.
26. The electrical equipment controller according to claim 25, It is characterized in that The first brush guide piece and / or the second brush guide piece are electrically connected to the power supply via a resistor, and the third brush guide piece is grounded. When the brush head connects the third brush guide piece with the first brush guide piece and / or the second brush guide piece, the circuit between the resistor and the third brush guide piece is cut off.
27. The electrical equipment controller according to claim 1, It is characterized in that The electrical equipment controller also includes: A transmission unit for accessing the power line; A power supply unit is electrically connected to the transmission unit directly or indirectly through an access protection unit, so that the transmission unit can access multiple signals loaded in the power line when the transmission unit is connected to the power line, wherein an impedance adjuster is provided in the access protection unit to form an impedance surge when a signal in a specific frequency range passes through the access protection unit, and then the access protection unit is configured to pass a second signal in a specific frequency range with high impedance and a first signal in a non-specific frequency range with low impedance to supply power to the power supply unit; wherein the frequency of the first signal is less than the frequency of the second signal; and the communication processing module isolatedly accesses the second signal before the impedance adjuster in the access protection unit through a transceiver unit.
28. The electrical equipment controller according to claim 27, It is characterized in that The specific frequency interval is set to 1 MHz to 12 MHz.
29. The electrical equipment controller according to claim 28, It is characterized in that The specific frequency interval is set to 4 MHz to 5.6 MHz.
30. The electrical equipment controller according to claim 27, It is characterized in that The access protection unit is connected in series with a first inductor on the neutral line or the live line between the transmission unit and the power supply unit to form the impedance adjuster, so that when the first inductor is connected to the first signal through the transmission unit, based on the frequency selection characteristics of the first inductor, a second signal in a specific frequency range is formed to pass through the impedance surge of the access protection unit.
31. The electrical equipment controller according to claim 27, It is characterized in that The access protection unit is provided with a first inductor and a second inductor on the neutral line and the live line between the transmission unit and the power supply unit, respectively, to form the impedance regulator; when the first inductor and the second inductor are connected to the second signal via the power line, based on the frequency selection characteristics of the first inductor and the second inductor, an impedance surge of the second signal in a specific frequency range passing through the access protection unit is formed; wherein the inductance values of the first inductor and the second inductor are the same.
32. The electrical equipment controller according to claim 31, It is characterized in that The inductance of the first inductor and / or the second inductor is set to 33uH-1mH.
33. The electrical equipment controller according to claim 32, It is characterized in that The inductance of the first inductor and / or the second inductor is set to 330uH or 100uH.
34. The electrical equipment controller according to claim 27, It is characterized in that The communication processing module receives the second signal through a first transformer and a first capacitor before the impedance adjuster in the access protection unit; wherein the first transformer is connected in series with the first capacitor between its primary side and the end of the impedance adjuster of the access protection unit facing the transmission unit, and the communication processing module is directly or indirectly electrically connected to its secondary side, so that when the transmission unit is connected to the power line, the first capacitor is electrically connected to the primary side of the first transformer to form a transceiver unit that is selective for the specific frequency range, so that the communication processing module can receive the second signal in isolation at the secondary side of the first transformer.
35. A dimming system, It is characterized in that include: An electrical equipment controller capable of tracking external rotation input actuation to generate rotational motion, and sending control signals to the outside multiple times at intervals and dynamically during the rotational motion; The driver can be communicatively connected to the electrical device controller, and is used to receive the control signal, and adjust the optical parameters of a lamp based on the control signal and following the rotation action of the electrical device controller; the optical parameters include color temperature and / or brightness.
36. The dimming system according to claim 35, It is characterized in that The electrical equipment controller sends a control signal corresponding to the rotation action through a local link, so that during the rotation action, the interval time between any two adjacent control signal transmissions by the communication processing module is set to [20ms, 500ms].
37. The dimming system according to claim 36, It is characterized in that The interval time is further configured as [100ms, 200ms].
38. The dimming system according to claim 35, It is characterized in that The electrical device controller can be pressed inwardly along the direction of the rotation axis of the rotation action to produce a single action; the electrical device controller is further configured to be able to send a corresponding control signal to the outside when the single action occurs; The driver receives the control signal and directly adjusts the lamp to a selected state in response to the control signal.
39. The dimming system according to claim 38, It is characterized in that The electrical equipment controller is also configured as: Sending a control signal corresponding to the rotation action via a local link; and, A control signal corresponding to the single action is sent via a local link and / or a remote link.
40. The dimming system according to claim 39, It is characterized in that The electrical device controller can connect to the cloud server through an intermediary device to form the remote link based on cloud communication; the electrical device controller is also used for: In the case where the remote link is communicable, a control signal corresponding to the rotation action is sent through the local link, and / or a control signal corresponding to the single action is sent through the local link.
41. The dimming system according to claim 35, It is characterized in that The electrical equipment controller is also used to establish a corresponding relationship with at least one driver according to a control instruction, so that the control signal is sent to the driver in a directionally manner.
42. The dimming system according to claim 41, It is characterized in that The electrical equipment controller can connect to the cloud server through an intermediary device to form a remote link based on cloud communication, and receive the control instruction based on the remote link.
43. The dimming system according to claim 42, It is characterized in that The electrical equipment controller is also used for: When the corresponding relationship is not established, the control signal is sent through the remote link; the control signal is used to trigger the execution of a target task that matches it; wherein the target task includes an executable function of a controlled device that can communicate with the cloud server; the matching rules between the trigger event represented by the control signal and the target task are predefined and stored in the cloud server.
44. The dimming system according to claim 42, It is characterized in that The intermediary device is a gateway device, which establishes a wired local area network through a power line, and the electrical device controller and the electrical device are electrically connected to the wired local area network; wherein the gateway device includes a first communication unit and a second communication unit, and the electrical device controller can establish a local link by conducting wired communication with the electrical device via the first communication unit; the electrical device controller can also interact with a cloud server via the second communication unit to form a remote link.
45. The dimming system according to claim 42, It is characterized in that The intermediary device is the electrical device, and the electrical device controller can communicate with the electrical device in a direct connection manner to establish a local link; the electrical device controller can also interact with the cloud server through the electrical device to form the remote link.
46. The dimming system according to claim 38, It is characterized in that The electrical equipment controller is further used to: send a first control signal in response to the single action; The driver is also used to: Before controlling the lamp to change from the on state to the off state in response to the first control signal, storing the working state information of the lamp before it is turned off, and controlling the lamp to be turned off; When the first control signal is received to control the lamp to change from the off state to the on state, the lamp is directly adjusted to the on state corresponding to the stored working state information.
47. The dimming system according to claim 46, It is characterized in that The time for the lamp to be adjusted from the off state to the specified on state in response to the first control signal is configured as a transition duration, and the driver is further used for: During the transition time, if a first control signal for instructing the lamp to be turned off is received, the lamp is controlled to be directly turned off from a current on state, where the current on state is different from the designated on state.
48. The dimming system according to claim 35, It is characterized in that The driver is also used to: When the lamp is in the off state, if a specified control signal is received from the electrical equipment controller in response to the rotation action, the lamp is controlled to change from the off state to the on state, and the optical parameters of the lamp in the on state are set to specified initial values.
49. The dimming system according to claim 35, It is characterized in that The electrical device controller further includes a button, and the electrical device controller is further used to: send a second control signal to the outside in response to a first control action applied to the button; the first control action includes at least one pressing action applied to the button; The driver is further used for: receiving the second control signal; and adjusting the lamp to a specified working state corresponding to the second control signal according to a mapping relationship; wherein the mapping relationship is predefined locally in the driver.
50. The dimming system according to claim 49, It is characterized in that The mapping relationship is defined through a local link or a remote link and then stored in the local memory of the driver.
51. The dimming system according to claim 50, It is characterized in that The electrical equipment controller is further used to: send a third control signal to the outside in response to a second control action applied to the button; the second control action includes at least one action of pressing the button for a duration exceeding a specified pressing duration; The driver is further used to: receive the third control signal; obtain the current working state of the lamp, and modify the designated working state corresponding to the button in the locally stored mapping relationship to the current working state in response to the third control signal.
52. The dimming system according to claim 50 or 51, It is characterized in that The electrical device is capable of interacting with a terminal, and the driver is further used for: receiving a fourth control signal sent by the terminal; the fourth control signal is sent by the terminal in response to a selection operation of a preset mode applied to the display interface; the preset mode corresponds one-to-one to a button of the electrical device controller; In response to the fourth control signal, the lamp is adjusted to a corresponding designated working state, where the designated working state is determined by a key corresponding to the preset mode.
53. The dimming system according to claim 52, It is characterized in that The driver is also used to: receiving a fifth control signal sent by the terminal; the fifth control signal is sent by the terminal after modifying the working state corresponding to the preset mode in response to the modification manipulation applied to the preset mode in the display interface; In response to the fifth control signal, the designated working state mapped to the key corresponding to the preset mode in the locally stored mapping relationship is updated to the working state modified on the terminal.
54. A control system, It is characterized in that include: The electrical equipment controller and the electrical equipment according to any one of claims 1 to 34, wherein the electrical equipment controller is communicatively connected to the electrical equipment; The electrical equipment includes at least one of a lamp, a window pusher, and a curtain motor controller.
