CN116033629A - Lamp control method - Google Patents

Lamp control method Download PDF

Info

Publication number
CN116033629A
CN116033629A CN202210819059.8A CN202210819059A CN116033629A CN 116033629 A CN116033629 A CN 116033629A CN 202210819059 A CN202210819059 A CN 202210819059A CN 116033629 A CN116033629 A CN 116033629A
Authority
CN
China
Prior art keywords
control unit
switching
mode selector
switch
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210819059.8A
Other languages
Chinese (zh)
Inventor
林军
潘成前
黄伟
陈进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou Jutai Electronic Co Ltd
Original Assignee
Changzhou Jutai Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changzhou Jutai Electronic Co Ltd filed Critical Changzhou Jutai Electronic Co Ltd
Priority to CN202210819059.8A priority Critical patent/CN116033629A/en
Priority to GB2212400.2A priority patent/GB2620648A/en
Priority to DE102022122221.7A priority patent/DE102022122221B4/en
Publication of CN116033629A publication Critical patent/CN116033629A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/40Details of LED load circuits
    • H05B45/42Antiparallel configurations
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/16Controlling the light source by timing means
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • H05B45/3725Switched mode power supply [SMPS]
    • H05B45/39Circuits containing inverter bridges
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/155Coordinated control of two or more light sources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

The invention discloses a control method of a lamp, which comprises the following steps: s1, after power-on, a control unit outputs a control signal, and the control unit receives an input switching signal from a mode selector; s2, if the control unit judges that the switching signal input by the mode selector is a lamplight flickering mode switching signal, the control unit outputs a flickering mode switching control signal to the switch unit, and the flickering mode switching control signal controls the switching unit to be switched on or off in order; and S3, if the control unit judges that the switching signal input by the mode selector is a lamplight timing signal, the control unit controls and outputs the operation for timing the control signal according to the input of the mode selector, and when the timing time is over, the control unit stops outputting the control signal. The invention can switch the flickering mode of the lamplight and can set the working time of the lamplight.

Description

