Intelligent lamp system, control method thereof and electronic equipment
By integrating the light-on power-out circuit and the switch identification circuit in the intelligent switch, the intelligent light system can still control the intelligent light after the mechanical switch is turned off, and the circuit load is increased through the second load, avoiding the power outage of the intelligent switch, and solving multiple problems of the intelligent light system in the existing technology.
Patent Information
- Application Number
- CN202510103538.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-04-29
AI Technical Summary
The existing smart light system cannot control the smart light after the mechanical switch is turned off, and the load capacity of the single-fire smart switch is insufficient, resulting in power failure, making it difficult to control the dual switch, which increases the operating cost of the system.
The light-on power-up circuit and switch identification circuit are integrated in the smart switch, and connected to the wireless module in the smart light through wireless communication, a wireless signal is generated to control the driving state of the lighting driving module, ensuring that the smart light always maintains the working state, and turning on the second load when the power consumption of the smart light is lower than the preset threshold to increase the circuit load.
It solves the problem that the smart light cannot be controlled after the mechanical switch is disconnected, avoids the power outage of the smart switch, realizes the single control and dual control functions of the smart light system, and reduces the operating cost of the system.
Smart Images

Figure CN119907166A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart lamp technology or other related fields, and in particular to a smart lamp system and a control method thereof, and an electronic device. Background Art
[0002] Smart lights and smart switches are common components in smart lighting systems and are widely used in office lighting, home lighting and other fields. Smart lights can be remotely controlled using mobile phones, smart speakers and other devices through wireless communication, thereby realizing smart lighting. Smart lights receive control signals through wireless modules and drive LEDs through LED drive circuits to create lighting effects. Smart switches integrate mechanical switches and wireless modules to achieve the dual functions of mechanical switches and wireless control.
[0003] In the related art, when the smart light system only includes a mechanical switch, when the mechanical switch is disconnected, the smart light is in a power-off state, and all functions of the smart light backend cannot be used. If the mechanical switch is always in the on state, the user can only control the smart light through a terminal such as a mobile phone, and the role of the mechanical switch cannot be reflected. The existing single-live-wire smart light system including a smart switch needs to obtain voltage and draw current regularly to maintain the operation of the smart switch, but the power of the smart light is too small, which will limit this current, resulting in insufficient load capacity of the smart switch and power failure. There is a use scenario of turning off the lights in the use scenario of smart lights. In this case, it is very easy for the smart switch to lose power. At the same time, it is difficult for the existing smart light system including smart switches to realize the control of dual switches. If you want to realize the dual control function, you need multiple sets of wireless control equipment and batteries, which will significantly increase the operating cost of the system.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a smart lamp system and a control method thereof, and an electronic device, so as to at least solve the technical problem in the related art that the smart lamp cannot be controlled after the mechanical switch is disconnected.
[0006] According to one aspect of an embodiment of the present invention, a smart light system is provided, comprising: a smart switch and a smart light, wherein the smart light comprises: an AC / DC conversion circuit, a lighting component, a lighting drive module and a wireless module, the AC / DC conversion circuit is connected with the wireless module, the lighting drive module and the lighting component, the lighting drive module is connected with the wireless module and the lighting component, wherein the AC / DC conversion circuit is used to power components other than the AC / DC conversion circuit in the smart light, the lighting drive module is used to drive the lighting component to adjust the lighting state, the wireless module is used to communicate with the wireless control integrated circuit in the smart switch, and outputs a wireless signal according to the wireless control integrated circuit. Control the driving state of the lighting driving module; the intelligent switch includes: a light-on power-taking circuit, a wireless control integrated circuit, a switch identification circuit and a first mechanical switch, the light-on power-taking circuit is connected to the wireless control integrated circuit, the wireless control integrated circuit is connected to the switch identification circuit, the first mechanical switch is connected to the light-on power-taking circuit and the switch identification circuit, wherein the light-on power-taking circuit is used to supply power to the smart light and the wireless control integrated circuit, the switch identification circuit is used to generate an identification signal according to the output signal of the light-on power-taking circuit, the wireless control integrated circuit is communicated with the wireless module in the smart light through a wireless communication network, and generates a wireless signal according to the identification signal output by the switch identification circuit.
[0007] Optionally, the smart light further includes: a second load, which is connected to the wireless module, and is turned on when the power consumption of the smart light is lower than a preset power consumption threshold.
[0008] Optionally, the AC / DC conversion circuit includes: an AC / DC conversion unit and a DC voltage control unit, the AC / DC conversion unit is connected to the intelligent switch, the DC voltage control unit and the AC power supply, the DC voltage control unit is connected to the AC / DC conversion unit, the wireless module, the lighting component and the second load, wherein the AC / DC conversion unit is used to convert the AC voltage into a DC voltage, and the DC voltage control unit is used to adjust the DC voltage.
[0009] Optionally, the switch identification circuit includes: a functional unit and a protection unit, wherein the protection unit is connected to the light-on power-drawing circuit and the functional unit, and the functional unit is connected to the wireless control integrated circuit.
[0010] Optionally, in the switch identification circuit, the functional unit includes: a current limiting resistor, an energy storage capacitor, a discharge resistor, a MOS tube and a pull-up resistor, and the protection unit includes: a diode and a voltage regulator tube, wherein the first end of the diode is connected to the light-on power supply circuit, the second end of the diode is connected to the first end of the current limiting resistor, the second end of the current limiting resistor is connected to the first end of the energy storage capacitor, the first end of the discharge resistor, the first end of the voltage regulator tube and the first end of the MOS tube, the second end of the energy storage capacitor, the second end of the discharge resistor, the second end of the voltage regulator tube and the second end of the MOS tube are grounded, the third end of the MOS tube is connected to the wireless control integrated circuit and the first end of the pull-up resistor, and the second end of the pull-up resistor is connected to the pull-up voltage.
[0011] Optionally, the MOS tube is an NMOS tube or a PMOS tube.
[0012] Optionally, if the smart lamp system is in dual control mode, the smart switch also includes: a second switch identification circuit and a second mechanical switch, wherein the second switch identification circuit is connected to the wireless control integrated circuit and the second mechanical switch, and the second mechanical switch is connected to the AC / DC conversion circuit, the second switch identification circuit and the light-on power-taking circuit in the smart lamp.
[0013] According to one aspect of an embodiment of the present invention, a control method for a smart lamp system is provided. When the smart switch is suitable for a mechanical switch, the control method includes: if the smart lamp system is in a single control mode, when the smart lamp is in a lit state, when a mechanical action of the mechanical switch of the smart lamp system is detected, the switch identification circuit in the smart switch outputs a first signal to the wireless control integrated circuit to control the smart lamp to turn off; when the smart lamp is in an off state, when a mechanical action of the mechanical switch of the smart lamp system is detected, the switch identification circuit in the smart switch outputs a second signal to the wireless control integrated circuit to control the smart lamp to turn on; wherein, when the mechanical switch is in an open state, the mechanical action is closed; when the mechanical switch is in a closed state, the mechanical action is open.
[0014] Optionally, when the smart switch is suitable for a mechanical switch, the control method also includes: if the smart lamp system is in a dual-control mode, when the smart lamp is in an on state, when the first mechanical switch or the second mechanical switch in the smart lamp system is detected to have a mechanical action, the first switch identification circuit or the second switch identification circuit in the smart switch outputs a first signal to the wireless control integrated circuit to control the smart lamp to turn off; when the smart lamp is in an off state, when the first mechanical switch or the second mechanical switch in the smart lamp system is detected to have a mechanical action, the first switch identification circuit or the second switch identification circuit in the smart switch outputs a second signal to the wireless control integrated circuit to control the smart lamp to turn on; wherein, when the first mechanical switch or the second mechanical switch is in an off state, the mechanical action is closed; when the first mechanical switch or the second mechanical switch is in a closed state, the mechanical action is disconnected.
[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned smart light system control methods.
[0016] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned smart light system control methods; or, comprising the smart switch and / or smart light as described in any one of claims 1 to 7.
[0017] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned smart light system control methods are implemented.
[0018] In the smart lamp system provided in the present invention, an AC / DC conversion circuit, a lighting component, a lighting driving module and a wireless module are integrated in the smart lamp. The AC / DC conversion circuit is connected to the wireless module, the lighting driving module and the lighting component, and the lighting driving module is connected to the wireless module and the lighting component, wherein the AC / DC conversion circuit is used to supply power to components other than the AC / DC conversion circuit in the smart lamp, the lighting driving module is used to drive the lighting component to adjust the lighting state, the wireless module is used to communicate with the wireless control integrated circuit in the smart switch, and control the driving state of the lighting driving module according to the wireless signal output by the wireless control integrated circuit, and the smart switch integrates a light-on power-taking circuit, a wireless control integrated circuit, a switch identification circuit and a first mechanical switch, the light-on power-taking circuit is connected to the wireless control integrated circuit, the wireless control integrated circuit is connected to the switch identification circuit, and the first mechanical switch is connected to the light-on power-taking circuit and the switch identification circuit, wherein the light-on power-taking circuit is used to supply power to the smart lamp and the wireless control integrated circuit, the switch identification circuit is used to generate an identification signal according to the output signal of the light-on power-taking circuit, the wireless control integrated circuit is communicated with the wireless module in the smart lamp through a wireless communication network, and generates a wireless signal according to the identification signal output by the switch identification circuit.
[0019] In the present invention, a circuit for drawing power when turning on the light is integrated into the smart switch, so that the smart light always maintains a working state. A switch identification circuit is integrated into the smart switch, and the switch identification circuit generates an identification signal according to the output signal of the circuit for drawing power when turning on the light. A wireless control integrated circuit generates a wireless signal according to the identification signal. The wireless signal controls the lighting drive module to adjust the lighting state of the lighting component, thereby solving the technical problem in the related art that the smart light cannot be controlled after the mechanical switch is disconnected. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0021] Figure 1 is a schematic diagram of an optional smart light system according to the first embodiment;
[0022] Figure 2 It is a schematic diagram of a smart light system based on a mechanical switch in the prior art;
[0023] Figure 3 It is a schematic diagram of a smart panel circuit in the prior art;
[0024] Figure 4 It is a schematic diagram of a wireless switch circuit in the prior art;
[0025] Figure 5 It is a schematic diagram of a circuit for taking power by turning on a light in the prior art;
[0026] Figure 6 It is a schematic diagram of voltage waveforms of various components in a circuit for taking power when a light is turned on in the prior art;
[0027] Figure 7 It is a schematic diagram of an optional double switch circuit based on a mechanical switch in the prior art;
[0028] Figure 8 It is a schematic diagram of a single live wire remote control circuit in the prior art;
[0029] Fig. 9 is a flow chart of an optional control strategy of increasing the smart lamp load by a second load according to this embodiment;
[0030] Fig.10 is a schematic diagram of a switch identification circuit in an optional smart lamp system according to the present embodiment;
[0031] Fig.11 is a structural diagram of an optional dual-control intelligent lamp system according to this embodiment;
[0032] Fig.12 is a flow chart of an optional single-control intelligent lamp system control method according to this embodiment;
[0033] Fig.13 is a schematic diagram of an optional single-control intelligent lamp system circuit according to this embodiment;
[0034] Fig.14 It is a schematic diagram of an optional dual-control intelligent lamp system circuit according to this embodiment. DETAILED DESCRIPTION
[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] It should be noted that the smart light system and the control method thereof in the present disclosure can be used in the field of smart light technology when the smart light system is controlled based on a smart switch, and can also be used in any field except the field of smart light technology when the smart light system is controlled based on a smart switch. The present disclosure does not limit the application field of the smart light system and the control method thereof.
[0038] The following embodiments of the present invention can be applied to various devices / applications / equipment of smart lighting systems, and can solve the pain point that the smart light cannot be controlled after the mechanical switch is disconnected, and solve the compatibility problem of the smart switch and the smart light under a single live line, avoiding the risk of power failure of the smart switch, making it possible to use the smart switch and the smart light under a single live line in combination.
[0039] The present invention is described in detail below in conjunction with various embodiments.
[0040] Embodiment 1
[0041] According to the first embodiment of the present invention, a first embodiment of a smart light system is provided.
[0042] Figure 1 is a schematic diagram of an optional smart light system according to the first embodiment of the present invention, such as Figure 1 As shown, the system includes: a smart lamp 102 and a smart switch 102. Among them,
[0043] The smart lamp 101 includes: an AC / DC conversion circuit, a lighting component, a lighting drive module and a wireless module. The AC / DC conversion circuit is connected to the wireless module, the lighting drive module and the lighting component. The lighting drive module is connected to the wireless module and the lighting component. The AC / DC conversion circuit is used to power components other than the AC / DC conversion circuit in the smart lamp. The lighting drive module is used to drive the lighting component to adjust the lighting state. The wireless module is used to communicate with the wireless control integrated circuit in the smart switch and control the driving state of the lighting drive module according to the wireless signal output by the wireless control integrated circuit.
[0044] The smart switch 102 includes: a light-on power-drawing circuit, a wireless control integrated circuit, a switch identification circuit and a first mechanical switch. The light-on power-drawing circuit is connected to the wireless control integrated circuit, the wireless control integrated circuit is connected to the switch identification circuit, and the first mechanical switch is connected to the light-on power-drawing circuit and the switch identification circuit. The light-on power-drawing circuit is used to supply power to the smart light and the wireless control integrated circuit, the switch identification circuit is used to generate an identification signal according to the output signal of the light-on power-drawing circuit, the wireless control integrated circuit communicates with the wireless module in the smart light through a wireless communication network, and generates a wireless signal according to the identification signal output by the switch identification circuit.
[0045] exist Figure 1 In the figure, AC represents alternating current, N represents neutral line, L represents live line, Lout represents live line output, Load represents load line, wireless control IC represents wireless control integrated circuit, and SW1 represents the first mechanical switch. The dotted line frame part of the smart lamp 101 is the composition of the smart lamp, and the dotted line frame part of the smart switch 102 is the composition of the smart switch.
[0046] It should be noted that the wireless module controls the driving state of the lighting driver module according to the wireless signal output by the wireless control integrated circuit, and the wireless module may control the lighting driver module to drive the lighting component to adjust the lighting state according to the wireless signal output by the wireless control integrated circuit. The first embodiment is an improvement based on the defects of the smart light system in the prior art. Figure 2 is a schematic diagram of an intelligent lighting system based on a mechanical switch in the prior art. Figure 2 In the figure, AC stands for alternating current, N stands for neutral, L stands for live, Lout stands for live out, Switch stands for mechanical switch, Smart Bulb stands for smart light, AC-DC stands for AC-DC conversion circuit, and DC-DC stands for DC voltage control circuit. When the mechanical switch of a smart light system based on a mechanical switch is disconnected, the AC-DC circuit cannot work, causing the smart light to be in a power-off state, and all functions of the smart light backend cannot be used. If the mechanical switch is always in the on state, users can only control the smart light through smart terminal devices such as mobile phones, and the mechanical switch cannot function normally, which is inconvenient for users with elderly people and children who cannot use mobile phones at home.
[0047] The existing smart panel circuit or wireless switch circuit can solve the problem of the back-end function failure of the smart lamp caused by the disconnection of the mechanical switch. Figure 3 It is a schematic diagram of a smart panel circuit in the prior art. Figure 4 It is a schematic diagram of a wireless switch circuit in the prior art. Figure 3 and Figure 4In the figure, AC stands for alternating current, N stands for neutral, L stands for live, Lout stands for live out, the dashed box part of Switch is the smart panel switch or wireless switch, and the wireless control IC stands for wireless control integrated circuit. Users input signals through the buttons / screen in the smart panel, the wireless control IC is responsible for receiving signals from the buttons / screen, and the single-fire power circuit is responsible for powering the smart light. In the wireless switch circuit, the wireless control IC is responsible for receiving signals from the remote smart device, and the battery is responsible for powering.
[0048] From the smart panel circuit, we can see that when the smart panel and smart lights are used together, the smart light system uses a single live wire control circuit. The single live wire is a circuit design that is different from the zero live wire. The conventional zero live wire design can only be used in scenarios where there are live wires, neutral wires, and load wires in the dark box. Most houses have only live wires and load wires in the switch dark box. The design for powering smart lights in this scenario is a single live wire design. The single live wire design usually includes a circuit for turning on the light and a circuit for turning off the light. The principle of the circuit for turning off the light is similar to that of the AC-DC circuit, and it usually needs to be used with a relay.
[0049] Figure 5 It is a schematic diagram of a circuit for taking power by turning on a light in the prior art. Figure 5 In the figure, AC stands for alternating current, N stands for neutral line, L stands for live line, Lout stands for live line outgoing line, the dotted line part is the single live line light-on power-drawing circuit, control IC stands for wireless control integrated circuit, LDO stands for voltage regulator, Cin stands for capacitor, S stands for MOS tube source, D stands for MOS tube drain, G stands for MOS tube gate, MOS tube is a semiconductor field effect transistor, by applying different control signals to MOS tube, MOS tube can switch between on and off states, thereby realizing the switching function of logic gate. The light-on power-drawing circuit is a time-sharing multiplexing of AC waveform, Figure 6 This is a schematic diagram of the voltage waveforms of various components in a circuit for taking power when a light is turned on in the prior art. Figure 6In the figure, Vac represents the waveform of AC alternating current, Vds represents the waveform of the voltage across the MOS tube, VIN represents the waveform of the voltage across the Cin capacitor, and Gate represents the waveform of the MOS tube control signal. During the period from 0 to t1 at the beginning of each cycle, the MOS tube is in the cut-off state, the Cin capacitor is in the charging state, and during the period from t1 to t2, the MOS tube is in the on state, and the back-end lamps can obtain electrical energy. The circuit for taking power when turning on the light can ensure that the voltage in the Cin capacitor is maintained within a certain range by adjusting the time proportion of t1 and t2, and can supply power to the back-end lamps. However, there are compatibility issues with the circuit for taking power when turning on the light. In a single-live-wire circuit, maintaining the operation of the smart switch requires regular voltage division of the AC alternating current and current extraction, but the power of the smart lamp is too small to limit the current, resulting in insufficient load capacity of the smart switch, and then the problem of disconnection. Therefore, in the use scenario of turning off the smart light, the smart switch is very likely to lose power.
[0050] On the other hand, a complete smart light system should not only realize a single-control switch circuit, but also a double-control switch circuit. In household circuits, it is often necessary to control a device in two different locations. A double-connected switch circuit is a switch that can control the same device to turn on or off in two different locations. Figure 7 is a schematic diagram of an optional dual switch circuit based on a mechanical switch in the prior art. Figure 7 In the figure, AC stands for alternating current, Live stands for live wire, Load stands for load wire, TR1 and TR2 stand for two cables, the dotted line part at 1 is sub-switch 1, and the dotted line part at 2 is sub-switch 2. The characteristic of the double switch is that no matter what state the sub-switch is in, the user can change the working state of the device by turning any sub-switch. By combining the double switch with the intelligent switch using the single live wire design idea, a single live wire remote control circuit with dual control function can be obtained. Figure 8 The schematic diagram of a single live wire remote control circuit in the prior art is a single live wire circuit of a double control switch. Figure 8 In the figure, AC stands for alternating current, N stands for neutral line, L stands for live line, Lout stands for live line out, wireless control IC stands for wireless control integrated circuit, the dotted line part of Switch1 is the remote control, and the dotted line part of Switch2 is the wireless switch. Through the communication between the remote control and the wireless switch, Figure 8The single live wire remote control circuit in can realize the dual control switch function. However, realizing the single live wire remote control circuit requires multiple sets of wireless control integrated circuits and batteries, which is costly. In addition, the wireless switch is powered by batteries, and users need to replace batteries regularly. If users need to use a large number of single live wire remote control circuits, frequent battery replacement will seriously reduce the user experience. In addition, the single live wire remote control circuit relies on stable communication between the remote control and the wireless switch. When the remote control and the wireless switch are far apart, the dual control function of the single live wire remote control circuit will fail.
[0051] In this embodiment, in order to enable the smart light system to realize both the single-control switch function and the dual-control switch function, and at the same time be compatible with the user's original single-control and dual-control mechanical switches, this embodiment integrates the light-on power-drawing circuit, the wireless control integrated circuit, the switch identification circuit and the first mechanical switch in the smart switch. The light-on power-drawing circuit can power the smart light and the wireless control integrated circuit without a neutral line by cutting the phase of the AC alternating current voltage in each cycle. Cutting the phase of AC alternating current means cutting the voltage of a part of the phase in each cycle of the alternating current, instead of using a complete sine wave. Figure 6 As shown, in the period from 0 to t2, the light-on power circuit intercepts the voltage during the period from 0 to t1 to charge the internal capacitor, and then supplies power to the back-end lamps during the period from t1 to t2; similarly, in the period from t2 to t4, the light-on power circuit intercepts the voltage during the period from t2 to t3 to charge the internal capacitor, and then supplies power to the back-end lamps during the period from t3 to t4. The switch identification circuit is used to generate an identification signal according to the output signal of the light-on power circuit, and send the identification signal to the wireless control integrated circuit. The wireless control integrated circuit is used to connect to an external network, and the communication method can be WI FI, Bluetooth, etc. The wireless control integrated circuit also assumes the function of a microprocessor, which is responsible for receiving the identification signal output by the switch identification circuit and generating a wireless signal based on the identification signal, and sending the wireless signal to the wireless module in the smart light.
[0052] Optionally, the smart light further includes: a second load, which is connected to the wireless module, and is turned on when the power consumption of the smart light is lower than a preset power consumption threshold.
[0053] It should be noted that the smart light provided in this embodiment may include a second load. The power consumption of the smart light is related to the dimming duty cycle of the smart light. The dimming duty cycle of the smart light refers to the proportion of the power-on time to the total time in an AC power cycle. Since the power consumption of most smart lights is very small, the current flowing through the light-on power circuit in the smart light system is very small, which may cause the smart switch to lose power. This embodiment sets a second load in the smart light to solve this problem.
[0054] Fig. 9 is a flow chart of an optional control strategy of increasing the smart lamp load by the second load according to this embodiment, Fig. 9 It can be seen that by obtaining the wireless signal strength of the communication between the smart switch and the smart light, when the wireless signal strength is greater than the preset threshold, the smart switch is controlled to enter the low power working mode, and when the wireless signal strength is not greater than the preset threshold, the smart switch is controlled to enter the normal power working mode. The preset threshold is set by itself. Since the minimum power consumption requirement of the smart switch in the low power working mode is lower, a lower power consumption threshold is set for the smart light in the low power working mode; since the minimum power consumption requirement of the smart switch in the normal power working mode is higher, a higher power consumption threshold is set for the smart light in the normal power working mode, that is, the power consumption threshold in the low power working mode is smaller than the power consumption threshold in the normal power working mode. In this embodiment, before reducing the brightness of the smart light, whether the smart light is in the low power working mode or the normal power working mode, the corresponding power consumption threshold and the dimming duty cycle of the smart light are compared. The higher the dimming duty cycle of the smart light, the greater the power consumption of the smart light. When the power consumption of the smart lamp is lower than the power consumption threshold, the second load is turned on; when the power consumption of the smart lamp is higher than the power consumption threshold, the second load is turned off, thereby achieving the purpose of increasing the load of the smart lamp under specific circumstances, solving the problem of power failure of the smart switch, and improving the compatibility of the smart lamp.
[0055] Optionally, the AC / DC conversion circuit includes: an AC / DC conversion unit and a DC voltage control unit, the AC / DC conversion unit is connected to the intelligent switch, the DC voltage control unit and the AC power supply, the DC voltage control unit is connected to the AC / DC conversion unit, the wireless module, the lighting component and the second load, wherein the AC / DC conversion unit is used to convert the AC voltage into a DC voltage, and the DC voltage control unit is used to adjust the DC voltage.
[0056] It should be noted that the AC-DC conversion circuit in this embodiment includes an AC-DC conversion unit (AC-DC) and a DC voltage control unit (DC-DC). The AC-DC conversion unit is connected to the intelligent switch, the DC voltage control unit and the AC power supply, and the DC voltage control unit is connected to the AC-DC conversion unit, the wireless module, the lighting component and the second load. Among them, the AC-DC conversion unit is responsible for converting the AC voltage provided by the AC power supply into a DC voltage, and the DC voltage is adjusted to a stable DC voltage after being adjusted by the DC voltage control unit, thereby supplying power to other components in the intelligent lamp, namely, the lighting component, the lighting driving module, the wireless module and the second load. In this embodiment, the switch recognition circuit in the intelligent switch generates an identification signal according to the output signal of the light-on power-taking circuit, and then the wireless control integrated circuit in the intelligent switch generates a wireless signal according to the identification signal, and sends the wireless signal to the wireless module in the intelligent lamp. The wireless module controls the driving state of the lighting driving module according to the wireless signal, and then drives the lighting component in the intelligent lamp to adjust the lighting state, thereby realizing the compatibility of the intelligent lamp system with the mechanical switch and realizing the single-control switch function of the intelligent lamp system.
[0057] Optionally, the switch identification circuit includes: a functional unit and a protection unit, wherein the protection unit is connected to the light-on power-drawing circuit and the functional unit, and the functional unit is connected to the wireless control integrated circuit.
[0058] Optionally, the functional unit includes: a current limiting resistor, an energy storage capacitor, a discharge resistor, a MOS tube and a pull-up resistor, and the protection unit includes: a diode and a voltage regulator tube. The first end of the diode is connected to the light-on power supply circuit, the second end of the diode is connected to the first end of the current limiting resistor, the second end of the current limiting resistor is connected to the first end of the energy storage capacitor, the first end of the discharge resistor, the first end of the voltage regulator tube and the first end of the MOS tube, the second end of the energy storage capacitor, the second end of the discharge resistor, the second end of the voltage regulator tube and the second end of the MOS tube are grounded, the third end of the MOS tube is connected to the wireless control integrated circuit and the first end of the pull-up resistor, and the second end of the pull-up resistor is connected to the pull-up voltage.
[0059] Optionally, the MOS tube is an NMOS tube or a PMOS tube.
[0060] It should be noted that the voltage regulator tube in this embodiment can be a voltage regulator diode. When the voltage regulator diode is forward-biased, it is similar to an ordinary diode and allows current to pass. However, when it is reverse biased, as the applied voltage increases, the voltage regulator diode will enter a breakdown state. In this state, although the applied reverse voltage continues to increase, the voltage across the voltage regulator diode will remain at a stable value.
[0061] It should be noted that the MOS tube in the embodiment of the present invention may be an NMOS tube or a PMOS tube. Among them, the NMOS tube refers to a transistor with an N-type metal-oxide-semiconductor structure. When the voltage between the gate and the source of the NMOS tube is higher than the threshold voltage, the drain and the source will be connected. The PMOS tube refers to a transistor with a P-type substrate and an N-type source and drain region, which relies on the flow of holes to transport current. When the voltage between the gate and the source of the PMOS tube is lower than the threshold voltage, the drain and the source will be connected.
[0062] Fig.10 is a schematic diagram of a switch identification circuit in an optional intelligent lamp system according to this embodiment. Fig.10 In the figure, To Lout represents the output end of the circuit for turning on the light, To MCU represents the connection to the wireless control integrated circuit, and the 3.3V voltage is the pull-up voltage, which can be generated by the circuit for turning on the light or provided by other power modules. D1 is a diode, R1 is a current limiting resistor, C1 is a storage capacitor, R2 is a discharge resistor, D3 is a voltage regulator diode, Q1 is an NMOS tube, and R4 is a pull-up resistor. Fig.10 As shown, the anode (i.e., the first end) of the diode D1 is connected to the light-on power circuit, and the cathode (i.e., the second end) of the diode D1 is connected to the first end of the current-limiting resistor R1. The second end of the current-limiting resistor R1 is connected to the first end of the energy storage capacitor C1, the first end of the discharge resistor R2, the cathode (i.e., the first end) of the voltage-stabilizing diode D3, and the gate (i.e., the first end) of the NMOS tube Q1. The second end of the energy storage capacitor C1, the second end of the discharge resistor R2, the anode (i.e., the second end) of the voltage-stabilizing diode D3, and the source (i.e., the second end) of the NMOS tube Q1 are connected to the power ground, and the drain (i.e., the third end) of the NMOS tube Q1 is connected to the first end of the pull-up resistor R4, and the second end of the pull-up resistor R4 is connected to the 3.3V pull-up voltage. It should be noted that the drain of the NMOS tube Q1 is also connected to the wireless control integrated circuit for outputting an identification signal.
[0063] In the switch identification circuit, the control strategy of the functional unit is: when there is no voltage supply at both ends of the energy storage capacitor C1, that is, when the output signal of the light-on power circuit fails to be transmitted to the switch identification circuit, the energy storage capacitor C1 will discharge through the discharge resistor R2, so that the voltage of the energy storage capacitor C1 is reduced. When the voltage of the energy storage capacitor C1 is reduced to below the gate threshold of the MOS tube Q1, the gate and source of the MOS tube Q1 are disconnected, and current is not allowed to pass through. The switch identification circuit outputs a first signal to the wireless control integrated circuit. When the energy storage capacitor C1 is in a charging state, that is, the output signal of the light-on power circuit is transmitted to the switch identification circuit, the energy storage capacitor C1 is charged by AC alternating current for several cycles, and the voltage of the energy storage capacitor C1 will exceed the gate threshold of the MOS tube Q1, so that the gate and source of the MOS tube are turned on, allowing current to pass through. At this time, the 3.3V voltage will be pulled down, and the switch identification circuit outputs a second signal to the wireless control integrated circuit. Among them, the output signal of the light-on power circuit is a voltage signal or a current signal.
[0064] That is to say, the switch identification circuit generates the first signal or the second signal according to the voltage supply at both ends of the energy storage capacitor, that is, the switch identification circuit generates the identification signal according to the output signal of the light-on power-taking circuit, and the identification signal is the first signal or the second signal. The identification signal is sent to the wireless control integrated circuit, and the wireless control integrated circuit generates a wireless signal according to the identification signal and sends the wireless signal to the wireless module of the smart light. Finally, the wireless module controls the lighting driving module to drive the lighting component to adjust the lighting state according to the wireless signal.
[0065] It should be noted that the circuit of the smart light system may have a scenario where the line is connected incorrectly. In order to protect the switch identification circuit in such a scenario, a protection unit is designed in the switch identification circuit in this embodiment. In the protection unit, when the live line voltage is significantly greater than the ground line voltage, the voltage will be applied to the discharge resistor and the current limiting resistor. Since the discharge resistor has a need to discharge, the resistance of the discharge resistor is usually greater than the current limiting resistor, which will cause the voltage applied to the discharge resistor to easily damage the gate of the MOS tube. However, the presence of the voltage regulator will limit the voltage amplitude of the discharge resistor, and most of the voltage will be applied to the current limiting resistor, thereby protecting the MOS tube from damage, thereby protecting the switch identification circuit. When the ground line voltage is greater than the live line voltage, most of the voltage will be borne by the cut-off diode, thereby protecting the MOS tube from damage, thereby protecting the switch identification circuit.
[0066] It should be noted that the smart switch in this embodiment is applicable not only to mechanical switches but also to smart panel switches. When the smart switch is applicable to smart panel switches, the switch identification circuit can adopt the simplest universal input and output form, for example, directly using the input and output pins of the microprocessor in the wireless control integrated circuit to detect the identification signal at the output end of the light-on power-taking circuit, and generating a wireless signal based on the identification signal.
[0067] Since the circuit of the smart switch is simple and takes up little space, there are two installation modes, namely mechanical switch installation mode and operation panel installation mode. The mechanical switch installation mode installs the smart switch in a switch wall box, which is a traditional mechanical switch wall box. The operation panel installation mode installs the smart switch in a switch wall box with an operation panel. Users can input signals on the operation panel to control the opening and closing of the smart light, as well as dimming, color adjustment and other functions.
[0068] Optionally, if the smart light system is in dual control mode, the smart switch further includes: a second switch identification circuit and a second mechanical switch. The second switch identification circuit is connected to the wireless control integrated circuit and the second mechanical switch, and the second mechanical switch is connected to the AC / DC conversion circuit, the second switch identification circuit and the light-on power circuit in the smart light.
[0069] Fig.11 is a structural diagram of an optional dual-control intelligent lamp system according to this embodiment, such as Fig.11 As shown, AC represents alternating current, N represents neutral line, L represents live line, Lout represents live line outgoing line, Load represents load line, wireless control IC represents wireless control integrated circuit, sub-switch 1 is an intelligent switch, and sub-switch 2 is an ordinary mechanical switch. Sub-switch 1 includes a wireless control integrated circuit, a light-on power-taking circuit, a first switch identification circuit, a second switch identification circuit, and a first mechanical switch SW1, and sub-switch 2 includes a second mechanical switch SW2.
[0070] The light-on power-taking circuit is connected to the wireless control integrated circuit, the first mechanical switch, and the second mechanical switch. The wireless control integrated circuit is connected to the light-on power-taking circuit, the first switch identification circuit, and the second switch identification circuit. The first switch identification circuit is connected to the wireless control integrated circuit and the first mechanical switch, and the second switch identification circuit is connected to the wireless control integrated circuit and the second mechanical switch. The first mechanical switch is connected to the light-on power-taking circuit, the first switch identification circuit, and the AC-DC conversion circuit in the smart lamp, and the second mechanical switch is connected to the light-on power-taking circuit, the second switch identification circuit, and the AC-DC conversion circuit in the smart lamp.
[0071] It should be noted that when the first mechanical switch is mechanically actuated, i.e. closed or opened, it can control whether the first switch identification circuit is connected to the light-on power circuit. When the second mechanical switch is mechanically actuated, it can control whether the second switch identification circuit is connected to the light-on power circuit.
[0072] By controlling the first mechanical switch and the second mechanical switch, the first switch identification circuit or the second switch identification circuit sends an identification signal, and the identification signal is sent to the wireless control integrated circuit. The wireless control integrated circuit generates a wireless signal according to the identification signal and sends the wireless signal to the wireless module of the smart lamp. Finally, the wireless module controls the driving state of the lighting driving module according to the wireless signal, and then drives the lighting component to adjust the lighting state.
[0073] In this embodiment, by integrating the light-on power-taking circuit in the smart switch, the smart light always maintains the working state. By integrating the switch identification circuit in the smart switch, the switch identification circuit generates an identification signal according to the output signal of the light-on power-taking circuit, and the wireless control integrated circuit generates a wireless signal according to the identification signal. The wireless signal controls the lighting drive module to adjust the lighting state of the lighting component, thereby solving the technical problem in the related art that the smart light cannot be controlled after the mechanical switch is disconnected. At the same time, by building a second load into the smart light, the overall load of the smart light circuit is increased, the risk of power failure of the smart switch is avoided, and the compatibility of the smart switch is improved.
[0074] The following is a detailed description in conjunction with another embodiment.
[0075] Embodiment 2
[0076] A method embodiment of a smart lamp system control method provided in this embodiment 2, it should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here.
[0077] Each implementation step in the single-control smart light system control method mentioned in the second embodiment can be applied to the smart light system in the first embodiment above.
[0078] Fig.12 is a flow chart of an optional single-control smart lamp system control method according to this embodiment, which is applicable to the scenario where the smart switch is integrated with a mechanical switch, such as Fig.12 As shown, the method comprises the following steps:
[0079] Step S1201, if the smart light system is in single control mode, when the smart light is in the on state, when the mechanical switch of the smart light system is detected to have mechanical action, the switch identification circuit in the smart switch outputs a first signal to the wireless control integrated circuit to control the smart light to turn off.
[0080] It should be noted that when the mechanical switch is in the open state, the mechanical action is closed; when the mechanical switch is in the closed state, the mechanical action is open.
[0081] Fig.13 is a schematic diagram of an optional single-control intelligent lamp system circuit according to this embodiment. Fig.13 In the figure, AC represents alternating current, N represents neutral line, L represents live line, Lout represents live line output, Load represents load line, wireless control IC represents wireless control integrated circuit, and SW1 represents mechanical switch.
[0082] In this embodiment, the SW1 mechanical switch in the single-control smart lamp system undergoes mechanical action, that is, the original state is changed so that there is no voltage supply at both ends of the energy storage capacitor. The energy storage capacitor will discharge through the discharge resistor, so that the voltage of the energy storage capacitor will decrease. When the voltage of the energy storage capacitor decreases below the gate threshold of the MOS tube, the gate and source of the MOS tube are disconnected, and current is not allowed to pass. The switch identification circuit outputs a first signal to the wireless control integrated circuit, and the first signal is sent to the wireless control integrated circuit. The wireless control integrated circuit generates a wireless signal based on the first signal and sends the wireless signal to the wireless module in the smart lamp. Finally, the wireless module drives the lighting drive module to control the lighting component to turn off.
[0083] Step S1202: When the smart light is in an off state and a mechanical switch of the smart light system is detected to have a mechanical action, the switch identification circuit in the smart switch outputs a second signal to the wireless control integrated circuit to control the smart light to light up.
[0084] In this embodiment, the mechanical switch in the single control system undergoes mechanical action, that is, changes its original state so that the AC alternating current continues to charge the energy storage capacitor. After several cycles of AC alternating current charging, the voltage of the energy storage capacitor will exceed the gate threshold of the MOS tube, so that the gate and source of the MOS tube are turned on, allowing current to pass. At this time, the 3.3V voltage will be pulled down, and the switch identification circuit outputs a second signal to the wireless control integrated circuit. The second signal is sent to the wireless control integrated circuit, and the wireless control integrated circuit generates a wireless signal based on the second signal, and sends the wireless signal to the wireless module in the smart lamp. Finally, the wireless module drives the lighting drive module, thereby controlling the lighting component to light up.
[0085] It should be noted that, in this embodiment, the first signal and the second signal can be represented by different voltage levels. For example, the first signal is a level in the interval [A, B] volts, and the second signal is a level in the interval [C, D] volts, wherein the first signal level is greater than the second signal level.
[0086] In this embodiment, in addition to controlling the lighting components in the smart light through the SW1 mechanical switch, it can also be controlled through a smart device. Regardless of whether the SW1 mechanical switch is open or closed, the user can control the lighting driver module through a smart device such as a mobile phone to turn off or on the lighting components in the smart light.
[0087] It should be noted that although the SW1 mechanical switch in this embodiment is a single-pole double-throw switch, the SW1 mechanical switch is used as a single-pole single-throw switch for the purpose of being compatible with the user's original mechanical switch.
[0088] The single-control smart light system of this embodiment includes: a smart light and a smart switch, wherein the smart light at least includes: an AC / DC conversion circuit, a lighting component, a lighting drive module and a wireless module, the AC / DC conversion circuit is connected to the wireless module, the lighting drive module and the lighting component, and the lighting drive module is connected to the wireless module and the lighting component, wherein the AC / DC conversion circuit is used to power the components in the smart light except the AC / DC conversion circuit, the lighting drive module is used to drive the lighting component to adjust the lighting state, and the wireless module is used to communicate with the wireless control integrated circuit in the smart switch, and control the lighting drive module according to the wireless signal output by the wireless control integrated circuit. The driving state of the module; the intelligent switch at least includes: a light-on power-taking circuit, a wireless control integrated circuit, a switch identification circuit and a first mechanical switch, the light-on power-taking circuit is connected to the wireless control integrated circuit, the wireless control integrated circuit is connected to the switch identification circuit, the first mechanical switch is connected to the light-on power-taking circuit and the switch identification circuit, wherein the light-on power-taking circuit is used to supply power to the smart light and the wireless control integrated circuit, the switch identification circuit is used to generate an identification signal according to the output signal of the light-on power-taking circuit, the wireless control integrated circuit communicates with the wireless module in the smart light through a wireless communication network, and generates a wireless signal according to the identification signal output by the switch identification circuit.
[0089] Optionally, the smart light in the single-control smart light system further includes: a second load, which is connected to the wireless module, and is turned on when the power consumption of the smart light is lower than a preset power consumption threshold.
[0090] Optionally, the AC / DC conversion circuit in the single-control intelligent lamp system also includes: an AC / DC conversion unit and a DC voltage control unit, the AC / DC conversion unit is connected to the intelligent switch, the DC voltage control unit and the AC power supply, the DC voltage control unit is connected to the AC / DC conversion unit, the wireless module, the lighting component and the second load, wherein the AC / DC conversion unit is used to convert the AC voltage into a DC voltage, and the DC voltage control unit is used to adjust the DC voltage.
[0091] Optionally, the switch identification circuit in the single-control smart lamp system includes: a functional unit and a protection unit, wherein the protection unit is connected to the light-on power-taking circuit and the functional unit, and the functional unit is connected to the wireless control integrated circuit.
[0092] Optionally, in the switch identification circuit, the functional unit includes: a current limiting resistor, an energy storage capacitor, a discharge resistor, a MOS tube and a pull-up resistor, and the protection unit includes: a diode and a voltage regulator tube, wherein the first end of the diode is connected to the light-on power supply circuit, the second end of the diode is connected to the first end of the current limiting resistor, the second end of the current limiting resistor is connected to the first end of the energy storage capacitor, the first end of the discharge resistor, the first end of the voltage regulator tube and the first end of the MOS tube, the second end of the energy storage capacitor, the second end of the discharge resistor, the second end of the voltage regulator tube and the second end of the MOS tube are grounded, the third end of the MOS tube is connected to the wireless control integrated circuit and the first end of the pull-up resistor, and the second end of the pull-up resistor is connected to the pull-up voltage.
[0093] This embodiment implements the steps provided by the above-mentioned single-control smart light system control method in the single-control smart light system, so that the smart light always maintains a working state, the smart light system is compatible with the mechanical switch to realize the function of the single-control switch, and the second load can increase the overall load of the smart light circuit to avoid the risk of power failure of the smart switch, thereby solving the technical problems in the related art that the smart light cannot be controlled after the smart switch is disconnected and the smart light system is not compatible with the mechanical switch to realize the single-control function.
[0094] Optionally, if the smart lamp system is in dual control mode, the smart switch also includes: a second switch identification circuit and a second mechanical switch, wherein the second switch identification circuit is connected to the wireless control integrated circuit and the second mechanical switch, and the second mechanical switch is connected to the AC / DC conversion circuit, the second switch identification circuit and the light-on power-taking circuit in the smart lamp.
[0095] Optionally, when the smart switch is suitable for a mechanical switch, the control method also includes: if the smart lamp system is in a dual-control mode, when the smart lamp is in an on state, when the first mechanical switch or the second mechanical switch in the smart lamp system is detected to have a mechanical action, the first switch identification circuit or the second switch identification circuit in the smart switch outputs a first signal to the wireless control integrated circuit to control the smart lamp to turn off; when the smart lamp is in an off state, when the first mechanical switch or the second mechanical switch in the smart lamp system is detected to have a mechanical action, the first switch identification circuit or the second switch identification circuit in the smart switch outputs a second signal to the wireless control integrated circuit to control the smart lamp to turn on; wherein, when the first mechanical switch or the second mechanical switch is in an off state, the mechanical action is closed; when the first mechanical switch or the second mechanical switch is in a closed state, the mechanical action is disconnected.
[0096] Fig.14 is a schematic diagram of an optional dual-control intelligent lamp system circuit according to this embodiment. Fig.14 In the figure, AC represents alternating current, N represents neutral line, L represents live line, Lout represents live line outgoing line, Load represents load line, wireless control IC represents wireless control integrated circuit, SW1 represents the first mechanical switch, SW2 represents the second mechanical switch, TR1 and TR2 represent two cables, COM represents the live line incoming line common end of the mechanical switch, switch identification circuit 1 corresponds to the first switch identification circuit, and switch identification circuit 2 corresponds to the second switch identification circuit. The dual-control intelligent lamp system circuit includes two sub-switches, where sub-switch 1 is an intelligent switch and sub-switch 2 is an ordinary mechanical switch.
[0097] In this embodiment, when any one of the first mechanical switch or the second mechanical switch in the dual-control system undergoes mechanical action, that is, any one of the switches changes its original state, so that there is no voltage supply across the energy storage capacitor, the energy storage capacitor will discharge through the discharge resistor, so that the voltage of the energy storage capacitor will decrease. When the voltage of the energy storage capacitor decreases below the gate threshold of the MOS tube, the gate of the MOS tube is disconnected from the source, and current is not allowed to pass. The corresponding switch identification circuit (that is, the first switch identification circuit or the second switch identification circuit) outputs a first signal to the wireless control integrated circuit, thereby controlling the lighting component in the smart lamp to turn off.
[0098] In this embodiment, when any one of the first mechanical switch or the second mechanical switch in the dual-control system undergoes mechanical action, that is, any one of the switches changes its original state, so that the AC alternating current continues to charge the energy storage capacitor, after several cycles of AC alternating current charging, the voltage of the energy storage capacitor will exceed the gate threshold of the MOS tube, so that the gate and source of the MOS tube are turned on, allowing current to pass. At this time, the 3.3V voltage will be pulled down, and the first switch identification circuit or the second switch identification circuit outputs a second signal to the wireless control integrated circuit, thereby controlling the lighting component in the smart lamp to light up.
[0099] In this embodiment, in addition to controlling the lighting components in the smart light to turn off and on through the first mechanical switch SW1 and the second mechanical switch SW2, it can also be controlled through a smart device. Regardless of whether the first mechanical switch SW1 and the second mechanical switch SW2 are in an open or closed state, the user can control the lighting driver module through a smart device such as a mobile phone to turn off or on the lighting components in the smart light.
[0100] It should be noted that although the first mechanical switch SW1 and the second mechanical switch SW2 in this embodiment are single-pole double-throw switches, they are used as single-pole single-throw switches for the purpose of being compatible with the user's original double mechanical switches.
[0101] This embodiment implements the steps provided by the control method in the dual-control mode of the above-mentioned smart lamp system in the dual-control smart lamp system, so that the smart lamp always maintains a working state. The smart lamp system is compatible with mechanical switches to realize the function of a dual-control switch. The second load can increase the overall load of the smart lamp circuit to avoid the risk of power failure of the smart switch, thereby solving the technical problem in the related art that the smart lamp cannot be controlled after the smart switch is disconnected.
[0102] According to another aspect of the second embodiment, a computer-readable storage medium is provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the smart light system of any one of the above-mentioned embodiments.
[0103] According to another aspect of the second embodiment, an electronic device is also provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the smart light system control method of any one of the above-mentioned embodiments; or, includes any one of the above-mentioned smart switches and / or smart lights.
[0104] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the intelligent light system control method in each embodiment of the present application.
[0105] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the smart light system control method in each embodiment of the present application are implemented.
[0106] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0107] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0108] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0109] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0110] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0112] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An intelligent lighting system, characterized in that: include: Smart switches and smart lights, among which, The smart lamp comprises: an AC / DC conversion circuit, a lighting component, a lighting driving module and a wireless module, wherein the AC / DC conversion circuit is connected to the wireless module, the lighting driving module and the lighting component, and the lighting driving module is connected to the wireless module and the lighting component, wherein the AC / DC conversion circuit is used to supply power to components other than the AC / DC conversion circuit in the smart lamp, the lighting driving module is used to drive the lighting component to adjust the lighting state, and the wireless module is used to communicate with the wireless control integrated circuit in the smart switch, and control the driving state of the lighting driving module according to the wireless signal output by the wireless control integrated circuit; The smart switch includes: a light-on power-drawing circuit, the wireless control integrated circuit, a switch identification circuit and a first mechanical switch, wherein the light-on power-drawing circuit is connected to the wireless control integrated circuit, the wireless control integrated circuit is connected to the switch identification circuit, and the first mechanical switch is connected to the light-on power-drawing circuit and the switch identification circuit, wherein the light-on power-drawing circuit is used to supply power to the smart light and the wireless control integrated circuit, the switch identification circuit is used to generate an identification signal according to an output signal of the light-on power-drawing circuit, the wireless control integrated circuit is communicatively connected to the wireless module in the smart light via a wireless communication network, and generates the wireless signal according to the identification signal output by the switch identification circuit.
2. The intelligent lighting system according to claim 1, characterized in that: The smart light further includes: a second load, which is connected to the wireless module, and is turned on when the power consumption of the smart light is lower than a preset power consumption threshold.
3. The intelligent lighting system according to claim 1, characterized in that: The AC / DC conversion circuit includes: an AC / DC conversion unit and a DC voltage control unit, wherein the AC / DC conversion unit is connected to the intelligent switch, the DC voltage control unit and the AC power supply, and the DC voltage control unit is connected to the AC / DC conversion unit, the wireless module, the lighting component and a second load, wherein the AC / DC conversion unit is used to convert the AC voltage into a DC voltage, and the DC voltage control unit is used to adjust the DC voltage.
4. The intelligent lighting system according to claim 1, characterized in that: The switch identification circuit includes: a functional unit and a protection unit, wherein the protection unit is connected to the light-on power-taking circuit and the functional unit, and the functional unit is connected to the wireless control integrated circuit.
5. The intelligent lighting system according to claim 4, characterized in that: The functional unit includes: a current limiting resistor, an energy storage capacitor, a discharge resistor, a MOS tube and a pull-up resistor, and the protection unit includes: a diode and a voltage regulator tube, wherein the first end of the diode is connected to the light-on power supply circuit, the second end of the diode is connected to the first end of the current limiting resistor, the second end of the current limiting resistor is connected to the first end of the energy storage capacitor, the first end of the discharge resistor, the first end of the voltage regulator tube and the first end of the MOS tube, the second end of the energy storage capacitor, the second end of the discharge resistor, the second end of the voltage regulator tube and the second end of the MOS tube are grounded, the third end of the MOS tube is connected to the wireless control integrated circuit and the first end of the pull-up resistor, and the second end of the pull-up resistor is connected to the pull-up voltage.
6. The intelligent lighting system according to claim 5, characterized in that: The MOS tube is an NMOS tube or a PMOS tube.
7. The intelligent lighting system according to claim 1, characterized in that: If the smart lamp system is in dual control mode, the smart switch further includes: a second switch identification circuit and a second mechanical switch, wherein the second switch identification circuit is connected to the wireless control integrated circuit and the second mechanical switch, and the second mechanical switch is connected to the AC / DC conversion circuit in the smart lamp, the second switch identification circuit and the light-on power-drawing circuit.
8. A control method for an intelligent lighting system, characterized in that: When the smart switch is applicable to a mechanical switch, The control method is applied to the smart light system according to any one of claims 1 to 7, comprising: If the smart light system is in single control mode, when the smart light is in the on state, when it is detected that the mechanical switch of the smart light system has a mechanical action, the switch identification circuit in the smart switch outputs a first signal to the wireless control integrated circuit to control the smart light to turn off; When the smart light is in an off state, when it is detected that a mechanical switch of the smart light system has a mechanical action, the switch identification circuit in the smart switch outputs a second signal to the wireless control integrated circuit to control the smart light to light up; Wherein, when the mechanical switch is in an open state, the mechanical action is closed; when the mechanical switch is in a closed state, the mechanical action is open.
9. The control method according to claim 8, characterized in that: When the intelligent switch is applicable to a mechanical switch, the control method further includes: If the smart light system is in dual control mode, when the smart light is in the on state, when it is detected that the first mechanical switch or the second mechanical switch in the smart light system has a mechanical action, the first switch identification circuit or the second switch identification circuit in the smart switch outputs a first signal to the wireless control integrated circuit to control the smart light to turn off; When the smart light is in an off state, when a mechanical action of the first mechanical switch or the second mechanical switch in the smart light system is detected, the first switch identification circuit or the second switch identification circuit in the smart switch outputs a second signal to the wireless control integrated circuit to control the smart light to light up; Wherein, when the first mechanical switch or the second mechanical switch is in an open state, the mechanical action is closing; when the first mechanical switch or the second mechanical switch is in a closed state, the mechanical action is opening.
10. An electronic device, characterized in that: It comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the control method of the smart light system as described in any one of claims 8 or 9; or, it comprises the smart switch and / or smart light as described in any one of claims 1 to 7.