CN104113968B - Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch - Google Patents

Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch Download PDF

Info

Publication number
CN104113968B
CN104113968B CN201410330715.3A CN201410330715A CN104113968B CN 104113968 B CN104113968 B CN 104113968B CN 201410330715 A CN201410330715 A CN 201410330715A CN 104113968 B CN104113968 B CN 104113968B
Authority
CN
China
Prior art keywords
single line
brightness
unit
line switch
output
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.)
Expired - Fee Related
Application number
CN201410330715.3A
Other languages
Chinese (zh)
Other versions
CN104113968A (en
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.)
SZSAW ELECTRONIC Co Ltd
Original Assignee
SZSAW 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 SZSAW ELECTRONIC Co Ltd filed Critical SZSAW ELECTRONIC Co Ltd
Priority to CN201410330715.3A priority Critical patent/CN104113968B/en
Publication of CN104113968A publication Critical patent/CN104113968A/en
Application granted granted Critical
Publication of CN104113968B publication Critical patent/CN104113968B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method for realizing the lamp brightness adjustment by utilizing a single-line switch. The method comprises the following steps: outputting a drive signal to enable the lamp light to remain the previously-adjusted brightness or set values; judging whether the commercial power accessed by the single-line switch is subjected to half-wave pulse, and if not, repeating the step; if so, outputting a drive signal enabling the brightness of the light to change so as to enable the brightness of the light to change according to the set rules; meanwhile, judging whether the half-wave pulse still exists; if not, recording and maintaining the drive signal output currently and enabling the brightness of the light to be locked; and if so, continuing or repeating outputting the above changing drive signal. The invention also relates to a device and circuit for realizing the above method. The single-line switch is utilized in method, device and circuit for realizing lamp brightness adjustment, and the method, device and circuit have the following beneficial effects: the installation is relatively easy and convenient, the cost is relatively low, and the applicability is wide.

Description