Lamp control method
Technical Field
The invention relates to the technical field of illumination, in particular to a control method of a lamp.
Background
The festival string lights have various shapes and flashing lights, so that the festival string lights have lighting and decorative effects at night, and are the first choice for people to add festival atmosphere in the festival. The lighting decorative effect sends a control signal with a duty ratio to the LED lamp through the controller, and the control signal enables the LED lamp to generate various different flashing light effects.
The existing LED lamp controller comprises a control unit and a switch unit, wherein the switch unit is connected to the output end of the control unit, the control unit is usually a programmable chip, the switch unit forms two groups of switch circuits through four triodes, and the two groups of switch circuits are controlled to be alternately conducted through the control module so as to realize alternate flashing of two street lamp strings connected to the output end. The two sets of switch circuits have the following problems:
1, only two loads can be connected, and each load is usually a light string, so that the quantity of the light strings which can be connected by the existing switch unit is small, and the light effect generated during working is limited.
And 2, when one of the switch circuits is damaged, the lamp string connected with the switch circuit cannot work, and only the other switch circuit can work at the moment, so that the effect of the lamp string is poorer.
And 3, the four triodes in the switch unit form a group of switch circuits by two triodes at opposite angles, and the structure leads to complex circuit structure, needs more wiring and increases the cost. In each switch circuit, only one triode is electrically connected with the control module, that is, in each group of switch circuits, only one triode is controlled by the control module to be turned on or off, and the on or off of the other triode is determined according to the state of the previous triode, so that the other triode cannot be independently controlled.
In the fourth aspect, the controller may be configured to switch the blinking pattern of the light only, and has no other function, and thus has a disadvantage of having a single function.
Disclosure of Invention
Aiming at the technical problems, the invention provides a lamp control method, which can switch the flickering mode of the lamp and set the working time of the lamp.
The technical scheme for solving the technical problems is as follows:
the control method of the lamp comprises the following steps:
s1, after power-on, a control unit outputs a control signal, and the control unit receives an input switching signal from a mode selector;
s2, if the control unit judges that the switching signal input by the mode selector is a lamplight flickering mode switching signal, the control unit outputs a flickering mode switching control signal to the switch unit, and the flickering mode switching control signal controls the switching unit to be switched on or off in order;
and S3, if the control unit judges that the switching signal input by the mode selector is a lamplight timing signal, the control unit controls and outputs the operation for timing the control signal according to the input of the mode selector, and when the timing time is over, the control unit stops outputting the control signal.
The control unit outputs a control signal for enabling the lamp to work after power is on, if the control unit receives a timing switching signal sent by the mode selector, the control unit switches the operation of the control unit for outputting the timing control signal according to the input of the mode selector, and when the timing time is over, the control unit stops outputting the control signal.
After the control unit sends operation signals to the control unit in different modes, the control unit recognizes the input signals to obtain the switching of the lamplight flickering mode or the lamplight working time setting, and after the control unit obtains a specific conclusion, the control unit outputs corresponding control instructions to control the lamp to work. Therefore, the invention can switch the flickering mode of the lamp light and set the working time of the lamp light, so that the functions of the invention are diversified.
Drawings
FIG. 1 is a circuit block diagram of a luminaire controller of the present invention;
FIG. 2 is a schematic diagram of a DC power supply;
FIG. 3 is a schematic diagram of a first control unit and a switch unit according to the present invention;
FIG. 4 is a wiring diagram of a three-wire four-way lamp;
FIG. 5 is a wiring diagram of a three-wire six-way lamp;
FIG. 6 is a schematic diagram of a second control unit and a switch unit of the present invention;
FIG. 7 is a flow chart of a luminaire control method;
fig. 8 is a schematic diagram of a third control unit and a switching unit;
fig. 9 is a schematic diagram of a fourth control unit and a switching unit;
FIG. 10 is a schematic diagram of a fifth control unit and a switch unit;
FIGS. 11 a-11 g are front projection and perspective views, respectively, of six faces of the appearance of a first luminaire controller;
FIGS. 12 a-12 g are front projection and perspective views, respectively, of six faces of the appearance of a second luminaire controller;
fig. 13a to 13g are front projection views and perspective views of six faces of the appearance of a third luminaire controller, respectively;
fig. 14a to 14g are front projection views and perspective views of six faces of the appearance of a fourth luminaire controller, respectively;
15 a-15 g are front projection and perspective views, respectively, of six faces of the appearance of a fifth luminaire controller;
16 a-16 g are front projection and perspective views, respectively, of six faces of the appearance of a sixth luminaire controller;
17 a-17 g are front projection and perspective views, respectively, of six faces of a seventh luminaire controller appearance;
18 a-18 g are front projection and perspective views, respectively, of six faces of an eighth light fixture controller appearance;
19 a-19 g are front projection and perspective views, respectively, of six faces of an appearance of a ninth luminaire controller;
FIGS. 20 a-20 g are front projection and perspective views, respectively, of six faces of a tenth light fixture controller appearance;
fig. 21a to 21g are front projection views and perspective views, respectively, of six faces of an eleventh luminaire controller appearance;
FIGS. 22 a-22 g are front projection and perspective views, respectively, of six faces of a twelfth light fixture controller appearance;
23 a-23 g are front projection and perspective views, respectively, of six faces of the thirteenth light fixture controller appearance;
FIGS. 24 a-24 g are front projection and perspective views, respectively, of six faces of a fourteenth luminaire controller appearance;
FIGS. 25a through 25f are front projection views of six faces of a fifteenth luminaire controller appearance, respectively;
26 a-26 f are front projection views of six faces of a sixteenth luminaire controller appearance, respectively;
FIGS. 27a through 27f are front projection views of six faces of a seventeenth luminaire controller appearance, respectively;
28 a-28 f are front projection views of six faces of an eighteenth luminaire controller appearance, respectively;
fig. 29a to 29f are front projection views of six faces of a nineteenth luminaire controller appearance, respectively;
FIGS. 30 a-30 f are front projection views of six faces of a twentieth luminaire controller appearance, respectively;
FIGS. 31 a-31 f are front projection views of six faces of a twenty-first luminaire controller appearance, respectively;
FIGS. 32a through 32f are front projection views of six faces of a twenty-second luminaire controller appearance, respectively;
33 a-33 f are front projection views of six faces of a twenty-third luminaire controller appearance, respectively;
34 a-34 f are front projection views of six faces of a twenty-fourth luminaire controller appearance, respectively;
fig. 35a to 35f are front projection views of six faces of the appearance of a twenty-fifth luminaire controller, respectively;
36 a-36 f are front projection views of six faces of a twenty-sixth light fixture controller appearance, respectively;
FIGS. 37a through 37f are front projection views of six faces of a twenty-seventh fixture controller appearance, respectively;
38 a-38 f are front projection views of six faces of an eighth luminaire controller appearance, respectively;
39 a-39 f are front projection views of six faces of a twenty-ninth luminaire controller appearance, respectively;
FIGS. 40 a-40 f are front projection views of six faces of a thirty-first luminaire controller appearance, respectively;
FIGS. 41 a-41 f are front projection views of six faces of a thirty-first luminaire controller appearance, respectively;
fig. 42 a-42 f are front projection views of six faces of a thirty-second luminaire controller appearance, respectively.
Detailed Description
Example 1
As shown in fig. 1, the lamp controller of the present embodiment includes a dc power supply 1, a control unit 2, and a switching unit 3 controlled by the control unit 2 to be turned on or off, and the following details are given for each part and the relationship between the parts:
as shown in fig. 1 and 2, the output end of the dc power supply 1 is electrically connected to the control unit 2 and the switching unit 3, and the dc power supply 1 may be a battery or a switching power supply, and in this embodiment, a switching power supply that converts ac power into dc power is preferably used. In this embodiment, the switching power supply includes a rectifying filter circuit, a voltage conversion circuit, a start-up circuit, and a switching control circuit. Each part of the switching power supply is described in detail as follows:
as shown in fig. 2, the output end of the rectifying and filtering circuit is respectively connected with the voltage converting circuit and the starting circuit, the rectifying and filtering circuit comprises a single-phase full-wave rectifying circuit BD1, a first inductor L1, a first capacitor C1, a second capacitor C2, a second parallel capacitor C2B, a second inductor L2, a first anti-interference resistor R0A and a second anti-interference resistor R0B, the single-phase full-wave rectifying circuit is composed of 4 diodes, the positive output end of the single-phase full-wave rectifying circuit BD1 is respectively connected with one end of the first inductor L1 and one end of the first capacitor C1, the first anti-interference resistor R0A is connected in parallel with two ends of the first inductor L1, the other end of the first inductor L1 is connected with one end of the second capacitor C2, the other end of the second capacitor C2 is grounded, the second parallel capacitor C2B is connected in parallel with two ends of the second capacitor C2, the other end of the first capacitor C1 is connected with the negative output end of the single-phase rectifying circuit BD1, the other end of the first capacitor C1 is also connected with one end of the second inductor L2, the other end of the second inductor L2 is grounded, and the second anti-interference resistor R0 is connected in parallel with two ends of the second capacitor L2.
As shown in fig. 2, after the ac voltage is supplied to the single-phase full-wave rectifying circuit BD1 through the fuse RF1 to be rectified, the first inductor L1, the first capacitor C1, the second capacitor C2, and the second parallel capacitor C2B are used to filter, and the electromagnetic interference is eliminated by the electromagnetic anti-interference circuit formed by the first inductor L1, the first anti-interference resistor R0A, the second inductor L2, and the second anti-interference resistor R0B, so as to avoid the influence of the electromagnetic interference signal on the dc voltage of the electrical output. The direct current obtained through the rectifying and filtering circuit is supplied to a voltage converting circuit, which is a transformer T1, converting a high voltage into a low voltage for use by the subsequent control unit 2 and switching unit 3. The transformer T1 and the first inductor L1 are provided with a safety capacitor CY1, and one end of the safety capacitor CY1 is connected with the ground.
As shown in fig. 2, the switching power supply further includes a rectifying diode D7 and a fifth capacitor C5, where an anode terminal of the rectifying diode D7 is connected to an output terminal of the voltage conversion circuit, a cathode terminal of the rectifying diode D7 is connected to one terminal of the fifth capacitor C5, and another terminal of the fifth capacitor C5 is grounded. The secondary output voltage of the transformer T1 is rectified by the rectifying diode D7 to obtain direct-current voltage, namely the output end V+ of the direct-current power supply 1, and the direct-current voltage charges the fifth capacitor C5.
As shown in fig. 2, the starting circuit includes a first current limiting resistor R9 and a second current limiting resistor R10, one end of the first current limiting resistor R9 is connected with the other end of the first inductor L1, the other end of the first current limiting resistor R9 is connected with one end of the second current limiting resistor R10, and the other end of the second current limiting resistor R10 is electrically connected with the switch control circuit.
As shown in fig. 2, the switch control circuit is electrically connected to the rectifying and filtering circuit and the voltage converting circuit, respectively. The switch control circuit comprises a power control chip U1, a second resistor R2, a third capacitor C3, a first voltage sampling resistor R8, a second voltage sampling resistor R4 and a voltage sampling filter capacitor C0, wherein the output end of the power control chip U1 is grounded through the second resistor R2, and the transformer T1 is connected with the output end of the power control chip U1. One end of a third capacitor C3 is respectively connected with the other end of the second current-limiting resistor R10 and the power supply control chip U1, the other end of the third capacitor C3 is grounded, an auxiliary winding of the transformer T1 is connected with the third capacitor C3 through a fifth diode D5, one end of a first voltage sampling resistor R8 is connected with the auxiliary winding of the transformer T1, and the other end of the first voltage sampling resistor R8 is respectively connected with a second voltage sampling resistor R4 and the power supply control chip U1.
As shown in fig. 2, in the initial stage of power-on of the switching power supply, the current output by the rectifying and filtering circuit is provided to the third capacitor C3 after being limited by the first current-limiting resistor R9 and the second current-limiting resistor R10, so as to charge the third capacitor C3, the voltage released by the third capacitor C3 is provided to the power supply control chip U1, and the power supply control chip U1 is powered on, so that the switching control circuit is started to work. The electric signal of the primary winding of the transformer T1 is sampled by a first voltage sampling resistor R8 and a second voltage sampling resistor R4 and then is provided for the power supply control chip U1, the power supply control chip U1 compares the electric signal with an output voltage value set in the power supply control chip U1, and if the electric signal and the output voltage value are unequal, the power supply control chip U1 outputs a control signal to adjust the output voltage. The power supply control chip U1 is internally integrated with a power tube, and the power supply control chip U1 adjusts output voltage by controlling the switching time of the power tube.
As shown in fig. 2, an anti-peak absorption circuit is further connected between the switch control circuit and the transformer T1, the anti-peak absorption circuit includes a fourth capacitor C4, a sixth resistor R6, and a sixth diode D6, one end of the fourth capacitor C4 is connected to the other end of the first inductor L1, the other end of the fourth capacitor C4 is connected to the cathode end of the sixth diode D6, the anode end of the sixth diode D6 is connected to the output end of the power control chip U1, and the sixth resistor R6 is connected in parallel to two ends of the fourth capacitor C4.
As shown in fig. 3, the control unit 2 includes a microcontroller U2, a clock circuit, and a memory chip U3. The microcontroller U2 is connected with the output end V+ of the direct current power supply, the microcontroller U2 is an MCU, and because the microcontroller U2 is a programmable controller, the microcontroller U2 sends control signals for enabling the lamp 3a to work according to the rule of the programmed program when the mode selector sends operation signals to the microcontroller U2.
As shown in fig. 3, in this embodiment, a voltage stabilizing filter circuit is preferably disposed between the output terminal v+ of the dc power supply 1 and the microcontroller U2, where the voltage stabilizing filter circuit includes a twelfth resistor R12, a voltage stabilizing diode ZD1, and a sixth capacitor C6, one end of the twelfth resistor R12 is connected to the output terminal v+ of the dc power supply, the other end of the twelfth resistor R12 is connected to the cathode terminal of the voltage stabilizing diode ZD1, the anode terminal of the voltage stabilizing diode ZD1 is grounded, one end of the sixth capacitor C6 is connected to the cathode terminal of the voltage stabilizing diode ZD1, the other end of the sixth capacitor C6 is grounded, and the pin 5 of the microcontroller U2 is connected to one end of the sixth capacitor C6.
As shown in fig. 3, the clock circuit includes a crystal oscillator XL1, a twelfth capacitor C12, and a thirteenth capacitor C13, where two ends of the crystal oscillator XL1 are respectively connected to a pin 6 and a pin 7 of the microcontroller U2, one end of the twelfth capacitor C12 is connected to one end of the crystal oscillator XL1, the other end of the twelfth capacitor C12 is grounded, one end of the thirteenth capacitor C13 is connected to the other end of the crystal oscillator XL1, and the other end of the thirteenth capacitor C13 is grounded.
As shown in fig. 3, the pin 8 of the memory chip U3 is connected to the output terminal v+ of the dc power supply, and after the voltage stabilizing filter circuit is provided, the pin 8 of the memory chip U3 is preferably connected to one end of the sixth capacitor C6. The pin 1 to the pin 4 and the pin 7 of the memory chip U3 are grounded, the pin 5 of the memory chip U3 is connected with the pin 1 of the microcontroller U2, the pin 6 of the memory chip U3 is connected with the pin 2 of the microcontroller U2, the microcontroller U2 outputs the current working mode to the memory chip U3, the memory chip U3 records the working mode, after the power is cut off, the working mode before the microcontroller U2 stops working is still recorded in the memory chip U3, after the microcontroller U2 is electrified again, the microcontroller U2 reads the recorded working mode from the memory chip U3, and then a control signal is sent to the loaded lamp 3a according to the working mode. The memory chip U3 may be disposed outside the microcontroller U2, or the memory chip U3 may be built in the microcontroller U2. Of course, the memory chip U3 is not necessarily required, and it is possible to determine whether or not to connect U3 as needed.
As shown in fig. 3, the switching unit 3 in this embodiment includes three groups of switching circuits, each group of switching circuits includes a load connection portion, and two first switching transistors and two second switching transistors independently controlled by the control unit, where the first switching transistors and the second switching transistors may be transistors or MOS transistors, and in this embodiment, description is given by taking transistors as examples, and the first switching transistor is replaced by a first transistor, and the second switching transistor is replaced by a second transistor.
The base of first triode is connected with the output of control unit 2, and the projecting pole of first triode is used for connecting DC power supply, and the collecting electrode of first triode is connected with the collecting electrode of second triode, and the base of second triode is connected with the output of control unit 2, and the projecting pole of second triode is grounded, load connecting portion sets up the connecting portion at the collecting electrode of first triode and the collecting electrode of second triode.
As shown in fig. 3, in this embodiment, the first transistor Q3 in the first group of switch circuits is a PNP transistor or a P-channel MOS transistor, the second transistor Q4 in the first group of switch circuits is an NPN transistor or an N-channel MOS transistor, the base of the first transistor Q3 in the first group of switch circuits is connected to the pin 10 of the microcontroller U2, the base of the first transistor Q3 in the first group of switch circuits is preferentially connected to the pin 10 of the microcontroller U2 through the first current limiting resistor RA1, the emitter of the first transistor Q3 in the first group of switch circuits is connected to the output terminal v+ of the dc power supply, the base of the second transistor Q4 in the first group of switch circuits is preferentially connected to the pin 16 of the microcontroller U2 through the second current limiting resistor RB1, and the emitter of the second transistor Q4 in the first group of switch circuits is preferentially grounded, and the load connection portion a in the first group of switch circuits is preferentially connected to the collector of the first transistor Q3 in the first group of switch circuits.
As shown in fig. 3, the first transistor Q2 in the second group of switch circuits is a PNP transistor or a P-channel MOS transistor, the second transistor Q5 in the second group of switch circuits is a NPN transistor or an N-channel MOS transistor, the base of the first transistor Q2 in the second group of switch circuits is connected to the pin 11 of the microcontroller U2, the base of the first transistor Q2 in the second group of switch circuits is preferentially connected to the pin 11 of the microcontroller U2 through the third current limiting resistor RA2, the emitter of the first transistor Q2 in the second group of switch circuits is connected to the output terminal v+ of the dc power supply, the base of the second transistor Q5 in the second group of switch circuits is connected to the pin 15 of the microcontroller U2, the base of the second transistor Q5 in the second group of switch circuits is preferentially connected to the pin 15 of the microcontroller U2 through the fourth current limiting resistor RB2, and the load connection B in the second group of switch circuits is preferentially connected to the collector of the first transistor Q2 in the second group of switch circuits.
As shown in fig. 3, the first triode Q1 in the third group of switching circuits is a PNP triode or a P-channel MOS tube, the second triode Q6 in the third group of switching circuits is an NPN triode or an N-channel MOS tube, the base of the first triode Q1 in the third group of switching circuits is connected to the pin 13 of the microcontroller U2, the base of the first triode Q1 in the third group of switching circuits is preferentially connected to the pin 13 of the microcontroller U2 through the fifth current limiting resistor RA3, the emitter of the first triode Q1 in the third group of switching circuits is connected to the output terminal v+ of the dc power supply, the base of the second triode Q6 in the third group of switching circuits is connected to the pin 14 of the microcontroller U2, the base of the second triode Q6 in the third group of switching circuits is preferentially connected to the pin 14 of the microcontroller U2 through the sixth current limiting resistor RB3, and the load connection part C in the third group of switching circuits is preferentially connected to the collector of the first triode Q1 in the third group of switching circuits and the collector of the third triode Q6 in the third group of switching circuits.
As shown in fig. 3, the following description will be given by taking the first group of switching circuits as an example, in which the operation of the first group of switching circuits is described in the following cases:
(1) When the pin 10 and the pin 16 of the microcontroller U2 both output a high level, the first transistor Q3 in the first set of switching circuits is turned off, the second transistor Q4 in the first set of switching circuits is turned on, and the level of the connection portion between the collector of the first transistor Q3 in the first set of switching circuits and the collector of the second transistor Q4 in the first set of switching circuits is equal to the ground, i.e., the low level, and at this time, the level of the load connection portion a in the first set of switching circuits is the low level.
(2) When the pin 10 and the pin 16 of the microcontroller U2 both output a low level, the first transistor Q3 in the first set of switching circuits is turned on, the second transistor Q4 in the first set of switching circuits is turned off, and the level of the connection portion between the collector of the first transistor Q3 in the first set of switching circuits and the collector of the second transistor Q4 in the first set of switching circuits is an output terminal v+ from the dc power supply, that is, a high level, and at this time, the level of the load connection portion a in the first set of switching circuits is a high level.
(3) When the pin 10 of the microcontroller U2 outputs a high level and the pin 16 of the microcontroller U2 outputs a low level, the first transistor Q3 in the first group of switching circuits is turned off, the second transistor Q4 in the first group of switching circuits is turned off, and no output is generated at the connection part between the collector of the first transistor Q3 in the first group of switching circuits and the collector of the second transistor Q4 in the first group of switching circuits.
(4) When the pin 10 of the microcontroller U2 outputs a low level and the pin 16 of the microcontroller U2 outputs a high level, the first transistor Q3 in the first set of switching circuits is turned on, the second transistor Q4 in the first set of switching circuits is turned on, and the current from the output terminal v+ of the dc power supply directly flows to the ground, which results in the first set of switching circuits being shorted, which is not allowed to happen.
As shown in fig. 3, since the load connection portions of the three groups of switch circuits can output high level or low level, and control the duty ratio of the output of each switch circuit, and according to the line structure of the load lamp 3a, the load lamp 3a can exhibit different flicker modes.
As shown in fig. 3 and 4, the lamp 3a in the present embodiment includes: the LED lamp comprises a first wire 4, a second wire 5, a third wire 6, a first LED lamp 7, a second LED lamp 8, a third LED lamp 9 and a fourth LED lamp 10, wherein the first wire 4 is connected with a load connecting part A of a first group of switch circuits, the second wire 5 is connected with a load connecting part B of a second group of switch circuits, and the third wire 3 is connected with a load connecting part C of a third group of switch circuits.
As shown in fig. 3 and 4, the anode end of the first LED lamp 7 is connected with the first wire 4, and the cathode end of the first LED lamp 7 is connected with the second wire 5; the cathode end of the second LED lamp 8 is connected with the first lead 4, and the anode end of the second LED lamp 8 is connected with the second lead 5; the cathode end of the third LED lamp 9 is connected with the second lead 5, and the anode end of the third LED lamp 9 is connected with the third lead 6; the anode end of the fourth LED lamp 10 is connected with the second wire 5, and the cathode end of the fourth LED lamp 10 is connected with the third wire 6.
As shown in fig. 3 and 4, based on the circuit structure of the lamp 3a, the operations are divided into the following states:
(1) As shown in fig. 3 and 4, the load connection part a of the first group of switch circuits outputs a high level, the load connection part B of the second group of switch circuits and the load connection part C of the third group of switch circuits output a low level, so that the first LED lamp 7 operates, and the rest of LED lamps are turned off.
(2) As shown in fig. 3 and 4, the load connection part a of the first group of switch circuits outputs a low level, the load connection part B of the second group of switch circuits and the load connection part C of the third group of switch circuits output a high level, so that the second LED lamp 8 operates, and the rest of LED lamps are turned off.
(3) As shown in fig. 3 and 4, the load connection part a of the first group of switch circuits and the load connection part B of the second group of switch circuits output a low level, and the load connection part C of the third group of switch circuits outputs a high level, so that the third LED lamp 9 operates, and the rest of LED lamps are turned off.
(4) As shown in fig. 3 and 4, the load connection part a of the first group of switch circuits and the load connection part B of the second group of switch circuits output a high level, and the load connection part C of the third group of switch circuits outputs a low level, so that the fourth LED lamp 10 operates, and the rest of LED lamps are turned off.
As shown in fig. 3 and 4, the three wires and the four-way lamp form a three-wire four-way lamp 3a. However, the lamp 3a of the present embodiment is not limited thereto, and for example, as shown in fig. 5, the lamp further includes a fifth LED lamp 11, a sixth LED lamp 12, wherein the anode end of the fifth LED lamp 11 is connected to the first wire 4, and the cathode end of the fifth LED lamp 11 is connected to the third wire 6; the cathode terminal of the sixth LED lamp 12 is connected to the first wire 4, and the anode terminal of the sixth LED lamp 12 is connected to the third wire 6. On the basis of three lines and four paths, a fifth LED lamp 11 and a sixth LED lamp 12 are added to form a three-line and six-path lamp.
As shown in fig. 3 and 4, any one of the above modes can control the duty ratio, control the working time of each LED lamp, and different working times show different lighting effects, and in this embodiment, the three wires are respectively connected with the controller, and at least 4 LED lamps are connected between the three wires, and the apparent lighting effect that shows is better than that of the prior art, and in the case that the number of connected lamps is more than that of the prior art, both the structure of the controller and the structure of the circuit are simpler, so that the cost cannot rise. In addition, two triodes in each group of switch circuits are controlled by the microcontroller U2, so that the output level of the group of switch circuits is high or low, independent control is formed for each triode, the condition that the conduction of one triode in the prior art is determined by the other triode is avoided, and the control efficiency of the controller is improved.
As shown in fig. 3, in an environment with low illuminance, it is difficult to find the position of the lamp controller, and in this embodiment, the indicator LED2 is preferably further included and is normally on to indicate the position of the lamp controller after being electrified, the indicator LED2 is electrically connected with the output end of the dc power supply 1, that is, the output end v+ of the dc power supply is connected with the indicator LED2, so long as the output end v+ of the dc power supply has an operating voltage output, the indicator LED2 will keep emitting light to prompt the specific position of the lamp controller. In this embodiment, a nineteenth current limiting resistor R19 is connected between the indicator LED2 and the twelfth resistor R12, and the current reaching the indicator LED2 is reduced by the nineteenth current limiting resistor R19, so that the indicator LED2 is prevented from being damaged.
As shown in fig. 3, since the microcontroller U2 has multiple flash modes of lamps built therein, a switching signal for switching the flash modes is sent to the microcontroller U2, and the microcontroller U2 outputs different control signals, for example, controls the high level or the low level of the output signals of each group of switch circuits, or controls the duty ratio of the output signals of each group of switch circuits, so as to achieve different flash modes. Of course, the operating time of the lamp 3a may also be controlled in a selective manner, for example during a specified operating period or by stopping the operation during a specified operating period.
As shown in fig. 3, based on the above, the present embodiment further includes a mode selector that inputs a light blinking mode switching signal or a light timing signal to the control unit 2, and is electrically connected to the control unit. The mode selector can be operated in a wired mode or a wireless mode, the mode selector in the wired mode is directly welded with the control unit 2, and the mode selector operated in the wireless mode is used, so that one part of the mode selector is directly welded with the control unit 2, and the other part of the mode selector is communicated with the control unit 2 in a wireless signal transmission mode.
As shown in fig. 3, in this embodiment, the mode selector employs a key switch SW or a touch switch (not shown). The key switch SW or the touch switch is electrically connected to the control unit 2, in this embodiment, one end of the key switch SW is preferentially welded to the pin 8 of the microcontroller U2, and the other end of the key switch SW is grounded.
As shown in fig. 3, in this embodiment, a wireless signal receiver U4 is also used, one end of the wireless signal receiver U4 is welded to the pin 5 of the microcontroller U2, and the other end of the wireless signal receiver U4 is welded to the pin 9 of the microcontroller U2. The wireless signal transmitter paired with the wireless signal receiver U4 is not shown in the figure, and is typically a hand-held remote controller, and the wireless signal transmitter communicates with the wireless signal receiver U4 in an infrared signal, and after the wireless signal receiver U4 receives the signal sent by the wireless signal transmitter, the wireless signal transmitter is used to change the blinking pattern or timing signal of the lamp 3 a.
As shown in fig. 3, in order to facilitate knowing whether the lamp 3a is in a clocked state, the embodiment further includes: the control unit 2 starts the timing indicator LED1 of the light to indicate the timing state after the light is timed according to the input of the mode selector, and the timing indicator LED1 is electrically connected with the control unit 2. The timing indicator LED1 is a light emitting diode, one end of the timing indicator LED1 is connected with the pin 4 of the microcontroller U2, and the other end of the timing indicator LED1 is grounded through an eighteenth resistor. When the timer starts, the control unit 2 outputs a signal for turning on the timer indicator LED1, and when the timer ends, the control unit 2 outputs a signal for turning off the timer indicator LED 1.
The switch unit 2 of the above embodiment 1 may be connected to the three-wire four-way lamp 3a shown in fig. 5 in addition to the three-wire four-way lamp 3a shown in fig. 4. The light string shown in fig. 4 or fig. 5 may be connected to any one of fig. 11a to fig. 36f in actual use. Fig. 8 to 10 are any one of the control units and the switching units of fig. 37a to 42 f.
Example 2
As shown in fig. 6, the structures of the second control unit 2 and the switching unit 3 in the present invention, in this lamp controller, the structure of the dc power supply 1 is the same as that in the above-mentioned embodiment 1, and will not be described here again.
The output end V+ of the direct current power supply 1 is electrically connected with the switch unit 3, the switch unit 3 comprises a first switch group, a second switch group and a control module U1A for controlling the first switch group and the second switch group to be alternately conducted, the output end of the control module U1A is electrically connected with the first switch group, and the output end of the control module U1A is electrically connected with the second switch group to form a second group of switch circuits.
The difference between this embodiment and embodiment 1 is that the voltage stabilizing filter circuit is disposed between the output terminal v+ of the dc power supply and the control module U1A, that is, one end of the twelfth resistor R12 in the voltage stabilizing filter circuit is connected to the output terminal v+ of the dc power supply, the other end of the twelfth resistor R12 is connected to the cathode terminal of the zener diode ZD1, the anode terminal of the zener diode ZD1 is grounded, one end of the sixth capacitor C6 is connected to the cathode terminal of the zener diode ZD1, the other end of the sixth capacitor C6 is grounded, and the pin 1 of the microcontroller U2 is connected to one end of the sixth capacitor C6.
In this embodiment, the second switch group includes a ninth triode Q9 and a tenth triode Q10, where a base of the ninth triode Q9 is connected to an output end of the control module U1A, the control module U1A is a chip, a base of the ninth triode Q9 is connected to the pin 6 of the control module U1A through a thirteenth resistor R13, a base of the ninth triode Q9 is further connected to one end of a twenty-first capacitor C21, another end of the twenty-first capacitor C21 is grounded, an emitter of the ninth triode Q9 is grounded, a collector of the ninth triode Q9 is connected to a base of the thirteenth triode Q10 and an output end of the dc power supply 1, a sixteenth resistor R16 is connected between the base of the thirteenth triode Q9 and the output end v+ of the dc power supply 1, a sixteenth current limiting resistor R16B is connected between the base of the thirteenth triode Q10 and the output end v+ of the dc power supply 1, and an emitter of the thirteenth triode Q10 is connected to the output end v+ of the dc power supply 1. Based on the above structure, as a variant or alternative, there is: the ninth transistor Q9 and the tenth transistor Q10 may be replaced by MOS transistors.
The working process of the second group of switch circuits is as follows: when the pin 6 of the control module U1A outputs a high level, the high level is provided to the ninth triode Q9 after being limited by the thirteenth resistor R13, and is used for triggering the ninth triode Q9, because the collector of the ninth triode Q9 is connected with the output end v+ of the dc power supply 1 through the sixteenth resistor R16, after the base of the ninth triode Q9 is triggered, the ninth triode Q9 is turned on, because the emitter of the ninth triode Q9 is grounded, the collector of the ninth triode Q9 is pulled down to a low level after being turned on, the base of the thirteenth triode Q10 is connected with the collector of the ninth triode Q9, and the emitter of the thirteenth triode Q10 is connected with the output end v+ of the dc power supply 1, when the base of the tenth triode Q10 is at a low level, the collector of the thirteenth triode Q10 is turned on, so that the collector of the tenth triode Q10 outputs a high level, i.e. the output end of the second group of switching circuits outputs a high level.
When the pin 6 of the control module U1A outputs a low level, the ninth transistor Q9 and the tenth transistor Q10 are both in an off state, i.e. the output terminals of the second group of switch circuits output a low level.
The first switch group comprises a seventh triode Q7 and an eighth triode Q8, wherein the base electrode of the seventh triode Q7 is connected with the output end of the control module U1A, the base electrode of the seventh triode Q7 is connected with the pin 7 of the control module U1A through a fourteenth resistor R14, the base electrode of the seventh triode Q7 is also connected with one end of a twenty-first capacitor C21, the other end of the twenty-first capacitor C21 is grounded, the emitting electrode of the seventh triode Q7 is grounded, the collector electrode of the seventh triode Q7 is respectively connected with the base electrode of the eighth triode Q8 and the output end of the direct current power supply 1, a fifteenth resistor R15 is connected between the base electrode of the eighth triode Q8 and the output end V+ of the direct current power supply 1, a fifteenth current limiting resistor R16B is connected between the base electrode of the eighth triode Q8 and the output end of the direct current power supply 1, and the collector electrode of the eighth triode Q8 is respectively connected with a first switch Q31 and a second switch Q32. Based on the above structure, as a variant or alternative, there is: the seventh triode Q7 and the eighth triode Q8 can be replaced by MOS transistors.
The working process of the second group of switch circuits is as follows: when the pin 7 of the control module U1A outputs a high level, the high level is provided to the seventh triode Q7 after being limited by the fourteenth resistor R14, and is used for triggering the seventh triode Q7, because the collector of the seventh triode Q7 is connected with the output end v+ of the dc power supply 1 through the fifteenth resistor R15, after the base of the seventh triode Q7 is triggered, the seventh triode Q7 is turned on, because the emitter of the seventh triode Q7 is grounded, the collector of the seventh triode Q7 is pulled down to a low level after being turned on, the base of the eighth triode Q8 is connected with the collector of the seventh triode Q7, and the emitter of the eighth triode Q8 is connected with the output end v+ of the dc power supply 1, when the base of the eighth triode Q8 is at a low level, the collector of the eighth triode Q8 is turned on, and thus the collector of the eighth triode Q8 outputs a high level, i.e. the output end of the first group of switching circuits outputs a high level.
When the pin 7 of the control module U1A outputs a low level, the seventh triode Q7 and the eighth triode Q8 are both in an off state, i.e. the output ends of the first group of switch circuits output a low level.
Pins 6 and 7 of the control module U1A alternately output a high level and a low level, and thus, the first group of switching circuits and the second group of switching circuits alternately output a high level and a low level.
The lamp controller further includes a control unit 2, and in this embodiment, the structure of the control unit 2 is the same as that of embodiment 1, and will not be described herein.
The control unit 2 is electrically connected with the switch unit 3, the switch unit 3 further comprises a first change-over switch Q31 and a second change-over switch Q32, the first change-over switch Q31 is electrically connected with the output end of the first switch group and the control unit 2 respectively to form a first group of switch circuits, and the second change-over switch Q32 is electrically connected with the output end of the first switch group and the control unit 2 respectively to form a third group of switch circuits. In this embodiment, the first switch Q31 and the second switch Q32 are thyristors. The pin 11 of the microcontroller U2 in the control unit 2 is connected to the gate of the first switch Q31 through a thirteenth current limiting resistor R13B, and the pin 2 of the microcontroller U2 is connected to the gate of the second switch Q32 through a fourteenth current limiting resistor R14B.
The control unit 2 is configured to provide a trigger signal to the first switch Q31 and the second switch Q32, and when the output terminal of the first switch group outputs a high level, the control unit 2 controls the first switch Q31 or the second switch Q32 to be turned on, and when the output terminal of the first switch group outputs a low level, the first switch Q31 or the second switch Q32 is turned off.
For the above structure, the output end of the first switch Q31 is the load connection portion a, the output end of the second group of switch circuits is the load connection portion B, the output end of the second switch Q32 is the load connection portion C, and the load connection portion A, B, C is respectively connected with the lamp 3a shown in fig. 4 or fig. 5, so as to be used for controlling the light emission of each street lamp string, and the specific control principle of the conduction of each street lamp string is the same as that of embodiment 1, and is not repeated herein.
Such a switching unit 3 of embodiment 2 can output a higher voltage, for example, a 40V circuit, that is, the output terminals of both the first group switch and the second group switch can output 40V, whereby a thirty-first current limiting resistor R31 is connected between the output terminal of the second switching switch Q32 and the output terminal of the second group switch circuit, and a thirty-second current limiting resistor R32 is connected between the output terminal of the first switching switch Q31 and the output terminal of the second group switch circuit, and the current is reduced by the current limiting resistor to avoid damaging the lamp 3a connected later.
The embodiment further comprises a power supply circuit for supplying power to the control unit 2, the output end of the first switch set is further connected with the power supply circuit, and the power supply circuit is electrically connected with the control unit 2. That is, the present embodiment preferably does not directly supply the direct-current power supply 1 to the control unit 2, but indirectly supplies the direct-current power to the control unit 2. In this embodiment, when the output terminal of the first switch group, i.e., the collector of the eighth transistor Q8 outputs a high level, the power supply circuit is charged and discharged to supply power to the control unit 2.
The power supply circuit comprises an energy storage element C6B, a rectifier D30 and a thirty-first resistor R30, wherein one end of the energy storage element C6B is electrically connected with the output end of the first switch group, namely one end of the energy storage element C6B is respectively connected with the collector of the eighth triode Q8 and the pin 5 of the microcontroller U2, the other end of the energy storage element C6B is electrically connected with the anode end of the rectifier D30, the cathode end of the rectifier D30 is connected with one end of the thirty-first resistor R30, and the other end of the thirty-first resistor R30 is electrically connected with the first switch group, namely the other end of the thirty-first resistor R30 is connected with the collector of the seventh triode Q7.
For a power supply circuit, the flow path of the current is: the current is output from the eighth triode Q8, sequentially passes through the energy storage element C6B, the rectifier D30, the thirty-first resistor R30, the collector of the seventh triode Q7 and the emitter of the seventh triode Q7, and finally reaches the ground. In this process, the current is reduced by the current limiting action of the thirty-first resistor R30.
The power supply circuit further includes a voltage stabilizing element ZD30, where the voltage stabilizing element ZD30 is connected in parallel with the energy storage element C6B. The voltage of the power supply circuit is set to a stable value by the voltage stabilizing element ZD 30.
The LED lamp also comprises an indicator LED2 which is normally on after being electrified to indicate the position of the lamp controller, one end of the indicator LED2 is connected with the energy storage element C6B, and the other end of the indicator LED2 is grounded. Preferably, the indicator LED2 is connected to the energy storage element C6B via a nineteenth resistor R19. The indicator LED2, however, allows the user to find the location of the luminaire controller in time.
And a mode selector for inputting a light blinking mode switching signal or a light timing signal to the control unit 2, the mode selector being electrically connected to the control unit. The mode selector is the same as that of embodiment 1 and will not be described here again.
The control unit 2 is further provided with a sampling circuit for enabling the output of the second group of switching circuits to be high level or low level, one end of the sampling circuit is connected with the output end of the second group of switching circuits, and the other end of the sampling circuit is electrically connected with the control unit 2. The sampling circuit comprises a thirty-third resistor R33 and a thirty-third capacitor C33, one end of the thirty-third resistor R33 is connected with the output end of the second group of switching circuits, namely the load connecting part B, the other end of the thirty-third resistor R3 is respectively connected with the pin 9 of the microcontroller U2 and one end of the thirty-third capacitor C33, and the other end of the thirty-third capacitor C33 is grounded. The thirty-third resistor R33 is used for current limiting to reduce the current, and the thirty-third capacitor C33 is used for filtering.
After the voltage output by the sampling circuit is obtained, the microcontroller U2 judges whether the output end of the second group of switching circuits outputs high level or low level in real time, so that a trigger signal can be accurately output to the first switching switch Q31 or the second switching switch Q32.
As shown in fig. 7, the embodiment further provides a control method of the lamp, including the following steps:
s1, after power-on, a control unit 2 outputs a control signal, and the control unit 2 receives an input switching signal from a mode selector; if the controller has a memory chip U3, before the last power-off, the memory chip U3 records the control signal of the current lighting mode output by the control unit 2, and after the next power-on, the control unit 2 reads the control of the lighting mode output last time from the memory chip 3 and outputs the control signal as the control signal of the lighting mode after the power-on. If the memory chip 3 is not present in the controller, the control unit 2 outputs a light emission pattern in accordance with the program setting. The mode selector is a key switch SW or a touch switch connected to the control unit 2, and the mode selector may also employ a wireless signal transmitter.
S2, if the control unit 2 judges that the switching signal input by the mode selector is a lamplight flickering mode switching signal, the control unit 2 outputs a flickering mode switching control signal to the switch unit 3, and the flickering mode switching control signal controls the on-off order of the switch unit 3;
in step S2, the control unit 2 determines that the switching signal input by the mode selector is a light blinking mode switching signal according to the following criteria: the mode selector is pressed once and the time of pressing is less than or equal to the first time set by the control unit 2. For example, the time of a single press does not exceed 1 second. The key switch SW or the touch switch is turned on or off, and preferably, the key switch SW or the touch switch is turned on, so that the time of a single press is not more than 1 second, that is, the time of a single press is not more than 1 second.
The wireless signal transmitter is provided with a plurality of selection buttons, after each selection button is operated, the wireless signal transmitter can send out corresponding coding signals, the coding signals corresponding to each button are inconsistent, and after the control unit 2 receives the coding signals, the control unit is compared with the coding signals to identify a specific mode corresponding to the coding signals, such as a flash mode or a timing mode of the lamp 3 a.
If the wireless code signal for switching the flash mode is output through the wireless signal transmitter, the control unit 2 receives and recognizes the wireless code signal for switching the flash mode transmitted from the wireless signal transmitter through the wireless signal receiver U4, thereby outputting a control signal for changing the flash mode of the lamp 3 a.
And S3, if the control unit 2 judges that the switching signal input by the mode selector is a lamplight timing signal, the control unit 2 controls and outputs the operation for timing the control signal according to the input of the mode selector, and when the timing time is over, the control unit 2 stops outputting the control signal, and at the moment, the lamp is turned off.
In step S3, the control unit 2 determines that the switching signal input by the mode selector is a light timing signal according to the following criteria: pressing the mode selector a plurality of times within a second time set by the control unit 2; for example, the key switch SW or the touch switch is continuously pressed twice within 1 second, i.e. the second time is within 1 second, so that the control unit 2 obtains a signal that the mode selector is turned on twice continuously within 1 second, thereby judging that the user makes the lamp enter the clocked operating mode through the mode selector.
In step S3, the control unit 2 may further determine that the switching signal input by the mode selector is a light timing signal according to the following criteria: the time for which the mode selector is continuously pressed is greater than or equal to the third time set by the control unit 2, for example, the time for which the key switch SW is continuously pressed is greater than 2 seconds, that is, the third time is greater than 2 seconds.
After entering the timer mode, if the control unit 2 also receives the light blinking mode switching signal, the blinking mode is switched in the timer mode in the manner of step S2.
When the mode selector employs the push switch SW or the touch switch, after entering the timer mode, if the control unit 2 receives the switching signal from the mode selector again as the lamp light timer signal, the timer is turned off.
If the timing mode is selected wirelessly, the control unit 2 receives the code for timing sent from the wireless signal transmitter through the wireless signal receiver U4, for example, the control unit 2 is used for starting timing after acquiring the second code, and sets the time for timing operation, for example, the lamp 3a is turned off after operating for 6 hours. Of course, various codes for timing may be transmitted to the wireless signal transmitter, for example, a third code for timing may be transmitted, and the third code for timing may be turned off after the lamp 3a is operated for 8 hours. The control unit 2 is used for starting timing after the coding of timing, and the control unit 2 is used for stopping timing after receiving the coding signal for canceling the timing.
When any one of fig. 4 or fig. 5 and fig. 11a to fig. 36f is connected, or any one of fig. 8 to fig. 10 is the control unit and the switching unit of fig. 37a to fig. 42f, the controller is adapted to control each lamp.
The control method of the present invention is not limited to the above-described embodiment, for example:
(a) In step S2, the control unit 2 determines that the switching signal input by the mode selector is the basis of the light blinking mode switching signal is: the mode selector is pressed a plurality of times within a second time set by the control unit 2, for example, the key switch SW or the touch switch is pressed twice in succession within 1 second.
(b) In step S2, the control unit 2 determines that the switching signal input by the mode selector is the basis of the light blinking mode switching signal is: the time for continuously pressing the mode selector is greater than or equal to the third time set by the control unit 2, for example, the time for continuously pressing the key switch SW is greater than 2 seconds.
(c) In step S3, the control unit 2 determines that the switching signal input by the mode selector is a light timing signal according to the following criteria: the mode selector is pressed once and the time of pressing is less than or equal to the first time set by the control unit 2. For example, the time per press does not exceed 1 second.
The last control method is based on that the controller can switch the light flashing mode switching signal and the light timing signal respectively, for some controllers, only the timing of the light is needed to be switched, the light flashing mode is automatically realized by a program without switching, for example, eight flashing modes are needed, after power-on, the eight flashing modes can be output and circulated in turn, and for such controllers, the invention also configures the following control method:
after power-up, the control unit 2 outputs a control signal for operating the lamp, the control signal is in the above-described eight cycle flashing modes, if the control unit 2 receives a timing switching signal sent by the mode selector, the control unit 2 switches the operation of the control unit to output the timing control signal according to the input of the mode selector, and when the timing time is over, the control unit 2 stops outputting the control signal.
The mode selector is a key switch SW or a touch switch connected with the control unit 2, and the control unit 2 judges that the basis of the mode selector for sending the timing switching signal is as follows: pressing the mode selector once and the time of pressing is less than or equal to the first time set by the control unit 2, for example, the first time is within 1 second; or the mode selector is pressed a plurality of times within a second time set by the control unit 2, for example, the key switch SW or the touch switch is continuously pressed twice within 1 second. Or the duration of pressing the mode selector is greater than or equal to the third time set by the control unit 2, and the duration of pressing the key switch SW is greater than 2 seconds.
The light brightness or the switch controller can also be switched by operating the key switch SW or the touch switch, for example, the mode selector is pressed once, and the pressing time is less than or equal to the first time set by the control unit 2, for example, the first time is within 1 second, both in the working mode after power-up and in the working mode after entering the timer; or the mode selector is pressed a plurality of times within a second time set by the control unit 2, for example, the key switch SW or the touch switch is continuously pressed twice within 1 second. Or the duration of pressing the mode selector is greater than or equal to the third time set by the control unit 2, and the duration of pressing the key switch SW is greater than 2 seconds. For another example, the controller is turned on or off by continuously pressing the mode selector for a time greater than or equal to the third time set by the control unit 2.
For the operation of the timer mode and the operation of switching the brightness of the light, both are realized by operating the same key switch, but the modes of sending signals are different, for example, when the mode selector is pressed once for switching the brightness in the first time, the mode selector is pressed for multiple times in the second time set by the control unit 2 to enter or exit the timer mode, that is, the operations of the timer and the dimming and the switch controller are not overlapped.
Of course, all the operations described above may employ two key switches SW or touch switches, one for switching the light brightness or switch controller, and the other for entering or exiting the timing.

