For any enquiries email Colin Mitchell

DIGITAL ELECTRONICS
THE DELAY
THE DELAY CIRCUIT
THE TIMING CIRCUIT

 

Page 1: Basic Electronics
               The capacitor - how it works
                The Diode - how the diode works
                Circuit Symbols - EVERY Circuit Symbol
                Soldering - videos
Page 2: The Transistor
              - PNP or NPN  Transistor TEST
Page 2a: The 555 IC 
                The 555 - 1
                The 555 - 2
                The 555 - 3
                The 555 TEST
Page 3: The Power Supply  
download as .pdf (900kB)
               - Constant Current
               - Voltage Regulator
               - Capacitor-fed Power Supply
Page 4: Digital  Electronics - this page

              4a: - Gates  Touch Switch Gating
              4b: - The DELAY CIRCUIT - this page
Page 5: Oscillators

Page 6: Test - Basic Electronics (50 Questions)
Page 7: The Multimeter - using the Multimeter
Page  8: Constructing a Project

INDEX

The Delay Circuit
 
 

                                   to Index
THE DELAY - also called the DELAY CIRCUIT or TIMING CIRCUIT
There are many times when a circuit is needed to operate after a period of time.
In other words "turn ON" or operate a motor, globe, LED or relay.
This might be one second, one minute or one hour after a switch is pressed or a circuit is turned ON.
The circuit is required to activate a device and keep it turned ON for the remainder of the time until the circuit is turned OFF or reset.
The type of circuit we are talking about does not turn the device OFF or turn it ON and OFF. This is called cycling and is covered in another discussion.  It just turns it ON.
                                   to Index

Fig 1. The Delay

THE DELAY
The circuit that does this is called  a DELAY CIRCUIT or TIMING CIRCUIT or TRANSISTOR TIME DELAY or TIME CONSTANT or RC Delay Circuit.
There are only two components in this circuit. A capacitor and resistor in series.
All the other components that will be in the circuit are called the DETECTING COMPONENTS and they detect when a certain voltage is on the capacitor.
The capacitor can be almost any type, including electrolytics, tantalum, poly, ceramic and mica. 
The resistor can be any value from a few ohms (R) to megohms (M).
                                   to Index

Capacitor Charging Graph

The voltage across the capacitor gradually rises. You can see the voltage does not increase at the same rate all the time. The increase gets less and less and less.
In other words it gets longer and longer for the capacitor to fully charge.
In fact it never fully charges and so we must pick a point at which we will detect a voltage on the capacitor.
This point has been chosen as 66% as you can see the graph is fairly straight up to this point.
This point is now marked on the graph as TIME CONSTANT ONE (1). Time Constant 2 is marked an equal distance across the graph. This is how the Time Constant values are added to the graph.
 
                                   to Index
But we do not have to choose 66% - we can choose ANY voltage on the capacitor.
The resistor charges the capacitor and the DETECTING CIRCUIT detects when a certain voltage has been reached.
The resistor reduces or LIMITS the current flowing into the capacitor so the capacitor takes a long time to charge (or a short time).
If the value of this resistor is small (a few ohms) the capacitor will charge very quickly.
If the resistor is a very large value, the capacitor will take a long time to charge.
The voltage across the capacitor rises steadily until about 66% of rail voltage and then the rise gets slower and slower.
It does not matter what voltage you select for the detecting circuit but here are a few notes on how to do it.
You cannot select a voltage that is 100% of rail voltage because the capacitor never gets there.
The maximum can only be about 90%.
If you select 90%, the capacitor will take a long time to reach the required value and as the capacitor gets old, the time will get longer and longer. This is because some of the charging current will be lost as LEAKAGE inside the capacitor (especially with electrolytics).
If you select say 66% of rail voltage, the capacitor will charge in ONE UNIT of time.
If you select 90%, the capacitor will take about 10 UNITS of TIME.
So, from a voltage of 66% to 90%  you are relying on detecting a very small increase in voltage for each UNIT OF TIME.
And as the timing reaches 8 UNITS of TIME   9 UNITS OF TIME and 10 UNITS OF TIME,  the voltage increases only a few percent of rail voltage. This value of voltage is very difficult to detect and it
means long delays are not very accurate.
                                   to Index
The DETECTION POINT for a TIME DELAY CIRCUIT is the join of the resistor and capacitor.
The DELAY CIRCUIT is actually called a HIGH IMPEDANCE CIRCUIT.
It is not a high impedance circuit in the normal meaning of the term.
It is a circuit that must be treated very carefully and MUST NOT BE LOADED.
If it is LOADED the current flowing into the capacitor (to charge it) will be diverted to the detecting component(s) and the capacitor may never charge to the required voltage.
This means the detecting circuit can only remove very little current during the detecting process.
This means the DETECTING CIRCUIT must be HIGH IMPEDANCE. 
                                   to Index

