Lighting power supplies, systems and methods
By combining direct control paths and network control paths in the lighting power supply system, the problem of high latency in smart lighting power supplies is solved, enabling fast-response continuous dimming and multiple control modes, improving user experience and reducing power consumption.
Patent Information
- Application Number
- CN202610361351.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2026-05-26
AI Technical Summary
Existing smart lighting power supplies have high latency during continuous dimming, resulting in a poor user experience, and their single control mode cannot meet the needs of various control scenarios.
A lighting power supply system is provided that combines direct control path and network control path to achieve multiple control modes, supports local and network two-way remote control, has two-way remote control function and two-way triggering of preset state, can switch to direct control path when network is unavailable, and processes dimming commands in a gradual manner to reduce latency.
It achieves fast-response continuous dimming, enhances user experience, supports multiple control scenarios, simplifies the bonding process, reduces power consumption, is suitable for battery-powered controllers, and improves control efficiency and flexibility.
Smart Images

Figure CN122093985A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of lighting technology, and more particularly to a lighting power supply, system, and method thereof. Background Technology
[0002] As people's living standards improve, smart lighting is becoming increasingly important for creating a high-quality life.
[0003] In existing technologies, the high latency of lighting power supplies in smart lighting during continuous dimming leads to a poor user experience. Summary of the Invention
[0004] One objective of this invention is to provide a lighting power supply, system, and method thereof, wherein the lighting power supply can interact with a first controller via a direct control path, enabling it to acquire dimming data in a timely manner during continuous dimming, thereby reducing delay and achieving a better follow-up dimming effect.
[0005] Another objective of this invention is to provide a lighting power supply, system, and method thereof, wherein the lighting power supply can be operated through two control paths: direct control and network control, thereby forming multiple control modes. The first controller and the second controller are different controllers, so that the lighting power supply can be directly controlled locally through the first controller, or it can be multi-facetedly controlled via the network through the second controller, in order to meet the needs of various control scenarios.
[0006] Another object of the present invention is to provide a lighting power supply, system and method thereof, wherein the lighting power supply has a two-way remote control function, which can trigger the same function of the lighting power supply (e.g., adjusting the brightness or color temperature to a certain set value) through both local and network means.
[0007] Another object of the present invention is to provide a lighting power supply, system and method thereof, wherein the lighting power supply can achieve the same function through two paths.
[0008] Another object of the present invention is to provide a lighting power supply, system and method thereof, wherein a certain preset state of the lighting power supply can be modified and defined by relying on the network, but can be directly triggered locally without relying on the network when triggered.
[0009] Another object of the present invention is to provide a lighting power supply, system and method thereof, wherein the processing unit of the lighting power supply and the second controller have two control paths, direct and network, which can be adaptively switched based on control requirements.
[0010] Another object of the present invention is to provide a lighting power supply, system and method thereof, wherein the control path between the processing unit and the lighting power supply can be switched to a direct control path when the network control path is unavailable.
[0011] Another objective of this invention is to provide a lighting power supply, system, and method thereof, wherein the lighting power supply controls the processing unit to enter a binding mode via both wired and wireless trigger commands, allowing the user to select the most convenient triggering method based on the specific usage of the lighting power supply.
[0012] Another object of the present invention is to provide a lighting power supply, system and method thereof, wherein when the processing unit of the lighting power supply can establish a direct control path with the first controller through the second controller, the processing unit needs to first establish a network control path with the second controller.
[0013] Another object of the present invention is to provide a lighting power supply, system, and method thereof, wherein the lighting power supply is configured to receive dimming commands sent at intervals multiple times during operation by a first controller, and sequentially adjust the lighting fixture to the corresponding optical parameters in a gradual manner according to each dimming command. The first controller sends the continuously sent dimming commands in multiple intervals, while the lighting power supply fills in the data between the intervals in a gradual manner, which reduces the pressure of processing too much data and does not affect the smooth visual change effect.
[0014] Another objective of this invention is to provide a lighting power supply, system, and method thereof, wherein a direct control path is established between the lighting power supply and a first controller through a direct connection. When the first controller performs dimming operation using a knob-like component, the dimming command sent does not need to go through the cloud, enabling point-to-point control with the lighting power supply. This greatly increases the transmission efficiency of the dimming command and reduces the control delay of the lighting power supply. The increased transmission efficiency allows the first interval to be set between 20ms and 500ms, achieving a better follow-up control effect for the lighting power supply.
[0015] Another objective of this invention is to provide a lighting power supply, system, and method thereof, in which the binding relationship data between a first controller and the lighting power supply is stored in the lighting power supply. Thus, the first controller only needs to broadcast the dimming command, and the lighting power supply receives the dimming command and determines whether to respond based on the stored binding relationship. This will greatly simplify the function of the first controller, reduce its power consumption, and make it more suitable for battery-powered first controllers.
[0016] Another objective of the present invention is to provide a lighting power supply, system and method thereof, wherein the lighting power supply can be conveniently triggered to enter the standby state through the first controller, and the first controller is generally set in an easily accessible position, thus indirectly reducing the difficulty of triggering the lighting power supply to enter the standby state.
[0017] To achieve at least one of the above objectives, according to a first aspect of the present invention, a lighting power supply is provided, suitable for coupling between an external power source and at least one lighting appliance; the lighting power supply includes:
[0018] The delivery terminal includes an input terminal for electrically connecting the external power supply and an output terminal for electrically connecting the lighting fixture, so as to electrically connect the lighting power supply between the lighting fixture and the external power supply;
[0019] A power supply unit, electrically connected between the input terminal and the output terminal, is configured to be supplied with power from the external power source to generate operating power.
[0020] A processing unit electrically connected to the power supply unit, which is supplied with the operating power from the power supply unit for operation; and the processing unit is operatively connected to the lighting fixture and configured to:
[0021] It is possible to establish a direct control path with at least one first controller to operate the continuous dimming of the lighting power supply through the first controller.
[0022] According to a second aspect of the present invention, a lighting system is provided, comprising:
[0023] The first controller is used to receive control input;
[0024] A lighting power supply adapted to be coupled between an external power source and at least one lighting fixture, and to operate when supplied with power from the external power source, wherein the lighting power supply is capable of establishing a direct control path with a first controller to operate continuous dimming of the lighting power supply via the first controller.
[0025] According to a third aspect of the present invention, a lighting method is provided, suitable for application to a lighting power supply coupled between an external power supply and at least one lighting fixture; the method includes:
[0026] Establish a direct control path with at least one first controller to operate the lighting power supply via the first controller; and,
[0027] Establish a network control path with at least one second controller to operate the lighting power supply through the second controller.
[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. These drawings are incorporated in and constitute a part of this specification, illustrating embodiments consistent with this application and serving together with the specification to explain the principles of this application. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0030] Figure 1 This is a schematic diagram of the electrical structure of a lighting power supply in one embodiment of the present invention. Figure 1 ;
[0031] Figure 2 This is a schematic diagram of the electrical structure of a lighting power supply in one embodiment of the present invention. Figure 2 ;
[0032] Figure 3 This is a schematic diagram of an electrical structure consisting of a lighting power supply and a push-button switch in one embodiment of the present invention;
[0033] Figure 4 This is a schematic diagram of an electrical structure consisting of a lighting power supply and a rotary switch in one embodiment of the present invention;
[0034] Figure 5 This is a schematic diagram of the electrical structure of the lighting power supply after introducing a second controller in one embodiment of the present invention;
[0035] Figure 6 This is a schematic diagram of two control paths for the lighting power supply in one embodiment of the present invention;
[0036] Figure 7 This is a schematic diagram of a lighting power supply drawing power from a first controller in one embodiment of the present invention;
[0037] Figure 8 This is a schematic diagram of the network structure of the lighting power supply in one embodiment of the present invention;
[0038] Figure 9 This is a schematic diagram of the structure of a lighting system in one embodiment of the present invention. Figure 1 ;
[0039] Figure 10 This is a schematic diagram of a rotary switch used in a lighting system according to an embodiment of the present invention;
[0040] Figure 11This is a schematic diagram of a lighting system incorporating a second controller in one embodiment of the present invention;
[0041] Figure 12 This is a schematic diagram of a specific application scenario of the lighting system in one embodiment of the present invention;
[0042] Figure 13 This is a schematic diagram of two control paths between the lighting power supply and the second controller in one embodiment of the present invention;
[0043] Figure 14 This is a schematic diagram of two control paths in a lighting system according to an embodiment of the present invention;
[0044] Figures 15-20 This is a schematic diagram of a lighting method in one embodiment of the present invention;
[0045] Figure 21 This is a schematic diagram of the electrical structure of a lighting power supply according to another embodiment of the present invention.
[0046] Figure 22 This is a schematic diagram of the lighting power supply being powered by a controller in another embodiment of the present invention.
[0047] Figure 23 This is a schematic diagram of the circuit structure of the access protection unit in another embodiment of the present invention;
[0048] Figure 24 This is a schematic diagram of the access protection unit using a first inductor in another embodiment of the present invention;
[0049] Figure 25 This is a schematic diagram of the access protection unit using a first inductor and a second inductor in another embodiment of the present invention;
[0050] Figure 26 This is a schematic diagram of the circuit structure of the transceiver unit in another embodiment of the present invention;
[0051] Figure 27 This is a schematic diagram of the lighting system in another embodiment of the present invention;
[0052] Figure 28 This is a schematic diagram of a lighting system where the controller is implemented as a wall switch in another embodiment of the present invention;
[0053] Figure 29 This is a schematic diagram of the circuit structure of the lighting system in another embodiment of the present invention, in which the lighting power is drawn from a wall switch;
[0054] Figure 30 This is a schematic diagram of a controller implemented as a rotary switch in a lighting system according to another embodiment of the present invention;
[0055] Figure 31This is a schematic diagram of a lighting method in another embodiment of the present invention;
[0056] Figure 32 and Figure 33 This is a schematic diagram of a lighting method in another embodiment of the present invention. Detailed Implementation
[0057] The embodiments of the present invention will now be described in detail. When the description relates to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the present invention.
[0058] It should be understood that in the description of all embodiments of the present invention, the terms "upper," "lower," "left," "right," etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature. Terms such as "coupled" and "connected" should be interpreted broadly, for example, it can be a fixed connection, a detachable connection, or an integral part; it can be a mechanical connection, an electrical connection, or a connection that can communicate with each other; it can be a direct connection or an indirect connection through an intermediate medium to form a linkage relationship; it can be the internal communication of two elements or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in the present invention can be understood according to the specific circumstances.
[0059] Please see Figure 1 An embodiment of the present invention provides a lighting power supply 100, wherein the lighting power supply 100 is adapted to be coupled between an external power supply and at least one lighting fixture 300 to receive control commands based on the power supply of the external power supply and to perform dimming operations on the lighting fixture 300.
[0060] like Figure 1 As shown, according to an embodiment of the present invention, the lighting power supply 100 includes at least: a transmission terminal 101, a power supply unit 102, and a processing unit 103; wherein:
[0061] The transmission terminal 101 includes an input terminal 1011 for electrically connecting to the external power source and an output terminal 1012 for electrically connecting to the lighting fixture 300, thereby electrically connecting the lighting power source 100 between the lighting fixture 300 and the external power source. It is understood that the transmission terminal 101 can be any terminal structure with detachable electrical connection function, such as a screw terminal or a spring terminal. In one example, both the input terminal 1011 and the output terminal 1012 are spring terminals to facilitate quick connection or disconnection of the power line carrying electrical energy. The external power source can be 220V, 380V, or other industrial frequency AC power, or a power source based on industrial frequency AC power conversion (e.g., after step-down and stabilization). Any power source capable of providing power to the lighting power source 100 is acceptable; this embodiment does not impose specific limitations.
[0062] The power supply unit 102 is electrically connected between the input terminal 1011 and the output terminal 1012, and is configured to be supplied with power from the external power source to generate operating power. It is understood that the power supply unit 102 should have a step-down and voltage regulation capability, which can step down and regulate the voltage of the high-voltage external power source (e.g., 220V AC power) and output a working power source suitable for the back-end processing unit 103 (e.g., a low-voltage power source of 1.8V to 3.6V).
[0063] The processing unit 103 is electrically connected to the power supply unit 102 and is supplied with the operating power from the power supply unit 102 for operation. The processing unit 103 is also operably connected to the lighting fixture 300 and is configured to establish a direct control path with at least one first controller 201 to operate the continuous dimming of the lighting power supply 100 via the first controller 201. The processing unit 103 can be formed by any IC with data processing capabilities, such as an MCU or SOC. The direct control path should be understood as the control commands of the first controller 201 directly controlling the lighting power supply 100 without requiring processing by a server or smart terminal, resulting in a short and efficient control path. Furthermore, there is a certain distance limit between the first controller 201 and the lighting power supply 100 to ensure that the control commands of the first controller 201 have sufficient signal strength to be recognized and received by the lighting power supply 100.
[0064] Based on this, it can be seen that the technical solution provided by the above embodiments enables the lighting power supply 100 to work under the power supply state of the power supply unit 102, and to interact with the first controller 201 through a direct control path, so that it can obtain dimming data in a timely manner when continuously dimming, thereby reducing the delay of follow-up dimming and improving the user experience.
[0065] According to embodiments of the present invention, such as Figure 2 As shown, the processing unit 103 is also configured to establish a network control path with at least one second controller 202 to operate the lighting power supply 100 through the second controller 202; furthermore, the processing unit 103 can be further configured to have a two-way remote control function, so that a preset state of the processing unit 103 can be triggered based on the direct control path, and further can be triggered based on the network control path.
[0066] Based on this, the lighting power supply 100 provided by the present invention can be operated through two control paths: direct control and network control. The first controller 201 and the second controller 202 are different controllers 200, allowing the lighting power supply 100 to be directly controlled locally via the first controller 201, or to be multi-facetedly controlled via the network via the second controller 202, to meet the needs of various control scenarios. Example illustration: Figure 3 As shown, when the first controller 201 is implemented as a local switch (e.g., a wireless battery switch), the lighting power supply 100 can be directly controlled via the local switch, without relying on a network, making control simple and efficient. When the second controller 202 is implemented as a device with network capabilities (e.g., a personal mobile electronic device, a voice device with network capabilities, etc.), remote control and some scene automation control can be achieved via the network, such as timed on / off lights, voice-activated light switching, and remote on / off lights. Furthermore, intelligent control of the lighting power supply 100 can be achieved through both local and network control paths, catering to users who prefer modern intelligent control (e.g., young people) and users accustomed to traditional direct control (e.g., the elderly).
[0067] Furthermore, the two-way remote control function allows the same function of the lighting power supply 100 to be triggered (e.g., adjusting the brightness or color temperature to a certain set value) through both local direct control and network control. It is worth noting that there can be multiple preset states, and each preset state can be remotely controlled bidirectionally. Each preset state can be pre-stored in the memory of the processing unit 103, or it can be defined by a second controller 202 with interactive functions, such as a mobile phone, and then uploaded to the processing unit 103.
[0068] Please see Figure 3In the example, the first controller 201 has multiple buttons corresponding to various preset states of the lighting power supply 100, and the second controller 202 has a user interface, which has multiple representations corresponding to various preset states of the lighting power supply 100. Furthermore, each preset state of the lighting power supply 100 can be triggered by the corresponding buttons on the first controller 201, and also by the corresponding representations in the user interface of the second controller 202. It should be noted that in this embodiment and in the following text, the term "representation" refers to a user-interactive graphical display object optionally displayed on the user interface of the second controller 202 (e.g., a mobile phone), such as images (e.g., curves, icons), sliders, and text (e.g., text, hyperlinks), each optionally constituting a corresponding representation.
[0069] In a further example, there is a one-to-one correspondence between the multiple representations (e.g., corresponding button controls) of the second controller 202 and the multiple buttons of the first controller 201; the processing unit 103 is configured to adjust the lighting fixture 300 to the same preset state when the received trigger command originates from the corresponding representations and buttons.
[0070] In a further example, the lighting power supply 100 has four predefined preset states (e.g., the default state when the device leaves the factory): First state: gradually changing from the current state to white light state within 2 seconds, specifically 100% brightness and 6500K color temperature; Second state: gradually changing from the current state to yellow light state within 2 seconds, specifically 100% brightness and 2700K color temperature; Third state: gradually changing from the current state to neutral light state within 2 seconds, specifically 100% brightness and 4600K color temperature; Fourth state: gradually changing from the current state to night light state within 2 seconds, specifically 1% brightness and 2700K color temperature. Button 1 corresponds to control 1, button 2 corresponds to control 2, button 3 corresponds to control 3, and button 4 corresponds to control 4. The processing unit 103 stores matching relationships: the first state matches the first trigger command, the second state matches the second trigger command, the third state matches the third trigger command, and the fourth state is used to match the fourth trigger command. Then, when the processing unit 103 receives the first trigger command generated when the button or control is triggered, it will execute the first state. Similarly, the other three preset states can also be triggered by the corresponding button and the corresponding control.
[0071] According to an embodiment of the present invention, the processing unit 103 is further configured to have a dual-path linkage function, enabling the processing unit 103 to modify a preset state based on either the first controller 201 or the second controller 202, and to trigger the modified preset state based on the other of the first controller 201 and the second controller 202. It is worth noting that the processing unit 103 stores corresponding mapping relationship data between preset states and trigger commands. During modification, only the mapping relationship is modified. When a trigger command is received from either the first controller 201 or the second controller 202, the corresponding preset state is triggered based on the matching mapping relationship, thereby achieving the effect of implementing the same function through two paths.
[0072] In one example, a preset state can be modified by the second controller 202 based on a network control path, and then the modified preset state can be triggered by the first controller 201. This can be understood as follows: a preset state of the lighting power supply 100 can be modified and defined based on the network, but can also be triggered locally without relying on the network. For example, an app implementing the second controller 202 as a mobile phone has a modification control. When this modification control is triggered, all four preset states can be edited and modified; when the modification control is not triggered, none of the four preset states can be edited or modified.
[0073] In another example, a preset state can be modified via the first controller 201, and then the modified preset state can be triggered via the second controller 202. This can be understood as the preset state of the lighting power supply 100 being directly modified locally, thereby enabling diversified linkage control via the network. Directly modifying a preset state locally allows the user to more intuitively see the actual effect of the preset state. For example, as... Figure 4As shown, the first controller 201 has a knob 2011 and multiple buttons 2012, wherein the knob 2011 is used for dimming, and the multiple buttons 2012 correspond to multiple preset states of the lighting power supply 100. Specifically, when modifying a preset state through the first controller 201, the lighting power supply 100 is first adjusted using the knob 2011 to bring the lighting fixture 300 to a target state (e.g., a nightlight state), and then the corresponding button 2012 (e.g., the first button from left to right) is pressed and held. The first controller 201 then sends a corresponding modification command to the processing unit 103. Upon receiving the modification command, the processing unit 103 is instructed to update the preset state mapped by the trigger command corresponding to the button 2012 to the target state and saves the modified mapping relationship. Furthermore, when the corresponding control of the second controller 202 is triggered and sends a trigger command to the processing unit 103, the processing unit 103 will trigger the target state based on the modified mapping relationship to achieve local visual modification and diversified network control. Secondly, the visualization and definition of preset states through local direct control paths allows preset states to be actually presented to the user, and the setup is simpler: adjust the lighting power supply 100 to the desired state, and then press and hold the corresponding button 2012 to set the corresponding preset state. For example, if there are five lights in a room, to set the preset state, adjust each of the five lights to its corresponding target state, and then press and hold the corresponding button. At this time, the lighting power supply 100 will modify the corresponding mapping relationship and store it to complete the modification of the preset state.
[0074] Furthermore, according to embodiments of the present invention, such as Figure 5 As shown, the processing unit 103 is further configured to: establish a direct control path with the second controller 202; and switch between the direct control path and the network control path with the second controller 202. It should be noted that the direct control path between the processing unit 103 and the second controller 202 should be understood as a control path independent of the network, such as direct wireless signal control or pure physical line control. Therefore, the processing unit 103 and the second controller 202 will have both direct and network control paths, which can be adaptively switched based on control requirements. It should be noted that the switching action can be initiated by the processing unit 103 or by the second controller 202; when initiated by the processing unit 103, the switching can be automatic; when initiated by the second controller 202, the switching can be performed by user operation.
[0075] Further according to embodiments of the present invention, such as Figure 6As shown, the processing unit 103 is further configured to establish a direct control path with the second controller 202 via a direct connection, establish a network control path with the second controller 202 via a gateway 400, and switch the control path with the second controller 202 to the direct control path when the network control path is unavailable. Furthermore, the direct control path can be a direct control based on standard protocols such as Bluetooth Direct or Wi-Fi Direct, or it can be based on other direct control paths such as 433M or NFC. The network control path can be a control path based on a Bluetooth mesh network formed by a Bluetooth gateway, or a control path formed based on a network such as Wi-Fi mesh or Zigbee mesh, or a network control path formed by connecting a router to the cloud and then through the cloud. In general, the control path formed when the control signal is directly used for control between the second controller 202 and the lighting power supply 100 can be understood as the direct control path, while the control path that needs to be processed and forwarded by devices such as routers or the cloud can be understood as the network control path. Furthermore, based on this embodiment, the control path between the processing unit 103 and the lighting power supply 100 can be switched to the direct control path when the network control path is unreachable (e.g., network interruption). This switching operation can be initiated by the processing unit 103 of the lighting power supply 100 or by the second controller 202 connected thereto. Moreover, this switching operation can be initiated by the lighting power supply 100 or the second controller 202, or it can be a switching operation based on the user's switching operation.
[0076] Furthermore, existing smart lighting power supply binding operations generally involve specific physical manipulation of the power supply itself (e.g., long-pressing a button) to enter binding mode. However, the lighting power supply 100 is typically placed in a lighting location (e.g., in a ceiling or in the wiring trough of a light strip) along with the lighting fixture 300, making it difficult to access. Therefore, the existing binding mode triggering methods are not suitable for smart devices like the lighting power supply 100. Based on this, this embodiment provides a new binding method applicable to the lighting power supply 100 of this embodiment. Specifically, according to an embodiment of the present invention, the processing unit 103 is further configured to enter binding mode via a trigger command, and in binding mode, receive and maintain inherent identification information from the first controller 201 to establish a correspondence with the first controller 201, thereby completing the establishment of a direct control path with the first controller 201. After binding is completed, the lighting power supply 100 will determine whether to respond to the control command based on whether the inherent identification information contained in the received control command matches at least one of a plurality of locally stored inherent identification information; if they match, the control command is valid, and the power supply 100 responds to the control command; otherwise, it does not respond. Control commands can be used to trigger the lighting power supply 100 to perform actions such as switching, color temperature adjustment, and brightness adjustment. It should be noted that the trigger command can be a physical control command or a wireless control signal command. Furthermore, in this embodiment, after being triggered into binding mode by a trigger command, the processing unit 103 enters a signal receiving state. It then controls the first controller 201 to transmit a binding command (which can be a network configuration message) carrying inherent identification information (such as a MAC address, product ID, or other factory-installed and unique information) that characterizes the first controller 201. Upon receiving the binding command, the processing unit 103 stores the corresponding inherent identification information in its local memory to establish a correspondence with the first controller 201, forming a direct control path with the first controller 201.
[0077] To address the issue that some lighting power supplies 100 may be difficult to access after installation, according to an embodiment of the present invention, the processing unit 103 is configured to have a dual-mode binding function. This allows the processing unit 103 to enter a binding mode based on a wired trigger command, and further, to enter a binding mode based on a wireless trigger command. Thus, the processing unit 103 can be controlled to enter the binding mode via both wired and wireless trigger commands, allowing the user to select the most convenient triggering method based on the specific usage of the lighting power supply 100.
[0078] In one example, the wired trigger command is generated by turning the processing unit 103 on and off. Specifically, the wired trigger command can be generated based on the number of times and / or the duration of turning the processing unit 103 on and off. For example, when the lighting power supply 100 has not been bound before, it enters the binding mode within 5 seconds after being powered on. During these 5 seconds, all buttons on the first controller 201 are pressed three times to send out the corresponding binding command. After receiving the binding command, the lighting power supply 100 stores the corresponding inherent identification information to complete the binding, forming a direct control path with the first controller 201. In addition, after binding is completed, the lighting power supply 100 can control the lighting fixture 300 to emit a corresponding light signal (e.g., flash three times) to prompt the user that the binding is successful. Correspondingly, when it is necessary to clear the binding, the lighting power supply 100 can be turned off first, and then the button of the first controller 201 can be pressed and held (for example, for 2 seconds) to trigger the first controller 201 to send out the corresponding clear binding command. At the same time, the lighting power supply 100 is powered on again. After power-on, the lighting power supply 100 receives the clear binding command and clears the corresponding inherent identification information to complete the clear binding operation. Similarly, after the binding is successfully cleared, the lighting power supply 100 can control the lighting fixture 300 to emit a corresponding light signal (for example, the lighting fixture 300 first turns off and then flashes three times) to notify the user that the clearing was successful.
[0079] In another example, the wireless trigger command is generated based on a specified operation of an electronic device that has established a correspondence with the processing unit 103; the wireless trigger command originates from an application. For example, the app user interface of the electronic device has a control interface corresponding to the lighting power supply 100. By clicking the "Add Remote Control" control icon displayed on the control interface, a wireless trigger command can be sent to the lighting power supply 100, causing the lighting power supply 100 to enter the binding mode. At this time, pressing all the buttons of the first controller 201 three times will cause it to transmit the corresponding binding command. After receiving the binding command, the lighting power supply 100 stores the corresponding inherent identification information to complete the binding, forming a direct control path with the first controller 201. The first controller 201, which has been successfully bound, will be displayed as a "remote control" on the control interface. When the user wants to clear the first controller 201, they can delete the corresponding "remote control" through the control interface to trigger the lighting power supply 100 to delete the corresponding binding relationship.
[0080] Furthermore, based on the embodiments of the present invention, it is only necessary to form a network control between the lighting power supply 100 and the second controller 202. The first controller 201 can access the network through the second controller 202, so that some first controllers 201 that cannot access the network can access the network indirectly.
[0081] Further according to an embodiment of the present invention, when the processing unit 103 enters the binding mode based on a wireless trigger command, the wireless trigger command originates from the second controller 202, and thus the processing unit 103 can establish a direct control path with the first controller 201 through the second controller 202. It is understood that when the processing unit 103 can establish a direct control path with the first controller 201 through the second controller 202, the processing unit 103 needs to first establish a network control path with the second controller 202. For example, when the second controller 202 is implemented as an electronic device with interactive functions such as a mobile phone, a network control path can be established between the mobile phone and the lighting power supply 100 first, and then the mobile phone can send a corresponding wireless trigger command to trigger the lighting power supply 100 to enter the binding mode.
[0082] Furthermore, according to an embodiment of the present invention, the processing unit 103 is further configured to: receive dimming commands originating from the first controller 201 via the direct control path; the dimming commands instruct the processing unit 103 to continuously adjust the optical parameters of the lighting fixture 300; the optical parameters include color temperature and / or brightness. There are at least two dimming commands, and there is an interval between each dimming command. In other words, the dimming commands are not continuous but are sent to the processing unit 103 intermittently, thereby reducing the amount of data in the dimming commands and achieving the purpose of controlling continuous dimming with discontinuous dimming commands. As a further example, the interval between two adjacent dimming commands is at least 20 ms to reduce the data processing load on the processing unit 103.
[0083] like Figure 4In the example shown, the first controller 201 is implemented as a switch device with a knob, which can adjust the optical parameters of the lighting power supply 100 in a follow-up manner by rotating the knob. Since the lighting power supply 100 needs to be controlled in real time to follow up during the rotation of the knob (e.g., gradually increasing or decreasing the brightness according to the rotation of the knob), the existing knob will continuously send corresponding dimming commands during rotation to ensure the rapid follow-up response of the lighting power supply 100. This will result in a large number of dimming commands being generated. If the processing capacity of the processing unit 103 of the lighting power supply 100 is insufficient, it will be unable to process such a large amount of data, which will lead to data packet loss, and in severe cases, it will lead to a system crash. Based on this, according to an embodiment of the present invention, the amount of data is reduced by setting an interval to achieve a balance between the following effect and the amount of data. Specifically, in this embodiment, there is a first interval between two adjacent dimming commands, so that the processing unit 103 can be further configured to: gradually adjust the optical parameters of the lighting fixture 300 from the optical parameters indicated by one dimming command to the optical parameters indicated by the next dimming command, so as to form a continuous adjustment state of the lighting fixture 300. In other words, in this embodiment, the lighting power supply 100 is configured to receive dimming commands sent at intervals during the operation of the first controller 201, and sequentially adjust the lighting fixture 300 to the corresponding optical parameters in a gradual manner according to each dimming command. The first controller 201 sends the continuously sent dimming commands in multiple intervals, and the lighting power supply 100 fills in the data during the intervals in a gradual manner, which can reduce the pressure caused by processing too much data and will not affect the smooth visual change effect.
[0084] According to an embodiment of the present invention, when the lighting power supply 100 is controlled by the knob to perform follow-up dimming, when the knob is rotated counterclockwise or instantaneously to its maximum value, the lighting power supply 100 will be limited to a boundary brightness value. For example, when the counterclockwise rotation of the knob is used to lower the brightness of the lighting power supply 100, when the knob is rotated counterclockwise to its maximum value, the lighting power supply 100 will control the brightness of the lighting fixture 300 to 5%, instead of adjusting it to 0% (i.e., turning off the light). When the knob is clicked, the lighting power supply 100 is adjusted to a specified brightness (e.g., a set 50% brightness).
[0085] Further according to an embodiment of the present invention, the processing unit 103 establishes a direct control path with the first controller 201 via a direct connection (e.g., Bluetooth direct connection or WIFI direct connection). Since this embodiment establishes a direct control path between the lighting power supply 100 and the first controller 201 via a direct connection, when the first controller 201 performs dimming operations using a knob-like component, the sent dimming command does not need to pass through the cloud, enabling point-to-point control with the lighting power supply 100. This greatly increases the transmission efficiency of the dimming command and reduces the control delay of the lighting power supply 100. The increased transmission efficiency allows the first interval to be set between 20ms and 500ms while still achieving a good following control effect for the lighting power supply 100. In a specific example, the first interval is set to 100ms to 200ms, for example, 100ms, 200ms, or 150ms.
[0086] According to an embodiment of the present invention, the dimming command is broadcast outwards; the processing unit 103 is further configured to determine whether the identification information contained in the received dimming command is at least one of a plurality of stored identification information; if so, the dimming command is responded to, otherwise no response is made. It should be noted that in this embodiment, the binding relationship data between the first controller 201 and the lighting power supply 100 is stored in the lighting power supply 100. Therefore, the first controller 201 only needs to broadcast the dimming command outwards, and the lighting power supply 100 receives the dimming command and determines whether to respond based on the stored binding relationship. This greatly simplifies the function of the first controller 201, reduces its power consumption, and is more suitable for battery-powered first controllers 201.
[0087] According to an embodiment of the present invention, the processing unit 103 establishes a network control path with at least one second controller 202, specifically configured to: directly enter a network-ready state in response to a network configuration control, or be reset by a reset control and re-enter the network-ready state; in other words, when the processing unit 103 has not performed network configuration, it is adapted to enter the network-ready state in response to a network configuration control; and when the processing unit 103 has performed network configuration, it is adapted to re-enter the network-ready state in response to a reset control clearing the network configuration information; wherein, the network configuration control and the reset control may be the same or different; in the network-ready state, the processing unit 103 sends a specified network configuration request information to the outside, so that the electronic device receiving the network configuration request information instructs the processing unit 103 to join a target network, thereby establishing a network control path with a second controller 202 in the target network. The target network can be a local area network (LAN) established based on a gateway device. The processing unit 103 can access the target network via a gateway and / or router using one or more wireless methods such as Zigbee, Wi-Fi, and BLE Mesh, or via a wired method such as a PLC (Power Line Communication). In one example, the processing unit 103 connects to a LAN built by a Bluetooth gateway via the BLE Mesh protocol. All second controllers connected to this LAN are stored in the device list of the Bluetooth gateway. The processing unit 103 can establish a communicative interaction with any second controller connected to this LAN through the Bluetooth gateway to form a network control path. The second controller can be, for example, a smart device with a display interface and human-computer interaction function, such as a mobile phone, tablet, smartwatch, or smart glasses. In a specific example using a mobile phone as the second controller, the mobile phone runs an app application corresponding to the lighting power supply 100. The mobile phone binds the lighting power supply to its account in the app application via Bluetooth or Wi-Fi, thereby enabling operation of the lighting power supply through the app.
[0088] In one example, when in the network-ready state, the processing unit 103 sends out a network-ready message. After the gateway or mobile phone or other electronic device connected to the target network receives the network-ready message, it instructs the processing unit 103 to join the target network. After the network-ready power supply 100 completes the network-ready process, it can communicate with network devices in the target network. The network device can be the second controller 202 or other devices with networking capabilities.
[0089] Furthermore, the processing unit 103 is configured to control the lighting fixture 300 to emit a first light warning signal before issuing distribution network information (distribution network message), and to control the lighting fixture 300 to emit a second light warning signal during distribution network operation; the first light warning signal and the second light warning signal differ from each other in at least one of the following: flashing frequency and color.
[0090] Furthermore, the processing unit 103 is also configured to send a reminder message once every specified interval, so that after the electronic device receives the reminder message, it can determine that the lighting power supply 100 is still online.
[0091] Furthermore, existing network configuration operations typically involve specific physical manipulation of the device itself (e.g., pressing and holding a button) to put it into a network configuration standby state. However, the lighting power supply 100 is usually installed in the lighting location (e.g., in the ceiling or in the wiring trough of the light strip) along with the lighting fixture 300, making it difficult to access. Therefore, the existing triggering method for the network configuration standby mode is not suitable for this type of smart device. Based on this, as... Figure 7 As shown, according to an embodiment of the present invention, the power supply unit 102 draws power from the first controller 201, so that the processing unit 103 can be powered off and powered on based on the opening and closing of the first controller 201; the power distribution control and / or the reset control include power on and / or power off; the processing unit 103 is further configured to count the number of power on / off switching, and / or time the duration between power on / off, and enter the standby state when a specified requirement is met. Furthermore, based on the solution provided by this embodiment, the lighting power supply 100 can be conveniently triggered into the standby state through the first controller 201, and the first controller 201 is generally located in an easily accessible position, thus indirectly reducing the difficulty of triggering the lighting power supply 100 into the standby state.
[0092] Furthermore, it is worth noting that there can be multiple lighting power supplies 100, each controlling one lighting fixture 300. All lighting power supplies 100 can draw power from the first controller 201, thus the on / off operation of the first controller 201 can control the power supply operation of multiple lighting power supplies 100, triggering them to simultaneously enter a network-ready state. In one example, the first controller 201 has a button and a relay, which are linked (e.g., pressing the button disconnects the relay, pressing it again closes the relay). Therefore, the first controller 201 can be turned on / off by operating the button. This button is hidden (not exposed during daily use). When the user needs to trigger the lighting power supply 100 for network connection, a cover must be removed to operate the hidden button. Operating the hidden button can switch the relay on and off. In a specific implementation, the first controller 201 can be a wall switch suitable for an 86×86 junction box. Furthermore, in this way, the first controller 201 of this embodiment keeps the relay in a normally closed state during normal operation to ensure the power supply of the lighting power supply 100. A hidden button is provided to control the relay so as to reset at least one lighting power supply 100 that draws power through the relay. Moreover, this hidden button is not visible and is not easy to touch, thereby preventing accidental triggering.
[0093] Furthermore, it is worth noting that by using the first controller 201 to supply power to the lighting power supply 100, the problem of having to turn off the circuit breaker (air switch) when the intelligent lighting power supply 100 malfunctions is solved in the prior art. The existing method of turning off the power by turning off the circuit breaker would also cause other electrical devices connected to the circuit breaker besides the lighting power supply 100 to lose power, which is undesirable. In this embodiment, when the lighting power supply 100 needs to be de-energized (e.g., due to a system crash), the first controller 201 can be used to physically turn the power on / off, eliminating the need to operate the circuit breaker, thus simplifying operation and improving electrical safety. In another embodiment, the relay can also be replaced by a device with power-on / off functionality, such as a physical lever.
[0094] According to an embodiment of the present invention, the second controller 202 may be an electronic device that instructs the processing unit 103 to perform network distribution, or it may be another network device connected to the target network (e.g., with a wall switch). Furthermore, when the second controller 202 is implemented as another network device connected to the target network, the processing unit 103, in the network-distributed state, establishes a network control path with the second controller 202 through the target network, such as... Figure 8As shown, this can be achieved either by defining and storing the control rules on the cloud server 500, or by defining the control rules and sending them from the cloud server 500 to the lighting power supply 100. Specifically, in one embodiment, the processing unit 103 is configured to: receive and execute the control result indicated by a control instruction in a network-connected state to form the network control path; the control instruction is generated by a server connected to the target network based on the control action currently occurring in the second controller 202 and the matching target control rule, and sent through the target network; it should be noted that, at this time, the control rules are stored on the cloud server 500, and the cloud server matches the corresponding target control rule based on the control action uploaded by the second controller 202, generates a control instruction based on the executable function defined by the target control rule, and then sends the control instruction to the lighting power supply 100. The processing unit 103 of the lighting power supply 100 only needs to receive and execute the control instruction.
[0095] In another embodiment, the processing unit 103 is configured to: receive and store at least one control rule issued by a server connected to the target network in a network-configured state, and further receive a control instruction; determine a matching target control rule among all control rules based on the control action information carried in the control instruction; and control the executable function defined by the target control rule to be executed to form the network control path. It should be noted that, at this time, the control rule is stored in the lighting power supply 100. After the cloud server receives the control action uploaded by the second controller 202, it converts it into a control instruction and issues it to the lighting power supply 100. The lighting power supply 100 matches the target control rule among multiple control rules based on the control action information in the control instruction, and performs a response operation based on the executable function pointed to by the target control rule.
[0096] In another embodiment, the control rules can also exist simultaneously on a cloud server and in the local memory of the lighting power supply 100. After the user modifies the control rules, they are uploaded to the cloud. The cloud periodically sends updated control rules to the lighting power supply 100 to achieve synchronization of the control rules between the two. The control rules define the triggering relationship between at least one control action of the second controller 202 and at least one executable function of the lighting power supply 100, which is freely determined by the user through the terminal device. The control action can be, for example, a button press or a rebound action of the second controller 202, and the executable function can be, for example, an inherent function of the lighting power supply 100 (e.g., turning the light on or off), or a function defined later (e.g., a preset state).
[0097] According to an embodiment of the present invention, a control command sent by the second controller 202 is received; the control command is used to instruct the processing unit 103 to switch between adjusting the optical parameters of the lighting fixture 300; the optical parameters include brightness and / or color temperature. Furthermore, based on this embodiment, the lighting power supply 100 can be adjusted in a switching manner by the second controller 202, for example, directly adjusting to a preset state, directly adjusting the brightness to 80%, or directly turning the light off or on, etc.
[0098] It should be noted that when the lighting power supply 100 is controlled by the first controller 201 or the second controller 202 to turn the light on / off, it has a memory function. In other words, the process of the processing unit 103 turning on the light in this embodiment can present the following flow:
[0099] When the lighting power supply 100 is powered on for the first time: the lighting fixture 300 is in the off state. When the user clicks the on / off button of the first controller 201 or the second controller 202 (e.g., the button of the first controller 201 or the on / off control of the interface of the second controller 202), the lighting power supply 100 is triggered to load the brightness and color temperature values set at the factory. At this time, the user can adjust the brightness and color temperature (e.g., by adjusting the knob of the first controller 201 or by adjusting the interface of the second controller 202). After adjustment, the processing unit 103 stores the current brightness and color temperature values in the memory. When the user operates the on / off button of the first controller 201 again, the first controller 201 sends an on / off or flip command (i.e., flipping from one state to the opposite state, such as flipping from off to on). If the lighting fixture 300 is off at this time and receives the on / off or flip command, it will reread the stored brightness and color temperature values to turn the light on to the previous state.
[0100] When the lighting power supply 100 is not powered on for the first time: when a light-on command is received, the processing unit 103 turns the lighting fixture 300 back to the state it was in when it was last turned off (brightness value and color temperature value when it was last turned off). The data corresponding to this state is stored in the local memory of the lighting power supply 100.
[0101] According to an embodiment of the present invention, the power supply unit 102 and the processing unit 103 are integrated to reduce the connection complexity of the lighting power supply 100 and facilitate installation and use.
[0102] The lighting power supply 100 provided according to the above embodiment, such as Figure 9 As shown, the present invention also provides a lighting system, including: a first controller 201 and a lighting power supply 100, wherein an operable connection is established between the first controller 201 and the lighting power supply 100; specifically:
[0103] The first controller 201 is used to accept control input; the control input can be applied by a user or by other operating entities such as intelligent robots; for example, pressing control, releasing pressing control, rotating control, pressing and rotating control, etc.
[0104] The lighting power supply 100 is adapted to be coupled between an external power source and at least one lighting fixture 300, and operates when supplied with power from the external power source. The lighting power supply 100 is capable of establishing a direct control path with the first controller 201, allowing the first controller 201 to operate the continuous dimming of the lighting power supply 100. Furthermore, the lighting power supply 100 and the first controller 201 interact with each other via the direct control path, enabling the lighting power supply 100 to acquire dimming data promptly during continuous dimming, reducing latency and achieving a better follow-up dimming effect.
[0105] In this embodiment, the first controller 201 is constantly powered and has real-time standby capability. The first controller 201 controls the continuous dimming of the lighting power supply 100 through dimming commands; wherein, there are at least two dimming commands, and there is an interval between each dimming command. In other words, the dimming commands are not continuous, but are sent to the lighting power supply 100 intermittently, thereby reducing the amount of data in the dimming commands and achieving the purpose of controlling continuous dimming with discontinuous dimming commands. As a further example, the interval time between two adjacent dimming commands is at least 20ms to reduce the data processing pressure on the lighting power supply 100.
[0106] like Figure 10 As shown, according to an embodiment of the present invention, the first controller 201 adopts a rotary switch, and thus, the first controller 201 has a knob 2011; the first controller 201 can control the continuous dimming action of the lighting power supply 100 through a direct control path based on the rotation of the knob. The first controller 201 is powered by high-voltage electricity, specifically 220V AC power.
[0107] In some embodiments, such as Figure 7 As shown, the first controller 201 has a switching function. The switching function can be implemented by a relay. Specifically, according to an embodiment of the present invention, the relay is controlled by a hidden button of the first controller 201, and the relay is used to form a control output to an external electrical appliance. When the relay is closed, the output supplies power to the outside, and when the relay is open, the output is cut off.
[0108] According to an embodiment of the present invention, the lighting power supply 100 is configured to draw power from the first controller 201, so that the lighting power supply 100 can be powered off and powered on based on the opening and closing of the first controller 201; the distribution network control and / or the reset control include power on and / or power off;
[0109] The lighting power supply 100 is further configured to count the number of power-on / power-off switching events and / or time the duration between power-on / power-off events, and enter a standby state when a specified requirement is met. Furthermore, based on the solution provided in this embodiment, the lighting power supply 100 can be conveniently triggered into a standby state via the first controller 201, which is generally located in an easily accessible position, thus indirectly reducing the difficulty of triggering the lighting power supply 100 into the standby state.
[0110] Furthermore, it is worth noting that there can be multiple lighting power supplies 100, each controlling one lighting fixture 300. All lighting power supplies 100 can draw power from the first controller 201, thus the on / off operation of the first controller 201 can control the power supply operation of multiple lighting power supplies 100, triggering them to simultaneously enter a network-ready state. In one example, the first controller 201 has a hidden button and a relay, which are linked (e.g., pressing the hidden button disconnects the relay, pressing it again closes it). Therefore, operating the hidden button can control the on / off state of the first controller 201. This hidden button is concealed (not exposed during normal use); when the user needs to trigger the lighting power supply 100 for network connection, a cover must be removed to operate the hidden button. Operating the hidden button can switch the relay on and off. In specific implementations, the first controller 201 can be a wall switch suitable for an 86×86 junction box. Furthermore, in this way, the first controller 201 of this embodiment keeps the relay in a normally closed state during normal operation to ensure the power supply of the lighting power supply 100. A hidden button is provided to control the relay so as to reset at least one lighting power supply 100 that draws power through the relay. Moreover, this hidden button is not visible and is not easy to touch, thereby preventing accidental triggering.
[0111] Furthermore, by performing a first operation on the hidden button of the first controller 201, the internal relay can be triggered to automatically open and / or close according to a preset pattern, thereby forming a distribution control and / or reset control for the lighting power supply that draws power from the relay. The first operation can be a relatively simple operation such as a long press or double-click, thus automatically triggering the relay to form a complex operation, thereby triggering the corresponding lighting power supply to enter a distribution standby state.
[0112] In some embodiments, the first controller 201 itself has networking capabilities, and the first controller 201 is also triggered to enter the network distribution mode by operating the hidden button, which is defined as the second operation; then the second operation needs to be different from the first operation so that the internal processing device of the first controller 201 can distinguish them. Furthermore, according to an embodiment of the present invention, the first controller 201 has a hidden button and is configured to enter a self-network distribution state in response to the second operation of the hidden button (i.e., the first controller 201 itself enters a network-waiting state so that the corresponding electronic device can detect the network distribution request message sent by the first controller 201 and instruct the first controller 201 to join the corresponding network), or, in response to the first operation of the hidden button, trigger its internal relay to automatically open and / or close according to a preset rule, so as to form a network distribution control and / or reset control of the lighting power supply drawn through the relay.
[0113] In one example, the first control is set to a double-click control, the second control is set to a long press control of 5 seconds or more, and the power supply network control for the lighting power is set to switch between power off and power on 8 times. Furthermore, when the first controller 201 detects that the hidden button is double-clicked, it controls its internal relay to automatically switch between open and closed states 8 times to form the power supply network control for the lighting power, thereby triggering the lighting power to enter a network-ready state. When the first controller 201 detects that the hidden button is pressed for more than 5 seconds, it will not operate its internal relay and will enter a network-ready state. In this state, the first controller 201 sends out a network-ready request message (the message carries the inherent information of the first controller 201, such as product ID, MAC address, product type, etc.), enabling an electronic device or gateway to discover the first controller 201 based on the network-ready request message and connect it to the target network to complete the self-network configuration of the first controller 201. It should be noted that by simply operating the second operation, the relay of the first controller 201 is triggered to automatically perform complex power distribution control, so that the lighting power supply 100 can be triggered to enter the standby state more conveniently when it draws power through the relay of the first controller 201, without the need for manual and complicated power on / off operations.
[0114] According to an embodiment of the present invention, the lighting power supply 100 establishes a network control path with the second controller 202 through the target network when the network is already configured.
[0115] According to an embodiment of the present invention, the lighting power supply 100 is specifically configured to: receive and execute a control result indicated by a control command in a network-connected state to form the network control path; the control command is generated by a server connected to the target network based on the control action currently occurring in the second controller 202 and the matching target control rule, and sent through the target network; it should be noted that, at this time, the control rule is stored in a cloud server, and the cloud server matches the corresponding target control rule based on the control action uploaded by the second controller 202, and generates a control command based on the executable function defined by the target control rule, and then sends the control command to the lighting power supply 100; the processing unit 103 of the lighting power supply 100 only needs to receive and execute the control command;
[0116] According to embodiments of the present invention, such as Figure 8 As shown, the lighting power supply 100 is specifically configured to: receive and store at least one control rule issued by a server connected to the target network in a network-connected state, and further receive a control command; determine a matching target control rule among all control rules based on the control action information carried in the control command; and control the executable function defined by the target control rule to be executed to form the network control path. It should be noted that, at this time, the control rule is stored in the lighting power supply 100. After the cloud server receives the control action uploaded by the second controller 202, it converts it into a control command and issues it to the lighting power supply 100. The lighting power supply 100 matches the target control rule among multiple control rules based on the control action information in the control command, and performs a response operation based on the executable function pointed to by the target control rule.
[0117] In some embodiments, the control rules may also exist simultaneously on a cloud server and in the local memory of the lighting power supply 100. After the user modifies the control rules, they are uploaded to the cloud. The cloud periodically sends updated control rules to the lighting power supply 100 to achieve synchronization of the control rules between the two. The control rules define the triggering relationship between at least one control action of the second controller 202 and at least one executable function of the lighting power supply 100, which is freely determined by the user through the terminal device. The control action may be, for example, a button press or a rebound action of the second controller 202. The executable function may be, for example, an inherent function of the lighting power supply 100 (e.g., turning the light on or off), or a user-defined function (e.g., a preset state: night light mode, sleep aid mode, and wake-up mode).
[0118] According to embodiments of the present invention, such as Figure 11As shown, the lighting system also includes a second controller 202 for receiving control input; the lighting power supply 100 can establish a network control path with the second controller 202, and the lighting power supply 100 can be operated through the second controller 202; furthermore, the lighting power supply 100 is configured to have bidirectional remote control functionality, so that a preset state of the lighting power supply 100 can be triggered based on the direct control path, and further, can be triggered based on the network control path. For example, the second controller 202 is a personal electronic device with a user interface; the same function of the lighting power supply 100 can be implemented both through the user interface based on the network path and through the first controller 201 based on the local direct path. Therefore, the lighting power supply 100 provided by this invention can be operated through both direct control and network control paths, forming multiple control modes, wherein the first controller 201 and the second controller 202 are different controllers 200, so that the lighting power supply 100 can be directly controlled locally through the first controller 201, and can also be multi-facetedly controlled via the network through the second controller 202, to meet the needs of various control scenarios. Example illustration: Figure 12 As shown, when the first controller 201 is implemented as a local switch (e.g., a wireless battery switch), the lighting power supply 100 can be directly controlled via the local switch, without relying on a network, making control simple and efficient. When the second controller 202 is implemented as a device with network capabilities (e.g., a personal mobile electronic device, a voice device with network capabilities, etc.), remote control and some scene automation control can be achieved via the network, such as timed on / off lights, voice-activated light switching, and remote on / off lights. Furthermore, intelligent control of the lighting power supply 100 can be achieved through both local and network control paths, catering to users who prefer modern intelligent control (e.g., young people) and users accustomed to traditional direct control (e.g., the elderly).
[0119] Furthermore, the two-way remote control function allows the same function of the lighting power supply 100 to be triggered via both local and network methods (e.g., adjusting the brightness or color temperature to a certain set value). It is worth noting that there can be multiple preset states, and each preset state can be remotely controlled bidirectionally. Each preset state can be pre-stored in the memory of the processing unit 103, or it can be defined by a second controller 202 with interactive functions, such as a mobile phone, and then uploaded to the processing unit 103.
[0120] According to an embodiment of the present invention, the lighting power supply 100 is further configured to have a dual-path linkage function, enabling the lighting power supply 100 to modify a preset state based on either the first controller 201 or the second controller 202, and to trigger the modified preset state based on the other of the first controller 201 and the second controller 202. Furthermore, each preset state of the lighting power supply 100 can be triggered both by the corresponding button on the first controller 201 and by the corresponding representation in the user interface of the second controller 202.
[0121] According to embodiments of the present invention, such as Figure 13 As shown, the second controller 202 is further configured to: establish a direct control path with the lighting power supply 100; and the direct control path and network control path with the lighting power supply 100 can be switched. It should be noted that the direct control path between the processing unit 103 and the second controller 202 should be understood as a control path independent of the network, such as direct wireless signal control or pure physical line control. Therefore, the processing unit 103 and the second controller 202 will have both direct and network control paths, which can be adaptively switched based on control requirements. It should be noted that the switching can be initiated by the processing unit 103 or the second controller 202; when initiated by the processing unit 103, the switching can be automatic; when initiated by the second controller 202, the switching can be implemented by user operation.
[0122] According to embodiments of the present invention, such as Figure 14As shown, the second controller 202 is further configured to establish a direct control path with the lighting power supply 100 via a direct connection, establish a network control path with the lighting power supply 100 via a gateway, and switch the control path with the lighting power supply 100 to the direct control path when the network control path is unavailable. Furthermore, the direct control path can be a direct control based on standard protocols such as Bluetooth Direct or Wi-Fi Direct, or a direct control path established based on other radio frequency communications such as 433M; while the network control path can be a control path based on a Bluetooth mesh network composed of Bluetooth gateways, or a control path formed based on networks such as Wi-Fi mesh or Zigbee mesh, or a network control path formed through a cloud connection via a router. In summary, when the control signal is directly used for control between the second controller 202 and the lighting power supply 100, the formed control path can be understood as the direct control path; when it needs to be processed by devices such as a router or cloud before it can be used to control the lighting power supply, the formed control path can be understood as the network control path. Furthermore, based on this embodiment, the control path between the processing unit 103 and the lighting power supply 100 can be switched to the direct control path when the network control path is unreachable. This switching operation can be initiated by the processing unit 103 of the lighting power supply 100 or by the second controller 202 connected to it. Moreover, this switching operation can be initiated by the lighting power supply 100 or the second controller 202 or by the user's switching operation.
[0123] According to an embodiment of the present invention, the lighting power supply 100 is configured to enter a binding mode via a trigger command, and in the binding mode, to receive and maintain inherent identification information originating from the first controller 201 to establish a correspondence with the first controller 201. This completes the establishment of a direct control path with the first controller 201. After binding is completed, the lighting power supply 100 determines whether to respond to the control command based on whether the inherent identification information contained in the received control command matches at least one of a plurality of locally stored inherent identification information; if they match, the control command is valid, and the power supply responds to the control command; otherwise, it does not respond. It should be noted that the trigger command can be a trigger command formed by physical manipulation or a trigger command generated by a wireless control signal. In this embodiment, after being triggered into the binding mode by a trigger command, the processing unit 103 enters the signal receiving state. Then, it controls the first controller 201 to emit a binding command (which may be a network distribution message) carrying inherent identification information (such as MAC address, product ID, or other factory-installed and unique information) that can characterize the identity information of the first controller 201. After receiving the binding command, the processing unit 103 stores the corresponding inherent identification information in its local memory to complete the establishment of the correspondence with the first controller 201 and form a direct control path with the first controller 201.
[0124] According to an embodiment of the present invention, the lighting power supply 100 is configured to have a dual-mode binding function, enabling the lighting power supply 100 to enter a binding mode based on a wired trigger command, and further enabling it to enter a binding mode based on a wireless trigger command. Thus, the processing unit 103 can be controlled to enter the binding mode via both wired and wireless trigger commands, allowing the user to select the most convenient triggering method based on the specific usage of the lighting power supply 100.
[0125] According to an embodiment of the present invention, when the lighting power supply 100 enters the binding mode based on a wireless trigger command, the wireless trigger command originates from the second controller 202, enabling the lighting power supply 100 to establish a direct control path with the first controller 201 through the second controller 202. It is understood that when the processing unit 103 can establish a direct control path with the first controller 201 through the second controller 202, the processing unit 103 needs to first establish a network control path with the second controller 202. For example, when the second controller 202 is implemented as an electronic device with interactive functions such as a mobile phone, a network control path can be established between the mobile phone and the lighting power supply 100 first, and then the corresponding wireless trigger command can be sent by the mobile phone to trigger the lighting power supply 100 to enter the binding mode.
[0126] According to an embodiment of the present invention, the first controller 201 is further configured to: be controllable and send dimming commands through the direct control path; the dimming commands instruct the lighting power supply 100 to continuously adjust the optical parameters of the lighting fixture 300; the optical parameters include color temperature and / or brightness. There are at least two dimming commands, and there is an interval between each dimming command. In other words, the dimming commands are not continuous, but are sent to the processing unit 103 intermittently, thereby reducing the amount of data in the dimming commands and achieving the purpose of controlling continuous dimming with discontinuous dimming commands. As a further example, the interval between two adjacent dimming commands is at least 20 ms to reduce the data processing pressure on the processing unit 103.
[0127] According to an embodiment of the present invention, the first controller 201 is further configured to send the dimming command at intervals in response to the rotation of the knob;
[0128] The lighting power supply 100 is configured to gradually adjust the optical parameters of the lighting fixture 300 from those indicated by one dimming command to those indicated by the next dimming command, thereby creating a continuous adjustment state for the lighting fixture 300. In other words, in this embodiment, the lighting power supply 100 is configured to receive dimming commands sent at intervals during the operation of the first controller 201, and sequentially adjust the lighting fixture 300 to the corresponding optical parameters according to each dimming command in a gradual manner. The first controller 201 sends the continuously sent dimming commands in multiple intervals, while the lighting power supply 100 fills in the gaps with data in a gradual manner, reducing the pressure of processing too much data and not affecting the smooth visual change effect.
[0129] According to an embodiment of the present invention, the first controller 201 establishes a direct control path with the lighting power supply 100 through a direct connection, which greatly increases the transmission efficiency of dimming commands and reduces the control delay of the lighting power supply 100. The first interval between two adjacent dimming commands is configured to be 20ms~500ms, preferably 100ms~200ms, such as 100ms, 200ms or 150ms.
[0130] According to an embodiment of the present invention, the first controller 201 is configured to: send the dimming command outward via broadcast;
[0131] The lighting power supply 100 is further configured to determine whether the identification information contained in the received dimming command is at least one of a plurality of stored identification information; if so, it responds to the dimming command; otherwise, it does not respond. It should be noted that in this embodiment, the data of the binding relationship between the first controller 201 and the lighting power supply 100 is stored in the lighting power supply 100. Therefore, the first controller 201 only needs to broadcast the dimming command, and the lighting power supply 100 receives the dimming command and determines whether to respond based on the stored binding relationship. This greatly simplifies the function of the first controller 201, reduces its power consumption, and is more suitable for battery-powered first controllers 201.
[0132] According to an embodiment of the present invention, the lighting power supply 100 is adapted to directly enter the standby network state in response to a network distribution control, or to be reset by a reset control and re-enter the standby network state; in other words, when the processing unit 103 is not performing network distribution, it is adapted to enter the standby network state in response to a network distribution control; and when the processing unit 103 has already performed network distribution, it is adapted to be cleared of network distribution information by a reset control and re-enter the standby network state; wherein, the network distribution control and the reset control may be the same or different;
[0133] In the pending network configuration state, a specified network configuration request is sent out, causing the electronic device receiving the request to instruct the lighting power supply 100 to join a target network, thereby establishing a network control path with a second controller 202 in the target network. In one example, in the pending network configuration state, the lighting power supply 100 sends a network configuration message. After receiving the message, an electronic device connected to the target network, such as a gateway or mobile phone, instructs the lighting power supply 100 to join the target network. After network configuration is completed, the lighting power supply 100 can communicate with network devices in the target network, which can be the second controller 202 or other devices with networking capabilities.
[0134] According to an embodiment of the present invention, the lighting power supply 100 is further configured to: receive a control command sent by the second controller 202; the control command is used to instruct the lighting power supply 100 to switch between adjusting the optical parameters of the lighting fixture 300; the optical parameters include brightness and / or color temperature. Furthermore, based on this embodiment, the lighting power supply 100 can be adjusted in a switching manner by the second controller 202, for example, directly adjusting to a preset state, directly adjusting the brightness to 80%, or directly turning the light off or on, etc.
[0135] The lighting power supply 100 provided according to the above embodiment, such as Figure 10As shown, the present invention also provides a lighting system. This embodiment is a variation of the above embodiment. In this embodiment, the first controller 201 still adopts a knob controller 200, and furthermore, the first controller 201 has a knob. The first controller 201 can control the continuous dimming action of the lighting power supply 100 through a direct control path based on the rotation of the knob. The difference is that the first controller 201 is battery powered, specifically a CR2032 button battery, and the first controller 201 has wireless signal transmission capability, thereby enabling it to control the lighting power supply 100 wirelessly. It should be noted that the functions, effects, definitions, etc. of the features described in this embodiment can be understood with reference to the descriptions in the above embodiments, and will not be repeated in this embodiment.
[0136] According to embodiments of the present invention, such as Figure 11 and Figure 12 As shown, it also includes a second controller 202 for accepting control input; the lighting power supply 100 can establish a network control path with the second controller 202, and the lighting power supply 100 can be operated through the second controller 202; furthermore, the lighting power supply 100 is configured to have bidirectional remote control functionality, so that a preset state of the lighting power supply 100 can be triggered based on the direct control path, and further, can be triggered based on the network control path. For example, the second controller 202 is a personal electronic device with a user interface; the same function of the lighting power supply 100 can be implemented both through the user interface based on a network path and through the first controller 201 based on a local direct path.
[0137] According to an embodiment of the present invention, the lighting power supply 100 is further configured to have a dual-path linkage function, so that the lighting power supply 100 can modify a preset state based on either the first controller 201 or the second controller 202, and trigger the modified preset state based on the other of the first controller 201 and the second controller 202.
[0138] According to embodiments of the present invention, such as Figure 13 As shown, the second controller 202 is also configured to: establish a direct control path with the lighting power supply 100; and the direct control path and network control path with the lighting power supply 100 can be switched.
[0139] According to embodiments of the present invention, such as Figure 14As shown, the second controller 202 is further configured to establish a direct control path with the lighting power supply 100 via a direct connection, establish a network control path with the lighting power supply 100 via a gateway, and switch the control path with the lighting power supply 100 to the direct control path when the network control path is unavailable.
[0140] According to an embodiment of the present invention, the lighting power supply 100 is configured to enter a binding mode via a trigger command, and to receive and maintain inherent identification information from the first controller 201 in the binding mode in order to establish a correspondence with the first controller 201.
[0141] According to an embodiment of the present invention, the lighting power supply 100 is configured to have a dual-mode binding function, so that the lighting power supply 100 can enter the binding mode based on a wired trigger command, and further can enter the binding mode based on a wireless trigger command.
[0142] According to an embodiment of the present invention, when the lighting power supply 100 enters the binding mode based on a wireless trigger command, the wireless trigger command originates from the second controller 202, so that the lighting power supply 100 can establish a direct control path with the first controller 201 through the second controller 202.
[0143] According to an embodiment of the present invention, the first controller 201 is further configured to: be controllable to send a dimming command through the direct control path; the dimming command is used to instruct the lighting power supply 100 to continuously adjust the optical parameters of the lighting fixture 300; the optical parameters include color temperature and / or brightness.
[0144] According to an embodiment of the present invention, the first controller 201 is further configured to send the dimming command at intervals in response to the rotation of the knob;
[0145] The lighting power supply 100 is configured to gradually adjust the lighting fixture 300 from the optical parameters indicated by a dimming command to the optical parameters indicated by the next dimming command, so as to form a continuous adjustment state of the lighting fixture 300.
[0146] According to an embodiment of the present invention, the first controller 201 establishes a direct control path with the lighting power supply 100 through a direct connection, so that the first interval between two adjacent dimming commands is configured to be 20ms~500ms, preferably 100ms~200ms.
[0147] According to an embodiment of the present invention, the first controller 201 is configured to: send the dimming command outward via broadcast;
[0148] The lighting power supply 100 is further configured to determine whether the identification information contained in the received dimming command is at least one of a plurality of retained identification information; if so, it responds to the dimming command; otherwise, it does not respond.
[0149] According to an embodiment of the present invention, the lighting power supply 100 is adapted to directly enter the standby state in response to a distribution network control, or to be reset by a reset control and enter the standby state again.
[0150] In the standby network state, a specified network configuration request is sent out so that the electronic device receiving the request instructs the processing unit 103 to join a target network, thereby establishing a network control path with a second controller 202 in the target network.
[0151] According to an embodiment of the present invention, the lighting power supply 100, in a network-connected state, establishes a network control path with the second controller 202 through the target network, specifically configured as follows:
[0152] In the network-connected state, a control command is received and executed to form the network control path. The control command is generated by a server connected to the target network based on the control action currently occurring in the second controller 202 and the matching target control rules, and is then sent through the target network. The control rules define the triggering relationship between at least one control action of the second controller 202 and at least one executable function of the lighting power supply 100.
[0153] and / or;
[0154] In the network-connected state, the system receives and stores at least one control rule issued by a server connected to the target network, and further receives a control instruction. Based on the control action information carried in the control instruction, the system determines a matching target control rule among all control rules, and controls the executable function defined by the target control rule to be executed to form the network control path. The control rule defines the triggering relationship between at least one control action of the second controller 202 and at least one executable function of the lighting power supply 100.
[0155] According to an embodiment of the present invention, the lighting power supply 100 is further configured to: receive a control command sent by the second controller 202; the control command is used to instruct the lighting power supply 100 to switchly adjust the optical parameters of the lighting fixture 300; the optical parameters include brightness and / or color temperature.
[0156] According to an embodiment of the present invention, the lighting power supply is further configured to have a power-off memory function, wherein the state of the lighting power supply after power failure and subsequent power-on can be set through the power-off memory function. The selectable options are "default light on after power-on", "restore light to its previous state after power failure", and "default light after power-on". Specifically:
[0157] When "Turn on lights by default after power is on" is selected, the lighting power will turn on by default every time the power is turned on;
[0158] When "Restore the light before power failure after power is turned on" is selected, the lighting power supply will automatically save the light before power failure, and the light will automatically restore the light state before power failure when the power is turned on again.
[0159] When "Default light after power-on" is selected, the current light of the lighting power supply will be saved as the default light. The light will flash once to indicate that the light has been saved successfully, and the default light will be turned on every time the lighting power supply is powered on.
[0160] According to an embodiment of the present invention, the lighting power supply is further configured to have a night light mode, a dynamic mode, a sleep aid mode, and a wake-up mode; wherein the night light mode is used to control the lighting fixture 300 to emit a weak light of a specified brightness at night, for use as a night light; the dynamic mode is used to adapt to switches or lamps with dynamic functions; and the sleep aid and wake-up modes are used to change the light according to a preset pattern to guide the user into a sleep state or to guide the user to wake up.
[0161] According to an embodiment of the present invention, the lighting power supply is further configured to be able to set a transition time, which is used for turning on the light, turning off the light, or switching the light; for example, when used for turning on the light, the transition time is set by the user to 2 seconds through the mobile phone app interface, then when the light is triggered to turn on, the light transition time from the off state to the last on state is 2 seconds.
[0162] According to an embodiment of the present invention, the lighting power supply includes an MCU and a radio frequency (RF) communication unit, wherein the MCU and the RF communication unit can be integrated (e.g., on-chip SOC) or discretely configured. In one embodiment, the RF communication unit employs an on-board PCB antenna, and the processing unit 103 is disposed on a PCB board. When the processing unit 103 is disposed on the PCB board, the area directly below the on-board PCB antenna is completely clear, and no metal components are disposed in the surrounding 360° area to prevent the antenna's radiation efficiency from being affected, thus affecting the communication distance. In another embodiment, the RF communication unit employs an external exposed antenna, wherein the external exposed antenna is suspended, its extension length beyond the metal cover is greater than 3 cm, and it is positioned towards the gateway, with the distance between the antenna and the metal cover greater than or equal to 5 mm. Furthermore, the processing unit 103 is disposed near the edge of the PCB board, with the side of the processing unit 103 containing components facing outward (i.e., towards the side away from the PCB board), and the opposite side facing inward (i.e., towards the side closer to the PCB board). Furthermore, the exposed wires are kept straight and without any metal connections, nor do they come into contact with any circuit components on the PCB board, to ensure that the core RF components and crystal oscillator are not affected by antenna radiation.
[0163] Corresponding to the function of the lighting power supply 100 in the above embodiments, the present invention also provides a lighting method, the lighting method comprising at least the following: Figure 15 Steps S1 to S2 are shown.
[0164] like Figure 15 As shown, the method includes:
[0165] S1. Establish a direct control path with at least one first controller 201 to operate the lighting power supply 100 via the first controller 201; and,
[0166] S2. Establish a network control path with at least one second controller 202 to operate the lighting power supply 100 through the second controller 202.
[0167] According to embodiments of the present invention, such as Figure 16 As shown, the method further includes:
[0168] S3. Configure the lighting power supply 100 to have a two-way remote control function, so that a preset state of the lighting power supply 100 can be triggered based on the direct control path, and further can be triggered based on the network control path.
[0169] According to embodiments of the present invention, such as Figure 17 As shown, the method further includes:
[0170] S4. Configure the lighting power supply 100 to have a dual-path linkage function, so that the lighting power supply 100 can modify a preset state based on either the first controller 201 or the second controller 202, and trigger the modified preset state based on the other of the first controller 201 and the second controller 202.
[0171] According to embodiments of the present invention, such as Figure 18 As shown, the method further includes:
[0172] S5. Establish a direct control path with the second controller 202;
[0173] Switch between the direct control path and the network control path with the second controller 202.
[0174] According to an embodiment of the present invention, step S5 further includes:
[0175] S51. Establish a direct control path with the second controller 202 through a direct connection.
[0176] S52. Establish a network control path with the second controller 202 through the gateway;
[0177] It further includes S53, switching the control path with the second controller 202 to a direct control path when the network control path is unreachable.
[0178] According to an embodiment of the present invention, step S1 further includes:
[0179] S11. Enter binding mode via a trigger command;
[0180] S12. Receive and maintain the inherent identification information from the first controller 201 in the binding mode to establish a correspondence with the first controller 201 and form a direct control path with the first controller 201.
[0181] According to an embodiment of the present invention, step S11 further includes: configuring the lighting power supply 100 to have a dual-mode binding function, so that the lighting power supply 100 can enter the binding mode based on a wired trigger command, and further can enter the binding mode based on a wireless trigger command.
[0182] According to an embodiment of the present invention, when the processing unit 103 enters the binding mode based on a wireless trigger command, the wireless trigger command originates from the second controller 202, so that the processing unit 103 can establish a direct control path with the first controller 201 through the second controller 202.
[0183] According to embodiments of the present invention, such as Figure 19 As shown, the method further includes:
[0184] S6. Receive multiple distinct dimming commands originating from the first controller 201 through the direct control path;
[0185] S7. Continuously adjust the optical parameters of the lighting fixture 300 based on multiple dimming commands; the optical parameters include color temperature and / or brightness.
[0186] According to an embodiment of the present invention, there is a first interval between two adjacent dimming commands; step S7 further includes:
[0187] S71. Gradually adjust the optical parameters of the lighting fixture 300 from those indicated by a dimming command to those indicated by the next dimming command, so as to form a continuous adjustment state of the lighting fixture 300.
[0188] According to an embodiment of the present invention, step S71 further includes:
[0189] A direct control path is established between the controller and the first controller 201 via a direct connection, such that the first interval is configured to be 20ms~500ms, preferably 100ms~200ms.
[0190] According to an embodiment of the present invention, the dimming command includes at least one start command and one end command; the start command and the end command have a sequential order; step S7 further includes:
[0191] S71. In response to the start command, the lighting fixture 300 begins to adjust an optical parameter, and in response to the end command, the adjustment stops, so as to form a continuous adjustment state of the lighting fixture 300.
[0192] According to an embodiment of the present invention, the dimming command is broadcast; the method prior to step S7 further includes:
[0193] S61. Determine whether the identification information contained in the received dimming command is at least one of the multiple pieces of identification information that are stored; if so, respond to the dimming command; otherwise, do not respond.
[0194] According to an embodiment of the present invention, step S52 further includes:
[0195] S521. In response to a network distribution control, it directly enters the network distribution standby state, or is reset by a reset control and re-enters the network distribution standby state.
[0196] S522. In the standby network state, a specified network configuration request is sent to the outside so that the electronic device receiving the network configuration request instructs the processing unit 103 to join a target network, thereby establishing a network control path with a second controller 202 in the target network.
[0197] According to an embodiment of the present invention, the lighting power supply 100 draws power from the first controller 201, so that the lighting power supply 100 can be powered off and powered on based on the opening and closing of the first controller 201; the distribution network control and / or the reset control include power on and / or power off;
[0198] Step S521 further includes:
[0199] Count the number of power on / off switching events, and / or time the duration between power on / off events, and enter the standby network state when specified requirements are met.
[0200] According to an embodiment of the present invention, step S522 specifically includes S5221 and / or steps S5222 to S5224, specifically:
[0201] S5221. Receive and execute the control result indicated by a control command in the network-connected state to form the network control path; the control command is generated by a server connected to the target network based on the control action currently occurring in the second controller 202 and the matching target control rules, and is issued through the target network; the control rules define the triggering relationship between at least one control action of the second controller 202 and at least one executable function of the lighting power supply 100.
[0202] S5222. Receive and store at least one control rule issued by a server connected to the target network in a network-configured state;
[0203] S5223. Receive a control command, and determine a matching target control rule among all control rules based on the control action information carried in the control command; the control rule defines the triggering relationship between at least one control action of the second controller 202 and at least one executable function of the lighting power supply 100.
[0204] S5224. The executable functions defined by the target control rules are executed to form the network control path.
[0205] According to embodiments of the present invention, such as Figure 20 As shown, the method further includes:
[0206] S8. Receive a control command sent by the second controller 202; the control command is used to instruct the processing unit 103 to switch between adjusting the optical parameters of the lighting fixture 300; the optical parameters include brightness and / or color temperature.
[0207] It should be noted that the order of steps S1 to S8 can be adjusted adaptively based on actual applications. The numbers S1 to S8 are only for the convenience of description and should not be construed as a restriction on the execution order of the method steps in this embodiment.
[0208] Please see Figure 21 According to another embodiment of the present invention, a lighting power supply 100 is specifically illustrated; wherein the lighting power supply 100 is adapted to be coupled between an external power supply and at least one lighting fixture 300 to receive control commands based on the power supply of the external power supply and to perform dimming operations on the lighting fixture 300.
[0209] According to an embodiment of the present invention, see Figure 21 The lighting power supply 100 includes at least: a transmission terminal 101, a power supply unit 102, and a processing unit 103;
[0210] The transmission terminal 101 includes an input terminal 1011 for electrically connecting to the external power source and an output terminal 1012 for electrically connecting to the lighting fixture 300, so as to electrically connect the lighting power source 100 between the external power source and the lighting fixture 300. It is understood that the transmission terminal 101 can be any terminal with detachable electrical connection function, such as a screw terminal or a spring terminal. In one example, both the input terminal 1011 and the output terminal 1012 are spring terminals to facilitate quick connection or disconnection of the power line for carrying electrical energy.
[0211] The power supply unit 102 is electrically connected between the input terminal 1011 and the output terminal 1012, and is configured to be supplied with power from the external power source to generate operating power. It is understood that the power supply unit 102 should have a step-down and voltage regulation capability, which can step down and regulate the voltage of the high-voltage external power source (e.g., 220V AC power) and output a working power source suitable for the back-end processing unit 103 (e.g., a low-voltage power source of 1.8V to 3.6V).
[0212] The processing unit 103 is electrically connected to the power supply unit 102 and is supplied with the operating power from the power supply unit 102 for operation. The processing unit 103 is operatively connected to the lighting fixture 300 and is configured to establish at least one of a direct control path and a network control path with a controller 200 via the power supply unit 102, so that the lighting power supply 100 can be operated via both control paths of the controller 200. The processing unit 103 establishes both the direct control path and the network control path with the controller 200 via the power supply unit 102, and the processing unit 103 has the ability to acquire data signals from the power supply unit 102. Specifically, the processing unit 103 can be formed by an IC with data processing capabilities, such as an MCU or SOC, that has power line communication capabilities. Based on this, it can be seen that the lighting power supply 100 provided by the present invention can be operated through two control paths: direct control and network control, thereby forming multiple control modes of the controller 200. This allows the lighting power supply 100 to be directly controlled locally based on the controller 200, or to be multi-facetedly controlled via the network, in order to meet the needs of various control scenarios.
[0213] According to an embodiment of the present invention, the processing unit 103 is further configured to establish the network control path based on the direct control path. Therefore, when the network control path fails or becomes uncontrollable, it can be corrected through the direct control path.
[0214] According to embodiments of the present invention, such as Figure 22As shown, the power supply unit 102 is configured to draw power from the controller 200, enabling the processing unit 103 to be powered on and off based on the opening and closing of the controller 200 to form the direct control path. Specifically, the controller 200 may have multiple buttons, each corresponding to a switch control device (e.g., a relay). Operating the buttons operates the corresponding relays to turn them on or off. The power supply unit 102 is connected to the power supply through the relays; when the relays are closed, the power supply unit 102 is powered on, and when the relays are open, the power supply unit 102 is powered off. It should be noted that multiple buttons may correspond to multiple lighting power supplies 100, thereby controlling the power on / off of multiple lighting power supplies 100 through multiple buttons; a single button may also be connected to multiple lighting power supplies 100, thereby controlling the simultaneous power on / off of multiple lighting power supplies 100 through a single button. The direct control path can provide preconditions (e.g., power supply conditions) for the network control path, or trigger the processing unit 103 to enter a network-ready state based on the control of the direct control path. Furthermore, it is worth noting that by supplying power to the lighting power supply 100 through the controller 200, the problem of having to disconnect the circuit breaker when the intelligent lighting power supply 100 malfunctions in the prior art is solved. The existing method of disconnecting power by disconnecting the circuit breaker would also cause other electrical devices connected to the circuit breaker besides the lighting power supply 100 to lose power, which is undesirable. In this embodiment, when the lighting power supply 100 needs to be disconnected (e.g., due to a system crash), the controller 200 can be used to physically switch the power on / off without operating the circuit breaker, simplifying operation and improving electrical safety. In another embodiment, the relay can also be replaced by a device with power-on / off functionality, such as a physical lever.
[0215] According to an embodiment of the present invention, the processing unit 103 is configured to enter a standby distribution network state based on a selected distribution network control; the selected distribution network control may be formed based on the direct control path being switched on and off a specified number of times and / or for a specified duration;
[0216] In the pending network configuration state, a specified network configuration request is sent out, so that the electronic device receiving the request instructs the processing unit 103 to join the target network to complete the network configuration. In the already configured network configuration state, a network control path is established with the controller 200 through the target network. In one example, in the pending network configuration state, the processing unit 103 sends a network configuration message. After receiving the network configuration message, an electronic device connected to the target network, such as a gateway or mobile phone, instructs the processing unit 103 to join the target network. After the network configuration is completed, the lighting power supply 100 can communicate with network devices in the target network. The network device can be the controller 200 or other devices with networking capabilities. It should also be noted that there can be multiple lighting power supplies 100, each controlling one lighting fixture 300. Multiple lighting power supplies 100 can draw power from the controller 200, and the on / off operation of the controller 200 can realize the on / off operation of multiple lighting power supplies 100, thereby triggering multiple lighting power supplies 100 to simultaneously enter the pending network configuration state.
[0217] Furthermore, the processing unit 103 is configured to control the lighting fixture 300 to emit a first light warning signal before issuing distribution network information (distribution network message), and to control the lighting fixture 300 to emit a second light warning signal during distribution network operation; the first light warning signal and the second light warning signal differ from each other in at least one of the following: flashing frequency and color.
[0218] Furthermore, the processing unit 103 is also configured to send a reminder message once every specified interval, so that after the electronic device receives the reminder message, it can determine that the lighting power supply 100 is still online.
[0219] According to an embodiment of the present invention, when the processing unit 103 is operated through the network control path, the direct control path is in a normally energized state. This normally energized state is formed by the controller 200 being normally closed based on a selected control. For example, the selected control could be triggered by a user using a mode switching control on a mobile app. The mobile app is associated with the local controller 200, and this mode switching control can switch between the direct control path and the network control path of the local controller 200. Furthermore, when the controller 200 is implemented as a wall switch with multiple relays, when the wall switch is operated through the network control path, its relays are in a normally closed state. At this time, pressing a button will only send out the corresponding control command and will not trigger a change in the state of the corresponding relay.
[0220] The processing unit 103 is further configured to receive control commands via the network control path; the control commands are used to trigger the processing unit 103 to adjust the optical parameters of the lighting fixture 300; the optical parameters include brightness and / or color temperature. Therefore, based on this embodiment, the lighting power supply 100 can be adjusted in a switching manner by the controller 200, for example, directly adjusting to a preset state, directly adjusting the brightness to 80%, or directly turning the light off or on.
[0221] According to an embodiment of the present invention, the processing unit 103 establishes a network control path with the controller 200 through the target network in the network-connected state. Specifically, it is configured to: receive and execute the control result indicated in a control instruction in the network-connected state to form the network control path; the control instruction is generated by a server connected to the target network based on the control action currently occurring in the controller 200 and the matching target control rule, and then sent through the target network; it should be noted that the control rule is stored in a cloud server at this time. The cloud server matches the corresponding target control rule based on the control action uploaded by the controller 200, generates a control instruction based on the executable function defined by the target control rule, and then sends the control instruction to the lighting power supply 100. The processing unit 103 of the lighting power supply 100 only needs to receive and execute the control instruction. The control rule defines the triggering relationship between at least one control action of the wall switch and at least one executable function of the lighting power supply 100, which is freely determined by the user through the terminal device. The control action may be, for example, the button press or rebound action of the wall switch, and the executable function may be, for example, the inherent function of the lighting power supply 100 (e.g., turning the light on or off), or a user-defined function (e.g., a preset state).
[0222] According to an embodiment of the present invention, the processing unit 103 is configured to establish a direct control path with the controller 200 based on the network control path. This allows the user to select which direct control path to establish when multiple direct control paths exist.
[0223] According to an embodiment of the present invention, the processing unit 103 establishes a network control path with the controller 200, specifically configured as follows:
[0224] The system enters a network-ready state based on the selected network configuration. In this state, it sends a specified network configuration request to the receiving electronic device, causing the processing unit 103 to join the target network to complete the configuration. In the already configured state, a network control path is established with the controller 200 through the target network. The specific configuration process can be understood by referring to the description in the above embodiments, and will not be repeated here.
[0225] According to an embodiment of the present invention, the processing unit 103 is further configured to:
[0226] In the network-connected state, the system receives a control command sent by a controller 200 through the network control path. This control command instructs the processing unit 103 to adjust the lighting fixture 300 to a preset state. Furthermore, the lighting power supply 100 can locally predefine multiple preset states (e.g., reading, watching movies, lighting, etc.). These predefined preset states can be triggered separately based on the control commands from the controller 200, and these preset states can be predefined via electronic devices such as mobile phones. This achieves diversified control and definition methods for the lighting power supply 100's control modes.
[0227] According to an embodiment of the present invention, the processing unit 103 establishes a direct control path with the controller 200 based on the network control path, specifically configured as follows:
[0228] In the network-connected state, it is bound to at least one of the controllers 200; the binding operation can be initiated by the controller 200 or by the lighting power supply 100. In one example, when the binding operation is initiated by the controller 200, the binding operation can be triggered via the user interface of a mobile app connected to the controller 200, and the resulting binding relationship (e.g., the MAC address or unique ID number of the lighting power supply 100) can be stored in the controller 200.
[0229] After binding is complete, the controller receives and executes local control commands sent by the controller 200 to form a direct control path with the controller 200. In other words, when the controller 200 needs to control a certain lighting power supply 100, it sends a control command directly to the lighting power supply 100 through the lighting power supply 100's identification information (MAC address or ID number, etc.). After receiving the control command, the lighting power supply 100 only needs to execute it without needing to determine whether the control command is valid.
[0230] According to one embodiment of the present invention, the controller 200 is implemented as a switch device with a knob, which can adjust the optical parameters of the lighting power supply 100 in a follow-up manner by rotating the knob. Since the lighting power supply 100 needs to respond in real time during knob rotation (e.g., gradually increasing or decreasing brightness according to knob rotation), existing knobs continuously send corresponding dimming commands during rotation to ensure the rapid response of the lighting power supply 100. This results in a large number of dimming commands being generated. If the processing capacity of the processing unit 103 of the lighting power supply 100 is insufficient, it will be unable to process such a large amount of data, leading to data loss and, in severe cases, system crashes. Therefore, according to an embodiment of the present invention, the amount of data is reduced by setting intervals. Specifically, according to an embodiment of the present invention, the local control command includes a series of dimming commands sent at intervals, and the processing unit 103 is further configured to: gradually adjust the optical parameters of the lighting fixture 300 from those indicated by one dimming command to those indicated by the next dimming command, to form a continuous adjustment state of the lighting fixture 300; the optical parameters include color temperature and / or brightness. In other words, in this embodiment, the lighting power supply 100 is configured to receive dimming commands sent at intervals during the operation of the controller 200, and sequentially adjust the lighting fixture 300 to the corresponding optical parameters in a gradual manner according to each dimming command. The controller 200 sends the continuously sent dimming commands in multiple intervals, while the lighting power supply 100 fills in the data during the intervals in a gradual manner, which can reduce the pressure caused by processing too much data and will not affect the smooth visual change effect.
[0231] According to an embodiment of the present invention, the processing unit 103 is configured to establish a direct control path with the controller 200 based on power line carrier communication. Since this embodiment establishes a direct control path between the lighting power supply 100 and the controller 200 through a direct connection, when the controller 200 performs dimming operations using a knob-like component, the sent dimming command does not need to pass through the cloud, enabling point-to-point control with the lighting power supply 100. This significantly increases the transmission efficiency of the dimming command and reduces the control delay of the lighting power supply 100. The increased transmission efficiency allows the lighting power supply 100 to achieve a good following control effect even when the interval is set to 20ms-500ms. In a specific example, the interval is set to 100ms-200ms, for example, 100ms, 200ms, or 150ms.
[0232] According to embodiments of the present invention, such as Figure 23As shown, the power supply unit 102 and the processing unit 103 are integrated. The processing unit 103 is isolated from the command signal transmitted by the power supply unit 102. The processing unit 103 drives the lighting fixture 300 to perform dimming and color adjustment through a driving unit 106. The driving unit 106 can be an existing constant current dimming chip or a constant voltage dimming chip; this embodiment does not impose specific limitations. Furthermore, the processing unit 103 is directly or indirectly electrically connected to the power supply unit 102 through an access protection unit 104, so that it can access multiple signals loaded by the external power supply when the input terminal 1011 is connected to the external power supply. The access protection unit is provided with an impedance regulator 1041 to form a sudden increase in impedance of the command signal in a specific frequency range through the access protection unit 104. The access protection unit 104 is configured to pass the command signal in the specific frequency range with high impedance and to pass the power supply signal in a non-specific frequency range with low impedance; wherein the frequency of the power supply signal is less than the frequency of the command signal. In other words, the impedance regulator 1041 provides high-impedance isolation protection for command signals within a specific frequency range in the access protection unit 104. Consequently, when the command signal passes through the access protection unit 104, the presence of the impedance regulator 1041 causes most of the command signal to be blocked and unable to pass. Power supply signals, unlike the command signals, can pass smoothly with low impedance and be used for power supply. The impedance surge can be understood as follows: when a power supply signal enters the access protection unit 104 from the external power grid, the impedance regulator 1041 presents a low impedance to it, without blocking it, allowing the power supply signal to pass almost without loss; when a command signal carrying control information enters the access protection unit 104, the impedance regulator 1041 momentarily presents a high impedance to the command signal, creating a strong blocking effect, causing the signal strength of the command signal passing through the impedance regulator 1041 to be attenuated by more than 60%. Specifically, in this embodiment, the specific frequency range is set to 1MHz~12MHz, and the signal is a 50Hz or 60Hz power frequency AC signal. In one example, the specific frequency range 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 range based on actual usage requirements; no further restrictions are imposed here. The command signal can be a type of communication signal, which can be a message generated in a specific format based on a certain protocol (e.g., IEEE 1901.1). Depending on the purpose, the content of the relevant fields in the message will differ, thus forming command signals with different communication functions.
[0233] Based on the above technical solution, it can be seen that in this embodiment of the invention, an access protection unit 104 is provided in the lighting power supply 100. During the high impedance isolation process of the impedance regulator 1041 of the access protection unit 104, the power supply signal can be passed through almost without loss to ensure normal power supply, and the command signal can be protected from being attenuated by the downstream filtering element, thus maximizing the protection of the integrity and authenticity of the command signal. As a result, the processing unit 103 can extract a relatively clean command signal from the power line through the access protection unit 104, thereby improving the instability problem of power line carrier signal transmission in the power line.
[0234] According to embodiments of the present invention, such as Figure 24 As shown, the access protection unit connects a first inductor L1 in series on the neutral or live wire between the transmission unit and the power supply unit to form the impedance regulator. When the first inductor is connected to the power supply signal through the transmission unit, based on the frequency selection characteristics of the first inductor, the impedance of the command signal in a specific frequency range through the access protection unit suddenly increases.
[0235] Or, such as Figure 25 As shown, the access protection unit provides a first inductor L1 and a second inductor L2 on the neutral and live wires respectively between the transmission unit and the power supply unit to form the impedance regulator; so that when the first inductor L1 and the second inductor L2 are connected to the power supply signal via the power line, based on the frequency selection characteristics of the first inductor L1 and the second inductor L2, a sudden increase in impedance of the command signal in a specific frequency range is formed through the access protection unit; wherein the inductance values of the first inductor L1 and the second inductor L2 are the same.
[0236] Specifically, the inductance of the first inductor and / or the second inductor is set to 33uH~1mH. In one example, both the first inductor and the second inductor are set to 1mH. In another example, both the first inductor and the second inductor are set to 330uH, so that the self-resonant frequency of the access protection unit 104 is within the specific frequency range, thereby ensuring that the access protection unit 104 has higher insertion loss within the specific frequency range, achieving a better protection effect for the command signal.
[0237] According to embodiments of the present invention, such as Figure 26As shown, the processing unit 103 is isolated from the impedance regulator 1041 in the access protection unit by a transformer 1051 and a capacitor 1052. The transformer has the capacitor 1052 connected in series between its primary side and the end of the impedance regulator 1041 of the access protection unit 104 facing the input terminal 1011, and its secondary side is directly or indirectly electrically connected to the processing unit 103. With the power line connected to the input terminal 1011, the capacitor 1052 is electrically connected to the primary side of the transformer 1051, forming a transceiver unit 105 selective for the specific frequency range. This allows the processing unit 103 to receive the command signal isolated from the secondary side of the transformer 1051, preventing the high-voltage power supply signal from directly contacting the processing unit 103 and risking it being burned out. Similarly, when the processing unit 103 needs to send an instruction signal carrying control information to the outside, it injects the instruction signal to be sent into the primary side of the transformer 1051 through the secondary side isolation ground of the transformer 1052, and then couples the instruction 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 transformer 1051 and the capacitor 1052.
[0238] The lighting power supply 100 provided according to the above embodiment, such as Figure 27 As shown, the present invention also provides a lighting system, comprising:
[0239] Controller 200 is used to accept control input;
[0240] A lighting power supply 100 is adapted to be coupled between an external power source and at least one lighting fixture 300, and to operate when supplied with power from the external power source, and the lighting power supply 100 is capable of establishing at least one of a direct control path and a network control path with the controller 200.
[0241] The controller 200 is configured in a first mode to operate the lighting power supply 100 based on the direct control path, and is configured in a second mode to operate the lighting power supply 100 based on the network control path.
[0242] Furthermore, the lighting power supply 100 provided by this lighting system can be operated through two control paths: direct control and network control, thereby forming multiple control modes of the controller 200. This allows the lighting power supply 100 to be directly controlled locally based on the controller 200, or to be multi-facetedly controlled via the network, in order to meet the needs of various control scenarios.
[0243] like Figure 28As shown, the controller 200 is implemented as a wall switch. The wall switch communicates via a wired connection, specifically by loading the communication signal into the power supply signal, thereby transmitting data via wired connection based on the power line, achieving data communication capability wherever there is a power line. In the following embodiments, the controller 200 will be specifically described as a wall switch with wired communication capability.
[0244] According to an embodiment of the present invention, the lighting power supply 100 is further configured to establish the network control path based on the direct control path. Therefore, when the network control path fails or becomes uncontrollable, it can be corrected through the direct control path.
[0245] According to embodiments of the present invention, such as Figure 29 As shown, the wall switch (i.e., controller 200) has a switch, and the lighting power supply 100 is configured to draw power through the switch, enabling the lighting power supply 100 to be powered on and off based on the opening and closing of the switch to form a direct control path in the first mode. Specifically, the switch can be a relay, which forms an output channel for external power supply, through which the lighting power supply 100 draws power; the wall switch also has buttons, and pressing and / or releasing the buttons can control the closed / open state of the relays. It should be noted that the wall switch can have multiple buttons, each button corresponding to a relay (i.e., switch), and each relay can control the on / off state of one lighting power supply. Specifically:
[0246] According to an embodiment of the present invention, the wall switch (i.e., controller 200) is configured to disable the first mode when switching to the second mode, so as to keep the switch normally closed in the second mode. Furthermore, when a button and its corresponding lighting power supply are directly controlled via a relay, a direct control path is formed; when controlled via network data signals instead of a relay, a network control path is formed. When a network control path is formed, the relay corresponding to the lighting power supply needs to be set to a normally closed state to ensure the power supply of the lighting power supply.
[0247] According to an embodiment of the present invention, the lighting power supply 100 is configured to enter a network-pending state based on a selected network distribution control; in the network-pending state, it sends a specified network distribution request message to an electronic device receiving the request message, so that the lighting power supply 100 joins the target network to complete the network distribution; in the network-pending state, a network control path is established with the wall switch (i.e., controller 200) through the target network. The specific network distribution process can be understood by referring to the description in the above embodiments, and will not be repeated here. According to an embodiment of the present invention, the wall switch (i.e., controller 200) is configured to switch between a first mode and a second mode based on a switching command originating from the electronic device. In one example, the electronic device is a mobile phone, and the user switches the first mode and the second mode of the electronic device based on an app application interface on the mobile phone corresponding to the wall switch.
[0248] According to an embodiment of the present invention, when the lighting power supply 100 is operated through the network control path, the direct control path is in a normally powered state; the lighting power supply 100 is further configured to receive control commands through the network control path; the control commands are used to trigger the processing unit 103 to adjust the optical parameters of the lighting fixture 300; the optical parameters include brightness and / or color temperature.
[0249] In one embodiment, when the wall switch has multiple buttons, the direct control path and the network control path can be formed simultaneously. That is, the direct control path and the network control path can be formed separately, meaning the lighting power supply 100 does not need to establish the network control path based on the direct control path. Specifically:
[0250] According to an embodiment of the present invention, the controller 200 has multiple buttons, at least a first button having a corresponding switch, and at least a second button not having a corresponding switch; the first button is used to control the corresponding lighting power supply via a direct control path or a network control path, and the second button is used to control the corresponding lighting power supply via a network control path. Therefore, the controller 200 can simultaneously have multiple control modes to accommodate more application scenarios.
[0251] It should be noted that the functions of the first and second buttons on the controller 200 can be pre-set at the factory or customized by the user later. The controller 200 has network connectivity, allowing it to connect to the user's personal electronic device (e.g., a mobile phone) via a network. The user can then configure the specific control paths for the first and second buttons through an application associated with the controller 200 on the electronic device. For example, when the first button is set to a first control mode, it can control the corresponding lighting power supply directly, i.e., by controlling the opening and closing of a relay to control the power supply's on / off state. When the first button is set to a second control mode, it can control the corresponding lighting power supply via a network control path. In this case, the relay corresponding to the first button will be set to a normally closed state. After the first button is triggered, the corresponding trigger event will be uploaded to a cloud server via the network. The control rules stored on the cloud server will then match the corresponding executable function and issue the control command corresponding to that executable function to the lighting power supply.
[0252] In one example, the wall switch has four buttons, three of which are equipped with corresponding relays, and one button is not equipped with a corresponding relay. The three buttons with relays control three lighting power supplies respectively. These three buttons can operate in a first mode to directly control the power supply to / from the corresponding lighting power supply, and in a second mode to control the corresponding lighting power supply via a network control path. The button without a relay is always in the second mode, i.e., controlling the corresponding lighting power supply via a network control path. The operating mode of all four buttons can be modified through an app application on a mobile phone connected to the wall switch.
[0253] According to an embodiment of the present invention, the lighting power supply 100, in a network-connected state, establishes a network control path with the wall switch (i.e., controller 200) through the target network. Specifically, this can be achieved by defining control rules and storing them on a cloud server, or by defining control rules and sending them from the cloud to the controller 200. Specifically, in one embodiment,
[0254] The lighting power supply 100 is configured to receive and execute the control result indicated in a control command in a network-connected state to form the network control path; the control command is generated by a server connected to the target network based on the current control action of the wall switch (i.e., controller 200) and the matching target control rules, and is sent through the target network.
[0255] In another embodiment, the wall switch (i.e., controller 200) is configured to receive and store at least one control rule issued by a server connected to the target network in a network-connected state; in response to a control action, it matches a target control rule based on the control rule, and sends a control command to the lighting power supply 100 according to the executable function pointed to by the target control rule, so that the lighting power supply 100 executes the executable function to form the network control path; the control rule defines the triggering relationship between at least one control action of the wall switch and at least one executable function of the lighting power supply 100.
[0256] Of course, the control rules can also exist simultaneously on the cloud server and in the local memory of the wall switch. After the user modifies the control rules, they are uploaded to the cloud, and the cloud periodically sends updated control rules to the wall switch to achieve synchronization of the control rules between the two. The control rules define the triggering relationship between at least one control action of the wall switch and at least one executable function of the lighting power supply 100, which is freely determined by the user through the terminal device. The control action can be, for example, a button press or a rebound action of the wall switch, and the executable function can be, for example, an inherent function of the lighting power supply 100 (e.g., turning the light on or off), or a function defined later (e.g., a preset state).
[0257] According to the lighting power supply 100 provided in the above embodiments, the present invention also provides a lighting system, including: a controller 200 and a lighting power supply 100, wherein an operable connection is established between the controller 200 and the lighting power supply 100; specifically:
[0258] The controller 200 is used to receive control input;
[0259] The lighting power supply 100 is adapted to be coupled between an external power source and at least one lighting fixture 300, and to operate when supplied with power from the external power source, and the lighting power supply 100 is capable of establishing at least one of a direct control path and a network control path with the controller 200.
[0260] The controller 200 is configured in a first mode to operate the lighting power supply 100 based on the direct control path, and in a second mode to operate the lighting power supply 100 based on the network control path. Therefore, the lighting power supply 100 provided by this lighting system can be operated through both direct control and network control paths, thus forming multiple control modes for the controller 200. This allows the lighting power supply 100 to be directly controlled locally based on the controller 200, or to be subjected to diversified network control, to meet the needs of various control scenarios.
[0261] like Figure 30 As shown, the controller 200 is implemented as a rotary switch. The rotary switch communicates via a wired connection, specifically by loading the communication signal into the power supply signal, thereby enabling wired data transmission based on the power line, achieving data communication capability wherever there is a power line. The rotary switch establishes a direct control path with the controller 200 based on power line carrier communication. Since this embodiment establishes a direct control path between the lighting power supply 100 and the rotary switch through a direct connection, when the rotary switch is used for dimming, the dimming command sent does not need to pass through the cloud, enabling point-to-point control with the lighting power supply 100. This significantly increases the transmission efficiency of the dimming command and reduces the control delay of the lighting power supply 100. The increased transmission efficiency allows the dimming command to be sent intermittently, and the interval can be set from 20ms to 500ms to achieve a good following control effect of the lighting power supply 100. In a specific example, the interval is set to 100ms to 200ms, for example, 100ms, 200ms, or 150ms.
[0262] In the following embodiments, the controller 200 will be specifically described as a rotary switch with wired communication capability.
[0263] According to an embodiment of the present invention, the lighting power supply 100 establishes a network control path with the rotary switch (i.e., the controller 200), specifically configured as follows:
[0264] Enter the standby network state according to the selected distribution network control;
[0265] In the standby network state, a specified network configuration request is sent out so that the electronic device receiving the network configuration request instructs the lighting power supply 100 to join the target network to complete the network configuration;
[0266] In the network-connected state, a network control path is established with the rotary switch (i.e., controller 200) through the target network.
[0267] According to an embodiment of the present invention, the lighting power supply 100, in a network-connected state, establishes a network control path with the rotary switch (i.e., controller 200) through the target network. Specifically, this can be achieved by defining control rules and storing them on a cloud server, or by defining control rules and sending them from the cloud to the rotary switch. Specifically, in one embodiment,
[0268] The lighting power supply 100 is configured to receive and execute the control result indicated in a control command in a network-connected state to form the network control path; the control command is generated by a server connected to the target network based on the current control action of the rotary switch and the matching target control rules, and is sent through the target network.
[0269] In another embodiment, the rotary switch is configured to receive and store at least one control rule issued by a server connected to the target network in a network-connected state; in response to a control action, it matches a target control rule based on the control rule, and sends a control command to the lighting power supply 100 according to the executable function pointed to by the target control rule, so that the lighting power supply 100 executes the executable function to form the network control path; the control rule defines the triggering relationship between at least one control action of the rotary switch and at least one executable function of the lighting power supply 100.
[0270] Of course, the control rules can also exist simultaneously on the cloud server and in the local memory of the rotary switch. After the user modifies the control rules, they are uploaded to the cloud, and the cloud periodically sends updated control rules to the rotary switch to achieve synchronization of the control rules between the two. The control rules define the triggering relationship between at least one control action of the rotary switch and at least one executable function of the lighting power supply 100, which is freely determined by the user through the terminal device. The control action can be, for example, a button press or a rebound action of the rotary switch, and the executable function can be, for example, an inherent function of the lighting power supply 100 (e.g., turning the light on or off), or a function defined later (e.g., a preset state).
[0271] In some embodiments, the rotary switch (i.e., controller 200) has a switching function. This switching function can be implemented by a relay controlled by a hidden button on the rotary switch. The relay is used to generate a control output to an external electrical appliance; when the relay is closed, this output supplies power, and when the relay is open, the output is cut off.
[0272] According to an embodiment of the present invention, the lighting power supply 100 is configured to draw power through the rotary switch, so that the lighting power supply 100 can be powered off and on based on the opening and closing of the rotary switch; the selected power distribution operation includes a specified number of power on / off switching operations, and / or a specified duration between power on / off operations. Furthermore, based on the solution provided by this embodiment, the lighting power supply 100 can be conveniently triggered into a power distribution standby state via the rotary switch, and since the rotary switch is generally located in an easily accessible position, the difficulty of triggering the lighting power supply 100 into the power distribution standby state is indirectly reduced.
[0273] Furthermore, it is worth noting that there can be multiple lighting power supplies 100, each controlling one lighting fixture 300. All lighting power supplies 100 can draw power from the rotary switch, and the closing / closing of the relay on the rotary switch can achieve the on / off operation of multiple lighting power supplies 100, triggering multiple lighting power supplies 100 to simultaneously enter a network-ready state. In one example, the rotary switch has a hidden button and a relay, which are linked (e.g., pressing the hidden button disconnects the relay, pressing it again closes the relay), thus the rotary switch can be turned on / off by operating the hidden button. This hidden button is concealed (not exposed during daily use); when the user needs to trigger the lighting power supply 100 for network connection, a cover must be removed to operate the hidden button. Operating the hidden button turns the relay on / off. In a specific implementation, the rotary switch can be suitable for an 86×86 wall switch box. Furthermore, in this way, the relay is normally closed when the rotary switch of this embodiment is working normally to ensure the power supply of the lighting power supply 100. A hidden button is provided to control the relay so as to reset at least one lighting power supply 100 that draws power from the relay. Moreover, this hidden button is not visible and is not easy to touch, thereby preventing accidental triggering.
[0274] Furthermore, in some embodiments, a first operation on the hidden button of the rotary switch can trigger its internal relay to automatically open and / or close according to a preset pattern, thereby forming a selected network control for the lighting power supply drawn from the relay. The first operation can be a relatively simple operation such as a long press or double-click, thus automatically triggering the relay to form a complex operation to induce the corresponding lighting power supply to enter a network-ready state.
[0275] In some embodiments, the rotary switch itself has networking capabilities, and the rotary switch is also triggered to enter the network distribution mode by operating the hidden button, which is defined as the second operation; then the second operation needs to be different from the first operation so that the internal processing device of the rotary switch can distinguish them. Furthermore, according to an embodiment of the present invention, the rotary switch has a hidden button and is configured to enter a self-network distribution state in response to the second operation of the hidden button (i.e., the rotary switch itself enters a network-waiting state, so that the corresponding electronic device discovers the network distribution request message sent by the rotary switch and instructs the rotary switch to join the corresponding network), or, in response to the first operation of the hidden button, triggers its internal relay to automatically open and / or close according to a preset rule, so as to form a selected network distribution control for lighting power supply drawn through the relay.
[0276] In one example, the first control is set to a double-click control, the second control is set to a long press control of 5 seconds or more, and the power supply network control for the lighting power is set to switch between power off and power on 8 times. Furthermore, when the rotary switch detects that the hidden button has been double-clicked, it automatically switches the internal relay of the controller between open and closed states 8 times to form the selected network control for the lighting power, thereby triggering the lighting power to enter the network-pending state. When the rotary switch detects that the hidden button has been pressed for more than 5 seconds, it will not operate its internal relay and will enter the network-pending state. In this state, the rotary switch sends out a network-pending request message (the message carries the rotary switch's inherent information, such as product ID, MAC address, product type, etc.), enabling an electronic device or gateway to discover the rotary switch based on the network-pending request message and connect it to the target network to complete the rotary switch's self-network configuration. It should be noted that by simply operating the second operation, the relay of the rotary switch can be triggered to automatically perform complex power distribution control, making it easier for the lighting power supply 100 to be triggered into the standby state when it draws power through the relay of the rotary switch, without the need for manual and complicated power on / off operations.
[0277] According to an embodiment of the present invention, the lighting power supply 100 is further configured as follows:
[0278] In the network-connected state, the control command sent by the rotary switch (i.e., controller 200) is received through the network control path; the control command is used to instruct the lighting power supply 100 to adjust the lighting fixture 300 to a certain preset state.
[0279] According to an embodiment of the present invention, the lighting power supply 100 is configured to establish a direct control path with the rotary switch (i.e., the controller 200) based on the network control path. Furthermore, the establishment of the direct control path is controlled by the network control path.
[0280] Furthermore, according to an embodiment of the present invention, the lighting power supply 100 establishes a direct control path with the rotary switch (i.e., controller 200) based on the network control path, specifically configured to be bound to at least one rotary switch (i.e., controller 200) in the network-connected state.
[0281] After binding is completed, the local control command sent by the rotary switch (i.e., controller 200) is received and executed to form a direct control path with the rotary switch (i.e. controller 200).
[0282] It should be noted that the binding operation can be initiated by either the rotary switch or the lighting power supply 100. In one example, when the binding operation is initiated by the rotary switch, it can be triggered via the user interface of a mobile app connected to the rotary switch. The resulting binding relationship (e.g., the MAC address or unique ID number of the lighting power supply 100) can then be stored in the rotary switch. For instance, when a user clicks the "Bind Lighting Fixture" button in the rotary switch's app user interface, all bindable lighting power supplies (i.e., smart lighting power supplies connected to the same target network) will be listed. The user can select one or more lighting power supplies to complete the binding, establishing a direct control path between the lighting power supply and the rotary switch. After binding, the rotary switch can directly send control commands to the bound lighting power supplies via a local path (i.e., without forwarding through a cloud server). In other words, when a rotary switch needs to control a lighting power supply 100, it first binds the lighting power supply to the mobile phone to obtain the lighting power supply's identification information (MAC address or ID number, etc.), and then sends a control command directly to the lighting power supply 100 based on the identification information. After receiving the control command, the lighting power supply 100 only needs to execute it without judging whether the control command is valid.
[0283] According to an embodiment of the present invention, the local control command includes a series of dimming commands sent at intervals, and the lighting power supply 100 is further configured to:
[0284] The lighting fixture 300 is gradually adjusted from the optical parameters indicated by one dimming command to the optical parameters indicated by the next dimming command to form a continuous adjustment state of the lighting fixture 300; the optical parameters include color temperature and / or brightness.
[0285] According to the functions of the lighting power supply 100 provided in the above embodiments, such as Figure 31 As shown, the present invention also provides an illumination method, the illumination method comprising as follows: Figure 31 As shown in A1~A3; specifically, the method includes:
[0286] A1. Establish a direct control path with a controller 200;
[0287] A2. Establish a network control path with the controller 200;
[0288] A3. The lighting fixture 300 is operated via at least one of two control paths of the same controller 200.
[0289] According to an embodiment of the present invention, step A2 further includes:
[0290] A21. Establish the network control path based on the direct control path.
[0291] According to an embodiment of the present invention, the lighting power supply 100 is configured to draw power from the controller 200; step A1 further includes:
[0292] A11. The controller 200 is de-energized and energized based on its opening and closing to form the direct control path.
[0293] According to an embodiment of the present invention, step A21 further includes:
[0294] A211. Enter the standby network state according to the selected distribution network control;
[0295] A212. In the standby network state, a specified network configuration request is sent to the outside so that the electronic device receiving the network configuration request instructs the lighting power supply 100 to join the target network to complete the network configuration.
[0296] A213. In the network configuration state, establish a network control path with the controller 200 through the target network.
[0297] According to an embodiment of the present invention, when the lighting power supply 100 is operated through the network control path, the direct control path is in a constantly powered state;
[0298] Step A3 further includes:
[0299] A31. Receive control commands through the network control path; the control commands are used to trigger the processing unit 103 to adjust the optical parameters of the lighting fixture 300; the optical parameters include brightness and / or color temperature.
[0300] According to an embodiment of the present invention, step A213 specifically includes A2131 and / or A2132 to A2134. Wherein:
[0301] A2131. In the network-connected state, receive and execute the control result indicated in a control command to form the network control path; the control command is generated by a server connected to the target network based on the control action currently occurring in the controller 200 and the matching target control rules, and is issued through the target network; the control rules define the triggering relationship between at least one control action of the controller 200 and at least one executable function of the lighting power supply 100.
[0302] A2132. Receive and store at least one control rule issued by a server connected to the target network while the network is already configured.
[0303] A2133. Receive a control command, and determine a matching target control rule among all control rules based on the control action information carried in the control command; the control rule defines the triggering relationship between at least one control action of the controller 200 and at least one executable function of the lighting power supply 100.
[0304] A2134. The executable functions defined by the target control rules are executed to form the network control path.
[0305] According to an embodiment of the present invention, step A2 further includes:
[0306] A22. Establish a direct control path with the controller 200 based on the network control path.
[0307] According to an embodiment of the present invention, the lighting power supply 100 establishes a network control path with the controller 200, specifically including:
[0308] A221. Enter the standby network state according to the selected distribution network control;
[0309] A222. In the standby network state, a specified network configuration request is sent to the outside so that the electronic device receiving the network configuration request instructs the lighting power supply 100 to join the target network to complete the network configuration.
[0310] A223. In the network configuration state, establish a network control path with the controller 200 through the target network.
[0311] According to an embodiment of the present invention, step A3 further includes:
[0312] A32. Under the network configuration state, receive the control command sent by the controller 200 through the network control path; the control command is used to instruct the lighting power supply 100 to adjust the lighting fixture 300 to a certain preset state.
[0313] According to an embodiment of the present invention, the lighting power supply 100 establishes a direct control path with the controller 200 based on the network control path, specifically including:
[0314] A224. In the network-configured state, it is bound to at least one of the controllers 200;
[0315] A225. After binding is completed, receive and execute the local control commands sent by the controller 200 to form a direct control path with the controller 200.
[0316] According to an embodiment of the present invention, the local control command includes a series of dimming commands sent at intervals, and the method further includes:
[0317] A33. The lighting fixture 300 is gradually adjusted from the optical parameters indicated by a dimming command to the optical parameters indicated by the next dimming command to form a continuous adjustment state of the lighting fixture 300; the optical parameters include color temperature and / or brightness.
[0318] According to an embodiment of the present invention, step A1 further includes:
[0319] A12. A direct control path is established between the controller 200 and the controller using power line carrier communication, such that the interval is set to 20ms-500ms, preferably 100ms-200ms.
[0320] like Figure 32 As shown, the present invention also provides a lighting method applied in a controller 200, the method comprising:
[0321] B1. Establish at least one of a direct control path and a network control path with a lighting power supply 100;
[0322] B2. Operate in the first mode to operate the lighting power supply 100 based on the direct control path; and / or,
[0323] B3. Operate in the second mode to operate the lighting power supply 100 based on the network control path.
[0324] Based on the lighting method provided by the present invention, the controller 200 can operate the lighting power supply 100 through two control paths: direct control and network control, thereby forming multiple control modes of the controller 200. This allows the lighting power supply 100 to be directly controlled locally based on the controller 200, or to be multi-facetedly controlled via the network, in order to meet the needs of various control scenarios.
[0325] According to an embodiment of the present invention, the controller 200 has a switch configured to control the power supply of the lighting power supply 100 to be turned on or off; step B2 specifically includes: turning off and turning on the power supply circuit of the lighting power supply 100 based on the opening and closing of the switch to form a direct control path in the first mode.
[0326] Specifically, the controller 200 may have multiple buttons, each corresponding to a relay. By manipulating the buttons, the corresponding relay can be turned on or off. The power supply unit 102 is connected to a power source through the relays. When the relays are closed, the power supply unit 102 is powered; when the relays are open, the power supply unit 102 is de-energized. It should be noted that multiple buttons can each correspond to multiple lighting power supplies 100, thus controlling the power on / off of multiple lighting power supplies 100 through multiple buttons. A single button can also be connected to multiple lighting power supplies 100, thus controlling the simultaneous power on / off of multiple lighting power supplies 100 through a single button. The direct control path can provide preconditions (e.g., power supply conditions) for the network control path, or trigger the processing unit 103 to enter a network-ready state based on the control of the direct control path. Furthermore, it is worth noting that by supplying power to the lighting power supply 100 through the controller 200, the problem of having to disconnect the circuit breaker when the intelligent lighting power supply 100 malfunctions in the prior art is solved. The existing method of disconnecting power by disconnecting the circuit breaker would also cause other electrical devices connected to the circuit breaker besides the lighting power supply 100 to lose power, which is undesirable. In this embodiment, when the lighting power supply 100 needs to be disconnected (e.g., due to a system crash), the controller 200 can be used to physically switch the power on / off without operating the circuit breaker, simplifying operation and improving electrical safety. In another embodiment, the relay can also be replaced by a device with power-on / off functionality, such as a physical lever.
[0327] According to an embodiment of the present invention, the method includes:
[0328] A direct control path is established with the lighting power supply 100 via power line communication, and a network control path is established with the lighting power supply 100 via cloud communication.
[0329] According to embodiments of the present invention, such as Figure 33 As shown, the method further includes:
[0330] B4. The switch is initiated by a switching command to switch between a first mode and a second mode; and the first mode is disabled when switching to the second mode, so that the switch remains normally closed in the second mode. The switching command may come from an electronic device, such as a mobile application (app). For example, a mode switching control on a mobile app may be triggered by the user. The mobile app is associated with the controller 200, and the mode switching control can switch between the direct control path and the network control path of the controller 200. When the controller 200 is implemented as a wall switch with multiple relays, when the wall switch is operated through the network control path, its relays are in a normally closed state. Pressing the button at this time will only send out the corresponding control command and will not trigger a change in the state of the corresponding relay.
[0331] It should be noted that the order of steps A1~A3 and B1~B4 above can be adjusted adaptively based on actual applications. The numbers A1~A3 or B1~B4 are only for the convenience of description and should not be construed as a restriction on the execution order of the method steps in this embodiment.
[0332] In the description of this specification, the references to terms such as "some embodiments," "a specific implementation method," "a specific implementation process," and "an example" indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms correspond to specific features, structures, materials, or characteristics that can be combined in any suitable manner in one or more embodiments or examples.
[0333] It should also be noted that the above embodiments can be combined with each other. For the same or similar concepts or processes, they may not be described again in some embodiments. That is, the technical solutions disclosed in the later (in the order of the text) embodiments should include the technical solutions described in this embodiment and the technical solutions described in all embodiments before this embodiment.
[0334] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions 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. A lighting power supply, characterized in that, include: The delivery terminal includes an input terminal for electrically connecting to an external power source and an output terminal for electrically connecting to a lighting fixture, so as to electrically connect the lighting power source between the lighting fixture and the external power source; A power supply unit, electrically connected between the input terminal and the output terminal, is configured to be supplied with power from the external power source to generate operating power. A processing unit electrically connected to the power supply unit, which is supplied with the operating power from the power supply unit for operation; and the processing unit is operatively connected to the lighting fixture and configured to: It is possible to establish a direct control path with at least one first controller to operate the continuous dimming of the lighting power supply through the first controller.
2. The lighting power supply according to claim 1, characterized in that, The processing unit is further configured to: establish a network control path with at least one second controller to operate the lighting power supply through the second controller; and the processing unit is further configured to have a two-way remote control function so that a preset state of the processing unit can be triggered based on the direct control path, and further can be triggered based on the network control path.
3. The lighting power supply according to claim 2, characterized in that, The processing unit is also configured to have a dual-path linkage function, so that the processing unit can modify a preset state based on either the first controller or the second controller, and trigger the modified preset state based on the other of the first controller and the second controller.
4. The lighting power supply according to claim 2, characterized in that, The processing unit is further configured to establish a direct control path with the second controller, and the direct control path and the network control path with the second controller can be switched.
5. The lighting power supply according to claim 4, characterized in that, The processing unit is further configured to establish a direct control path with the second controller via a direct connection, establish a network control path with the second controller via a gateway, and switch the control path with the second controller to the direct control path when the network control path is unavailable.
6. The lighting power supply according to claim 2, characterized in that, The processing unit establishes a network control path with at least one second controller, specifically configured as follows: It is suitable for responding to a distribution network control to directly enter the distribution network standby state, or being reset by a reset control to re-enter the distribution network standby state; In the standby network state, a specified network configuration request is sent out so that the electronic device receiving the request instructs the processing unit to join a target network, thereby establishing a network control path with a second controller in the target network.
7. The lighting power supply according to claim 6, characterized in that, The power supply unit draws power from the first controller, so that the processing unit can be powered off and powered on based on the opening and closing of the first controller; the distribution network control and / or the reset control include power on and / or power off; The processing unit is further configured to count the number of power-on / power-off switching events, and / or to time the duration between power-on / power-off events, and to enter a standby network state when a specified requirement is met.
8. The lighting power supply according to claim 6, characterized in that, The processing unit, in the network-connected state, establishes a network control path with the second controller through the target network, specifically configured as follows: In the network-configured state, a control command is received and executed to form the network control path; the control command is generated by a server connected to the target network based on the control action currently occurring in the second controller and the matching target control rule, and issued through the target network; and / or, in the network-configured state, at least one control rule issued by a server connected to the target network is received and stored, and a control command is further received. Based on the control action information carried in the control command, a matching target control rule is determined among all control rules, and the executable function defined by the target control rule is executed to form the network control path. The control rules define the triggering relationship between at least one control action of the second controller and at least one executable function of the lighting power supply.
9. A lighting system, characterized in that, include: The first controller is used to receive control input; A lighting power supply adapted to be coupled between an external power source and at least one lighting fixture, and to operate when supplied with power from the external power source, wherein the lighting power supply is capable of establishing a direct control path with a first controller to operate continuous dimming of the lighting power supply via the first controller.
10. A lighting method suitable for application to a lighting power supply coupled between an external power supply and at least one lighting fixture; characterized in that, The method includes: Establish a direct control path with at least one first controller to operate the lighting power supply via the first controller; and, Establish a network control path with at least one second controller to operate the lighting power supply through the second controller.