Skip to main content

Practical notes on keeping homes, pets and possessions safe

What a passive infrared sensor actually detects

Words by ·

A small grey sensor housing on a ceiling corner, a lamp glowing softly across an empty room

What the sensor is looking at

A passive infrared sensor, usually shortened to PIR, is the small white or off-white box that sits high in a corner of a room and is the part of most home alarms that people actually notice. It is called passive because it doesn't send out any signal of its own. Unlike a beam sensor, which fires an invisible light across a gap and waits to have it broken, a PIR only listens. It watches for changes in the infrared radiation coming from the room in front of it.

Infrared is heat you can't see. Everything warmer than its surroundings gives off some of it, and that includes people, cats, dogs, radiators, hot cups of tea and the sun coming through a window. Human skin and clothing radiate most strongly in a band of roughly 9 to 10 micrometres, which is well into the far infrared. A PIR is tuned to pick up changes in that band rather than the steady background glow of a room. It doesn't measure temperature in any useful sense. It notices when the amount of infrared hitting a particular spot changes quickly, which is what happens when a warm body walks across its view.

This is the key point for a beginner. The sensor is not a camera and it doesn't see shapes. It has no picture of your living room. It reacts to a moving warm thing that crosses from one zone of its view into another.

How the detection actually works

Inside the case there is a pyroelectric element, a crystal material that produces a small electrical charge when its temperature changes. The element is usually a pair of sensing elements placed side by side, and the two are wired so that they cancel each other out when they see the same thing at the same time. This matters because a slowly changing background, such as the room warming up in the morning, affects both halves equally and so produces no net signal.

When a person walks across the room, they pass through the sensor's field one part at a time. The front of the body heats one element a moment before the other, the signal stops cancelling, and the circuit sees a change. The dual-element design is why the sensor reacts to movement rather than to heat alone. A warm radiator sitting still doesn't change, so nothing happens.

The plastic cover over the front is not decoration. It is a Fresnel lens, a moulded surface divided into many small segments. Each segment focuses a narrow slice of the room onto the sensing element, so the sensor effectively has a pattern of zones, some near and some far, with gaps between them. Someone walking across these zones makes the element switch between being lit and unlit over and over, which the electronics read as movement. Someone walking straight toward the sensor, or standing still, may cross few zones and can be harder to pick up, which is one reason installers pay attention to where a sensor is aimed.

Most units also have a sensitivity setting and a short processing delay. The electronics usually need more than one trigger within a short window before they raise the alarm, which helps reduce false alarms from a single odd event. Details vary by model, so the manual for the specific unit is the right place to check how it behaves.

Common misconceptions

The first misconception is that a PIR can see through glass or walls. It can't, at least not in any useful way. Ordinary window glass blocks much of the far infrared that the sensor relies on, so a PIR pointed at a window will often miss a person outside and may also be confused by sunlight falling through the glass. Walls stop it completely. If a sensor is mounted so that the view takes in a window, the installer usually has to think about how the sunlight will change over the day.

The second is that a PIR will always catch an intruder who is standing still. Strictly speaking, a PIR is designed for movement. A person who stops moving may stop triggering it, and a person who moves very slowly across the field may produce only a weak change. For this reason, sensors are placed so that anyone entering a room has to cross several zones. Expecting a PIR to guard a single spot where someone might stand for minutes is a mistake.

The third is that a PIR can tell a burglar from a cat. It can't tell what is moving, only that something warm is. This is why pet-tolerant sensors exist. Their lenses are shaped so that the lower zones, which cover the floor, are masked or blocked, so a small animal on the floor does not cross the zones that matter. This works within limits. A large dog that jumps onto furniture, or a pet that climbs, can still set one off. The manufacturer's stated limits are the best guide, and the article on pets and motion detectors covers what to ask before installation.

The fourth misconception is that a PIR is affected only by the presence of people. In fact, anything that changes the infrared pattern can matter. A radiator switching on, a warm draught from a door, a hot-water tank, a sunny patch moving across a floor or a lamp that heats up can all produce changes. Sensors are sometimes placed away from heat sources for exactly this reason, and a good installer will check the room at different times of day.

Where to go next

If you are looking at a PIR for the first time, start with the layout of the room rather than the sensor itself. Think about the route someone would take from the door to whatever you most want to protect. A sensor should be placed so that this route crosses its zones, and it should not be pointed at a window, a radiator or a bright lamp. The piece on placing alarm sensors goes through the common errors that people make at this stage.

Next, consider the type of sensor you need. Some homes suit a standard PIR, while others, with pets or large open-plan spaces, will need a different lens or a different arrangement. If you are weighing up how the sensors connect to the rest of the system, the comparison of wired and wireless alarms is a useful companion read. If pets are part of the picture, it is worth reading about pet-tolerant sensors before you speak to anyone about installation.

Finally, try to understand how your own sensor behaves before you rely on it. Walk through the room, watch the status light, and note whether the unit reacts when you stand still, when you cross quickly and when you move slowly. Testing with the system in the correct test mode, and following the manufacturer's instructions for doing so, will tell you far more about your home than any general rule can.

Also on the blog