Categories: Practical Electronics, Home automation
Number of views: 182917
Comments on the article: 10

The easiest twilight switch (photo relay)

 


The easiest twilight switchThe modern elemental base of electronics greatly simplifies circuitry. Even a normal twilight switch can now be assembled from just three parts.

Quite often, situations arise when, after dark, the inclusion of lighting is required. This may be the entrance to the entrance of the apartment building, the porch and the courtyard of a private household, or simply lighting the house number. This inclusion is usually carried out using twilight switch (photo relay).

There are a lot of similar schemes developed, both in amateur and in industrial conditions. Like everything else, these designs have their positive and negative properties. Some of the negative properties are such as the need for an external constant voltage source (+12 V), or the complexity of the circuit.

The disadvantages of such devices should also include the use of a relay, whose contacts simply burn out over time. There are a lot of simple and cheap twilight switches on sale in electrical goods stores, but the quality of their work is often unsatisfactory. Such difficulties often push consumers away from using such switches.



Functional diagram of twilight switches simple enough. Conventionally, it can be divided into three components: photocell (photoresistor, phototransistor, photodiode), threshold device (comparator)output device (relay or triac) In daylight, the resistance of the photoresistor is small, so the voltage on it does not exceed the threshold of the comparator. And so the load (lighting) is off.

With a decrease in illumination, the resistance of the photoresistor increases and the voltage on it increases. At a certain point, the voltage level at the photoresistor reaches the threshold of the comparator, which with the help of the relay turns on the lighting.

It would seem that the operation algorithm is quite simple, and it is not difficult to implement it. But, nevertheless, some circuits are quite complex, and if performed on transistors without the use of microcircuits, they may contain a dozen or other parts.

At the same time, the modern elemental base of electronics allows you to create very simple and functional photo relay circuits. This is achieved by integration (integration) of some elements into others. An example of such integration is one of the developments of the company Teccor Electronics.

This is a triac or, in a foreign manner, a triac, with a built-in (integrated) symmetrical dinistor acting as a threshold device. Such a device is called Quadrac. Its internal circuit is shown in Figure 1.

It is easy to see that this is a common triac, only a symmetric dinistor is connected in series to the control electrode circuit. According to the reference data (DataSheet), the threshold voltage of the integrated dinistor is in the range 33 ... 43 V.

Triac type quadrac. Schematic diagram

Figure 1. Quadrac triac. The scheme is basic.

Quadrac triacs are available in a standard TO-220 enclosure with an insulated crystal, as shown in Figure 2. They do not differ in design or appearance from conventional triacs. Even the pin layout is the same.

Triac type quadrac. Appearance and arrangement of conclusions

Figure 2. Triac type Quadrac. Appearance and arrangement of conclusions.

Depending on the specific model, Quadrac differ in maximum currents and voltages: currents are in the range of 4 ... 15 A, and permissible voltages are 200 ... 600 V. Special Quadrac are intended for use in highly inductive circuits. These models have the letter H at the end of the designation, for example Q6006LTH.

In general, to understand the marking of these triacs is quite simple. We will deal with it on the example of the just mentioned Q6006LTH.

The first letter Q, as you might guess, is borrowed from Quadrac and means that it is nothing more than a triac with a built-in dinistor.

The two digits following the first letter, in this case 60, mean that the operating voltage of this device is 600 V.

The last two digits 06 indicate that the maximum working current is 6 A.

The letter H at the end of the designation is information that this type of device can be used to control an inductive load, such as a magnetic starter coil.

When using a conventional triac in this case (without the letter H at the end of the designation), terminals 1 and 2 of Q1 (see the diagram in Figure 3) must be shunted by an RC circuit consisting of a 100 Ohm resistor and a 0.1 MkF capacitor connected in series. Wherein power resistor must be at least two watts, and the operating voltage of the capacitor is not lower than 600 V. The capacitor, as always in such cases, is a film type K-73-17. If these measures are not taken, then the starter coil will not be held as it should: a loud battle bell will result.

Q4015LTH. Judging by the designation, such a Quadrac has an operating voltage of 400 V, a maximum current of 15 A, and is designed to work with a highly inductive load.

The purpose of a conventional triac is to switch the alternating current using voltage pulses on the control electrode. When used in a twilight switch, a threshold device is required, as described above.

A quadrac triac contains a threshold device within itself. This is an integrated dinistor with a response threshold of about 40 V. In order to create a twilight switch on such a triac, just two parts are enough. In the diagram, this is the resistor R1 and the photocell (photoresistor) PHOTOCELL. Such a scheme is shown in Figure 3.

Simple Twilight Switch

Figure 3. A simple twilight switch.

When the photocell is illuminated, its resistance is small (not more than a few kOhm), the voltage on the quadrock control electrode is insignificant, which is why it is in a closed state. In this case, the bulb, of course, does not light.

With a decrease in illumination, the resistance of the photoresistor increases, so voltage pulses appear on the control electrode, the amplitude of which increases with the onset of darkness. When the pulse amplitude reaches 40 V, the triac opens, the lamp lights up.

In the described device, a quadrack is used (such a name is quite applicable, even Yandex finds what it needs from it) with an operating voltage of 600 V and a current of 4 A. With these parameters, a load with a power of 400 ... 500 W can be turned on, and even not required installation of a triac on a radiator. If you install it on a radiator with an area of ​​about 100 square centimeters, then the load power can be increased to 750 watts.