The Simplest Circuit
This circuit is the simplest DELAY CIRCUIT.
The resistor charges the capacitor (electrolytic) and the transistor turns ON when the voltage across the capacitor is a certain value.
This circuit is not very useful but it shows the transistor turns on a short period of time after the circuit is turned ON.
All we have to do is add more components to make the circuit A USEFUL DELAY CIRCUIT.
                                   to Index
The detecting circuit is the TRANSISTOR. It must be HIGH GAIN because it can only take (or removed) one or a few microamps so it does not upset the charging of the capacitor (electrolytic). And the output of the circuit may need to drive a relay or globe or motor.
In other words, the input to the detecting circuit (this is the wire going to the base of the transistor) must be HIGH IMPEDANCE (to avoid upsetting the charging process) and the output is LOW IMPEDANCE - because a globe or motor or relay is classified as a low impedance device.
In other words the transistor is "connecting" a high impedance stage (the DELAY CIRCUIT) to a low impedance device and this is called "connecting" or "interfacing" and to do this the transistor must have GAIN - Gain is called AMPLIFICATION.
                                   to Index

GOING OVER THIS AGAIN:
Connecting the DETECTING CIRCUIT must allow the DETECTION POINT to rise to the required value.
When it reaches the required voltage, the DETECTION CIRCUIT must "turn ON."  In other words it must send a "signal" to turn on a relay or other device. Or the transistor can allow current to flow in the collector-emitter path. (This occurs when the transistor "turns-ON".

To make The Simplest Circuit (above) into a useful circuit we must add 2 resistors to the "detecting line" (the base of the transistor) so the voltage on the capacitor can rise to say 66%. 
At the moment The Simplest Circuit turns ON at 0.65v. In other words it will turn ON after a very short period of time and this is quite useless. We want to increase this time.

                                   to Index


Adding a Voltage Divider

To make the transistor turn ON at say 66%, we need to add two resistors A and B
These are called VOLTAGE DIVIDER resistors.
You will need to look at the section called THE VOLTAGE DIVIDER to understand how these two resistors work, but we will explain it briefly.
 
                                   to Index


Voltages

We know the transistor turns ON when the base "sees" 0.65v. If we add 2 resistors we can detect when the voltage on the capacitor is 6.5v.
This turns a "useless" circuit into a DELAY CIRCUIT.
                                   to Index


Resistor Values

To increase the detection voltage from 0.65v to 6.5v, we need 2 resistors with the ratio of 10:1. (We are keeping the discussion simple).
These two resistors do two things.
They increase the detection voltage by a value of 10 TIMES and they increase the impedance of the detection circuit to a value of about 1M.
This is exactly what we need, to make a good DELAY CIRCUIT. 
(A simple way to work out the resistors values is this: Select 100k for the lower resistor. We know 0.65v will be produced across this resistor because that is the voltage needed to turn the transistor ON. If we use 1M for the top resistor, it is 10 times larger and thus 6.5v will develop across it.)
                                   to Index


Another Delay Circuit

 

In place of the 2 resistors we can use a zener diode. It detects a voltage of 5v1 + 0.7v = 5v8.
The detecting circuit is made up of the 5v1 zener and base-emitter junction of the transistor.
These two components create a high impedance until a voltage of 5v8 because the zener takes no current until its "characteristic voltage" has been reached.
In other words, there are many ways to create a DELAY CIRCUIT.
                                   to Index


Yet another Delay Circuit

 

Yet another Delay Circuit. The 100k is the time delay resistor. The 1M is the "sense resistor" and the the 330k is the voltage divider resistor.
The base of the Darlington transistor detects 1.4v and the 1M/330k produces a voltage divider that requires 3 x 1.4v = 4.2v + 1.4v = 5.6v on the electrolytic. The 1M, 330k and transistor provide a fairly high impedance detecting circuit that does not inhibit the charging of the capacitor.
The circuit requires a supply of 12v.
The Darlington Transistor does just one thing. It allows a HIGH CURRENT load to be connected to the circuit. In other words, the LOAD can take about 100 times more current than the single transistor DELAY CIRCUITS above. 
                                   to Index
HERE ARE SOME DELAY CIRCUITS



10 SECOND DELAY

10 SECOND DELAY
This clever circuit turns on the LED 10 seconds after the power has been switched ON. The secret to its performance is the gain of the transistor.
With a gain of 200, the transistor will appear as a 470/200 = 2k3 resistor for the LED and for a 12v supply, this will create a current of 12-1.7 / 2300 = 4.4mA through the LED.
The 100u will take about 10 seconds to charge to a point where the base is 1.7v + 0.6v = 2.3v above the 0v rail. When the electro charges to this voltage, the LED starts to come on.
The transistor effectively becomes a 2k3 resistor and that's why no additional current-limiting resistor for the LED is needed. The transistor is the current-limiting device!
                                   to Index

TURN-OFF DELAY
This circuit will supply power to a project for a short period of time. The voltage across the project gradually dies (actually the current is the item that is reducing) and this will produce weird effects with some projects. The project remains active for a few seconds after the push button has been released.
 
                                   to Index

The relay in this circuit will remain active for a few seconds after the push button has been released.
The value of the 1k resistor and electrolytic can be adjusted to suit individual requirements.
There is no "feed resistor" or "current limiting resistor" connected to the electrolytic.  This means it will charge almost instantly to very nearly rail voltage.
 
                                   to Index

Whenever you see a resistor and capacitor in series, you have to look further to see if it is part of a delay circuit.
If you see a resistor and capacitor in parallel, it could be part of an oscillator circuit.  

These two components form the basics of electronics. If we did not have this simple feature of a capacitor taking a period of time to charge, everything in electronics would happen INSTANTLY and none of the electronic gadgets would have been invented. 
This feature has been used in thousands of different circuits. It's the surrounding components that change and modify and produce all sorts of different effects. We could not begin to list them all. But now you know what a DELAY CIRCUIT is. It is a RESISTOR and CAPACITOR in SERIES.    

                                   to Index


555 OSCILLATOR

In this circuit you can see the two DELAY COMPONENTS clearly identified.
The 555 contains all the detecting components we have been talking about and the only two external components needed to complete the circuit are the DELAY COMPONENTS.
This allows a wide range of oscillator values to be produced.
When the oscillations occur less than "one-a-second" the oscillator becomes a DELAY.
That's the only difference between an oscillator and a delay.
The 555 chip has been so popular that over one billion have been sold.
                                   to Index

There is a lot more to understand about a DELAY CIRCUIT. We have only covered the BASICS.
Do not design a Delay Circuit yourself. Look on the internet and copy a circuit that is known to work.
There is a lot to understand about the VOLTAGE DIVIDER resistors and if the wrong values are chosen, the circuit will never "time out."
There are actually 3 resistors in the VOLTAGE DIVIDING NETWORK and that is why this circuit is more complex than we have described.
                                   to Index

GOING FURTHER
The DELAY CIRCUIT is the basis of an OSCILLATOR. When used in an oscillator circuit, the resistor and capacitor is (are) called a TIMING CIRCUIT.
It takes a certain amount of time for the capacitor to charge to a particular voltage (voltage across it). This voltage is detected by the circuit and now the circuit has components that discharge the capacitor. When the voltage across the capacitor is a very low value, the circuit detects this and allows the capacitor to charge again.
We can see from the graph above, the voltage on the capacitor increases quickly at the beginning but gets slower and slower, like an old man climbing a steep hill.
But this does not concern us. The time between the upper voltage and lower voltage are the only two values detected by the circuit.
The only thing that will change this interval of time is the value of the supply voltage.  If the supply is increased by say a few volts, the time will increase. In other words, this type of circuit is VOLTAGE DEPENDENT. It is called a VOLTAGE DEPENDENT OSCILLATOR.
                                   to Index


SIMPLE FLASHER

Here is a very simple oscillator circuit that we have just talked about.
It flashes a globe at a rate according to the value of the 180R and 2200u electrolytic.
The "detecting circuit" is the coil of the relay.
When more current flows through the coil, the relay "clicks in." This causes the globe to turn ON and the electrolytic starts to get discharged.  When the current drops to a fairly low value, the relay "drops out." The globe turns OFF and the electrolytic starts to get charged again.
There is a GAP between these two current values in the coil of the relay and this is what gives the circuit a "flash rate" or "frequency." The contacts of the relay allow the electrolytic to charge and discharge via the 180R.  
                                   to Index


LONG TIME DELAY

We mentioned the difficulty in producing a long time delay from a capacitor and resistor. In theory you can connect 10M to a 2,200u electrolytic, but the time will alter as the electrolytic gets old and the size of the electro will be huge.
The solution is to use a small capacitor and count the number of cycles via a chip that has an output that goes HIGH after say 128 cycles or 65,536 cycles. The Integrated Circuit above is called  a CHIP ON BOARD (COB) - a chip that has been glued to the PCB and  fine wires connect to lands around the IC. It has a small capacitor under the "black dome" and this is connected to the Timing Resistor to produce a delay. The circuit allows the capacitor to charge and discharge and thus form an oscillator. Inside the "black blob" are a number of Integrated Circuits called binary dividers OR counters and they can be connected via jumpers (links) to get an output that goes HIGH after 1,000 HOURS !!!!!
Look on the web and see what a Binary Divider does. It contains hundreds of Flip Flops and these are circuits that divide the input frequency by 2. In other words, if the input frequency is 100, the output frequency will be 50. And the output of the next stage will be 25.
This feature can be extended further. If the input frequency is one cycle per second, the output will take 2 seconds to change stage and the next module will take 4 seconds and 8 seconds. This is how long time durations are achieved.