PIR sensors are everywhere in smart homes: hallway lights, night lights, security triggers, bathrooms, cabinets, and battery-powered motion sensors.
They are cheap, mature, and low power. They are also often misunderstood.
A PIR sensor is not a camera. It does not know whether an object is a person. It is also not a mmWave radar that can observe tiny body motion over time.
The first model is: a PIR sensor detects changes in infrared heat radiation across its field of view. It is good at detecting human motion, not at proving continuous still presence.
Human body has thermal contrast with background
-> Infrared radiation enters PIR field of view
-> Fresnel lens creates multiple zones
-> Pyroelectric element senses change
-> Analog circuit amplifies, filters, and compares
-> Motion-like trigger output
It Sees Infrared Change, Not Visible Light
The human body emits infrared radiation. PIR means Passive Infrared Sensor: it passively receives infrared energy instead of emitting a signal.
It does not need visible light. Turning the room light on or off is not the primary detection factor.
The key word is change. A stable warm object sitting in the field of view may quickly fade back toward baseline. PIR is sensitive to thermal change, not to a static thermal image.
Why Pyroelectric Elements Respond to Change
The core sensing element is pyroelectric material. When its temperature changes, its polarization changes and a small electrical signal appears.
Infrared radiation changes
-> Sensing element temperature changes
-> Pyroelectric charge changes
-> Voltage signal changes
If a person enters the field, received infrared energy changes and a signal appears. If the person stands still, the element approaches a new thermal equilibrium and the signal decays. The front-end circuit also usually filters out DC or very slow changes.
That is why PIR is more like a thermal-change detector than a static thermal camera.
Why the Fresnel Lens Matters
The white translucent cover on many PIR modules is a Fresnel lens array. It divides space into detection zones.
As a person walks across the zones, infrared energy on the sensing element alternates up and down, producing a stronger AC signal.
This explains a common behavior: walking sideways across a PIR sensor often triggers more reliably than walking slowly straight toward it. Sideways motion crosses more zones.
The effective detection angle and distance come from the lens, element size, mounting height, and motion direction, not only from the chip.
Why Dual Elements Suppress Slow Environment Changes
Many PIR sensors use two pyroelectric elements with opposite polarity.
The purpose is to cancel slow common changes while emphasizing a warm target moving from one zone to another.
Whole environment warms slowly -> both elements change similarly -> mostly cancels
Human crosses zones -> elements change differently -> strong output
This makes PIR more like a moving thermal target detector.
It is not perfect. Sunlight, hot air, heaters, strong moving heat sources, and thermal changes near glass can still produce enough signal.
Why Still People Are Missed
If someone sits on a sofa, sleeps in bed, or stays still in a bathroom, PIR may trigger at first and then stop. A system that treats “no PIR trigger for a while” as “nobody is present” may turn lights off while a person is still there.
That is not simply a timer bug. It is the output meaning of PIR.
Common missed cases include:
- Sitting still or sleeping
- Body blocked by furniture, bedding, or partitions
- Very slow motion along a zone boundary
- Small body-background temperature difference
- Bad mounting angle
- IR blocked by glass, enclosure, or decorative covers
PIR is strong for “someone moved through here”. It is weak for “someone is still here”.
False Alarms
False alarms happen when the sensor sees thermal changes that resemble human motion.
Common causes include:
- Direct or reflected sunlight
- Hot or cold air from HVAC
- Heaters, stoves, printers, or hot water
- Pets
- Thermal changes near curtains or windows
- Sensor housing vibration
- Electrical noise in the analog front end
Plants alone are usually not strong human-like heat sources, so moving plants affect PIR less than mmWave. But sunlight patches, window heat exchange, or warm airflow around plants can still create trouble.
Why PIR Is Still Useful
PIR’s major advantage is power. It passively receives IR and can stay in low-power standby for a long time.
It is well suited for:
- Motion-triggered lights
- Battery-powered motion sensors
- Security pre-triggers
- Waking a camera or mmWave sensor
- Low-power device wakeup
Its job is not precise position or continuous still presence. Its job is to cheaply detect likely motion.
PIR and mmWave Are Complementary
PIR and mmWave solve different parts of the problem.
PIR is low power and good at entry or movement. It is weak at still presence.
mmWave can observe range, angle, velocity, phase, and micro-motion, so it can help maintain presence. It consumes more power and can be confused by moving fans, curtains, plants, pets, multipath, or module vibration.
PIR: low-power wakeup and motion evidence
mmWave: zone, micro-motion, and still-presence evidence
Fusion logic: reduce false alarms and manage power
The key sentence is:
PIR output is a thermal-change trigger, not a human-presence truth.
That explains why a light can turn off while someone is still there, and why presence sensors often combine PIR with mmWave.
Engineering Takeaway
PIR is best understood as a low-power thermal-change trigger.
It is suitable for:
- Detecting someone passing through
- Motion-triggered lights
- Battery-powered wakeup
- Security pre-triggering
- Front-end triggering for cameras or mmWave modules
It is not suitable as the only source for:
- Still-presence detection
- Counting people
- Precise position
- Detecting hidden or blocked bodies
- Reliable operation in strong thermal disturbance
PIR sees changes in infrared heat radiation.
It does not output a human-presence truth.