Summary of the invention
The present invention mainly is big, the bad technical problem of light modulation consistency of the existing interference of solution available technology adopting controllable silicon light modulation, and a kind of novel dimmer that adopts switching regulator is provided.
Above-mentioned technical problem of the present invention mainly is able to solve through following technical proposals: a kind of novel dimmer; Dimmer links to each other with electric ballast; It is characterized in that: said dimmer comprises signal controller and signal acquisition process circuit; Signal controller is connected to the electric ballast input, and the signal acquisition process circuit is connected between signal controller and the electric ballast input, produces the alternation signal and acts on the Ref place as control signal; The signal acquisition process circuit is gathered the change in voltage at Ref place, acts on after the signal processing and accepts dim signal parts place in the electric ballast.
As a kind of preferred version of such scheme, said signal controller comprises switch SW 0, SW1A, SW1B, SW2A, SW2B, diode D1, D2, fuse F1; Wherein switch SW 0, fuse F1, switch SW 1A, switch SW 2A connect successively; Said diode D2 and switch SW 2B series connection back are in parallel with the series circuit that switch SW 1A, switch SW 2A form, and the series circuit that said switch SW 1B and diode D1 series connection back and switch SW 1A, switch SW 2A form is in parallel.
A kind of preferred version as such scheme; Said diode D2 negative electrode is connected in fuse F1 output; Its anode is connected in switch SW 2B input, and switch SW 1B input is connected in fuse F1 output, and switch SW 1B output is connected in diode D1 anode.
A kind of preferred version as such scheme; Said signal acquisition process circuit comprises resistance R 1, R2, R3, R4, the R5 of different resistances; Capacitor C 1, C2, C3; Voltage stabilizing didoe D3, high-voltage diode D4, signal diode D5, D6, D7, NPN signal triode Q1 and MPU microprocessor IC1; Wherein resistance R 1, capacitor C 1 are in series; Capacitor C 1 other end ground connection; Said resistance R 3 is connected in parallel on capacitor C 1 two ends after connecting with capacitor C 2; These resistance R 3 one ends are connected in the tie point of resistance R 1 and capacitor C 1, are connected in parallel on capacitor C 1 two ends after said signal diode D5, capacitor C 3 series connection, and this signal diode D5 anode is connected in the tie point of resistance R 1 and capacitor C 1; Said resistance R 2 is connected in parallel on signal diode D5 two ends, and signal diode D6 is connected in parallel on resistance R 3 two ends, and its anode is connected in the tie point of resistance (R3) and capacitor C 2; Said voltage stabilizing didoe D3, resistance R 4 constitute overvoltage crowbar, and diode D3 negative electrode is connected in the tie point of resistance R 1 and capacitor C 1, and its anode is connected with resistance R 4 one ends, and resistance R 4 other ends are connected in capacitor C 1 ground connection one end; The collector electrode of said NPN signal triode Q1 is connected in the tie point of resistance R 1 and capacitor C 1; Its emitter is connected in earth point after connecting signal diode D7 through forward; Its base stage is connected in earth point after connecting resistance R 5; Said high-voltage diode D4 anode is connected in the tie point of emitter and signal diode D7 anode, and its negative electrode is connected in the signal acquisition process line input; The PIN1 pin of said MPU microprocessor IC1 is connected in the negative electrode of signal diode D5, and its PIN2 pin is connected in signal diode D6 anode, and its Vout connecting pin is connected in and receives dim signal parts place in the electric ballast.
As a kind of preferred version of such scheme, the resistance of said resistance R 2, R3 is greater than the resistance of resistance R 1.
Therefore, the following advantage of tool of the present invention: 1. do not need extra increase wiring, easy for installation, cost is low; 2. circuit has been realized sampling control on single AC power incoming line; 3. when circuit control finishes the back operate as normal, do not introduce the extra harmonic wave and the problem of electronic jamming; 4. control circuit and loaded line can be realized on same incoming line.
Embodiment
Pass through embodiment below, and combine accompanying drawing, do further bright specifically technical scheme of the present invention.
Embodiment:
According to shown in Figure 1; The present invention mainly comprises dimmer part and electric ballast part, and electric ballast is arranged on the electronic energy-saving lamp 4, and dimmer links to each other with electric ballast; This dimmer adopts switching regulator; It is provided with two button up and down, and dimmer is made up of signal controller 11 and signal acquisition process circuit 12, and wherein signal controller 1 is connected to electric ballast 3 inputs; Signal acquisition process circuit 12 is connected between signal controller and the electric ballast input, and its output is connected to the inner dim signal parts place that receives of electric ballast.
Show the preferable enforcement circuit of dimmer of the present invention like Fig. 2; Signal controller is arranged on the power firestreak; Its through behind the filter with circuit of electronic ballast in rectification circuit input end link to each other; This signal controller electric routing switch SW0, SW1A, SW1B, SW2A, SW2B, diode D1, D2 and fuse F1 constitute, and its annexation is described in detail in summary of the invention; Wherein SW0 is the input power main switch of this controller, and it can accomplish the switch control to whole system; Fuse F1 is the fuse on controller, and controller and the abnormal conditions that reach the rear end are played the security protection effect; Diode D1 and D2 can select the different model diode according to different rear end loads, the method that when load request is bigger, also can select for use a plurality of diodes parallel connections to use in addition; Switch SW 1A and SW1B are switches of being controlled simultaneously by same button (like the up key among Fig. 1), and it can realize that SW1A breaks off, and SW1B is closed; SW1A is closed, and SW1B is closed; SW1A is closed, and SW1B breaks off.SW2A and SW2B are switches of being controlled simultaneously by same button (like the down key among Fig. 1), and it can realize that SW2A breaks off, and SW2B is closed; SW2A is closed, and SW2B is closed, and SW2A is closed, and SW2B breaks off; When the SW1A that wherein occurs was closed, SW1B was closed; SW2A is closed, and SW2B is closed, is some spark phenomenons not occur when designing switch and the transitional state introduced.
The working condition of concrete button up and down is following: SW1A (SW2A) closure when button up (down) is not pressed; As button up (down) SW1A (SW2A) during by flicking; SW1B (SW2B) closure; SW1A (SW2A) breaks off when up (down) is pressed on earth, SW1B (SW2B) closure.According to above-mentioned functions; The operating state that controller possibly occur is as shown in Figure 3; Wherein state A, D, E, F, G are with the state that causes the controller two-way admittance; Can merge and be called with a kind of state A (control of all-wave shape), two states is state B (a forward half cycle Waveform Control) in addition, state C (negative sense half cycle Waveform Control).
Above-mentioned signal acquisition process circuit is by resistance R 1, R2, R3, R4, the R5 of different resistances, capacitor C 1, C2, C3, voltage stabilizing didoe D3; High-voltage diode D4, signal diode D5, D6, D7, NPN signal triode Q1 and MPU microprocessor IC1 constitute; Annexation is described in detail in summary of the invention, and wherein the resistance value of resistance R 2, R3 is 1M, and the resistance value of R1 is 330K; MPU microprocessor IC1 goes up definition PIN1 and PIN2 is two input signal detection control of a microprocessor pin, and definition Vout is the variation according to input signal detection control pin, the MUP output pin of making the respective change adjustment; Controlled plant can be realized regulation and control through the variation that receives Vout; It can be that an imitated output quantity also can be the output of each PWM control for Vout, the annotation of circuit for ease, and the present invention has adopted imitated output quantity.
According to shown in Figure 4, the relation of microprocessor IC1 and PIN1 and PIN2:
State 1: corresponding to state A, D, E, F, the G of controller, the output variable of Vout keeps constant under this state;
State 2: corresponding to the state B of controller, MPU microprocessor definition Vout maintenance linear positive growth in time is until maximum under this state; In addition, in order to protect some circuit of rear end, can design a protection, when this state continuance surpasses certain hour (for example 10s), Vout is set to 30% maximum;
State 3: corresponding to the state C of controller, MPU microprocessor definition Vout maintenance linear negative growth in time is until minimum value under state;
State 4: MPU microprocessor definition Vout maintenance linear negative growth in time is until minimum value under this state; But actual track and controller state will can not make the appearance of this 4 states; This state is set is in order to define the possible state of all MUP microprocessors, thereby make the MUP microprocessor false judgment can not occur.
Can draw controller by the definition of above-mentioned controller and MPU microprocessor and have only three effective status A, B, C; The state 1,2,3 of the corresponding MPU microprocessor of difference; This can realize the corresponding one by one of state through the signal acquisition process circuit; As can be seen from Figure 2 signal controller through the sample of signal to the Ref place, is transferred to the PIN1 and the PIN2 of MPU microprocessor through can the transmission various signals arriving the Ref point after operating then; When controller is in different three states of A, B, C; Can be at Ref point place collect different voltages with different VR (with the ground after the full-bridge rectification as the no-voltage reference point), when controller was in state A, VR was the positive and negative alternate voltages that water exchanges incoming frequency; When being in state B, VR be greater than with the voltage of each half cycle that equals zero; When being in state C, VR be less than with the voltage of each half cycle that equals zero.
The principle of dimmer for light control of the present invention is following: when controller is in state A: Q1 is by respectively accounting for half period with conducting, and VR is along with the positive and negative alternate voltages that exchanges incoming frequency; When VR greater than zero the time, Q1 by, VR carries out quick charge through R1 to C1; Through R1, D5 carries out quick charge to C3; Through R1, R3 charges at a slow speed to C2; The voltage of charging will be limited in certain limit value (for each pin and the restriction charging ability of protecting MPU) by the D3 voltage stabilizing didoe.When VR equalled zero, each above-mentioned charge circuit did not recharge, and only has slight discharge, but since be provided with to discharge and recharge constant very high, and this time period is very short, so can ignore this process; When VR less than zero the time, Q1 conducting C1 is through the Q1 repid discharge; C2 is through D6, Q1 repid discharge; C3 is through R2, and Q1 discharges at a slow speed; Through a complete cycle, perhaps a plurality of cycles, the last voltage of C2 was almost nil when reaching balance, and the last voltage of C3 has been realized PIN1=' H ' PIN2=' L ' near voltage-stabiliser tube voltage, and Vout will operate according to MPU state 1.
[0027]When controller was in state B: Q1 was in by attitude all the time, and VR is greater than respectively accounting for the voltage of half cycle with equalling zero; When VR greater than zero the time, Q1 by, VR carries out quick charge through R1 to C1; Through R1, D5 carries out quick charge to C3; Through R1, R3 charges at a slow speed to C2; The voltage of charging will be limited in certain limit value (for each pin and the restriction charging ability of protecting MPU) by the D3 voltage stabilizing didoe.When VR equalled zero, each above-mentioned charge circuit did not recharge, and only has slight discharge, but since be provided with to discharge and recharge constant very high, and this time period is very short, so can ignore this process; Through a plurality of cycles when reaching balance, the last voltage of C2, C3 has been realized PIN1=' H ' PIN2=' H ' near voltage-stabiliser tube voltage, and Vout will operate according to MPU state 2.
When controller was in state C: Q1 was by respectively accounting for half period with conducting, and VR is less than respectively accounting for the voltage of half cycle with equalling zero; When VR equalled zero, each above-mentioned charge circuit did not recharge, and only has slight discharge, but since be provided with to discharge and recharge constant very high, and this time period is very short, so can ignore this process; When VR less than zero the time, Q1 conducting C1 is through the Q1 repid discharge; C2 is through D6, Q1 repid discharge; C3 is through R2, and Q1 discharges at a slow speed; Through a plurality of cycles when reaching balance, C2, the last voltage of C3 are almost nil, have realized PIN1=' L ' PIN2=' L ', and Vout will operate according to MPU state 2.
Come directly to output to the parts place of the inside reception dim signal of electronic dimming ballast at last through Vout, realize the brightness adjustment control of whole system.
Specific embodiment described herein only is that the present invention's spirit is illustrated.Person of ordinary skill in the field of the present invention can make various modifications or replenishes or adopt similar mode to substitute described specific embodiment, but can't depart from spirit of the present invention or surmount the defined scope of appended claims.
Although this paper has used terms such as signal controller, signal acquisition process circuit, electric ballast morely, do not get rid of the possibility of using other term.Using these terms only is in order to describe and explain essence of the present invention more easily; It all is contrary with spirit of the present invention being construed to any additional restriction to them.