Capacitors and Electronic Circuits

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.