Lighting current control system and the control method thereof of electric ballast
Technical field
The present invention relates to lighting current control system and control method thereof under a kind of electric ballast application, belong to lighting control technique field.
Background technology
High-pressure sodium lamp is because the standard of manufacture craft difference or country variant is different, and the modulating voltage difference of the high-pressure sodium lamp that makes equal-wattage when different capacity section is very large.
Traditional Inductive ballast is constant current control type, Inductive ballast after coupling high-pressure sodium lamp igniting lamp is bright, lamp current < 5A, and electric current substantial constant, the high lamp-power that rises with modulating voltage raises, and modulating voltage is elevated to maximum, lamp power stability.But because different high-pressure sodium lamp modulating voltage difference is large, when the lamp of different model or various criterion mates the Inductive ballast of same model, power has difference, the too small performance of power not the performance of Inductive ballast, power is crossed conference and is reduced bulb life and even damage bulb.Inductive ballast shows the defect poor with the matching of bulb.
Traditional electric ballast is permanent power control type, but in igniting, arrives afterwards the stage of full power, and power is linear growth, the electric current of the uncontrollable lamp of power ascent stage.The V of electric ballast
bUSbe constant, by detecting electric current, can make lamp power invariability, different bulbs there will not be the difference of power after full power.At coupling high-pressure sodium lamp, use, in order to keep the life-span of high-pressure sodium lamp, after igniting, initial power is set in the value proportional with full power, but the modulating voltage of some bulbs under the above-mentioned initial power setting is very low, cause high-pressure sodium lamp very large at igniting after-current, yet being linear growth, power cannot change, high-pressure sodium lamp is being worked the long period under large electric current, the useful life that therefore cannot effectively keep bulb even after igniting a little while bulb just damage.So traditional electric ballast and the matching of bulb are also difficult to the degree that reaches desirable.
Summary of the invention
Defect in view of above-mentioned prior art existence, the object of the invention is to propose a kind of lighting current control system and control method thereof of electric ballast, non-constant with the lighting current solving under electric ballast application, or the excessive defect that affects the lighting life-span of electric current.
Above-mentioned first object of the present invention, by technical scheme is:
The lighting current control system of electric ballast, it is characterized in that: described current control system is provided with two-way closed-loop feedback circuit and a pwm chip U1 based on lighting circuit, two outputs of described pwm chip U1 are connected to drive half-bridge circuit Q1 and the Q2 of lighting circuit, the current detecting closed-loop feedback circuit that wherein first via is lighting circuit, comprises current transformer L, rectifier diode D1, voltage stabilizing didoe D2, resistance R 1 and single-chip microcomputer U2; The second tunnel is power detection closed-loop feedback circuit, the operational amplification circuit that comprises power detection resistance R 2, the integrating circuit consisting of resistance R 3 and capacitor C 3, diode D3 and comprise amplifier U3 and U4; The output of described single-chip microcomputer U2 is connected to one end of integrating circuit resistance R 3, the output V of described operational amplification circuit amplifier U3
oUTthrough diode D3, be connected to an input of pwm chip U1.
Further, described pwm chip U1 is at least SG3525AN, and described single-chip microcomputer U2 is at least 12F508, and described operational amplification circuit is at least LM324, and the lighting source in described lighting circuit is high-pressure sodium lamp.
Above-mentioned second object of the present invention, the lighting current control system based on object one realizes, and its technical solution comprises step:
I, employing electric ballast are lighted the high-pressure sodium lamp in lighting circuit, set an original frequency of pwm chip U1, make lighting circuit have an initial power;
II, by the initial current of lighting circuit after current transformer conversion, diode rectification, input single-chip microcomputer U2 processes, the pwm signal of gained is inputted the V+ of amplifier U3 again after integrating circuit is processed, according to resulting V
oUTmodulation (PWM) control chip U1 output frequency, and then regulate power and the electric current of lighting circuit, until the electric current of lighting circuit reaches default maximum rated current.
Further, when the lighting circuit electric current under initial power is less than maximum rated current, V
oUTbe output as high level, the output frequency of pwm chip reduces, and power and the electric current of lighting circuit all increase; When the lighting circuit electric current under initial power is greater than maximum rated current, V
oUTbe output as low level, the output frequency of pwm chip increases, and power and the electric current of lighting circuit all reduce.
Lighting current control system and the control method thereof of electric ballast of the present invention, its outstanding effect is: by regulate the power of lamp on the basis of constant lamp current, in the autonomous rising of modulating voltage, increase the power of lamp, at modulating voltage, stablize back light power also stable, reach high-pressure sodium lamp lamp current after light always constant, at full power back light power also constant object.Changed traditional electric ballast power linear after high-pressure sodium lamp is lighted and increased, electric current is non-constant, easily damages bulb and the poor shortcoming of bulb matching.
Below just accompanying drawing in conjunction with the embodiments, is described in further detail the specific embodiment of the present invention, so that technical solution of the present invention is easier to understand, grasp.
Accompanying drawing explanation
Fig. 1 is the basic circuit diagram of lighting current control system of the present invention.
Embodiment
In order effectively to solve the inconstant present situation of lamp current of electric ballast, the present invention proposes a kind of lighting current control program of electric ballast, specific to system and two aspects of control method thereof.This programme adopts the mode of two-way closed loop feedback to control the lamp current of electric ballast.One tunnel closed loop feedback electric current, by current transformer sensed lamp current, and is converted to voltage signal by the current signal detecting and sends into single-chip microcomputer, and in single-chip microcomputer, programming has program, and program control single-chip microcomputer is processed output pwm signal after voltage signal.Lamp current is arranged on to certain value, and the pwm signal of single-chip microcomputer output becomes a voltage signal after integrating circuit.Another road closed-loop feedback circuit, by the power of the voltage detecting lamp on power resistor, exports voltage amplification by an operational amplifier voltage signal of an amplification.The voltage of two-way closed-loop feedback circuit output compares mutually, and output high level or low level regulate the frequency of oscillation of pwm chip.
Pwm chip output drives the field effect transistor alternation in half-bridge, and the frequency of regulation output can regulate the power of lamp.When the frequency increase of signal, lamp power reduces; When the frequency of signal reduces, lamp the increase of output power.
High-pressure sodium lamp (hereinafter to be referred as " lamp ") modulating voltage after lighting can independently rise, and rises to certain value power just constant.Lamp current control program for electric ballast of the present invention by regulating the power of lamp on the basis of constant lamp current, in the autonomous rising of modulating voltage, increase the power of lamp, at modulating voltage, stablize back light power also stable, reach high-pressure sodium lamp lamp current after light always constant, at full power back light power also constant object.Changed traditional electric ballast power linear after high-pressure sodium lamp is lighted and increased, electric current is non-constant, easily damages bulb and the poor shortcoming of bulb matching.
Of the present invention for shown in lights control scheme Fig. 1 of electric ballast, comprise pwm chip U1, U1 is SG3525AN, half-bridge circuit Q1 and Q2, lighting circuit, current transformer L, rectifier diode D2, diode D3, resistance R 1 and R2, single-chip microcomputer U2, U2 is 12F508, two operational amplifier U3 in operational amplifier LM324 and U4.
The output A of U1 is connected half-bridge circuit with output B, control the frequency of oscillation of U1 can controlled loading to the power of high-pressure sodium lamp, at electric ballast, light after high-pressure sodium lamp, an original frequency of U1 setting makes high-pressure sodium lamp have an initial power.Require the electric current of high-pressure sodium lamp to be 5A to the maximum, L detects the electric current of lighting mains, electric current is transformed to low current with certain proportion, through D1 rectification and R1 electric current time variant voltage, at R1 two ends, produce a voltage, then pass through voltage stabilizing didoe D2 at the 5 pin input voltage signals of single-chip microcomputer U2, output pwm signal after single-chip microcomputer is processed, after integrating circuit R3 and C3, output voltage V+.When lamp current > 5A, the duty ratio of pwm signal reduces, and the V+ after integration also reduces; When lamp current < 5A, the duty ratio of pwm signal increases, and the V+ after integration also increases;
R2 is the power detection resistance of lamp, and the voltage on R2, by the voltage signal V-of an amplification of operational amplifier U4 output, raises with power, and V-increases.V+ and V-relatively export V by comparator U3
oUT.If the electric current > 5A of high-pressure sodium lamp under initial power, V+ constantly reduces, until V-> V+, now V
oUTfor low level, the output frequency of pwm chip increases, and lamp power and lamp current all reduce; If the electric current < 5A of high-pressure sodium lamp under initial power, V+ constantly increases, until V-< V+, now V
oUTfor high level, the output frequency of pwm chip reduces, and lamp power and lamp current all increase.
By above-mentioned feedback system, it is constant that the electric current of high-pressure sodium lamp keeps, and along with the rising of modulating voltage, the power of lamp constantly rises, V-=V+ when full power, and the frequency of pwm chip no longer changes, lamp power invariability.
Being more than detailed description of the invention, to deepen the understanding of the present invention, is not to limit various ways of the present invention, allly based on technical scheme of the present invention, carries out simple modification circuits structure or element model parameter, all at the protection range of this patent request.