Single line switch is used to realize the method for lamp brightness regulation, device and circuit
Technical field
The present invention relates to the brightness regulation of lamp, use single line switch to realize lamp brightness regulation more particularly, it relates to a kind of Method, device and circuit.
Background technology
Along with the continuous progress of LED technology, LED is more and more extensive in the use of lighting field.The advantage of LED is more traditional Bulb or electricity-saving lamp for there is longer life-span and less energy consumption.Meanwhile, the control of LED, particularly brightness or lamp The colour temperature regulation of light, has relatively simple feature especially.In the prior art, there is more technology for LED It is controlled or regulates so that it is meeting the demand that people are different.But these are all to require for control or the regulation of LED There is the two lines in electric main, i.e. phase line and zero line in one rosette simultaneously.Although this regulative mode achieve for The regulation of LED, but it is not particularly suited for the existing home environment that exists in a large number.Because it is in existing family, most Do not have two lines on switch, more there is no unnecessary output lead, generally, only one phase line.So, although in prior art Through achieving the regulation to LED, but its scope used receives bigger restriction, and it is the most high to realize cost, the most not Be suitable to a large amount of single line switches existed in family.This makes to use the LED that can regulate brightness to traditional photograph in the family When funerary objects tool is replaced, brings the inconvenience and difficulty installed, and add cost.
Summary of the invention
The technical problem to be solved in the present invention is, for the defect that the above-mentioned installation of prior art is inconvenient, relatively costly, There is provided a kind of easy for installation, cost is extremely low, can use single line switch realize the method for lamp brightness regulation, device and circuit.
The technical solution adopted for the present invention to solve the technical problems is: it is bright that structure one uses single line switch to realize light The method of degree regulation, comprises the steps:
Comprise the steps:
A) common single line switch connection, output drive signal makes light keep brightness or the value of setting of regulation last time;
B) judge whether the civil power entered by described single line switch half pulsation wave occurs, in this way, perform next step;No Then, this step is repeated;
C) output is according to that set rule change, to make the change brightness of described light driving signal so that described light Brightness is according to setting rule change;Simultaneously, it is judged that whether described half pulsation wave entered by described single line switch still suffers from, if not Exist, perform next step;As still suffered from, continue to put out or repeat to export above-mentioned driving signal, until after reaching the setting time Modulating signal is closed in output makes described lamp extinguish;
D) record and maintain the current driving signal exported, making the brightness of described light be locked.
Further, described step A) to step D) constitute a brightness regulation process;Adjust two adjacent brightness Joint circulation in, its step C) in lamplight brightness change in opposite direction.
Further, when described half pulsation wave is by turning off described single line switch, electric main is by being attempted by State the diode on two contacts that single line switches off and produce;The disappearance of described half pulsation wave is owing to described single line is opened Closing and connect the most again, electric main is directly entered full wave rectifying unit by two contacts of described single line switch connection, Described half pulsation wave is made to disappear.
Further, described step C) in, drive power-ourput device by the pwm signal of output different duty Control pole, regulate its conducting situation, it is achieved control connected lamp brightness.
Further, described step C) farther include following steps:
C1) current duty cycle numerical value deducted or plus the duty cycle adjustment step-length set, obtain subsequent time dutycycle Value also exports the pulse signal control pole to described power-ourput device of this dutyfactor value;
C2) judge whether described half pulsation wave continues, as no, perform step D);In this way, next step is performed:
C3) judge whether the dutycycle driving signal is the minimum duty cycle or maximum duty cycle set, in this way, by described The operation relation of current duty cycle and duty cycle adjustment step-length becomes subtracting or being become adding from subtracting from adding, and returns step C1);No Then, step C1 is directly returned).
The invention still further relates to a kind of device realizing said method, including:
Set brightness output unit: for when common single line switch connection, output drive signal makes light keep The brightness of secondary regulation or the value of setting;
Dimming state judging unit: for judging whether the civil power entered by described single line switch half pulsation wave occurs, as It is to call dimming unit;
Dimming unit: for output according to the driving signal of that set rule conversion, to make described light brightness flop, make Obtain the brightness of described light according to setting rule change;Simultaneously, it is judged that whether entered described half pulsation wave by described single line switch Still suffer from, if do not existed, call when front wheel driving maintenance unit;As still suffered from, continue to put out or repeat to export above-mentioned driving signal;
When front wheel driving maintenance unit: for the driving signal of the current output of record maintenance, make the brightness quilt of described light Locking.
Further, in two adjacent brightness regulation circulations, it is in opposite direction that its regulation lamplight brightness changes;Institute Stating half pulsation wave when being by turning off described single line switch, electric main touches by being attempted by two that described single line switches off Diode on point and produce;The disappearance of described half pulsation wave is owing to described single line switch is connected the most again, exchange Civil power is directly entered full wave rectifying unit by two contacts of described single line switch connection, makes described half pulsation wave disappear.
Further, described dimming unit farther includes:
Regulated quantity computing module: for current duty cycle numerical value being deducted or plus the duty cycle adjustment step-length set, To subsequent time dutyfactor value the pulse signal control pole to described power-ourput device that exports this dutyfactor value;
Dimming state judge module: be used for judging whether described half pulsation wave continues, as no, calls when front wheel driving remains single Unit;In this way, dutycycle condition judgment module is called;
Dutycycle condition judgment module: for judging to drive the dutycycle of signal to be whether the minimum duty cycle set or Big space rate, in this way, becomes subtracting or being become from subtracting from adding by the operation relation of described current duty cycle and duty cycle adjustment step-length Add, and call regulated quantity computing module;Otherwise, regulated quantity computing module is directly invoked.
The invention still further relates to a kind of circuit realizing said method, including detection and driving signal output unit, drive list Unit, rectification unit, power subsystem and half-wave generation unit;Wherein, the ac input end of described rectification unit is opened by single line Close be serially connected in the phase line of electric main, its DC output end is connected to described power subsystem, described power subsystem by described directly Stream voltage is supplied to described detection after voltage stabilizing, filtering and drives signal output unit and lamp as supply voltage;Described drive Moving cell accepts described detection and drives the driving signal of signal output unit output, and makes under the effect of described driving signal The supply voltage must being connected on described lamp forms electric current and flows through described lamp to form loop;The direct current output of described rectification unit End also with described detection and drive one of signal output unit detection port electrically connect, described detection and drive signal output list Unit is a microcontroller, and described detection port is an I/O port of described microcontroller;Described half-wave generation unit is one The individual diode being attempted by described single line switch contact, it makes described electric main pass through when described single line switches off Described diode is applied to the ac input end of described rectification unit;Described rectification unit is bridge rectifier;Described power supply The outfan of unit and rectification unit connects electrochemical capacitor.
Further, the direct current output plus terminal of described rectification unit is connected to described detection and driving by current-limiting resistance The test side of signal output unit, described test side is also by one and the resistance that connects and capacitance network ground connection.
The single line switch that uses implementing the present invention realizes the method for lamp brightness regulation, device and circuit, has following useful Effect: due on the switch contact that single line switchs and connect half-wave generation unit so that when above-mentioned single line switch is in conducting one When being disconnected after the section time, electric main is carried out afterflow so that electric main forms a half-wave and enters into test side, formed Half pulsation wave;And when single line switch connection, due to the existence of rectification unit, half pulsation wave on above-mentioned monitoring point disappears, become It it is a DC voltage;I.e. by judging that the waveform on test point just can determine whether that current state is in dimming or being complete Light modulation needs to maintain present intensity, and then takes corresponding action.This makes it possible to utilize the list being currently present in family in a large number Wiretap can be realized as being adjusted the brightness of lighting.Thus its installation is relatively simple, convenience, cost is relatively low.
Accompanying drawing explanation
Fig. 1 is that the present invention uses single line switch to realize light modulation side in the method for lamp brightness regulation, device and circuit embodiments The flow chart of method;
Fig. 2 is the structural representation of light modulating device in described embodiment;
Fig. 3 is the structured flowchart of described embodiment light adjusting circuit;
Fig. 4 is the electrical schematic diagram of light adjusting circuit in described embodiment.
Detailed description of the invention
Below in conjunction with accompanying drawing, embodiments of the present invention is further illustrated.
As it is shown in figure 1, the single line switch that uses in the present invention realizes the method for lamp brightness regulation, device and circuit embodiments In, its method using single line switch to realize lamp brightness regulation comprises the steps:
The driving signal that step S11 records after exporting that set or front Primary regulation so that lamp is luminous: at the present embodiment In, as a example by a common single line switch, illustrate to realize lamp (in the present embodiment, controlled lamp is LED string or LED) The method of brightness regulation.First, in this step, need to close this switch so that electric main can enter into rectification Cell mesh, so that lamp starts luminescence, and then is capable of being adjusted the brightness of lamp.In this step, when one During single line switch Guan Bi, electric main flows through rectification unit by the two of this switch contacts, and through the step such as over commutation, voltage stabilizing Obtaining supply voltage, this power supply is for detection and drives signal output unit to power so that it is starts output drive signal, and makes lamp Start luminescence.In the present embodiment, when first connection above-mentioned single line switch, (this device is new or did not carried out brightness tune Joint), the driving signal of output be one set driving signal, this driving signal make lamp send set brightness light, one From the point of view of as, what this set drives signal to make its lamp driven send the most weak brightness, and the dutycycle of its driving signal is also The minima allowed, such as, its dutycycle is 0.1.So, above-mentioned lamp will send the most weak light, it is simple to the regulation of subsequent step. Certainly, in some cases, it is also possible to be not such setting, such as, there is non-volatile memory device and this regulation When not being initial Primary regulation, can use when the first connection of above-mentioned single line switch and be stored in this non-volatile memory device In parameter, so, occur in this step drive signal be exactly last time regulation after stored driving signal in the device.
Whether step S12 there is half pulsation wave, in this way, it is judged that for entering dimming state, perform next step;Otherwise, sentence Break as not yet entering dimming state, repeat this step.Note that during performing or repeating this step, in previous step Driving signal exist always and will not change.In the present embodiment, this half pulsation wave refers to by turning off above-mentioned single line Half pulsation wave switched and formed.When above-mentioned single line switch makes lamp luminescence a period of time after the switch, when being turned off the most again, Due under the maintenance of the electrochemical capacitor being attempted by rectification unit outfan and the electrochemical capacitor being attempted by output end of pressure-stabilizing, electric Supply detection and the supply voltage of driving signal output unit in road are maintained within a certain period of time.During this period of time, Electric main forms half waveform by the diode being attempted by single line switches point, and by a part for rectification unit Output is to test point (referring to Fig. 4), and now due to the existence of supply voltage, detector unit also works normally.Now The waveform when waveform on test point and this single line switch connection is entirely different, half pulsation wave occurs.The appearance of half pulsation wave, table Bright user takes certain operation, it is desirable to enter dimming state.
Step S13 calculates subsequent time and drives signal dutyfactor, and exports this signal: in this step, according to set Rule changes driving signal so that the brightness of the light that lamp sends is according to certain rule change.In the present embodiment, above-mentioned setting Rule have two kinds, during it is alternatively used for twice adjacent regulation.A kind of is to make in current driving basis of signals The luminosity of lamp gradually brightens, and another is to make the brightness of lamp the most dimmed on the basis of current.No matter which is taked Kind, the step-length of its brightness flop determines that.Owing to there is driving signal in above-mentioned steps, the most just It is to change this driving signal according to the rule set, thus changes the brightness of lamp.With the driving signal of output in step above As a example by the driving signal of minimum duty cycle, illustrate to drive signal by the situation setting rule change in this step.If In step above, the dutycycle driving signal is minimum, such as, is 10%, shows that the driving signal major part of output is low electricity Flat, the most relatively small part is high level, and under the effect of this driving signal, lamp sends the light that it is the most weak, in this case, just Need to be gradually increased the brightness of lamp, be namely gradually increased the dutycycle driving signal, increase by 5% for example, it is possible to set every time, The step-length i.e. regulated is 5%, then the dutycycle driving signal of subsequent time output should be 10%+5%=15%, say, that under The dutycycle driving signal of one moment output is 15%.It is noted that owing to the length of regulation step-length can be set to very Carefully, thus in the present embodiment, can realize without section light modulation (due to regulate step-length minimizing, human eye can not substantially identify twice Difference between regulation, it appears that as the same without section light modulation.Meanwhile, flickering is also relevant to light modulating frequency, and frequency is the highest, Human eye more can not tell flickering).Additionally, in some cases, it is also possible to need not calculate on the spot, but enter in advance Row calculates, and the data storage that will obtain, and can directly recall these data by its output drive signal i.e. in this step Can.In yet some other cases, such as, having carried out a brightness regulation, the rule of its regulation is to be gradually increased brightness before, and And, user has determined that brightness and remembers.But, or the regulation of user dissatisfied last time regulated actually last time Overregulation, so, it is also possible to carry out regulation again, the step of regulation again is also similar, but, should Rule again, by by last increase brightness, changes into minimizing brightness.Although i.e. may the step-length or identical of regulation , but the direction of regulation is contrary, when being embodied in concrete step, it is simply that by the duty of above-mentioned existing driving signal Mode when ratio and regulation step-length superposition or computing changes into contrary, such as, original adding changes into subtracting or being subtracted by original Change into adding.Such setting allows for regulating the most accurately.
Whether step S14 half pulsation wave still suffers from, and if do not existed, performs step S17;As still suffered from, perform step S15; In this step, again judge whether above-mentioned half pulsation wave there is also, if this half pulsation wave does not exists, then be judged as on Stating single line switch to have turned on, user thinks that the luminosity of lamp is the most suitable, it is desirable to be able to keeps this parameter, then redirects To step S17;Otherwise, continue lamplight brightness is adjusted, perform step S15.
Whether step S15 is minimum or maximum when front wheel driving signal dutyfactor, in this way, is returning step after performing step S16 Rapid S13;Otherwise, step S13 is directly returned;In this step, need first to judge the regulation driving signal the most to top, It is adjusted to the brightest or the darkest.If the setting rule of current regulation is by secretly saving to high light by brightness, then need Judge whether to be adjusted to high-high brightness (dutycycle driving signal is maximum);If the setting rule of regulation is by bright Spend and saved to shadow by bright, then (dutycycle driving signal is minimum to need to judge currently to be adjusted to minimum brightness Value);Due in the present embodiment, the regulation of above-mentioned lamplight brightness is circulation, say, that if in a regulating cycle (driving the dutycycle of signal by currency or maximum vanishing or minima) user does not choose a brightness, works as lamp Light is adjusted to the high-high brightness that sets or minimum brightness and when not selecting, light will regulate in the opposite direction, such as, false If by bright dimmed regulation when starting, after being adjusted to minimum brightness, it will be converted to by the rule regulation secretly brightened.Regulation Step-length be constant, only the symbol of its step-length become contrary (mode that i.e. step-length superposes with present intensity changes, such as Become adding from subtracting), and change again according to aforementioned proportion, i.e. repeat above-mentioned change, it is simple to user selects.Additionally, in this enforcement In example, in some cases, this step can also only regulate, when it is adjusted to what this regulation direction can reach in a direction After maximum or minima, will no longer change regulation direction, but modulating signal will be closed in output, directly be turned off by lamp;Now, step S16 there would not be, but the signal turned off the light by an output replaces.
Step S16 changes regulation step-length and when the operation relation of front wheel driving signal: in this step, owing to driving signal Dutycycle be adjusted to allow maximum or minima, so, change regulation step-length with when front wheel driving Signal averaging Mode changes, such as, become adding from subtracting, or become subtracting from adding.
Step S17 record is worked as the dutycycle of front wheel driving signal and maintains: in this step, owing to half pulsation wave has disappeared Lose, it is judged that be again switched on for common single line switch, be therefore judged as user its brightness chosen the most chosen, to this end, In this step, the dutycycle of front wheel driving signal worked as in record, and during the connection that this single line switchs (i.e. this illumination), All the time maintain the driving signal of this parameter, i.e. keep or to lock the brightness chosen constant.
It is noted that above-mentioned steps completes the circulation of a regulation lamplight brightness.But in practical operation, can Energy Primary regulation can not reach the effect of User Satisfaction.In this case, it is overregulation most of the time.Example As, when feel light suitably and connect above-mentioned single line switch time, the regulation of one or more step-length may be had progressed to.Cause This, may also need to second time and regulate when practical operation, and as previously described, the direction of above-mentioned second time regulation is with for the first time The direction of regulation is contrary, and is overlaying relation (the namely change regulation step by changing regulation step-length and present intensity Long symbol) realize.
Additionally, in the present embodiment, owing to single line switch during regulation is off, the power supply in its device is to rely on to be deposited Large bulk capacitance after rectification unit and after voltage regulation unit maintains.When this power supply mode there will naturally be certain Between limit.So, in the present embodiment, the persistent period of said one regulation circulation not can exceed that above-mentioned time restriction.The most just It is to say, if regulation circulates in and exceedes the setting time (relying on holding time of electric capacity) and the most do not select (to connect above-mentioned list Wiretap) if, whole adjusting means will quit work, and lamp will be off.
It is noted that the light-dimming method related in the present embodiment can be used for mixing colours light.Adjusting During color, including two groups of light sources, the complementary power of two groups of light sources is invariable, and wherein the brightness of two groups of lamps uses the present embodiment In light-dimming method adjusted, their relation is complementary regulation, and keeps the input power of two groups of lamps constant.Example As, the brightness of first group of lamp is gradually increased, then the brightness of second group of lamp is gradually decreased, and keeps output and the tune of two groups of lamps Before joint identical.It is the dutycycle sum driving signal of two groups of lamps, when increasing the driving signal dutyfactor of one group of lamp, separately The driving signal dutyfactor of one group of lamp will be the most complementary.Such as, if the dutycycle of first group of lamp driving signal is before Tiao Jie 30%, then the driving signal dutyfactor of second group of lamp is exactly 70%, and sum of the two keeps 100% dutycycle automatically.Due to two groups of light sources Colour temperature different, so by such proportion adjustment, it is possible to obtain the lighting effects of different-colour, it is achieved that LED lamplight Toning control.
In the present embodiment, also include a kind of device realizing said method, as in figure 2 it is shown, this device includes the most light Spend output unit 1, dimming state judging unit 2, dimming unit 3 and work as front wheel driving maintenance unit 4.Wherein, brightness is set defeated Going out unit 1 for when common single line switch connection, output drive signal makes light keep brightness or the setting of regulation last time Value;Dimming state judging unit 2 is for judging whether to be occurred half pulsation wave by the civil power of described single line switch entrance, in this way, Call dimming unit 3;Driving that dimming unit 3 converts according to setting rule for output, that make the brightness flop of described light Signal so that the brightness of described light is according to setting rule change;Simultaneously, it is judged that entered described half-wave arteries and veins by described single line switch Move and whether still suffer from, if do not existed, call when front wheel driving maintenance unit 4;As still suffered from, continue to put out or repeat to export above-mentioned driving Dynamic signal;When front wheel driving maintenance unit 4 for record and maintains the current driving signal exported, the brightness of described light is made to be locked Fixed.In the present embodiment, in two adjacent brightness regulation circulations, it is in opposite direction that its regulation lamplight brightness changes;Described When half pulsation wave is by turning off described single line switch, electric main is by being attempted by two contacts that described single line switches off On diode and produce;The disappearance of described half pulsation wave is owing to described single line switch is connected the most again, exchanges city Electricity is directly entered full wave rectifying unit by two contacts of described single line switch connection, makes described half pulsation wave disappear.
Dimming unit 3 farther includes: regulated quantity computing module 31, dimming state judge module 32 and dutycycle state Judge module 33;Wherein, regulated quantity computing module 31 is for deducting current duty cycle numerical value or adjusting plus the dutycycle set Joint step-length, obtains subsequent time dutyfactor value and exports the pulse signal control to described power-ourput device of this dutyfactor value Pole;Dimming state judge module 32 is used for judging whether described half pulsation wave continues, and as no, calls when front wheel driving maintenance unit 4; In this way, dutycycle condition judgment module is called;Whether dutycycle condition judgment module 33 for judging to drive the dutycycle of signal For the minimum duty cycle set or maximum duty cycle, in this way, the computing of described current duty cycle with duty cycle adjustment step-length is closed It is to become subtracting or being become adding from subtracting from adding, and calls regulated quantity computing module 31;Otherwise, regulated quantity computing module is directly invoked 31。
It is noted that in the present embodiment, said units or module each mean and realize the soft of step in said method The set of part, it may exist on same physical support, it is also possible to not on same physical support.These unit or Module is different from unit during following description circuit or module, in the description to circuit, relates to each meaning of unit or module In esse hardware or the set of device in its circuit.
In the present embodiment, also include a kind of circuit for said method, as it is shown on figure 3, this circuit include detection and Drive signal output unit, driver element, rectification unit, power subsystem and half-wave generation unit;Wherein, the friendship of rectification unit Stream input is connected in the phase line of electric main by single line switch series, and its DC output end is connected to power subsystem, power supply list Described DC voltage is supplied to described detection after voltage stabilizing, filtering and drives signal output unit and lamp as power supply electricity by unit Pressure;Described driver element accepts described detection and drives the driving signal of signal output unit output, and at described driving signal Effect under make the supply voltage that is connected on described lamp form electric current to flow through described lamp to form loop;Described rectification unit DC output end also with described detection and drive one of signal output unit detection port to electrically connect, described detection and driving Signal output unit is a microcontroller, and described detection port is an I/O port of described microcontroller;Described half-wave produces Raw unit is the diode that a forward is attempted by described single line switch contact, and it makes institute when described single line switches off State electric main positive half-wave and be applied to the ac input end of described rectification unit;Described rectification unit is bridge rectifier;Institute The outfan connection stating power subsystem and rectification unit has electrochemical capacitor, and the capacity of these electrochemical capacitors is relatively big, disconnects single line For detecting and drive signal output unit and driver element to provide supply voltage in the setting time of switch.
Refer to a kind of circuit diagram implemented that Fig. 4, Fig. 4 are Fig. 3, in the diagram, the rectification unit (bridge-type in Fig. 4 Rectifying part) direct current output plus terminal be connected to detection by current-limiting resistance (R6 and R7 in Fig. 4) and drive signal output single The test side (7 feet of CPU1 in Fig. 4) of unit (CPU1 in Fig. 4), test side is also by one and the resistance that connects and capacitance network (figure C7 and R10 in 4) ground connection.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that, for those of ordinary skill in the art For, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. one kind uses the method that single line switch realizes lamplight brightness regulation, it is characterised in that comprise the steps:
A) common single line switch connection, output drive signal makes light keep brightness or the value of setting of regulation last time;
B) judge whether the civil power entered by described single line switch half pulsation wave occurs, in this way, perform next step;Otherwise, weight Duplicate step;
C) output is according to that set rule change, to make the change brightness of described light driving signal so that the brightness of described light According to setting rule change;Simultaneously, it is judged that whether described half pulsation wave entered by described single line switch still suffers from, if do not deposited , perform next step;As still suffered from, continue to put out or repeat to export above-mentioned driving signal, until defeated after reaching the setting time Going out to close modulating signal makes lamp extinguish;
D) record and maintain the current driving signal exported, making the brightness of described light be locked;
Wherein, described common single line switch the civil power entered is that power subsystem is powered by a rectification unit, described power supply Unit provides power supply for above-mentioned brightness regulation;Described step B) in, the DC output end at described rectification unit detects described half Pulsation wave.
The method that use single line the most according to claim 1 switch realizes lamplight brightness regulation, it is characterised in that described step Rapid A) to step D) constitute a brightness regulation process;In the circulation of two adjacent brightness regulation, its step C) in light bright It is in opposite direction that degree changes.
The method that use single line the most according to claim 2 switch realizes lamplight brightness regulation, it is characterised in that described half When pulsation wave is by turning off described single line switch, electric main is by being attempted by two contacts that described single line switches off Diode and produce;The disappearance of described half pulsation wave is owing to described single line switch is connected the most again, electric main It is directly entered full wave rectifying unit by two contacts of described single line switch connection, makes described half pulsation wave disappear.
The method that use single line the most according to claim 3 switch realizes lamplight brightness regulation, it is characterised in that described step Rapid C) in, driven the control pole of power-ourput device by the pwm signal of output different duty, regulate its conducting situation, real Now control connected lamp brightness.
The method that use single line the most according to claim 4 switch realizes lamplight brightness regulation, it is characterised in that described step Rapid C) farther include following steps:
C1) current duty cycle numerical value deducted or plus the duty cycle adjustment step-length set, obtain subsequent time dutyfactor value also Export the pulse signal control pole to described power-ourput device of this dutyfactor value;
C2) judge whether described half pulsation wave continues, as no, perform step D);In this way, next step is performed:
C3) judge that whether the dutycycle driving signal is the minimum duty cycle set or maximum duty cycle, in this way, by described currently The operation relation of dutycycle and duty cycle adjustment step-length becomes subtracting or being become adding from subtracting from adding, and returns step C1);Otherwise, directly Connect return step C1).
6. the device realizing method as claimed in claim 1, it is characterised in that including:
Set brightness output unit: for when common single line switch connection, output drive signal makes light keep adjusted last time The brightness of joint or the value of setting;
Dimming state judging unit: for judging whether the civil power entered by described single line switch half pulsation wave occurs, in this way, adjust Use dimming unit;
Dimming unit: for output according to the driving signal setting brightness flop that rule converts, that make described light so that institute State the brightness of light according to setting rule change;Simultaneously, it is judged that entered described half pulsation wave by described single line switch and the most still deposit , if do not existed, call when front wheel driving maintenance unit;As still suffered from, continue to put out or repeat to export above-mentioned driving signal;
When front wheel driving maintenance unit: for the driving signal of the current output of record maintenance, the brightness of described light is made to be locked;
Wherein, described common single line switch the civil power entered is that power subsystem is powered by a rectification unit, described power supply Unit provides power supply for above-mentioned brightness regulation;Described step B) in, the DC output end at described rectification unit detects described half Pulsation wave.
Device the most according to claim 6, it is characterised in that in two adjacent brightness regulation circulations, it regulates lamp It is in opposite direction that brightness changes;When described half pulsation wave is by turning off described single line switch, electric main is by being attempted by The diode on two contacts that described single line switches off and produce;The disappearance of described half pulsation wave is due to described single line Switch is connected the most again, and electric main is directly entered all wave rectification list by two contacts of described single line switch connection Unit, makes described half pulsation wave disappear.
Device the most according to claim 7, it is characterised in that described dimming unit farther includes:
Regulated quantity computing module: for current duty cycle numerical value being deducted or plus the duty cycle adjustment step-length set, under obtaining One moment dutyfactor value also exports the pulse signal control pole to power-ourput device of this dutyfactor value;
Dimming state judge module: be used for judging whether described half pulsation wave continues, as no, call when front wheel driving maintenance unit; In this way, dutycycle condition judgment module is called;
Dutycycle condition judgment module: for judging to drive the dutycycle of signal to be whether the minimum duty cycle set or maximum accounts for Empty ratio, in this way, becomes subtracting or being become adding from subtracting from adding by the operation relation of described current duty cycle and duty cycle adjustment step-length, and Call regulated quantity computing module;Otherwise, regulated quantity computing module is directly invoked.
9. the circuit for method as described in the appended claim 1, it is characterised in that include detection and drive signal output single Unit, driver element, rectification unit, power subsystem and half-wave generation unit;Wherein, the ac input end of described rectification unit leads to Crossing single line switch series to be connected in the phase line of electric main, its DC output end is connected to described power subsystem, described power subsystem The DC voltage of described DC output end is supplied to after voltage stabilizing, filtering described detection and drives signal output unit and lamp As supply voltage;Described driver element accepts described detection and drives the driving signal of signal output unit output, and in institute State and under the effect of driving signal, make the supply voltage formation electric current being connected on lamp flow through lamp to form loop;Described rectification list The DC output end of unit also with described detection and drive one of signal output unit detection port to electrically connect, described detection and driving Dynamic signal output unit is a microcontroller, and described detection port is an I/O port of described microcontroller;Described half-wave Generation unit is a diode being attempted by described single line switch contact, and it makes described when described single line switches off Electric main is applied to the ac input end of described rectification unit by described diode;Described rectification unit is bridge rectifier electricity Road;The outfan of described power subsystem and rectification unit connects electrochemical capacitor.
Circuit the most according to claim 9, it is characterised in that the direct current output plus terminal of described rectification unit passes through current limliting Resistance is connected to described detection and drives the test side of signal output unit, described test side also by one and the resistance that connects and Capacitance network ground connection.
CN201410330715.3A 2014-07-11 2014-07-11 Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch Expired - Fee Related CN104113968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410330715.3A CN104113968B (en) 2014-07-11 2014-07-11 Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410330715.3A CN104113968B (en) 2014-07-11 2014-07-11 Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch

Publications (2)

Publication Number Publication Date
CN104113968A CN104113968A (en) 2014-10-22
CN104113968B true CN104113968B (en) 2017-01-11

Family

ID=51710557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410330715.3A Expired - Fee Related CN104113968B (en) 2014-07-11 2014-07-11 Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch

Country Status (1)

Country Link
CN (1) CN104113968B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375705B (en) * 2015-07-21 2019-09-17 杭州海康威视数字技术股份有限公司 Prevent the mthods, systems and devices that thermal camera is restarted
CN108696968A (en) * 2018-07-12 2018-10-23 宁波升谱光电股份有限公司 A kind of light modulation/shading process for lamps and lanterns
CN111586947B (en) * 2020-06-03 2022-12-06 美智光电科技股份有限公司 Illumination control method and device, lamp and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742771A (en) * 2009-12-22 2010-06-16 海洋王照明科技股份有限公司 Portable type lamp, light dimming circuit and light dimming method
CN201733484U (en) * 2010-05-06 2011-02-02 东莞市翊晶光电科技有限公司 LED (light-emitting diode) spotlight capable of realizing mechanical type light adjustment
CN102802311A (en) * 2012-08-08 2012-11-28 英飞特电子(杭州)股份有限公司 Dimming method
CN101586756B (en) * 2008-05-21 2013-02-27 李鑫 LED projection lamp

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101586756B (en) * 2008-05-21 2013-02-27 李鑫 LED projection lamp
CN101742771A (en) * 2009-12-22 2010-06-16 海洋王照明科技股份有限公司 Portable type lamp, light dimming circuit and light dimming method
CN201733484U (en) * 2010-05-06 2011-02-02 东莞市翊晶光电科技有限公司 LED (light-emitting diode) spotlight capable of realizing mechanical type light adjustment
CN102802311A (en) * 2012-08-08 2012-11-28 英飞特电子(杭州)股份有限公司 Dimming method

