CN104582208A - Illuminating circuit and illuminating circuit control method - Google Patents
Illuminating circuit and illuminating circuit control method Download PDFInfo
- Publication number
- CN104582208A CN104582208A CN201510082302.2A CN201510082302A CN104582208A CN 104582208 A CN104582208 A CN 104582208A CN 201510082302 A CN201510082302 A CN 201510082302A CN 104582208 A CN104582208 A CN 104582208A
- Authority
- CN
- China
- Prior art keywords
- circuit
- resistance
- illuminating lamp
- microprocessor
- current
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 239000003990 capacitor Substances 0.000 claims description 23
- 239000003381 stabilizer Substances 0.000 claims description 16
- 230000000087 stabilizing effect Effects 0.000 claims description 16
- 238000005070 sampling Methods 0.000 claims description 8
- 230000003068 static effect Effects 0.000 abstract description 2
- 230000011664 signaling Effects 0.000 abstract 1
- 230000005669 field effect Effects 0.000 description 25
- 101100190527 Arabidopsis thaliana PIN5 gene Proteins 0.000 description 8
- 101150011456 PIN8 gene Proteins 0.000 description 5
- 238000001914 filtration Methods 0.000 description 4
- 238000005286 illumination Methods 0.000 description 4
- 101100190530 Arabidopsis thaliana PIN8 gene Proteins 0.000 description 3
- 238000005265 energy consumption Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 101100190528 Arabidopsis thaliana PIN6 gene Proteins 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003292 diminished effect Effects 0.000 description 2
- 230000000638 stimulation Effects 0.000 description 2
- 101100190529 Arabidopsis thaliana PIN7 gene Proteins 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000005282 brightening Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses an illuminating circuit and an illuminating circuit control method. The illuminating circuit comprises a power supply circuit, an illuminating lamp, a current acquiring circuit, a micro processor and an output control circuit, wherein the current acquiring circuit is used for acquiring the value of current passing through the illuminating lamp in real time; the micro processor is used for receiving the value of the current which is acquired by the current acquiring circuit in real time and passes through the illuminating lamp, and adjusting a modulating signal input to an output control circuit so as to control the value of the current passing through the illuminating lamp to be the preset current value; the output control circuit is used for converting the modulating signal into a direct-current signal, and controlling the starting of the illuminating lamp. According to the illuminating circuit provided by the invention, the current value of the illuminating lamp is acquired in real time and fed back so as to control the constant current of the illuminating lamp; the current control is more accurate than that of a linear constant-current-source circuit; moreover, under the condition that the illuminating lamp is turned off, the whole circuit is at the non-electrified state, and the static power consumption is nearly zero.
Description
Technical field
The present invention relates to lighting field, particularly relate to a kind of lighting circuit and lighting circuit control method.
Background technology
LED illumination has been widely used in daily life, adopts LED illumination to have the advantages such as low energy consumption, long service life and environmental protection.
Existing car steering room lighting lamp also gradually by employing common bulb, changes to employing light-emitting diode (LED) lamp.Its control circuit generally adopts linear constant current source chip to carry out current constant control, but Linear CCS Current Control deviation and drift are comparatively large, and accuracy is not high.
In addition, the illumination of existing car steering indoor also needs to power all the time to linear constant current source chip, and quiescent dissipation is larger.
Summary of the invention
The object of this invention is to provide a kind of lighting circuit and lighting circuit control method, object is to solve the problem that linear constant current source chip current constant control accuracy is not high, quiescent dissipation is larger.
For solving the problems of the technologies described above, the invention provides a kind of lighting circuit, comprising power supply and illuminating lamp, described lighting circuit comprises:
Current collection circuit, microprocessor and output control circuit;
The input of described current collection circuit is connected with the output of described output control circuit, the output of described current collection circuit is connected with the collection signal input of described microprocessor, the input of described output control circuit is connected with described illuminating lamp, the control end of described output control circuit is connected with the pulse-modulated signal end of described microprocessor, and the power input of described microprocessor is connected with described power supply;
Described current collection circuit is used for the current value of Real-time Collection by described illuminating lamp, the current value by described illuminating lamp that described microprocessor obtains for receiving described current collection circuit Real-time Collection, adjustment inputs to the modulation signal of described output control circuit, to control by the current value of described illuminating lamp as pre-set current value; Described output control circuit is used for described modulation signal to be converted into direct current signal, controls the unlatching of described illuminating lamp.
Alternatively, described current collection circuit comprises:
Current sampling resistor and filter circuit, described current sampling resistor comprises the first resistance, described filter circuit comprises the second resistance and the second capacitor, described second resistance is in parallel with described second capacitor, one end of described second capacitor is connected with one end of described second resistance and the collection signal input of described microprocessor respectively, the other end ground connection of described second capacitor, the other end of described second resistance is connected with one end of described first resistance and the output of described output control circuit respectively, the other end ground connection of described first resistance.
Alternatively, described output control circuit comprises:
7th resistance, the first transistor, the 3rd resistance and the first capacitor, the control end of described the first transistor is connected with the pulse-modulated signal end of described microprocessor by described 7th resistance, the output of described the first transistor is connected with described first resistance, the input of described the first transistor is connected with described illuminating lamp by described 3rd resistance, and described first capacitor is connected in parallel on the two ends of described illuminating lamp.
Alternatively, also comprise:
First switch, the 5th resistance and voltage-stabiliser tube;
Described 5th resistance and described voltage-stabiliser tube composition voltage stabilizing circuit, for the voltage of microprocessor described in control inputs within the scope of normal power supply; One end of described 5th resistance is connected with described power supply by described first switch, and the other end of described 5th resistance is connected with the negative pole of described voltage-stabiliser tube and the power input of described microprocessor respectively, the plus earth of described voltage-stabiliser tube.
Alternatively, also comprise:
Latching circuit, described latching circuit comprises third transistor, the 6th resistance and transistor seconds;
The output of described third transistor is connected with the control end of described transistor seconds by described 6th resistance, the input end grounding of described third transistor, the control end of described third transistor is connected with the power output end of described microprocessor, described transistor seconds input is connected with described power supply, and the output of described transistor seconds is connected with the power input of described microprocessor by described 5th resistance.
Alternatively, also comprise:
Bleeder circuit, is connected with described first switch and described microprocessor, for dividing potential drop in parallel with described voltage stabilizing circuit;
Described bleeder circuit comprises: the 8th resistance and the 12 resistance, one end of described 8th resistance is connected with described power supply by described first switch, the other end is connected with one end of described 12 resistance, the other end ground connection of described 12 resistance, described 8th resistance is connected with the voltage division signal input of described microprocessor with the described common port of the 12 resistance.
Alternatively, also comprise:
Second diode, the positive pole of described second diode is connected with described first switch, negative pole is connected with the 5th resistance in described voltage stabilizing circuit, for when described first switch closes, controls electric current through described latching circuit and voltage stabilizing circuit to described microprocessor power supply.
Present invention also offers a kind of lighting circuit control method, comprising:
Real-time Collection is by the current value of illuminating lamp;
According to the modulation signal of the described illuminating lamp of described current value adjustment input, to control described current value for pre-set current value;
Described modulation signal is converted into direct current signal, controls the unlatching of described illuminating lamp.
Alternatively, also comprise:
When detecting that the first switch second time is pressed, bleeder circuit carries out dividing potential drop in parallel with voltage stabilizing circuit, to control to be reduced by the current value of described illuminating lamp;
When detecting that described first switch third time presses, microprocessor stops exporting modulation signal, closes to control described illuminating lamp;
Wherein, when described first switch first time presses, triggers microprocessor exports modulation signal, and open to control described illuminating lamp, described microprocessor is powered by latching circuit.
Alternatively, when described first switch first time presses, trigger described microprocessor and export modulation signal, comprise to control the unlatching of described illuminating lamp:
Described first switch first time, when pressing, described microprocessor exported the modulation signal of low duty ratio, opened to control described illuminating lamp.
Lighting circuit provided by the present invention, current collection circuit is utilized to carry out Real-time Collection to the current value by illuminating lamp, the current value that microprocessor obtains according to above-mentioned Real-time Collection, adjustment is input to the modulation signal of output control circuit, to control the current value of described illuminating lamp for pre-set current value.Visible, lighting circuit provided by the invention, by carrying out real-time collection to the current value of described illuminating lamp and feed back, can realize the current constant control to described illuminating lamp, and it is more accurate to control than Linear CCS circuital current.
Further, lighting circuit provided by the present invention is when illuminating lamp is closed, and whole circuit is all in cold state, and quiescent dissipation is almost nil.In addition, present invention also offers a kind of lighting circuit control method.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of embodiment of lighting circuit provided by the present invention;
Fig. 2 is the circuit diagram of the another kind of embodiment of lighting circuit provided by the present invention;
Fig. 3 is the flow chart of a kind of embodiment of lighting circuit control method provided by the present invention.
Embodiment
In order to make those skilled in the art person understand the present invention program better, below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, this lighting circuit comprises the structured flowchart of a kind of embodiment of lighting circuit provided by the present invention:
Power supply 100, current collection circuit 101, microprocessor 102, output control circuit 103 and illuminating lamp 104;
The input of described current collection circuit 101 is connected with the output of described output control circuit 103, the output of described current collection circuit 101 is connected with the collection signal input of described microprocessor 102, the input of described output control circuit 103 is connected with described illuminating lamp 104, the control end of described output control circuit 103 is connected with the pulse-modulated signal end of described microprocessor 102, and the power input of described microprocessor 102 is connected with described power supply 100;
Wherein, current collection circuit 101 is for the current value of Real-time Collection by described illuminating lamp, the current value by described illuminating lamp that microprocessor 102 obtains for receiving described current collection circuit Real-time Collection, adjustment inputs to the modulation signal of output control circuit, to control by the current value of described illuminating lamp as pre-set current value; Output control circuit 103, for described modulation signal is converted into direct current signal, controls the unlatching of described illuminating lamp.
Lighting circuit provided by the present invention, current collection circuit 101 is utilized to carry out Real-time Collection to the current value by illuminating lamp, the current value that microprocessor 102 obtains according to above-mentioned Real-time Collection, adjustment is input to the modulation signal of output control circuit, to control the current value of described illuminating lamp for pre-set current value.Visible, lighting circuit provided by the invention, by carrying out real-time collection to the current value of described illuminating lamp and feed back, can realize the current constant control to described illuminating lamp, and it is more accurate to control than Linear CCS circuital current.
In the lighting circuit that the present embodiment provides, current collection circuit 101 can specifically comprise:
Current sampling resistor and filter circuit, described current sampling resistor comprises the first resistance R1, described filter circuit comprises the second resistance R2 and the second capacitor C2, described second resistance R2 is in parallel with described second capacitor C2, one end of described second capacitor C2 is connected with described one end of second resistance R2 and the collection signal input of described microprocessor respectively, the other end ground connection of described second capacitor C2, the other end of described second resistance R2 is connected with described one end of first resistance R1 and the output of described output control circuit respectively, the other end ground connection of described first resistance R1.
Output control circuit can specifically comprise:
7th resistance R7, the first transistor Q1, the 3rd resistance R3 and the first capacitor C1, the control end of described the first transistor Q1 is connected with the pulse-modulated signal end of described microprocessor by described 7th resistance R7, the output of described the first transistor Q1 is connected with described first resistance R1, the input of described the first transistor Q1 is connected with described illuminating lamp by described 3rd resistance R3, and described first capacitor C1 is connected in parallel on the two ends of described illuminating lamp.
The lighting circuit that the embodiment of the present invention provides may further include: the first switch S 1, the 4th resistance R4, the 5th resistance R5 and voltage-stabiliser tube D3.
Wherein, the first switch S 1 is connected with described power supply 100, for controlling the Power supply of whole circuit;
Described 5th resistance R5 and described voltage-stabiliser tube D3 form voltage stabilizing circuit, for the voltage of control inputs microprocessor within the scope of normal power supply; One end of described 5th resistance R5 is connected with described power supply by described first switch S 1, the other end of described 5th resistance R5 is connected with the negative pole of described voltage-stabiliser tube D3 and the power input of described microprocessor respectively, the plus earth of described voltage-stabiliser tube D3.
As a kind of preferred implementation, can also comprise the 4th resistance in the present embodiment, described 4th resistance R4 and described first switch S 1 acting in conjunction, for preventing circuit erroneous action.
The lighting circuit that the embodiment of the present invention provides can further include: latching circuit, and described latching circuit comprises third transistor Q3, the 6th resistance R6 and transistor seconds Q2;
The output of described third transistor Q3 is connected with the control end of described transistor seconds Q2 by described 6th resistance R6, the input end grounding of described third transistor Q3, the control end of described third transistor Q3 is connected with the power output end of described microprocessor, described transistor seconds Q2 input is connected with described power supply 100, and the output of described transistor seconds Q2 is connected with the power input of described microprocessor 102 by the 5th resistance R5.
The lighting circuit that the embodiment of the present invention provides can further include: bleeder circuit, is connected, for dividing potential drop in parallel with described voltage stabilizing circuit with described first switch S 1 and described microprocessor 102;
Described bleeder circuit comprises: the 8th resistance R8 and the 12 resistance R12, one end of described 8th resistance R8 is connected with described power supply 100 by described first switch S 1, the other end is connected with one end of described 12 resistance R12, the other end ground connection of described 12 resistance R12, described 8th resistance R8 is connected with the voltage division signal input of described microprocessor 102 with the common port of described 12 resistance R12.
The lighting circuit that the embodiment of the present invention provides can further include: the second diode D2, the positive pole of described second diode D2 is connected with described first switch S 1, negative pole is connected with the 5th resistance R5 in described voltage stabilizing circuit, for when described first switch S 1 closes, control electric current and through described latching circuit and voltage stabilizing circuit, described microprocessor 102 is powered.
Figure 2 shows that the another kind of circuit diagram corresponding to embodiment of the present invention, in this specific embodiment, the first transistor Q1, transistor seconds Q2 and third transistor Q3 specifically can adopt field effect transistor, microprocessor 102 can be specially microprocessor U1, and illuminating lamp 104 can be specially LED1.
Wherein, the first transistor Q1 can be specially NMOS field effect transistor.The grid of the first field effect transistor Q1 is connected with the pulse-modulated signal end of described microprocessor by the 7th resistance R7, and source electrode is connected with the first resistance R1, drains to be connected with illuminating lamp 104 by the 3rd resistance R3.
Transistor seconds Q2 can be specially PMOS field effect transistor, and the 3rd field effect transistor Q3 can be specially NMOS tube.The drain electrode of the 3rd field effect transistor Q3 is connected with the grid of described transistor seconds Q2 by the 6th resistance R6, source ground, grid is connected with microprocessor 102, the source electrode of the second field effect transistor Q2 is connected with power supply 100, drains to be connected with the power input of microprocessor 102 by the 5th resistance R5.Further, in the present embodiment, lighting circuit provided by the present invention also comprises:
First diode D1, is connected with power supply 100, for ending when reverse power connection, protects this lighting circuit;
Tenth resistance R10, the 11 resistance R11, the 4th resistance R4, for filtering interfering, prevent circuit erroneous action.Wherein, tenth resistance R10 and the 11 resistance R11 is pull down resistor, one end ground connection of the tenth resistance R10, the other end is connected with the grid of the 3rd field effect transistor Q3, one end ground connection of the 11 resistance R11, the other end is connected with microprocessor 102, and the 4th resistance R4 is pull-up resistor, one end is connected with the negative pole of the first diode D1, and the other end is connected with the grid of the second field effect transistor Q2;
The two ends of the 3rd capacitor C3, the 3rd capacitor C3 are connected in parallel on the two ends of voltage-stabiliser tube D3, for the voltage of stable input microprocessor 102.
In an initial condition, the gate pole of the 3rd field effect transistor Q3 is low level, the gate pole of the second field effect transistor Q2 is high level, the gate pole of the first field effect transistor Q1 is low level, and the first field effect transistor Q1, the second field effect transistor Q2 and the 3rd field effect transistor Q3 are in closed condition, and the first switch S 1 is also in off-state, therefore whole circuit is in closed condition, microprocessor 102 power-off, illuminating lamp 104 is also in closed condition, and circuit static power consumption is zero.
When closed first switch S 1, power supply 100 is by the power circuit of the second diode D2, the 5th resistance R5 and voltage-stabiliser tube D3 composition, power to microprocessor 102, after microprocessor 102 powers on, its I/O port PIN5 is set to high level, make the gate pole of the 3rd field effect transistor Q3 become high level, the 3rd field effect transistor Q3 opens.Now by the 6th resistance R6, make the gate pole of the second field effect transistor Q2 become low level, the second field effect transistor Q2 opens.Microprocessor 102 is powered by the second field effect transistor Q2, the 5th resistance R5, voltage-stabiliser tube D3, and circuit enters self-locking state.5th resistance R5, voltage-stabiliser tube D3 form voltage stabilizing circuit, make output voltage stabilization in the supply district of microprocessor 102.Now disconnect the first switch S 1, microprocessor 102 is powered by self-locking.
After microprocessor 102 is powered by self-locking, by I/O port PIN8 output pulse width modulation signal (PWM waveform), by the 7th resistance R7, the first field effect transistor Q1 is opened, gathered the voltage U r1 on the first resistance R1 by the AD mouth PIN7 of described microprocessor 102 simultaneously, the current value (Ur1/R1) by this first resistance R1 is calculated by the potentiometer on the first resistance R1, then the duty ratio of pulse-width signal is adjusted, reach required current value, the electric current namely on illuminating lamp 104.First resistance R1 is current sampling resistor, and the filter circuit consisted of the second resistance R2, the second capacitor C2, becomes the voltage of PWM ripple into direct voltage, gather for AD.3rd resistance R3, the first capacitor C1 form filter circuit, make to become direct voltage by the PWM ripple on illuminating lamp 104.The two ends of the first capacitor C1 are connected in parallel on the two ends of illuminating lamp 104 simultaneously, form filter circuit with the 3rd resistance R3, and can by the interference high-voltage pulse on power supply 100 or electrostatic filtering, protection illuminating lamp.
When powering on, pulse-width signal can adopt low duty ratio to export, and prevents supply voltage too high, causes that electric current is excessive burns illuminating lamp, and the current value then by collecting adjusts duty ratio gradually, reaches normalized current.When this process can realize turning on light, illuminating lamp is by secretly to bright progressive formation, reduces the stimulation to eyes.
When after illumination lamp ignition, disconnect the first switch, circuit power realizes self-locking.Now due to the buffer action of the second diode D2, the voltage at the 8th resistance R8 two ends is zero.Now press the first switch again, power supply 100 is input to the I/O port PIN6 of microprocessor 102 by the 8th resistance R8.Supply voltage drops in the input range of microprocessor 102 by the bleeder circuit that the 8th resistance R8 and the 12 resistance R12 forms, and the 12 resistance R12 is as pull down resistor, can interference on filtering I/O port, prevents circuit erroneous action.
After microprocessor 102 receives the first switch second time instruction of pressing, the duty ratio of the pulse-width signal exported by PIN8 reduces, and control to be diminished by the electric current of illuminating lamp 104 by current control circuit, make illuminating lamp dimmed, realize switching the brightness of this illuminating lamp.When judging that third time presses the first switch, after microprocessor 102 receives signal, the output of PIN8 closed, illuminating lamp is closed.Then PIN5 output low level, close the 3rd field effect transistor Q3, now the second field effect transistor Q2 closes thereupon, microprocessor 102 power-off, and remove self-locking, whole circuit enters closed condition.
In a specific embodiment, first switch S 1 can adopt the form of intelligent switch touch key-press, when microprocessor 102 detects that the first switch S 1 first time pressed, the value setting the attribute mark S of this first switch S 1 is 1, when microprocessor 102 detects that the first switch is pressed and the value of its attribute mark S is 1, judge that button is as pressing for the second time, and its attribute mark S is set as 2.Microprocessor 102 detects this button afterwards, if there is button to press, and when the value of described attribute mark S is 2, judges that button is as pressing for the third time.
Embodiment of the present invention utilizes microprocessor that the current value by illuminating lamp is carried out to real-time collection and feeds back, and can realize the current constant control to illuminating lamp, and it is more accurate to control than Linear CCS circuital current.In addition, can realize switching the light and shade of illuminating lamp by arranging bleeder circuit, realizing multiple light modulation.
In each embodiment above-mentioned, the concrete optional magnitude of voltage of power supply 100 is the power supply V1 of 12V, and illuminating lamp 104 can select white led lamps, and LED has life-span long, low in energy consumption and efficiency high.
First switch S 1 can adopt ship type switch or push-button switch.Preferably, the first switch S 1 also can adopt touch key-press as switch, compared with traditional switch, the handling of described touch key-press and sense of touch good.
Embodiment of the present invention have employed a touch key-press, by isolation and from lock technology, realizes unlatching and the keypress function of power supply.Described microprocessor is carried out real-time collection by the current value of described illuminating lamp and is fed back, and can realize the current constant control to described illuminating lamp, and it is more accurate to control than Linear CCS circuital current.Described microprocessor by changing electric current, can also realize the slow unlatching to described illuminating lamp and light and shade switching, realizing multiple light modulation.
Further, owing to have employed switching technique, the efficiency of whole circuit comparatively adopts the circuit efficiency of constant-current source chip high a lot, because constant-current source chip adopts adjustment in constant current process, self pressure drop reaches constant current object, himself consumes most of power consumption.Adopt 12V to power, LED rated current 100mA, LED be pressure drop 3V now, then total power consumption is 1.2W, LED power consumption is 0.3W, and constant-current source chip power-consumption is 0.9W, and delivery efficiency is 25%.Adopt 12V to power in embodiment of the present invention, LED power consumption is 0.3W, and when sampling resistor is 1 Europe, power consumption is 0.01W, and metal-oxide-semiconductor loss evaluation is about 0.03W, then delivery efficiency is 88.2%.Because constant-current source chip power-consumption is comparatively large, so need large-area fin, the power consumption of embodiment of the present invention is extremely low, can adopt very little area of dissipation.Due to low in energy consumption, whole circuit operating temperature is low, and device lifetime increases greatly, and reliability, stability are strong.
As shown in Figure 3, present invention also offers a kind of lighting circuit control method, a kind of embodiment of the method specifically comprises:
Step S100: Real-time Collection is by the current value of illuminating lamp;
Step S101: according to the modulation signal of the described illuminating lamp of described current value adjustment input, to control described current value for pre-set current value;
Step S102: described modulation signal is converted into direct current signal, controls the unlatching of described illuminating lamp.
In the present embodiment, the method can specifically comprise:
When the first switch first time pressed, triggers microprocessor exports modulation signal, and open to control described illuminating lamp, described microprocessor is powered by latching circuit;
When detecting that the first switch second time is pressed, bleeder circuit carries out dividing potential drop in parallel with voltage stabilizing circuit, to control to be reduced by the current value of described illuminating lamp;
When detecting that described first switch third time presses, microprocessor stops exporting modulation signal, closes to control described illuminating lamp.
Particularly, when the first switch first time pressed, illuminating lamp 104 is lighted, and disconnect button, this lighting circuit realizes self-locking.Now due to the buffer action of the second diode D2, the voltage at the 8th resistance R8 two ends is zero.When judging that second time presses the first switch, power supply 100 is input to the I/O port PIN6 of microprocessor 102 by the 8th resistance R8.Supply voltage drops in the input range of microprocessor 102 by the bleeder circuit that the 8th resistance R8 and the 12 resistance R12 forms, and the 12 resistance R12 is as pull down resistor, can interference on filtering I/O port, prevents circuit erroneous action.Now, the duty ratio of the pulse-width signal exported by PIN8 reduces, and controls to be diminished by the electric current of illuminating lamp 104 by current control circuit, makes illuminating lamp dimmed, realizes switching the brightness of this illuminating lamp.When detecting that described first switch third time presses, after microprocessor 102 receives signal, the output of PIN8 closed, illuminating lamp is closed.Then PIN5 output low level, close the 3rd field effect transistor Q3, now the second field effect transistor Q2 closes thereupon, microprocessor 102 power-off, and remove self-locking, whole circuit enters closed condition.
As a kind of preferred implementation, when the first switch first time pressed, described microprocessor exports the modulation signal of low duty ratio, opens to control described illuminating lamp.By first exporting with low duty ratio when powering on, supply voltage can be prevented too high, cause electric current excessive, illuminating lamp is burnt.Then gradually to adjusting duty ratio greatly, finally normalized current is reached.The brightening process of this process implementation illuminating lamp, makes user when turning on light, and has the procedure of adaptation from dark to bright, reduces the stimulation to eyes.
Same or similar in other parts of the lighting circuit control method provided in the present embodiment and above-mentioned lighting circuit, do not repeat them here.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
1. a lighting circuit, comprises power supply and illuminating lamp, it is characterized in that, described lighting circuit comprises:
Current collection circuit, microprocessor and output control circuit;
The input of described current collection circuit is connected with the output of described output control circuit, the output of described current collection circuit is connected with the collection signal input of described microprocessor, the input of described output control circuit is connected with described illuminating lamp, the control end of described output control circuit is connected with the pulse-modulated signal end of described microprocessor, and the power input of described microprocessor is connected with described power supply;
Described current collection circuit is used for the current value of Real-time Collection by described illuminating lamp, the current value by described illuminating lamp that described microprocessor obtains for receiving described current collection circuit Real-time Collection, adjustment inputs to the modulation signal of described output control circuit, to control by the current value of described illuminating lamp as pre-set current value; Described output control circuit is used for described modulation signal to be converted into direct current signal, controls the unlatching of described illuminating lamp.
2. lighting circuit as claimed in claim 1, it is characterized in that, described current collection circuit comprises:
Current sampling resistor and filter circuit, described current sampling resistor comprises the first resistance, described filter circuit comprises the second resistance and the second capacitor, described second resistance is in parallel with described second capacitor, one end of described second capacitor is connected with one end of described second resistance and the collection signal input of described microprocessor respectively, the other end ground connection of described second capacitor, the other end of described second resistance is connected with one end of described first resistance and the output of described output control circuit respectively, the other end ground connection of described first resistance.
3. lighting circuit as claimed in claim 2, it is characterized in that, described output control circuit comprises:
7th resistance, the first transistor, the 3rd resistance and the first capacitor, the control end of described the first transistor is connected with the pulse-modulated signal end of described microprocessor by described 7th resistance, the output of described the first transistor is connected with described first resistance, the input of described the first transistor is connected with described illuminating lamp by described 3rd resistance, and described first capacitor is connected in parallel on the two ends of described illuminating lamp.
4. lighting circuit as claimed in claim 3, is characterized in that, also comprise:
First switch, the 5th resistance and voltage-stabiliser tube;
Described 5th resistance and described voltage-stabiliser tube composition voltage stabilizing circuit, for the voltage of microprocessor described in control inputs within the scope of normal power supply; One end of described 5th resistance is connected with described power supply by described first switch, and the other end of described 5th resistance is connected with the negative pole of described voltage-stabiliser tube and the power input of described microprocessor respectively, the plus earth of described voltage-stabiliser tube.
5. lighting circuit as claimed in claim 4, is characterized in that, also comprise:
Latching circuit, described latching circuit comprises third transistor, the 6th resistance and transistor seconds;
The output of described third transistor is connected with the control end of described transistor seconds by described 6th resistance, the input end grounding of described third transistor, the control end of described third transistor is connected with the power output end of described microprocessor, described transistor seconds input is connected with described power supply, and the output of described transistor seconds is connected with the power input of described microprocessor by described 5th resistance.
6. lighting circuit as claimed in claim 5, is characterized in that, also comprise:
Bleeder circuit, is connected with described first switch and described microprocessor, for dividing potential drop in parallel with described voltage stabilizing circuit;
Described bleeder circuit comprises: the 8th resistance and the 12 resistance, one end of described 8th resistance is connected with described power supply by described first switch, the other end is connected with one end of described 12 resistance, the other end ground connection of described 12 resistance, described 8th resistance is connected with the voltage division signal input of described microprocessor with the described common port of the 12 resistance.
7. lighting circuit as claimed in claim 6, is characterized in that, also comprise:
Second diode, the positive pole of described second diode is connected with described first switch, negative pole is connected with the 5th resistance in described voltage stabilizing circuit, for when described first switch closes, controls electric current through described latching circuit and voltage stabilizing circuit to described microprocessor power supply.
8. a lighting circuit control method, is characterized in that, comprising:
Real-time Collection is by the current value of illuminating lamp;
According to the modulation signal of the described illuminating lamp of described current value adjustment input, to control described current value for pre-set current value;
Described modulation signal is converted into direct current signal, controls the unlatching of described illuminating lamp.
9. lighting circuit control method as claimed in claim 8, is characterized in that, also comprise:
When detecting that the first switch second time is pressed, bleeder circuit carries out dividing potential drop in parallel with voltage stabilizing circuit, to control to be reduced by the current value of described illuminating lamp;
When detecting that described first switch third time presses, microprocessor stops exporting modulation signal, closes to control described illuminating lamp;
Wherein, when described first switch first time presses, triggers microprocessor exports modulation signal, and open to control described illuminating lamp, described microprocessor is powered by latching circuit.
10. lighting circuit control method as claimed in claim 9, is characterized in that, when described first switch first time presses, triggers described microprocessor and exports modulation signal, comprises to control the unlatching of described illuminating lamp:
Described first switch first time, when pressing, described microprocessor exported the modulation signal of low duty ratio, opened to control described illuminating lamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510082302.2A CN104582208B (en) | 2015-02-15 | 2015-02-15 | Illuminating circuit and illuminating circuit control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510082302.2A CN104582208B (en) | 2015-02-15 | 2015-02-15 | Illuminating circuit and illuminating circuit control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104582208A true CN104582208A (en) | 2015-04-29 |
CN104582208B CN104582208B (en) | 2017-03-22 |
Family
ID=53097120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510082302.2A Active CN104582208B (en) | 2015-02-15 | 2015-02-15 | Illuminating circuit and illuminating circuit control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104582208B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109121251A (en) * | 2018-09-21 | 2019-01-01 | 港基创意模型设计(深圳)有限公司 | Buildings model lamp light control system |
WO2020147863A1 (en) * | 2019-01-14 | 2020-07-23 | 深圳Tcl新技术有限公司 | Backlight bar, display screen and television set |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0142063A1 (en) * | 1983-10-19 | 1985-05-22 | Hitachi Lighting, Ltd. | Lighting apparatus for an electric discharge lamp |
CN201571033U (en) * | 2009-12-25 | 2010-09-01 | 中国电子科技集团公司第四十研究所 | Solid state power controller |
US20100270949A1 (en) * | 2009-04-24 | 2010-10-28 | Naoki Onishi | Electronic ballast with input voltage fault control |
CN102469655A (en) * | 2010-11-11 | 2012-05-23 | 海洋王照明科技股份有限公司 | Light-emitting diode (LED) driving circuit |
CN102711309A (en) * | 2011-03-28 | 2012-10-03 | 海洋王照明科技股份有限公司 | LED (Light Emitting Diode) driving circuit and lamp |
CN103458554A (en) * | 2012-05-30 | 2013-12-18 | 海洋王照明科技股份有限公司 | LED drive circuit and LED lamp |
-
2015
- 2015-02-15 CN CN201510082302.2A patent/CN104582208B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0142063A1 (en) * | 1983-10-19 | 1985-05-22 | Hitachi Lighting, Ltd. | Lighting apparatus for an electric discharge lamp |
US20100270949A1 (en) * | 2009-04-24 | 2010-10-28 | Naoki Onishi | Electronic ballast with input voltage fault control |
CN201571033U (en) * | 2009-12-25 | 2010-09-01 | 中国电子科技集团公司第四十研究所 | Solid state power controller |
CN102469655A (en) * | 2010-11-11 | 2012-05-23 | 海洋王照明科技股份有限公司 | Light-emitting diode (LED) driving circuit |
CN102711309A (en) * | 2011-03-28 | 2012-10-03 | 海洋王照明科技股份有限公司 | LED (Light Emitting Diode) driving circuit and lamp |
CN103458554A (en) * | 2012-05-30 | 2013-12-18 | 海洋王照明科技股份有限公司 | LED drive circuit and LED lamp |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109121251A (en) * | 2018-09-21 | 2019-01-01 | 港基创意模型设计(深圳)有限公司 | Buildings model lamp light control system |
WO2020147863A1 (en) * | 2019-01-14 | 2020-07-23 | 深圳Tcl新技术有限公司 | Backlight bar, display screen and television set |
Also Published As
Publication number | Publication date |
---|---|
CN104582208B (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9307604B2 (en) | Dimmable LED lamp and dimming method | |
CN201967212U (en) | Touch dimming LED (light-emitting diode) reading lamp | |
CN104125686A (en) | Safe-isolated and full-color LED lamp circuit and dimming method | |
WO2015161379A1 (en) | Dimmable led light | |
CN205160868U (en) | Led circuit and led lamp | |
CN203167332U (en) | Visual self-adaptive light adjustable energy-saving LED lamp | |
CN203279256U (en) | Light-adjustable LED constant current source drive circuit | |
CN104780694A (en) | LED touch dimming constant current drive power source | |
CN104582208A (en) | Illuminating circuit and illuminating circuit control method | |
CN104427692B (en) | A kind of photocontrol automatic switching circuit and lamps and lanterns | |
CN104869686A (en) | Driving circuit and illuminating device comprising same | |
CN104470134A (en) | Method and device for controlling LED lamp color temperature changing | |
CN204859686U (en) | LED lamp with adjustable luminance | |
CN207720481U (en) | A kind of toggle switch control power power-supply | |
CN203279292U (en) | Double-loop current-limiting drive circuit | |
CN202385369U (en) | Light-operated desk lamp | |
CN204598440U (en) | Novel index light adjusting circuit | |
CN201967198U (en) | LED lamp driving power circuit | |
CN201491325U (en) | LED lamp constant current light modulating device | |
CN204598401U (en) | A kind of LED touch dimmer power supply | |
CN203984734U (en) | A kind of safety isolation full-color LED lamp circuit | |
CN109640448B (en) | Constant current feedback control circuit | |
CN209767864U (en) | Constant current feedback control circuit | |
CN102869156A (en) | Method for setting brightness of LED lamp by using on-off coding of power switch | |
CN210781470U (en) | Breathing lamp control circuit and breathing lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020 Patentee after: Beijing Jingwei Hirain Technologies Co.,Inc. Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101 Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd. |
|
CP03 | Change of name, title or address |