» Topics » Advice »Economical daytime running lights with fog lights

Economical daytime running lights with fog lights


All modern cars they have the “Daytime Running Lights” (DRL) mode, on old foreign cars and domestic cars there is no such “wealth”, each is blown out in its own way. In this article I describe my "torment" of invention. I have an old Opel Vectra B 1996

The idea to develop an economical and automatic inclusion of daylight using foglights was born to me a long time ago (I would not lie in 2011-12). First I tried on all sorts of Chinese LED bulbs, headlights. All this required changes either in the headlight, or hanging / gluing to the bumper, etc. This did not suit me, besides, I saw on other cars how LED lamps begin to blink or do not shine evenly. The option with the inclusion of foglights led to the fact that the battery would sit faster during close trips around the city, especially in winter. I also dismissed the included dimensions instead of the DRL, due to stealth in the daytime and due to the fact that they can accidentally be left turned on in the parking lot. And if you forget to turn them on, then you could run into a fine.

And so, the task: automatically turn on foglights sparingly, turn it off when the dimensions, dipped beam are turned on or when the ignition is turned off.

The first circuit was born on relay logic.

Connection option in the photo:



When the ignition is turned on and the dipped beam is off, the DRL mode is automatically turned on. Fog lights are connected in series to + 12V, respectively, consume less.

Description of the circuit: when the ignition is turned on (low beam off), the current flows through the parallel connected relay coils K1, K2, K3, then through the direct transition of the open diode D1, and through the low beam to ground. The resistance of the filament of the low-beam lamps is small, compared with the resistance of the relay windings, so almost the entire supply voltage will be present on the windings. The relays turn on, contact K1.1 supplies 12V, and contacts K2.1 and K3.1 change the connection of the fog lamps from parallel to in series.

When you turn on the low beam on the minus terminals of the relay windings, the mass disappears, the relays are disconnected and the DRL is turned off. Diode D1 in the circuit is needed to prevent the relay from turning on when the ignition is off and the dipped beam is on. On the Opel Vectra B, the dipped beam is turned on regardless of the ignition.

Description Explanation:



With the pluses: after all, automation, additional heating of the fog lamps with half voltage, the price of 3 relays and additional wires, a fat minus: cut the standard wires, stretch the wires to each fog and the low brightness of the fog lamps in daylight mode.

I decided to make the next development for the implementation of the task from what I have at hand electronically without major changes in wiring.

Task: Automation + PWM fog control, connection to standard wiring in the car. Implemented the circuit on an inexpensive microcontroller PIC12F629. The program was written in assembler.

Algorithm: when the vehicle is started, when the vehicle starts to move and the dimensions are off, a low voltage is applied to the foglights using a PWM (approximately 9V). Deactivation of the DRL mode occurs when the ignition is turned off, the dimensions / dipped beam / fog lights are turned on. Motion control is constant, if the dimensions in the movement were turned on, and then turned off - DRL mode is turned on.

I did not start disabling DRL on a stopped car in a traffic jam or at a traffic light, because it will prove to my DPS nickname that you automatically turn on the light in traffic, it will become more expensive. In addition, you can turn off the mode by manually turning the dimensions on and off.



The scheme is working, it has been standing on my Opel for about 7 years and, compared with the constantly turned on foglights like DRL, it is noticed that in this mode the battery is discharged less. I did not measure anything, purely analysis. While writing the article, I suddenly realized that during all this time I have NEVER CHANGED THE BULBS in the fog! Although it used to be, there are ordinary domestic ones.