If you plan to connect a load with more power, then Quadrac should be used for operating currents of 6, 8, 10 or 15 A.

The setup of the device is reduced to the selection of the resistance of the resistor R1, it depends on this value at what illumination the device will operate. The resistance value of the resistor R1 also depends on the photocell of the twilight switch, therefore, the value indicated in the diagram should be taken as an approximate one. The type of photoresistor in the diagram is not indicated. You can use any, for example SF3-1, FSK-7 or FSK-G1.

Setting up a homemade photo relay can be performed by lighting a photocell with a conventional incandescent lamp connected through power regulator.

Boris Aladyshkin

See also at bgv.electricianexp.com:

  • Photo relay schemes for lighting control
  • DIY do-it-yourself thermostat
  • Thyristor power controllers. Circuits with two thyristors
  • Simple power control for smooth lamp on
  • Triacs: From Simple to Complex

  •  
     
    Comments:

    # 1 wrote: | [quote]

     
     

    Hello. I assembled, exactly according to the scheme, only instead of the triac Q6006LTH (I did not find it) I took BT 137-600, it does not work, i.e. the light is constantly on and does not turn off when the photoresistor is placed in a dark place. Tell me, maybe I took the wrong triac? Thanks.

     
    Comments:

    # 2 wrote: andy78 | [quote]

     
     

    For a twilight switch circuit, a Quadrac triac is needed.

     
    Comments:

    # 3 wrote: Vitaliy | [quote]

     
     

    Thank you, I will search.

     
    Comments:

    # 4 wrote: AnDrEyKa_111 | [quote]

     
     

    The circuit liked simplicity! :) But there is a question: I need to supplement the scheme of smooth switching on by a twilight relay. How to connect this circuit in parallel to switch S1 in that topic? I understand that the terminals MT1 and MT2 of the quad should be connected in parallel with my switch. And how to apply power to the circuit? Directly 220 or from somewhere in my circuit?

     
    Comments:

    # 5 wrote: | [quote]

     
     

    Hello. Tell me whether it is possible to connect a step-down trans 220 \ 12 (for halogen lamps) to the output of the photo relay ifQuadracwithout the letter H at the end. The load is inductive, but there are no contacts, how in the starter there is nothing to ring - will the trance not burn? Thanks.

     
    Comments:

    # 6 wrote: | [quote]

     
     

    He assembled a circuit on BT 137-600, and on the UE put a DB3 dinistor from a burned-out lamp of a savings lamp. However, it works. I would like to smoothly configure the threshold. Is it possible to put the alternator in series with resistance R1? But it seems necessary to be powerful.
    Anyway, at the moment of the threshold value of the operation of the dinistor, there is a moment that the lamp starts to fade or blink. But the light on the street decreases very smoothly. Is it possible to get rid of this byaka?
    There is no clear triggering of the threshold device. Maybe still such a dinistor.
    Try two KN102 counter in parallel? In general, the author answers such questions?
    Thanks.

     
    Comments:

    # 7 wrote: Boris Aladyshkin | [quote]

     
     

    murmanik, you did everything right, but the whole point is that the simpler the circuit, the more difficult it is to get positive results from it, because there is simply nothing to achieve them: there are no tuning and adjustment controls. The charm of this scheme is just in simplicity, there are only three details, but it still works. Not to say bad, but not very good either.

    You can, of course, put in series with resistor R1 an alternator (preferably wire) with a rating of no more than 5 ... 6K, and a power of at least half a watt. But this can only achieve a change in the threshold (darker - lighter). To prevent blinking during switching on and off, it is necessary to increase the hysteresis of the threshold device.

    To improve the operation of the circuit, it will have to be complicated. An example of such a scheme can be found in the journal “Radio” 2012 No. 9 p. 31 in the article by I. Nechaev “Triac power regulator and lighting control automat”. This article has a circuit board and an explanation of how it works.

    AnDrEyKa_111, Pairing these two circuits is perhaps not the easiest option. Here you can advise the circuit shown in the article “Photo relay circuits for lighting control” in Figure 4.
    - bgv.electricianexp.com/main/praktika/601-shemy-fotorele-dlya-upravleniya-osvescheniem.htm

    The KR1118PM1 chip is designed just for lighting control, there will be a twilight relay and a smooth on / off switch. And all in one "basket". If you need to connect a more powerful load, then the circuit will have to be supplemented with an external triac, for example KU208G. How to do this can be found in the documentation for the chip.

     
    Comments:

    # 8 wrote: | [quote]

     
     

    Good afternoon! I want to ask specialists
    - I have a doorphone, I want it when it rings in the house so that it can be heard outside. For this, I want to connect an external call. At the exit to the intercom there are 4 inputs: +15 V power, "-", video, audio. So, when they call me on the intercom, on the audio contact, the power increases from 4.5 to 5.5 volts. I want to take advantage of this. I learned from friends about the comparator, but I can’t figure out how to do this with it. The meaning is this: when the signal goes to the intercom, the power increases from 4.5 to 5.5 to the comparator, it should "see" well and then "close" the relay contacts, when the power returns again to 4.5 the relay "opens" Thanks in advance!

     
    Comments:

    # 9 wrote: | [quote]

     
     

    Tell me, is it possible to install the sensor on a lamp that is already standing on a pole.Zero goes directly to the wires, and the phase through the switch. It turns out there is no zero, which is needed for the sensor?

     
    Comments:

    # 10 wrote: | [quote]

     
     

    Is it possible to use a thyristor in this circuit, and not a triac?