Sensor breakdown: how robot vacuums navigate

block diagram robot vacuum

An example diagram block for a robot vacuum. | Credit: Invensense, a TDK company

Over the past few years, robot vacuums have advanced immensely. Initial models tended to randomly bump their way around the room, often missing key areas on the floor during their runtime. They also became trapped on thick rugs, and if vacuuming upstairs, came tumbling down with a heavy thud. Their runtime was also relatively short, and you’d often come home hoping for a nice and clean room only to discover that it had run out of juice halfway through.

Since those early days, these cons have turned into pros with the innovative use of sensors and motor controllers in combination with dedicated open-source software and drivers. Here is a look at some of the different sensors used in today’s robot vacuums for improved navigation and cleaning.

Ultrasonic time-of-flight sensors
Ultrasonic time-of-flight (ToF) sensors work in any lighting conditions and can provide millimeter-accurate range measurements independent of the target’s color and optical transparency. The sensor’s wide field-of-view (FoV) enables simultaneous range measurements of multiple objects. In a robot vacuum, they are used to detect if an object, such as a dog or children’s toy, is in its way and whether it needs to deviate its route to avoid a collision.

Short-range ultrasonic ToF sensors
Short-range ultrasonic ToF sensors can be used to determine different floor types. The application uses the average amplitude of a reflected ultrasonic signal to determine if the target surface is hard or soft. If the robot vacuum detects that it has moved from a carpet onto a hardwood floor, it can slow the motors down because they do not need to work as hard compared to carpet use.

The cliff detection feature can enable the robot vacuum to determine when it’s at the top of a set of stairs to prevent a fall.

VSLAM and LiDAR
Most companies developing high-end robot vacuums use visual simultaneous localization and mapping (VSLAM) or LiDAR technology to build a virtual map of the room. These technologies enable the robot vacuum to move around more efficiently, covering an entire level of a home with multiple rooms. However, if you lift the robot and put it down, it will not know its new location. To find out where it is, the robot must go off in a random direction and, once it detects an object and starts tracing the walls, it can find out where it is relevant to the map.

VSLAM or LiDAR technologies may not be applicable for low-light areas, for example, if the robot vacuum goes under a table or couch, where it is unable to read the map.

An example of the mapping capabilities of iRobot’s j7 robot vacuum. | Credit: iRobot

Inertial Measurement Units (IMU)
IMUs take the roll, pitch, and yaw of movements of the robot vacuum in the real world both from a linear and rotational perspective. When the robot vacuum is doing circles or moving in a straight line, it knows where it is supposed to go and how it is moving. There may be a slight error between where it should be and where it is, and the IMU can hold that position in a very accurate way.

Based on rotational and linear movement, plus the mapping of the room, the robot vacuum can determine that it is not going over the same areas twice and can pick up where it left off if the battery dies. And, if someone picks up the robot vacuum and places it somewhere else or turns it around, it can detect what is happening and know where it is in real space. The IMU is essential to making robot vacuums efficient.

For robot vacuums that do not use VSLAM or LiDAR mapping technology, their position and navigation can be determined using dead reckoning by combining measurements from the wheel’s rotations with the inertial measurements from the IMU and object detection from the ToF sensors.

Smart speaker microphones
As developers of robot vacuums continue to implement artificial intelligence (AI) with the ability to use voice assistants, microphones become an essential sensor technology. Take beamforming, for example. Beamforming is a type of radio frequency (RF) management technique that focuses the noise signal towards the microphone in combination with AI for tweaking. At the moment, the noise of the motors and the turning brushes on the robot vacuum are a bit loud. However, as microphone technology progresses and motors and brushes become quieter, coupled with beamforming, microphones will be able to determine the user’s voice in the not-too-distant future.

Algorithms can also be trained to disregard certain noises and listen specifically for the voice of the user. Ostensibly, the user wants to call for the vacuum cleaner to clear up something or tell it to go home without going through an app or voice assistant product. You want that to happen in real time inside the host processor of the robot vacuum. Alternatively, if the microphone notices that something is being spoken, it may be possible for the robot vacuum to stop all of its motors to listen to the command.

Embedded motor controllers
The embedded motor controllers are turning the gears to ensure the wheels are moving the robot vacuum in the correct direction with accuracy that can tell when the wheel is actually turned 90 degrees as opposed to 88 degrees. Without this high level of accuracy, the robot vacuum will be way off track after a certain amount of time. The embedded motor controller can be flexible whether you use sensors or not, making the robot vacuum scalable.

Pressure sensors
The level of dust inside the dust box is estimated by monitoring the flow of air through the dustbin with a pressure sensor. Compared to the air pressure when the dustbin is empty, the air pressure inside the dustbin begins to drop when the airflow begins to stagnate due to an increase in suction dust or clogging of the filter. However, for more accurate detection, it is recommended to detect it as a differential pressure that uses a similar pressure sensor to measure the outside air pressure.

A lot of the high-end bases have the capability to suck out the contents of the dust box automatically. The robot vacuum can then return to base, empty its contents, return to its last known position and continue cleaning.

Auto-recharging
To determine the battery’s state of charge (SoC), you need accurate current and voltage measurements. The coulomb counters and NTC thermistors in the battery pack provide this information.

When the battery reaches an arbitrary SoC level, the battery communicates an instruction for the robot vacuum to stop cleaning and return to the base for a recharge. When fully charged, the robot vacuum goes back to its last known position and continues cleaning. Regardless of the size of the room, in theory, with multiple chargers and multiple abilities to empty the dustbin, the robot vacuum can cover the entire floor space.

Thermistors
Thermistors, which are a type of temperature sensor, can be used to monitor the running temperature of the MCU or MPU. They can also be used to monitor the temperatures of the motors and brush gears. If they are running way too hot, the robot vacuum is instructed to take a break and perhaps run a few system diagnostics to find out what is causing the problem. Also, items caught in the brushes, like an elastic band or excess hair, can make the motors overcompensate and overheat.

Robot vacuum developers should understand what the motors are supposed to sound like at a certain threshold of frequency. It is possible to use a microphone to detect whether the motors are running abnormally, thereby detecting early stages of motor degradation. Again, by using diagnostics, the abnormal noise from the bushes could indicate that they have picked.

Conclusion
The retail price of a robot vacuum goes hand in hand with functionality and accuracy; some of the high-end models can be as much as $1,100. You can get a robot vacuum for closer to $200, but you will be sacrificing some of the bells and whistles. It all depends on the value the robot vacuum developer wants to create and the cost structure that works best for the user.

As component costs come down, it seems likely that more mid-tier robot vacuums will enter the market. Technologies like ToF sensors, pressure sensors, IMUs and motor controllers, along with improvements in battery efficiency, will drive this growth.

About the Author
For seven years, Peter Hartwell has been the chief technology officer at Invensense, a TDK company. He holds more than 40 patents and his operation oversees 600 engineers who have developed a broad range of technologies and sensors for drones, automotive, industrial and, more broadly, IoT. Hartwell has 25-plus years of experience commercializing silicon MEMS products, working on advanced sensors and actuators, and specializes in MEMS testing techniques.

Prior to joining InvenSense, he spent four years as an architect of sensing hardware at Apple where he built and led a team responsible for the integration of accelerometer, gyroscope, magnetometer, pressure, proximity, and ambient light sensors across the entire product line. Hartwell holds a B.S. in Materials Science from the University of Michigan and a Ph.D. in Electrical Engineering from Cornell University.

The post Sensor breakdown: how robot vacuums navigate appeared first on The Robot Report.


阅读原文