Showing posts with label control. Show all posts
Showing posts with label control. Show all posts

Tuesday, October 8, 2013

Model Railway Turnout Control

This small circuit can be used to control model railway turnouts operated by AC voltages. A logic level in the range of 5–12 V can be used as the control signal. The coils of the turnout are switched using triacs. Changes in the logic level of the input signal are passed on by the buffer stage built around T1 and T2. The buffer stage is included to boost the current available at the gates of the triacs. If the input goes high, this positive change is passed through via C1. That causes a positive current to flow through D2 (D2 is reverse biased) to the gate of T3. That triac switches on, and power is applied to the turnout coil.

Model Railway Turnout Control circuit schematic

This situation persists until C1 is fully charged. No more current flows after that, so the triac does not receive any gate current and switches off. If the input is set low, a negative current flows briefly via C1. It can flow through D2, but not through D1. T4 is switched on now, and the other turnout coil is energised. This circuit takes advantage of the fact that triacs can be triggered by negative as well as positive gate currents. If the turnout coils are energised for too long, you should reduce the value of C1.

If they are not energised long enough, increase the value of C1. The TIC206D can handle several ampères, so it can easily drive just about any type of turnout coil. You can also use a different type of triac if you wish. However, bear in mind that the TIC206 requires only 5 mA of gate current, while most triacs want 50 mA. That will cause the switching times to become quite short, so it may be necessary to reduce the value of R1.
Read More..

Tuesday, July 9, 2013

2500W Phase Control

This circuit controls resistive and inductive loads up to 2,500W. Its main functional device is an integrated phase control circuit - Siemens TLE3103. It contains its own power supply, a zero voltage crossing detector circuit and a logic driver. An additional feature is the low voltage input to enable/disable triac firing enabling/disabling the logic driver. The function is as follows: pin13 TLE3103 open (floating), trigger output active, tied to ground trigger output disabled.

2500W Phase Control  Circuit diagram


An UP and a DOWN button control a 32-step digital potentiometer (IC2, AD5228) via the debouncer IC1 (MAX6817). The potentiometer has a power on reset pin which might be tied to ground causing the potentiometer to start at midscale, or to VCC causing it to start at zero scale. The desired function is selectable using jumper JP1. The triac (capable of driving 40A loads) is a bit overkill for the desired power but the BTA41 has an isolated body and therefore handling of the board under voltage is less dangerous as it is with phase on the package. The circuit uses a 68μH inductance, but this might be replaced with a 100 resistor, then replacing the inductance C5 should have a value of 47nF.
Read More..

Saturday, July 6, 2013

IR Remote Control Tester

 Notes:
As I was developing my IR Extender Circuit, I needed to find a way of measuring the relative intensities of different Infra red light sources. This circuit is the result of my research. I have used a photodiode, SFH2030 as an infra red sensor. A MOSFET opamp, CA3140 is used in the differential mode to amplify the pulses of current from the photodiode. LED1 is an ordinary coloured led which will light when IR radiation is being received. The output of the opamp, pin 6 may be connected to a multimeter set to read DC volts. Infra red remote control strengths can be compared by the meter reading, the higher the reading, the stronger the infra red light. I aimed different remote control at the sensor from about 1 meter away when comparing results. For every microamp of current through the photodiode, about 1 volt is produced at the output. A 741 or LF351 will not work in this circuit.  Although I have used a 12 volt power supply, a 9 volt battery will also work here.
Read More..

Friday, July 5, 2013

IR Remote Control Extender Mark 1

Description
This circuit is used to relay signals from an Infra Red remote control in one room to an IR controlled appliance in another room.

Forward
I have seen these devices advertised in magazines, they sell for around £40-£50 and use radio to transmit between receiver and transmitter. This version costs under £5 to make and uses a cable connection between receiver and transmitter. For example, if you have a bedroom TV set that is wired to the video or satellite in another room, then you can change channels on the remote satellite receiver using this circuit. The idea is that you take your remote control with you, aim at the IR remote control extender which is in the same room, and this will relay the IR signal and control the remote appliance for you. The circuit is displayed below:


Parts List:

1 SFH2030 Photodiode
1 TIL38 IR emitting diode
1 5mm Red LED
2 4.7M 1/4W resistors
1 1k 1/4W resistor
1 2.2k 1/4W resistor
1 27ohm 1/2W resistor
1 BC337 transistor
1 CA3140 MOSFET opamp
The CA31340 is available in the US from Electronix Express, part number N103140.