Details that will be needed to repeat:
1. PIC12F629 -1; (Chip-Dip price - 97 rubles, bought at 37 rubles.)
2. -1; (5V voltage regulator)
3. All resistors 0.125W, ratings on the circuit;
4. Diodes D1, D2, D3 - 1N1401. (any low power)
5. Diodes D4, D5 - 1N1404; (more powerful, 1A)
6. Ceramic and electrolytic capacitors are indicated in the diagram.
7. Choke L1 - used a coil from a car relay.
8. IRLML2803 - 2pcs.; MOSFET field-effect transistor (any N-type suitable for a current of 1-5A and a voltage of at least 20V, for example SMD AO3400, bought for 96 rubles - 100 pcs.)
9. -1; MOSFET, a powerful N-type field effect transistor. It did not turn out to be a powerful P-type field effect transistor, but a large number of powerful N-type transistors are present on old motherboards, one of which I use here.

Full opening of the transistor is achieved if the control voltage at the gate is greater than 16V. At 12V, the gate at the gate along with the frequency changed the amplitude at the output of the transistor and, as a result, its strong heating, solved this problem by adding L1, D5, C6, and now the gate PWM with an amplitude of 20V. Frequency 10kHz. A powerful transistor must be installed on the radiator, I have on the ribbed radiator from the computer power supply 6x6cm. I assembled the circuit on a breadboard, and placed the finished device in a block from the alarm.



For firmware controller requires a programmer, I programmed using PICKit2.
: 020000040000FA
: 040000000C28831233
: 08000800A3000308A400240872
: 100010008300A30E230E090083166400DE308100E6
: 1000200083128501073099008316383085008312CA
: 10003000851D0C2864004920851A0C281430A10065
: 100040006400051A20286400051E2328A10B20281F
: 10005000851D0C2864004920851A0C280515000010
: 10006000000064004E2005110000000064004E20D6
: 10007000851D0C286400851A0C282E280530A20046
: 100080001430A10064000000A10B4228A20B4028FC
: 100090000800A7016400A70B4A2808001930A70030
: 0600A000A70B5028080028
: 02400E00CC0FD5
: 00000001FF


The finished device is not difficult to connect. Signals - dimensions, speed sensor, emergency oil pressure sensor (signal from the generator is not suitable) is on the instrument panel connector on almost all foreign cars until 2005. In domestic there are also new ones. Power + 12V connect through a 15A fuse to the ignition (indicated in the diagrams as terminal 15), or better to ACC (indicated in the diagrams to terminal 75), the output of the device is to fog. If you have questions, I can answer in the comments. I can help in programming the controller or send the programmed one.

Connection diagram in the dashboard Opel Vectra B:

Suitable for topic

Related topics

Add a comment

    • smilesmilesxaxaokdontknowyahoonea
      bossscratchfoolyesyes-yesaggressivesecret
      sorrydancedance2dance3pardonhelpdrinks
      stopfriendsgoodgoodgoodwhistleswoontongue
      smokeclappingcraydeclarederisivedon-t_mentiondownload
      heatirefullaugh1mdameetingmoskingnegative
      not_ipopcornpunishreadscarescaressearch
      tauntthank_youthisto_clueumnikacuteagree
      badbeeeblack_eyeblum3blushboastboredom
      censoredpleasantrysecret2threatenvictoryyusun_bespectacled
      shokrespektlolprevedwelcomekrutoyya_za
      ya_dobryihelperne_huliganne_othodifludbanclose
