Vehicle light control method and lamp lighting control circuit
Technical field
The present invention relates to a kind of method and correspondent control circuits thereof of controlling car light, particularly a kind of method and correspondent control circuits thereof that is used to control the electric current and voltage of Vehicular lamp.
Background technology
Automobile lamp can produce an instantaneous peak current in start-up course, be about 10 to 15 times of running current.Peak current produces a very large impact battery on the one hand, and can produce the overcurrent impact to the car light circuit, can shorten the normal useful life of car light simultaneously.Present processing method has two kinds: the one, provide a very big amount of redundancy to drive circuit, running current such as single dipped headlights is 4.8A, then choose the power chip that the maximum drive ability is 60A, when repeatedly starting with the assurance car light, chip for driving can not transshipped.Another solution be in the car light current supply circuit, seal in one can be by the resistance of short circuit, resistance plays the peak current effect that suppresses when just starting, when car light enters stable state, this resistance is by short circuit.This method has increased the number of elements of circuit board, the failure rate height.
And on the other hand, automobile power source is not the stable always car light load voltage value that remains on, under certain conditions, voltage might occur and be higher than rated voltage, car light will be operated on the load voltage value this moment, and car light works long hours under this state and will its circuit and life-span be had a negative impact.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of vehicle light control method, the peak current in the time of can eliminating the car light startup.
For solving the problems of the technologies described above, vehicle light control method of the present invention sends pwm signal by main control chip, and promptly pulse width modulating signal arrives the car light chip for driving; In the car light start-up course, master chip is adjusted the duty ratio of pwm signal, the pwm signal duty ratio is increased in time gradually, thereby the car light both end voltage increases gradually, equals the car light load voltage value up to the car light both end voltage.
The voltage at two ends was increased to rated value gradually by 0V when method provided by the present invention started car light, can realize seamlessly transitting of heater current, the peak current when eliminating the car light startup.
Another problem that the present invention will solve provides a kind of lamp lighting control circuit, the peak current in the time of can eliminating the car light startup, and make the car light both end voltage be stabilized in load voltage value always.
For solving the problems of the technologies described above, lamp lighting control circuit of the present invention, comprise master chip, can send pwm signal to the car light chip for driving, and in the car light start-up course, adjust the duty ratio of pwm signal, the pwm signal duty ratio is increased in time gradually, equal the car light load voltage value up to the car light both end voltage; The car light chip for driving can be accepted from the pwm signal of master chip and drives car light.
Also comprise discharge circuit, can be to the power supply supply power voltage by the preset proportion dividing potential drop, the voltage after partial value is in the scope of 0V~5V; Described master chip can calculate the power supply supply power voltage by the voltage after partial value, and can be when the power supply supply power voltage be higher than the car light rated voltage, adjust the pwm signal duty ratio and make the car light both end voltage equal the car light rated voltage, promptly make power supply supply power voltage, pwm signal duty ratio, car light both end voltage, car light rated voltage satisfy following relation: power supply supply power voltage * pwm signal duty ratio=car light both end voltage=car light rated voltage.
Lamp lighting control circuit of the present invention can soft starting mode starts car light, the peak current when eliminating car light and starting, and can adjust the mode of PWM duty ratio by master chip, make the car light both end voltage be stabilized in the car light load voltage value always.
Description of drawings
Accompanying drawing is the schematic block circuit diagram of one embodiment of the invention.
Embodiment
The present invention is further detailed explanation below in conjunction with accompanying drawing.
Lamp lighting control circuit shown in Figure 1 mainly comprises two parts: master chip and car light chip for driving.When opening the headlight lighting switch, start signal passes to main control chip, and main control chip sends pwm signal, i.e. pulse width modulating signal (Pulse-Width-Modulation) is to the input port of the car light chip for driving of this car light of control; In the car light start-up course, the duty ratio of pwm signal increases gradually by certain linear dependence in time, thereby the car light both end voltage increases gradually, equals the car light load voltage value up to the car light both end voltage, remains on the car light load voltage value then.According to the car light load characteristic, in the certain hour after car light starts beginning, be generally in 600ms~800ms, the pwm signal duty ratio is increased to certain value, interior certain value of 30%~50% scope that is generally from 0; Speed with every 50ms duty ratio increase by 8%~12% increases progressively then.Concerning the position lamp of automobile, can be in the 700ms that starts beginning, the PWM duty ratio changes to 40% from 0, increases by 10% rate variation then with every 50ms duty ratio.Like this, the car light both end voltage will progressively be increased to rated value by 0 volt, and in 700ms, the voltage at the two ends of car light is about its rated value and gets 40%, can realize seamlessly transitting of heater current, eliminates peak current.
In addition, lamp lighting control circuit shown in Figure 1 also comprises discharge circuit, the vehicle light power supply supply power voltage, as the voltage that provides by battery, after discharge circuit carries out dividing potential drop in proportion, enter into the analog digital ALT-CH alternate channel of master chip, master chip can calculate current power supply supply power voltage in real time by the numerical value after the dividing potential drop; When the power supply supply power voltage was higher than the car light rated voltage, master chip can be adjusted the duty ratio of pwm signal, made the car light both end voltage be stabilized in its load voltage value always.Power supply supply power voltage, pwm signal duty ratio, car light both end voltage, car light rated voltage satisfy following relation during adjustment: power supply supply power voltage * pwm signal duty ratio=car light both end voltage=car light rated voltage.
Vehicle light control method of the present invention and lamp lighting control circuit can effectively be eliminated motor vehicle by the soft starting mode that pwm pattern provided, the harmful effect that peak current when starting as the headlight of automobile or motorcycle and automobile or motorcycle battery variation in voltage produce car light circuit and filament; When cell voltage is too high, guarantee that the car light supply power voltage maintains its rated value simultaneously.The present invention has improved the security performance of vehicle body circuit, has also prolonged the useful life of car light greatly.