Claims (10)

1. The lamp control method is characterized by comprising the following steps of:
s1, after power-on, a control unit (2) outputs a control signal, and the control unit (2) receives an input switching signal from a mode selector;
s2, if the control unit (2) judges that the switching signal input by the mode selector is a lamplight flickering mode switching signal, the control unit (2) outputs a flickering mode switching control signal to the switch unit (3), and the flickering mode switching control signal controls the on-off order of the switch unit (3);
s3, if the control unit (2) judges that the switching signal input by the mode selector is a lamplight timing signal, the control unit (2) controls the operation of timing the control signal according to the input of the mode selector, and when the timing time is over, the control unit (2) stops outputting the control signal.
2. A control method of a luminaire as claimed in claim 1, characterized in that, after entering the timer mode, if the control unit (2) also receives a light flashing mode switching signal, the flashing mode is switched in the timer mode in accordance with step S2.
3. The method according to claim 1, wherein the mode selector is a key Switch (SW) or a touch switch connected to the control unit (2), and the criterion of the control unit (2) in step S2 that the switching signal input by the mode selector is the light blinking mode switching signal is: the mode selector is pressed once and the time of pressing is less than or equal to the first time set by the control unit (2).
4. The method according to claim 1, wherein the mode selector is a key Switch (SW) or a touch switch connected to the control unit (2), and the step S3 is based on the fact that the control unit (2) determines that the switching signal input by the mode selector is a light timing signal:
pressing the mode selector a plurality of times within a second time set by the control unit (2); or alternatively
The time for which the mode selector is continuously pressed is greater than or equal to a third time set by the control unit (2).
5. The method according to claim 1, wherein the mode selector is a key Switch (SW) or a touch switch connected to the control unit (2), and the criterion of the control unit (2) in step S2 that the switching signal input by the mode selector is the light blinking mode switching signal is:
Pressing the mode selector a plurality of times within a second time set by the control unit (2); or alternatively
The time for which the mode selector is continuously pressed is greater than or equal to a third time set by the control unit (2).
6. The method according to claim 1, wherein the mode selector is a key Switch (SW) or a touch switch connected to the control unit (2), and the step S3 is based on the fact that the control unit (2) determines that the switching signal input by the mode selector is a light timing signal: the mode selector is pressed once and the time of pressing is less than or equal to the first time set by the control unit (2).
7. A control method of a lamp according to claim 1, wherein the switching unit (3) in step S2 comprises three groups of switching circuits, each group of switching circuits comprises a load connection part (a, B, C) and two first switching tubes (Q3, Q2, Q1) and second switching tubes (Q4, Q5, Q6) which are independently controlled by the control unit (2), a first pin of the first switching tube (Q3, Q2, Q1) is connected to an output terminal of the control unit (2), a second pin of the first switching tube (Q3, Q2, Q1) is used for connecting a dc power supply, a third pin of the first switching tube (Q3, Q2, Q1) is connected to a third pin of the second switching tube (Q4, Q5, Q6), a first pin of the second switching tube (Q4, Q5, Q6) is connected to an output terminal of the control unit (2), and a second pin of the second switching tube (Q4, Q5, Q6) is connected to a ground connection part of the third switching tube (Q3, Q2, Q1) is provided to the third pin of the third switching tube (Q4, Q5, Q6).
8. A control method of a luminaire as claimed in claim 7, characterized in that the order of the switching on or off of the control switch unit (3) is as follows:
the load connection part (A) of the first group of switch circuits outputs high level, the load connection part (B) of the second group of switch circuits and the load connection part (C) of the third group of switch circuits output low level; or alternatively
The load connection part (A) of the first group of switch circuits outputs a low level, the load connection part (B) of the second group of switch circuits and the load connection part (C) of the third group of switch circuits output a high level; or alternatively
The load connection part (A) of the first group of switch circuits and the load connection part (B) of the second group of switch circuits output low level, and the load connection part (C) of the third group of switch circuits output high level; or alternatively
The load connection parts (A) of the first group of switch circuits and the load connection parts (B) of the second group of switch circuits output high level, and the load connection parts (C) of the third group of switch circuits output low level.
9. The control method of the lamp is characterized in that after power-on, the control unit (2) outputs a control signal for enabling the lamp to work, if the control unit (2) receives a timing switching signal sent by the mode selector, the control unit (2) switches the operation of the control unit for outputting the control signal according to the input of the mode selector, and when the timing time is over, the control unit (2) stops outputting the control signal.
10. The method according to claim 11, wherein the mode selector is a key Switch (SW) or a touch switch connected to the control unit (2), and the control unit (2) determines that the mode selector sends the timing switching signal according to: pressing the mode selector once and the pressing time is less than or equal to a first time set by the control unit (2);
or, pressing the mode selector a plurality of times within a second time set by the control unit (2);
alternatively, the time for which the mode selector is continuously pressed is greater than or equal to the third time set by the control unit (2).
CN202210819059.8A 2022-07-12 2022-07-12 Lamp control method Pending CN116033629A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202210819059.8A CN116033629A (en) 2022-07-12 2022-07-12 Lamp control method
GB2212400.2A GB2620648A (en) 2022-07-12 2022-08-25 Control method for lamp
DE102022122221.7A DE102022122221B4 (en) 2022-07-12 2022-09-01 Method for controlling a lamp and lamp control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210819059.8A CN116033629A (en) 2022-07-12 2022-07-12 Lamp control method