19 comments
Guest Pavel
Hello!
Please advise:
how to make it simpler so that the DRLs turn off when the dimensions or the near one are turned on (the near one does not work without ignition)? It seems, as I understand it, through the diode ...
Only here is the MAN truck, 24 Volt.
I want to offer to open the mass of one lamp and apply a plus, it turns out that there will be a sequential turn on and another relay to open, so that when the dimensions are turned on, the relay switches minus back
[u] [/ u]
So I do not argue. I'm just clarifying ...
After all, these misconceptions are massive !!! We have a large half of the people do not know that the battery, even on a fully functional machine, must be removed and maintained. Of the remaining half, two-thirds do not know exactly how it should be serviced ... They probably heard the following: “We have to drive the night!”.)))). Moreover, he doesn’t know HOW it is necessary to “drive”, with what currents and so on. And that is not a "night" at all, but the time that is needed ...)))). Sometimes it takes several days.)))
As a result, many believe that a battery that is three to four years old is already old and "what do you want from it?".)))). And I want him to work for seven or eight years if it’s cheap and simple, and for his fifteen years if it was created by a famous manufacturer who is a supplier to the conveyor ...)))). And so that at the same time he would keep his capacity to the maximum, and not lose it by half after the first year ...
And all you need for this is to UNDERSTAND the essence of his work, and the essence of the processes in it, to service it in time, and to monitor the state of the generator in the car ...
Well, of course, to service CORRECTLY, without confusing the concepts of "current" and "voltage", and knowing what exactly you are doing ....
Author
Dear, read the materiel of the car. The regulator even has a corresponding name.
Valerydon't argue. Man's errors are his own business.
I especially liked this pearl - "." This is phenomenal !!!
Sorry, but you, like, say everything "as if" correctly, but .... you have a bunch of misconceptions inherent in most motorists ...
Dear, the battery is charged with a current that becomes equal to the nominal at working speeds, and this is not lower than 2500-3000 on gasoline engines, at lower speeds the current will be less.

That's what I said above about this error. It is quite common ...
To understand that you are mistaken, think about this: WHAT IS THE CURRENT HERE ??? ... After all, on a car, as I said, charging is carried out by the method of a constant VOLTAGE value, not the CURRENT! And the internal resistance of a fully charged battery is high, therefore, it takes a tiny amount of current. Only a battery that has not been removed from the machine for a year will not be able to fully charge under such conditions (read: with a half charge and already with sulfate on the plates)))
plus self-discharge (especially in winter).
A working battery has almost no self-discharge. Its capacity will last for about a year ... The main consumer on a muffled car is an immobilizer. In winter, the density of the electrolyte, on the contrary, is increased - after all, they added water and you charged it already at low temperatures.
so that there are no problems with the plant from the "dead battery" after starting, you must drive at working speeds of 15 minutes, or even more, depending on the state of the battery and the contacts on it.

Minimum - half an hour !!! In real life, it is almost impossible to observe. That is why the battery is removed from the car twice a year and charged on a stationary charger.
The voltage regulator on the generator limits precisely the voltage so that the electronic components do not burn out and the battery itself does not swell. It turns on only at moments of excess voltage for lead batteries not higher than 14.4V, before that it does not participate in the charging process

That is, it works ALWAYS! Because the voltage even at idle is often higher.
Prior to this, it does not participate in the charge process (does not decrease or increase the current).

You are mistaken again! He has nothing to do with the current !!! Only to stress!
At idle, a perfectly serviceable generator with a serviceable battery can hold voltage of 13V. This is not a malfunction and does not mean replacing either one.

This is a MALFUNCTION !!! And it says that the generator requires maintenance !!! (As a rule - brush replacement)
And so it’s IMPOSSIBLE to ride !!! I repeat: when everything that can be turned on is turned on, the voltage idling should not be less than 14 volts !!! 13.8 - you can still ride, but not desirable !!! But, if so, then you need to charge already on the charger not twice a year, but, preferably, every month. Otherwise, your battery (even a new one) will not last more than three to four years!
Author
Dear, the battery is charged with a current that becomes equal to the nominal at working speeds, and this is not lower than 2500-3000 on gasoline engines, at lower speeds the current will be less. Accordingly, to restore the battery capacity spent on the starter, it is necessary at lower currents (idle) more time. With working and high revolutions less time. But this is ideal. Add to this the included stove, headlights, music, etc. and now you need to ride longer at working speeds or keep high speeds. This is only to restore the spent capacity to start the engine, but you also need to restore the spent battery capacity in the parking lot from the standby mode of all electronic units plus self-discharge (especially in winter). If all this is taken into account, then in order to avoid problems with the plant from a "dead battery" after starting it is necessary to drive at working speeds of about 15 minutes, or even more, depending on the state of the battery and the contacts on it. And accordingly, reduce consumption on short trips, turn off unnecessary consumers, etc. The voltage regulator on the generator limits precisely the voltage so that the electronic components do not burn out and the battery itself does not swell. It turns on only at moments of excess voltage for lead batteries not higher than 14.4V, before that it does not participate in the charging process (it does not decrease or increase the current). At idle, a perfectly serviceable generator with a serviceable battery can hold voltage of 13V. This is not a malfunction and does not mean replacing either one.
Thanks nonetheless for the comment.
Quote: Valery
NOT TRUE!!! The difference is very small!