Circuit Advantages
The advantage of this design against similar designs is that there are no adjustments to make or set-up procedures. However care should be taken to avoid ambient light reaching the photodiode. A dayligt filter type (black in colour) is recommended. Bellwire or speaker cable may be used to remotely site the IR emitting diode, since this design uses low output impedance and will not pick up noise. Some systems require coaxial cable which is expensive and bulky. The wireless variety of remote control extenders need two power supplies, here one is used and being radio are inevitably EM noise pollution. A visual indication of the unit receiving an Infra Red signal is provided by LED1. This is an ordinary coloured LED, I used orange but any colour will do. You will see LED1 flash at a rate of 4 - 40Hz when a remote control button is pressed. LED0 is an Infra Red Emitter Diode, this is remotely wired in the room with the appliance to be controlled. I used the type SFH487 which has a peak wavelength of 880nm. This is available in the UK from Maplin Electronics, order code CY88V. Most IR remote controls operate at slightly different wavelengths, between the range of 850 - 950nm. If you cannot obtain the SFH487 then any IR emitter diode that has an output in the above range should work.

About IR Remote Controls
As previously stated IR remote controls use wavelengths between 850 - 950nm. At this short wavelength, the light is invisible to the human eye, but a domestic camcorder can actually view this portion of the electromagnetic spectrum. Viewed with a camcorder, an IR LED appears to change brightness. All remote controls use an encoded series of pulses, of which there are thousands of combinations. The light output intensity varies with each remote control, remotes working at 4.5V dc generally will provide a stronger light output than a 3V dc control. Also, as the photodiode in this project has a peak light response at 850nm, it will receive a stronger signal from controls operating  closer  to this wavelength. The photodiode will actually respond to IR wavelengths from 400nm to 1100nm, so all remote controls should be compatible.

Circuit Description
The receiver is built around a silicon photodiode, the SFH2030 available from Maplin, order code CY90X. This photodiode is very sensitive and will respond to a wide spectral range of IR frequencies. There is a small amount of infra red in direct sunlight, so make sure that the diode does not pick up direct sunlight. If this happens, LED1 will be constantly lit. There is a version of the SFH2030 that has a daylight filter built in, the SFH2030F order code CY91Y. A TIL100 will also give good results here. A photodiode produces minute pulses of current when exposed to infra red radiation. This current (around 1uA with the SFH2030 and a typical IR control used at a distance of 1 meter) is amplified by the CA3140 opamp. The opamp is configured as a current to voltage convertor, producing an output of about 4.7 volts per uA of input current. The photodiode, can be placed up to a meter or so away from the circuit. Screened cable is not necessary, as common mode signals (noise) will be rejected. It is essential to use a MOSFET input type here as there is zero output offset and negligible input offset current. A 741 or LF351 can not be used in this circuit. The output from the opamp is amplified by the BC337 operating in common emitter mode. As a MOSFET opamp IC is used, its quiescent voltage output is zero and this transistor and both LEDs will not be lit. The 1k resistor makes sure that the BC337 will fully saturate and at the same time limits base current to a safe level. Operating an IR remote control and pointing at the photodiode (SFH2030) will cause both LEDs to illuminate, you will only see the visable coloured LED (LED1) which will flicker. Remote controls use a system of pulse code modulation, so it is essential that the signal is not distorted by any significant amount. Direct coupling, and a high speed switching transistor avoid this problem.

Construction
No special PCB is required, I built my prototype on a small piece of Veroboard. The pinout for the CA3140 is shown below. Note that only the pins labeled in the schematic are used, pins 1, 5 and 8 are not used and left unconnected.


Alignment
There is nothing to set-up or adjust in this circuit. The only thing to watch is that the emitting diode is pointing at the controlled device (video, CD player, etc). I found that the beam was quite directional. Also make sure that there is a direct line of sight involved. It will not work if a 5 foot spider plant gets in the way, for example. I had a usable range at 5 meters, but possibly more distance may be possible. As a check, place a dc volt meter across the 27 ohm resistor. It should read 0 volts, but around 2 or 3 volts when a remote control is aimed at the photodiode.

Specifications of Prototype
Having made my prototype, I ran a few tests :-

Current consumption  2mA standby    60mA operating  ( with 12V supply)
                                     2mA standby     85mA operating  (with 15V supply)
IR receiver range        < 1 meter
IR transmitter range    > 5 meters


It is difficult to measure the IR transmitter range as this is dependent upon a number of factors. The type of infra red control used and its proximity to the receiving photodiode, the voltage supply, the wavelength and efficiency of the IR emitter and the sensitivity of the controlled appliance all affect overall performance.

