The multiple constant current lighting circuit that is used for automobile
Technical field
The utility model relates to electricity field, relates in particular to lighting circuit, particularly a kind of multiple constant current lighting circuit that is used for automobile.
Background technology
Electronic unit Source Music in the automobile, air-conditioning control head and combination instrument all adopt the LED illumination.The brightness of customer requirement LED illumination all will have stable performance under different temperature and different automobile batteries voltage (usually between 9v ~ 16v).In the prior art, LED lighting circuit commonly used has following several kinds: 1. LED and current-limiting resistance are cascaded, and anode and the negative terminal with power supply connects then.Sort circuit is the simplest, however the electric current of LED change along with the change of cell voltage, thereby cause the brightness meeting that significant the variation taken place.2. on basis 1., increase a switch triode, come the Kai Heguan of control switch triode by pwm signal of the MCU in the automobile ECU (microcontroller) output.When cell voltage raises, reduce the duty ratio of pwm signal; When cell voltage reduces, the duty ratio of rising pwm signal.Sort circuit improves to a certain extent by cell voltage and changes the influence that is brought; Yet MCU can't accomplish response at a high speed when detecting cell voltage; When cell voltage when there is bigger variation the very short time, the brightness of LED still can let the findable variation of passenger.3. on basis 1., adopt the power supply chip of voltage stabilizing to produce a stable voltage.Sort circuit can heighten and add the cost of circuit, and when the driving multi-string LED needed bigger electric current, the heat radiation of power supply chip also can become a problem.4. the constant-current circuit of being made up of two triodes, the be knot of one of them triode is as current detection circuit.The problem that sort circuit treatment of battery voltage fluctuation preferably brings; But when temperature changed, the voltage of the be of triode knot can change along with temperature, thereby causes the relatively poor temperature characterisitic of sort circuit; When temperature change, the brightness of LED also can change thereupon.
Summary of the invention
The purpose of the utility model is to provide a kind of multiple constant current lighting circuit that is used for automobile, and the described this multiple constant current lighting circuit that is used for automobile will solve prior art automobile LED brightness of illumination can be with the technical problem of cell voltage variation.
This multiple constant current lighting circuit that is used for automobile of the utility model; The branch road lighting circuit of positive pole, earth terminal, an error-detector circuit, a negative-feedback circuit and an above number that comprises a pulse width modulating signal output, the battery of microcontroller; Wherein, Described error-detector circuit comprises one first triode and one second triode; Described negative-feedback circuit comprises one the 3rd triode, first resistor, second resistor, the 3rd resistor, first diode and one the 9th resistor; First triode is identical with the model of second triode; First triode and second triode are formed differential pair, and the base stage of first triode is connected with described pulse width modulating signal output, and the emitter of the emitter of first triode and second triode links to each other, also is connected with described earth terminal through described first resistor jointly; The collector electrode of first triode is connected with the base stage of the 3rd triode; The collector electrode of first triode is connected with the positive pole of described battery through the 9th resistor, and the collector electrode of second triode is connected with the positive pole of battery, and the emitter of the 3rd triode is connected with the positive pole of battery through the 3rd resistor; The collector electrode of the 3rd triode is connected with the positive pole of first diode; The negative pole of first diode is connected with earth terminal through second resistor, and the base stage of second triode is connected with the negative pole of first diode, and any described branch road lighting circuit all each free proportional current source circuit constitutes; Any described proportional current source circuit all includes a branch road resistor, a branch road triode and at least one branch road light-emitting diode separately; In any branch road lighting circuit, the base stage of described branch road triode all is connected to the collector electrode of first triode, and the emitter of branch road triode all is connected to the positive pole of battery through described branch road resistor; The collector electrode of branch road triode all is connected with the positive pole of described branch road light-emitting diode, and the negative pole of branch road light-emitting diode all is connected to earth terminal.
Further, described first triode and second triode are NPN type triode.
Further, described the 3rd triode and any described branch road triode are the positive-negative-positive triode.
Further, described first diode is a light-emitting diode.
Further, comprise two branch road light-emitting diodes in the described branch road lighting circuit, described two branch road light emitting diode string downlink connection.
The operation principle of the utility model is: first triode and second triode are formed differential pair; The negative-feedback circuit of the 3rd triode, first resistor, second resistor, the 3rd resistor, first diode and one the 9th resistor composition constant current; The differential pair that first triode and second triode are formed is as error-detector circuit; When cell voltage reduces, the voltage between anode and the earth terminal reduces, and the voltage on second transistor base is less than the voltage on first transistor base; The collector electrode of first triode flows through bigger electric current; Thereby drive the base stage of the 3rd triode, make the bigger electric current of collector electrode output of the 3rd triode, thereby it is basic identical to make that voltage on second resistor is elevated to the base voltage of first triode and second triode; Equal the ratio of MCU output voltage and the second resistor resistance through the electric current of first diode then, the resistance of changing second resistor can be regulated the electric current of first diode easily.Branch road resistor, branch road triode and branch road light-emitting diode proportion of composing current source circuit; When the resistance of branch road resistor equated with the resistance of the 3rd resistor, the electric current of branch road transistor collector output equated with the electric current of the 3rd transistor collector output.The resistance of regulating each branch road resistor can be regulated the electric current output of each branch road easily.
The utility model and prior art are compared, and its effect is actively with tangible.The utility model adopts two triodes to form differential pair in the lighting circuit of automobile; In order to the error current of power supply number is detected; Cooperate negative-feedback circuit, can overcome the unstable problem that is caused of temperature drift and supply power voltage, thereby make illumination more stable; Each illuminating line is separate, and its LED electric current can conveniently be adjusted, and can conveniently expand the more fan-out capability of multichannel, the pwm signal of the different duty through microcontroller output, and the scalable electric current, thus need not to change circuit and realize the software light modulation.
Description of drawings
Fig. 1 is the schematic diagram of the multiple constant current lighting circuit that is used for automobile of the utility model.
Embodiment
Embodiment 1
As shown in Figure 1; The multiple constant current lighting circuit that is used for automobile of the utility model; Comprise the pulse width modulating signal output of microcontroller MCU, positive pole, earth terminal, an error-detector circuit, a negative-feedback circuit, first a branch road lighting circuit, second a branch road lighting circuit, the 3rd a branch road lighting circuit and one the 4th branch road lighting circuit of battery BATTERY; Wherein, Described error-detector circuit comprises one first triode Q1 and one second triode Q2; Described negative-feedback circuit comprises one the 3rd triode Q3, one first resistor R 1, one second resistor R 2, one the 3rd resistor R 3, the first diode D1 and one the 9th resistor R 9; The first triode Q1 is identical with the model of the second triode Q2; The first triode Q1 and the second triode Q2 form differential pair; The base stage of the first triode Q1 is connected with described pulse width modulating signal output, and the emitter of the emitter of the first triode Q1 and the second triode Q2 links to each other, also is connected with described earth terminal through described first resistor R 1 jointly, and the collector electrode of the first triode Q1 is connected with the base stage of the 3rd triode Q3; The collector electrode of the first triode Q1 is connected with the positive pole of described battery BATTERY through the 9th resistor R 9; The collector electrode of the second triode Q2 is connected with the positive pole of battery BATTERY, and the emitter of the 3rd triode Q3 is connected with the positive pole of battery BATTERY through the 3rd resistor R 3, and the collector electrode of the 3rd triode Q3 is connected with the positive pole of the first diode D1; The negative pole of the first diode D1 is connected with earth terminal through second resistor R 2; The base stage of the second triode Q2 is connected with the negative pole of the first diode D1, and the first branch road lighting circuit is made up of branch road resistor R 4, branch road triode Q4, branch road light-emitting diode D2 and branch road light-emitting diode D3, and the base stage of branch road triode Q4 is connected to the collector electrode of the first triode Q1; The emitter of branch road triode Q4 is connected to the positive pole of battery BATTERY through branch road resistor R 4; The collector electrode of branch road triode Q4 is connected with the positive pole of branch road light-emitting diode D2, and the negative pole of branch road light-emitting diode D2 is connected with the positive pole of branch road light-emitting diode D3, and the negative pole of branch road light-emitting diode D3 is connected to earth terminal.The second branch road lighting circuit is made up of branch road resistor R 5, branch road triode Q5, branch road light-emitting diode D4 and branch road light-emitting diode D5; The base stage of branch road triode Q5 is connected to the collector electrode of the first triode Q1; The emitter of branch road triode Q5 is connected to the positive pole of battery BATTERY through branch road resistor R 5; The collector electrode of branch road triode Q5 is connected with the positive pole of branch road light-emitting diode D4; The negative pole of branch road light-emitting diode D4 is connected with the positive pole of branch road light-emitting diode D5, and the negative pole of branch road light-emitting diode D5 is connected to earth terminal.The 3rd branch road lighting circuit is made up of branch road resistor R 6, branch road triode Q6, branch road light-emitting diode D6 and branch road light-emitting diode D7; The base stage of branch road triode Q6 is connected to the collector electrode of the first triode Q1; The emitter of branch road triode Q6 is connected to the positive pole of battery BATTERY through branch road resistor R 6; The collector electrode of branch road triode Q6 is connected with the positive pole of branch road light-emitting diode D6; The negative pole of branch road light-emitting diode D6 is connected with the positive pole of branch road light-emitting diode D7, and the negative pole of branch road light-emitting diode D7 is connected to earth terminal.The 4th branch road lighting circuit is made up of branch road resistor R 7, branch road triode Q7, branch road light-emitting diode D8 and branch road light-emitting diode D9; The base stage of branch road triode Q7 is connected to the collector electrode of the first triode Q1; The emitter of branch road triode Q7 is connected to the positive pole of battery BATTERY through branch road resistor R 7; The collector electrode of branch road triode Q7 is connected with the positive pole of branch road light-emitting diode D8; The negative pole of branch road light-emitting diode D8 is connected with the positive pole of branch road light-emitting diode D9, and the negative pole of branch road light-emitting diode D9 is connected to earth terminal.
Further, the first triode Q1 and the second triode Q2 are NPN type triode.
Further, the 3rd triode Q3, branch road triode Q4, branch road triode Q5, branch road triode Q6 and branch road triode Q7 are the positive-negative-positive triode.
Further, the first diode D1 is a light-emitting diode.
The operation principle of the utility model is: the first triode Q1 and the second triode Q2 form differential pair; The 3rd triode Q3, one first resistor R 1, one second resistor R 2, one the 3rd resistor R 3, first diode D1 and one the 9th resistor R 9 are formed the negative-feedback circuit of constant currents; The differential pair that the first triode Q1 and the second triode Q2 form is as error-detector circuit; When battery BATTERY voltage reduces; Voltage between battery BATTERY positive pole and the earth terminal reduces; Voltage on the second triode Q2 base stage is less than the voltage on the first triode Q1 base stage, and the collector electrode of the first triode Q1 flows through bigger electric current, thereby drives the base stage of the 3rd triode Q3; Make the bigger electric current of collector electrode output of the 3rd triode Q3; Thereby it is basic identical to make that voltage on second resistor R 2 is elevated to the base voltage of the first triode Q1 and the second triode Q2, equals the ratio of MCU output voltage and second resistor R, 2 resistances through the electric current of the first diode D1 then, and the resistance of changing second resistor R 2 can be regulated the electric current of the first diode D1 easily.Branch road resistor, branch road triode and branch road light-emitting diode proportion of composing current source circuit; When the resistance of branch road resistor equated with the resistance of the 3rd resistor R 3, the electric current of branch road transistor collector output equated with the electric current of the 3rd triode Q3 collector electrode output.The resistance of regulating each branch road resistor can be regulated the electric current output of each branch road easily.
Concrete, in the embodiment of the utility model, be input as the I/O output of the pulse width modulating signal of microcontroller MCU, be output as constant currents such as multichannel.When MCU output vo was low level, constant-current circuit was in closed condition; When MCU output vo high level, the electric current on the first diode D1 is vo/R2, and the electric current on branch road light-emitting diode D2 and the D3 is (vo/R2) * (R3/R4), and the electric current of other branch road by that analogy.
Above-mentionedly be merely a preferred embodiment in the utility model, other should be contained in the protection range of present patent application according to design circuit of the utility model or the design that derives.