Also Published As

Publication number Publication date
CN104113968A (en) 2014-10-22

Similar Documents

Publication Publication Date Title
US10159126B2 (en) LED based lighting application
CN104427688B (en) LED alternating-current drive circuit
CN102573214B (en) LED drive circuit and LED light device
AU2011310149B2 (en) LED illumination apparatus and LED illumination system
CN105144847B (en) The power-supply circuit of the flash frequency of conversion light emitting diode
CN203590555U (en) Light-adjustable LED lamp
CN107432065A (en) LED drive circuits, lighting device and driving method
CN106413189A (en) Intelligent control system and method using modulated signal and associated with TRIAC light modulator
CN203951654U (en) A kind of LED adjusting control circuit
CN109041348A (en) Adaptive circuit module, the LED drive circuit with controllable silicon dimmer and method
CN104113968B (en) Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch
US9439256B2 (en) Flicker-free lamp dimming-driver circuit for sequential LED bank control
CN102958240B (en) Light source device and dimming control circuit thereof
CN204906820U (en) Automatic constant current drive device and LED lamps and lanterns of balanced LED lamp cross luma degree
KR101414902B1 (en) AC LED driving circuit
CN104661408A (en) LED dimming circuit and LED lamp
CN209593811U (en) Adaptive circuit module, the LED drive circuit with controllable silicon dimmer
CN106102221A (en) A kind of LED light adjusting circuit
US9591710B1 (en) Kind of LED phase cut dimming power supply
CN107172763B (en) Switch toning control circuit, chip, method and switch toning LED drive system
CN205566739U (en) Linear dimming system based on microprocessor
CN106455205B (en) Dual-channel L ED driver and open-circuit protection method thereof
CN103957650B (en) LED power manages circuit
CN208540220U (en) LED drive circuit
CN204906819U (en) Linear constant current drive device and LED lamps and lanterns of balanced LED lamp cross luma degree

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170111

Termination date: 20190711

CF01 Termination of patent right due to non-payment of annual fee