Light Sensor
THE LIGHTING OF LIGHT SENSORS
Light sensor is one of the tools used in the field of electronics, this tool serves to convert the amount of light into electrical quantities. This tool allows us to detect light and then to make changes to it into electrical signals and used in a circuit that uses light as a trigger. The workings of this tool is to convert the energy from photons to electrons, generally one photon can generate one electron. This tool has a very wide use one of the most popular is on digital cameras. Some components commonly used in light sensor circuit are Light Dependent Resistor, Photodiode, and Photo Transistor.
The light sensor based on the electrical changes generated is divided into 2 types:
1.Photovoltaic: That is a light sensor that can change the change of optical quantity (light) into a voltage change. One type of photovoltaic light sensor is a solar cell.2.Photoconductive: That is a light sensor that can change the change of optical quantity (light) to change the value of conductance (in this case the resistance value). Examples of photoconductive light sensors are LDR, Photo Diode, Photo Transistor.
Light Sensor Circuit Diagram with Working Operation
The controlling of street lights, make a light sensor circuit outdoor lights, a few indoor home appliances, and so on are usually maintained and operated manually on several occasions. This is not only risky but also results in wastage of power with the negligence of personnel or unusual circumstances in controlling these electrical appliances on and off. Hence, (based on the requirement) we can utilize the light sensor circuit for automatic switching of the loads based on daylight’s intensity by using a light sensor. In this article, we discuss in brief about how to make a light sensor circuit and its working operation.
What is Sensor?
Before going to learn about the light sensor, primarily, we must know what is sensor. Sensor is a device that is used to detect the changes in quantities or events and appropriately produce the outputs.
There are different types of sensors such as light sensors, temperature sensor, humidity sensor, pressure sensor, fire sensor, ultrasonic sensors, IR sensor, touch sensor, and so on.
What is a Light Sensor Circuit?
The light sensor circuit is a simple electrical circuit, which can be used to control the (switch on and off) electrical load appliances like lights, fans, coolers, air conditioners, street lights, etc., automatically. By using this light sensor circuit, we can eliminate manual switching as the loads can be controlled automatically based on the daylight intensity. Hence, we can describe it as an automatic light sensor.
The light sensor circuit helps to evade the manual control of the street lights erected on highways which is risky and also causes wastage of power. The light sensor circuit consists of major electrical and electronic components such as light sensor, Darlington pair, and relay. To understand the working operation of the light sensor circuit, we must know a brief about the components used in designing the light sensor circuit.
Light Sensor
There are different types of light sensors available such as photo resistors, photodiodes, photovoltaic cells, phototubes, photomultiplier tubes, phototransistors, charge coupled devices, and so on. But, LDR (Light Dependent Resistor or photo resistor) is used as a light sensor in this light sensor circuit. These LDR sensors are passive and doesn’t produce any electrical energy.
But, the resistance of the LDR changes with the change in the (light illuminated on the LDR) daylight intensity. LDR sensor is rugged in nature, hence can be used even in dirty and rough external environments. Hence, LDR is preferable compared to other light sensors as it can be used even in the outdoor lighting of homes and in automatic street lights as well.
Light Dependent Resistor is a variable resistor that is controlled by light intensity. LDRs are made of high resistance semiconductor material, Cadmium Sulphide that exhibits photoconductivity.
During night time (when the light illuminated on LDR decreases), the LDR exhibits a very high resistance of around a few MΩ (Mega Ohms). During daytime, (when the light is illuminated on LDR), resistance of LDR decreases to around a few 100Ω (hundred Ohms). Hence, the resistance of LDR is inversely proportional to the light illuminated on LDR.
As shown in the above figure, the LDR consists of two terminals similar to a general resistor and a wave-shaped design on its top surface. The graph shown above represents the inverse proportionality of the LDR with the light intensity.
The major drawback of the LDR is that, it is sensitive to light illuminated on it irrespective of the nature of light (natural daylight or even artificial light).
Types of light Dependent Resistors
Light dependent resistors are classified based on the materials used.
Intrinsic Photo Resistors
These resistors are pure semiconductor devices like silicon or germanium. When the light falls on the LDR, then the electrons get excited from the valence band to the conduction band and number of charge carriers increases.
Extrinsic Photo Resistors
These devices are doped with impurities and these impurities creates a new energy bands above the valence band. These bands are filled with electrons. Hence this decrease the band gap and small amount of energy is required in moving them. These resistors are mainly used for long wavelengths.
Circuit Diagram of a Light Dependent Resistor
The circuit diagram of a LDR is shown below. When the light intensity is low, then the resistance of the LDR is high. This stops the current flow to the base terminal of the transistor. So, the LED does not light. However, when the light intensity onto the LDR is high, then the resistance of the LDR is low.So current flows onto the base of the first transistor and then the second transistor.Consequently the LED lights.Here, a preset resistor is used to turn up or down to increase or decrease the resistance.
Light Dependent Resistor Applications
Light dependent resistors have a low cost and simple structure. These resistors are frequently used as light sensors. These resistors are mainly used when there is a need to sense the absence and presence of the light such as burglar alarm circuits, alarm clock, light intensity meters, etc. LDR resistors mainly involves in various electrical and electronic projects. For better understanding of this concept, here we are explaining some real time projects where the LDR resistors are used.
Security System Controlled by An Electronic Eye
This security system controlled by an electronic eye project is based on photo sensing arrangement. The proposed system uses a 14-stage ripple carry binary counter to sense the intensity of light using LDR. The o/p makes a relay and buzzer for the required action. This project is very useful to deter burglars from shopping malls, banks and jewelry shops, etc.
This project uses a light dependent resistor. When light falls on the LDR sensor, then the resistance of the sensor decreases, which lead to activate an alarm to give an alert to the user. This project is suitable in the application of providing security system for lockers, cash boxes which can be found in the banks, shopping malls, jewel shops.
The circuit of this project is placed inside of the cash box in shopping malls or inside of the lockers in banks in such a way that, when a burglar opens the cash box or locker and uses a torch light to search the valuables. When the light falls on the circuit which includes an electronic eye and gives a command to the ripple counter. This triggers the alarm and shows a burglary attempt. A lamp is also used to indicate the theft when light falls on the sensor.
In future, this project can be developed by using a GSM modem and also a microcontroller. This modem can be interfaced to send an SMS to the user in case of burglary
LDR Based light Intensity Control for Street Lights
In the proposed system, generally the lighting up of highways is done through HID lamps. Because, the energy consumption of these lamps is high. This project uses an LEDs to overcome the drawbacks of HID lamps. This project demonstrates the usage of light emitting diodes as a light source. These lights consumes low power and its life is more as compared to HID lamps.A light depending resistor is used to detect the light. The resistance of the LDR drastically reduces according to the daylight.
A bunch of LEDs are used to make a street light. The microcontroller comprises programmable instructions that controls the light intensity based on the Pulse width modulation signals generated.
The light intensity is kept high during the peak hours, and as the traffic on the highways tend to decrease in late nights: and the light intensity also decreases till morning. Finally, the street lights completely shut down at morning and continues again at evening 6pm
In future, this project can be developed by connecting it with a solar panel, which converts the intensity of the solar into corresponding voltage, and this energy is used to feed the street lights on highways.
Lighting Switch from Sunset to Sunrise
This sunset to sunrise lighting switch is designed to control the light illuminated on the LDR sensor.
The resistance of the LDR sensor changes with the change in intensity of light falling on LDR. This sensor output is given to IC 555 timer connected in bistable mode. The o/p of the IC 555 timer is used to control the prompting of load through a TRIAC. Hence, this circuit switches on the load in the sunset and switches off the load in the sun rise automatically.
Hope, this article provides sufficient information regarding what is a light dependent resistor, types of LDR, working of LDR, and applications of LDR. Furthermore, any doubts regarding light dependent resistor use, please give your feedback by posting your comments in the comment box. Here is a question for you, what is the main role of the preset resistor in the above circuit.
simple Darlington Pair to effort
The back-to-back connection of two transistors is called as a Darlington pair, this Darlington pair transistor connection is used in this light sensor circuit.
This Darlington pair transistor is also considered as a single transistor that has very high current gain compared to the general transistor gain. The product of input current and gain of the transistor gives the input given to the load through the Darlington pair. We know that, if the base voltage must be greater than 0.7v, then the transistor switches on – but, in case of Darlington pair, the base voltage must be 1.4v as the two transistors are required to be switched on.
Relay
A relay plays a vital role in the light sensor circuit for activating the load or for connecting the load to the light sensor circuit as well as to the AC mains.
Generally, the relay consists of a coil, this coil gets energized whenever it gets enough supply (required amount of supply depends on the rating of the relay).
Light Sensor Circuit Working Operation
The light sensor circuit is an electronic circuit designed using (light sensor) LDR, Darlington pair, relay, diode, and resistors which are connected as shown in the light sensor circuit diagram. A 230v AC supply is provided to the load (in this case, the load is represented with a lamp).
The DC voltage required by the light sensor circuit is supplied from a battery or by using a bridge rectifier circuit. This bridge rectifier circuit converts the 230v AC supply into a 6v DC. The bridge rectifier circuit utilizes a step-down transformer to step-down the 230v into 12v. The diodes connected in the form of a bridge are used to convert the 12v AC into 12v DC. The IC7806 DC voltage regulator is used to convert the 12v DC into 6v DC, and then, this 6V DC is supplied to the circuit. A 230v AC supply for both the load and the bridge rectifier is to be maintained continuously for uninterrupted operation of the light sensor circuit.
During the daytime, the light sensor LDR has very-low resistance of around a few 100Ω. Thus, the supply passes through the LDR and ground through the resistor and variable resistor as shown in the light sensor circuit. This is due to the fact that the resistance offered by the LDR during daytime or when the light is illuminated on LDR is less compared to the resistance of the remaining part of the circuit (that is through relay and Darlington pair). We are aware of the principle of current, that the current always flow in the low resistance path.
Thus, the relay coil does not get enough supply to get energized. Hence, the load is switched off during the daylight.
Similarly, during the night time (when the light illuminated on LDR is very less), the LDR resistance increases to a very high value of around a few Mega ohms (approximately 20MΩ). Thus, due to very high resistance of LDR the current flow is very less or almost zero like an open circuit condition. Now, the current flows through the low-resistance path such that it increases base voltage of Darlington pair to reach more than 1.4v. As the Darlington pair is activated, the relay coil gets enough supply to get energized, and hence, the load is switched on during night time or when no light is illuminated on LDR.
Practical Applications of Light Sensor Circuit
The light sensor circuit can be used to design various practical embedded systems based sensor based projects such as security alarm system by photo electric sensor, Arduino managed high sensitive LDR based power saver for street light control system, a solar highway lighting system with auto turn off in daytime, sunset to sunrise lighting switch, and so on.
Sunset to Sunrise Lighting Switch
The sunset to sunrise lighting switch is an application of light sensor circuit that is designed to control the automatically based on the light illuminated on the LDR light sensor.
The LDR resistance changes with the change in light intensity illuminated on LDR. The LDR output is given to 555 timer connected in bi stable mode. The 555 timer output is used to control the triggering of load through a TRIAC. Thus, this light sensor circuit switches on the load in the evening or sunset and switches off the load in the morning or sun rise automatically.
Hope, this article provides adequate information about how to make a light sensor circuit and its working operation.
X . II
light sensor
Photo sensors are used in many projects involving sensing of light or shadow. Whenever, we plan to do a project which involves sensing of light, we have a choice of choosing a wide variety of light sensing devices. Light Dependent Resistor (LDR), Photo Diode, Photo Transistor and Photo Darlington Pair are some of the commonly used photo sensors. How do we select a suitable photo sensor out of all these alternatives? Although there are many types of photo sensors, each one has its own set of properties different from the others. Although it is possible to use one type of photo sensor instead of another, it is necessary to select the best sensor analyzing its properties so as to get better results.
Light Dependent Resistor (LDR)
LDR is one of the widely used photo sensors. They are cheap and rugged in nature. They are basically resistors whose resistance depends on the intensity of light. Their resistance variation is continuous and inversely proportional to the intensity of light. By considering the properties of an LDR, it is suitable for applications where many different levels of light intensity need to be measured. For example, if you are using a photo sensor with an ADC, then LDR suits you the best. Also if your application needs to operate in rough external environments, then also LDR will be a good option as it is rugged in nature. Its response time is slower compared to other semiconductor based photo sensors. The dark resistance of an LDR is quite less compared with the reverse bias resistance offered by photo diodes because of which it may consume comparatively more power than its semiconductor counterparts.
- Moderate response time
- Low cost
- Rugged in nature
- Resistance varies continually (Analog)
- Bidirectional
Phototransistor – Features & Circuit Diagram
A Phototransistor is an electronic switching and current amplification component which relies on exposure to light to operate. When light falls on the junction, reverse current flows which is proportional to the luminance. Phototransistors are used extensively to detect light pulses and convert them into digital electrical signals. These are operated by light rather than electric current. Providing large amount of gain, low cost and these phototransistors might be used in numerous applications.
It is capable of converting light energy into electric energy. Phototransistors work in a similar way to photo resistors commonly known as LDR (light dependant resistor) but are able to produce both current and voltage while photo resistors are only capable of producing current due to change in resistance. Phototransistors are transistors with the base terminal exposed. Instead of sending current into the base, the photons from striking light activate the transistor. This is because a phototransistor is made of a bipolar semiconductor and focuses the energy that is passed through it. These are activated by light particles and are used in virtually all electronic devices that depend on light in some way. All silicon photo sensors (phototransistors) respond to the entire visible radiation range as well as to infrared. In fact, all diodes, transistors, Darlington’s, triacs, etc. have the same basic radiation frequency response.
The structure of the phototransistor is specifically optimized for photo applications. Compared to a normal transistor, a photo transistor has a larger base and collector width and is made using diffusion or ion implantation.
Features:
- Low-cost visible and near-IR photo detection.
- Available with gains from 100 to over 1500.
- Moderately fast response times.
- Available in a wide range of packages including epoxy-coated, transfer-molded and surface mounting technology.
- Electrical characteristics similar to that of signal transistors.
A photo transistor is nothing but an ordinary bi-poplar transistor in which the base region is exposed to the illumination. It is available in both the P-N-P and N-P-N types having different configurations like common emitter, common collector and common base. Common emitter configuration is generally used. It can also work while base is made open. Compared to the conventional transistor it has more base and collector areas. Ancient photo transistors used single semiconductor materials like silicon and germanium but now a day’s modern components uses materials like gallium and arsenide for high efficiency levels. The base is the lead responsible for activating the transistor. It is the gate controller device for the larger electrical supply. The collector is the positive lead and the larger electrical supply. The emitter is the negative lead and the outlet for the larger electrical supply.
With no light falling on the device there will be a small current flow due to thermally generated hole-electron pairs and the output voltage from the circuit will be slightly less than the supply value due to the voltage drop across the load resistor R. With light falling on the collector-base junction the current flow increases. With the base connection open circuit, the collector-base current must flow in the base-emitter circuit and hence the current flowing is amplified by normal transistor action. Collector base junction is very sensitive to light .Its working condition depends upon intensity of light. The base current from the incident photons is amplified by the gain of the transistor, resulting in current gains that range from hundreds to several thousands. A phototransistor is 50 to 100 times more sensitive than a photodiode with a lower level of noise.
A phototransistor works just like a normal transistor, where the base current is multiplied to give the collector current, except that in a phototransistor, the base current is controlled by the amount of visible or infrared light where the device only needs 2 pins.
In the simple circuit, assuming that nothing is connected to Vout, the base current controlled by the amount of light will determine the collector current, which is the current going through the resistor. Therefore, the voltage at Vout will move high and low based on the amount of light. We can connect this to an op-amp to boost the signal or directly to an input of a microcontroller. The output of a phototransistor is dependent upon the wavelength of incident light. These devices respond to light over a broad range of wavelengths from the near UV, through the visible and into the near IR part of the spectrum. For a given light source illumination level, the output of a phototransistor is defined by the area of the exposed collector-base junction and the dc current gain of the transistor
Photo transistors available different configurations like opto isolator, optical switch, retro sensor. Opto isolator is similar to a transformer in that the output is electrically isolated from the input. An object is detected when it enters the gap of the optical switch and blocks the light path between the emitter and detector. The retro sensor detects the presence of an object by generating light and then looking for its reflectance off of the object to be sensed.
Advantages of Photo transistors:
Phototransistors have several important advantages that separate them from other optical sensor some of them are mentioned below
- Phototransistors produce a higher current than photo diodes.
- Phototransistors are relatively inexpensive, simple, and small enough to fit several of them onto a single integrated computer chip.
- Phototransistors are very fast and are capable of providing nearly instantaneous output.
- Phototransistors produce a voltage, that photo-resistors cannot do so.
Disadvantages of Photo transistors:
- Phototransistors that are made of silicon are not capable of handling voltages over 1,000 Volts.
- Phototransistors are also more vulnerable to surges and spikes of electricity as well as electromagnetic energy.
- Phototransistors also do not allow electrons to move as freely as other devices do, such as electron tubes.
Areas of application for the Phototransistor include:
- Punch-card readers.
- Security systems
- Encoders – measure speed and direction
- IR detectors photo
- electric controls
- Computer logic circuitry.
- Relays
- Lighting control (highways etc)
- Level indication
- Counting systems
Photo Diode
Photodiodes are basically diodes which are used in reverse bias and they are turned ON when a light intensity above the threshold level is incident on it. It has only two possible levels of outputs, either ON or OFF because of which it can only differentiate between two different intensities of light. It is suitable for applications where detecting a single light threshold is necessary. For example, if you are using this to make a Shadow Counter type of circuit, then this sensor will be most suitable.
Quicker response time- Low cost
- Temperature sensitive
- Digital in nature
- Unidirectional
Photo Darling-ton Pair
Photo Darling-ton Pair shares most of the properties of a Photo Transistor but it has more amplification factor meaning that it is capable of amplifying light signals more than a simple Photo Transistor. But this high amplification factor comes at the cost of longer response time. So, it is preferred when receiving very weak light signals for which the amplification provided by the photo transistor is not sufficient.
- High Amplification Possible
- Slower than Photo Transistor
- Costlier than Photo Transistor
- Biasing and stabilization is possible