GB2620648A - Control method for lamp - Google Patents

Control method for lamp Download PDF

Info

Publication number
GB2620648A
GB2620648A GB2212400.2A GB202212400A GB2620648A GB 2620648 A GB2620648 A GB 2620648A GB 202212400 A GB202212400 A GB 202212400A GB 2620648 A GB2620648 A GB 2620648A
Authority
GB
United Kingdom
Prior art keywords
switch
control unit
triode
mode selector
control
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
GB2212400.2A
Other versions
GB202212400D0 (en
Inventor
Lin Jun
Pan Chengqian
Huang Wei
Chen Jin
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
Publication of GB202212400D0 publication Critical patent/GB202212400D0/en
Publication of GB2620648A publication Critical patent/GB2620648A/en
Pending legal-status Critical Current

Links

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

A control method for a lamp comprises the following steps: S1: after being powered on, a control unit outputs a control signal, and the control unit receives a switching signal input by a mode selector; S2: if the control unit judges the switching signal input by the mode selector to be a light flashing mode switching signal, the control unit outputs a control signal for switching a flashing mode of a lamp, and the control signal for switching the flashing mode controls a switch unit to change a flashing mode of the lamp; and S3: if the control unit judges the switching signal input by the mode selector to be a light timing signal, the control unit enters a timing mode such that, for example, the lamp is switched off after operating for six or eight hours.

Description

DESCRIPTION
CONTROL METHOD FOR LAMP
TECHNICAL FIELD
The present disclosure relates to the technical field of lighting, in particular to a control method for a lamp.
BACKGROUND
With a variety of shapes and flashing light, a festival lamp luster has lighting and decoration effects at night, and meanwhile the festival lamp luster is the first choice for people to add festive air during the festival. The above lighting and decoration effects are that a control signal with a duty cycle is sent to an LED lamp through a controller, and the control signal enables the LED lamp to produce various different flashing effects.
An existing LED lamp controller includes a control unit and a switch unit, the switch unit is connected to an output end of the control unit, the control unit is usually a programmable chip, the switch unit forms two sets of switch circuits through four triodes, and a control module can control the two sets of switch circuits to be turned on alternately, thereby realizing alternate flashing of two circuits of lamp luster connected to the output end. The above two sets of switch circuits exist the following problems: First, two circuits of load can be connected only, usually each circuit of load is a one-circuit lamp luster, therefore the lamp luster quantity connected to the existing switch unit is less, resulting in limited lighting effect produced during working.
Second, when one switch circuit is damaged, the lamp luster connected to this switch circuit cannot work, at this time, the other switch circuit can work only, so the lamp luster effect becomes worse.
Third, for tour triodes in the switch unit, two triodes in opposite side form a set of switch circuit, and this structure results in a complex circuit structure, requiring more wiring and increasing cost. Moreover, in each switch circuit, only one triode is electrically connected to the control module, namely, in each set of switch circuit, only one triode is controlled to be turned on or turned off through the control module, and the state of the previous triode decides whether to turn on or turn off another triode, therefore another triode cannot be controlled independently.
Fourth, the above control unit usually switches a light flashing mode without other functions, therefore, the above controller has the defect of a single function.
SUMMARY
Aiming at the above technical problem, the present disclosure provides a control method for a lamp, and the present disclosure can not only switch the light flashing model, but also set the light working time A control method for a lamp, comprising the following steps:S1: after being powered on, a control unit outputs a control signal, and the control unit receives a switching signal input by a mode selector; S2: if the control unit judges the switching signal input by the mode selector as a light flashing mode switching signal, the control unit outputs the control signal for switching a flashing mode to a switch unit, and the control signal for switching the flashing mode controls the sequence to turn on or turn off the switch unit; andS3: if the control unit judges that the switching signal input by the mode selector as a light timing signal, the control unitcontrols an operation for outputting and timing the control signal according to the input of the mode selector, and when the timing is end, the control unit stops outputting the control signal.
In the present disclosure, after an operation signal is sent to the control unit in different ways and the control unit identifies the input signal, the switching or light work time setting for die light flashing mode is obtained, and after obtaining the specific conclusion, the control unit outputs a corresponding control command, so as to control the lamp to work. Thus, the present disclosure can not only switch the light flashing mode, but also set the light work time, so the present disclosure is multi -functional.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG I is a circuit block diagram of a lamp controller in the utility model.
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 in the utility model.
FIG 4 is a wiring diagram of a threc-wire and four-circuit lamp.
FIG. 5 is a wiring diagram of a three-wire and six-circuit lamp.
FIG. 6 is a schematic diagram of a second control unit and a switch unit in the utility model. FIG. 7 is a flow diagram of a control method for a lamp.
FIG. 8 is a schematic diagram of a third control unit and a switch unit.
FIG. 9 is a schematic diagram of a fourth control unit and a switch unit.
FIG. 10 is a schematic diagram of a fifth control unit and a switch unit.
FIG. 1 la to FIG. 1 1g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a first lamp controller.
FIG. 12a to FIG. 12g arc respectively orthographic views and solid diagrams of six surfaces of an appearance of a second lamp controller.
FIG. 13a to FIG. 13g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a third lamp controller.
FIG. 14a to FIG. 14g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a fourth lamp controller.
FIG. I5a to FIG. 15g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a fifth lamp controller.
FIG. 16a to FIG. 16g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a sixth lamp controller.
FIG. I 7a to FIG. 17g are respectively orthographic views and solid diagrams of six surfaces of 20 an appearance of a seventh lamp controller.
FIG. 18a to FIG. 18g arc respectively orthographic views and solid diagrams of six surfaces of an appearance of an eighth lamp controller.
FIG. 19a to FIG. 19g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a ninth lamp controller.
FIG. 20a to FIG. 20g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a tenth lamp controller.
FIG. 21a to FIG. 21g are respectively orthographic views and solid diagrams of six surfaces of an appearance of an eleventh lamp controller.
FIG. 22a to FIG. 22g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a twelfth lamp controller.
FIG. 23a to FIG. 23g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a thirteenth lamp controller FIG. 24a to FIG. 24g are respectively orthographic views and solid diagrams of six surfaces of an appearance of a fourteenth lamp controller.
FIG. 25a to FIG. 25f are respectively orthographic views of six surfaces of an appearance of a fifteenth lamp controller.
FIG. 26a to FIG. 26f are respectively orthographic views of six surfaces of an appearance of a sixteenth lamp controller FIG. 27a to FIG. 27f are respectively orthographic views of six surfaces of an appearance of a seventeenth lamp controller.
FIG. 28a to FIG. 28f are respectively orthographic views of six surfaces of an appearance of an eighteenth lamp controller. FIG. 29a to FIG. 29f are respectively orthographic views of six surfaces of an appearance of a nineteenth lamp controller.
FIG. 30a to FIG. 3 I f are respectively orthographic views of six surfaces of an appearance of a twentieth lamp controller.
FIG. 31a to FIG. 31f are respectively orthographic views of six surfaces of an appearance of a twenty-first lamp controller.
FIG. 32a to FIG. 32f are respectively orthographic views of six surfaces of an appearance of a 20 twenty-second lamp controller FIG. 33a to FIG. 33f are respectively orthographic views of six surfaces of an appearance of a twenty-third lamp controller.
FIG. 34a to FIG. 34f are respectively orthographic views of six surfaces of an appearance of a twenty-fourth lamp controller FIG. 35a to FIG. 35f are respectively orthographic views of six surfaces of an appearance of a twenty-fifth lamp controller.
FIG. 36a to FIG. 36f are respectively orthographic views of six surfaces of an appearance of a twenty-sixth lamp controller.
FIG. 37a to FIG. 37f are respectively orthographic views of six surfaces of an appearance of a 30 twenty-seventh lamp controller FIG. 38a to FIG. 38f are respectively orthographic views of six surfaces of an appearance of a twenty-eighth lamp controller.
FIG. 39a to FIG. 39f are respectively orthographic views of six surfaces of an appearance of a twenty-ninth lamp controller FIG. 40a to FIG. 40f are respectively orthographic views of six surfaces of an appearance of a thirtieth lamp controller.
FIG. 41a to FIG. 41f are respectively orthographic views of six surfaces of an appearance of a thirty-first lamp controller.
FIG. 42a to FIG. 42f arc respectively orthographic views of six surfaces of an appearance of a thirty-second lamp controller.
DETAILED DESCRIPTION OF THE EMBODIMENTS Embodiment 1 As shown in FIG. 1, a lamp controller in this embodiment includes a DC power supply 1, a control unit 2 and a switch unit 3 that is controlled to be turned on or turned off through the control unit 2, and each part and the relationship among various parts are respectively described in details below: As shown in FIG. 1 and FIG. 2, an output end of the DC power supply 1 is electrically connected to the control unit 2 and the switch unit 3 in respective, the DC power supply I may adopt a battery or a switch power supply, and the switch power supply that transforms alternating current into direct current is preferentially adopted in this embodiment. In this embodiment, the switch power supply includes a rectifier filter circuit, a voltage conversion circuit, a starting circuit and a switch control circuit. Each part of the switch power supply is described in details below: As shown in FIG. 2, an output end of the rectifier filter circuit is respectively connected to the voltage conversion circuit and the starting circuit, the rectifier filter circuit includes a single-phase full-wave rectifier circuit BD1, first inductance LI, a first capacitor Cl, a second capacitor C2. a second parallel capacitor C2B, second inductance L2, a first anti-interference resistor ROA and a second anti-interference resistor ROB, and the single-phase full-wave rectifier circuit is composed of four diodes; an anode output end of the single-phase full-wave rectifier circuit BD1 is respectively connected to one end of the first inductance Ll and one end of the first capacitor CI, the first anti-interference resistor ROA is connected to the two ends of the first inductance Li in parallel, the other end of the first inductance Li is connected to one end of the second capacitor C2, the other end of the second capacitor C2 is grounded, the second parallel capacitor C2B is connected to the two ends of the second capacitor C2 in parallel, the other end of the first capacitor Cl is connected to a cathode output end of the single-phase full-wave rectifier circuit BDI, the other end of the first capacitor CI is also connected to one end of the second inductance L2, the other end of the second inductance L2 is grounded, and the second anti-interference resistor ROB is connected to the two ends of the second inductance L2 in parallel.
As shown in FIG. 2, after being provided to the single-phase fill-wave rectifier circuit BDI for rectifying through a fuse RF1, alternating current voltage is filtered through the first inductance Li, the first capacitor Cl, the second capacitor C2 and the second parallel capacitor C2B, and then electromagnetic interference is eliminated through an electromagnetic anti-interference circuit formed by the first inductance Li, the first anti-interference resistor ROA, the second inductance L2 and the second anti-interference resistor ROB, thereby avoiding the influence of an electromagnetic interference signal on output DC voltage. The direct current obtained through the rectifier filter circuit is conveyed to the voltage conversion circuit, and the voltage conversion circuit is a transformer Ti, which can transform high voltage into low voltage, to be used by the follow-up control unit 2 and the switch unit 3. The transformer TI and the first inductance LI are provided with safety capacitors CY1, and one end of the safety capacitor CY1 is connected to the ground.
As shown in FIG. 2, the switch power supply further includes a rectifier diode D7 and a fifth capacitor CS, an anode end of the rectifier diode D7 is connected to an output end of the voltage conversion circuit, a cathode end of the rectifier diode D7 is connected to one end of the fifth capacitor CS, and the other end of the fifth capacitor C.5 is grounded. After secondary output voltage of the transformer T1 is rectified through the rectifier diode D, direct current voltage is obtained, namely, an output end V+ of the DC power supply 1, and the direct current voltage charges the fifth capacitor CS.
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 rcsistor R9 is connected to the other end of the first inductance L I while the other end of the first current-limiting resistor R9 is connected to one end of the second current-limiting resistor RIO, and the other end of the second current-limiting resistor R10 is electrically connected to the switch control circuit.
As shown in FIG. 2, the switch control circuit is electrically connected to the rectifier filter circuit and the voltage conversion circuit in respective. The switch control circuit includes a power control chip U 1, 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 CO, an output end of the power control chip U I is connected to the transformer TI, and the power control chip Ul is grounded through the second resistor R2. One end of the third capacitor C3 is respectively connected to the other end of the second current-limiting resistor R10 and the power control chip Ul, the other end of the third capacitor C3 is grounded, an auxiliary winding of the transformer Ti is connected to the third capacitor C3 through a fifth diode D5, one end of the first voltage sampling resistor R8 is connected to the auxiliary winding of the transformer TI, and the other end of the first voltage sampling resistor R8 is respectively connected to the second voltage sampling resistor R4 and the power control chip Ul.
As shown in FIG. 2, during the initial power-on period of the switch power supply, the current output by the rectifier filter circuit is provided to the third capacitor C3 after being limited through 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 control chip Ul, and die power control chip Ul is powered on to work, so the switch control circuit is started to work. An electrical signal of a primary winding of the transformer Ti is provided to the power control chip Ul after being sampled through the first voltage sampling resistor R8 and the second voltage sampling resistor R4, the power control chip Ul compares the electrical signal with an output voltage value set inside the power control chip U1, and if the electrical signal is unequal to the output voltage value, the power control chip Ul will output a control signal to adjust the output voltage. A power tube is integrated inside the power control chip U I, and the power control chip U I adjusts the output voltage by controlling the time for turning on or turning off the power tube.
As shown in FIG. 2, a negative peak absorption circuit is also connected between the switch control circuit and the transformer Ti, the negative 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 inductance Li, the other end of the fourth capacitor C4 is connected to a cathode end of the sixth diode D6, an anode end of the sixth diode D6 is connected to an output end of the power control chip Ul, and the sixth resistor R6 is connected to the two ends of the fourth capacitor C4 in parallel.
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 to an output end V+ of the DC power supply, and the microcontroller U2 is NICU. Since the microcontroller U2 is a programmable controller, when a mode selector sends an operation signal to the microcontroller U2, the microcontroller U2 sends a control signal enabling die lamp 3a to work according to a programming rule As shown in FIG. 3, in this embodiment, the preferred mode is as follows: a voltage-stabilizing filter circuit is arranged between the output end V+ of the DC power supply 1 and the microcontroller U2, die 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 end V+ of the DC power supply, the other end of the twelfth resistor R12 is connected to a cathode end of the voltage-stabilizing diode ZD1, an anode end of the voltage-stabilizing diode ZD1 is grounded, one end of the sixth capacitor C6 is connected to the cathode end of the voltage-stabilizing diode ZD I, the other end of the sixth capacitor C6 is grounded, mid a 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, the two ends of the crystal oscillator XL1 are respectively connected to the pin 6 and the 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 Cl2 is grounded, one end of the thirteenth capacitor CI3 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 end V+ of the DC power supply, after setting the voltage-stabilizing filter circuit, preferably, the pin 8 of the 30 memory chip U3 is connected to one end of the sixth capacitor C6. The pins 1, 2, 3, 4 and 7 of the memory chip U3 are grounded, the pin 5 of the memory chip U3 is connected to the pin I of the microcontroller U2, the pin 6 of the memory chip U3 is connected to the pin 2 of the microcontroller U2, the current working mode is output to the memory chip U3 through the microcontroller U2, so that the memory chip 1J3 can record the working mode. After power failure, the working mode of the microcontroller U2 before stopping work is still recorded in the memory chip U3; and after the microcontroller U2 is powered on again, the microcontroller U2 reads the recorded working mode from the memory chip U3, and sends a control signal to a loading lamp 3a in this working mode. Except that the memory chip U3 is configured outside the microcontroller U2, the memory chip 133 may also be set inside the microcontroller 132.
Certainly, the memory chip U3 is not necessary, namely, whether to connect U3 may be decided according to needs.
As shown in FIG. 3, the switch unit 3 in this embodiment includes three sets of switch circuits, each set of switch circuit includes a load connecting part as well as a first switch tube and a second switch tube that are independently controlled by the control unit, the first switch tube and the second switch tube may be a triode or a MOS tube. The triode is taken as an example for illustration in this embodiment, wherein the first switch tube is replaced by the first triode for illustration, and the second switch tube is replaced by a second triode for illustration.
A base electrode of the first triode is connected to an output end of the control unit 2, an emitting electrode of the first triode is configured to connect to the DC power supply, a collecting electrode of the first triode is connected to a collecting electrode of a second triode, a base electrode of the second triode is connected to the output end of the control unit 2, an emitting electrode of the second triode is grounded, and the load connecting part is arranged at the connecting part of the collecting electrode of the first triode and the collecting electrode of the second triode.
As shown in FIG. 3, in this embodiment, the first triode Q3 in the first set of switch circuit is a PNP triode or a P-channel 1\40S tube, the second triode Q4 in the first set of switch circuit is a NPN triode or a N-channel MOS tube, the base electrode of the first triode Q3 in the first set of switch circuit is connected to the pin 10 of the microcontroller U2, the base electrode of the first triode Q3 in the first set of switch circuit is preferentially connected to the pin 10 of the microcontroller 132 through the first current-limiting resistor RA1, the emitting electrode of the first triode Q3 in the first set of switch circuit is connected to the output end V+ of the DC power supply, the base electrode of the second triode Q4 in the first set of switch circuit is connected to the pin 16 of the microcontroller U2, the base electrode of the second triode Q4 in the first set of switch circuit is preferentially connected to the pin 16 of the microcontroller 132 through a second current-limiting resistor RBI, the emitting electrode of the second triode Q4 in the first set of switch circuit is grounded, and the load connecting part A in the first set of switch circuit is connected to the connecting part of the collecting electrode of the first triode Q3 in the first set of switch circuit and the collecting electrode of the second triode Q4 in the first set of switch circuit.
As shown in FIG. 3, the first triode Q2 in the second set of switch circuit is a PNP triode or a P-channel MOS tube, the second triode Q5 in the second set of switch circuit is a NPN triode or a N-channel MOS tube, the base electrode of the first triode Q2 in the second set of switch circuit is connected to the pin 11 of the microcontroller U2, the base electrode of the first triode Q2 in the second set of switch circuit is preferentially connected to the pin 11 of the microcontroller U2 through the third current-limiting resistor RA2, the emitting electrode of the first triode Q2 in the second set of switch circuit is connected to the output end V-1 of the DC power supply, the base electrode of the second triode Q5 in the second set of switch circuit is connected to the pin 15 of the microcontroller U2, the base electrode of the second triode Q5 in the second set of switch circuit is preferentially connected to the pin 15 of the microcontroller U2 through a fourth current-limiting resistor RB2, the emitting electrode of the second triode Q5 in the second set of switch circuit is grounded. and the load connecting part B in the second set of switch circuit is connected to the connecting part of the collecting electrode of the first triode Q2 in the second set of switch circuit and the collecting electrode of the second triode Q5 in the second set of switch circuit.
As shown in FIG. 3, the first triode Qt in the third set of switch circuit is a PNP triode or a P-channel MOS tube, the second triode Q6 in the third set of switch circuit is a NPN triode or a N-channel 1\40S tube, the base electrode of the first triode Ql in the third set of switch circuit is connected to the pin 13 of the microcontroller U2, the base electrode of the first triode Q1 in the third set of switch circuit is preferentially connected to the pin 13 of the microcontroller 132 through the fifth current-limiting resistor RA3, the emitting electrode of the first triode Q1 in the third set of switch circuit is connected to the output end V+ of the DC power supply, the base electrode of the second triode Q6 in the third set of switch circuit is connected to the pin 14 of the microcontroller U2, the base electrode of the second triode Q6 in the third set of switch circuit is preferentially connected to the pin 14 of the microcontroller 1J2 through a sixth current-limiting resistor RB3, the emitting electrode of the second triode Q6 in the third set of switch circuit is grounded, and the load connecting part C in the third set of switch circuit is connected to the connecting part of the collecting electrode of the first triode Ql in the third set of switch circuit and the collecting electrode of the second triode Q6 in the third set of switch circuit.
As shown in FIG. 3, taking the first set of switch circuit as an example, die working process of the first set of switch circuit is described below: (1) When the pins 10 and 16 of the microcontroller 132 output high level, the first triode Q3 in the first set of switch circuit is turned off, the second triode Q4 in the first set of switch circuit is turned on, and the level of the connecting part of the collecting electrode of the first triode Q3 in the first set of switch circuit and the collecting electrode of the second triode Q4 in the first set of switch circuit is equal to the ground, namely, the low level, at this time, the level of the load connecting part A in the first set of switch circuit is the low level.
(2) When the pins 10 and 16 of the microcontroller 132 output low level, the first triode Q3 in the first set of switch circuit is turned on, the second triode Q4 in the first set of switch circuit is turned off, and the level of the connecting part of the collecting electrode of the first triode Q3 in the first set of switch circuit and the collecting electrode of the second triode Q4 in the first set of switch circuit is from the output end V+ of the DC power supply, namely, the high level, at this time, the level of the load connecting part A in the first set of switch circuit is the high level.
(3) When the pin 10 of the microcontroller U2 outputs high level and the pin 16 of the microcontroller U2 outputs low level, die first triode Q3 in the first set of switch circuit is turned off, the second triode Q4 in the first set of switch circuit is turned off, and the connecting part of the collecting electrode of the first triode Q3 in the first set of switch circuit and the collecting electrode of the second triode Q4 in the first set of switch circuit has no output.
(4) When the pin 10 of the microcontroller 132 outputs low level and the pin 16 of the microcontroller 132 outputs high level, the first triode Q3 in the first set of switch circuit is turned on, the second triode Q4 in the first set of switch circuit is turned on, and the current from the output end V+ of the DC power supply flows to the ground directly, thereby causing the short circuit of the first set of switch circuit, and this situation is not allowed.
As shown in FIG. 3, since the load connecting parts of three sets of switch circuits may output high level or low level, and control the duty cycle output by each switch circuit, the load lamp 3a may show different flashing modes according to a circuit structure of the load lamp 3a.
As shown in FIG. 3 and FIG. 4, the lamp 3a in this embodiment includes 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, the first wire 4 is connected to the load connecting part A of the first set of switch circuit, the second wire 5 is connected to the load connecting part B of the second set of switch circuit, and the third wire 3 is connected to the load connecting part C of the third set of switch circuit.
As shown in FIG. 3 and FIG. 4, an anode end of the first LED lamp 7 is connected to the first wire 4, and a cathode end of the first LED lamp 7 is connected to the second wire 5, a cathode end of the second LED lamp 8 is connected to the first wire 4, and an anode end of the second LED lamp 8 is connected to the second wire 5; a cathode end of the third LED lamp 9 is connected to the second wire 5, and an anode end of the third LED lamp 9 is connected to the third wire 6; and an anode end of the fourth LED lamp 10 is connected to the second wire 5, and a cathode end of the fourth LED lamp 10 is connected to the third wire 6.
As shown in FIG. 3 and FIG. 4, based on the circuit structure of the above lamp 3a, the working is divided into the following states: (1) As shown in FIG. 3 and FIG. 4, the load connecting part A of the first set of switch circuit outputs high level, the load connecting part B of the second set of switch circuit and the load connecting part C of the third set of switch circuit output low level, so that the first LED lamp 7 works, and the remaining LED lamps are extinguished.
(2) As shown in FIG. 3 and FIG. 4, the load connecting part A of the first set of switch circuit outputs low level, the load connecting part B of the second set of switch circuit and the load connecting part C of the third set of switch circuit output high level, so that the second LED lamp 8 works, and the remaining LED lamps are extinguished.
(3) As shown in FIG. 3 and FIG. 4, the load connecting part A of the first set of switch circuit and the load connecting part B of the second set of switch circuit output low level, the bad connecting part C of the third set of switch circuit outputs high level, so that the third LED lamp 9 works, and the remaining LED lamps are extinguished.
(4) As shown in FIG. 3 and FIG. 4, the load connecting part A of the first set of switch circuit and the load connecting part B of the second set of switch circuit output high level, the load connecting part C of the third set of switch circuit outputs low level, so that the fourth LED lamp works, and the remaining LED lamps are extinguished.
As shown in FIG. 3 and FIG. 4, the above three wires and four circuits of lamps form a three-wire and four-circuit lamp 3a. However, the lamp 3a in this embodiment is not limited to this. For example, as shown in FIG. 5, the lamp further includes a fifth LED lamp 11 and a sixth LED lamp 12, wherein an anode end of the fifth LED lamp 11 is connected to the first wire 4, and a cathode end of the fifth LED lamp 11 is connected to the third wire 6; and a cathode end of the sixth LED lamp 12 is connected to the first wire 4, and an anode end of the sixth LED lamp 12 is connected to the third wire 6. The fifth LED lamp 11 and the sixth LED lamp 12 are added based on the three-wire and four-circuit, so as to form a three-wire and six-circuit lamp.
As shown in FIG. 3 and FIG. 4, any one of the above ways can control the duty cycle and the work time of each LED lamp, and different work time may show different Fighting effects. Moreover, this implementation mode is respectively connected to the controller through three wires, at least four circuits of LED lamps are also connected among the three wires, apparently, the showed lighting effect is better than that in the prior art. The controller structure and the circuit structure are simpler in a case that the circuit quantity connecting to the lamp is more than that in the prior art, so that the cost will not be increased. In addition, the two triodes in each set of switch circuit will be controlled by the microcontroller U2, so as to decide whether the level output by the switch circuit is the high level or the low level. Each triode is independently controlled, so a case that the conduction of one triode is decided by another triode in the prior art is avoided, and the control efficiency of the controller is improved.
As shown in FIG. 3, the position of the lamp controller is hard to find in an environment with low illumination. Therefore, in this embodiment, the preferred way is to further include an indicator LED 2, which is always on after being powered on, so as to indicate the position of the lamp controller. The indicator LED 2 is electrically connected to an output end of the DC power supply 1, namely, the output end V+ of the DC power supply is connected to the indicator LED 2. The indicator LED2 will keep Fighting as long as the output end V+ of the DC power supply outputs the working voltage, so as to indicate 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 of the indicator LED2 is reached by reducing the nineteenth current-limiting resistor RI9, thereby avoiding the damage on the indicator LED2.
As shown in FIG. 3, since a plurality of lamp flashing modes are built in the microcontroller 132, a switching signal for switching the flashing modes is sent to the microcontroller U2, and the microcontroller 132 outputs different control signals, such as the high level or the low level for controlling each set of switch circuit to be output, or the duty cycle for controlling each set of switch circuit to output the signal, so as to form different flashing modes. Certainly, the work time of the lamp 3a may be controlled through a selected mode, for example, working in an appointed working period, or stopping working in an appointed working period.
As shown in FIG. 3, based on the above description, this embodiment further includes a mode selector which inputs a light flashing mode switching signal or a light timing signal to the control unit 2, and the mode selector is electrically connected to the control unit. The mode selector may be controlled in a wired mode or a wireless mode. When adopting the mode selector with the wired mode, the mode selector is directly welded with the control unit 2; when adopting the mode selector with the wireless mode, a part of this mode selector is directly welded with the control unit 2, and the other part of this mode selector communicates with the control unit 2 in a form of wireless signal transmission.
As shown in FIG. 3, in this embodiment, the mode selector adopts a key switch SW or a touch switch (not shown in the figure). 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 with 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 adopted at the same time. One end of the wireless signal receiver U4 is welded with the pin 5 of the microcontroller U2, and the other end of the wireless signal receiver U4 is connected to the pin 9 of the microcontroller 132. A wireless signal transmitter paired with the wireless signal receiver 134 is not shown in the figure, the wireless signal transmitter is usually a hand-held remote control, the wireless signal transmitter communicates with the wireless signal receiver U4 through an infrared signal, and after receiving the signal sent by the wireless signal transmitter, the wireless signal receiver U4 is configured to change the flashing mode or the timing signal of the lamp 3a.
As shown in FIG. 3, in order to know whether the lamp 3a is in a timing state, this embodiment further includes a timing indicator LED1 for indicating the timing state after the control unit 2 starts the light timing according to the input of the mode selector, and the timing indicator LED1 is electrically connected to the control unit 2. The timing indicator LED! is a light-emitting diode, one end of the timing indicator FEDI is connected to the pin 4 of the microcontrollcr U2, and the other end of the timing indicator LEDI is grounded through an eighteenth resistor 'When the timing is started, the control unit 2 outputs a signal capable of lighting the timing indicator LED1, and when the timing is end, the control unit 2 outputs a signal capable of extinguishing the timing indicator LED1.
In addition to connect to die three-wire and four-circuit lamp 3a in FIG. 4, the switch unit 2 in the embodiment I may also be connected to the three-wire and six-circuit lamp 3a in FIG. 5, in addition, the lamp luster shown in FIG. 4 and FIG.5 may be connected to any one of FIG. ha to FIG. 36f in actual use. FIG. 8 to FIG. 10 are any one control unit and switch unit in FIG. 37a to FIG. 42f.
Embodiment 2 As shown in FIG. 6, in this lamp controller, the structure of the DC power supply 1 is the same as the DC power supply in the embodiment 1, therefore the structures of the second control unit 2 and the switch unit 3 in the utility model are not repeated herein.
The output end V+ of the DC power supply 1 is electrically connected to the switch unit 3, and the switch unit 3 includes a first switch set, a second switch set and a control module LI I A for controlling the first switch set and die second switch set to be turned on alternately. An output end of the control module U I A is electrically connected to the first switch set, and the output end of the control module UlA forms a second set of switch circuit after being electrically connected to the second switch set.
The difference between this embodiment and the embodiment 1 is that the voltage-stabilizing 30 filter circuit is arranged between the output end V+ of the DC power supply and the control module U I A, namely, one end of the twelfth resistor RI2 in the voltage-stabilizing filter circuit is connected to the output end V+ of the DC power supply, the other end of the twelfth resistor R12 is connected to the cathode end of the voltage-stabilizing diode ZD1, the anode end of the voltage-stabilizing diode ZDI is grounded, one end of the sixth capacitor C6 is connected to the cathode end of the voltage-stabilizing diode ZD I, 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 set includes a ninth triode Q9 and a tenth triode Q 10, a base electrode of the ninth triode Q9 is connected to the output end of the control module U1A, the control module UlA is a chip, die base electrode of the ninth triode Q9 is connected to the pin 6 of the control module U1A through a thirteenth resistor R13, the base electrode of the ninth triode Q9 is also connected to one end of a twenty-first capacitor C21, the other end of the twenty-first capacitor C21 is grounded, an emitting electrode of the ninth triode Q9 is grounded, a collecting electrode of the ninth triode Q9 is respectively connected to a base electrode of the tenth triode Q10 and the output end of the DC power supply 1, a sixteenth resistor R16 is connected between the ninth triode Q9 and the output end V+ of the DC power supply I, a sixteenth current-limiting resistor R16B is connected between the base electrode of the tenth triode Q10 and the output end V+ of the DC power supply 1, an emitting electrode of the tenth triode QI0 is connected to the output end V+ of the DC power supply I, and the collecting electrode of the tenth triode Q10 is the output end of the second set of switch circuit. Based on the above structure, a deformed or replaced solution is that the ninth triode Q9 and the tenth triode Q10 may be replaced by the MOS tube.
The working process of the second set of switch circuit is as follows: when the pin 6 of the control module U 1 A outputs high level, the high level is provided to the ninth triode Q9 after being subjected to current-limiting through the thirteenth resistor RI3, so as to trigger the ninth triode Q9. Since the collecting electrode of the ninth triode Q9 is connected to the output end V+ of the DC power supply I through the sixteenth resistor RI 6, the ninth triode Q9 is turned on after the base electrode of the ninth triode Q9 is triggered. The emitting electrode of the ninth triode Q9 is grounded, so the collecting electrode of the ninth triode Q9 is lowered to the low level after the ninth triode Q9 is turned on, however the base electrode of the tenth triode Q10 is connected to the collecting electrode of the ninth triode Q9 and the emitting electrode of the tenth triode Q10 is connected to the output end V+ of the DC power supply 1, so when the base electrode of the tenth triode Q10 is the low level, the tenth triode Q10 is turned on, and then the collecting electrode of the tenth triode Q10 outputs high level, namely, the output end of the second set of switch circuit outputs high level.
When the pin 6 of the control module TEA outputs low level, the ninth triode Q9 and the tenth triode Q10 are in a cut-off state, namely, the output end of the second set of switch circuit outputs low level.
The first switch set includes a seventh triode Q7 and an eighth triode Q8, a base electrode of the seventh triode Q7 is connected to the output end of the control module U1A, the base electrode of the seventh triode Q7 is connected to the pin 7 of the control module U1A through a fourteenth resistor R14, the base electrode of the seventh triode Q7 is also connected to one end of the twenty-first capacitor C21, the other end of the twenty-first capacitor C21 is grounded, an emitting electrode of the seventh triode Q7 is grounded, a collecting electrode of the seventh triode Q7 is respectively connected to a base electrode of the eighth triode Q8 and the output end of the DC power supply 1, a fifteenth resistor R15 is connected between the seventh triode Q7 and the output end V+ of the DC power supply 1, a fifteenth current-limiting resistor R16B is connected between the base electrode of the eighth triode Q8 and the output end V+ of the DC power supply 1, an emitting electrode of the eighth triode Q8 is connected to the output end V+ of the DC power supply 1, and a collecting electrode of the eighth triode Q8 is electrically connected to a first toggle switch Q31 and a second toggle switch Q32 in respective. Based on the above structure, a deformed or replaced solution is that the seventh triode Q7 and the eighth triode Q8 may be replaced by the MOS tube.
The working process of the second set of switch circuit is as follows: when the pin 7 of the control module UlA outputs high level, the high level is provided to the seventh triode Q7 after being subjected to current-limiting through the fourteenth resistor R14, so as to trigger the seventh triode Q7. Since the collecting electrode of the seventh triode Q7 is connected to the output end V+ of the DC power supply 1 through the fifteenth resistor R15, the seventh triode Q7 is turned on after the base electrode of the seventh triode Q7 is triggered. The emitting electrode of the seventh triode Q7 is grounded, so the collecting electrode of the seventh triode Q7 is lowered to the low level after the seventh triode Q7 is turned on, however the base electrode of the eighth triode Q8 is connected to the collecting electrode of the seventh triode Q7 and the emitting electrode of the eighth triode Q8 is connected to the output end V+ of the DC power supply 1, so when the base electrode of the eighth triode Q8 is the low level, the eighth triode Q8 is turned on, and then the collecting electrode of the eighth triode Q8 outputs high level, namely, the output end of the first set of switch circuit outputs high level.
When the pin 7 of the control module U lA outputs low level, the seventh triode Q7 and the eighth triode Q8 are in a cut-off state, namely, the output end of the first set of switch circuit outputs low level.
The pins 6 and 7 of the control module DIA output high level and low level alternately, so the first set of switch circuit and the second set of switch circuit output high level and low level alternately.
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 the embodiment 1, so the control unit 2 is not repeated herein.
The control unit 2 is electrically connected to the switch unit 3, the switch unit 3 further includes a first toggle switch Q31 and a second toggle switch Q32, the first toggle switch Q31 forms the first set of switch circuit after being electrically connected to the output end of the first switch set and the control unit 2 in respective, and the second toggle switch Q32 forms the third set of switch circuit after being electrically connected to the output end of the first switch set and the control unit 2 in respective. In this embodiment, the first toggle switch Q31 and the second toggle switch Q32 are thyristors, wherein the pin 11 of the microcontroller U2 of the control unit 2 is connected to a gate electrode of the first toggle switch Q31 through the thirteenth current-limiting resistor R13B, and the pin 2 of the microcontroller U2 is connected to a gate electrode of the second toggle switch Q32 through the fourteenth current-limiting resistor R1413.
The control unit 2 is configured to provide a trigger signal to the first toggle switch Q31 and the second toggle switch Q32, when the output end of the first switch set outputs high level, the first toggle switch Q31 or the second toggle switch Q32 is controlled to be turned on through the control unit 2, and when the output end of the first switch set outputs low level, the first toggle switch Q31 or the second toggle switch Q32 is turned off.
For the above structure, the output end of the first toggle switch Q3 I is the load connecting part A, the output end of the second set of switch circuit is the load connecting part B, the output end of the second toggle switch Q32 is the load connecting part C, the load connecting parts A. B and C are respectively connected to the lamps 3a shown in FIG. 4 or FIG. 5, so as to control the lighting of each circuit of lamp luster. The specific conduction principle for controlling each circuit of lamp luster is the same as the embodiment 1, so it will not be repeated herein.
The switch unit 3 in the embodiment 2 can output higher voltage, for example, a circuit of 40V, namely, the output ends of the first set of switch and the second set of switch can output 40V, therefore a thirty-first current-limiting resistor R31 is connected between the output end of the second toggle switch Q32 and the output end of the second set of switch circuit, a thirty-second current-limiting resistor R32 is connected between the output end of the first toggle switch Q31 and the output end of the second set of switch circuit, the current is reduced through the current-limiting resistor, thereby avoiding damage on the lamp 3a connected later.
This embodiment further includes a power supply circuit which supplies power to the control unit 2, the output end of the first switch set is also connected to the power supply circuit, and the power supply circuit is electrically connected to the control unit 2. Namely, this embodiment does not adopt the way preferentially that the DC power supply 1 supplies power to the control unit 2, and supplies power to the control unit 2 in an indirect way. In this embodiment, when the output end of the first switch set, namely, the collecting electrode of the eighth triode Q8 outputs high level, the power supply circuit is charged, and the power supply circuit discharges so as to supply power to the control unit 2.
The power supply circuit includes an energy storage element C613, a rectifier D30 and a thirtieth resistor R30, one end of the energy storage element G6B is electrically connected to the output end of the first switch set, namely, one end of the energy storage element C6B is respectively connected to the collecting electrode 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 to an anode end of the rectifier D30, a cathode end of the rectifier D30 is connected to one end of the thirtieth resistor R30, the other end of the thirtieth resistor R30 is electrically connected to the first switch set, namely, the other end of the thirtieth resistor R30 is connected to the collecting electrode of the seventh triode Q7.
As for the power supply circuit, the current flowing path is as follows: the current is output from the eighth triode Q8, and then finally grounded through the energy storage element C6B, the rectifier D30, the thirtieth resistor R30, the collecting electrode of the seventh triode Q7 and the emitting electrode of the seventh triode Q7 in turn. During this process, the current is reduced through the current-limiting function of the thirtieth resistor R30.
The power supply circuit further includes a voltage-stabilizing element ZD30, which is connected to the energy storage element C6B in parallel. The voltage-stabilizing element ZD30 enables the voltage of the power supply circuit to be a stable value.
This embodiment further includes an indicator LED2 which is always on after being powered on, so as to indicate the position of the lamp controller, one end of the indicator LED2 is connected to 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 through the nineteenth resistor R19. Users are convenient to find the position of the lamp controller in time through the indicator LED2.
This embodiment further includes a mode selector which inputs a light flashing mode switching signal or a light timing signal to the control unit 2, and the mode selector is electrically connected to the control unit. The mode selector is the same as that in the embodiment 1, so it will not be repeated herein.
This embodiment further includes a sampling circuit, which enables the control unit 2 to know whether die second set of switch circuit outputs high level or low level, one end of the sampling circuit is connected to the output end of the second set of switch circuit, and the other end of the sampling circuit is electrically connected to the control unit 2. The sampling circuit includes a thirty-third resistor R33 and a thirty-third capacitor C33, one end of the thirty-third resistor R33 is connected to the output end of the second set of switch circuit, namely, connected to the load connecting part B, the other end of the thirty-third resistor R33 is respectively connected to 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 limiting current, so as to reduce the current, and the thirty-third capacitor C33 is used for filtering.
After acquiring the voltage output by the sampling circuit, the microcontroller 1J2 judges whether the output end of the second set of switch circuit outputs high level or low level in real time, so as to precisely output the trigger signal to the first toggle switch Q31 or the second toggle switch Q32.
As shown in FIG. 7, this embodiment further provides a control method for a lamp, including the following steps: S I: after being powered on, the control unit 2 outputs a control signal, and the control unit 2 receives a switching signal input by the mode selector; if a memory chip U3 is available in the controller, the memory chip U3 will record the control signal with a light-emitting mode output by the current control unit 2 after power failure of the last working; and after next power-on, the control unit 2 reads the control signal with the light-emitting mode output last time from the memory chip U3, and the control signal with the light-emitting mode is output after power-on. If the memory chip U3 is not available in the controller, the control unit 2 will output a light-emitting mode according to program setting. The mode selector is the key switch SW or the touch switch connected to the control unit 2, and the mode selector may also adopt the wireless signal transmitter.
S2: if the control unit 2 judges the switching signal input by the mode selector as the light flashing mode switching signal, the control unit 2 outputs the control signal for switching the flashing mode to the switch unit 3, and the control signal for switching the flashing mode controls the sequence to turn on or turn off the switch unit 3.
In S2, the basis that the control unit 2 judges the switching signal input by the mode selector as the light flashing mode switching signal is as follows: the mode selector is pressed once, and the pressing time is less than or equal to first time set by the control unit 2. For example, the single pressing time does not exceed one second. The key switch SW or the touch switch is turned on or turned off by pressing, the preferred way is that the key switch SW or the touch switch is turned on, therefore the single pressing time does not exceed one second, meaning that the time for turning on the key switch SW or the touch switch does not exceed one second when pressing once.
A plurality of selection buttons are arranged on the wireless signal transmitter, the wireless signal transmitter can send out a corresponding coded signal after operating each selection button, the coded signal corresponding to each button is inconsistent, the control unit 2 compares the received coded signals with the coded signal, so as to identify the specific mode corresponding to the coded signals, for example, the flashing mode or timing mode of the lamp 3a.
If the wireless coded signal for switching the flashing mode is output by the wireless signal transmitter, the control unit 2 outputs the control signal for changing the flashing mode of the lamp 3a after receiving and identifying the wireless coded signal for switching the flashing mode sent by the wireless signal transmitter through the wireless signal receiver U4.
S3: if the control unit 2 judges the switching signal input by the mode selector as the light timing signal, the control unit 2 controls the operation for outputting and timing the control signal according to the input of the mode selector, and when the timing is end, the control unit 2 stops outputting the control signal; and at this time, the lamp is extinguished.
In 53, the basis that the control unit 2 judges the switching signal input by the mode selector as the light timing signal is as follows: the mode selector is pressed for several times in second time set by the control unit 2; for example, the key switch SW or the touch switch is pressed continuously twice within one second, namely, the second time is within one second. Therefore, the control unit 2 acquires two continuous signals for turning on the mode selector within one second, so as to judge that user makes the lamp enter the working mode of timing through the mode selector.
In 53, the basis that the control unit 2 judges the switching signal input by the mode selector as the light timing signal may also be: the time for continuously pressing the model selector is greater than or equal to third time set by the control unit 2, for example, the time for continuously pressing the key switch SW is greater than two seconds, namely, the third time is greater than two seconds.
After entering the timing mode, if the control unit 2 further receives a light flashing mode switching signal, the flashing mode is switched according to the way in S2 under the timing mode.
After entering the timing mode in a case that the mode selector adopts the key switch SW or the touch switch, if the control unit 2 receives the switching signal input by the mode selector again as the light timing signal, the timing is turned off.
If the timing mode is selected in a wireless manner, the control unit 2 receives the code for timing sent by the wireless signal transmitter through the wireless signal receiver U4, for example, the control unit 2 is used for starting timing after acquiring a second code and setting the time of the timing work, for example, the lamp 3a is extinguished after working for six hours. Certainly, a plurality of codes for timing may be sent through the wireless signal transmitter, for example, the wireless signal transmitter may also send a third code for timing, and the third code for timing enables the lamp 3a to be extinguished after working for eight hours. The control unit 2 starts timing after being used for the timing code, and the control unit 2 turns off timing after receiving the code signal for cancelling the timing.
When FIG. 4 or FIG. 5 is connected to any one of FIG. 1 la to FIG. 36f, or FIG. 8 to FIG. 10 is any one control unit and switch unit in the FIG. 37a to FIG. 42f, the control of the controller for each lamp is applicable to the above method.
The control method of the utility model is not limited to the above embodiments, for example: (a) In S2, the basis that the control unit 2 judges the switching signal input by the mode selector as the light timing signal is as follows: the mode selector is pressed for several times in the second time set by the control unit 2; for example, the key switch SW or the touch switch is pressed continuously twice within one second.
(b) in S2, the basis that the control unit 2 judges the switching signal input by the mode selector as the light flashing mode switching signal is as follows: the time for continuously pressing the model 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 two seconds.
(c) in 53, the basis that the control unit 2 judges the switching signal input by the mode selector as the light timing signal is as follows: 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 pressing time does not exceed one second.
The above control method is based on the fact that the controller can respectively switch the light flashing mode switching signal and the light timing signal. Some controllers only need to switch the light timing, the light flashing mode is automatically achieved by the program, so switching is not required. For example, if eight flashing modes are available, the signal is output and circulated in turn according to the eight flashing modes after power-on. For this controller, the present disclosure further configures the following control method: After power-on, the control unit 2 outputs the control signal which enables the lamp to work, and the control signal has the eight inherent circular flashing modes illustrated above. If the control unit 2 receives the timing switching signal sent by the model selector, the control unit 2 switches the operation for outputting and timing the control signal according to the input of the mode selector, and when the timing is end, the control unit 2 stops outputting the control signal.
The mode selector is the key switch SW or the touch switch connected to the control unit 2, the basis that the control unit 2 judges the timing switching signal sent by the mode selector is as follows: 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 one second; or the mode selector is pressed for several times within the second time set by the control unit 2, for example, the key switch SW or the touch switch is continuously pressed twice within one second. Or the time for continuously pressing the model selector is greater than or equal to the third time set by the control unit 2, and the time for continuously pressing the key switch SW is greater than two seconds.
Regardless of the working mode after power-on or the working mode entering the timing, the light brightness or the switch controller may 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 one second; or the mode selector is pressed for several times within the second time set by the control unit 2, for example, the key switch SW or the touch switch is continuously pressed twice within one second. Or the time for continuously pressing the model selector is greater than or equal to the third time set by the control unit 2, and the time for continuously pressing the key switch SW is greater than two seconds. For another example, the controller is turned on or turned off when the time for continuously pressing the mode selector is greater than or equal to the third time set by the control unit 2.
The operation for the timing mode and the operation for switching the light brightness are achieved by operating the same key switch, but the signal sending mode is different. For example, when switching the brightness by pressing the mode selector once within the first time, the mode selector is pressed for several times within the second time set by the control unit 2, so as to enter or exit the timing mode, namely, the operations of timing, dimming and turning on/off the controller are not overlapped.
Certainly, all the above operations may also adopt two key switches SW or two touch switches, one key switch SW or touch switch is used for switching the light brightness or turning on/off the controller, and the other key switch SW or touch switch is used for entering or exiting the timing.

Claims (15)

  1. Claims WHAT IS CLAIMED IS.A control method for a lamp, comprising the following steps: Si: after being powered on, a control unit (2) outputs a control signal, and the control unit (2) receives a switching signal input by a mode selector; 52: if the control unit (2) judges the switching signal input by the mode selector as a light flashing mode switching signal, the control unit (2) outputs the control signal for switching a flashing mode to a switch unit (3), and the control signal for switching the flashing mode controls the sequence to turn on or turn off the switch unit (3); and 53: if the control unit (2) judges that the switching signal input by the mode selector as a light timing signal, the control unit (2) controls an operation for outputting and timing the control signal according to the input of the mode selector, and when the timing is end, the control unit (2) stops outputting the control signal.
  2. 2. The control method for the lamp according to claim 1, wherein after entering the timing mode, if the control unit (2) also receives the light flashing mode switching signal, the flashing mode is switched according to the way in S2 under the timing mode.
  3. 3. The control method for the lamp according to claim 1, wherein the mode selector is a key switch (SW) or a touch switch connected to the control unit (2), and in S2, the basis that the control unit (2) judges the switching signal input by the mode selector as the light flashing mode switching signal is as follows: the mode selector is pressed once, and the pressing time is less than or equal to first time set by the control unit (2).
  4. 4. The control method for the lamp according to claim 1, wherein the mode selector is the key switch (SW) or the touch switch connected to the control unit (2), and in 53, the basis that the control unit (2) judges the switching signal input by the mode selector as the light timing signal is as follows: the mode selector is pressed for several times within second time set by the control unit (2), or the time for continuously pressing the mode selector is greater than or equal to third time set by the control unit (2).
  5. 5. The control method for the lamp according to claim 1, wherein the mode selector is the key switch (SW) or the touch switch connected to the control unit (2), and in 52, the basis that the control unit (2) judges the switching signal input by the mode selector as the light flashing mode switching signal is as follows: the mode selector is pressed for several times within the second time set by the control unit (2), or the time for continuously pressing the mode selector is greater than or equal to the third time set by the control unit (2).
  6. 6. The control method for the lamp according to claim I, wherein the mode selector is the key switch (SW) or the touch switch connected to the control unit (2), and in 53, the basis that the control unit (2) judges the switching signal input by the mode selector as die light timing signal is as follows: 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).
  7. 7. The control method for the lamp according to claim 1, wherein the switch unit (3) in S2 comprises three sets of switch circuits, each set of switch circuit comprises a load connecting part (A, B, C) as well as a first switch tube (Q3, Q2, Q I) and a second switch tube (Q4, Q5, Q6) that are independently controlled by the control unit (2), a first pin of the first switch tube (Q3, Q2, Q1) is connected to an output end of the control unit (2), a second pin of the first switch tube (Q3, Q2, Q1) is connected to a DC power supply, a third pin of the first switch tube (Q3, Q2, Q1) is connected to a third pin of the second switch tube (Q4, Q5, Q6), a first pin of the second switch tube (Q4, Q5, Q6) is connected to the output end of the control unit (2), a second pin of the second switch tube (Q4, Q5, Q6) is grounded, and the load connecting part (A, B, C) is arranged at the connecting part of the third pin of the first switch tube (Q3, Q2, Q1) and the third pin of the second switch tube (Q4, Q5, Q6).
  8. 8. The control method for the lamp according to claim 7, wherein the sequence for controlling the switch unit (3) to be turned on or turned off is as follows: the load connecting part (A) of the first set of switch circuit outputs high level, and the load connecting part (B) of the second set of switch circuit and the load connecting part (C) of the third set of switch circuit output low level, or the load connecting part (A) of the first set of switch circuit outputs low level, and the bad connecting part (B) of the second set of switch circuit and the load connecting part (C) of the third set of switch circuit output high level, or the load connecting part (A) of the first set of switch circuit and the load connecting part (B) of the second set of switch circuit output low level, and the load connecting part (C) of the third set of switch circuit outputs high level, or the load connecting part (A) of the first set of switch circuit and the load connecting part (B) of the second set of switch circuit output high level, and the load connecting part (C) of the third set of switch circuit outputs low level.
  9. 9. The control method for the lamp according to claim 1, wherein the control unit (2) is electrically connected to the switch unit (3), and the switch unit (3) comprises a first switch set, a second switch set and a control module (U1A) for controlling the first switch set and the second switch set to be turned on alternately, an output end of the control module (U1A) is electrically connected to the first switch set, and the output end of the control module (U1A) forms a second set of switch circuit after being electrically connected to the second switch set, and the switch unit (3) further comprises: a first toggle switch (Q31), which forms a first set of switch circuit after being electrically connected to the output end of the first switch set and the control unit (2) in respective; and a second toggle switch (Q32), which forms a third set of switch circuit after being electrically connected to the output end of the first switch set and the control unit (2) in respective.
  10. 10. The control method for the lamp according to claim 9, wherein the first switch set comprises a seventh triode (Q7) and an eighth triode (Q8), a base electrode of the seventh triode (Q7) is connected to an output end of the control module (U1A), an emitting electrode of the seventh triode (Q7) is grounded, a collecting electrode of the seventh triode (Q7) is respectively connected to a base electrode of the eighth triode (Q8) and an output end of the DC power supply (1), an emitting electrode of the eighth triode (Q8) is connected to the output end of the DC power supply ( I), and a collecting electrode of the eighth triode (Q8) is electrically connected to the first toggle switch (Q31) and the second toggle switch (Q32) in respective.
  11. 11. The control method for the lamp according to claim 9, wherein the second switch set comprises a ninth triode (Q9) and a tenth triode (Q10), a base electrode of the ninth triode (Q9) is connected to thc output end of thc control module (U1A), an emitting electrode of the ninth triode (Q9) is grounded, a collecting electrode of the ninth triode (Q9) is respectively connected to a base electrode of the tenth triode (Q10) and the output end of the DC power supply (1), an emitting electrode of the tenth triode (Q10) is connected to the output end of the DC power supply (1), and a collecting electrode of the tenth triode (Q10) is the output end of the second set of switch circuit.
  12. 12. The control method for the lamp according to claim 9, further comprising a power supply circuit which supplies power to the control unit (2), the output end of the first switch set is also connected to the power supply circuit, and the power supply circuit is electrically connected to the control unit (2).
  13. 13. The control method for the lamp according to claim 12, wherein the power supply circuit comprises an energy storage element (C6B), a rectifier (D30) and a thirtieth resistor (R30), one end of the energy storage element (G6B) is electrically connected to the output end of the first switch set, the other end of the energy storage element (C6B) is electrically connected to an anode end of the rectifier (D30), a cathode end of the rectifier (D30) is connected to one end of the thirtieth resistor (R30), and the other end of the thirtieth resistor (R30) is electrically connected to the first switch set.
  14. 14. A control method for a lamp, wherein a control unit (2) outputs a control signal enabling a lamp to work after power-on, if the control unit (2) receives a timing switching signal sent by a model selector, the control unit (2) switches an operation for outputting and timing the control signal according to the input of a mode selector, and when the timing is end, the control unit (2) stops outputting the control signal.
  15. 15. The control method for the lamp according to claim 14, wherein the mode selector is a key switch SW or a touch switch connected to the control unit (2), the basis that the control unit (2) judges the timing switching signal sent by the mode selector is as follows: the mode selector is pressed once, and the pressing time is less than or equal to first time set by the control unit (2), or the mode selector is pressed for several times within second time set by the control unit (2), or the time for continuously pressing the model selector is greater than or equal to third time set by the control unit (2).
