Lamp driving power supply system, control method, electronic device and lamp
By using AC-DC power supply and power-loss detection modules in the lamp drive power supply system, it converts it into a constant DC voltage signal and judges the control signal transmission based on the number of pulse signals, the problem of instability in the lamp control caused by mains fluctuations is solved and the user experience is improved.
Patent Information
- Application Number
- CN202210655305.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-06-10
AI Technical Summary
Mains fluctuations lead to low stability of lamp control, affecting user experience.
The combination of AC-DC power supply, power-deletion detection module and control module is adopted to convert the mains power into a constant DC voltage signal, and determine whether to send a control signal based on the number of pulse signals within the preset time range to avoid the influence of mains power fluctuations.
Improve the stability and user experience of lamp control, ensure the accuracy and timeliness of control signals, and reduce false triggering.
Smart Images

Figure CN115226279B_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of electronic technology, and in particular to a driving power supply system, a control method, an electronic device and a lamp. Background Art
[0002] Lighting is frequently used in daily life. A lighting fixture's driver power system is connected to both the fixture and the mains, converting the AC power signal from the mains into a DC signal and transmitting it to the fixture to power it. Manufacturers often reference preset standard parameters for the mains when designing lighting fixtures and their corresponding driver power supplies.
[0003] However, in real-world applications, the mains power supply can fluctuate when subject to interference. For example, near a factory with high power consumption, the grid quality may be poor and the mains power may fluctuate. In this case, the AC power signal provided by the mains power supply often does not meet the preset standard parameters. If lighting control is based on AC signals, the user's control signal may be affected by the fluctuating mains power, resulting in low lighting control stability and a reduced user experience. Summary of the Invention
[0004] Embodiments of the present application provide a driving power supply system, a control method, an electronic device, and a lamp for improving the stability of lamp control.
[0005] In a first aspect, one or more embodiments of this specification provide a driving power system for a lamp, including an AC-DC power supply, a power-on / power-off detection module, and a control module; wherein:
[0006] The AC-DC power supply is connected to the power-on / power-off detection module and is used to input a first DC voltage signal to the power-on / power-off detection module when powered;
[0007] The AC-DC power supply is connected to the control module and is used to supply power to the control module;
[0008] The power-on / power-off detection module is connected to the control module and is used to convert the received first DC voltage signal into a first level signal and send it to the control module when the AC-DC power supply is powered, and is used to output a second level signal to the control module when the AC-DC power supply is powered off;
[0009] The control module is used to determine whether to send a control signal to the target lamp in the presence of a target lamp connected to the control module and the AC-DC power supply respectively, based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold; the pulse signal is formed by alternating first level signals and second level signals.
[0010] In a second aspect, one or more embodiments of this specification provide a method for controlling a lamp, which is applied to the driving power supply system of the lamp as described in the first aspect. The method for controlling the lamp includes:
[0011] The AC-DC power supply inputs a first DC voltage signal to the power-on / power-off detection module when powered on;
[0012] The AC-DC power supply supplies power to the control module;
[0013] The power-on / power-off detection module converts the received first DC voltage signal into a first level signal and sends the first level signal to the control module when the AC-DC power supply is powered, and outputs a second level signal to the control module when the AC-DC power supply is powered off;
[0014] When there is a target lamp connected to the control module and the AC-DC power supply respectively, the control module determines whether to send a control signal to the target lamp based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold; the pulse signal is formed by alternating first level signals and second level signals.
[0015] In a third aspect, one or more embodiments of the present specification provide an electronic device, a processor, a memory, and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the lamp control method as described in the second aspect.
[0016] In a fourth aspect, one or more embodiments of this specification provide a lamp, wherein the lamp includes the driving power supply system of the lamp as described in the first aspect.
[0017] In an embodiment of the present specification, a driving power supply system for a lamp includes an AC-DC power supply, a power-on / power-off detection module, and a control module; wherein: the AC-DC power supply is connected to the power-on / power-off detection module, and is used to input a first DC voltage signal to the power-on / power-off detection module when power is supplied; the AC-DC power supply is connected to the control module, and is used to supply power to the control module; the power-on / power-off detection module is connected to the control module, and is used to convert the received first DC voltage signal into a first level signal and send it to the control module when the AC-DC power supply is supplied, and is used to output a second level signal to the control module when the AC-DC power supply is supplied; the control module is used to determine whether to send a control signal to the target lamp in the presence of a target lamp connected to the control module and the AC-DC power supply respectively, based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold; the pulse signal is formed by alternating first level signals and second level signals. This technical solution, by setting up an AC-DC power supply to connect with the power-on / power-off detection module, makes the voltage signal received by the power-on / power-off detection module a DC voltage signal with a constant value, thereby preventing the power-on / power-off detection module from being affected by mains power fluctuations and improving control stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate one or more embodiments of this specification or technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments described in this specification. Those skilled in the art can derive other drawings based on these drawings without inventive effort.
[0019] Figure 1 A schematic structural diagram of a driving power supply system for a lamp provided in one or more embodiments of this specification;
[0020] Figure 2 A schematic diagram of the structure of a power-on / power-off detection module provided in one or more embodiments of this specification;
[0021] Figure 3 A schematic diagram of a voltage signal used to represent the detection result of a power-on / power-off detection module provided in one or more embodiments of this specification;
[0022] Figure 4 A schematic diagram of the structure of a control module provided in one or more embodiments of this specification;
[0023] Figure 5 Another structural schematic diagram of a driving power supply system for a lamp provided in one or more embodiments of this specification;
[0024] Figure 6 A schematic flow chart of a lamp control method provided in one or more embodiments of this specification;
[0025] Figure 7 A schematic diagram of the structure of an electronic device provided in one or more embodiments of this specification.
[0026] Figure 8 A schematic structural diagram of a lamp provided in one or more embodiments of this specification.
[0027] Description of reference numerals:
[0028] 101-AC-DC power supply, 102-power on / off detection module, 103-control module, 104-target lamp;
[0029] 1021 - first voltage-dividing load, 1022 - second voltage-dividing load, 1023 - first filter capacitor, 1024 - transistor, 1025 - current-limiting load;
[0030] 1031 - control chip, 1032 - second filter capacitor, 1033 - third filter capacitor, 1034 - power supply pin, 1035 - receiving pin 1035, 1036 - transmitting pin;
[0031] 105- step-down module, 1051- diode, 1052- step-down circuit;
[0032] 701 - processor, 702 - memory, 703 - power supply, 704 - wired / wireless network interface, 705 - input / output interface, 706 - keyboard;
[0033] 800-Lighting fixtures, 801-Lighting fixture driving power supply system. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this document.
[0035] With the advancement of electronic technology, lighting control is becoming increasingly intelligent. Users' requirements for lighting control are also increasing. In actual production, manufacturers often produce lighting fixtures and their driver power systems based on unified mains power standards. However, in actual applications, the real-time mains power parameters may not conform to these unified standards used during production.
[0036] Mains power, also known as industrial frequency alternating current (AC), can be characterized by the three common AC quantities: voltage, current, and frequency. Common AC frequencies used worldwide are 50Hz and 60Hz, and civilian AC voltages range from 100V to 380V. The examples in this specification do not impose any specific restrictions on the values of mains power.
[0037] If the lamp control is affected by the mains power fluctuation, it may reduce the stability of the lamp control and bring a bad experience to the user. To this end, this specification provides an embodiment of a lamp driving power system:
[0038] Figure 1 A schematic structural diagram of a driving power system for a lamp provided in one or more embodiments of this specification.
[0039] like Figure 1 As shown, the driving power supply system of the lamp includes an AC-DC power supply 101, a power-on / power-off detection module 102 and a control module 103; wherein: the AC-DC power supply 101 is connected to the power-on / power-off detection module 102 and is used to input a first DC voltage signal to the power-on / power-off detection module 102 when powered; the AC-DC power supply 101 is connected to the control module 103 and is used to supply power to the control module 103; the power-on / power-off detection module 102 is connected to the control module 103 and is used to receive the first DC voltage signal when the AC-DC power supply 101 is powered. A DC voltage signal is converted into a first level signal and sent to the control module 103. When the AC-DC power supply 101 loses power, the control module 103 is used to output a second level signal to the control module 103. The control module 103 is used to determine whether to send a control signal to the target lamp 104 based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold when there is a target lamp 104 connected to the control module 103 and the AC-DC power supply 101 respectively. The pulse signal is formed by alternating first and second level signals. AC-DC power supply 101AC-DC power supply 101AC-DC power supply 101AC-DC power supply 101
[0040] The power driving system of the lamp provided in the embodiment of the present application can be connected to the target lamp 104 to power the connected target lamp 104, and can also send a control signal to the connected target lamp 104 through the control module 103 to control the connected target lamp 104 to perform a preset operation corresponding to the control signal.
[0041] AC-DC power supply 101 may be an AC-DC (Alternating Current-Direct Current) power supply, configured to convert AC power into a constant DC power supply. The DC power converted by AC-DC power supply 101 may be 24V, 48V, or another predetermined value.
[0042] In practical applications, the AC-DC power supply 101 can be plugged into a power strip to convert the mains power, for example, a 220V AC signal, into a 24V DC signal.
[0043] The power-on / power-off detection module 102 may be a preset circuit structure for detecting whether the AC-DC power supply 101 is powered.
[0044] During specific implementation, the AC-DC power supply 101 is inserted into a power strip so that the AC-DC power supply 101 receives the AC signal from the mains, converts the AC signal into a DC voltage signal or a DC current signal and outputs it. In this case, the AC-DC power supply 101 is in a powered state, that is, the AC-DC power supply 101 is powered.
[0045] If the lamp switch used to control the target lamp is turned off, or the AC-DC power supply 101 is unplugged from the power strip, or the mains power fails, or the AC-DC power supply 101 is disconnected from the mains power, in any of the above situations, the AC-DC power supply 101 does not receive any AC power signal and does not output any DC current signal or DC voltage signal. In this case, the AC-DC power supply 101 is in a power-off state, that is, the AC-DC power supply 101 loses power.
[0046] The AC-DC power supply 101 in the embodiment of the present application may be a voltage power supply, which is used to convert the AC voltage signal of the mains into a DC voltage signal with a constant value.
[0047] The control module 103 may be a control component for controlling the target lamp 104. The target lamp 104 may be a magnetic lamp or other type of lamp. In the case where the target lamp 104 is a magnetic lamp, the control module 103 may be a magnetic guide rail control box of the magnetic lamp.
[0048] An input end of the AC-DC power supply 101 may be connected to the mains, and an output end of the AC-DC power supply 101 may be connected to the power on / off detection module 102 .
[0049] The output end of the AC-DC power supply 101 may also be connected to the input end of the control module 103 , so that the AC-DC power supply 101 supplies power to the control module 103 when powered.
[0050] The output end of the power-on / power-off detection module 102 can be connected to the input end of the control module 103, so that when the AC-DC power supply 101 is powered, the power-on / power-off detection module 102 sends a first level signal to the control module 103, and when the AC-DC power supply 101 is powered off, the power-on / power-off detection module 102 sends a second level signal to the control module 103.
[0051] The voltage value of the first DC voltage signal may be a preset value. Regardless of whether the mains power fluctuates, the AC-DC power supply 101 may convert the AC signal of the mains power into a DC signal of a fixed value.
[0052] For example, fluctuations in the mains power may cause changes in the value of the input voltage signal of the AC-DC power supply 101. The input voltage signal can be a 220V AC voltage signal, a 240V AC voltage signal, or a 190V AC voltage signal. However, regardless of the specific value of the input voltage signal, the AC-DC power supply 101 can convert the input voltage signal into a 24V DC voltage signal.
[0053] The first level signal may be one of a high level signal and a low level signal, and the second level signal may be the other of the high level signal and the low level signal. In one embodiment, the first level signal is a high level signal, and the second level signal is a low level signal. In another embodiment, the first level signal is a low level signal, and the second level signal is a high level signal. The "first" and "second" here are merely used to distinguish between signals of different waveforms transmitted from the power-on / power-off detection module 102 to the control module 103 under two different conditions, and have no practical meaning.
[0054] A high level refers to a high voltage relative to a low level and is a term used in electronic engineering. In logic levels, it refers to the minimum input high level required to ensure that the logic gate's input is high. When the input level is higher than the input high voltage, the input is considered high. A low level refers to the maximum input low level required to ensure that the logic gate's input is low. When the input level is lower than the low level, the input is considered low. A low level is a low voltage relative to a high level and is a term used in electronic engineering. In digital logic circuits, a low level represents 0 and a high level represents 1.
[0055] A pulse signal is a discrete signal with a variety of shapes. Compared with ordinary analog signals (such as sine waves), its waveforms are discontinuous on the Y-axis (there are obvious intervals between waveforms), but it has a certain periodicity.
[0056] The pulse signal in the embodiment of the present application is formed by alternating first and second level signals, that is, the pulse signal is formed by alternating high and low level signals. The period and pulse width of the pulse signal are determined by the signal parameters of the first and second level signals.
[0057] For example, the first level signal is a low level signal and the second level signal is a high level signal. When the low level signal and the high level signal appear alternately, the duration of each low level signal appearance is T1, and the duration of each high level signal appearance is T2. Then, the period of the corresponding pulse signal is (T1+T2), and the pulse width is T2.
[0058] The first end of the target lamp 104 can be connected to the output end of the AC-DC power supply 101, so that the AC-DC power supply 101 supplies power to the target lamp 104; the second end of the target lamp can be connected to the output end of the control module 103 to receive the control signal output by the control module 103.
[0059] The preset time range may be determined by a preset time length and a time point when the control module 103 receives the first level signal or the second level signal.
[0060] For example, the target lamp 104 includes an operating state and an off state. If the target lamp 104 remains in the off state for at least a seconds, the signals received by the control module 103 in the lamp's driving power system are all second-level signals. After the target lamp remains in the off state for at least a seconds, it switches to the operating state. When the control module 103 initially detects that the received signal is a first-level signal, the time point at which the control module 103 initially receives the first-level signal can be determined as the starting time point b1 of the preset time range. If the preset time length is b2 seconds, the preset time range can be [b1, b1+b2]. The aforementioned a and b2 can be any pre-set non-negative real numbers, and the aforementioned b1 can be any time point.
[0061] For another example, if the target lamp remains in an operating state for at least c seconds, the control module 103 in the lamp's driving power system receives signals of the first level. After the target lamp remains in an operating state for at least c seconds, it switches to an off state. The control module 103 initially detects that the received signal is a signal of the second level. In this case, the time point at which the control module 103 initially receives the first waveform signal can be determined as the starting time point of the preset time range, which is d1. If the preset time length is d2 seconds, the preset time range can be [d1, d1+d2]. The aforementioned c and d2 can be any pre-set non-negative real numbers, and the aforementioned d1 can be any time point.
[0062] The control module 103 determines whether the number of pulse signals within a preset time range is greater than or equal to a preset number threshold; if so, a control signal is sent to the target lamp 104; if not, no control signal is sent to the target lamp 104.
[0063] The preset time range is used to ensure that the switching between the AC and DC power supplies when they are switched on and off multiple times in a row occurs within a short period of time.
[0064] The preset quantity threshold can be customized according to the lighting control requirements.
[0065] The preset number threshold is used to set a corresponding control signal based on the number of user operations within a preset time range. Specifically, the preset number threshold can avoid erroneously triggering the control module 103 to send a control signal to the connected target lamp.
[0066] For example, a user can reset a lamp by repeatedly turning the wall switch on and off. However, in practice, accidental triggering may occur, such as when a child repeatedly bumps into the wall switch while playing near it. In this case, setting a preset threshold number can prevent false triggering of the reset operation. The preset threshold number can be 10. If the number of pulse signals received by the control module 103 within a preset time range is 6, and 6 is less than 10, the control module 103 determines not to send a control signal for performing the reset operation to the connected target lamp.
[0067] Optionally, the driving power supply system of the lamp provided in the embodiment of the present application also includes a lamp switch; the lamp switch is connected to the AC-DC power supply 101, controls the AC-DC power supply 101 to be turned on or off, so that the AC-DC power supply 101 is powered when it is turned on, and loses power when it is turned off.
[0068] The lamp switch may be a wall switch or other control switch for controlling the lamp to switch between an on state and an off state.
[0069] For example, the user touches the light switch for the first time, causing the light that was originally in the working state to switch to the off state and the light to go out. The user touches the light switch for the second time, causing the light that was originally in the off state to switch to the working state and the light to turn on.
[0070] In a specific implementation, a user operation on a lamp switch can be obtained, and based on the user operation, the AC-DC power supply 101 connected to the lamp switch can be turned on or off, so that the AC-DC power supply 101 is powered when it is turned on and is de-powered when it is turned off. The user operation can include turning the lamp on and off. The lamp on and off operations can be the same or different. The user operation can be a light touch on the lamp switch, a long press on the lamp switch for y seconds, where y is a positive real number, or other pre-set operation. Optionally, the control signal includes at least one of the following: a reset control signal, a scene switching control signal, a brightness control signal, and a color control signal.
[0071] The reset control signal can be used to control the target lamp 104 to perform a reset operation. Reset can be understood as a form of initialization. For example, the target lamp 104 is pre-configured with an initialization state. In this initialization state, the state parameters of the target lamp 104 can be represented by x1. State parameters include but are not limited to: lamp power, lamp brightness, luminous area of a single lamp, the on and off status of each sub-lamp in a lamp including multiple sub-lamp, lamp luminous color, and lamp luminous effect. The above operating parameters are merely illustrative and do not constitute any special limitation on the target lamp provided in the embodiments of this application.
[0072] In actual applications, the current state of the target lamp 104 is likely different from the initialization state, and the state parameter of the lamp in the current state can be represented by x2. When the user controls the target lamp 104 to perform a reset operation through a reset control signal, the state parameter of the target lamp 104 can be switched from x2 to x1.
[0073] The following takes the target lamp 104 as a magnetic lamp group as an example to explain the reset. For example, the magnetic lamp group includes magnetic lamp 1, magnetic lamp 2 and magnetic lamp 3. In the initialization state of the magnetic lamp group, magnetic lamp 1 is on, magnetic lamp 2 is off, and magnetic lamp 3 is off. However, in the current state, magnetic lamp 1, magnetic lamp 2 and magnetic lamp 3 in the magnetic lamp group are on. When the user controls the lamp to reset through the reset control signal, magnetic lamp 1, magnetic lamp 2 and magnetic lamp 3 are simultaneously turned on and off N times, and then changed to magnetic lamp 1 on, magnetic lamp 2 off, and magnetic lamp 3 off. Among them, before returning to the initialization state, each magnetic lamp is turned on and off N times so that the user can intuitively feel that the magnetic lamp group is performing a reset operation.
[0074] It should be emphasized that the reset control signal is a preferred implementation of the control signal in the embodiment of the present application. The specific reasons are described below:
[0075] In the actual use of lamps, the frequency of turning them on and off is very high, while the frequency of resetting them is relatively low. For example, when a lamp malfunctions, the user can resolve the malfunction by resetting the lamp to its initial state. Furthermore, by setting a preset time range and a preset number threshold, the reset operation can be triggered by repeatedly turning the lamp on and off in a short period of time. This allows for the reuse of the lamp switch, allowing it to be used both to trigger the lamp on and off and to reset it. Furthermore, the frequency of turning the lamp on and off is high, requiring only a single tap of the switch. The frequency of resetting the lamp is low, requiring the lamp to be turned on and off multiple times in a short period of time, making it less likely to be falsely triggered. Therefore, in actual use, the triggering method for the reset operation is often set to repeatedly turn the lamp on and off in a short period of time.
[0076] Furthermore, when the control module 103 is triggered to send a reset control signal by switching the lamp on and off multiple times in a short period of time, whether the timing of sending the reset control signal by the control module 103 accurately corresponds to the actual user operation will affect the user experience.
[0077] Power grids in different regions may differ. For example, the standard mains electricity is 220V AC at 50Hz. Not all regions have stable mains electricity that meets the standard. When the mains electricity fluctuates due to interference, for example, the quality of the power grid near a factory with huge electricity consumption may be poor, the mains electricity may become 70Hz, 240V, 180V, etc. The manufacturer manufactures the lamp's driver power system based on the parameters of a standard 50Hz, 220V mains power supply. If the mains power supply does not meet the standard, and if the power-on / off detection module 102 detects the AC mains signal instead of the DC signal output by the DC-AC voltage regulator 101, the power-on / off detection module 102 may be affected by mains power fluctuations. This can cause the signal waveform output by the power-on / off detection module 102 to fail to meet the triggering conditions for sending a reset control signal when the user alternately turns the wall switch on and off N times in a short period of time, thus failing to trigger a reset. Alternatively, the user may need to alternately turn the switch on and off more than N times before the signal waveform output by the power-on / off detection module 102 meets the triggering conditions for sending a reset control signal, thus reducing the user experience. N is the preset number of alternate on and off operations during the reset control operation. If the user fails to successfully reset the lamp according to the operating instructions in the manual, or if the lamp reset is delayed, this may negatively impact the lamp's operational sensitivity.
[0078] In the lamp driving power supply system provided in the embodiment of the present application, the power-on / power-off detection module 102 detects the first DC voltage signal output by the AC-DC power supply. The value of the first DC voltage signal is not affected by the fluctuation of the mains power and is constant. On this basis, even if the mains power fluctuates, it will not affect the signal waveform output by the power-on / power-off detection module 102. Furthermore, the number of pulse signals received by the control module 103 can accurately reflect the actual user operation. The control module 103 determines whether to send a reset control signal to the target lamp based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold, which can improve the stability of the lamp reset control. The target lamp can be pre-configured with multiple lamp working scenes, such as a rest scene, a workshop scene, an outdoor scene, etc. The scene switching control signal can be used to control the target lamp 104 to switch between the working modes corresponding to each lamp working scene. For example, before the control module 103 sends a scene switching control signal to the target lamp 104, the working mode of the target lamp 104 is working mode 1, which corresponds to the rest scene. When the control module 103 sends a scene switching control signal carrying the scene identifier of the workshop scene to the connected target lamp 104, the working mode of the target lamp 104 is switched from working mode 1 to working mode 2 corresponding to the workshop scene.
[0079] The brightness control signal can be used to control the target lamp 104 to change its own luminous brightness.
[0080] The color control signal can be used to control the target lamp 104 to change its own luminous color.
[0081] The above-mentioned control signals are merely exemplary. In the driving power supply system of the lamp provided in the embodiment of the present application, the control signal sent by the control module 103 to the connected target lamp 104 may also be any other control signal for changing at least one current state parameter of the target lamp, and so on.
[0082] It should be noted that the lamp driving power supply system provided in the embodiments of this specification involves multiple energy storage electronic components, such as capacitors, inductors, and the like. If the AC-DC power supply 101 loses power and the target lamp 104 connected to the AC-DC power supply 101 and the control module 103 respectively does not exist, the process of releasing electrical energy from each energy storage component may be relatively slow, resulting in a large delay between the input signal and the output signal of the power-on / power-off detection module 102. This, in turn, causes the timing of the control module 103 sending a control signal to the target lamp 104 to significantly lag behind the actual user operation. In the lamp driving power supply system provided in the embodiments of this specification, the target lamp 104 can serve as the control object of the control module 103 and also play the role of quickly consuming the electrical energy stored in the various energy storage electronic components included in the entire lamp driving power supply system in the event of a power failure of the AC-DC power supply 101. This shortens the time delay between the time when the control module 103 sends the control signal to the target lamp 104 and the actual user operation, thereby improving the user experience.
[0083] The AC-DC power supply 101, power-on / power-off detection model 102, control module 103 included in the lamp driving power system, and the target lamp 104 outside the lamp driving power system can be integrated into an integrated structure or four independent structures. At least two of the modules can be freely combined according to needs, for example, the control module 103 and the target lamp 104 can be integrated into an integrated structure.
[0084] Next, various structures included in the driving power supply system of the lamp will be further described in detail.
[0085] Optionally, the power-on / power-off detection model 102 includes a first voltage-divider load 1021, a second voltage-divider load 1022, a first filter capacitor 1023, a transistor 1024 and a current-limiting load 1025; wherein, the input end of the first voltage-divider load 1021 is connected to the AC-DC power supply 101, for receiving a first DC voltage signal when the AC-DC power supply 101 is powered; the output end of the first voltage-divider load 1021 is respectively connected to the input end of the first filter capacitor 1023, the input end of the second voltage-divider load 1022 and the input end of the transistor 1024; the first filter capacitor 1023 is connected in parallel with the second voltage-divider load 1022; the output end of the second voltage-divider load 1022 is grounded; the first output end of the transistor 1024 is grounded; and the second output end of the transistor 1024 is connected to the control module 103 through the current-limiting load 1025.
[0086] Below, you can combine Figure 2 The specific structure of the power-on / power-off detection module 102 will be described below. Figure 2A schematic diagram of the structure of a power-on / power-off detection module provided in one or more embodiments of this specification.
[0087] like Figure 2 As shown, the transistor 1024 includes an input terminal and two output terminals (a first output terminal and a second output terminal), wherein the first output terminal is Figure 2 The end of the transistor 1024 marked with an arrow is the second output end. Figure 2 Another output terminal symmetrical to the first output terminal.
[0088] The input end of the first voltage divider load 1021 is connected to the AC-DC power supply 101; the output end of the first voltage divider load 1021 is respectively connected to the input end of the first filter capacitor 1023, the input end of the second voltage divider load 1022 and the input end of the transistor 1024; the first filter capacitor 1023 and the second voltage divider load 1022 are connected in parallel; the output end of the first filter capacitor 1023 is grounded, and the output end of the second voltage divider load 1022 is grounded; the first output end of the transistor 1024 is grounded; the second output end of the transistor 1024 is connected to the control module 103 through the current limiting load 1025.
[0089] Among them, the first voltage divider load 1021 and the second voltage divider load 1022 are used for voltage division, so that the voltage value received by the input end of the transistor 1024 is less than the voltage value of the initial power supply voltage, and the ratio between the voltage value received by the input end of the transistor 1024 and the voltage value of the initial power supply voltage is determined by the impedance of the first voltage divider load 1021 and the second voltage divider load 1022.
[0090] The first voltage-dividing load 1021 can be replaced by a plurality of load electronic devices connected in series, and the second voltage-dividing load 1021 can also be replaced by a plurality of load electronic devices connected in series. The load electronic device can be a resistor, or other electronic device with impedance such as a capacitor and an inductor. The first filter capacitor 1023 is used to filter the interference signal transmitted from the AC-DC power supply 101 to the power-on-off detection model 102. The transistor 1024 is used to turn on or off when the voltage value received at the input end is different, so as to change the signal sent by the second output end of the transistor 1024 to the control module 103. The current-limiting resistor 1025 is used to limit the current sent by the second output end of the transistor 1024 to the control module 103.
[0091] It should be noted that by setting the target lamp 104, when the AC-DC power supply 101 loses power, the energy stored in each energy storage element in the entire lamp driving power system can be quickly released, thereby quickly turning off the transistor 1024.
[0092] Optionally, the first level signal is a low level signal; the second level signal is a high level signal; when the AC-DC power supply 101 is powered, the transistor is turned on, and the second output end of the transistor outputs a low level signal; when the AC-DC power supply 101 is powered off, the transistor is disconnected, and the second output end of the transistor outputs a high level signal.
[0093] In one embodiment, when the AC-DC power supply 101 is powered, the power-on / power-off detection module 101 sends a low-level signal to the control module 103 ; when the AC-DC power supply 101 is powered off, the power-on / power-off detection module 101 sends a high-level signal to the control module 103 .
[0094] When the AC-DC power supply 101 is powered, the AC-DC power supply 101 inputs a first DC voltage signal, for example, 24V, to the power-on / power-off detection model 102. After being divided by the first voltage divider load 1021 and the second voltage divider load 1022, the input end of the transistor 1024 receives a voltage of a preset value, for example, 8V. This voltage can be the operating voltage of the transistor 1024. Then, the transistor 1024 is in the on state, the current limiting resistor 1025 can be regarded as grounded, and the second output end of the transistor outputs a low-level signal "0".
[0095] When the AC-DC power supply 101 loses power, the AC-DC power supply 101 can be regarded as inputting 0V to the power-on / power-off detection model 102. After the voltage is divided by the first voltage divider load 1021 and the second voltage divider load 1022, the input end of the transistor 1024 receives a 0V voltage, and the transistor 1024 is in a disconnected state. Therefore, the second output end of the transistor outputs a high-level signal "1".
[0096] Figure 3 A schematic diagram of a voltage signal for representing the detection result of a power-on / power-off detection module provided in one or more embodiments of this specification, specifically, Figure 3 The voltage value of the voltage signal output by the power-on / power-off detection model 102 to the control module 103 is shown.
[0097] like Figure 3As shown, before time point t1, the second output end of the transistor outputs a low-level signal "0"; from time point t1 to time point t2, the second output end of the transistor outputs a high-level signal "1"; from time point t2 to time point t3, the second output end of the transistor outputs a low-level signal "0"; from time point t3 to time point t4, the second output end of the transistor outputs a high-level signal "1"; from time point t4 to time point t5, the second output end of the transistor outputs a low-level signal "0"; from time point t5 to time point t6, the second output end of the transistor outputs a high-level signal "1"; from time point t6 to time point t7, the second output end of the transistor outputs a low-level signal "0"; from time point t7 to time point t8, the second output end of the transistor outputs a high-level signal "1"; after time point t8, the second output end of the transistor outputs a low-level signal "0".
[0098] Depend on Figure 3 It can be seen that the AC-DC power supply 101 is powered before time point t1, from time point t2 to time point t3, from time point t4 to time point t5, from time point t6 to time point t7, and after time point t8; and the AC-DC power supply 101 is powered off from time point t1 to time point t2, from time point t3 to time point t4, from time point t5 to time point t6, and from time point t7 to time point t8.
[0099] In one embodiment, it is determined whether the number of pulse signals is greater than or equal to a preset number threshold; if so, a control signal is sent to the target lamp 104; if not, no control signal is sent to the target lamp 104.
[0100] A pulse signal is a discrete signal that is continuously emitted at a certain voltage amplitude and time interval. "0" represents a low-level signal, and "1" represents a high-level signal. Thus, a pulse signal can be "1010101010," "100100100100100," and so on.
[0101] According to the detection results, the number of pulse signals received within the preset time range is determined. For example, if the detection result received by the first time period control module 103 is "00000000000000", the number of pulse signals received within the first time period is 0; if the detection result received by the second time period control module 103 is "11111111111111", the number of pulse signals received within the second time period is 0; if the detection result received by the third time period control module 103 is "10101010101010", the number of pulse signals received within the third time period is 7.
[0102] Reference Figure 3 As shown, the voltage signal at t1-t2 can be regarded as a pulse signal, then Figure 3A total of 4 pulse signals are shown.
[0103] For example, the preset time range is 2 minutes. When the first pulse signal is detected, the starting time point of the first pulse signal can be used as the starting time point of the 2 minutes. If the number of pulse signals within 2 minutes is greater than or equal to 10, the control module 103 sends a control signal to the target lamp 104; if it is less than 10, the control module 103 does not send a control signal to the target lamp 104.
[0104] Optionally, the control module 103 includes a control chip 1031, a second filter capacitor 1032, and a third filter capacitor 1033; wherein: the power supply pin 1034 of the control chip 1031 is respectively connected to the first end of the second filter capacitor 1032, the first end of the third filter capacitor 1033 and the AC-DC power supply 101; the second filter capacitor 1032 and the third filter capacitor 1033 are connected in parallel; the second end of the second filter capacitor 1032 is grounded; and the second end of the third filter capacitor 1033 is grounded.
[0105] The control chip 1031 may be an MCU (Microcontroller Unit), which appropriately reduces the frequency and specifications of the CPU (Central Processing Unit) and integrates memory, timers, multiple peripheral interfaces, and even driver circuits on a single chip to form a chip-level computer, providing different combination controls for different applications.
[0106] Figure 4 This is a schematic diagram of the structure of a control module provided in one or more embodiments of this specification. Figure 4 The control module 103 at least includes a power supply pin 1034 , a receiving pin 1035 connected to the power-on / power-off detection module 102 and used to receive the detection result, and a sending pin 1036 connected to the target lamp 104 and used to send a control signal.
[0107] The power supply pin 1034 of the control chip 1031 is respectively connected to the first end of the second filter capacitor 1032, the first end of the third filter capacitor 1033 and the AC-DC power supply 101, and the second filter capacitor 1032 and the third filter capacitor 1033 are connected in parallel; the second end of the second filter capacitor 1032 is grounded; the second end of the third filter capacitor 1033 is grounded.
[0108] The second filter capacitor 1032 and the third filter capacitor 1033 are used to filter interference signals transmitted from the AC-DC power supply 101 to the control module 103. It should be noted that the second filter capacitor 1032 and the third filter capacitor 1033 are not directly related to the first filter capacitor 1023 mentioned above, and their functions are similar. However, the second filter capacitor 1032 and the third filter capacitor 1033 are electronic components included in the control module 103, while the first filter capacitor 1023 is an electronic component included in the power-on / power-off detection model 102.
[0109] Optionally, the driving power system of the lamp also includes: a step-down module 105 arranged between the AC-DC power supply 101 and the control module 103; the step-down module 105 receives a second DC voltage signal input by the AC-DC power supply 101, steps down the second DC voltage signal, and outputs the stepped-down second DC voltage signal to the control module 103 to supply power to the control module 103.
[0110] The second DC voltage signal is a constant DC voltage signal output by the AC-DC power supply 101. The values of the first DC voltage signal and the second DC voltage signal may be the same or different. In the first DC voltage signal and the second DC voltage signal, the terms "first" and "second" are used to distinguish the DC voltage signals output by the AC-DC power supply in the embodiment of the driving power supply system for two lamps with different structures.
[0111] Figure 5 This is another structural diagram of the driving power system of the lamp provided in one or more embodiments of this specification. Figure 5 As shown, the AC-DC power supply 101, the step-down module 105, and the control module 103 are connected in series. The step-down module 105 receives the second DC voltage signal input from the AC-DC power supply 101, steps down the second DC voltage signal, and outputs the stepped-down second DC voltage signal to the control module 103.
[0112] This embodiment can be applied to low-voltage power supply scenarios. For example, if the DC voltage signal output by the AC-DC power supply is 24V, while the operating voltage of the control module is 18V, the AC-DC power supply 101 needs to be stepped down and the stepped-down voltage of 18V is output to the control module 103 to power the control module 103.
[0113] In this embodiment, the step-down module 105 is arranged between the AC-DC power supply 101 and the control module 103. Specifically, the input end of the step-down module 105 can be connected to the output end of the AC-DC power supply 101, and the output end of the step-down module 105 can be connected to the power supply pin 1034 of the control chip 1031.
[0114] Optionally, the step-down module 105 includes a diode 1051 and a step-down circuit 1052; the AC-DC power supply 101, the diode 1051, the step-down circuit 1052 and the control module 103 are connected in series in sequence; the diode 1051 is used to isolate the AC-DC power supply 101 from the step-down circuit 1052.
[0115] Diode 1051 has unidirectional conductivity, which can limit the direction of signal transmission, thereby electrically isolating AC-DC power supply 101 from step-down circuit 1052. Diode 1051 itself has a voltage drop of, for example, 1V. If the initial supply voltage is 24V, AC-DC power supply 101 inputs 24V to diode 1051, which in turn inputs 23V to step-down circuit 1052. The step-down circuit steps down the 23V to generate a reduced voltage of 18V, which is then output to control module 103 to power control module 103.
[0116] In such Figure 1 In the illustrated embodiment, the driving power supply system of the lamp includes an AC-DC power supply, a power-on / power-off detection module and a control module; wherein: the AC-DC power supply is connected to the power-on / power-off detection module, and is used to input a first DC voltage signal to the power-on / power-off detection module when power is on; the AC-DC power supply is connected to the control module, and is used to supply power to the control module; the power-on / power-off detection module is connected to the control module, and is used to convert the received first DC voltage signal into a first level signal and send it to the control module when the AC-DC power supply is powered, and is used to output a second level signal to the control module when the AC-DC power supply is powered off; the control module is used to determine whether to send a control signal to the target lamp in the presence of a target lamp connected to the control module and the AC-DC power supply respectively, based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold; the pulse signal is formed by alternating first level signals and second level signals. This technical solution, by setting up an AC-DC power supply to connect with the power-on / power-off detection module, makes the voltage signal received by the power-on / power-off detection module a DC voltage signal with a constant value, thereby preventing the power-on / power-off detection module from being affected by mains power fluctuations and improving control stability.
[0117] An embodiment of a lamp control method provided in this specification is as follows:
[0118] In the above embodiment, a driving power supply system for a lamp is provided. Based on the same technical concept, a control method for a lamp is also provided. Figure 6 Provide explanation.
[0119] Figure 6This is a flow chart of a method for controlling a lamp provided in one or more embodiments of this specification.
[0120] Since the method embodiment corresponds to the system embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the system embodiment provided above. The system embodiment described below is only illustrative.
[0121] This embodiment provides a lamp control method, which is applied to a lamp driving power supply system as in any of the aforementioned lamp driving power supply system embodiments. The lamp control method includes:
[0122] Step 602: When powered on, the AC-DC power supply inputs a first DC voltage signal to the power-on / power-off detection module; and the AC-DC power supply supplies power to the control module.
[0123] In step 604 , the power-on / off detection module converts the received first DC voltage signal into a first level signal and sends it to the control module when the AC-DC power supply is powered, and outputs a second level signal to the control module when the AC-DC power supply is off.
[0124] Step 606, the control module determines whether to send a control signal to the target lamp in the presence of a target lamp connected to the control module and the AC-DC power supply respectively, based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold; the pulse signal is formed by alternating first level signals and second level signals.
[0125] In such Figure 6 In the illustrated embodiment, a lamp driving power system includes an AC-DC power supply, a power-on / off detection module, and a control module; wherein: the AC-DC power supply inputs a first DC voltage signal to the power-on / off detection module when powered; the AC-DC power supply supplies power to the control module; the power-on / off detection module converts the received first DC voltage signal into a first level signal when the AC-DC power supply is powered and sends it to the control module, and outputs a second level signal to the control module when the AC-DC power supply is off; the control module, when a target lamp is connected to the control module and the AC-DC power supply, determines whether to send a control signal to the target lamp based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold; the pulse signal is formed by alternating first and second level signals. This technical solution, by connecting the AC-DC power supply to the power-on / off detection module, ensures that the voltage signal received by the power-on / off detection module is a constant DC voltage signal, thereby preventing the power-on / off detection module from being affected by mains power fluctuations and improving control stability.
[0126] An embodiment of an electronic device provided in this specification is as follows:
[0127] Corresponding to the above-described method for controlling a lamp, based on the same technical concept, one or more embodiments of this specification further provide an electronic device, which is used to execute the above-described method for controlling a lamp. Figure 7 A schematic diagram of the structure of an electronic device provided in one or more embodiments of this specification.
[0128] This embodiment provides an electronic device, including:
[0129] The electronic device may include a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the aforementioned method for controlling the lamp are implemented.
[0130] like Figure 7 As shown, electronic devices may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and memory 702, and the memory 702 may store one or more storage applications or data. Among them, the memory 702 can be a temporary storage or a persistent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), each module may include a series of computer-executable instructions in the electronic device. Furthermore, the processor 701 can be configured to communicate with the memory 702 to execute a series of computer-executable instructions in the memory 702 on the electronic device. The electronic device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input / output interfaces 705, one or more keyboards 706, etc.
[0131] In a specific embodiment, the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the electronic device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:
[0132] The AC-DC power supply inputs a first DC voltage signal to the power-on / power-off detection module when powered; the AC-DC power supply supplies power to the control module;
[0133] The power-on / power-off detection module converts the received first DC voltage signal into a first level signal and sends it to the control module when the AC-DC power supply is powered, and outputs a second level signal to the control module when the AC-DC power supply is powered off;
[0134] The control module determines whether to send a control signal to the target lamp based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold when there is a target lamp connected to the control module and the AC-DC power supply respectively; the pulse signal is formed by alternating first level signals and second level signals.
[0135] An embodiment of a storage medium provided in this specification is as follows:
[0136] Corresponding to the above-described method for controlling a lamp, based on the same technical concept, one or more embodiments of this specification further provide a readable storage medium.
[0137] The readable storage medium provided in this embodiment stores a program or instruction, which, when executed by a processor, implements the following process:
[0138] The AC-DC power supply inputs a first DC voltage signal to the power-on / power-off detection module when powered; the AC-DC power supply supplies power to the control module;
[0139] The power-on / power-off detection module converts the received first DC voltage signal into a first level signal and sends it to the control module when the AC-DC power supply is powered, and outputs a second level signal to the control module when the AC-DC power supply is powered off;
[0140] The control module determines whether to send a control signal to the target lamp based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold when there is a target lamp connected to the control module and the AC-DC power supply respectively; the pulse signal is formed by alternating first level signals and second level signals.
[0141] It should be noted that the embodiment of the storage medium in this specification and the embodiment of the lamp control method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0142] An embodiment of a lamp provided in this specification is as follows:
[0143] Corresponding to the driving power supply system of a lamp described above, based on the same technical concept, one or more embodiments of this specification further provide a lamp. Figure 8 A schematic structural diagram of a lamp provided in one or more embodiments of this specification.
[0144] This embodiment provides a lamp 800, comprising: a lamp driving power system 801 provided by any of the aforementioned lamp driving power system embodiments.
[0145] The lamp provided by the embodiment of the present invention can implement the various processes implemented by the aforementioned embodiment of the driving power supply system of the lamp and the embodiment of the control method of the lamp. To avoid repetition, they are not described here.
[0146] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0147] In the 1930s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.
[0148] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to implementing the controller in a purely computer-readable program code format, the controller can be implemented in the form of logic gates, switches, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the means for implementing various functions included therein can also be considered as structures within the hardware component. Or even, the means for implementing various functions can be considered as both a software module implementing the method and a structure within the hardware component.
[0149] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0150] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0151] Those skilled in the art will appreciate that one or more embodiments of this specification may be provided as a method, system, or computer program product. Thus, one or more embodiments of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0152] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable electronic device to produce a machine, so that the instructions executed by the processor of the computer or other programmable electronic device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0153] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable electronic device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0154] These computer program instructions can also be loaded onto a computer or other programmable electronic device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0155] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0156] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0157] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0158] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0159] One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0160] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
[0161] The foregoing description is merely an example of the present invention and is not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be included within the scope of the claims herein.
Claims
1. A driving power supply system for a lamp, characterized in that: It includes an AC-DC power supply, a power-on / power-off detection module, and a control module; wherein: The AC-DC power supply is connected to the power-on / power-off detection module and is used to input a first DC voltage signal to the power-on / power-off detection module when powered; The AC-DC power supply is connected to the control module and is used to supply power to the control module; The power-on / power-off detection module is connected to the control module and is used to convert the received first DC voltage signal into a first level signal and send it to the control module when the AC-DC power supply is powered, and is used to output a second level signal to the control module when the AC-DC power supply is powered off; The control module is configured to, when there is a target lamp connected to the control module and the AC-DC power supply, determine whether to send a control signal to the target lamp based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold; the pulse signal is formed by alternating first level signals and second level signals; Among them, if the number of pulse signals within the preset time range is greater than or equal to the preset number threshold, a control signal is sent to the target lamp; if the number of pulse signals within the preset time range is less than the preset number threshold, no control signal is sent to the target lamp.
2. The system according to claim 1, wherein: The system also includes a light switch; The lamp switch is connected to the AC-DC power supply and controls the AC-DC power supply to be turned on or off, so that the AC-DC power supply is powered when it is turned on and is de-powered when it is turned off.
3. The system according to claim 1, wherein: Also includes: a step-down module disposed between the AC-DC power supply and the control module; The step-down module receives a second DC voltage signal input by the AC-DC power supply, steps down the second DC voltage signal, and outputs the stepped-down second DC voltage signal to the control module to supply power to the control module.
4. The system according to claim 3, characterized in that The step-down module includes a diode and a step-down circuit; The AC-DC power supply, the diode, the step-down circuit and the control module are connected in series in sequence; The diode is used to isolate the AC-DC power supply from the step-down circuit.
5. The system according to claim 1, wherein: The power-on / power-off detection module includes a first voltage-dividing load, a second voltage-dividing load, a first filter capacitor, a transistor, and a current-limiting load; wherein, The input end of the first voltage-dividing load is connected to the AC-DC power supply, and is used to receive the first DC voltage signal when the AC-DC power supply is powered; The output end of the first voltage-dividing load is connected to the input end of the first filter capacitor, the input end of the second voltage-dividing load, and the input end of the transistor respectively; The first filter capacitor is connected in parallel with the second voltage-dividing load; The output end of the second voltage-dividing load is grounded; The first output terminal of the triode is grounded; The second output end of the transistor is connected to the control module through the current limiting load.
6. The system according to claim 5, characterized in that The first level signal is a low level signal; the second level signal is a high level signal; When the AC-DC power supply is powered, the transistor is turned on, and the second output terminal of the transistor outputs the low-level signal; When the AC-DC power supply loses power, the transistor is disconnected, and the second output terminal of the transistor outputs the high-level signal.
7. The system according to claim 1, wherein: The control module includes a control chip, a second filter capacitor, and a third filter capacitor; wherein: The power supply pins of the control chip are respectively connected to the first end of the second filter capacitor, the first end of the third filter capacitor and the AC-DC power supply; The second filter capacitor is connected in parallel with the third filter capacitor; The second terminal of the second filter capacitor is grounded; A second terminal of the third filter capacitor is grounded.
8. The system according to any one of claims 1 to 7, characterized in that: The control signal includes at least one of the following: a reset control signal, a scene switching control signal, a brightness control signal, and a color control signal.
9. A method for controlling a lamp, characterized in that: A driving power supply system for a lamp according to any one of claims 1 to 8, comprising: The AC-DC power supply inputs a first DC voltage signal to the power-on / power-off detection module when powered; the AC-DC power supply supplies power to the control module; The power-on / power-off detection module converts the received first DC voltage signal into a first level signal and sends the first level signal to the control module when the AC-DC power supply is powered, and outputs a second level signal to the control module when the AC-DC power supply is powered off; The control module determines whether to send a control signal to a target lamp connected to the control module and the AC-DC power supply, respectively, based on whether the number of pulse signals received within a preset time range is greater than or equal to a preset number threshold, when the target lamp exists; the pulse signal is formed by alternating first level signals and second level signals; Among them, if the number of pulse signals within the preset time range is greater than or equal to the preset number threshold, a control signal is sent to the target lamp; if the number of pulse signals within the preset time range is less than the preset number threshold, no control signal is sent to the target lamp.
10. An electronic device, characterized in that: The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for controlling the lamp according to claim 9.
11. A lamp, characterized in that: A driving power supply system comprising the lamp according to any one of claims 1 to 8.
Citation Information
Patent Citations
Controllable LED luminous device
CN200941704Y