Capacitors and Electronic Circuits
| Safle: | Young Education |
| Cwrs: | Circuits |
| Llyfrau: | Capacitors and Electronic Circuits |
| Argraffwyd gan: | Guest user |
| Dyddiad: | Dydd Llun, 9 Tachwedd 2026, 4:40 PM |
1. Capacitors
Learning outcomes
- I can explain how capacitors store charge.
- I can describe capacitance.
- I can calculate energy stored in capacitors.
- I can compare capacitors with batteries.
- I can identify applications of capacitors.
2. Charging and Discharging Capacitors
Learning outcomes
- I can describe capacitor charging and discharging.
- I can interpret charging graphs.
- I can explain RC time constants qualitatively.
- I can predict charging behavior.
- I can analyze simple RC circuits.
3. Electronic Components
Learning outcomes
- I can identify common electronic components.
- I can describe the function of diodes, LEDs, transistors, and integrated circuits.
- I can interpret electronic circuit symbols.
- I can compare passive and active components.
- I can explain how electronic devices control current.
Electronic Components
What Are Electronic Components?
Electronic components are the individual parts used to build electronic circuits.
Different components can:
- control current
- limit current
- store energy
- produce light
- detect environmental changes
- amplify signals
- switch circuits
- process information
Modern electronic devices may contain anywhere from a few components to billions of microscopic components integrated onto semiconductor chips.
Electrical Circuits vs Electronic Circuits
An electrical circuit provides a path through which electric current can flow.
An electronic circuit uses components to deliberately control electrical signals and current.
Simple electrical circuits may contain:
- cells
- switches
- lamps
- resistors
Electronic circuits may additionally contain:
- diodes
- LEDs
- transistors
- sensors
- integrated circuits
Electronic circuits can therefore perform much more complex functions.
Circuit Symbols
Circuit diagrams use standardized circuit symbols rather than realistic pictures of components.
Symbols make circuits:
- easier to draw
- easier to understand
- less cluttered
- internationally recognizable
Students should learn to recognize both:
the physical component
and:
its circuit symbol
Resistors
A resistor limits or controls current.
Resistance is measured in:
ohms (Ω)
The relationship between voltage, current, and resistance is:
V = IR
Therefore:
I = V/R
Increasing resistance reduces current when voltage remains constant.
Why Resistors Are Important
Resistors can be used to:
- limit current
- divide voltage
- protect components
- control transistor circuits
- set operating conditions
- produce controlled heating
For example, an LED often requires a resistor to prevent excessive current.
Capacitors
A capacitor stores separated electric charge and energy in an electric field.
Its capacitance is:
C = Q/V
Capacitors are used for:
- energy storage
- timing
- filtering
- smoothing power supplies
- reducing electrical noise
- coupling signals
Capacitors and resistors are both extremely common electronic components.
Diodes
A diode is a semiconductor component designed primarily to allow current to flow much more easily in one direction than the other.
It acts approximately like an electrical one-way device.
A diode has two terminals:
- anode
- cathode
Its behavior depends on the direction of the applied voltage.
Forward Bias
A diode is forward biased when connected in the direction that allows significant current to flow.
Once the appropriate forward voltage is reached:
current can increase rapidly
The diode then behaves approximately like a low-resistance conducting path, although real diodes still have a voltage drop.
Reverse Bias
A diode is reverse biased when voltage is applied in the opposite direction.
Under normal operating conditions:
very little current flows
Therefore, a diode can be used to control the direction of current.
Diode Behavior
A simplified model is:
forward direction → conducts
reverse direction → blocks
This is useful for understanding many circuits.
However, real diodes are not perfect switches.
They have:
- forward voltage drops
- small reverse currents
- maximum current ratings
- maximum reverse-voltage ratings
Diode Circuit Symbol
The diode circuit symbol indicates its direction of conduction.
The line side corresponds to the:
cathode
When interpreting a circuit, identify the diode orientation before predicting whether current can flow.
The symbol allows us to determine whether the diode is forward or reverse biased.
Rectification
One important diode application is rectification.
Rectification converts:
AC → one-directional current
Because AC repeatedly reverses direction, a diode can block one half of the alternating cycle.
More complex arrangements of several diodes can produce full-wave rectification.
Rectifiers are commonly found in power supplies and chargers.
Light-Emitting Diodes
An LED is a:
light-emitting diode
It is a semiconductor diode that emits light when an appropriate forward current passes through it.
LEDs are used in:
- indicator lights
- displays
- lighting
- screens
- remote controls
- communication systems
- decorative lighting
LED Circuit Symbol
The LED symbol is based on the ordinary diode symbol but includes arrows pointing outward.
The arrows represent:
light being emitted
Like ordinary diodes, LEDs are polarized.
They must normally be connected in the correct direction.
LEDs Need Current Control
An LED should not normally be connected directly across a voltage supply without appropriate current control.
Once conducting, an LED's current can rise rapidly.
A series resistor is commonly used to limit current.
LED Resistor Example
Suppose:
Supply voltage = 9 V
LED voltage ≈ 2 V
Desired current = 20 mA
Convert:
20 mA = 0.020 A
Voltage across resistor:
V_R = 9 − 2
V_R = 7 V
Use:
R = V/I
R = 7/0.020
R = 350 Ω
A suitable practical resistor value near this calculated value can be selected while ensuring the LED current remains within its allowed range.
Why LEDs Are Useful
LEDs are widely used because they can offer:
- low energy consumption
- long operating life
- rapid switching
- small size
- low heat production compared with many older lighting technologies
- many available colors
LED technology has largely replaced older indicator lamps in many electronic devices.
Transistors
A transistor is a semiconductor device used to control electrical current.
Transistors are among the most important components in modern electronics.
They can act as:
- electronic switches
- amplifiers
Modern integrated circuits may contain enormous numbers of microscopic transistors.
Transistor as an Electronic Switch
A transistor allows a relatively small electrical signal to control a larger current.
This makes it possible to switch devices electronically without requiring a person to operate a mechanical switch.
For example:
sensor → transistor → motor
A small sensor signal can control whether current flows through the motor.
BJT Transistors
One common transistor type is the bipolar junction transistor (BJT).
A BJT has three terminals:
- base
- collector
- emitter
A small base current can control a much larger collector-emitter current.
A simplified idea is:
small base current → controls larger collector current
Transistor Switch Example
Imagine a circuit containing:
- temperature sensor
- transistor
- fan
When temperature becomes high enough, the sensor produces a signal.
The transistor switches on.
Current then flows through the fan.
When the temperature falls:
the transistor can switch off.
This allows automatic electronic control.
Transistors as Amplifiers
A transistor can also amplify an electrical signal.
A small input signal can control a larger output signal.
Amplification is important in:
- microphones
- speakers
- radios
- sensors
- communication systems
- audio equipment
The transistor does not create energy. Energy for the larger output comes from the circuit's power supply.
MOSFETs
Another extremely important transistor is the MOSFET.
A MOSFET commonly has three terminals called:
- gate
- drain
- source
A voltage applied to the gate controls current between the drain and source.
MOSFETs are widely used in:
- computers
- power electronics
- motor controllers
- switching power supplies
- digital circuits
Transistor vs Mechanical Switch
A mechanical switch requires physical movement.
A transistor can switch electronically.
This provides advantages such as:
- very fast switching
- no mechanical moving parts
- automatic control
- small size
- easy integration into computer circuits
Billions of transistor switching operations can occur every second in modern digital electronics.
Integrated Circuits
An integrated circuit (IC) is an electronic circuit containing many components manufactured together on a small semiconductor chip.
ICs may contain:
- transistors
- diodes
- resistors
- capacitors
- interconnections
Instead of constructing every circuit from separate components, complex circuits can be built into a single chip.
What Integrated Circuits Can Do
Integrated circuits can perform functions such as:
- calculations
- data storage
- signal processing
- timing
- amplification
- communication
- motor control
- sensor processing
- power management
Examples include:
- microprocessors
- memory chips
- amplifiers
- timer ICs
- voltage regulators
- microcontrollers
Microprocessors
A microprocessor is a complex integrated circuit designed to process instructions and data.
Microprocessors contain huge numbers of transistors operating as electronic switches.
They are used in:
- computers
- phones
- vehicles
- appliances
- industrial systems
Digital information is represented using electrical states corresponding to binary values such as:
0 and 1
Microcontrollers
A microcontroller is an integrated circuit designed to control electronic systems.
A microcontroller may combine:
- processor
- memory
- input/output connections
- timers
- communication systems
on one chip.
Microcontrollers are common in:
- washing machines
- robots
- toys
- thermostats
- automotive systems
- smart devices
Active and Passive Components
Electronic components are often classified as:
passive
or:
active
This distinction is useful, although precise definitions can vary depending on the engineering context.
Passive Components
Passive components do not normally provide signal amplification or active electronic control.
Common passive components include:
- resistors
- capacitors
- inductors
They can:
- dissipate energy
- store energy
- filter signals
- limit current
- divide voltage
but they do not normally provide amplification.
Resistors as Passive Components
A resistor limits current and transfers electrical energy into thermal energy.
It cannot amplify a signal.
Therefore, it is classified as:
passive
Capacitors as Passive Components
A capacitor can:
- store energy
- release energy
- filter signals
- create timing effects
However, it does not produce sustained amplification.
Therefore, a capacitor is also considered:
passive
Active Components
Active components can control current or electrical signals in more sophisticated ways.
Examples commonly include:
- transistors
- integrated circuits
Depending on the classification system, semiconductor devices such as diodes are also commonly grouped with active components.
Active components are essential for:
- switching
- amplification
- signal processing
- logic
- electronic control
Passive vs Active Components
| Passive Components | Active Components |
|---|---|
| Resistors | Transistors |
| Capacitors | Integrated circuits |
| Inductors | Amplifier devices |
| Store or dissipate energy | Can actively control signals |
| Cannot normally amplify | Can provide amplification/control |
| Often simpler | Often semiconductor-based |
A practical electronic circuit usually contains both.
Electronic Control of Current
Electronic devices control current in several different ways.
Resistor
Limits current using resistance.
Diode
Controls the direction of current.
LED
Controls current direction while converting some electrical energy into light.
Transistor
Uses one electrical signal to control another current.
Integrated circuit
Combines many electronic components to perform complex control.
Sensors and Electronic Control
Sensors can detect environmental conditions and produce electrical signals.
Examples include:
- light sensors
- temperature sensors
- pressure sensors
- motion sensors
- sound sensors
A sensor signal can be processed by a transistor or integrated circuit to control another device.
For example:
light sensor → electronic circuit → lamp
or:
temperature sensor → electronic circuit → fan
Light-Dependent Resistors
A light-dependent resistor (LDR) changes resistance depending on light intensity.
Typically:
more light → lower resistance
An LDR can be used in:
- automatic lighting
- light sensors
- alarms
- brightness controls
The LDR itself is a passive sensing component, but it can be combined with active components to control a circuit.
Thermistors
A thermistor is a resistor whose resistance changes significantly with temperature.
A common type is an NTC thermistor.
For an NTC thermistor:
temperature increases → resistance decreases
Thermistors can be used in:
- temperature sensors
- thermostats
- battery protection
- electronic equipment
From Sensor to Output
Consider an automatic cooling system.
Input
Thermistor detects temperature.
Processing
A transistor or integrated circuit responds to the sensor signal.
Output
A fan switches on.
The system can be represented as:
input → processing → output
This basic pattern appears throughout electronic control systems.
Relays
A relay is an electrically controlled switch.
A small control current can cause another circuit to open or close.
Relays can provide electrical isolation between:
- control circuit
- load circuit
Modern circuits may instead use transistors for many switching applications, but relays remain useful when physical contacts or electrical isolation are required.
Diodes and Inductive Loads
Components such as motors and relay coils store energy in magnetic fields.
When their current is suddenly interrupted, they can produce a large voltage.
A diode can sometimes be placed across the coil to provide a safe path for the current as the magnetic field collapses.
This type of diode is often called a:
flyback diode
It helps protect transistors and other electronic components.
Voltage Dividers
Resistors can be arranged to produce a fraction of a supply voltage.
For two series resistors:
V_out = V_in × R₂/(R₁ + R₂)
This arrangement is called a voltage divider.
Voltage dividers are often combined with:
- thermistors
- LDRs
- transistor circuits
- sensor inputs
to produce voltage signals that change with environmental conditions.
Example Voltage Divider
Suppose:
V_in = 12 V
R₁ = 2 kΩ
R₂ = 4 kΩ
Then:
V_out = 12 × 4/(2 + 4)
V_out = 12 × 4/6
V_out = 8 V
Changing one resistance changes the output voltage.
This allows resistive sensors to produce useful control signals.
Reading Electronic Circuit Diagrams
When interpreting a circuit diagram:
- Identify the power supply.
- Identify each component symbol.
- Trace possible current paths.
- Check diode and LED orientation.
- Identify series and parallel sections.
- Identify input components such as sensors.
- Identify control components such as transistors or ICs.
- Identify output devices such as lamps, LEDs, motors, or speakers.
Do not rely only on how components are positioned on the page.
Follow the actual electrical connections.
Connections and Junctions
Circuit diagrams often use lines to represent wires.
When several wires are electrically connected, a junction may be indicated by a dot.
Crossing lines do not always mean that the wires are electrically connected.
The exact symbol convention should therefore be interpreted carefully.
Circuit Example: LED Indicator
Consider:
battery → resistor → LED → battery
The battery provides electrical energy.
The resistor limits current.
The LED emits light when forward biased.
If the LED is reversed:
little or no current flows under normal conditions
and the LED does not light.
Circuit Example: Automatic Light
A more complex system could contain:
- LDR
- resistors
- transistor
- LED or lamp
The LDR detects light level.
Its resistance changes.
This changes a control voltage.
The transistor responds to the voltage and switches the output.
This allows the lamp to turn on automatically when conditions meet the circuit's designed threshold.
Circuit Example: Temperature-Controlled Fan
A temperature-control circuit may contain:
- thermistor
- resistors
- transistor
- motor
- protection diode
As temperature changes:
thermistor resistance changes
This produces a changing electrical signal.
The transistor then controls current through the motor.
The diode can protect the transistor from voltage produced when motor current is interrupted.
This demonstrates how several components work together rather than independently.
Why Semiconductor Components Are Important
Modern electronics depends heavily on semiconductors.
Semiconductor materials have electrical properties between those of good conductors and insulators, and their behavior can be carefully controlled.
Silicon is one of the most important semiconductor materials.
Semiconductor technology allows engineers to manufacture:
- diodes
- LEDs
- transistors
- solar cells
- sensors
- integrated circuits
From Individual Transistors to Computer Chips
Early electronic systems used large individual components.
Modern manufacturing allows enormous numbers of microscopic transistors to be produced on small pieces of semiconductor material.
This has allowed electronic devices to become:
- smaller
- faster
- more powerful
- more reliable
- less expensive per function
Component Ratings
Electronic components have operating limits.
Important ratings can include:
- maximum voltage
- maximum current
- maximum power
- temperature range
- capacitance
- resistance
- polarity
Exceeding these ratings can cause:
- overheating
- incorrect operation
- permanent damage
Correct circuit design requires components to operate within their ratings.
Resistor Power Rating
Suppose a resistor carries:
I = 0.20 A
and has:
R = 100 Ω
Power:
P = I²R
P = 0.20² × 100
P = 0.04 × 100
P = 4 W
A small resistor rated for only 0.25 W would not be suitable.
The resistor would require a power rating safely above the expected dissipation.
Component Failure
Electronic components can fail because of:
- excessive current
- excessive voltage
- overheating
- incorrect polarity
- electrostatic discharge
- mechanical damage
- aging
- manufacturing defects
Good circuit design includes protection against predictable faults.
Electronic Devices as Systems
Most electronic devices can be understood as systems containing:
input → processing/control → output
For example:
Automatic light
LDR → transistor/control circuit → lamp
Digital thermometer
temperature sensor → integrated circuit → display
Audio system
microphone → amplifier → speaker
Computer
keyboard/sensors → processor → display/output
Understanding individual components helps explain how these larger systems operate.
Common Mistakes
Mistake: Saying all electronic components simply resist current.
Different components perform very different functions.
Mistake: Saying a diode conducts equally in both directions.
A diode strongly favors current in one direction.
Mistake: Treating an LED like an ordinary lamp.
An LED is a polarized semiconductor diode and normally requires current control.
Mistake: Connecting an LED directly to a high enough voltage supply without limiting current.
Excessive current can damage the LED.
Mistake: Saying a transistor creates electrical energy.
A transistor controls energy supplied by another source.
Mistake: Saying a transistor is only an on/off switch.
Transistors can also amplify signals.
Mistake: Assuming an integrated circuit contains only one component.
An IC can contain enormous numbers of interconnected components.
Mistake: Confusing passive and active components.
Resistors and capacitors are passive; transistors and ICs are active control components.
Mistake: Assuming the physical position of components on a circuit diagram determines their connections.
Follow the circuit lines and junctions.
Mistake: Ignoring component ratings.
Voltage, current, power, temperature, and polarity limits are important.
Key Terms
Electronic component — individual device used to perform a function within an electronic circuit.
Circuit symbol — standardized graphical representation of an electrical or electronic component.
Diode — semiconductor device that allows current much more readily in one direction than the other.
Anode — one terminal of a diode.
Cathode — the other terminal of a diode, identified by the line side of the basic diode symbol.
Forward bias — voltage condition that allows significant diode current.
Reverse bias — voltage condition that normally prevents significant diode current.
Rectification — conversion of AC into one-directional current.
LED — light-emitting diode that produces light when appropriately forward biased.
Transistor — semiconductor device used for switching or amplification.
BJT — transistor with base, collector, and emitter terminals.
MOSFET — transistor commonly using gate voltage to control current between drain and source.
Amplification — use of a small signal to control a larger signal using energy supplied by a power source.
Integrated circuit (IC) — circuit containing many components manufactured together on a semiconductor chip.
Microprocessor — integrated circuit designed to process instructions and data.
Microcontroller — integrated circuit containing processing, memory, and control functions for embedded systems.
Passive component — component such as a resistor or capacitor that does not normally provide amplification or active signal control.
Active component — component capable of active signal control, switching, or amplification.
Sensor — component that responds to a physical condition and produces an electrical response.
LDR — resistor whose resistance changes with light intensity.
Thermistor — resistor whose resistance changes significantly with temperature.
Relay — electrically operated switch.
Voltage divider — resistor arrangement that produces a fraction of an input voltage.
Semiconductor — material whose electrical properties can be controlled to produce electronic devices.
Key Takeaways
- Electronic circuits use components to control current and electrical signals.
- Circuit symbols provide standardized representations of components.
- Resistors limit current and are passive components.
- Capacitors store energy in electric fields and are passive components.
- Diodes allow current much more readily in one direction than the other.
- Diodes can be used for rectification and circuit protection.
- LEDs are light-emitting diodes.
- LEDs are polarized and normally require current limiting.
- Transistors can act as electronic switches.
- Transistors can also amplify electrical signals.
- A small transistor input can control a much larger output current.
- Integrated circuits combine many electronic components on a single semiconductor chip.
- Microprocessors and microcontrollers are important types of integrated circuits.
- Active components provide electronic switching, amplification, or control.
- Passive components store, dissipate, or modify electrical energy without providing active amplification.
- Sensors allow electronic circuits to respond to environmental conditions.
- LDRs respond to light and thermistors respond to temperature.
- Voltage dividers can convert changing sensor resistance into changing voltage.
- Modern electronic devices combine inputs, processing, and outputs.
- Semiconductor technology makes modern digital electronics possible.
Check Your Understanding
- What is an electronic component?
- Why are circuit symbols used instead of realistic pictures in circuit diagrams?
- Describe the main function of a resistor.
- Describe the main function of a capacitor.
- Explain how a diode controls current.
- What is meant by forward bias?
- What is meant by reverse bias?
- Explain how diodes can be used to convert AC into one-directional current.
- What is an LED?
- Why is a resistor often connected in series with an LED?
- A 12 V supply powers an LED with a 2 V forward voltage at 20 mA. Calculate the required series resistance.
- Describe two functions of a transistor.
- Explain how a small transistor signal can control a motor.
- What is an integrated circuit?
- Compare passive and active electronic components.
- Classify a resistor, capacitor, transistor, and integrated circuit as passive or active.
- Explain how an LDR and transistor could be used to create an automatic light.
- Explain how a thermistor could be used in a temperature-controlled fan.
- A 100 Ω resistor carries 0.10 A. Calculate the power transferred by the resistor.
- Describe how sensors, transistors, and integrated circuits allow modern electronic devices to control electrical current automatically.
4. Sensors and Control Circuits
Learning outcomes
- I can explain how electronic sensors operate.
- I can describe light, temperature, and motion sensors.
- I can interpret simple control circuits.
- I can explain automatic switching systems.
- I can identify everyday applications of electronic sensors.
Sensors and Control Circuits
What Is an Electronic Sensor?
An electronic sensor detects a physical change in the environment and produces a corresponding electrical response.
Sensors allow electronic systems to respond automatically to changes such as:
- light intensity
- temperature
- movement
- pressure
- sound
- humidity
- distance
A sensor does not usually perform the final action itself. Instead, it provides information to a control circuit, which decides how an output device should respond.
Input, Process and Output
Many automatic electronic systems can be described using three stages:
input → process/control → output
Input
A sensor detects a physical condition.
Process
An electronic circuit processes the sensor signal and decides what should happen.
Output
An output device performs an action.
For example:
temperature sensor → control circuit → cooling fan
or:
motion sensor → control circuit → security light
Why Sensors Are Useful
Without sensors, many electrical devices require direct human control.
For example, someone might have to:
- switch a light on
- adjust a heater
- open a door
- activate an alarm
Sensors allow these actions to occur automatically when particular conditions are detected.
Light Sensors
A light sensor responds to changes in light intensity.
One common light-sensitive component is the:
light-dependent resistor (LDR)
An LDR changes resistance depending on the amount of light falling on it.
Light-Dependent Resistors
For a typical LDR:
bright light → lower resistance
darkness → higher resistance
The LDR therefore converts a change in light intensity into a change in electrical resistance.
This resistance change can then be converted into a changing voltage or current that a control circuit can detect.
Using an LDR in a Circuit
Suppose an LDR is connected as part of a voltage divider.
As light intensity changes:
LDR resistance changes
which causes:
output voltage to change
The changing voltage can then control:
- a transistor
- an integrated circuit
- a microcontroller
- another switching device
This allows a light-sensitive circuit to operate automatically.
Voltage Dividers
A voltage divider uses resistors to produce an output voltage that is a fraction of the supply voltage.
For two resistors:
V_out = V_supply × R₂/(R₁ + R₂)
If one resistor is replaced by a sensor, changes in sensor resistance produce changes in output voltage.
This is one of the most important ways resistive sensors are used in control circuits.
LDR Voltage Divider Example
Suppose:
V_supply = 6 V
R₁ = 10 kΩ
LDR resistance = 20 kΩ
and the output is measured across the LDR.
Then:
V_out = 6 × 20/(10 + 20)
V_out = 6 × 20/30
V_out = 4 V
If brighter light reduces the LDR resistance to:
5 kΩ
then:
V_out = 6 × 5/(10 + 5)
V_out = 2 V
The light change has therefore produced an electrical voltage change.
Sensor Position Matters
In a voltage divider, the position of the sensor determines whether output voltage rises or falls when the sensor resistance changes.
For example, an LDR can be arranged so that:
more light → higher V_out
or:
more light → lower V_out
depending on where the LDR is placed.
Therefore, always inspect the circuit rather than memorizing that an LDR must produce a particular voltage change.
Automatic Lighting
An automatic light can use:
LDR → control circuit → transistor → lamp
During daylight:
the sensor detects bright conditions.
The control circuit keeps the lamp off.
When it becomes dark:
the sensor resistance changes.
The control voltage crosses a switching threshold.
The transistor switches the lamp on.
This principle is used in:
- streetlights
- garden lights
- night lights
- display brightness controls
Temperature Sensors
Electronic systems can also detect temperature.
One common temperature-sensitive component is a:
thermistor
A thermistor is a resistor whose resistance changes significantly with temperature.
NTC Thermistors
A common type is the negative temperature coefficient (NTC) thermistor.
For an NTC thermistor:
temperature increases → resistance decreases
and:
temperature decreases → resistance increases
This relationship allows temperature changes to produce electrical changes.
PTC Thermistors
Some thermistors have a positive temperature coefficient (PTC).
For a PTC thermistor:
temperature increases → resistance increases
PTC devices can be used for applications including:
- overcurrent protection
- overtemperature protection
- self-regulating heating
Always identify the type of thermistor before predicting its behavior.
Temperature Control Circuit
A temperature-control system might contain:
thermistor → voltage divider → transistor → fan
As temperature rises:
thermistor resistance changes.
This changes:
V_out
When V_out reaches the required switching level:
transistor switches on
Current then flows through the fan.
Thermostat Example
A thermostat automatically controls heating or cooling.
For a heating system:
temperature too low → heater ON
temperature high enough → heater OFF
For a cooling system:
temperature too high → cooling ON
temperature low enough → cooling OFF
The sensor continuously provides information about temperature.
Feedback
Many automatic control systems use feedback.
Feedback occurs when the output of the system affects the condition being measured.
Consider a heater:
- Sensor detects low temperature.
- Heater switches on.
- Room temperature rises.
- Sensor detects the higher temperature.
- Heater switches off.
- Room gradually cools.
- The cycle repeats.
This allows the system to maintain conditions near a desired value.
Motion Sensors
A motion sensor detects movement.
Different technologies can be used to detect motion.
Common examples include:
- passive infrared sensors
- ultrasonic sensors
- microwave sensors
- optical sensors
One of the most common sensors in household systems is the PIR sensor.
Passive Infrared Sensors
PIR stands for:
passive infrared
Objects above absolute zero emit infrared radiation.
Warm bodies such as humans emit significant infrared radiation.
A PIR sensor detects changes in the infrared radiation pattern reaching the sensor.
It is especially useful for detecting movement of warm objects across its field of view.
Why Is It Called Passive?
A PIR sensor is called passive because it does not need to send infrared radiation toward the environment to detect motion.
Instead, it detects infrared radiation already arriving from objects around it.
This differs from active sensing systems that send out a signal and detect its reflection.
PIR Sensors and Human Movement
A PIR sensor typically contains infrared-sensitive elements.
A lens system divides its field of view into detection regions.
When a warm person moves between these regions, the infrared pattern changes.
The electronics detect this changing signal.
The sensor can then activate another circuit.
Motion-Activated Light
A typical motion-activated lighting system operates as:
PIR sensor → control circuit → electronic switch → lamp
When movement is detected:
lamp ON
After a preset time with no further movement:
lamp OFF
This can improve:
- convenience
- security
- energy conservation
Active Motion and Distance Sensors
Some sensors actively send out energy.
For example, an ultrasonic sensor emits sound waves above the normal human hearing range.
The waves reflect from objects.
The sensor measures the returning signal.
Distance can be determined using:
distance = speed × time / 2
The division by 2 is necessary because the sound travels:
sensor → object → sensor
Ultrasonic Example
Suppose an ultrasonic pulse returns after:
0.010 s
Using:
speed of sound ≈ 340 m/s
Distance:
d = vt/2
d = 340 × 0.010 / 2
d = 3.4/2
d = 1.7 m
Ultrasonic sensors can therefore detect both the presence and distance of objects.
Everyday Motion-Sensor Applications
Motion and proximity sensors are used in:
- automatic doors
- security systems
- outdoor lighting
- automatic taps
- parking systems
- robots
- vehicles
- industrial machinery
Different applications require different sensor technologies.
Automatic Switching
An automatic switching system changes the state of an electrical device without requiring direct human operation.
A typical system contains:
sensor → control circuit → switch → output
The electronic switch might be:
- transistor
- MOSFET
- relay
- integrated switching device
Why a Sensor May Not Drive the Output Directly
Sensors often produce relatively small electrical signals.
A large output device may require much greater current.
For example:
Sensor current = very small
Motor current = much larger
The sensor should not necessarily supply the motor current directly.
Instead:
sensor signal → transistor → motor current
The transistor allows the small sensor signal to control a much larger load current.
Transistor as a Switch
A transistor can behave like an electronically controlled switch.
A small input signal determines whether a larger current can flow through another part of the circuit.
Simplified behavior:
Input below switching level
transistor OFF
output OFF
Input high enough
transistor ON
output ON
This is the basis of many automatic control circuits.
Relay Control
A relay is another type of electrically controlled switch.
A small control circuit energizes the relay coil.
The relay then opens or closes contacts in another circuit.
Relays are useful when:
- a load requires significant current
- electrical isolation is needed
- a different circuit voltage must be switched
For example:
temperature sensor → transistor → relay → heater
Control Circuit Example: Automatic Fan
Consider a temperature-controlled cooling fan.
Components:
- NTC thermistor
- resistor
- transistor
- motor
- power supply
The sequence is:
temperature rises
↓
thermistor resistance changes
↓
control voltage changes
↓
transistor switches on
↓
motor operates
↓
fan cools the system
When temperature falls sufficiently, the fan can switch off again.
Control Circuit Example: Night Light
An automatic night light could use:
- LDR
- resistor
- transistor
- LED
- current-limiting resistor
During daylight:
LED OFF
When darkness is detected:
LED ON
The circuit therefore converts environmental information into an automatic electrical response.
Control Circuit Example: Security System
A simple security system might operate as:
motion detected → control circuit → alarm activated
The output might include:
- buzzer
- siren
- light
- camera
- electronic notification
More advanced systems may combine several sensors.
Multiple Sensors
Electronic control systems can use more than one input.
For example, an outdoor light might turn on only when:
it is dark AND motion is detected
This requires information from:
- light sensor
- motion sensor
The control circuit combines both signals before activating the lamp.
This prevents the motion sensor from switching the light on unnecessarily during daylight.
Thresholds
Many control systems use a threshold.
A threshold is a value at which the system changes state.
For example:
temperature < 20°C → heater ON
temperature > 22°C → heater OFF
or:
light intensity below threshold → lamp ON
Thresholds prevent the output from responding randomly to every tiny change in sensor reading.
Why Use Two Thresholds?
Suppose a heater switched:
ON below exactly 20.0°C
and:
OFF above exactly 20.0°C
Small temperature fluctuations around 20°C could cause rapid switching:
ON → OFF → ON → OFF
This is undesirable.
Instead, a system might use:
heater ON below 19°C
heater OFF above 21°C
The difference between switching thresholds is called hysteresis.
It helps produce stable control.
Interpreting a Simple Control Circuit
When examining a sensor-control circuit, work through it systematically.
Identify:
- power supply
- sensor
- fixed resistors
- control voltage
- transistor or relay
- output device
Then ask:
- What physical quantity does the sensor detect?
- How does its electrical property change?
- Does the control voltage rise or fall?
- What causes the switch to turn on?
- What happens to the output?
This method is more reliable than trying to memorize individual circuit diagrams.
Example: LDR Circuit Reasoning
Suppose an LDR forms the lower part of a voltage divider:
V_out = V_supply × R_LDR/(R_fixed + R_LDR)
In darkness:
R_LDR increases.
Therefore:
V_out increases.
If this voltage controls a transistor:
darkness → larger V_out → transistor ON → lamp ON
But if the LDR and fixed resistor exchange positions, the response reverses.
Circuit position matters.
Example: Thermistor Circuit Reasoning
Suppose an NTC thermistor is the lower component of a voltage divider.
As temperature increases:
R_thermistor decreases.
Therefore, voltage across the thermistor decreases.
If the thermistor is placed in the upper part instead, the output behavior changes.
Again:
do not memorize voltage direction without inspecting the circuit
Digital Sensors
Some modern sensors contain their own electronic circuits and provide a digital output.
Instead of simply changing resistance, they may:
- measure a quantity
- process the measurement
- convert it into digital data
- communicate with a microcontroller
Examples include digital:
- temperature sensors
- accelerometers
- light sensors
- pressure sensors
- motion sensors
Smartphones and Sensors
Modern smartphones contain many sensors.
These may include:
- accelerometer
- gyroscope
- ambient light sensor
- proximity sensor
- magnetic-field sensor
- pressure sensor
- cameras
- microphones
These sensors allow the phone to respond to its environment and movement.
Accelerometers
An accelerometer measures acceleration.
Accelerometers can help detect:
- movement
- orientation changes
- vibration
- impacts
Applications include:
- smartphones
- fitness trackers
- vehicles
- game controllers
- drones
- safety systems
Proximity Sensors
A proximity sensor detects whether an object is nearby without necessarily requiring physical contact.
Different proximity sensors may use:
- infrared radiation
- ultrasound
- electromagnetic fields
- capacitance
For example, a phone may use proximity sensing to turn off its display when it is close to the user's face during a call.
Sensors in Vehicles
Modern vehicles contain many sensors.
They can monitor:
- wheel speed
- engine temperature
- tire pressure
- distance to obstacles
- acceleration
- air pressure
- oxygen concentration
- light levels
Sensor information is processed by electronic control units that automatically adjust vehicle systems.
Sensors in Homes
Sensors are increasingly common in household systems.
Examples include:
- smoke detectors
- thermostats
- security systems
- automatic lighting
- smart appliances
- door sensors
- water-leak detectors
- air-quality monitors
Sensors can improve:
- safety
- comfort
- security
- energy efficiency
Sensors in Industry
Factories use sensors to monitor:
- temperature
- pressure
- position
- speed
- light
- fluid level
- vibration
Automatic control systems can respond much faster and more consistently than continuous manual control.
For example:
sensor → controller → motor
can automatically maintain the speed of a production machine.
Sensors and Energy Conservation
Sensors can reduce unnecessary energy consumption.
For example:
Motion-controlled lighting
Lights operate only when an area is occupied.
Smart thermostats
Heating or cooling operates according to temperature and demand.
Daylight sensors
Artificial lighting decreases when sufficient daylight is available.
Automatic control therefore connects electronics with energy efficiency.
Sensors in Safety Systems
Sensors are also important for safety.
Examples include:
- smoke detection
- heat detection
- gas detection
- collision detection
- overtemperature protection
- automatic shutdown systems
A sensor can detect a dangerous condition and cause the control circuit to:
sound an alarm
or:
disconnect equipment
or both.
Advantages of Automatic Control
Automatic sensor systems can provide:
- rapid response
- continuous monitoring
- consistent operation
- improved safety
- improved efficiency
- reduced human workload
They can also operate in environments that are difficult or dangerous for humans.
Limitations of Sensor Systems
Sensors are not perfect.
Possible problems include:
- inaccurate measurements
- electrical noise
- poor calibration
- limited operating range
- delayed response
- false triggers
- component failure
Control systems must therefore be designed to account for sensor limitations.
False Trigger Example
A PIR security sensor may detect:
- moving people
- animals
- changing heat patterns
A poorly positioned sensor might produce unwanted alarms.
Good system design requires appropriate:
- sensor type
- sensitivity
- positioning
- threshold settings
Sensor Calibration
Calibration compares a sensor's response with known reference values.
For example, a temperature sensor could be compared with accurately known temperatures.
Calibration helps determine whether the sensor produces reliable measurements.
This is particularly important in:
- scientific instruments
- medical equipment
- industrial control
- safety systems
Common Mistakes
Mistake: Saying a sensor directly performs the final action.
A sensor normally provides an input signal to a control system.
Mistake: Saying an LDR produces light.
An LDR detects light by changing resistance.
Mistake: Saying LDR resistance increases with increasing light.
For a typical LDR, greater light intensity produces lower resistance.
Mistake: Saying all thermistors behave identically.
NTC and PTC thermistors behave differently.
Mistake: Saying a PIR sensor sends infrared radiation toward people.
A PIR sensor passively detects changes in incoming infrared radiation.
Mistake: Assuming a sensor can always directly power a motor.
A transistor, relay, or other driver may be required.
Mistake: Memorizing the output of a voltage divider without examining component positions.
Sensor position determines whether V_out rises or falls.
Mistake: Confusing sensing with control.
The sensor detects; the control system decides and activates the output.
Mistake: Assuming automatic systems never make mistakes.
Sensors can produce inaccurate readings or false triggers.
Key Terms
Sensor — device that detects a physical quantity and produces an electrical response.
Control circuit — circuit that processes an input signal and determines the operation of an output.
Input — information entering a control system.
Output — action produced by a control system.
LDR — light-dependent resistor whose resistance changes with light intensity.
Thermistor — resistor whose resistance changes significantly with temperature.
NTC thermistor — thermistor whose resistance decreases as temperature increases.
PTC thermistor — thermistor whose resistance increases as temperature increases.
PIR sensor — passive infrared sensor that detects changes in infrared radiation patterns.
Motion sensor — sensor designed to detect movement.
Proximity sensor — sensor that detects nearby objects without direct contact.
Ultrasonic sensor — sensor that uses high-frequency sound waves to detect objects or measure distance.
Voltage divider — resistor arrangement used to produce an output voltage dependent on resistance values.
Transistor — semiconductor device that can act as an electronically controlled switch.
Relay — electrically controlled mechanical switch.
Threshold — input value at which a control system changes state.
Hysteresis — use of different switching thresholds to prevent rapid repeated switching.
Feedback — process in which a system's output affects the quantity being monitored.
Calibration — comparison of a sensor against known reference values.
Key Takeaways
- Sensors allow electronic systems to detect changes in their surroundings.
- A control system can be represented as input → process/control → output.
- LDRs detect light by changing resistance.
- Typical LDR resistance decreases as light intensity increases.
- Thermistors detect temperature through resistance changes.
- NTC thermistor resistance decreases as temperature increases.
- PIR sensors detect changes in infrared radiation from warm objects.
- Ultrasonic sensors can detect objects and measure distance using reflected sound.
- Resistive sensors are commonly used in voltage-divider circuits.
- The position of a sensor in a voltage divider determines how V_out changes.
- Transistors allow small sensor signals to control larger currents.
- Relays can allow low-power circuits to switch separate higher-power circuits.
- Automatic switching occurs when sensor information crosses a control threshold.
- Feedback allows systems such as thermostats to regulate conditions automatically.
- Hysteresis can prevent rapid repeated switching near a threshold.
- Sensors are used in homes, vehicles, phones, factories, security systems, and safety equipment.
- Sensor-controlled systems can improve energy efficiency.
- Sensors have limitations and may require calibration.
- Modern systems often combine several sensors.
- Understanding a control circuit requires tracing how a physical change becomes an electrical signal and then an output action.
Check Your Understanding
- Define an electronic sensor.
- Explain the meaning of input → process → output in a control system.
- Describe how the resistance of a typical LDR changes as light intensity increases.
- Explain how an LDR could be used to control an automatic night light.
- What is an NTC thermistor?
- Describe how the resistance of an NTC thermistor changes when temperature increases.
- Explain how a thermistor could control a cooling fan.
- What does PIR stand for?
- Explain why a PIR sensor is described as passive.
- Describe how a PIR sensor detects human movement.
- Give three everyday applications of motion sensors.
- Explain why a transistor may be required between a sensor and a motor.
- A voltage divider has a 10 kΩ fixed resistor and a 20 kΩ sensor connected across a 6 V supply. If V_out is measured across the sensor, calculate V_out.
- Explain why swapping the positions of the sensor and fixed resistor changes the behavior of a voltage-divider control circuit.
- An ultrasonic pulse returns to a sensor after 0.020 s. Using a sound speed of 340 m/s, calculate the distance to the object.
- Explain what is meant by a switching threshold.
- Explain why hysteresis is useful in a thermostat.
- Describe one way electronic sensors can reduce household energy consumption.
- Compare a light sensor, temperature sensor, and motion sensor in terms of the physical quantity each detects.
- Design, in words, an automatic system that uses a sensor, a control circuit, and an output device to solve an everyday problem.
5. Digital Electronics and Applications
Learning outcomes
- I can distinguish between analogue and digital systems.
- I can explain how electronic circuits are used in computers and communication devices.
- I can identify applications of microcontrollers and integrated circuits.
- I can describe how electronics are used in modern technology.
- I can evaluate the impact of electronic systems on society.