Absolutely right.
The battery in the car is charged with a current of about 1A. Generators on modern cars give a current of up to 120 A at 5000 rpm. Even if at XX the maximum current is about 20A, then it will be more than enough for charging, but also for lights, air conditioning, music, etc.
A common misconception: "At idle, the battery charges much weaker than at high speeds!"
NOT TRUE!!! The difference is very small!
The car uses the method of charging the battery with a constant voltage value! If the voltage is less than 14 volts when the headlights and the fan of the stove are on, this is already a faulty car !!!!.)))
And, if she is 14, then on the biggest gas she is 14.4 maximum! (Otherwise, the relay-regulator is faulty (or what is instead).
If the battery runs down from the inclusion of additional. load (not powerful! Not another starter and not glow plugs)))), then this only indicates a malfunction!
Quote: Giradik
when fully turned on, the fog lighted up faster when traveling around the city,

This means that there is a mess with 1) the generator or 2) the battery.
When traveling weather the engine always runs at high speeds (2000-4000). It is at these speeds that the generator gives maximum power.Therefore, if the trip is not for 5-10 minutes, then the battery simply must be always charged. My 40 years of driving experience fully confirms this.
In my diagram, DRLs turn on automatically when you turn the ignition key and turn off automatically too. It is impossible to forget to turn them off.
Author
Why not, if everything suits. When I turned on the foglights completely, the battery sank faster when traveling around the city, I wrote about this in an article. Therefore, he decided on the economical inclusion and considered options. Of course, the automatic inclusion, so as not to think: "turned on / not turned on" when you leave.
P.S. Since the diagnostician himself, during the diagnosis of injection on an un-wound car, sometimes it is sometimes necessary to turn off all consumers, for example, during adaptation of the throttle valve, etc. Therefore, for all the convenient "lotions" I paint the algorithms for working on cheap microcontrollers, I use PIC12F629. By the way, it turns out to be more reliable and simpler on them (with the algorithm of work I need). I will lay out somehow an immobilizer circuit (active anti-theft), which in the 90s I put on cars with discrete elements and then on a microcontroller.
Thanks for the comment, more homemade products, more comfortable life!
Through the cold thread L2, of course.

Relay K1 - the inclusion of low beam or PTF, or whatever you want to use as DRL.
L2 - lamp dimensions.
If the side lights are not turned on, then K1 fires through the cold thread L1 and turns on the DRL. As soon as the dimensions are turned on, the DRL goes out.
You can, of course, sketch the wires and tie them on the handbrake or wherever you wish. Remember only one thing - the simpler, the more reliable.
I have been driving with such a diode for 7 years. As DRL, dipped headlights are used.
Author
I agree, you can. On one VW Passat also saw the management of DRL through the handbrake. Until you let go, DRL does not turn on. But there was a circuit with PWM on 2 powerful P-type field workers. In my circuit with the relay, you can also use the negative cable of the K1 relay (85 or 86, I didn’t indicate it on the diagram) through a diode to be connected separately to the generator lamp on the dashboard, then the DRLs will be turned on only with the engine running.
Author
Quote: Nruter
Why fence the garden? One diode is enough.

Dear, I did not understand the comment about one diode ...
morrano
And why so much junk in the scheme. It lacks two relays with NZK and NOC contacts.
Why fence the garden? One diode is enough.
Guest Vladimir
Respect for homemade! True, I myself did everything on the relay and + started up the power supply through the parking brake end switch.

We advise you to read:

Hand it for the smartphone ...