GB2212400.2A 2022-07-12 2022-08-25 Control method for lamp Pending GB2620648A (en)

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 (2)

Publication Number Publication Date
GB202212400D0 GB202212400D0 (en) 2022-10-12
GB2620648A true GB2620648A (en) 2024-01-17

Family

ID=83931841

Family Applications (1)

Application Number Title Priority Date Filing Date
GB2212400.2A Pending GB2620648A (en) 2022-07-12 2022-08-25 Control method for lamp

Country Status (3)

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

Citations (6)

* 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
US20140153243A1 (en) * 2012-12-05 2014-06-05 Inliten, L.L.C. Ornamental light set
GB2528518A (en) * 2015-01-09 2016-01-27 Leisuregrow Products Ltd Improvements in and relating to electrical controllers
US10028360B1 (en) * 2016-02-12 2018-07-17 Willis Electric Co., Ltd. Selective control of decorative lighting with control option indication
US10683974B1 (en) * 2017-12-11 2020-06-16 Willis Electric Co., Ltd. Decorative lighting control
US20210262629A1 (en) * 2020-02-26 2021-08-26 Cosmo Lighting Inc. Lighting controller and method of switching light string between plurality of lighting modes, and light string assembly

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN205179451U (en) 2015-11-10 2016-04-20 常州市巨泰电子有限公司 Vertical drive power supply of lamps and lanterns
CN206620335U (en) 2017-03-01 2017-11-07 常州市巨泰电子有限公司 The controller of LED with remote control signal receiver
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
US11516901B1 (en) 2021-08-28 2022-11-29 Changzhou Jutai Electronic Co., Ltd. Lamp control apparatus with multiple input modes and power supply
CN215499645U (en) 2021-08-31 2022-01-11 宁波鑫合瑞电子有限公司 Touch control type lamp belt controller

