Optimizing Occupancy Sensor Placement in Smart Environments

This paper proposes an automatic sensor placement method that utilizes occupant trajectory simulations and integer linear programming to determine optimal layouts for privacy-preserving Time-of-Flight sensors, thereby maximizing real-time zone occupancy counting accuracy in commercial environments.

Hao Lu, Richard J. Radke

Published 2026-02-25
📖 4 min read☕ Coffee break read

Imagine you are the manager of a large, busy office building. Your biggest bill comes from heating, cooling, and lighting the entire building, even when half the rooms are empty. You want to save money and energy, but you also don't want people to be cold or sitting in the dark.

The solution? Smart sensors that tell the building exactly where people are, so the lights and AC only turn on where they are needed.

But here's the catch: Where do you put the sensors?

If you guess wrong, you might miss people walking through a doorway, or you might waste money buying too many sensors. In the past, people just guessed or tried things out until it worked (trial and error). This paper introduces a "smart planner" that figures out the perfect spot for every sensor automatically.

Here is how they did it, explained simply:

1. The "Ghost Walkers" (Simulating People)

Before buying a single sensor, the researchers built a digital twin of the office inside a computer game (using the Unity engine, the same tech used for video games).

They didn't just put random dots on a map. They created "Ghost Walkers."

  • They told the ghosts: "You start at your desk, you go to the bathroom, you go to the fridge, and you come back."
  • They added some "chaos" to make it realistic. Sometimes the ghosts take a detour because a chair is in the way, or they walk a little closer to the wall than usual.
  • They ran thousands of these ghost walks to create a "Heat Map" of where people are most likely to cross from one room to another.

2. The "Fuzzy Door" (The Secret Sauce)

This is the clever part. Most people think, "I'll just put a sensor right over the door." But what if you only have 5 sensors and 10 doors? You can't cover them all.

The researchers realized that you don't need to watch the door itself; you need to watch the path people take before and after the door.

  • The Analogy: Imagine a doorway is a narrow bridge. If you stand exactly on the bridge, you might miss someone stepping off the side. Instead, imagine the bridge is surrounded by a fuzzy, glowing zone (they call this "dilation").
  • If a sensor can see any part of this fuzzy zone, it knows someone is crossing.
  • By widening the "target" area around the door, one sensor can cover the paths for two different doors at once, like a security guard standing in a hallway who can see people entering two different offices.

3. The "Math Puzzle" (Finding the Best Spots)

Once they had the heat map of ghost paths and the "fuzzy zones" around doors, they turned the problem into a giant math puzzle (specifically, an Integer Linear Programming problem).

  • The Goal: Place KK sensors (where KK is the number you can afford) so that they catch the maximum number of ghost paths crossing the zones.
  • The Solver: A computer algorithm (Branch and Bound) acts like a super-fast detective. It tries millions of combinations in minutes to find the single best layout. It doesn't guess; it calculates the absolute optimal solution.

4. The Results: Does it Work?

They tested this in six different virtual office buildings, from long narrow corridors to big open spaces.

  • The Prediction: The math predicted exactly how well the sensors would work.
  • The Reality: They ran the simulation with actual 3D animated people walking around. The real-world performance matched their math predictions almost perfectly.
  • The "Budget" Trick: They showed that if you have a tight budget, the math can tell you, "Hey, if you buy 4 sensors instead of 6, you only lose 2% accuracy, but you save a lot of money." It helps you make the best trade-off.

Why This Matters

Think of this like packing a suitcase.

  • Old way: You just throw clothes in until the bag is full, hoping you didn't forget anything.
  • New way: You use a smart algorithm that knows exactly what you need for your trip, folds the clothes perfectly, and tells you the exact order to pack them so you fit everything in the smallest bag possible.

This paper gives building managers that "smart packing" ability for sensors. It means we can save massive amounts of energy by knowing exactly where people are, without needing an expert to climb ladders and guess where to drill holes.

Get papers like this in your inbox

Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.

Try Digest →