In Use
The reception range of the IR remote control to the photodiode depends on the strength of the remote control, but I had a working range of a meter or so, this needs bearing in mind when placing the circuit. Its also a good idea to wire LED1, the coloured LED near to the photodiode, that way, you know that the unit has received a signal. The IR emitter has a larger range, I had no problems at 5 meters but may possibly work further distances. The emitting diodes are quite directional, so make sure it is aimed directly at the appliance to be controlled. The IR emitting diode is small and can be placed out of sight. I drilled a small hole above the door frame. The emitter diode leads were insulated and pushed through this hole, leaving an inch or so to adjust the angle and position of the LED. From a distance, the clear plastic lens of the diode could not be seen.

Final Comments and Fault Finding
To date this has proved to be one of the most popular circuits on my site. Of all the email I receive about this circuit, most problems relate to the Infra Red photo diode. You must make sure that this is pointed away from sunlight, or use a type with daylight filter, otherwise LED1 will be constantly lit, and LED0 will be in operation also. This will draw excessive current and in some case overheat the BC337. The main problem is when using a different photo diode to the SFH2030. Any other photo diode LED should work, but you need to know its operating wavelength range beforehand. This will generally be described in the manufacturers data sheet or possibly described if you order from an electronic component catalogue. With these last two points in mind, you should be rewarded with a useful and working circuit.

PCB Template
This has been very kindly drafted by Domenico from Italy. First the copper side:


A magnified view from the component side is shown below. Unfortunately the transistor outline was reversed in the original diagram, my thanks go to Federico Laura for correcting this diagram :


Mark 1A Version
The modification to the Mark 1 circuit below separtes IR handset signals from daylight and mains powered lighting. The 22n capacitor has a high impedance at 50/60Hz and daylight but allows a modulated signal to pass. The 2N2222 transistor is biased on under no signal, the BC337 will be fully off. A control signal will switch off and on the 2N2222 transistor at the modulation frequency of the control, which in turn controls the BC337. As this is a cleaner signal, the series resistor may be increased to 100ohms.



Read More..

Wednesday, June 12, 2013

Remote Control circuits For Home Appliances

Here is the circuit diagram of Remote Operated Home Appliances or Remote controlled Home appliances. Connect this circuit to any of your home appliances (lamp, fan, radio, etc) to make the appliance turn on/off from a TV, VCD, VCR, Air Conditioner or DVD remote control. The circuit can be activated from up to 10 meters. It is very easy to build and can be assembled on a veroboard or a general-purpose PCB.

Parts:

R1 = 220K
R2 = 330R
R3 = 1K
R4 = 330R
R5 = 47R
C1 = 100uF-16V
C2 = 100nF-63V
C3 = 470uF-16V
D1 = 1N4007
D2 = Red LED
D3 = Green LED
Q1 = BC558
Q2 = BC548
IR = TSOP1738
IC1 = CD4017
RL1 = Relay 5V DC
 

The 38kHz infrared rays generated by the remote control are received by IR receiver module TSOP1738 of the circuit. Pin 1 of TSOP1738 is connected to ground, pin 2 is connected to the power supply through R5 and the output is taken from pin 3. The output signal is amplified by Q1. The amplified signal is fed to clock pin 14 of decade counter IC CD4017 (IC1). Pin 8 of IC1 is grounded, pin 16 is connected to vcc and pin 3 is connected to D2 (Red LED), which glows to indicate that the appliance is ‘off.’

The output of IC1 is taken from its pin 2. D3 connected to pin 2 is used to indicate the ‘on’ state of the appliance. Q2 connected to pin 2 of IC1 drives relay RL1.
D1 acts as a freewheeling diode. The appliance to be controlled is connected between the pole of the relay and neutral terminal of mains. It gets connected to live terminal of AC mains via normally opened (N/O) contact when the relay energizes. If you want to operate a DC 12 volt relay then use a regulated DC 12 volt power supply for DC 12 volt Relay and remember that the circuit voltage not be exceeded more than DC 5 volts.

Remote Control circuits For Home Appliances 

.

Read More..

Sunday, May 5, 2013

IR Remote Control Tester

A 741 or LF351 will not work in this circuit. Although I have used a 12 volt power supply, a 9 volt battery will also work here.



As I was developing my IR Extender Circuit, I needed to find a way of measuring the relative intensities of different Infra red light sources. This circuit is the result of my research. I have used a photodiode, SFH2030 as an infra red sensor. A MOSFET opamp, CA3140 is used in the differential mode to amplify the pulses of current from the photodiode. LED1 is an ordinary coloured led which will light when IR radiation is being received. The output of the opamp, pin 6 may be connected to a multimeter set to read DC volts. Infra red remote control strengths can be compared by the meter reading, the higher the reading, the stronger the infra red light. I aimed different remote control at the sensor from about 1 meter away when comparing results. For every microamp of current through the photodiode, about 1 volt is produced at the output
Read More..