Publications (1)

Publication Number Publication Date
CN116033629A true CN116033629A (en) 2023-04-28

Family

ID=83931841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210819059.8A Pending CN116033629A (en) 2022-07-12 2022-07-12 Lamp control method

Country Status (3)

Country Link
CN (1) CN116033629A (en)
DE (1) DE102022122221B4 (en)
GB (1) GB2620648A (en)

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5957564A (en) * 1996-03-26 1999-09-28 Dana G. Bruce Low power lighting display
US6285140B1 (en) 1999-04-21 2001-09-04 Pharos Innovations Inc. Variable-effect lighting system
DE102006011451A1 (en) 2005-09-20 2007-03-22 Münchner Hybrid Systemtechnik GmbH Illuminant`s brightness control switching arrangement, has power controller that infers maximum illuminating value from memory and provides inferred value via switching ramp during detection of control unit operation using evaluating unit
US20140153243A1 (en) * 2012-12-05 2014-06-05 Inliten, L.L.C. Ornamental light set
GB2528518B (en) * 2015-01-09 2016-07-20 Leisuregrow Products Ltd Improvements in and relating to electrical controllers
CN205179451U (en) 2015-11-10 2016-04-20 常州市巨泰电子有限公司 Vertical drive power supply of lamps and lanterns
US10028360B1 (en) * 2016-02-12 2018-07-17 Willis Electric Co., Ltd. Selective control of decorative lighting with control option indication
CN206620335U (en) 2017-03-01 2017-11-07 常州市巨泰电子有限公司 The controller of LED with remote control signal receiver
US10683974B1 (en) * 2017-12-11 2020-06-16 Willis Electric Co., Ltd. Decorative lighting control
TWI710730B (en) * 2020-02-26 2020-11-21 美商科斯莫燈飾公司 Light-emitting controller of light string having multiple lighting modes, and controlling method and light string assembly thereof
EP3945752A1 (en) 2020-07-30 2022-02-02 Shenzhen Yifengyuan Technology Co. Ltd. Two-way to multi-way light emitting diode control circuits and methods for controlling leds
CN221409170U (en) 2021-08-28 2024-07-23 常州市巨泰电子有限公司 Lamp control device with multiple input modes and power supply
CN215499645U (en) 2021-08-31 2022-01-11 宁波鑫合瑞电子有限公司 Touch control type lamp belt controller

Also Published As

Publication number Publication date
GB202212400D0 (en) 2022-10-12
DE102022122221A1 (en) 2024-01-18
DE102022122221B4 (en) 2024-09-05
GB2620648A (en) 2024-01-17

Similar Documents

Publication Publication Date Title
CA2441278C (en) Decorative light string having shunt repair device
CN101299287B (en) Danger warning system with LED
WO2001082654A1 (en) Variable-effect lighting system
WO2017036087A1 (en) Led lamp string having selectable light emitting mode
EP3328161B1 (en) Plug-in multifunctional led power system
CN217789939U (en) Lamp controller
CN110024259A (en) Operating device with test switch and positioning indicator
CN113141694A (en) Intelligent lamp and color cutting detection circuit and method thereof
CN116033629A (en) Lamp control method
CN217789938U (en) Lamp controller
CN217789566U (en) Lamp power converter
CN1291857A (en) Low cost precision electronic electronic actuator
CN104955193B (en) A kind of LED lamp circuit
CN215956689U (en) Inductive control circuit of switching power supply
CN205491269U (en) LED lamps and lanterns that throw light on and control chip thereof
CN110326362A (en) For being connected to the remodeling luminous diode LED lighting apparatus of electric ballast
CN111538268B (en) Single-fire electricity taking intelligent switch, wireless control device and power supply control system
CN215991272U (en) LED output adjustment drive circuit and LED lamp
CN106981997B (en) Power supply apparatus
KR100478361B1 (en) Driving Method of Triac for the Electronic Switch of Wall mounting use
CN215581780U (en) LED control circuit, LED control assembly and LED lamp
US12133311B1 (en) Christmas tree lighting decoration control system
CN213213895U (en) Intelligent dimming socket and intelligent dimming lamp applying same
CN200994207Y (en) Improved structure of colour-changing lamp string
CN115767836B (en) Lamp circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination