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.

Capacitors

What Is a Capacitor?

A capacitor is an electrical component that stores separated electric charge and energy in an electric field.

A simple capacitor consists of:

  • two conducting plates
  • an insulating material or gap between the plates
  • connections to an electrical circuit

When connected to a voltage source, electrons are moved from one plate to the other.

One plate becomes:

negatively charged

while the other becomes:

positively charged

The plates carry equal amounts of opposite charge.

https://images.openai.com/static-rsc-4/hkbWqhkmJmWqWIqmfjoRHOZgu9NnEqeipqsD-LjvaUKc6l3z4myRsJ9TNhJdrieiy8DDP3hawNfkIwKO9gwNq8J4y8qqY428SP3h_QpMrnAbUtkMCBFAv-AqDENWuc9fXSLvemIw1yNlbenO1V_W-REd-I2OpJwROaRjU77GCmnnNKtA5xcumJq1lQnjrBJC?purpose=fullsize
 
https://images.openai.com/static-rsc-4/WkAwSUstd5vw4arNTKgiQjZp_H9kBE2N3C9PsZ3UiG8j6ZC5AZpIuyhSUplv1ftmXQeDIHbANf1IfDZFQUUbeiVxRlksha-6flo4VRY8GAMTa7nG4a0q7mh3XI4eHaykZFN2P9Cm6ZI4u3mx6ui17GuFyNUbb9a-vFXR0selXtSAu_j3k8VjRNyOr9vj2Lge?purpose=fullsize
 
https://images.openai.com/static-rsc-4/jZvfyWRy5gK76KPiKZwcLPqZlPtzQPn15pYwK0pRUsDYqTQD4m71NQu2vMRISdgg40dNG_esAqXBPMyHGV1oNV5eEF1rhv8bjRrJ2P-0ETgp2jT7LVqFG1yrfgpu1RCwjrXwknF0rzbYr7f8tYdjM5Qs-D7XItOYXCn9kvKAQ8axl_bHWD2YeKAKcge-hyiM?purpose=fullsize
 
7

How a Capacitor Stores Charge

Suppose an uncharged capacitor is connected to a battery.

Electrons move:

  • away from one plate
  • toward the other plate

This creates a separation of charge.

If one plate has charge:

+Q

the other has:

−Q

The capacitor is described as storing charge Q, meaning the magnitude of charge on either plate.

The total charge of the complete capacitor remains zero because the positive and negative charges balance.


Charging a Capacitor

When a capacitor is first connected to a battery, charge begins to move through the circuit.

As charge accumulates on the plates:

  • the electric field between the plates becomes stronger
  • the voltage across the capacitor increases
  • further charging becomes increasingly difficult

Eventually, the capacitor voltage becomes equal to the supply voltage.

For an ideal capacitor connected to a DC source, the charging current then falls to zero.


The Electric Field

The separated charges create an electric field between the capacitor plates.

Energy is stored in this electric field.

For a simple parallel-plate capacitor, the electric field between the plates is approximately uniform away from the edges.

The field points from:

positive plate → negative plate

https://images.openai.com/static-rsc-4/w6dWF_PUTORAJkjmRlGhdfHk_UYFPNhHlPXXI1kGnl4zNRpWtpVU0aFsA7u4ilsyNPdHXgaQyCxrCd1wBGKuMtc5B3aM78J9FqQ_WhIt8MVpiuaghS7b1Gkaw-HAyHWHCB0vxQRp4HORu5Wy8kAPl_m9UK82ZyqqHVvu9b1QInFNEPE8thYX7U9qAyu0q2tB?purpose=fullsize
 
https://images.openai.com/static-rsc-4/4gSFKm5xR_l1EkA1i-AgZfs7eTwg1zhbqBjXGs1OwlK6GiPGebF9_V3ZESUBUjfObJs_Yk5wbCOqvYCiKJlg-holTu-IMHj0kMpyW-gV_9_8wbvEiHU-1hZoID2kEqT6L3BxT0ilfCZLANtNl7wCHEZqR-RorpoxLwBLkJXuq_zs9qk3IDs-8FanjjD2pIKp?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Ci_PLemCY3bb91Uo2G7xrNrjDLLKh9gVkZSaEf3H6wSXKfTdNLdvKniaXRoV1W6Dk_Q2__iuv1zkwuLT1AmpXbfUEBGnq6LSmyK6vF3pjYPF5UDVGApKkizges0PXBQ0OsY9QWZ_bvwyq6LjhbQh8NeoQ1YpK2n0GkiVDqJ6i0ylwCCB0G9R7s_4gkQ8GZwS?purpose=fullsize
 
5

The electric field becomes stronger as the amount of separated charge increases.


What Is Capacitance?

Capacitance describes a capacitor's ability to store charge for a given potential difference.

It is represented by:

C

and defined by:

C = Q/V

where:

  • C = capacitance (F)
  • Q = charge (C)
  • V = potential difference (V)

Rearranging:

Q = CV

and:

V = Q/C


The Farad

The SI unit of capacitance is the:

farad (F)

From:

C = Q/V

we obtain:

1 F = 1 C/V

A capacitor has a capacitance of 1 F if a charge of 1 C produces a potential difference of 1 V.

One farad is quite large for many electronic applications.


Common Capacitance Units

Capacitance is often measured using smaller units.

1 millifarad (mF) = 10⁻³ F

1 microfarad (μF) = 10⁻⁶ F

1 nanofarad (nF) = 10⁻⁹ F

1 picofarad (pF) = 10⁻¹² F

For example:

100 μF = 100 × 10⁻⁶ F

= 1.0 × 10⁻⁴ F


Calculating Stored Charge

Suppose a capacitor has:

C = 200 μF

and is connected to:

V = 12 V

Convert capacitance:

200 μF = 200 × 10⁻⁶ F

Use:

Q = CV

Q = (200 × 10⁻⁶)(12)

Q = 2.4 × 10⁻³ C

or:

Q = 2.4 mC


Comparing Capacitors

From:

Q = CV

at the same voltage, a capacitor with greater capacitance stores more separated charge.

For example:

Capacitor A:

C = 100 μF

Capacitor B:

C = 500 μF

If both are connected to 10 V:

Capacitor A

Q = CV

Q = (100 × 10⁻⁶)(10)

Q = 1.0 × 10⁻³ C

Capacitor B

Q = (500 × 10⁻⁶)(10)

Q = 5.0 × 10⁻³ C

Capacitor B stores five times as much separated charge at the same voltage.


What Determines Capacitance?

For a simple parallel-plate capacitor, capacitance depends on:

  • plate area
  • distance between the plates
  • material between the plates

A larger plate area generally produces:

greater capacitance

A smaller separation generally produces:

greater capacitance

A suitable insulating material between the plates can also increase capacitance.


Parallel-Plate Capacitor

For an ideal parallel-plate capacitor:

C = εA/d

where:

  • C = capacitance
  • ε = permittivity of the material between the plates
  • A = plate area
  • d = plate separation

Therefore:

C ∝ A

and:

C ∝ 1/d


Effect of Plate Area

Increasing plate area allows more charge to be stored for the same voltage.

Therefore:

larger plate area → greater capacitance

For example, doubling the plate area approximately doubles the capacitance if all other factors remain unchanged.


Effect of Plate Separation

Moving the plates closer together increases capacitance.

Therefore:

smaller separation → greater capacitance

For example, halving the plate separation approximately doubles the capacitance in the ideal parallel-plate model.


Dielectrics

The insulating material between capacitor plates is called a dielectric.

Examples include:

  • air
  • ceramic
  • plastic
  • glass
  • paper
  • oxide layers
https://images.openai.com/static-rsc-4/Owk9pBzzhQXQtygM2Lt3y-Z3uDyvQVjTL5vpb9is-pUdKQdfHx_8T-nWQfsWhkXkMBPg5dT6SFbYq-MMc4zUA0Atipq8FQbkOUddOPqnJAkbzwCX7AUvaIWCbvn10UN28YYZye5J8cZnnWEUn_WEMHXG2ZiMhTCy0MWf-7zwS06jlKYZZj-me1venfVVzfVv?purpose=fullsize
 
https://images.openai.com/static-rsc-4/dc9LGNJkXbmGauuRwLORa_4jH1aOQAJKbdKOmJVFu4JD9LbkaYq9mAI3x7WuXjdzIB2IXFkTackvpw-eql3LhCzmP0dwOPfKFDotZ0iAoy6k3jomiaSvRL0-_ger6j8A4fr-uFIIzdgqBaaWIel4mQoPFmLa_wp3NLPMKG9XbpRP6s_4WuOVK0A8ry3X9dxH?purpose=fullsize
 
https://images.openai.com/static-rsc-4/vtBKLAp6hXK0_8cJ3UEXTNttZajwIq5xUJ-TXyBU-lDCSt4BDGnB09uL_sl0Kx5CCueM5SHxw_BazN06ZB1c81q6RsGNa1St_1wgg57kGGPKcqVCr2O6fRdHW7o57GtOuOYGsfPuJRHAO7SLBWRRkyTk14zOTDebbGtTeKSUfshCC4pDtSjLIxiAyvhdSH3t?purpose=fullsize
 
8

A dielectric can increase capacitance by responding to the electric field inside the capacitor.

Different dielectric materials have different electrical properties.


Energy Stored in a Capacitor

Charging a capacitor requires work.

As charge accumulates, energy is stored in the electric field.

The energy stored can be calculated using:

E = ½CV²

where:

  • E = stored energy (J)
  • C = capacitance (F)
  • V = voltage (V)

Why Voltage Is Squared

Notice:

E = ½CV²

Therefore, for constant capacitance:

E ∝ V²

If voltage doubles:

V → 2V

then:

E → ½C(2V)²

E → 4(½CV²)

Therefore:

doubling the voltage produces four times the stored energy

if capacitance remains constant.


Energy Calculation

A capacitor has:

C = 500 μF

and:

V = 20 V

Convert:

500 μF = 500 × 10⁻⁶ F

Energy:

E = ½CV²

E = ½(500 × 10⁻⁶)(20²)

E = ½(500 × 10⁻⁶)(400)

E = 0.10 J


Other Capacitor Energy Equations

Since:

Q = CV

the energy equation can also be written as:

E = ½QV

or:

E = Q²/(2C)

Therefore:

E = ½CV²

E = ½QV

E = Q²/(2C)

Choose the equation that matches the quantities given.


Example Using E = ½QV

A capacitor stores:

Q = 0.020 C

at:

V = 50 V

Energy:

E = ½QV

E = ½(0.020)(50)

E = 0.50 J


Why Is There a ½ in the Energy Equation?

When an initially uncharged capacitor begins charging:

V = 0

As charge accumulates, the voltage gradually increases until it reaches the final value V.

The average voltage during the charging process is therefore:

V_average = V/2

Since:

E = QV_average

we obtain:

E = Q(V/2)

Therefore:

E = ½QV

Using Q = CV:

E = ½CV²


Discharging a Capacitor

A charged capacitor can release its stored energy into a circuit.

If its terminals are connected through a component such as a resistor:

  • charge begins moving
  • current flows
  • stored energy decreases
  • capacitor voltage decreases

Eventually, an ideal capacitor becomes discharged.

https://images.openai.com/static-rsc-4/Mkk1oFK-fLgFcpZcDIxBw2vUc9dU3nbwbmSYTiX8tymDkdGFqjGp_RBavSPxE6E5ukfIs_cb8c9z7wliZmv8tb_C_xtiFzMJvKA8L9d1QUYKmI0yM0_5qM_sdnPv0oWwHq4tE_aEEVpNDlqJ4tKToigdJ-d_y2u4OH9vyffBEJsvQ45zWMVTqlZHVFhOdDEs?purpose=fullsize
 
https://images.openai.com/static-rsc-4/mlIvqbKqQru8q7yQgKrnM2zYaDUq5QpoNazrXmA7OOSFwwYhr-T1YQlPM50zD4VUS93Jy4gjzmgrp_LwgvIcsJlsnQi7dh4atc_MjcsgiLf6QHWwWJ5CL5-pgt1GIlLN1svC0W0r9VxcO41BVPTpZezLXlpfuAcIc9aI1v44GSnfhsPCYv99XHE4w23Qv7tH?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Pj_RCEKFlhBCWEFinM2e2U-U8e3SCG1xTYnKxUwuobadqFalMxMxx4jkOnlkLEXhpP2j47yHoYE-kgVqrjpEvypoGhqCNYVx9vnIPBICcC7SwCIawm0dciKpHiHFVyPigH7QI9w-F-qW73QxCF5CDu4DGnaDH1jFMAgaPfAXFh6kn8gWZknI7k6AHcP9iHoC?purpose=fullsize
 
7

The capacitor therefore acts as a temporary energy-storage device.


Capacitor Voltage During Discharge

As the capacitor loses charge:

Q decreases

Since:

V = Q/C

and C remains approximately constant:

V also decreases

This means a capacitor does not usually maintain a constant voltage while discharging.

This is an important difference between a capacitor and an idealized battery.


Charging Current

When an uncharged capacitor is first connected to a DC circuit, the charging current may initially be relatively large.

As the capacitor charges:

  • capacitor voltage increases
  • the driving voltage across the rest of the charging circuit decreases
  • current decreases

Eventually:

current → 0

for an ideal fully charged capacitor in a simple DC circuit.


Capacitors and Resistors

A resistor can control how quickly a capacitor charges or discharges.

A circuit containing a resistor and capacitor is called an:

RC circuit

The characteristic time is described by the time constant:

τ = RC

where:

  • τ = time constant (s)
  • R = resistance (Ω)
  • C = capacitance (F)

A larger R or C produces slower charging and discharging.


Understanding the Time Constant

After one time constant during charging, a capacitor reaches approximately:

63% of its final voltage

During discharge, after one time constant, the voltage falls to approximately:

37% of its initial value

After several time constants, charging or discharging is nearly complete.


Example Time Constant

Suppose:

R = 10 kΩ

C = 100 μF

Convert:

R = 10,000 Ω

C = 100 × 10⁻⁶ F

Then:

τ = RC

τ = 10,000 × 100 × 10⁻⁶

τ = 1.0 s

The capacitor charges and discharges over a timescale of several seconds.


Capacitors and Batteries

Capacitors and batteries can both store energy, but they operate differently.

Capacitor

Stores energy primarily in an electric field.

Battery

Stores energy primarily in chemical form.

https://images.openai.com/static-rsc-4/u4tPZHrNu9xIvGTQSbdfnkc7FyAINs5l0TEeNZDfshbn5ruCO2yWHtMN0zQbdW6UdT1syRj9kW884syuVCSstpEj8IwTDfkV-40JzQA7PD6pM9LG22kVIb-s2IASObWLimjJ0pD6FBvX_-NgFbSlIIhdOtZBaOWkxipvrnf6k-nO4fXq7CjauYPNMZeK3Iss?purpose=fullsize
 
https://images.openai.com/static-rsc-4/QWX2UM-Shg8H3o7Uz3mcyjjGa-Bv-IiRooRzLXfx1xxULhIeUB4-7z4tNi3c_nHESPKOYClVSlx3b6r5n0OnPtaLqmACoDtl0_fYimsEBK9TplFv7pGvDD6AdaxkU8hwIMnaTotgAERngyl4-ps97gPKWPnInqmoH-m0I9Xg7jZxoTrJdC23WiSm1fkiY9JP?purpose=fullsize
 
https://images.openai.com/static-rsc-4/NICKDHFEfpOlXi9zZyxHFW51ahE-gKr0fXfdybY7hvk12l1iffv44ya6xm7oZq_Ybz7mF__8TC6SK6pUsIgXqDFwcEn6GkdUjfo3_FM2ZuaBt_CMZzdrUwizow2qK93tSdGHAgUIRXzFOydD8CJ3m-h7tF4atg6PzgqaWsb9ZTi8OgI_MAelRDwCgzbRBkw9?purpose=fullsize
 
8

These differences give them different advantages and applications.


Capacitor vs Battery

Capacitor Battery
Stores energy in an electric field Stores energy chemically
Charges very quickly Usually charges more slowly
Can discharge very quickly Usually releases energy more gradually
Usually stores less energy for a similar practical size Usually stores much more energy
Voltage changes significantly during discharge Voltage can remain relatively stable over much of discharge
Can survive very many charge/discharge cycles Usually has a more limited cycle life
Useful for rapid bursts of power Useful for longer-term energy supply

The exact comparison depends on the capacitor and battery technologies involved.


Energy vs Power

Capacitors are especially useful when energy needs to be delivered quickly.

A battery may store much more total energy.

A capacitor may be able to release its smaller amount of stored energy at a very high rate.

This means:

battery → often better for energy capacity

capacitor → often better for rapid power delivery


Camera Flash

One classic capacitor application is a camera flash.

The battery gradually charges a capacitor.

The capacitor then releases its stored energy very quickly through the flash lamp.

https://images.openai.com/static-rsc-4/5206T_UVSWMetf-JI3zPgq5FfJCj9p_Yxq7Y8D4mE2f89m0Jcbc1ZC1mXwa6YnW_YwjxqYN3j1KIzh2u0lm49LQLHlGyk-1ydo15cK2yh2vdkgmLgrZ3T1AB6_EwyO2_CzEAcZN9z5WIQDvfDkin3dUwz3Z1lvKjuwYKM2PGh-0-1Uq9p6XPPmfjiV5vgErB?purpose=fullsize
 
https://images.openai.com/static-rsc-4/9dagj_ljsIXvpGu38LD79riuaOiTzJTKWGJA6DnGhPU4Hnem8AFaFiFF6rKqPE_duXDzENySy_lZjazeOdz5K6ybNFiIuSL6BLjUtT5AI0yQLKJ4a_gIyrtHFxCtvIeqPCGiezK51IKQc7Kp_mNVh5J8UGSIifLdc4d8FNLw_R0t_qLxFLAfMUwWd5OlH-YL?purpose=fullsize
 
https://images.openai.com/static-rsc-4/WG93WZDIWvoiUU_sUL-0p5XbDKL4-nfiaMTdcOzh4fTeM-qeL3SebfCbCJ9V4wxNAvpbDWV7J-LzMCepzCInwZU3AD2WpB9SCtUwemRwk7HzVjEt1zYocY96dLWEaL0TTYAQuBoPAe9Uhy1vwyQOQ1aM-pgSr-LInKVdiSizCGWza3zSDqttK4VVmB3ipQIN?purpose=fullsize
 
6

This produces a short, intense burst of light.

The sequence is:

battery → capacitor → rapid discharge → flash


Capacitors in Power Supplies

Electronic devices often require relatively smooth DC voltage.

After AC has been converted into pulsating DC, capacitors can help smooth the voltage.

The capacitor:

  • charges when voltage rises
  • discharges when voltage falls

This reduces fluctuations in the output.

Capacitors used this way are often called smoothing or filter capacitors.


Capacitors in Electronic Circuits

Capacitors are extremely common in electronic circuits.

Applications include:

  • filtering
  • timing
  • smoothing voltage
  • coupling signals
  • separating AC and DC components
  • reducing electrical noise
  • storing small amounts of energy
https://images.openai.com/static-rsc-4/N8_Ppd6x3CKsZT-a2bPuUKcIFsOTVvIg80kP8Rcnu2VPCmQcjmMWK13I1X5S-bf2r9FsDh7p1bbKoKcGO-rVWNydwvQWdE3UBJIgBZ4dpI3cGpvcqDqTn2XV2C7g9V61PRyASY6akzedgc8VFNXQk7zSMkPeT6eUXzP5Uy8WH32wd674kzoeG09CgKOjyHMP?purpose=fullsize
 
https://images.openai.com/static-rsc-4/bOaf7j2-IZY6wJdMbHNcKBlf1YjUdRQEfKyK25d6sZnnYcDA-wr51FXOipIPp0b465lhfyuCzPUpGXMFgaTzqzeI4seApUzczCmY_zsD0PNo2UEMX907F4l1bmL95dR4txbBCGqd3IeQb5C9FIx5YFBO5nfNgLD0w2l3tEuDHgsMEBXBVPD1HNW8byNN3uKA?purpose=fullsize
 
https://images.openai.com/static-rsc-4/qbGtL-TZxY4zRynWZSdWuW8s38iVc1YJpTnMpXlK-2ClI6K5lTcSuXCeQudQ1qWY57vYwdqo4-WoYi4NLbDWvfGBrna0BPqumKyFaU60sPG62iDZPjBa-GKWBjNh0WgPV-otJgw0C4Iax1ZguPkdk1nThhcvCbqhNA13IwKFOyJ_gmoyUdzy84vxlqeqQ-I4?purpose=fullsize
 
7

A computer, television, phone charger, or other electronic device may contain many capacitors.


Timing Circuits

Because capacitors take time to charge and discharge through resistors, they can be used in timing circuits.

Examples include:

  • flashing lights
  • delay circuits
  • oscillators
  • sensor circuits
  • electronic timing systems

Changing R or C changes:

τ = RC

and therefore changes the timing behavior.


Capacitors and Motors

Some AC motors use capacitors to help create the electrical conditions required for starting or running.

These are commonly found in equipment such as:

  • fans
  • pumps
  • compressors
  • air-conditioning systems

The capacitor's role depends on the type of motor and circuit.


Capacitors for Energy Bursts

Some applications require a short burst of relatively high power.

Capacitors can be useful because they can discharge quickly.

Examples include:

  • camera flashes
  • pulsed electronics
  • emergency power systems
  • some medical equipment
  • energy-recovery systems

Supercapacitors

A supercapacitor is designed to provide much greater capacitance than conventional capacitors.

Supercapacitors can:

  • charge rapidly
  • discharge rapidly
  • survive many charge/discharge cycles
  • store more energy than conventional capacitors
https://images.openai.com/static-rsc-4/NBs0GNqcSarRCnUEXUr4PF2xG-KBlbIB4QLS-lBfG9skEVcMFZQ5ku3-vapllNDU-oGSpT4xV672osuUx3yJL4XCYy_9dAprNAefS3bfofvAdBs0BKRY81uoGvsbg685clUwu8LsdiVGPY5KIIEYExEF0RcPImrNYnNLZ7zFmVzCD2G2ZPwdSX8IKsMCaE0O?purpose=fullsize
 
https://images.openai.com/static-rsc-4/HTTJoQ5xyZwZkT8YHpoLUsVAWJkvYnW3rVVdj0yGIE3IVNYuEOa-QTnHgx8AyWeNtu4CjMgoJOQg2k_OHaBNsryJp1KAPM7ZLEMBrZg1fBCRk5AyrfNX9b43eF8UlUgpPgK5qCQAuV7bwRrdEx4MiaFyVPW2Pou0-agrRnIAfgE2fJzOZbbFLsC2VISR00v5?purpose=fullsize
 
https://images.openai.com/static-rsc-4/FyamOGDIZgaeW7RySrX9csmD-Pa-sq2RZ-VTj9BhnO-T7d9_0foGwA4S28-16QjQZ_nEE4aKVlz-ZXWrwRjDx8dBGcIR98gUxS31N_BEGpRSGHXJFyzpt8zt7cg13sC6HBacgE5FGtMs6xMwNdWq2vjxJHtQwkTxwNkfh0DqqMx6Onl4T1_cFNGWUg73vmPp?purpose=fullsize
 
7

However, batteries generally still provide much greater energy storage for a given mass or volume in many applications.


Regenerative Braking

Some transportation systems recover energy during braking.

Instead of transferring all kinetic energy into unwanted thermal energy in friction brakes, part of the kinetic energy can be converted into electrical energy.

That energy may be stored temporarily in:

  • batteries
  • supercapacitors

Supercapacitors are useful when energy must be absorbed and released rapidly.


Capacitors in Parallel

When capacitors are connected in parallel:

C_total = C₁ + C₂ + C₃ + ...

The total capacitance increases.

For example:

C₁ = 20 μF

C₂ = 30 μF

Then:

C_total = 20 + 30

C_total = 50 μF

Parallel capacitors experience the same voltage.


Capacitors in Series

For capacitors in series:

1/C_total = 1/C₁ + 1/C₂ + ...

For two capacitors:

C_total = C₁C₂/(C₁ + C₂)

The total capacitance is smaller than either individual capacitance.

This is opposite to the familiar behavior of resistors in series.


Series Capacitor Example

Suppose:

C₁ = 6 μF

C₂ = 3 μF

Then:

C_total = (6 × 3)/(6 + 3)

C_total = 18/9

C_total = 2 μF

Notice that 2 μF is smaller than both 6 μF and 3 μF.


Capacitor Voltage Ratings

Capacitors have maximum voltage ratings.

For example, a capacitor might be labelled:

100 μF, 25 V

This means:

  • capacitance = 100 μF
  • maximum intended operating voltage is approximately 25 V according to its rating

Applying excessive voltage can damage the dielectric and may cause capacitor failure.


Polarized Capacitors

Some capacitors, particularly many electrolytic capacitors, are polarized.

They must be connected with the correct polarity.

Incorrect connection can damage the component and may be hazardous.

https://images.openai.com/static-rsc-4/qtD-x5ZRSy-uOL0XcRfuGu3L_L6OUKt2aSo25q7iFZJNoLE4aK-eqSLc_mYGeZUAbfipdT7__ZErYZnHgMaHnu6YST8Htir4ke_iadoj1I20Ggzio1Vlvr03U70_b-H1NaN5NutpblZgZoPByiBrM-9lpuT8AzwWitsFthFKmtRLlhmua9GFD7j0XufQoTKA?purpose=fullsize
 
https://images.openai.com/static-rsc-4/uoA9_zOHUn-iwPnOr5X1D88AYQYDuIh3Xw-0LnadhP-oNM-3s9h49G8PxZSU96pZ35OmtTe7Qy_66P7DuCT60vvkYLj4tF9yvWGTPpD3NUWdAeVQNh9N5nE4VjjW5gr6D2MeE94rRP2m2YSSIN0IZhMngRlrbOO1YMbdC64CpATxSTHJJnAieNlZK9qxMEXa?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ALKNVz9H7bMOl0nfN9qyw_S8KBGAxha--bS0sWIrudhYxvbc1e3joqiHzPG1RiKy3HEZoNsgUI6Rxe0CDqUJXo3zB2LFG4BOkp1xSAaJ4uzs2ZPn2EmL_IGM0Jn0asOpwGAx5qCsojJEAT3Su67TlhLJKNI7ZGf-8Le_wHoU0vA9y_OEFhq7tfkA_W-6McUS?purpose=fullsize
 
8

Other capacitor types are non-polarized and can operate with voltage in either direction within their specified ratings.


Capacitor Safety

A capacitor can remain charged even after a circuit has been disconnected from its power source.

Therefore, a disconnected circuit is not automatically energy-free.

Large or high-voltage capacitors can store dangerous amounts of energy.

For example:

C = 1000 μF

V = 400 V

Convert:

C = 0.001 F

Energy:

E = ½CV²

E = ½(0.001)(400²)

E = 80 J

This is a substantial amount of stored energy.

High-voltage capacitors should only be handled using appropriate electrical safety procedures.


Capacitor Energy and Voltage

Because:

E = ½CV²

voltage has a strong effect on stored energy.

Suppose the same capacitor operates first at:

100 V

and then at:

200 V

Since voltage doubles:

stored energy becomes four times greater

This is one reason high-voltage capacitors require careful handling.


Comparing Two Capacitors

Capacitor A:

C = 100 μF

V = 10 V

Capacitor B:

C = 50 μF

V = 20 V

Capacitor A

E = ½CV²

E = ½(100 × 10⁻⁶)(10²)

E = 0.005 J

Capacitor B

E = ½(50 × 10⁻⁶)(20²)

E = 0.010 J

Even though Capacitor B has lower capacitance, it stores more energy because it operates at a higher voltage.


Capacitance vs Stored Energy

Capacitance and stored energy are not the same thing.

Capacitance describes how much charge is stored per volt:

C = Q/V

Energy depends on both capacitance and voltage:

E = ½CV²

Therefore, knowing capacitance alone is not enough to determine stored energy.

The voltage must also be known.


Common Mistakes

Mistake: Saying a capacitor creates charge.
It separates existing charge between its plates.

Mistake: Saying the entire capacitor has a net charge Q.
The plates normally carry +Q and −Q, so the capacitor as a whole remains approximately neutral.

Mistake: Confusing capacitance with charge.
Capacitance measures charge stored per volt.

Mistake: Forgetting to convert μF into F.
1 μF = 10⁻⁶ F.

Mistake: Forgetting to square voltage in E = ½CV².

Mistake: Saying a capacitor stores energy "as charge."
The energy is stored in the electric field associated with the separated charges.

Mistake: Assuming a charged capacitor maintains constant voltage while discharging.
Its voltage normally decreases as charge leaves.

Mistake: Assuming capacitors and batteries work in the same way.
Their energy-storage mechanisms and discharge behavior are different.

Mistake: Assuming a disconnected capacitor is automatically safe.
It may remain charged.

Mistake: Ignoring capacitor voltage and polarity ratings.
Exceeding ratings or incorrectly connecting polarized capacitors can cause failure.


Key Terms

Capacitor — electrical component that stores separated charge and energy in an electric field.

Capacitance — charge stored per unit potential difference.

Farad (F) — SI unit of capacitance.

Microfarad (μF) — 10⁻⁶ F.

Charge (Q) — quantity of electric charge, measured in coulombs.

Dielectric — insulating material between capacitor conductors.

Parallel-plate capacitor — simple capacitor consisting of two conducting plates separated by an insulator or gap.

Charging — process of increasing the separated charge and voltage of a capacitor.

Discharging — process of releasing stored charge and energy into a circuit.

RC circuit — circuit containing resistance and capacitance.

Time constant — characteristic charging or discharging time given by τ = RC.

Electric field — region in which electric charges experience electrical forces.

Stored energy — energy held in the capacitor's electric field.

Supercapacitor — capacitor designed to provide extremely large capacitance compared with conventional capacitors.

Polarized capacitor — capacitor that must be connected with the correct polarity.

Voltage rating — maximum voltage for which a component is designed.


Key Takeaways

  • A capacitor consists of conductors separated by an insulating region.
  • Capacitors store separated electric charge.
  • The two plates carry equal and opposite charges, +Q and −Q.
  • Energy is stored in the electric field between the charged conductors.
  • Capacitance describes the amount of charge stored per unit voltage.
  • C = Q/V.
  • The SI unit of capacitance is the farad.
  • Q = CV.
  • Larger capacitance means more charge can be stored at a given voltage.
  • Capacitance increases with plate area and decreases with plate separation.
  • Dielectric materials affect capacitance.
  • Capacitor energy is E = ½CV².
  • Energy can also be calculated using E = ½QV or E = Q²/(2C).
  • Doubling voltage produces four times the stored energy for constant capacitance.
  • Capacitors charge and discharge over time when resistance is present.
  • The RC time constant is τ = RC.
  • Capacitors can charge and discharge much more rapidly than many batteries.
  • Batteries generally store more total energy, while capacitors are useful for rapid energy transfer.
  • Capacitors are used in filtering, timing, smoothing, flashes, motors, power supplies, and energy-storage systems.
  • Capacitors can remain charged after power is disconnected and must be treated appropriately.

Check Your Understanding

  1. What is a capacitor?
  2. Describe how a capacitor stores separated charge.
  3. If one plate has +5 mC, what charge is on the other plate?
  4. Explain why the capacitor as a whole can remain electrically neutral even though its plates are charged.
  5. Define capacitance.
  6. Write the equation relating capacitance, charge, and voltage.
  7. What is the SI unit of capacitance?
  8. A 200 μF capacitor is connected to 10 V. Calculate the stored charge.
  9. Explain how increasing plate area affects capacitance.
  10. Explain how decreasing plate separation affects capacitance.
  11. What is the purpose of a dielectric?
  12. Write the equation for energy stored in a capacitor using capacitance and voltage.
  13. A 500 μF capacitor is charged to 12 V. Calculate its stored energy.
  14. If the voltage across a capacitor doubles, by what factor does its stored energy change?
  15. Explain what happens to capacitor voltage as it discharges.
  16. A 20 kΩ resistor is connected to a 50 μF capacitor. Calculate the RC time constant.
  17. Compare how capacitors and batteries store energy.
  18. Give four applications of capacitors.
  19. Explain why capacitors are useful when a short burst of high power is required.
  20. Explain why a large capacitor may remain an electrical hazard even after the power supply has been disconnected.
 
 
 

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.

Charging and Discharging Capacitors

Capacitors in Circuits

A capacitor does not normally charge or discharge instantaneously when resistance is present in a circuit.

Instead, the:

  • charge on the capacitor
  • voltage across the capacitor
  • current in the circuit

change continuously with time.

A circuit containing a resistor (R) and capacitor (C) is called an RC circuit.

RC circuits are important because they can control how quickly electrical conditions change.

https://images.openai.com/static-rsc-4/z0tP3MqWfWoH9xVozB_wNMY1NJlDOKFyjfe_KMlfpwLPb3N_JcjdZRh1SUrGEP7JrGLE8NObhVvckt4e91LhZToHMU-gPE0-lxChs_hdW7jxIjkdcse3skZ67K3yn_tClcS5pzwNIOwtOawGoyEWZKlW17jXO7EzAB98PQAQ5rBt4vwaTtfWo4VN-bONnOEx?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ZahTjGc0TM1SOU59hTqMIBSHiKiOOr3ITJHI_lHASfWllw8jWSxZJ0AjqKS5K9T-IzAzF_9Wm5e66iRXrgaAMv7r1phYDvJkC7i728a_1aq9c_lsxK4uHwBB3mUVg_e0ZMjwG-ayTa0odDZU34slYbs0rDQ65PJlQv4wPbS-cHSspWOJ3kg-OhLH5Fd-loc1?purpose=fullsize
 
https://images.openai.com/static-rsc-4/CwBpci2Tlpuz3RwlHcomzIHQ-yBzXAXQR4amOBdpTp5gyMTb2PQKC-fwk8ZB205AmMbqvIvJmwukbBulQbONI-W1HuJ-2v-ghrTS9gdeX4Hm-MYP6YjJ2FOBsccBZuUe_K6MSCxFoBQR2_MoUys-0rD5Im-RM6A5dBKg4mFEHo4Sq5djbAe2u5HRxJ8Uas_E?purpose=fullsize
 
8

Charging a Capacitor

Consider an initially uncharged capacitor connected to a battery through a resistor.

When the switch is closed:

  • current begins flowing
  • electrons accumulate on one capacitor plate
  • electrons leave the other plate
  • charge separation increases
  • capacitor voltage increases
  • current gradually decreases

Eventually, the capacitor becomes essentially fully charged.


At the Moment Charging Begins

Initially:

Q = 0

and therefore:

V_C = 0

because:

Q = CV_C

The capacitor initially has no voltage across it.

This means the resistor initially experiences approximately the full supply voltage.

Therefore, the charging current is greatest immediately after the switch is closed.

Using Ohm's Law:

I₀ = V_supply/R

where I₀ is the initial current.


Initial Charging Current Example

Suppose:

V_supply = 12 V

R = 2000 Ω

Initially:

I₀ = V/R

I₀ = 12/2000

I₀ = 0.006 A

or:

I₀ = 6 mA

This is the maximum charging current.


What Happens During Charging?

As charge accumulates:

Q increases

Since:

V_C = Q/C

the voltage across the capacitor increases.

Kirchhoff's Voltage Law gives:

V_supply = V_R + V_C

As V_C increases:

V_R decreases

Since:

I = V_R/R

the current also decreases.

Therefore:

capacitor charges → V_C increases → V_R decreases → I decreases


When the Capacitor Is Fully Charged

After sufficient time:

V_C ≈ V_supply

Therefore:

V_R ≈ 0

and:

I ≈ 0

In an ideal DC circuit, a fully charged capacitor behaves approximately like an open circuit.

No steady current continues through the capacitor.


Maximum Stored Charge

Since:

Q = CV

when the capacitor is fully charged:

Q_max = CV_supply

Suppose:

C = 500 μF

V_supply = 12 V

Convert:

500 μF = 500 × 10⁻⁶ F

Then:

Q_max = CV

Q_max = (500 × 10⁻⁶)(12)

Q_max = 0.006 C

or:

6 mC


Charging Is Not Linear

A capacitor does not gain equal amounts of charge during equal time intervals.

Initially, charging is rapid.

Later, charging becomes progressively slower.

The capacitor approaches its final charge gradually.

The same is true for capacitor voltage.

https://images.openai.com/static-rsc-4/xbiFyegrfe4tK3OZT5RyoCKUDfUiDBWTU2K_jkFVBJ9sYxSeFSy1w3HMsqRPgxycGPzfZBT0k6rmwj3aYKIVLoKB_F7km-ym0pYJlvSHBAzwg4R6PQNpAYH-6aHrnja-28wpdnSh0s8uUTPehh9U2FDWy5Wnc0f4Dmbp356PCCc5lfvDwFpd3bue9cO7bIqO?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ZahTjGc0TM1SOU59hTqMIBSHiKiOOr3ITJHI_lHASfWllw8jWSxZJ0AjqKS5K9T-IzAzF_9Wm5e66iRXrgaAMv7r1phYDvJkC7i728a_1aq9c_lsxK4uHwBB3mUVg_e0ZMjwG-ayTa0odDZU34slYbs0rDQ65PJlQv4wPbS-cHSspWOJ3kg-OhLH5Fd-loc1?purpose=fullsize
 
https://images.openai.com/static-rsc-4/EyU0X2LluY96r1GDfAS7F_dUlgM96G-3Zb7XCSGcE3Q2ofAuds-5YVtb5k9HQypilICGG8YrfVDDTXFqVrro7fbu1va65O03zC9bsOvd50EwY12Uvq-3Ae4yPmhDPrncVAFXh94DAH0fz8RFfJxqeV3GlnpiUoAa19e_wOqq1tAiWlPsRVYRHaC1UqubTHDj?purpose=fullsize
 
8

The charging curve rises quickly at first and then gradually levels off.


Charging Voltage Graph

A graph of capacitor voltage against time begins at:

V_C = 0

and approaches:

V_supply

The curve:

  • rises steeply initially
  • becomes progressively less steep
  • approaches the supply voltage
  • does not suddenly jump to its final value

The horizontal leveling represents the capacitor approaching full charge.


Charging Charge Graph

Because:

Q = CV_C

charge follows the same general shape as capacitor voltage.

It begins at:

Q = 0

and approaches:

Q_max = CV_supply

Therefore:

  • V_C and Q both increase exponentially toward maximum values
  • their graphs have the same basic shape

Charging Current Graph

Current behaves differently.

At the moment charging begins:

I = I₀

where:

I₀ = V_supply/R

The current then decreases toward:

0 A

https://images.openai.com/static-rsc-4/xbiFyegrfe4tK3OZT5RyoCKUDfUiDBWTU2K_jkFVBJ9sYxSeFSy1w3HMsqRPgxycGPzfZBT0k6rmwj3aYKIVLoKB_F7km-ym0pYJlvSHBAzwg4R6PQNpAYH-6aHrnja-28wpdnSh0s8uUTPehh9U2FDWy5Wnc0f4Dmbp356PCCc5lfvDwFpd3bue9cO7bIqO?purpose=fullsize
 
https://images.openai.com/static-rsc-4/CwBpci2Tlpuz3RwlHcomzIHQ-yBzXAXQR4amOBdpTp5gyMTb2PQKC-fwk8ZB205AmMbqvIvJmwukbBulQbONI-W1HuJ-2v-ghrTS9gdeX4Hm-MYP6YjJ2FOBsccBZuUe_K6MSCxFoBQR2_MoUys-0rD5Im-RM6A5dBKg4mFEHo4Sq5djbAe2u5HRxJ8Uas_E?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ZahTjGc0TM1SOU59hTqMIBSHiKiOOr3ITJHI_lHASfWllw8jWSxZJ0AjqKS5K9T-IzAzF_9Wm5e66iRXrgaAMv7r1phYDvJkC7i728a_1aq9c_lsxK4uHwBB3mUVg_e0ZMjwG-ayTa0odDZU34slYbs0rDQ65PJlQv4wPbS-cHSspWOJ3kg-OhLH5Fd-loc1?purpose=fullsize
 
7

Therefore, during charging:

V_C increases

Q increases

I decreases


Why Does Charging Slow Down?

At the beginning:

V_C = 0

so almost the entire supply voltage appears across the resistor.

This produces the maximum current.

As the capacitor charges:

V_C increases.

Therefore:

V_R = V_supply − V_C

becomes smaller.

This produces a smaller current:

I = V_R/R

Because less current flows, charge is added to the capacitor more slowly.


The RC Time Constant

The rate at which a capacitor charges or discharges depends on:

  • resistance R
  • capacitance C

The characteristic timescale is called the time constant.

It is represented by:

τ

and calculated using:

τ = RC

where:

  • τ = time constant (s)
  • R = resistance (Ω)
  • C = capacitance (F)

Units of the Time Constant

The units work out as:

Ω × F = s

Therefore:

RC has units of seconds


Time Constant Example

Suppose:

R = 20 kΩ

C = 100 μF

Convert:

R = 20,000 Ω

C = 100 × 10⁻⁶ F

Then:

τ = RC

τ = 20,000 × 100 × 10⁻⁶

τ = 2.0 s

The circuit therefore has a time constant of 2 seconds.


What Does One Time Constant Mean?

During charging, after one time constant:

V_C ≈ 63% of its final value

and:

Q ≈ 63% of its final value

At the same time, the current has fallen to approximately:

37% of its initial value

These percentages are useful for interpreting RC graphs.


Charging Over Several Time Constants

Approximately:

Time Capacitor charge/voltage
0τ 0%
1τ 63%
2τ 86%
3τ 95%
4τ 98%
5τ 99%+

After about:

5τ

the capacitor is normally treated as essentially fully charged.


Example Using the Time Constant

Suppose:

V_supply = 10 V

τ = 4 s

After one time constant:

t = 4 s

Capacitor voltage is approximately:

V_C ≈ 0.63 × 10

V_C ≈ 6.3 V

After about:

5τ = 20 s

the capacitor is essentially fully charged:

V_C ≈ 10 V


Effect of Resistance

Since:

τ = RC

increasing resistance increases the time constant.

Therefore:

larger R → slower charging

Why?

A larger resistance reduces current.

Since:

I = ΔQ/Δt

less current means charge moves onto the capacitor more slowly.


Effect of Capacitance

Increasing capacitance also increases the time constant.

Therefore:

larger C → slower charging

A larger capacitor requires more charge to reach a given voltage because:

Q = CV

So more charge must be transferred before the capacitor reaches its final voltage.


Predicting Changes

If resistance doubles:

τ doubles

If capacitance doubles:

τ doubles

If both resistance and capacitance double:

τ_new = (2R)(2C)

τ_new = 4RC

Therefore:

the time constant becomes four times larger


Comparing RC Circuits

Consider two circuits.

Circuit A

R = 10 kΩ

C = 100 μF

τ = RC

τ = 10,000 × 100 × 10⁻⁶

τ = 1 s

Circuit B

R = 20 kΩ

C = 200 μF

τ = 20,000 × 200 × 10⁻⁶

τ = 4 s

Circuit B charges and discharges much more slowly.


The Charging Equation

For a capacitor charging from an initially uncharged state:

V_C = V₀(1 − e^(−t/RC))

where:

  • V_C = capacitor voltage at time t
  • V₀ = supply voltage
  • t = time
  • R = resistance
  • C = capacitance
  • e ≈ 2.718

Similarly:

Q = Q_max(1 − e^(−t/RC))

These equations describe the exponential shape of the charging curves.


Charging Current Equation

During charging:

I = I₀e^(−t/RC)

where:

I₀ = V₀/R

The current therefore decreases exponentially.

At:

t = RC = τ

I = I₀e⁻¹

I ≈ 0.37I₀

So after one time constant, approximately 37% of the initial charging current remains.


Discharging a Capacitor

Suppose a charged capacitor is disconnected from the battery and connected across a resistor.

The capacitor now acts temporarily as the energy source.

Charge flows from one plate through the resistor toward the other plate.

As this happens:

  • stored charge decreases
  • capacitor voltage decreases
  • current decreases
  • stored electric-field energy decreases
https://images.openai.com/static-rsc-4/L0LBR46bZVr-cuJRiAy3xVbR9nW9lt1S7p4N8jmt_RM0NTnyDYMnRYyzzIleeXitRtIyBReWvl9fU3xrHPc1JgluHzcN0AEtrM00nnpzSc_6SlZatF6Y5nN4bP83q91uB26A-YEFM9fbreOhmcR0SJ7KTLrCVZFmJ-IB8vgczFPcdYfp2RTtr-F8mle201nw?purpose=fullsize
 
https://images.openai.com/static-rsc-4/z0tP3MqWfWoH9xVozB_wNMY1NJlDOKFyjfe_KMlfpwLPb3N_JcjdZRh1SUrGEP7JrGLE8NObhVvckt4e91LhZToHMU-gPE0-lxChs_hdW7jxIjkdcse3skZ67K3yn_tClcS5pzwNIOwtOawGoyEWZKlW17jXO7EzAB98PQAQ5rBt4vwaTtfWo4VN-bONnOEx?purpose=fullsize
 
https://images.openai.com/static-rsc-4/C_ByXWSC8j5xi_J3FKMlCodVLP9rc3Nd-7uVhrON6GNHayx3a-YasdZDUPHrvj5m4X-cm-UQM6HvRgEBdf5QztFJ9yRBTTPQDssdPmEUCimnvduWHPLPAbqyvrzZb_Yt5JEHs9RBQj-IwKGn0iyEJd7N-jPd3aqaQ2vsPBNiegarTRy1d7Rwqua-MrdTv0xj?purpose=fullsize
 
7

At the Beginning of Discharge

Suppose the capacitor initially has voltage:

V₀

The initial current magnitude is:

I₀ = V₀/R

The current is largest immediately after discharge begins.

As capacitor voltage decreases, the current also decreases.


Discharging Voltage Graph

During discharge:

V_C decreases exponentially

The voltage starts at:

V₀

and approaches:

0 V

The curve:

  • falls rapidly at first
  • falls more slowly later
  • approaches zero
https://images.openai.com/static-rsc-4/ErpzQ8WTUowSGnLsVp4qNC0PSwJXXUB0QWYsEMYsFRDBamiIycQTnHPJeL7PGlIaGWwCnId5dUbhfDk--MiyXMgWwA_-1-8HKJWsBwJAajIuOeYUN9laPYSAX7o1LbN5lKkIbCvSexRxXxmNm2mfyN1kTQbhy9mMhESD1fUhW7x2AbYG05vsNUuEMv-79acm?purpose=fullsize
 
https://images.openai.com/static-rsc-4/OUdYcqaBVXKQWsfRknyeP311-TeEgSTroNzTa75h3mTC9SCTS7WMVNEimB2C0-44rjG43PJufAWUFcorU5NeTI42XJCLgZQs9Z5ZdjMQiR7b4pDCaUEo-alJXv63ApPueGohBVHYyREHT52n0Lgkxld4rEAPBTZlsX97FbJPHFi38lu7dh1WbOkGjlD5VtOL?purpose=fullsize
 
https://images.openai.com/static-rsc-4/0_qX1E2xZ0deczpd_nT3bZKkT7pXzO7BSf9zAI39LVmO17qy72C7tG0zrYP2qcHzs1LvVJPu1Z0ZXxOtLJHP4EQR9AZdas8Fxby08eQ54nfIXw-6KsEuzYBVK6H-YiYz5Sf5xoBTUrEV-4eImnUe29gwIXrF1mzKOdK6-3Qyh-EO42QtQQ7NGJJGEOWpms9I?purpose=fullsize
 
8

Discharging Charge Graph

Since:

Q = CV

the charge also decreases exponentially.

It begins at:

Q₀

and approaches:

0 C

Therefore, charge and voltage have the same general decay shape.


Discharging Current

The magnitude of current is initially greatest and then decreases toward zero.

If direction is included using a sign convention, discharge current may be represented as negative because it flows opposite to the charging direction.

The important physical idea is:

the magnitude of discharge current decreases with time


Discharge Equation

During discharge:

V_C = V₀e^(−t/RC)

Similarly:

Q = Q₀e^(−t/RC)

The current magnitude also follows exponential decay:

I = I₀e^(−t/RC)

The same time constant:

τ = RC

controls the rate of discharge.


Discharging After One Time Constant

After:

t = τ

the capacitor retains approximately:

37%

of its initial:

  • voltage
  • charge

Therefore:

V_C ≈ 0.37V₀

and:

Q ≈ 0.37Q₀


Discharge Over Several Time Constants

Approximately:

Time Charge/voltage remaining
0τ 100%
1τ 37%
2τ 14%
3τ 5%
4τ 2%
5τ <1%

After approximately:

5τ

the capacitor is usually treated as essentially discharged.


Charging vs Discharging Graphs

Charging and discharging produce opposite-looking voltage curves.

Charging

Starts at:

0

and approaches:

maximum.

Discharging

Starts at:

maximum

and approaches:

  1.  

Both are exponential processes.

https://images.openai.com/static-rsc-4/xbiFyegrfe4tK3OZT5RyoCKUDfUiDBWTU2K_jkFVBJ9sYxSeFSy1w3HMsqRPgxycGPzfZBT0k6rmwj3aYKIVLoKB_F7km-ym0pYJlvSHBAzwg4R6PQNpAYH-6aHrnja-28wpdnSh0s8uUTPehh9U2FDWy5Wnc0f4Dmbp356PCCc5lfvDwFpd3bue9cO7bIqO?purpose=fullsize
 
https://images.openai.com/static-rsc-4/EyU0X2LluY96r1GDfAS7F_dUlgM96G-3Zb7XCSGcE3Q2ofAuds-5YVtb5k9HQypilICGG8YrfVDDTXFqVrro7fbu1va65O03zC9bsOvd50EwY12Uvq-3Ae4yPmhDPrncVAFXh94DAH0fz8RFfJxqeV3GlnpiUoAa19e_wOqq1tAiWlPsRVYRHaC1UqubTHDj?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ZahTjGc0TM1SOU59hTqMIBSHiKiOOr3ITJHI_lHASfWllw8jWSxZJ0AjqKS5K9T-IzAzF_9Wm5e66iRXrgaAMv7r1phYDvJkC7i728a_1aq9c_lsxK4uHwBB3mUVg_e0ZMjwG-ayTa0odDZU34slYbs0rDQ65PJlQv4wPbS-cHSspWOJ3kg-OhLH5Fd-loc1?purpose=fullsize
 
6

Interpreting the Shape of an RC Graph

When looking at an RC graph, first determine:

  • what quantity is on the vertical axis
  • whether the graph starts at zero or a maximum
  • whether it increases or decreases
  • its final value
  • how quickly it approaches that value

A curve rising from zero usually represents:

charging voltage or charging charge

A curve falling from a maximum toward zero could represent:

  • discharge voltage
  • discharge charge
  • charging current magnitude
  • discharge current magnitude

The axis label and circuit context are therefore essential.


Finding the Time Constant from a Charging Graph

For a charging voltage graph:

  1. Identify the final voltage.
  2. Calculate 63% of that value.
  3. Find where the curve reaches this voltage.
  4. Read the corresponding time.

That time is approximately:

τ

Example:

Final voltage = 12 V

63%:

0.63 × 12

= 7.56 V

If the graph reaches 7.56 V at 3 seconds:

τ ≈ 3 s


Finding the Time Constant from a Discharge Graph

For a discharge graph:

  1. Identify the initial voltage.
  2. Calculate 37% of that value.
  3. Find where the graph reaches this voltage.
  4. Read the corresponding time.

Example:

Initial voltage = 20 V

37%:

0.37 × 20

= 7.4 V

If the graph reaches 7.4 V at 5 seconds:

τ ≈ 5 s


Using the Initial Gradient

At the beginning of charging or discharging, the graph changes most rapidly.

Later, the graph becomes flatter.

This occurs because the current decreases.

Since:

I = ΔQ/Δt

the current represents the rate at which charge changes.

Large current:

charge changes rapidly

Small current:

charge changes slowly


Voltage Across the Resistor During Charging

During charging:

V_supply = V_R + V_C

Initially:

V_C = 0

so:

V_R ≈ V_supply

As charging continues:

V_C increases

and:

V_R decreases.

Eventually:

V_C ≈ V_supply

and:

V_R ≈ 0


Current and Resistor Voltage

Because:

V_R = IR

the voltage across the resistor follows the same general pattern as current.

During charging:

  • V_R starts at its maximum
  • V_R decreases exponentially
  • V_R approaches zero

At the same time:

  • V_C starts at zero
  • V_C increases
  • V_C approaches the supply voltage

Kirchhoff's Voltage Law in an RC Circuit

During charging:

V_supply = V_R + V_C

Using:

V_R = IR

and:

V_C = Q/C

we obtain:

V_supply = IR + Q/C

This equation shows how the supply voltage is shared between the resistor and capacitor at any moment.


Example at One Time Constant

Suppose:

V_supply = 10 V

After one time constant:

V_C ≈ 6.3 V

Therefore:

V_R = V_supply − V_C

V_R = 10 − 6.3

V_R ≈ 3.7 V

This matches the fact that current has fallen to approximately 37% of its initial value.


Energy During Charging

Energy stored in the capacitor is:

E = ½CV²

As capacitor voltage increases, stored energy increases.

For example, if:

C = 1000 μF

V = 10 V

then:

C = 0.001 F

E = ½(0.001)(10²)

E = 0.050 J


Energy During Discharge

As the capacitor discharges:

V decreases.

Since:

E = ½CV²

the stored energy decreases rapidly.

The energy is transferred into other forms in the circuit.

If discharge occurs through a resistor, the stored electrical energy is mainly transferred into:

thermal energy

in the resistor.


Energy Is Conserved

During discharge:

energy stored in capacitor → thermal energy in resistor

Energy does not disappear.

During charging, some energy supplied by the source becomes stored in the capacitor's electric field, while some may be transferred as thermal energy in the resistance of the charging circuit.


RC Circuit Example

A capacitor has:

C = 200 μF

and is charged through:

R = 15 kΩ

from a:

12 V

supply.

Time constant

Convert:

C = 200 × 10⁻⁶ F

R = 15,000 Ω

τ = RC

τ = 15,000 × 200 × 10⁻⁶

τ = 3.0 s

Maximum charge

Q_max = CV

Q_max = (200 × 10⁻⁶)(12)

Q_max = 2.4 × 10⁻³ C

Initial current

I₀ = V/R

I₀ = 12/15,000

I₀ = 8.0 × 10⁻⁴ A

or:

0.80 mA

After approximately:

5τ = 15 s

the capacitor is essentially fully charged.


Predicting the Effect of Increasing Resistance

Suppose the previous resistance increases from:

15 kΩ → 30 kΩ

Capacitance remains:

200 μF

New time constant:

τ = RC

τ = 30,000 × 200 × 10⁻⁶

τ = 6.0 s

The charging process becomes slower.

The initial current also decreases:

I₀ = 12/30,000

I₀ = 0.40 mA

So increasing resistance:

  • increases τ
  • decreases initial current
  • makes the capacitor charge more slowly

Predicting the Effect of Increasing Capacitance

Suppose resistance stays constant while capacitance doubles.

Since:

τ = RC

the time constant doubles.

The capacitor also stores more charge at the same final voltage because:

Q = CV

Therefore, a larger capacitor:

  • requires more charge
  • stores more charge
  • charges more slowly through the same resistance
  • stores more energy at the same voltage

Supply Voltage and Time Constant

An important point is that:

τ = RC

does not directly contain supply voltage.

Therefore, changing the battery voltage does not change the ideal RC time constant if R and C remain constant.

However, increasing supply voltage does increase:

  • final capacitor voltage
  • maximum charge
  • initial current
  • final stored energy

Example: Doubling Supply Voltage

Suppose R and C remain unchanged.

Voltage increases:

5 V → 10 V

Then:

Time constant

unchanged

Maximum charge

Q = CV

Therefore:

doubles

Initial current

I₀ = V/R

Therefore:

doubles

Maximum stored energy

E = ½CV²

Therefore:

quadruples

This is an important distinction.


Applications of Charging and Discharging

RC circuits are useful whenever a circuit requires a controlled change over time.

Applications include:

  • timing circuits
  • flashing lights
  • delay circuits
  • sensor circuits
  • power-supply smoothing
  • signal filtering
  • camera flashes
  • electronic control systems
https://images.openai.com/static-rsc-4/P6-xBfEbMm5ete9_5aEnLmAMUgCpd05_T981ypyS2wwBHs3S9NGJgrm351KnFUs48dALom0X8-QTfaTRy4q93TeO5bKphoFQiR5XnJujLvvy0wEIIsgPNc88OXX7v_S-T9gmsiZCs79_UiSla-yINNEocjBafg1B7ult0BeyHAEh1paFhaTE8eMVc19jCaOI?purpose=fullsize
 
https://images.openai.com/static-rsc-4/z5zBi3ja1lrh6CFtQmGwsvq4GGq_7cXXL_fo0oBRdz17aCF1UydehonKR73xyqJPSFxEzLdLa-IwPUWzraiDDh-s7BPR_5JGEqAUtE9h7UvBuMoVTjZgYegOEbOanEnjZjsw5eXl1stUzH7-NGfjbkf0UVlfGf9UgoIr_OlZfd9DIwp1Ac7Iirjv3rsaXbrN?purpose=fullsize
 
https://images.openai.com/static-rsc-4/5P02bJhSIq9BLc8YOlt6zPASbK9D4RfA-eS0f27sUtmkROv7jaNvG8MLvJIH3gRqo9yt7Uh8OLUTtJi7dRLh5W6Pv84VTYw_P4CPBy42NP2x38zdst_ZUlNOgcSuaihiZl7xWSjP0Ly9Nq1M2hLhrebNJQzSF2snv1NdYDhNrxbDGKaX-BhyXEafzGoAYfy_?purpose=fullsize
 
9

Capacitor Smoothing

In a power supply, a capacitor can help reduce fluctuations in voltage.

When supply voltage rises:

capacitor charges

When supply voltage falls:

capacitor discharges

The capacitor therefore helps maintain a smoother output voltage.

A larger RC time constant generally allows the capacitor voltage to change more slowly.


Timing Applications

Suppose a circuit needs a delay before another component activates.

An RC circuit can be designed so that capacitor voltage gradually rises.

When the voltage reaches a particular threshold, another part of the circuit can switch.

Changing R or C changes the delay.

Therefore:

larger RC → longer delay

smaller RC → shorter delay


Experimental Investigation

A capacitor charging experiment can use:

  • capacitor
  • resistor
  • DC power supply
  • switch
  • voltmeter or data logger
  • connecting wires

Voltage across the capacitor can be measured at regular time intervals.

A graph of:

capacitor voltage vs time

can then be plotted.

The resulting curve should show exponential charging.


Investigating Discharge

First charge the capacitor.

Then disconnect the supply and allow the capacitor to discharge through a resistor.

Measure capacitor voltage over time.

The graph should show:

exponential decay

The time constant can be estimated from the point where voltage reaches approximately:

37% of its initial value


Capacitor Safety

Capacitors can remain charged after a power source has been disconnected.

This is particularly important for:

  • high-voltage capacitors
  • large-capacitance devices
  • power supplies
  • camera flash circuits
  • electrical equipment

A disconnected circuit should not automatically be assumed to contain no stored electrical energy.


Common Mistakes

Mistake: Saying a capacitor charges at a constant rate.
Charging is exponential, not linear.

Mistake: Saying charging current increases with time.
Charging current is greatest initially and decreases toward zero.

Mistake: Saying capacitor voltage decreases while charging.
It increases toward the supply voltage.

Mistake: Saying current continues indefinitely through an ideal fully charged capacitor connected to DC.
The steady current approaches zero.

Mistake: Confusing the 63% and 37% values.
After one time constant:

charging voltage/charge ≈ 63%

discharging voltage/charge ≈ 37%

Mistake: Assuming a capacitor is completely charged after exactly one time constant.
It is only about 63% charged.

Mistake: Saying τ = R/C.
The correct equation is τ = RC.

Mistake: Forgetting to convert kΩ and μF before calculating τ.

Mistake: Assuming a larger resistor makes charging faster.
Greater resistance reduces current and increases the charging time.

Mistake: Assuming increasing supply voltage increases the time constant.
The ideal time constant depends on R and C, not supply voltage.


Key Terms

RC circuit — circuit containing resistance and capacitance.

Charging — process in which separated charge and stored energy increase on a capacitor.

Discharging — process in which a capacitor releases stored charge and energy.

Time constant (τ) — characteristic timescale for charging or discharging, equal to RC.

Exponential growth — change that approaches a maximum increasingly slowly, as seen in capacitor charging.

Exponential decay — decrease that becomes progressively slower, as seen during capacitor discharge.

Initial current — maximum current immediately after charging or discharging begins.

Final voltage — voltage approached by a capacitor after a long charging time.

Maximum charge — final stored charge given by Q_max = CV_supply.

Open circuit — circuit condition in which no steady current flows; an ideal fully charged capacitor behaves approximately this way in a DC circuit.

RC time constant — product of resistance and capacitance that determines the charging/discharging timescale.

Smoothing capacitor — capacitor used to reduce voltage fluctuations in a power supply.


Key Takeaways

  • Capacitors do not charge or discharge instantaneously when resistance is present.
  • A resistor and capacitor together form an RC circuit.
  • During charging, capacitor charge and voltage increase.
  • Charging current decreases toward zero.
  • Initially, an uncharged capacitor has approximately zero voltage across it.
  • The initial charging current is approximately I₀ = V/R.
  • A fully charged ideal capacitor connected to DC behaves approximately like an open circuit.
  • Maximum capacitor charge is Q_max = CV.
  • Charging and discharging are exponential processes.
  • The RC time constant is τ = RC.
  • After one time constant, a charging capacitor reaches approximately 63% of its final charge and voltage.
  • After one time constant of discharge, approximately 37% of the initial charge and voltage remains.
  • After approximately five time constants, charging or discharging is usually considered essentially complete.
  • Increasing resistance increases the time constant.
  • Increasing capacitance increases the time constant.
  • Changing supply voltage does not change the ideal time constant if R and C remain constant.
  • During discharge, capacitor voltage, charge, and current magnitude decrease toward zero.
  • RC graphs can be used to estimate the time constant.
  • Capacitors store energy according to E = ½CV².
  • RC circuits are widely used for timing, filtering, smoothing, delays, and electronic control.

Check Your Understanding

  1. Describe what happens when an initially uncharged capacitor is connected to a battery through a resistor.
  2. Why is the charging current greatest immediately after the switch is closed?
  3. What happens to capacitor voltage during charging?
  4. What happens to current during charging?
  5. Explain why the charging rate decreases with time.
  6. Write the equation for the RC time constant.
  7. Calculate τ for R = 50 kΩ and C = 100 μF.
  8. What percentage of its final voltage has a charging capacitor reached after one time constant?
  9. What percentage of its initial voltage remains after one time constant of discharge?
  10. Approximately how many time constants are required for a capacitor to be considered essentially fully charged?
  11. Sketch and describe the shape of a capacitor charging voltage graph.
  12. Sketch and describe the shape of a capacitor discharge voltage graph.
  13. Explain how a charging current graph differs from a charging voltage graph.
  14. A 20 μF capacitor is charged from a 10 V supply through a 100 kΩ resistor. Calculate the time constant.
  15. For Question 14, calculate the maximum charge stored on the capacitor.
  16. For Question 14, calculate the initial charging current.
  17. Predict what happens to the charging time if resistance is doubled.
  18. Predict what happens to the time constant, maximum charge, initial current, and maximum stored energy if supply voltage is doubled while R and C remain unchanged.
  19. Explain how an RC circuit can be used as a timing device.
  20. Explain how you could determine the time constant experimentally from a capacitor discharge graph.
 
 
 

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.

https://images.openai.com/static-rsc-4/HEP4zIihv4knTzTAMU3wctf5iPjCSMPkQ7lK9k7XQRGikGuLLAfOC41b_auDgKfxYWEci7yuHOHLXiz_78vOWaQJX5HkMxxj60XIuoSmB_fH0zCj-iAeqUzrXa5MekxNBodPobdWym6IlWodu65D7ewPOuVoYN4WQS2QyCgp9-kNzqkYb3cfbNGap-6ipYKH?purpose=fullsize
 
https://images.openai.com/static-rsc-4/6MagbhrY0hGqi88Rn-rtMicXwBPO20ZkaYXRnks282y0VCo2NTe7Bp1XEw41TK8z2MFK46EHu5zYreKRGUJ7iTNEmFddYORJodQ12D17bhFPPzfzEv-6Yr72yiRjYj7L4YYpdMxFSeN6d4938QlR6Xe92L46VoX_TjFcche4MASZ4TrOPvneNWWCHPJWZmS5?purpose=fullsize
 
https://images.openai.com/static-rsc-4/CZVvRyYVJ021HgNRbgR5Ga4EXrsoDznz3v-Ij7MEVwpXNz5N9WqxnctDSWeYcvjYi_hOeplisD16pD9RhPuKJR_DtQzFM9ripV1naRndWUlbD_eHqADwV6VJwiF1WLZVmDFeFDRWEdUsy1tg7jgGXkOhPnjIQhULC9AqsYfsIa9Z0UMp3MvumX0V25zLoc1g?purpose=fullsize
 
7

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
https://images.openai.com/static-rsc-4/Yk7xTXhOAZT28r1vvmwmIZe023fJ99_6B-_ovmIBeB6N_ZoDqkdpmXRdLG2YEfzCiqS_Eg8XZmoh7t_T8ieYOEpZv2-V3KI8YvPrZHbUxPBXDn43-nPEbTneGTGXZNw8vr1HETJb1Wn8zBBWzDjT_Wb5u1kY7baFfOkMVHpWHrorXbKRAUspAp949F-l24Sk?purpose=fullsize
 
https://images.openai.com/static-rsc-4/kgvjjzR0yL-3aXCnO-WpPtz3Pv_Gey7yKZhaMVRQo8L_Krt1zslsvFeiM-H-6CHMuXfGG9oH4z4PvFuws-HngQ82FSPF9GNYB-kuRMjWT76SEzpGdcwL7fAb7wvOCtwdwYQjKdX43lgyERZNwbdk9mn2S8ep1eT-kFSHNZ9cU4vhnQGNayOtQvzNBokQJafk?purpose=fullsize
 
https://images.openai.com/static-rsc-4/xFBh5WJVNiBa7y7qN73ScpWez178hMkyYz-9ZSd297dXVPHSaSgWwGNCt8jrOG1_0qc9lNsE4IDOpMPatYiXh9bLaQPTTY3wXlvOZVb7RN9MTv11nzlY90KD307AO1WyHgOYtXAi1zWlaBiJJKNPv3SY1YYECLy4N4Q4dhV0VzltkNAszvQcdWq61bAueKby?purpose=fullsize
 

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.

https://images.openai.com/static-rsc-4/wB5ogDB9UtAVnRhv6qvq9wUxPt1A04mEMeKhhJH1IbIOaDtobnk3u0Ri8eKYuMDC92x6sN3qLKaMp1M4MSBh6WZu9mS5beoM-ZQ2uVKGfZAJgV0K_QL-mYwTG7U2UQKRqypb5N8ANyi1b05XdLh14LZuXM6gS293fqKZ0Bs_tUxjG9HTgeTWmbKYlUAHxeP5?purpose=fullsize
 
https://images.openai.com/static-rsc-4/JXgX0tobLbzvhYfNfdrLbIfk1K8WAHAeOaBKNmRZG7jW0_CtIpnJiRae9l_z7VPZKnoLBHvk-zpvOGWQw2u7BvfPQyTHTTCYBbVTd04RXk7ykq1kR3fRu_TRZXnkYEgXBTrh7eANkxRMevb9oOP-6xZHi31zU3cx6yyylwM_Fm6hTrnkv_5vZRFEnfWJ-J8X?purpose=fullsize
 
https://images.openai.com/static-rsc-4/4z-LT40WNqQyzdzJpVCNLdWrDp-81Am7Y-vXtgDN2jDpJ5AIIenOfgiJFGRbrmyEZzD3r-8ng_C2SFXlUhwXWJO4MFWKTZJct90H6yiHceG_g9k2t-bzCBM5XQXAtYaZgPCO_pwOkOS51IITl9nx4Ay3HDEA779I6MtflHMv_qkZQkTaKxckbzG5o3Ts2QEc?purpose=fullsize
 
4

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.

https://images.openai.com/static-rsc-4/Fou7WLGAWAWwUvrwhUMrWK1mOn4nfpQ2Ahc6Ht9OCm9TxTJ5wOCsrQCP5I5xXDC2ZPT6IOdQ8d3USiNOZldooWZURYW5pgXQ7G_8adqdh_jS4SbzmrBWp6fj34E4oabko--Yw3mgSCKIgXHu2EgL8ULom74v6Q8uucwYLA35Tludvk0IpmhPS_HKm6FjCJmK?purpose=fullsize
 
https://images.openai.com/static-rsc-4/MyuZ6ihXLNovKhYzKHM0lCJ4PnO5OykWQwvwRLLC2J5-DeJ9u6oRNedB8WU022sa5x-OKFK6u8nIOFhjWZsc4Jm53LcDqW88Bz6zwN5o8id1HM-h4XkJdNJTAt5oMsOLfjzswlvXI6_wIO06RDuJ5PTHbT7iqpEU2desxVxyYookjEsAlGDpLb8tWlVqunUz?purpose=fullsize
 
https://images.openai.com/static-rsc-4/97ZJcL0PVDlZh5wHz47YYn_XRW74eZtGsKIzDUqpOQTHpkMnHqXLQPLvzEKT66jfLb73HHl2CbN5REJeHt-wuROfN4mRdoVZknDevnKAQTLle4Ujbv6LBkPT55ynGnagtXuyGQ0F4-PvDWUJlesG3EJoLxR-srNcsgOn61dlIj2trIQ3kaAOKlvALHK-9SJ6?purpose=fullsize
 
5

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.

https://images.openai.com/static-rsc-4/tqcao3-76b3e8BPPVcdan-nEoZpz1xYfWEBayeghsY0YnU_053YSAlSYFJ0ZurmZmDEwIMnsX9V5aDdAv6hfXYuhxvcPCuG0kqY5_3t9G3KaM3lDHxrarr-wl7_dBS4ZIxMLuCWhKeBOVBwDU7ZE_LfTD00mybmECvnHGeLtN4pv7cY_hXJAd9i6BJ-_2yPC?purpose=fullsize
 
https://images.openai.com/static-rsc-4/8ronBIkCJf-FCSKEFamZ2K6v2KnOSzb_rRhv1GGpx1chaYWc3dmSQralWS6Uv41X_uUejFdcmZO_bm_CElAINqW5wQ-h9Itq1GFNxKlwK68l1mcLf6k3-ZpZh3YASAYZlGo3kEHeHBHkt10uTy5kiRnq_hrtwFwxjSUp-55rI97eM-RVGmpUYjbVgnIbmkuX?purpose=fullsize
 
https://images.openai.com/static-rsc-4/uKQFlLeyfZdS3uy1Xpso66AyoInoOPCC5z18TejiOVpe_erbV0EQP790nFOSJKIPKtQW4uWp2b-EgR_K5Jazmz0-NvTdY-Sh9a9GJx9HQN9zxFkEfABGizjNmxC4p4MNN2Iol6zXRmpbwQCGiJZClZ6DmUT8HVfEbyWKOEsDbG4YY-Uxfa3uBRju4QqdLVyy?purpose=fullsize
 
7

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

https://images.openai.com/static-rsc-4/ruUzvy__qjGQ_WCO13pTdSjbmUMWLSS_H-AQtgRDNdNHP4j7ne3FVCYcoRQWqfhBi1insi8CvQig864M4XrG3NgEX6oLAgElFaWX2jBDl_FWBgHPsYQMRKf-ZgneXh65LbMgsxnKp3o9XzTTnxGDTN09RZUFsCnmE4ucT-GzuqoejQUpUkrjAaTkI4jah4UE?purpose=fullsize
 
https://images.openai.com/static-rsc-4/tpxkmtIGr8uYklFREjvup8YqvIMegReMdoUjnI3tMCKIoJNF-D1J-XMTA4c4DQBq3436uMg1frMQOjswy548Ml-7a-jL2T8z_pcOMdRslbKE7u1tCGyrj01ClsRDs1_93AjsYIeAvpssTDE8BlCocLrYuVBuHDyhn5cKljpeqr5kF_JThAR4kPGbsGbQTE5j?purpose=fullsize
 
https://images.openai.com/static-rsc-4/4P_x2-FrPm8EIDfO42jHfnxl8bZqYNsSir843QwZFnUZkGByYNOO3-4oFesYq_YbDMemntEk2DOjYBNs7UVtBzL-7beKZYzD37MRkkVVqHSY7dmHHSNyH6mQtUTsv3yq7nCEzN46PvToYA_0bw1pj1O4MsDyt2w_g1CfgTSAhzpABTAvZyIXepjk5-xKiVEt?purpose=fullsize
 
6

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
https://images.openai.com/static-rsc-4/xBcmS7B3CaWdnXAzNN04WkNuZ4DR-q7q7f8rr7tzlXNjewWRsWWLpz2L3EXKmD72Z_u_8KElhyDpcJLkD2TRt2sb8lqQ9QeJM_WtFcWLbAeu2zkgZU4ACpPBNTjgWU7HDV1aSim9QzRM9egD5Qg4fLQP1g0R2fRUbTLeBzAadTTadUOSlo_Jv4RPI1ghFwDd?purpose=fullsize
 
https://images.openai.com/static-rsc-4/AmgIUxFpaeiyCGyyUoJMNJkbcMUmfgEWMmp06TziEW7m5U31_43BSvG2wQ5zITlfJDZFUGEUPnvfQ4rG7ocIbKcU_EBKsnkRdjr2UBX05Fxh4NX-MhWd25FMHVL3xO16WRJpY6x9EXxGzTkXlq4eOGLmYSIVv_-R4XTvkBd0sTzYCGStr8I41h6h-8z6X6ra?purpose=fullsize
 
https://images.openai.com/static-rsc-4/cPTb_0V_xeVaDlEpGtVXAWNWBPunxTGXGwy8ONmP16HuqHUxAtA8cbDMEpg1-uPPvYYeNnnhH97uPVHZP0EXPOaJF1fkIZlyNodWW_tI7nZPcrjqsmd08cT53P9rUUbz2QWDAFw3XZxb9AidUZb2-tjtBB6RzKBH908ilUKYKMSzmoQ1yifxJ7DpKx36EYV7?purpose=fullsize
 
6

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
https://images.openai.com/static-rsc-4/k5a_pR6uYp6BGDrzmDfx-bAXE0Svah1PdQV-9VjqeYmZerKkMCFX04bh6jDdCOwzPav7Y9aYRSz2MBHx3X3bP5ahKV3yVBMU69W6vPeke7UMUvFvpZmKLcymxcrJcljGklfe-W6Ybm1qy1XHlgAZHz9GfVPgtozm_Yd_Knd_hcx1tm9vlSohQ3hkYMi0aFlb?purpose=fullsize
 
https://images.openai.com/static-rsc-4/tctBjlXc0OqIt8a3TyxCTp7vjFjtbsoIP3BBLeRjgmrgNfHy49FM5CvfW3tY1JMjpJfP8Gb6mU-CzN9bF2eNmtAwpd3QkigBAaIY48m0_6aP7ip89Y1uiwMZ752vEj6oPBj2Wyc61NE0He7HR2vQjf1Q-XTa1THy5pnp9xCcE3lqUckc4yWhGPdfiCUJCyDu?purpose=fullsize
 
https://images.openai.com/static-rsc-4/djh_Ulm78B14ZXx83QI9WjVDCsfpiokV5fAFhLuwwodPP-RDue1fAHNgHJDftZYBd_L8URISHf5aSjCCZtOPRN37n9MRRmPlGxQkZk7INYxEZWGsTXjFXtg1K6bLccHPgQiLbrkL1kGQ7kELPnpnbDJZ-7KTFEG75XZRNys_bOOis_yZjMRT24jWANYXwmzl?purpose=fullsize
 
9

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
https://images.openai.com/static-rsc-4/lUkIKBM85Ax4xTw5_-ryntyjO2xiEFrG6eQBR6imejV4i-Xmvx1k83HnOe11-he-FXV-oZDy-GkRIwpNWB8ceRfUPq732IftwbG6cxUT6jROxYHIbY5zIN39Jo_7W3uNqtX00tlHJ5wXGTgms4O41zDMtVZ17ZPOi0SnwUKI_eZ1aKWw36abO6dxHtGTnY5r?purpose=fullsize
 
https://images.openai.com/static-rsc-4/_2H7TxDWS75Qq1OBSU4w6-bMddGQwHU7n1qSBxcNA7XwZX8RLExWXYoTnHtLNMKpB3ZoM80c8OrgTA2bzWI0xE9eb63YJCirm_L2i_KOOOlwKCrGdch_ZzanhYYZHpSEUdHiyhLEfsscUjV_PHgTr6Ku0E83Bm-nJ8eCA3j_xl3Ah85RNYlhjD_FUFtMkFSG?purpose=fullsize
 
https://images.openai.com/static-rsc-4/daVfUKz2Z9r07vxVnmkNEpVvh1aiEPm5NP6WbSZmtVWT5krs4MI5rsjayamF2qnP5MD-aCDzgsHzMJCNvuWF32ZRA9rLpmK1HccUV04o3zaFxoTf-Ff8NAKjr7hKLpP1A4-kHcfiP9QP4-921WdwQXu4Hgxnt3SmRShZOIg6jcHpPKgCN__jeY334cCAHY6h?purpose=fullsize
 
7

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:

  1. Identify the power supply.
  2. Identify each component symbol.
  3. Trace possible current paths.
  4. Check diode and LED orientation.
  5. Identify series and parallel sections.
  6. Identify input components such as sensors.
  7. Identify control components such as transistors or ICs.
  8. 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.

https://images.openai.com/static-rsc-4/KhzRodvnmZyVHaHofCbOU2MvQrnIJ9mqiJAHMEJa0xvy4ho88uneby-l4PF1mVGk_1j-ZviWw8P5lxVJC0KuhFJucJpr2v113pN_Z9yV__uV2Jp7K7KZKo52s2QxvsVu8lh_miriQE1ELIzHczBbzicePIF2ya3vXfH2lwJAXyMqlZ9xVWK4-twW6SmFuK_y?purpose=fullsize
 
https://images.openai.com/static-rsc-4/wt1a9p9QyMqToCB-gvecvDronqc12q1P1547ljzv_bHh2YKdDvT9Tn0TLUegC4ROaa14M8724wfxtllNABAtFX0a6C3ZZMZh0Yh5RMxXhOzmZ1BMjh3e_B447QiygE3ag7n7z46AgXSBGO_X7NIi3X9CDotfn6V-WRF03LQ14WZdSOd4xqLrLtCCI6vbS2CS?purpose=fullsize
 
https://images.openai.com/static-rsc-4/5hp1DsUKzFXSlkXFVWD3lAk97Cfq4WQVyXNQndB3UGE-nyZl-TRsyBKqcRSeGBvERBnxQj69EyD9bBWUiiC7zQ7CRSaakOvQydbq8Mo8yhxeZmpOnF84txTAwZOtxL2g6GBshjvfaSiswqNQvSYSAvqvpyZ-AIYHATYuVBXeHYiw8s5wPbTKkEILeOX_n0Jn?purpose=fullsize
 
8

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

  1. What is an electronic component?
  2. Why are circuit symbols used instead of realistic pictures in circuit diagrams?
  3. Describe the main function of a resistor.
  4. Describe the main function of a capacitor.
  5. Explain how a diode controls current.
  6. What is meant by forward bias?
  7. What is meant by reverse bias?
  8. Explain how diodes can be used to convert AC into one-directional current.
  9. What is an LED?
  10. Why is a resistor often connected in series with an LED?
  11. A 12 V supply powers an LED with a 2 V forward voltage at 20 mA. Calculate the required series resistance.
  12. Describe two functions of a transistor.
  13. Explain how a small transistor signal can control a motor.
  14. What is an integrated circuit?
  15. Compare passive and active electronic components.
  16. Classify a resistor, capacitor, transistor, and integrated circuit as passive or active.
  17. Explain how an LDR and transistor could be used to create an automatic light.
  18. Explain how a thermistor could be used in a temperature-controlled fan.
  19. A 100 Ω resistor carries 0.10 A. Calculate the power transferred by the resistor.
  20. 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.

https://images.openai.com/static-rsc-4/p1Ojg_MLwS8R-MxeJvF0U_UzoDIjO8BWSZckNWYdAOkJdsUYmTTpaenxn4X7dhGcFhYfttVWWP-7VH-I2_50xA7E4e_iiXi42ilLdTRwEqbhYWClmYPfpUBawuWxT14wQPbMbprEX8vj-qVev6pKwYna0lhTJ56Dd3611K4tzKx9wC3pBh4dNbnreeiFFU3k?purpose=fullsize
 
https://images.openai.com/static-rsc-4/f_EOOsF1EPWoD0QnC3Legs-C0Xkkke6M-ekLxUNej5uTB4XApaFsFqxT4i2GZ7cPQpzoDI1ME_KpR_q4Pqb0noOndjMQhzASPlVaW77aCXuHHFlqGHQ3bHyTgbJhOCjBxzIpA_1aCQME8m_bi72WpWrYgLXxhysmQJg6QyDgeZ3_QesxdVYulTPvOWlDvhaA?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Yb1uZOt07UyDgGgKOmpQ5IGzETtvQSS4CojlXYemEqrHWgk8dXVBT4ajc82XwHxLazwDFhvLVIzV5Lf6Znb-NYgBKdx7Nv04ob38TzkBqYv1ZCgNYOA-ip0cAI41etljxTizBVriq_NU7-0x1wPX-tMi20AeeObNjSq6ahx31DyUacsI7ctx1iLNbKvyWgtC?purpose=fullsize
 
8

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.

https://images.openai.com/static-rsc-4/gk05uZEq-udZocFW7b_0CzEi9pMDfKL7_gEVytaRz11k2Gkit4feVQG3aBqQkBlrohMRgtxv6FUPcLReaiiXUX7OlcchKIv8Z_dRttSufGj4wUYviXOsiTo0IjlHF2xj9H9Mrt2qntdhhNu5kczGSRICk2KROCSTz42LfIRsZSYfjyccdl01oc_6VcReUF0K?purpose=fullsize
 
https://images.openai.com/static-rsc-4/WJs0m9jwhPPYpNtzw6WWEw1Vhbrg0ZMyYQ5P8KZOlYq5LWdqMYlx0fblSY0rVHA2U0pNyMK2QGMTGfJx3M3_w4OoBmMuze2Ye8GIjKS4EjExM5ZeOnNerA7vjZpJ7PF0j-PhSKWommN6uP4NhX5Kr98ZulE7hmgKB7ZMiQyDIxTY55Gs8gKmd3lADgAtA_LG?purpose=fullsize
 
https://images.openai.com/static-rsc-4/lUkIKBM85Ax4xTw5_-ryntyjO2xiEFrG6eQBR6imejV4i-Xmvx1k83HnOe11-he-FXV-oZDy-GkRIwpNWB8ceRfUPq732IftwbG6cxUT6jROxYHIbY5zIN39Jo_7W3uNqtX00tlHJ5wXGTgms4O41zDMtVZ17ZPOi0SnwUKI_eZ1aKWw36abO6dxHtGTnY5r?purpose=fullsize
 
7

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.

https://images.openai.com/static-rsc-4/iB6zRxduRbxbtE_3DAxuhnXQDqsetj_ec-3gFkvWMXjJWhINZBoeen2HuoXhcqOODzHWz52WrVpFUbehSskEuVvcES30uhtjmKgfQx9Xe6c4W3KEEM62pvvdrGVB8HKvjwB_5Tf2Aebrt9hzVzPtNi1h5D8X1q8MDxPs6Lbi12qjX8MxT2lzDhlEtyRxYCqa?purpose=fullsize
 
https://images.openai.com/static-rsc-4/hR1ngKZaQJkC3DCrSIHaGBKA7JxMp_Z96UCDcm2vmH-UDPh8JYav5uYxTCiwtZPUKQQn-EinXdQrntUFGfelDQ0WDH4EQX-zL4nQjQVPgWkMT9dkw_K-Xo6MLgwiU6Q3aUj-KpWbggIf0WraVp0aWKBt6_D_FWxD01FZWlHdf3Sgp1ho5fYA-ED04aKa4Vuk?purpose=fullsize
 
https://images.openai.com/static-rsc-4/c-z55AwZoYg2L7qd7899G5_6tQKP044TVYQMXKpUl78f1n0vy7syh0EhdLnoOjVZ7Im3Bb3PDREe8ZvSdvx1kXzzadN0fzm2dX1i5EXpCrTffEqwzDbYejjGq-8YZUu4iKifdWiKDONyGdxB5O8rG0VRUgeMYzZviMc4oGEum0imjrb4Y32Y9swJNzPXHHyc?purpose=fullsize
 
8

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:

  1. Sensor detects low temperature.
  2. Heater switches on.
  3. Room temperature rises.
  4. Sensor detects the higher temperature.
  5. Heater switches off.
  6. Room gradually cools.
  7. 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
https://images.openai.com/static-rsc-4/T2h7n3LAnbTYJJf0ofnfAKy06ucGnM-qJ__D4LCgkx-EtTd9AF8UsyPY-ODe3rOuLmYJYxplPvfSrKOpqUJpZZVejNMOZIEZxsnBcduVfmrGTPNacCmStkwmlPmlG-ArYLjnCqlWAz-dqbCF3ID9KmzBq1NGmGYPSNcbL4xKK84nSSgTm3MfbzP8TzYzwh3n?purpose=fullsize
 
https://images.openai.com/static-rsc-4/yoN8LUzSH6YeMLFgzeJ1nUN1iT9ns50iQ5gNZyw1qiKK9RhzEgCwVigzA-N9agYgoXzWI5WhnrCES_yBroAbmXpKth9T7erga2EhNM53BiDyyoQY63iuS9utJrm6CL0CnJRBp0PY8fn22XlqETOGSo8tW9Tw5iHszOFIzYdzkT8SSdTviv1rk7qz4w9I0PsV?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Uv9VJUxZMLE9YPF-GO-x1oEialnGo3-y0y_KZU06kbCUWbzmq3cg4KkGs_mvYEf1V2lJ2XxcC_HLtZ_gLszuyzdGQffGnG-Zur3ixw0DMZeolP0Dki4H1Q3uLEg1dV9VSxOXzffvK0U9UfOm4pII_oy-KYIGLbm7oLohpdLtCFr4ZLCPOLcVSWzECLUJt0WR?purpose=fullsize
 
8

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
https://images.openai.com/static-rsc-4/hZMTx_OM7fNy4vzi5e6LGkAfAMDKNskXwdoPb8h7L7tpsCMbCtDK5qXnMaBmwte-W-G8bkZEdIOg90i955riPlrZ23QMmbaAso54FuYVVWyRG4JD4cAg64vxWf8JXCvSTJMWNVHplq3CDChN6bR70wda9FlUYGEpmUR9WwE3Vc_hLvv6sakLlbgHz5BA4Jfw?purpose=fullsize
 
https://images.openai.com/static-rsc-4/qEC1riPzsec8SMEsgk9lEIMd5R85h7Zv0OWXCXxpjQ1ItphzEHWtFq4OdgUj_HsF-R_N0HjGYDs2MvuxiN2Lc-IPhdJTeludXpekiB9r4DXJkiEYJXIPD234WvTxkFPjbWRnPKhsHZCn1iguYhPRtyKV-w_zer2QkKR6Y0-3_htTfnsHPDrmh6TKTkVeknek?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Te2M97j2tqTie-DvRO45QatQYWw1Vsv9W7MpOPMf2eWCI4f743XI6DsizdJs5MS2PJB4Kcf8pyCB10g4ePYbpPBVaiw2SZC6Pp4bI02ZmJvRCAROFFxUC0SW20bMnksq_cAJ1Gg4fmIODi4m7eSLroj2izKLBl7JWxoEWllaL-HhvGanlNNrUF1UtsHdD5kg?purpose=fullsize
 
8

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.

https://images.openai.com/static-rsc-4/FsKakIbuuxGOLi1PIKw6zLXkQIF5e5aOffgMH4RUx2o-UI8hPIuZrDInQyebAsDBwzxagI6_X7_V7_FAARPjAm9_Ji1ux4Fd7I3Xn8L0v8oZdBNQwSJrdon7tr6Hwn0X0_FiuMicLIoZhKwnPlN7owiUEDwfoYud6VHpXvs-cAYiG3nB34yK-yaIoDdLf_v-?purpose=fullsize
 
https://images.openai.com/static-rsc-4/0tzadAp4sVTff2Z-xOLMx_HElA_JomOzrTb4XSaM58JoMxTn4uzwWsauU-P0h_m-AUNOnhWhuKykzsWA6n56DCelWTvIFYDNNgjixlhZVrB3sAfTIGOAOnLqKCCCXWimmb4Ywigi8nlDeBjXjTFuj8Oqn6VHxHL6z3RXC2zNk69vyx7nrwEW7u5TTFVo06_g?purpose=fullsize
 
https://images.openai.com/static-rsc-4/eyTa9WdfPO_nmwM5Mgat1vBMNqps_Cih6Pi_aPJZQuQmydJg9Kp90GHI85MQ9Tv_PTWKiLmzT2YZmjiR686ikcvFeH_0hgU4A0f6pZRtt5fDKO1Im2MsYqmSEfj5s4hBdJrcrKg7gPov5i-Mod12_l5F0ps3OSRp3PZmgOiJCxtSuQqEYQtjmYHY8d53I0wc?purpose=fullsize
 
8

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:

  1. What physical quantity does the sensor detect?
  2. How does its electrical property change?
  3. Does the control voltage rise or fall?
  4. What causes the switch to turn on?
  5. 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.

https://images.openai.com/static-rsc-4/gES2BqimbJGX1TYH1LwQvpzmAUzlOkquit3A1WgAh-3LPASVkfQpYIhKjMk_vVj8Co2v7xFO-QgfZEqrlU4tWL4TGvN9yU2aWACgkEQ4aBooyLQWDEoJiWuA6w7AXn4z2M_15lTicoMqTxOL3O-aSftg5RezE4-za5rnz4Bvc4SaCU0Sn_Lcic0JriBBg2OP?purpose=fullsize
 
https://images.openai.com/static-rsc-4/qA12IIXP8zUVp_lYQqEh61HRyq1-yE5Crdx3FZtjBf-SMPri7ZYZRCHDjN7Bg37-ZerrslO3Rr1F-Ryg6YPMWWy_ny3dFChuMP1bGKcuVQrqTOr1aR4cLeAUjoj-jNR0Ko3DrHR3thd8AmlbrBdVZh6AjwYVse2zDSPibUP6BNeZeddzSrRBmB8WS1bHoXsv?purpose=fullsize
 
https://images.openai.com/static-rsc-4/J7jvB2zznCSRTXJeCgLKJ0N2y0XNEcBDQpEO8QXdQbUtTYB7t-OvK6tM9LRPo00w74GToCgHmAc6-Vx4b6kjZJOqFEhiTspxtQohILaiNGJAe75LFl6bHohxK0CzBR1xKF93aNZiwNp5vLmkdCY8gQDGbiR9p0x9TdXTMtjFglknQqYtD22f_FWPg4iXGL6L?purpose=fullsize
 
6

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
https://images.openai.com/static-rsc-4/sFqiv13DWauwfVHKU_tue6e6IwB_aCYiI4U-bLKtnFbTMPAbla_kfpMa4fdecVnfA_BZi2QVzngOiS1rIMXCSu0sAr1ovJXMLqNn73q5WvEN768AZ_JS9AngKFI48h8VmqiQh8yKF4uNbYm10y--qULducV1KPYLITActrGDnWG8-3rtNVqZ5-EZL3C6J_mb?purpose=fullsize
 
https://images.openai.com/static-rsc-4/wnmN23BQhyCosRuF7BR7HDuCoIbEa7DXfHPmu1SHai1GWqWL9GoY2_3mSSNj4WqZQBdBJrGh4U1w0EQcyBI20_JNSGA3D7ITotvu1ZlP9WSzeOVpXIHiVoXjKZ0c-2XzpzcaNnQRMXv3ptjHlIwAvYMK2ViWwntf2CMBlU0GlMa5L2FQEP3yKNavpxnSDf6r?purpose=fullsize
 
https://images.openai.com/static-rsc-4/rPGm27pdl-SiofYFAkjGlhhrpbWfwGfgIELN8tD_oJzqwpdlSn_Qc127H89BidNO4KzLhfX_uust2WHCglGVfGEf3DylVCaxw62LNn7hcV8N7aA83rhLsFDpXimvXu92MXGs0uhh6V40_60f2imW6iln98FJtncwrUmYZo-ApyPr8UFoa77dDnabSuJkAYLn?purpose=fullsize
 
9

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

  1. Define an electronic sensor.
  2. Explain the meaning of input → process → output in a control system.
  3. Describe how the resistance of a typical LDR changes as light intensity increases.
  4. Explain how an LDR could be used to control an automatic night light.
  5. What is an NTC thermistor?
  6. Describe how the resistance of an NTC thermistor changes when temperature increases.
  7. Explain how a thermistor could control a cooling fan.
  8. What does PIR stand for?
  9. Explain why a PIR sensor is described as passive.
  10. Describe how a PIR sensor detects human movement.
  11. Give three everyday applications of motion sensors.
  12. Explain why a transistor may be required between a sensor and a motor.
  13. 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.
  14. Explain why swapping the positions of the sensor and fixed resistor changes the behavior of a voltage-divider control circuit.
  15. 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.
  16. Explain what is meant by a switching threshold.
  17. Explain why hysteresis is useful in a thermostat.
  18. Describe one way electronic sensors can reduce household energy consumption.
  19. Compare a light sensor, temperature sensor, and motion sensor in terms of the physical quantity each detects.
  20. 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.

Digital Electronics and Applications

Analogue and Digital Systems

Electronic systems can process information in two main ways:

  • analogue
  • digital

An analogue signal can vary continuously through a range of values.

A digital signal uses separate, discrete values or states.

For example, a temperature sensor might produce a continuously changing voltage as temperature changes. This is an analogue signal.

A computer, however, normally represents information using digital states based on binary numbers.

https://images.openai.com/static-rsc-4/CAzuU6ZhlXikm6swCZ5I-9jEKXboGYmJ5HzRZ-rWBCv13rVolbGR61VVv9pRexrCzIOdNpMOUqVHJBn97jiXqW_1mBqnoeI0BAZDtFxDtXUDCrfNm151ShIww7it1LIG45JhvMC1ZgR7QTUi78hHF4qVWIfNJWoeq9so--r01MT4r_f2o_wR6FVeBO7tjlWh?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Ml0HKg2SQPhMsW-TtJ7pGMCL2CPUvxW6Hv_Eo6QJVyzruxAWE2HHCRCpQh0tg22I_0vOsxWL7v6gM5K_Ymtn-H1ANcvxlhDufdEMRPMYxce2zTquOg_dPIK7fLCt6ACLN11439l3_820fD_EJQzPizgixXwoZy44rxXjH2eUBv1X0beocID32VjqqAt92ejq?purpose=fullsize
 
https://images.openai.com/static-rsc-4/xeai1Y4ZDDLbO2pwVXWg4KgUgqtzXWxjvYDMbXwmffxI9RmXuxTNrhz7va4e0fK5bk8UjOZsl40Kt0_JCA49LPhfgJhPHbxJZqqA5Slw5m_vKBKCkgUm08H7M5PVfWC4ChMmZ6VO8aCN3dzoHP2FLTNzK3tawdFkCSdoupoFerQboF6G_lXUm9BywttFZRtQ?purpose=fullsize
 
5

Analogue Signals

An analogue signal can take any value within its operating range.

For example, a temperature sensor might produce:

1.20 V

1.21 V

1.22 V

1.23 V

and all the possible voltages between these values.

The signal changes continuously as the measured quantity changes.

Examples of quantities that naturally vary continuously include:

  • temperature
  • sound pressure
  • light intensity
  • pressure
  • position
  • speed

Analogue Example: Microphone

Sound produces continuously changing air pressure.

A microphone converts these changes into a changing electrical signal.

The voltage may approximately follow the shape of the original sound wave.

The chain is:

sound wave → microphone → analogue electrical signal

The electrical signal can then be amplified, recorded, transmitted, or converted into digital data.


Digital Signals

A digital system represents information using a limited number of discrete states.

Most modern computers use binary digital systems.

Binary has two states:

0 and 1

These can be represented electronically by two different voltage ranges.

For example, a circuit might interpret:

low voltage → 0

high voltage → 1

The exact voltage ranges depend on the electronic technology being used.


Bits

A bit is a binary digit.

A bit can have one of two values:

0

or:

1

Bits are the basic units of digital information.

Multiple bits can represent much more information.


Binary Numbers

Binary is a base-2 number system.

The place values are powers of 2:

1, 2, 4, 8, 16, 32, 64, 128...

For example:

1011₂

represents:

1 × 8 + 0 × 4 + 1 × 2 + 1 × 1

= 8 + 2 + 1

= 11₁₀

The subscript indicates the number system.


Bytes

A group of:

8 bits

is called a byte.

For example:

10110110

contains eight bits and therefore represents one byte.

Large amounts of digital information are measured using units such as:

  • kilobytes
  • megabytes
  • gigabytes
  • terabytes

Analogue vs Digital

Analogue Digital
Continuous values Discrete values
Can represent smooth changes directly Commonly represents data using binary
Often directly produced by physical sensors Used extensively by computers
Can be strongly affected by accumulated noise Can often tolerate some noise without changing the interpreted data
Difficult to copy perfectly repeatedly Can often be copied with little or no loss of information
Examples include raw microphone signals Examples include computer files

Both analogue and digital systems remain useful.


Digital Does Not Mean Perfect

Digital information is often easier to:

  • store
  • copy
  • process
  • transmit
  • protect against some forms of noise

However, digital systems still have limitations.

These include:

  • finite resolution
  • limited sampling rates
  • data corruption
  • hardware failures
  • transmission errors

Digital systems are not automatically perfectly accurate.


Converting Analogue Information into Digital Data

Many real-world quantities are analogue, but computers operate digitally.

An analogue-to-digital converter (ADC) converts an analogue electrical signal into digital data.

https://images.openai.com/static-rsc-4/QSDXich7Kcu8_PFXxFZijpOdaX18HWHKdE7MdRxt1YBSb8MUbXSZhFz-hK9AVl76xBy9ECXj3R1e3SEtSCUeyiXIuIQxesvYp9bR6ku1Df61Xt3vDVkZjnsaTaKQgJL9UfLUd8C3T_7xpbk-xpeGo4Owjs8NtLPXg93Mpp5Zt_amHlk25nb6Ks0vDi70tjBT?purpose=fullsize
 
https://images.openai.com/static-rsc-4/5665wmvuQmP90bEmPQdZxXg3ltyZjhuA0Y47JCSWDh0SpjdBOLR6VGfHPp8ZUdb0R9jG7Z9alZ4M6G-F6I3mIDeJwNQ6dBwJOe-qO0-mURAs56_SLkRtATlwS4wVnmBJi2V-7JFZ7demwc6Sy8nUusWwhODCux1zjlOSGfHZ_TxShywOtpdsgh_JUX7mM7RL?purpose=fullsize
 
https://images.openai.com/static-rsc-4/jaMzczhtyl80edKJt1mXMFEBY64c-sUQzZUkhvhhejciiBYKHAZqyPS9wgdSJJi_6vR1wUnYBVmOEV6AtIghojazll2MqUZnO42C42Lue_zZdte7y2TffO4B_jY0QMj8GUxc09YIGtjJwa-wVmnNCMfn-UOVeu0fI4xKDJ8V0zwHs_Rn5RYTc4r_NLHxh4VU?purpose=fullsize
 
7

The general process includes:

sampling → quantization → binary representation


Sampling

Sampling means measuring an analogue signal at particular times.

For example, instead of recording a sound signal continuously, a digital system might measure its voltage thousands of times each second.

The number of samples taken each second is called the:

sampling rate

A higher sampling rate can represent faster changes in the original signal more accurately, provided the rest of the system is appropriate.


Quantization

After sampling, each measured value is assigned to one of a limited number of possible digital levels.

This process is called:

quantization

Because there are a finite number of levels, the digital value may not exactly equal the original analogue value.

The difference is associated with quantization error.


Bit Depth

The number of bits used for each sample determines how many different levels can be represented.

With n bits:

number of levels = 2ⁿ

For example:

4 bits

2⁴ = 16 levels

8 bits

2⁸ = 256 levels

16 bits

2¹⁶ = 65,536 levels

More bits allow finer distinctions between signal levels.


Digital-to-Analogue Conversion

Sometimes digital information must be converted back into an analogue signal.

A digital-to-analogue converter (DAC) performs this function.

For example:

digital music file → DAC → analogue electrical signal → amplifier → speaker

The speaker then converts the electrical signal into sound.


Computers and Electronic Circuits

Computers depend on electronic circuits to:

  • perform calculations
  • store information
  • make logical decisions
  • communicate
  • control other devices

Modern computers contain many integrated circuits.

https://images.openai.com/static-rsc-4/Y7MUm1JvDQ1gtcn3z33G5BLDwT-x_RtrJJnREk8XE7lBqR03QoYiJe7ap9oPc4BRYhX3RrpxEqyxjkcEjmaAdNW3wzozmjBVHyWHOtwXxrgdNAQYioG6CBrBAVW8vrKLcH-FuHEtnKFcJS9s1u9ph4HI9x_UaPcrP3Kij30yD1Yi51qAUXjz9U5o39xTo6CJ?purpose=fullsize
 
https://images.openai.com/static-rsc-4/PcJ4sCkCAqOhW-II4k0k5mmSS6m-P5PphuGGblG-nWbrtl0CST_ekVCVtLKccbrNrOEYJHBahsOgG4Pcv7pLBUBrUd3B0NwjygIXJjz74lKlR-HTGUawvOs23X0cOwIECzYDWBReFbD2ROJUpty7EYXkgWBcYbOgwC9HeVoFBQjc7SXLHxFE6szmB7hFtV9y?purpose=fullsize
 
https://images.openai.com/static-rsc-4/eXptZYAKpUaaTZm_tjFJVa66T39zj2QhOBmLc_iyQrHfIn4iSGQuYd8hnwLGHxOQLKeS9AbVcUI3mMkMSTg8QKQIZiUJGgYEO14Z78zFMHYe3R58JZEDM-OWvDUXxHoUMh2FiwuGrn1IqWHpqrioOwHgJxo0NgxR_yafqGbbqcdhf12SvaJ4c0MazN6PrXo3?purpose=fullsize
 
9

Important components include:

  • processors
  • memory
  • storage controllers
  • communication chips
  • power-management circuits

Transistors and Digital Electronics

The fundamental active component in modern digital electronics is the:

transistor

A transistor can operate as a very fast electronic switch.

A simplified digital interpretation is:

OFF → 0

ON → 1

Large numbers of transistors can be connected to create digital logic circuits.


Logic Gates

A logic gate performs a logical operation using digital inputs.

Common logic gates include:

  • AND
  • OR
  • NOT

More complex gates include:

  • NAND
  • NOR
  • XOR
https://images.openai.com/static-rsc-4/xOh0fwJ3q2J0EYIlC38pyQxgpdUEn8jUAxYodQcjdD37FEufbKNfqCmdVJVuuyy64_VHQ2bzllYh77PE59hz3N_KW0uYzx4Vgo2NkNWzgNcYokHaJb_UQAcfTxTQf5vFKyetKggqc4GZTGo8U00PpmLh0VcApr1_guOqeUEzOawfDI5L_g5ZzRuglvXHTigy?purpose=fullsize
 
https://images.openai.com/static-rsc-4/YnTvDWtv4jk5JPZFaumryCwYoVRhFWkPdzrpdvwD7HMCkdVXtpyuIZbVqbBe2GQnOrwdMd-nX3gZZwfxNGMe2Yo9UIx7NJf-0AfQj4T0uW-OK4DEBPmZiRXyEiZcyegrCB8b2Dx5Cu_5tMSFRbFXQJo8DmKq4Ywn5Se7NCBvGSPn4_M60KUe2nfp-U-iGN_N?purpose=fullsize
 
https://images.openai.com/static-rsc-4/RdaxSYs3TcmhcEXLd1unLQHageG5qU9cjw-05YBsf17ekKKvrgJ9Bf5GtTkisDAQu5065L_zrYPlz4eGkZcZC6punK1JJtWc0YkWOFO9NquSOkgGVC-crLE8tC-2iS1ZUkqcazLCMOTrfKPiqe7Wn_dw6kJe54FfurXdRHuOjoRuBTeFnZM21bDLGMUHKZIt?purpose=fullsize
 
6

Logic gates are constructed from transistors.


AND Gate

An AND gate produces an output of 1 only when all required inputs are 1.

A B Output
0 0 0
0 1 0
1 0 0
1 1 1

An AND operation is useful when two conditions must both be satisfied.

For example:

dark outside AND movement detected → light ON


OR Gate

An OR gate produces an output of 1 if at least one input is 1.

A B Output
0 0 0
0 1 1
1 0 1
1 1 1

An OR operation is useful when either of several conditions can activate an output.


NOT Gate

A NOT gate reverses the input.

Input Output
0 1
1 0

If the input is ON, the output becomes OFF.

If the input is OFF, the output becomes ON.


From Logic Gates to Processors

Individual logic gates can be combined to build:

  • adders
  • counters
  • registers
  • memory systems
  • control circuits

These circuits can then be combined into processors.

Modern processors contain enormous numbers of microscopic transistors working together.


Integrated Circuits

An integrated circuit (IC) contains electronic components manufactured together on a semiconductor chip.

ICs may contain:

  • transistors
  • diodes
  • resistors
  • capacitors
  • logic circuits
  • memory
https://images.openai.com/static-rsc-4/dy67F6XMQVDrqkL7S8_STsg4ZzKOmnIW5uQSbbVpNfVOwU0-o9aj5aOViZ1HF9TD3utm_ukmqJ_Bk4QLhYDBDzRJOkgM3eTEKDJ8mpZhXAQ6_85sqWQwyPX4Xy85G7tsmjBxu32mgRyeJDsmAEc6e6sXzqq1mGYk7vinL-BJNiCBCQvgJ_U0rk63mhWfQeUp?purpose=fullsize
 
https://images.openai.com/static-rsc-4/djh_Ulm78B14ZXx83QI9WjVDCsfpiokV5fAFhLuwwodPP-RDue1fAHNgHJDftZYBd_L8URISHf5aSjCCZtOPRN37n9MRRmPlGxQkZk7INYxEZWGsTXjFXtg1K6bLccHPgQiLbrkL1kGQ7kELPnpnbDJZ-7KTFEG75XZRNys_bOOis_yZjMRT24jWANYXwmzl?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ULEhcs5mMLkXX_TK0mU0Ppc7o5nYbp86s4i87A2nHh3aUa1CyqJXmAs_zCYgFEZoUB9fnp5jnymKe7PhS94-BA5Uzsa2yPfxhg1n337hr36i9IaMumXVwlQB7ykrt8z6CpUUGXtszEP8apoqOg9ddvQmuLrO6blu_uaolu_TqDTcASQ3lKqNTpe6SfJ4L1zj?purpose=fullsize
 
8

Integrated circuits allow complex electronic systems to fit into extremely small spaces.


Advantages of Integrated Circuits

Compared with constructing the same system from many separate components, ICs can provide:

  • smaller size
  • lower cost per function
  • faster operation
  • lower energy consumption
  • greater reliability
  • mass production
  • extremely complex functions

Integrated circuits are central to modern electronics.


Microprocessors

A microprocessor is an integrated circuit designed primarily to process instructions and data.

It performs operations such as:

  • arithmetic
  • logic
  • comparisons
  • data movement
  • control

Microprocessors are found in systems including:

  • computers
  • smartphones
  • servers
  • vehicles
  • industrial equipment

Microcontrollers

A microcontroller is a small computer system integrated onto a chip.

A typical microcontroller can contain:

  • processor
  • memory
  • digital inputs
  • digital outputs
  • timers
  • ADCs
  • communication interfaces
https://images.openai.com/static-rsc-4/vXabD_N3_Q_oJLt7waIpCM7GRv9hN5YL6oYGsEfYNJdK3AK1aAX74kKWNuoksUzATpQoAEaAylFcmzLor-0nX4TL87JLurQhPgeXcGPd0V22cV2V09CjxeTqsw8uGWTjKOHpkJaXh3G4oC44wTVB-F6xEpEqeQbdth6Q4Iqt_Cxxc1jMFXMJ88TtSftkBCmZ?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ZThrwPfKAOSbRWSUZh-2Ihre5Vsq20iTGTOFaTv03W-4c4EbXvBQHXEhPrUL7bwL6I17jQ3o521CyHmissS4jr_49pRnhFOxwd9C-iTJ4eL4LKf_DiFtoYhzpm_cXCWbZUXzrw8LodSDyH94rlUnWYG1fq7QP70MQSHIb0zcLYhj-UgXwwhzsErDkOGkTJm6?purpose=fullsize
 
https://images.openai.com/static-rsc-4/AsDBa9ibkDP1eb-qDmQQ9RK-c4PmxPx1VEVoZrXV5j1vAGg3U-wKhRAIM0Wp5JgULPeUA0oJpiCn1NPlvEWYtNOL3l8PMeqmmsnxz2FX2oC-Be4O41Bswnlx0puRGgncZEwxdYCFQdiwYbtYCtAZb3EFJ3UHgFGW8v6GFXXmlf2Wgslsb4PaZlHbtiaj2oOb?purpose=fullsize
 
9

Microcontrollers are particularly useful for controlling devices.


Microcontroller Control System

A typical microcontroller system can be represented as:

sensor → microcontroller → output

For example:

temperature sensor → microcontroller → fan

The microcontroller reads the sensor value.

Its program determines whether the fan should operate.


Why Use a Microcontroller?

Without a microcontroller, a control circuit may require many individual components.

A microcontroller can perform complex decisions using software.

For example:

IF temperature > 30°C:

fan ON

IF temperature < 27°C:

fan OFF

The same hardware can often perform different tasks simply by changing the program.


Applications of Microcontrollers

Microcontrollers are found in:

  • washing machines
  • microwave ovens
  • refrigerators
  • thermostats
  • robots
  • drones
  • cars
  • toys
  • security systems
  • medical equipment
  • smart-home devices
  • industrial machinery

Many devices that do not look like computers still contain microcontrollers.


Communication Devices

Modern communication systems depend heavily on digital electronics.

Examples include:

  • smartphones
  • Wi-Fi equipment
  • Bluetooth devices
  • satellite systems
  • fibre-optic communication
  • mobile networks
  • internet infrastructure
https://images.openai.com/static-rsc-4/G-iSWVpkAFpq6IpQKaAFsJS7mM2QMJRSPeS-PBE5vX0YRecRboTkp_G2KEbuE3ftig8CINB74OkP5NFgRiQ-9NOupjObjv7Ywu5pOnhK3pAwX800oTXJbf1krw5sbQoqkjkcPm-P0F8wEUfErBvrtpyoPTnU6TeSYTZmtWBywE48ZD1uH0Z1LDfDdxeuXbfC?purpose=fullsize
 
https://images.openai.com/static-rsc-4/YUjjoP2h25EluY9pe7A1BccND_Ppck4F93677-yIRl1ZgNr2DOq-hFf8UTo6RmkG9S9He6tAf57qY-7F-2yqnjyJuLQNR1tG_2Bl0Srb6x1HZ0QvkYvAqtdbaMQOmbTTtc2xi-FgfkQMA8kZaB-YTtPp38pCIIZ28UUf7EoNn41cXEHc60XJgqKrDlBizFXY?purpose=fullsize
 
https://images.openai.com/static-rsc-4/bbEnPWZNed-EcDSx-BwZUjCyxyl5Ll6UTHbdsIT_8YdJ4KMPMWrYesD0HPAkfKXSj_VXo_i3mOLNVCbiICYSblWVjfqQ2JMZrd4BwMMmEs2kwPi-8w-OFTworvWH1XavORpp2GEMa2LJgXRbx35QLL-nT5aYZFF0xdgD5YE4dgYeBrvu-kPgV-39sd0Teo3d?purpose=fullsize
 
7

Digital circuits process information before, during, and after transmission.


Digital Communication

A simplified communication system can be represented as:

information → encoding → transmission → reception → decoding → information

The original information might be:

  • voice
  • text
  • image
  • video
  • sensor data

Digital systems convert this information into data that can be processed and transmitted.


Example: Digital Phone Call

During a digital voice call:

  1. Your voice produces sound waves.
  2. A microphone converts sound into an analogue electrical signal.
  3. An ADC converts the signal into digital data.
  4. Electronics process and encode the data.
  5. The information is transmitted through a communication network.
  6. The receiving device decodes the data.
  7. A DAC helps convert digital information into an analogue signal.
  8. A speaker produces sound.

A simple conversation therefore involves many electronic processes.


Error Detection

Digital communication can include extra information that helps detect whether data has been corrupted.

Systems may use methods such as:

  • parity checks
  • checksums
  • error-correcting codes

This can make digital communication highly reliable even when some electrical or electromagnetic noise is present.


Electronic Data Storage

Digital information can be stored electronically.

Examples include:

  • solid-state drives
  • flash memory
  • memory cards
  • smartphones
  • embedded memory

Digital storage allows enormous amounts of:

  • text
  • photographs
  • audio
  • video
  • scientific data

to be stored in compact devices.


Modern Vehicles

Modern vehicles contain extensive electronic systems.

https://images.openai.com/static-rsc-4/uuzfHGVbIJEKj_PAFavz9djlWQR0YSY0S-ZQUuwia-cO-lrfvsCYyx31G5NnpTYNaHKUm4UwuYWVnC97ajubHr7VZc2L2-tkoNwAx0ZsuvqqXa-LTicznfTAn69czy9bG6_YKqGaG3Kt-EKEopKLxfiXw8fwTzQNT8ZTTsW7ImQ670Pc38-wX3Fxw02QNB5M?purpose=fullsize
 
https://images.openai.com/static-rsc-4/IKRk1Hyl4GSBg_SpO7GUFUupWFodULddX1LPUAuFX2pBFEhD-c_p5n9bZvAUj0CPCFX_9Ya3H_lPhosQxP0HuIVfZ3fqF-CeTVpl0TTUAnb7yGE3ggHxlV8rV0xAa5ZzQx7NiaMWgs9s_hKIb7F8uRP8rikXNCKEVhNmyX1yLLBtaWAzYMp4Cj6cSo-p2_q0?purpose=fullsize
 
https://images.openai.com/static-rsc-4/4rNex60goj6H0tdietRjgXmjE25EKne8EDeOUyqvXf40kNny9LHNS4UjTsWo2J6nkZycbsBw7WVJAfg6PYsItAJCjw15MK3FcE2flT4ynzBRa6zdfuPZVV0Pyu17h-01VSk_3EphPhLwheUBhb1yU68bfoJoEoIXhCPcVKtKEw89zmSwMHz7dhmzX20ruvtk?purpose=fullsize
 
8

Electronic systems may control or monitor:

  • engine operation
  • electric motors
  • battery systems
  • braking
  • airbags
  • stability control
  • lighting
  • climate control
  • navigation
  • parking
  • driver assistance

Sensors provide information while electronic controllers process the information and control outputs.


Electronic Safety Systems

Electronic systems have improved many safety technologies.

Examples include:

  • smoke alarms
  • airbag controllers
  • anti-lock braking systems
  • medical monitors
  • collision-warning systems
  • industrial shutdown systems

These systems can detect dangerous conditions and respond much faster than a person could in some situations.


Medical Electronics

Electronics plays an important role in modern medicine.

Applications include:

  • heart-rate monitors
  • blood-pressure monitors
  • medical imaging
  • hearing aids
  • pacemakers
  • laboratory equipment
  • patient monitoring
  • robotic systems

Electronic sensors can continuously collect data that helps medical professionals monitor patients and operate equipment.


Industrial Automation

Factories use electronic control systems to automate production.

Sensors can detect:

  • position
  • temperature
  • pressure
  • speed
  • size
  • color
  • proximity

Controllers then operate:

  • motors
  • robotic arms
  • valves
  • conveyor belts
  • alarms

Automation can improve speed, precision, consistency, and safety.


Robotics

Robots combine:

sensors + processing + actuators

Sensors provide information.

The controller processes the information.

Actuators produce movement.

For example:

distance sensor → microcontroller → motor controller → motors

This allows a robot to respond to its surroundings.


Smart Homes

Electronic systems can automate buildings.

Examples include:

  • automatic lighting
  • smart thermostats
  • security systems
  • door controls
  • energy monitoring
  • smoke detection
  • smart appliances

These systems can combine sensors, communication networks, microcontrollers, and software.


The Internet of Things

The Internet of Things (IoT) describes physical devices that contain electronics and communication capabilities allowing them to exchange data over networks.

Examples can include:

  • smart thermostats
  • environmental sensors
  • industrial machines
  • connected vehicles
  • agricultural sensors
  • smart appliances

A typical IoT device may contain:

sensor → microcontroller → communication system → network


Electronics and Energy Efficiency

Electronic control can help reduce energy consumption.

For example:

  • motion sensors switch lights off in empty rooms
  • thermostats regulate heating and cooling
  • motor controllers adjust motor power
  • smart systems schedule appliance operation
  • sensors optimize industrial processes

However, electronic devices themselves also consume energy.

Large numbers of devices and data systems can create significant electricity demand.


Advantages of Digital Electronics

Digital electronics has enabled:

  • rapid communication
  • powerful computing
  • compact data storage
  • automation
  • accurate measurement
  • advanced medical equipment
  • global information access
  • scientific research
  • improved transportation systems
  • sophisticated entertainment

Modern society depends heavily on digital electronic systems.


Social Impact of Communication Electronics

Electronic communication allows people to communicate across enormous distances almost instantly.

This has transformed:

  • education
  • business
  • banking
  • entertainment
  • research
  • social interaction
  • emergency communication

Information that once took days or weeks to move around the world can now be transmitted almost instantly.


Access to Information

Digital electronics has made vast quantities of information accessible through:

  • computers
  • smartphones
  • digital libraries
  • educational platforms
  • communication networks

This can improve access to education and knowledge.

However, access is not equal everywhere.

Differences in:

  • internet access
  • device availability
  • cost
  • infrastructure
  • digital skills

can create a digital divide.


Privacy

Electronic systems can collect enormous quantities of data.

Examples include:

  • location information
  • browsing activity
  • purchases
  • sensor readings
  • photographs
  • messages
  • health and fitness data

This creates important questions about:

  • privacy
  • data security
  • consent
  • ownership
  • appropriate use of information

Technological capability does not automatically determine how technology should be used.


Cybersecurity

As society becomes more dependent on electronics and digital networks, security becomes increasingly important.

Electronic systems can potentially be affected by:

  • unauthorized access
  • data theft
  • malware
  • equipment failures
  • communication disruptions

Security measures are therefore important for both personal devices and large infrastructure systems.


Automation and Employment

Automation can perform repetitive, dangerous, or highly precise tasks.

Advantages can include:

  • greater productivity
  • improved safety
  • consistent quality
  • reduced human exposure to dangerous environments

However, automation can also change employment.

Some jobs may disappear or change while new jobs are created in areas such as:

  • engineering
  • software
  • electronics
  • robotics
  • maintenance
  • data analysis

The social impact therefore involves both benefits and challenges.


Electronic Waste

Rapid development of electronic technology can produce large quantities of electronic waste, or e-waste.

Discarded electronics may contain:

  • valuable metals
  • plastics
  • glass
  • batteries
  • potentially hazardous materials
https://images.openai.com/static-rsc-4/n7k83U6T7Gpd7QWbnTOrTMSeQyqZjjYEm32C2Cq3q8bXlUVxiNMHAwNEae-6mLeD5xj7FIEXCGMrSC1WWMhRVaMsAN6ySjdIrQNJUK4oIMXCRh7cotWKPAoBadibl64wGSulLvyUKukXWkPZYqe2neEsQKYZHZwH11a9eMeUggyqCo2hK8e-hG0utvZb4stM?purpose=fullsize
 
https://images.openai.com/static-rsc-4/HliZ4Rleat5j7DNNv10-xDWpU8hTTB6lfzF9fYvGV6Z2TL9l2S93uUdnoWhnKLYmzd4hIAXz7sUCINl-Y0bFFSSs76qo0HWJLF4rGhKTzVjrZ2hV5lK5n2cV8x6VksT-e3nTctJCmgYBVyW9waLB7_hlyuR_h1zL7VX_Ta8H_OqJ84V0UPfT7EqcxLZIeCBr?purpose=fullsize
 
https://images.openai.com/static-rsc-4/YZI80xQzJRxyqgqD7at7TrGqkltxY8MhJJdl-5ThZuPwdjvYYURd6LOYldgvvgekafSx1W0BMkygXQQz77_VCKKaLxElPdWWEA06xlGjfClRJpm2mbbMmqqGT1JTCnKOtcGC-XGoBCxXLrsu57_Qht9yWatPfbmHO7wBw01wxze9jhSnTuxT3bkM_tIk5DHh?purpose=fullsize
 
9

Responsible approaches include:

  • repairing devices
  • extending device life
  • reusing equipment
  • recycling materials
  • recovering valuable metals

Resource Use

Electronic devices require materials such as:

  • silicon
  • copper
  • aluminium
  • lithium
  • nickel
  • cobalt
  • gold
  • rare-earth elements

Extracting and processing these materials has environmental and social impacts.

Evaluating electronics therefore requires considering the complete product life cycle rather than only the electricity consumed during use.


Reliability and Dependence

Electronic systems provide enormous benefits, but heavy dependence can also create vulnerability.

Failures in:

  • electrical power
  • communication networks
  • computer systems
  • payment systems
  • transportation electronics

can affect large numbers of people.

Important systems therefore require:

  • backups
  • redundancy
  • cybersecurity
  • maintenance
  • emergency procedures

Evaluating Electronic Technology

A balanced evaluation should consider both benefits and drawbacks.

Benefits

  • rapid communication
  • automation
  • improved safety
  • greater access to information
  • medical technology
  • scientific advancement
  • increased productivity
  • convenience

Challenges

  • privacy concerns
  • cybersecurity risks
  • electronic waste
  • resource consumption
  • unequal access
  • employment disruption
  • energy consumption
  • dependence on complex systems

A strong evaluation should use evidence and consider more than one perspective.


Example Evaluation: Smartphones

Smartphones provide:

  • communication
  • internet access
  • navigation
  • photography
  • educational resources
  • emergency services
  • financial services

However, their production and use also raise issues involving:

  • resource extraction
  • manufacturing energy
  • electronic waste
  • privacy
  • cybersecurity
  • unequal access

Therefore, the impact of smartphones cannot be described as simply positive or negative.

Their overall effect depends partly on how they are designed, produced, used, maintained, and recycled.


Common Mistakes

Mistake: Saying analogue signals have only two values.
Analogue signals vary continuously.

Mistake: Saying digital always means exactly 0 V or 1 V.
Digital states are usually represented by ranges of physical voltage values.

Mistake: Saying binary uses the digits 0–9.
Binary uses only 0 and 1.

Mistake: Saying one byte equals one bit.
One byte contains 8 bits.

Mistake: Saying digital conversion reproduces an analogue signal perfectly.
Sampling and quantization introduce limits.

Mistake: Saying a microcontroller is simply a transistor.
A microcontroller is an integrated electronic system containing many components.

Mistake: Saying integrated circuits contain only transistors.
They can contain several types of electronic structures and components.

Mistake: Saying digital communication cannot experience errors.
Digital data can still be corrupted.

Mistake: Assuming electronic technology has only positive effects.
Electronic systems provide major benefits but also create environmental and social challenges.

Mistake: Assuming automation always eliminates jobs.
Automation can eliminate, transform, and create different types of work.


Key Terms

Analogue signal — signal that varies continuously through a range of values.

Digital signal — signal represented using discrete states.

Binary — base-2 number system using 0 and 1.

Bit — single binary digit.

Byte — group of 8 bits.

Sampling — measuring an analogue signal at discrete times.

Sampling rate — number of samples taken per second.

Quantization — assigning sampled values to a limited set of digital levels.

Bit depth — number of bits used to represent each sample or value.

ADC — analogue-to-digital converter.

DAC — digital-to-analogue converter.

Logic gate — electronic circuit that performs a logical operation.

Integrated circuit (IC) — electronic circuit manufactured on a semiconductor chip.

Microprocessor — integrated circuit designed to process instructions and data.

Microcontroller — integrated computer system designed primarily for controlling devices.

Digital communication — transmission of information represented as digital data.

Embedded system — computer system built into a larger device to perform specific functions.

Internet of Things (IoT) — network of physical devices containing electronics that can collect and exchange data.

Automation — use of control systems to perform processes with reduced direct human intervention.

Digital divide — inequality in access to digital technology and connectivity.

E-waste — discarded electronic equipment.

Cybersecurity — protection of digital systems and information from unauthorized access or disruption.


Key Takeaways

  • Analogue signals vary continuously.
  • Digital signals use discrete states.
  • Most modern digital systems represent information using binary 0s and 1s.
  • A bit is one binary digit, while a byte contains eight bits.
  • Real-world analogue signals can be converted into digital data using an ADC.
  • Digital conversion involves sampling and quantization.
  • Increasing bit depth provides more possible digital levels.
  • DACs convert digital information back into analogue signals when required.
  • Transistors act as microscopic electronic switches in digital circuits.
  • Logic gates perform operations such as AND, OR, and NOT.
  • Large combinations of logic circuits form processors and other digital systems.
  • Integrated circuits allow enormous numbers of electronic components to fit onto small chips.
  • Microprocessors process instructions and data.
  • Microcontrollers are widely used to control electronic devices.
  • Computers and communication systems depend on digital electronics.
  • Digital communication allows text, audio, images, and video to be transmitted rapidly.
  • Modern vehicles, medical equipment, factories, robots, homes, and communication networks rely heavily on electronics.
  • Electronic systems can improve efficiency, safety, productivity, and access to information.
  • Electronics also create challenges involving privacy, cybersecurity, resource use, electronic waste, employment, and unequal access.
  • Evaluating technology requires considering both its benefits and its wider social and environmental effects.

Check Your Understanding

  1. Explain the difference between analogue and digital signals.
  2. Give three examples of physical quantities that naturally vary continuously.
  3. What is binary?
  4. Convert 1010₂ into decimal.
  5. What is the difference between a bit and a byte?
  6. What is the purpose of an analogue-to-digital converter?
  7. Explain what is meant by sampling.
  8. Explain what is meant by quantization.
  9. How many different values can be represented using 8 bits?
  10. What is the purpose of a digital-to-analogue converter?
  11. Explain how transistors are used in digital electronics.
  12. Describe the function of an AND gate.
  13. What is an integrated circuit?
  14. Explain the difference between a microprocessor and a microcontroller.
  15. Give four everyday devices that contain microcontrollers.
  16. Describe how digital electronics can be used during a phone call.
  17. Explain how sensors, a microcontroller, and actuators could work together in a robot.
  18. Describe two ways electronic systems can improve energy efficiency.
  19. Identify three benefits and three challenges associated with widespread use of digital electronics.
  20. Evaluate the statement: “Digital electronics has improved society.” Give evidence supporting your conclusion.