Patent Citations (6)

* 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
US20140153243A1 (en) * 2012-12-05 2014-06-05 Inliten, L.L.C. Ornamental light set
GB2528518A (en) * 2015-01-09 2016-01-27 Leisuregrow Products Ltd Improvements in and relating to electrical controllers
US10028360B1 (en) * 2016-02-12 2018-07-17 Willis Electric Co., Ltd. Selective control of decorative lighting with control option indication
US10683974B1 (en) * 2017-12-11 2020-06-16 Willis Electric Co., Ltd. Decorative lighting control
US20210262629A1 (en) * 2020-02-26 2021-08-26 Cosmo Lighting Inc. Lighting controller and method of switching light string between plurality of lighting modes, and light string assembly

Also Published As

Publication number Publication date
CN116033629A (en) 2023-04-28
GB202212400D0 (en) 2022-10-12
DE102022122221A1 (en) 2024-01-18

Similar Documents

Publication Publication Date Title
CN113260112B (en) Passive wireless single-live wire control device and control method thereof
CN103369780A (en) Energy-saving lighting device and method thereof
CN103702480A (en) LED (Light-Emitting Diode) driving circuit and emitted light color changing method through LED driving circuit in combination with power switch
CN109769321A (en) A kind of LED lamp circuit with Delayed extinguishing function
GB2620648A (en) Control method for lamp
CN113141694A (en) Intelligent lamp and color cutting detection circuit and method thereof
CN102281689B (en) Built-in small-size wireless remote control light modulator
US11910506B2 (en) Lamp controller
US11785685B1 (en) Lamp controller
CN207070401U (en) A kind of induction type Width funtion LED lamp drive circuit
CN217406758U (en) Control circuit for gesture induction control of LED lamp
CN107135579B (en) A kind of Width funtion LED lamp drive circuit of tunable optical
CN112821888A (en) Switch control circuit and switch control device
US20240019113A1 (en) Lamp power adapter
CN2298618Y (en) Universal two-wire splendid type multifunction infrared remote-control multichannel wall switch
CN202364423U (en) Built-in minitype wireless remote control light modulator
CN209930573U (en) Switch regulation and control circuit and lighting switch equipment
CN211047330U (en) Multifunctional tactical flashlight drive control circuit
CN103929862A (en) LED power source, LED lamp and LED driving device
CN215991272U (en) LED output adjustment drive circuit and LED lamp
JP3850535B2 (en) Delay switch with status display function
KR200339774Y1 (en) Infrared type remote power-switching apparatus
CN217849727U (en) Solar energy wall lamp
CN2386578Y (en) Time-delay blackout energy saving switch
CN212344102U (en) LED lamp mixing of colors circuit