Background technology
The high-intensity gas discharge lamp light efficiency is high, and color rendering is good, has been widely used in all kinds of illumination occasions, and the electric ballast that matches with it is development thereupon also.High-intensity gas discharge lamp has unique electrical characteristic, and it can be divided into two working stages: build-up of luminance stage and steady-state process.In the build-up of luminance stage, fluorescent tube presents negative resistance charactertistic, and promptly in this stage, lamp current reduces gradually, and voltage raises gradually, and power increases gradually; By the time electric current and voltage get into steady-state process after all reaching rated value; This moment, fluorescent tube presented positive resistance characteristic, in this stage, and the proportional example relation of electric current and voltage; Promptly increase simultaneously or reduce simultaneously; But also there is the characteristic saltus step in the fluorescent tube steady-state process, and this just requires electric ballast can satisfy the load characteristic requirement of build-up of luminance stage and steady-state process simultaneously.
This load characteristic of high-intensity gas discharge lamp has proposed quite high requirement to the control section of electric ballast: in the build-up of luminance stage, ballast provides gas in the stable current flow heats fluorescent tube, draws high light tube electric voltage; In steady-state process, must accomplish permanent power control, because the consistency of high-intensity gas discharge lamp is very poor, the steady state voltage of the fluorescent tube of different vendor, different batches and electric current often have very big-difference, this can influence the steady state power of fluorescent tube, shortens lamp tube service life.If use general pwm chip; Can't satisfy two working stage characteristics simultaneously, and if use MCU to control, then because the electric ballast bad working environment; Can't guarantee the work of single-chip microcomputer reliable and stable, in case occur to crash or program fleet then whole system is absorbed in collapse.In currently marketed various electronic ballast of high intensity gas discharge lamp, the core control section of main product all uses special chip, and these special chips are in various degree existence stability and the defective of functional completeness all.
Summary of the invention
To the problem that exists in the above-mentioned prior art; The present invention designs a kind of load characteristic requirement that can satisfy build-up of luminance stage and steady-state process simultaneously; The digital-to-analog signal stack feedback circuit that stability and functional completeness are good; It can be applicable in the electronic ballast of high intensity gas discharge lamp, also can be applicable to comprise the various power supply products of inverter circuit.
The technical scheme that the present invention adopted is: digital-to-analog signal stack feedback circuit is characterized in that this circuit comprises voltage sampling circuit, current sampling circuit, D/A switch circuit, stack follower circuit and microprocessor; Voltage sampling circuit and current sampling circuit sampling light tube electric voltage and electric current; And give the microprocessor rated output that multiplies each other; The digital power signal of microprocessor output becomes with it the corresponding simulating signal to send into stack follower circuit B through the D/A switch circuit conversion; The current signal of sampling also gets into stack follower circuit A simultaneously, and both export stack follower circuit A, B the D/A stack jointly and feed back signal to the DC/AC pwm control circuit.
Said microprocessor also receives from the low frequency commutation signal of DC/AC pwm control circuit to judge rectifying effect.
The program step of said microprocessor comprises:
1) sends out ignition pulse signal, the operation igniting;
2) sampling light tube electric voltage, electric current;
3) judge whether overload, short circuit? Rectifying effect takes place? That not arc extinguishing takes place?
4) rated output, output digital power signal.
Said voltage sampling circuit comprises voltage transformer, and next level connects full-bridge rectification, and the amplifying circuit through operational amplifier and resistance formation obtains d. c. voltage signal and sends into said microprocessor.
Said current sampling circuit comprises current transformer, and next level connects full-bridge rectification, through the amplifying circuit of operational amplifier with the resistance formation, obtains dc current signal and sends into said microprocessor and send into said stack follower circuit A.
Said D/A switch circuit is formed resistor network by resistance and is realized D/A switch, and sends into stack follower circuit B to the analog signal after the conversion.
Said stack follower circuit A and stack follower circuit B form by operational amplifier and diode; Operational amplifier output terminal is connected with diode anode; Diode cathode is connected with the operational amplifier inverting input, and digital signal and analog signal are superimposed as D/A stack feedback signal and send into the DC/ACPWM control circuit through these two circuit.。
Beneficial effect of the present invention: the present invention can let the analog signal and the digital signal that characterize lamp current and power compensate mutually; Stack output; Permanent power after realizing lamp lighting-up characteristic demand and stablizing is exported, and finally satisfies the functional requirement and the reliability that improves system of system.
Embodiment
Referring to Fig. 1, comprise voltage sampling circuit 1, current sampling circuit 4, D/A switch circuit 3, stack follower circuit A6, stack follower circuit B5 and microprocessor 2; Voltage sampling circuit 1 and current sampling circuit 4 sampling light tube electric voltage and electric currents; And give microprocessor 2 rated output that multiplies each other; The digital power signal of microprocessor 2 output converts with it the corresponding simulating signal to through D/A switch circuit 3 and sends into stack follower circuit B5; The current signal of sampling also gets into stack follower circuit A6 simultaneously, and both export D/A stack feedback signal jointly stack follower circuit A, B.Microprocessor 2 also receives from the low frequency commutation signal of DC/ACPWM control circuit to judge rectifying effect.
The main program sequence of microprocessor 2 is referring to Fig. 2.In step 21, microprocessor is cheating just; Step 22, the operation ignition procedure is sent out ignition pulse signal; Step 23, sampling light tube electric voltage, electric current; Step 24; Judge whether overload, short circuit? If " be " then get into defence program 28, if " denying " then get into next step 25 judges whether rectifying effect? If " be " then get into defence program 28; If " deny " then get into next step 26; Judge whether arc extinguishing? If " be " then get back to step 22, if " denying " then get into next step 27 rated outputs, output digital power signal turns back to step 23.
Said microprocessor 2 can be single-chip microcomputer, ARM or DSP (digital signal processor).
Embodiment
Referring to Fig. 3, voltage sampling circuit 1 comprises voltage transformer, and next level connects full-bridge rectification, and full-bridge rectification is made up of diode D6-D9, and operational amplifier U1C and resistance R 4-R6 formation amplifier circuit obtain d. c. voltage signal and send into the AD1 mouth of single-chip microcomputer.Current sampling circuit 4 comprises current transformer, next grade connection full-bridge rectification; Full-bridge rectification constitutes amplifier circuit by diode D1-D4 formation, operational amplifier U1A and resistance R 1-R3; Obtain dc current signal and send into the AD2 mouth of single-chip microcomputer, also get into stack follower circuit A6 simultaneously.Stack follower circuit A6 is made up of operational amplifier U1B and diode D5, and operational amplifier U1B output is connected with diode D5 anode, and diode D5 negative electrode is connected with operational amplifier U1B inverting input; Stack follower circuit B5 is made up of operational amplifier U1D and diode D10, and operational amplifier U1D output is connected with diode D10 anode, and diode D10 negative electrode is connected with operational amplifier U1D inverting input.The D/A switch circuit is formed resistor network by resistance R 7~R23 and is realized D/A switch, and sends into the DC/AC pwm control circuit to the D/A stack feedback signal that converts to.
In the present embodiment, also available ARM of single-chip microcomputer or DSP (digital signal processor) replace.
The characteristics of circuit of the present invention:
1, operational amplifier U1B and diode D5 and operational amplifier U1D and diode D10 form the stack follow circuit respectively; The normal phase input end signal of the normal phase input end of operational amplifier U1B and operational amplifier U1D is given DC/AC pwm control circuit, the output that electromotive force is high through being superimposed as a D/A stack feedback signal behind this circuit.In the build-up of luminance stage, the normal phase input end current signal specific power signal potential of operational amplifier U1B is high, and the electric current loop control is used; In steady-state process, the power signal of the normal phase input end of operational amplifier U1D has been higher than current signal, and this moment, control was taken over by power ring, the permanent power output of ballast.
2, the input that feeds back to operational amplifier behind the output insertion diode of feedback signal by operational amplifier is more relatively held; The end signal transmission distortion degree of its input signal and output diode cathode is very little; During the parallel connection of multichannel output signal, the signal of high potential is not disturbed by other low-potential signal.The circuit that operational amplifier U1B and diode D5, operational amplifier U1D and diode D10 form has been realized the stack output of current signal and power signal.
3, under complicacy, bad working environment, the stability of single-chip microcomputer will face the challenge, can program fleet even deadlock often.The present invention has well solved this problem after adopting digital-to-analog signal stack, when single-chip microcomputer owing to crash or program fleet and can't send the digital power signal time, The whole control will be taken over by electric current loop, can guarantee the operate as normal of ballast in the same old way.SCM program runs tens of milliseconds of interior can the recoveries automatically in back that fly or crash, and at this moment, system is the ingoing power control loop once more.
4, high-intensity gas discharge lamp tends to occur rectifying effect because fluorescent tube wears out after long-term work a period of time, and this moment, electric current, the voltage of fluorescent tube both direction were asymmetric, and system can't operate as normal even collapse.Among the present invention, single-chip microcomputer detects the low frequency commutation signal, can judge that in conjunction with detected voltage, current signal whether fluorescent tube produces rectifying effect, solves the problem that rectifying effect brings through timely shutdown.
5, resistor network R7~R23 and operational amplifier U1D form D/A converter, and the digital signal that single-chip microcomputer is sent is converted into analog signal.
6, utilize the current source characteristic of voltage transformer summation current transformer, next level connects full-bridge rectification, obtains the voltage signal and the current signal of direct current, presents linear relationship with signal to be detected.
Operation principle of the present invention
The voltage and current of high-intensity gas discharge lamp is converted into little current signal by the voltage transformer summation current transformer; Amplify through load resistance R1, R4 and operational amplifier U1A and U1C; Output current signal and voltage signal are to the AD mouth of single-chip microcomputer; Single-chip microcomputer multiply by digital signal DA.7~DA.0 that voltage obtains characterizing power with electric current, and the resistor network of being made up of resistance R 7~R23 is realized the D/A switch function, converts with it digital signal to the corresponding simulating signal and gives operational amplifier U1D; Under the effect of diode D5 and diode D10, produce the D/A stack and feed back signal to the DC/AC pwm control circuit.
Meanwhile, the DC/AC pwm control circuit provides the low frequency commutation signal to single-chip microcomputer, and single-chip microcomputer combines detected voltage, current signal to judge whether fluorescent tube rectifying effect takes place, the execute protection action.