CN104582208B - Illuminating circuit and illuminating circuit control method - Google Patents

Illuminating circuit and illuminating circuit control method Download PDF

Info

Publication number
CN104582208B
CN104582208B CN201510082302.2A CN201510082302A CN104582208B CN 104582208 B CN104582208 B CN 104582208B CN 201510082302 A CN201510082302 A CN 201510082302A CN 104582208 B CN104582208 B CN 104582208B
Authority
CN
China
Prior art keywords
circuit
resistance
microprocessor
illuminating lamp
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.)
Active
Application number
CN201510082302.2A
Other languages
Chinese (zh)
Other versions
CN104582208A (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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech 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 Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201510082302.2A priority Critical patent/CN104582208B/en
Publication of CN104582208A publication Critical patent/CN104582208A/en
Application granted granted Critical
Publication of CN104582208B publication Critical patent/CN104582208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

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

A kind of lighting circuit and lighting circuit control method
Technical field
The present invention relates to lighting field, more particularly to a kind of lighting circuit and lighting circuit control method.
Background technology
LED illumination has been widely used in daily life, has low energy consumption, service life using LED illumination The advantages such as long and environmental protection.
Existing car steering room lighting lamp also gradually by adopting common bulb, to being turned using light emitting diode (LED) lamp Become.Its control circuit typically carries out current constant control, but Linear CCS current control deviation and drift using linear constant current source chip Move larger, accuracy is not high.
In addition, the illumination in existing car steering room also needs to power linear constant current source chip all the time, quiescent dissipation compared with Greatly.
The content of the invention
It is an object of the invention to provide a kind of lighting circuit and lighting circuit control method, it is therefore intended that solve linear permanent Stream source chip current constant control accuracy is not high, the problem that quiescent dissipation is larger.
For solving above-mentioned technical problem, the present invention provides a kind of lighting circuit, including power supply and illuminating lamp, the photograph Bright circuit includes:
Current collection circuit, microprocessor and output control circuit;
The input of the current collection circuit is connected with the outfan of the output control circuit, the current acquisition The outfan of circuit is connected with the collection signal input part of the microprocessor, the input of the output control circuit and institute State illuminating lamp to be connected, the control end of the output control circuit is connected with the pulse-modulated signal end of the microprocessor, The power input of the microprocessor is connected with the power supply;
The current collection circuit is used for current value of the Real-time Collection by the illuminating lamp, and the microprocessor is used for connecing The current value by the illuminating lamp that the current collection circuit Real-time Collection is obtained is received, adjustment input is to the output control The modulated signal of circuit, to control by the current value of the illuminating lamp as pre-set current value;The output control circuit is used for The modulated signal is converted into into direct current signal, the unlatching of the illuminating lamp is controlled.
Alternatively, the current collection circuit includes:
Current sampling resistor and filter circuit, the current sampling resistor include first resistor, the filter circuit bag Second resistance and the second capacitor is included, the second resistance is in parallel with second capacitor, the one of second capacitor End is connected with one end of the second resistance and the collection signal input part of the microprocessor respectively, second capacitor The other end is grounded, and the other end of the second resistance is defeated with one end of the first resistor and the output control circuit respectively Go out end to be connected, the other end ground connection of the first resistor.
Alternatively, the output control circuit includes:
7th resistance, the first transistor, 3rd resistor and the first capacitor, the control end of the first transistor pass through 7th resistance is connected with the pulse-modulated signal end of the microprocessor, the outfan of the first transistor with it is described First resistor is connected, and the input of the first transistor is connected with the illuminating lamp by the 3rd resistor, and described first Capacitor is connected in parallel on the two ends of the illuminating lamp.
Alternatively, also include:
First switch, the 5th resistance and stabilivolt;
5th resistance and stabilivolt composition mu balanced circuit, the voltage for microprocessor described in control input exist In the range of normal power supply;One end of 5th resistance is connected with the power supply by the first switch, and described The other end of five resistance is connected with the power input of the negative pole and the microprocessor of the stabilivolt respectively, described steady The plus earth of pressure pipe.
Alternatively, also include:
Latching circuit, the latching circuit include third transistor, the 6th resistance and transistor seconds;
The outfan of the third transistor is connected with the control end of the transistor seconds by the 6th resistance, The input end grounding of the third transistor, the power output end phase of the control end of the third transistor and the microprocessor Connection, the transistor seconds input is connected with the power supply, and the outfan of the transistor seconds passes through described the Five resistance are connected with the power input of the microprocessor.
Alternatively, also include:
Bleeder circuit, is connected with the first switch and the microprocessor, in parallel with the mu balanced circuit point Pressure;
The bleeder circuit includes:8th resistance and the 12nd resistance, one end of the 8th resistance is by described the One switch be connected with the power supply, the other end is connected with one end of the 12nd resistance, the 12nd resistance it is another One end is grounded, the voltage division signal input phase of common port of the 8th resistance with the 12nd resistance and the microprocessor Even.
Alternatively, also include:
Second diode, the positive pole of second diode are connected with the first switch, negative pole and the mu balanced circuit In the 5th resistance be connected, for when the first switch close, latching circuit described in control electric current Jing and mu balanced circuit pair The microprocessor power supply.
Present invention also offers a kind of lighting circuit control method, including:
Current value of the Real-time Collection by illuminating lamp;
The modulated signal of the input illuminating lamp is adjusted according to the current value, the current value is controlled as predetermined current Value;
The modulated signal is converted into into direct current signal, the unlatching of the illuminating lamp is controlled.
Alternatively, also include:
When detecting first switch and pressing for the second time, bleeder circuit carries out partial pressure in parallel with mu balanced circuit, to control to lead to The current value for crossing the illuminating lamp reduces;
When detecting first switch third time and pressing, microprocessor stops output modulated signal, described to control Illuminating lamp is closed;
Wherein, when the first switch is pressed for the first time, triggering microprocessor output modulated signal, to control the illumination Lamp is opened, and the microprocessor is powered by latching circuit.
Alternatively, when the first switch is pressed for the first time, trigger the microprocessor and export modulated signal, to control Stating illuminating lamp and opening includes:
When the first switch is pressed for the first time, the microprocessor exports the modulated signal of low duty ratio, to control State illuminating lamp unlatching.
Lighting circuit provided by the present invention, using current collection circuit to having been carried out in real time by the current value of illuminating lamp Collection, the current value that microprocessor is obtained according to above-mentioned Real-time Collection, adjustment are input to the modulated signal of output control circuit, with The current value for controlling the illuminating lamp is pre-set current value.It can be seen that, the lighting circuit that the present invention is provided is by the illuminating lamp Current value gathered in real time and fed back, the current constant control to the illuminating lamp can be realized, than linear constant current source circuit Current control is more accurate.
Further, in the case of illuminating lamp closing, whole circuit is in not lighting circuit provided by the present invention The state of energization, quiescent dissipation are almost nil.In addition, a kind of present invention also offers lighting circuit control method.
Description of the drawings
Fig. 1 is a kind of structured flowchart of specific embodiment of lighting circuit provided by the present invention;
Fig. 2 is the circuit diagram of another kind of specific embodiment of lighting circuit provided by the present invention;
Fig. 3 is a kind of flow chart of specific embodiment of lighting circuit control method provided by the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
A kind of structured flowchart of specific embodiment of lighting circuit provided by the present invention is as shown in figure 1, the power for illumination Road includes:
Power supply 100, current collection circuit 101, microprocessor 102, output control circuit 103 and illuminating lamp 104、;
The input of the current collection circuit 101 is connected with the outfan of the output control circuit 103, the electricity The outfan of stream Acquisition Circuit 101 is connected with the collection signal input part of the microprocessor 102, the output control circuit 103 input is connected with the illuminating lamp 104, the control end of the output control circuit 103 and the microprocessor 102 Pulse-modulated signal end be connected, the power input of the microprocessor 102 is connected with the power supply 100;
Wherein, current collection circuit 101 is used for current value of the Real-time Collection by the illuminating lamp, and microprocessor 102 is used In the current value by the illuminating lamp that the current collection circuit Real-time Collection is obtained is received, adjustment input is to output control The modulated signal of circuit, to control by the current value of the illuminating lamp as pre-set current value;Output control circuit 103 is used for will The modulated signal is converted into direct current signal, controls the unlatching of the illuminating lamp.
Lighting circuit provided by the present invention, using current collection circuit, 101 pairs are carried out by the current value of illuminating lamp Real-time Collection, the current value that microprocessor 102 is obtained according to above-mentioned Real-time Collection, adjustment are input to the modulation of output control circuit Signal, to control the current value of the illuminating lamp as pre-set current value.It can be seen that, the lighting circuit that the present invention is provided is by described The current value of illuminating lamp is gathered in real time and is fed back, and can realize the current constant control to the illuminating lamp, compares linear constant current Source circuit current control is more accurate.
In the lighting circuit provided by the present embodiment, current collection circuit 101 can be specifically included:
Current sampling resistor and filter circuit, the current sampling resistor include first resistor R1, the filter circuit Including second resistance R2 and the second capacitor C2, second resistance R2 is in parallel with the second capacitor C2, and described second One end of capacitor C2 is connected with one end of second resistance R2 and the collection signal input part of the microprocessor respectively, institute State the other end ground connection of the second capacitor C2, the other end of second resistance R2 respectively with one end of first resistor R1 and The outfan of the output control circuit is connected, the other end ground connection of first resistor R1.
Output control circuit can be specifically included:
7th resistance R7, the first transistor Q1,3rd resistor R3 and the first capacitor C1, the first transistor Q1's Control end is connected with the pulse-modulated signal end of the microprocessor by the 7th resistance R7, the first transistor Q1 Outfan be connected with first resistor R1, the input of the first transistor Q1 by 3rd resistor R3 with it is described Illuminating lamp is connected, and the first capacitor C1 is connected in parallel on the two ends of the illuminating lamp.
The lighting circuit provided by the embodiment of the present invention may further include:First switch S1, the 4th resistance R4, the 5th Resistance R5 and stabilivolt D3.
Wherein, first switch S1 is connected with the power supply 100, and the power supply for controlling whole circuit is powered;
The 5th resistance R5 and stabilivolt D3 composition mu balanced circuits, the voltage for control input microprocessor exist In the range of normal power supply;One end of the 5th resistance R5 is connected with the power supply by first switch S1, institute The other end for stating the 5th resistance R5 is connected with the power input of the negative pole and the microprocessor of the stabilivolt D3 respectively Connect, the plus earth of the stabilivolt D3.
As a kind of preferred implementation, the 4th resistance, the 4th resistance R4 and institute in the present embodiment, can also be included First switch S1 collective effect is stated, for preventing circuit erroneous action.
The lighting circuit provided by the embodiment of the present invention can further include:Latching circuit, the latching circuit bag Include third transistor Q3, the 6th resistance R6 and transistor seconds Q2;
Control end of the outfan of third transistor Q3 by the 6th resistance R6 and transistor seconds Q2 It is connected, the input end grounding of third transistor Q3, the control end of third transistor Q3 and the microprocessor Power output end is connected, and the transistor seconds Q2 inputs are connected with the power supply 100, the transistor seconds Q2 Outfan be connected with the power input of the microprocessor 102 by the 5th resistance R5.
The lighting circuit provided by the embodiment of the present invention can further include:Bleeder circuit, with the first switch S1 and the microprocessor 102 are connected, for partial pressure in parallel with the mu balanced circuit;
The bleeder circuit includes:8th resistance R8 and the 12nd resistance R12, one end of the 8th resistance R8 pass through First switch S1 is connected with the power supply 100, and the other end is connected with one end of the 12nd resistance R12, described The other end ground connection of the 12nd resistance R12, the common port of the 8th resistance R8 and the 12nd resistance R12 and micro- place The voltage division signal input of reason device 102 is connected.
The lighting circuit provided by the embodiment of the present invention can further include:Second diode D2, the described 2nd 2 The positive pole of pole pipe D2 is connected with first switch S1, and negative pole is connected with the 5th resistance R5 in the mu balanced circuit, for When first switch S1 is closed, latching circuit described in control electric current Jing is powered to the microprocessor 102 with mu balanced circuit.
Fig. 2 show the circuit diagram corresponding to another kind specific embodiment of the invention, in this specific embodiment, first Transistor Q1, transistor seconds Q2 and third transistor Q3 can specifically adopt field effect transistor, microprocessor 102 be specially Microprocessor U1, 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 electric by the 7th Resistance R7 is connected with the pulse-modulated signal end of the microprocessor, and source electrode is connected with first resistor R1, and drain electrode is electric by the 3rd Resistance R3 is connected with illuminating lamp 104.
Transistor seconds Q2 can be specially PMOS field effect transistor, and the 3rd field effect transistor Q3 can be specially NMOS tube.3rd The drain electrode of effect pipe Q3 is connected with the grid of the transistor seconds Q2 by the 6th resistance R6, source ground, grid with it is micro- Processor 102 is connected, and the source electrode of the second field effect transistor Q2 is connected with power supply 100, and drain electrode is by the 5th resistance R5 and Wei Chu The power input of reason device 102 is connected.Further, in the present embodiment, lighting circuit provided by the present invention also includes:
First diode D1, is connected with power supply 100, for ending in reverse power connection, protects the lighting circuit;
Tenth resistance R10, the 11st resistance R11, the 4th resistance R4, for filtering interfering, prevent circuit erroneous action.Its In, the tenth resistance R10 and the 11st resistance R11 is pull down resistor, and one end of the tenth resistance R10 is grounded, the other end and the 3rd The grid of effect pipe Q3 is connected, and one end ground connection of the 11st resistance R11, the other end are connected with microprocessor 102, the 4th resistance R4 For 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 stabilivolt D3, for being stably input into micro- place The voltage of reason device 102.
In an initial condition, the gate pole of the 3rd field effect transistor Q3 is low level, and the gate pole of the second field effect transistor Q2 is high electricity Flat, the gate pole of the first field effect transistor Q1 is low level, the first field effect transistor Q1, the second field effect transistor Q2 and the 3rd field effect transistor Q3 is closed, and first switch S1 is also at off-state, therefore whole circuit is closed, microprocessor 102 Power-off, illuminating lamp 104 are also at closed mode, and circuit static power consumption is zero.
When first switch S1 is closed, power supply 100 passes through the second diode D2, the 5th resistance R5 and stabilivolt D3 The power circuit of composition, powers to microprocessor 102, on microprocessor 102 after electricity, its I/O port PIN5 is set to high level, is made The gate pole of the 3rd field effect transistor Q3 is changed into high level, and the 3rd field effect transistor Q3 is opened.Now by the 6th resistance R6, second is made The gate pole of effect pipe Q2 is changed into low level, and the second field effect transistor Q2 is opened.Microprocessor 102 by the second field effect transistor Q2, the Five resistance R5, stabilivolt D3 are powered, and circuit enters self-locking state.5th resistance R5, stabilivolt D3 constitute mu balanced circuit, make Output voltage stabilization is in the supply district of microprocessor 102.First switch S1 is disconnected now, microprocessor 102 passes through self-locking Power supply.
After microprocessor 102 is powered by self-locking, by I/O port PIN8 output pulse width modulated signals (PWM waveform), pass through 7th resistance R7 opens the first field effect transistor Q1, while gathering first resistor by the AD mouths PIN7 of the microprocessor 102 Voltage Ur1 on R1, calculates the current value (Ur1/R1) by first resistor R1 by the voltage in first resistor R1, so The dutycycle of pulse-width signal, the current value needed for reaching, i.e. electric current on illuminating lamp 104 is adjusted afterwards.First resistor R1 is The voltage of PWM ripples is become direct current by current sampling resistor, the filter circuit consisted of second resistance R2, the second capacitor C2 Voltage, gathers for AD.3rd resistor R3, the first capacitor C1 composition filter circuits, make to become by the PWM ripples on illuminating lamp 104 Into DC voltage.The two ends of the first capacitor C1 are connected in parallel on the two ends of illuminating lamp 104 simultaneously, constitute filtered electrical with 3rd resistor R3 Road, it is possible to filter the interference high-voltage pulse or electrostatic on power supply 100, protects illuminating lamp.
When upper electric, pulse-width signal can be exported using low duty ratio, prevent supply voltage too high, cause the excessive burning of electric current Illuminating lamp is ruined, then dutycycle can gradually be adjusted by the current value for collecting, be reached normalized current.This process can be realized out During lamp, illuminating lamp reduces the stimulation to eyes by secretly to bright progressive formation.
After illumination lamp ignition, first switch is disconnected, circuit power realizes self-locking.Now due to the second diode D2 every From effect, the voltage at the 8th resistance R8 two ends is zero.First switch is pressed again now, power supply 100 passes through the 8th resistance R8 It is input to the I/O port PIN6 of microprocessor 102.The bleeder circuit of the 8th resistance R8 and the 12nd resistance R12 compositions is by supply voltage Drop in the input range of microprocessor 102, and the 12nd resistance R12 can filter the interference on I/O port as pull down resistor, Prevent circuit erroneous action.
After microprocessor 102 receives the instruction that first switch is pressed for the second time, the pulsewidth modulation letter that PIN8 is exported Number dutycycle reduce, and by current control circuit control diminish by the electric current of illuminating lamp 104, make illuminating lamp dimmed, reality Now the brightness to the illuminating lamp switches.When judging that third time presses first switch, after microprocessor 102 receives signal, will The output of PIN8 is closed, and illuminating lamp is closed.Then PIN5 outputs low level, closes the 3rd field effect transistor Q3, now second effect Should pipe Q2 be accordingly turned off, 102 power-off of microprocessor releases self-locking, and whole circuit enters closed mode.
In a specific embodiment, first switch S1 can work as microprocessor in the form of intelligent switch touch key-press 102 detect first switch S1 when pressing for the first time, set the value of attribute mark S of first switch S1 as 1, work as microprocessor 102 detect first switch presses and when the value of its attribute mark S is 1, judges button for pressing for the second time, and by its attribute mark Will S is set as 2.Afterwards microprocessor 102 detect the button, if button is pressed, and the value of the attribute mark S be 2 when, Judge button and press for third time.
Embodiment of the present invention using microprocessor to being gathered in real time and being fed back by the current value of illuminating lamp, energy Current constant control to illuminating lamp is realized enough, it is more accurate to control than Linear CCS circuital current.In addition, by arranging partial pressure electricity Road can realize that the light and shade to illuminating lamp switches, and realize various light modulations.
In above-mentioned each embodiment, power supply V1 of the concrete optional magnitude of voltage of power supply 100 for 12V, illuminating lamp 104 Optional white led lamps, the features such as LED has life-span length, low in energy consumption and efficiency high.
First switch S1 can be switched using ship type or button switch.Preferably, first switch S1 can also be using touch , used as switch, compared with traditional switch, the handling and sense of touch of the touch key-press is good for button.
Embodiment of the present invention employs a touch key-press, by isolation and the unlatching for from lock technology, realizing power supply and Keypress function.The microprocessor is gathered in real time and is fed back by the current value of the illuminating lamp, can be realized to institute The current constant control of illuminating lamp is stated, it is more accurate to control than Linear CCS circuital current.The microprocessor can also be by changing Time-dependent current, realizes that the slow unlatching to the illuminating lamp and light and shade switch, realizes various light modulations.
Also, as a result of switching technique, the efficiency of whole circuit is high compared with the circuit efficiency using constant current source chip very Many, because constant current source chip reaches constant current purpose using itself pressure drop is adjusted during constant current, its own consumes most of Power consumption.Powered using 12V, LED rated current 100mA, LED now pressure drop 3V, then total power consumption is 1.2W, and LED power consumptions are 0.3W, Constant-current source chip power-consumption is 0.9W, and delivery efficiency is 25%.Powered using 12V in embodiment of the present invention, LED power consumptions are 0.3W, 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%.By Larger in constant-current source chip power-consumption, so needing large-area fin, the power consumption of embodiment of the present invention is extremely low, can adopt The area of dissipation of very little.Due to low in energy consumption, whole circuit operating temperature is low, and device lifetime greatly increases, reliability, stability By force.
As shown in figure 3, present invention also offers a kind of lighting circuit control method, a kind of specific embodiment of the method Specifically include:
Step S100:Current value of the Real-time Collection by illuminating lamp;
Step S101:The modulated signal of the input illuminating lamp is adjusted according to the current value, to control the current value For pre-set current value;
Step S102:The modulated signal is converted into into direct current signal, the unlatching of the illuminating lamp is controlled.
In the present embodiment, the method can be specifically included:
When first switch is pressed for the first time, triggering microprocessor output modulated signal is opened with controlling the illuminating lamp, The microprocessor is powered by latching circuit;
When detecting first switch and pressing for the second time, bleeder circuit carries out partial pressure in parallel with mu balanced circuit, to control to lead to The current value for crossing the illuminating lamp reduces;
When detecting first switch third time and pressing, microprocessor stops output modulated signal, described to control Illuminating lamp is closed.
Specifically, when first switch is pressed for the first time, illuminating lamp 104 is lighted, and disconnects button, and the lighting circuit is realized certainly Lock.Now due to the buffer action of the second diode D2, the voltage at the 8th resistance R8 two ends is zero.When judging to press for the second time During one switch, power supply 100 is input to the I/O port PIN6 of microprocessor 102 by the 8th resistance R8.8th resistance R8 and The bleeder circuit of 12 resistance R12 compositions drops to supply voltage in the input range of microprocessor 102, and the 12nd resistance R12 can filter the interference on I/O port, prevent circuit erroneous action as pull down resistor.Now, the pulsewidth modulation for PIN8 being exported The dutycycle of signal reduces, and is diminished by the electric current of illuminating lamp 104 by current control circuit control, makes illuminating lamp dimmed, Realize that the brightness to the illuminating lamp switches.When detecting first switch third time and pressing, microprocessor 102 receives letter After number, the output of PIN8 is closed, illuminating lamp is closed.Then PIN5 outputs low level, closes the 3rd field effect transistor Q3, and now the Two field effect transistor Q2 are accordingly turned off, 102 power-off of microprocessor, release self-locking, and whole circuit enters closed mode.
Used as a kind of preferred implementation, when first switch is pressed for the first time, the microprocessor exports low duty ratio Modulated signal, opened with controlling the illuminating lamp.By first exporting with low duty ratio when upper electric, supply voltage is prevented from It is too high, cause electric current excessive, burn illuminating lamp.Then gradually normalized current is finally reached to big adjustment dutycycle.The process The brightening process of illuminating lamp is realized, user is made when turning on light have from secretly and, to bright adaptation process, reduce the stimulation to eyes.
The other parts of the lighting circuit control method provided in the present embodiment and identical or phase in above-mentioned lighting circuit Seemingly, will not be described here.
In this specification, each embodiment is described by the way of progressive, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment same or similar part mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope for causing.

Claims (9)

1. a kind of lighting circuit, including power supply and illuminating lamp, it is characterised in that the lighting circuit includes:
Current collection circuit, microprocessor and output control circuit;
The input of the current collection circuit is connected with the outfan of the output control circuit, the current collection circuit Outfan be connected with the collection signal input part of the microprocessor, the input of the output control circuit and the photograph Bright lamp is connected, and the control end of the output control circuit is connected with the pulse-modulated signal end of the microprocessor, described The power input of microprocessor is connected with the power supply;
The current collection circuit is used for current value of the Real-time Collection by the illuminating lamp, and the microprocessor is used for receiving institute The current value by the illuminating lamp that current collection circuit Real-time Collection is obtained is stated, adjustment input is to the output control circuit Modulated signal, to control by the current value of the illuminating lamp as pre-set current value;The output control circuit is for by institute State modulated signal and be converted into direct current signal, control the unlatching of the illuminating lamp;
Wherein, also include:
First switch, the 5th resistance and stabilivolt;
5th resistance and the stabilivolt composition mu balanced circuit, for microprocessor described in control input voltage normal In supply district;One end of 5th resistance is connected with the power supply by the first switch, and the described 5th is electric The other end of resistance is connected with the power input of the negative pole and the microprocessor of the stabilivolt respectively, the stabilivolt Plus earth.
2. lighting circuit as claimed in claim 1, it is characterised in that the current collection circuit includes:
Current sampling resistor and filter circuit, the current sampling resistor include first resistor, and the filter circuit includes Two resistance and the second capacitor, the second resistance are in parallel with second capacitor, one end point of second capacitor Be not connected with one end of the second resistance and the collection signal input part of the microprocessor, second capacitor it is another End ground connection, the other end of second resistance one end and the outfan of the output control circuit respectively with the first resistor It is connected, the other end ground connection of the first resistor.
3. lighting circuit as claimed in claim 2, it is characterised in that the output control circuit includes:
7th resistance, the first transistor, 3rd resistor and the first capacitor, the control end of the first transistor is by described 7th resistance is connected with the pulse-modulated signal end of the microprocessor, the outfan of the first transistor and described first Resistance is connected, and the input of the first transistor is connected with the illuminating lamp by the 3rd resistor, first electric capacity Device is connected in parallel on the two ends of the illuminating lamp.
4. lighting circuit as claimed in claim 1, it is characterised in that also include:
Latching circuit, the latching circuit include third transistor, the 6th resistance and transistor seconds;
The outfan of the third transistor is connected with the control end of the transistor seconds by the 6th resistance, described The input end grounding of third transistor, the control end of the third transistor are connected with the power output end of the microprocessor Connect, the transistor seconds input is connected with the power supply, the outfan of the transistor seconds passes through the described 5th Resistance is connected with the power input of the microprocessor.
5. lighting circuit as claimed in claim 4, it is characterised in that also include:
Bleeder circuit, is connected with the first switch and the microprocessor, for partial pressure in parallel with the mu balanced circuit;
The bleeder circuit includes:8th resistance and the 12nd resistance, one end of the 8th resistance are opened by described first Pass is connected with the power supply, and the other end is connected with one end of the 12nd resistance, the other end of the 12nd resistance Ground connection, the 8th resistance are connected with the voltage division signal input of the microprocessor with the common port of the 12nd resistance.
6. lighting circuit as claimed in claim 5, it is characterised in that also include:
Second diode, the positive pole of second diode are connected with the first switch, in negative pole and the mu balanced circuit 5th resistance is connected, for when the first switch is closed, latching circuit described in control electric current Jing is with mu balanced circuit to described Microprocessor power supply.
7. a kind of lighting circuit control method, is applied in the lighting circuit as described in any one of claim 1-6, and its feature exists In, including:
Current value of the Real-time Collection by illuminating lamp;
The modulated signal of the input illuminating lamp is adjusted according to the current value, the current value is controlled as pre-set current value;
The modulated signal is converted into into direct current signal, the unlatching of the illuminating lamp is controlled.
8. lighting circuit control method as claimed in claim 7, it is characterised in that also include:
When detecting first switch and pressing for the second time, bleeder circuit carries out partial pressure in parallel with mu balanced circuit, to control by institute The current value for stating illuminating lamp reduces;
When detecting first switch third time and pressing, microprocessor stops output modulated signal, to control the illumination Lamp is closed;
Wherein, when the first switch is pressed for the first time, triggering microprocessor output modulated signal is opened with controlling the illuminating lamp Open, the microprocessor is powered by latching circuit.
9. lighting circuit control method as claimed in claim 8, it is characterised in that when the first switch is pressed for the first time, The microprocessor output modulated signal is triggered, is included with controlling the illuminating lamp unlatching:
When the first switch is pressed for the first time, the microprocessor exports the modulated signal of low duty ratio, to control the photograph Bright lamp is opened.
CN201510082302.2A 2015-02-15 2015-02-15 Illuminating circuit and illuminating circuit control method Active CN104582208B (en)

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 CN104582208A (en) 2015-04-29
CN104582208B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109121251A (en) * 2018-09-21 2019-01-01 港基创意模型设计(深圳)有限公司 Buildings model lamp light control system
CN209105317U (en) * 2019-01-14 2019-07-12 深圳Tcl新技术有限公司 Backlight lamp bar, display screen and television set

Citations (3)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5302755B2 (en) * 2009-04-24 2013-10-02 パナソニック株式会社 Power supply
CN201571033U (en) * 2009-12-25 2010-09-01 中国电子科技集团公司第四十研究所 Solid state power controller
CN103458554B (en) * 2012-05-30 2017-06-23 海洋王照明科技股份有限公司 A kind of LED drive circuit and LED lamp

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN104582208A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN102655701B (en) Illuminator
CN102711307B (en) Dimmable light-emitting diode (LED) drive circuit and lamp
US9204505B2 (en) Power converter for interfacing a fluorescent lighting ballast to a light emitting diode lamp
CN103702480B (en) LED drive circuit and the method in conjunction with mains switch change glow color thereof
CN201884990U (en) LED (light-emitting diode) lamp utilizing switch to adjust light
CN104968102B (en) A kind of light modulation color-temperature regulating LED lamp circuit and LED lamp
CN104582208B (en) Illuminating circuit and illuminating circuit control method
CN103561503B (en) LED drive power supply suitable for AC phase-cut dimming
CN104768305A (en) Touch type four-gear dimming control circuit for LED lamp illumination
KR101414902B1 (en) AC LED driving circuit
CN203934080U (en) With the LED lamp driving power source of timing function
CN103957650B (en) LED power manages circuit
CN206164925U (en) LED silicon controlled rectifier phase control dimmer and eliminate stroboscopic circuit thereof
CN204350371U (en) Led light adjusting circuit
CN204498409U (en) Infrared induction Drive and Control Circuit and illumination control circuit
CN203661343U (en) LED driving source applied to AC phase-cutting light modulation
WO2017197813A1 (en) Half-wave shunting led lamp driving device
CN204131813U (en) A kind of fluorescent lamp light adjusting circuit
CN107969040A (en) A kind of light adjusting and controlling device based on speech recognition
CN207706479U (en) Illuminating circuit
CN103796386B (en) A kind of frequency conversion LED induction driver
CN209517577U (en) A kind of LED lamp light-controlled switching circuit and LED light
CN206365113U (en) A kind of light adjusting circuit based on light-touch switch key-press
CN206237641U (en) A kind of library's LED lamp dimming power source device based on PWM
CN106455193A (en) LED driving power supply control circuit with no auxiliary power supply

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
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 Hengrun Technology Co., Ltd

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