Safety in Industry 5.0

Without question, workplace injuries and illnesses significantly...

How to Test Partial Discharge with PicoScopes

- Derek Hu Pico Technology The main reasons...

Trending

Lid Angle Detection with 2 ST Sensors or the Better Way to Track Hinges on Foldable Products

- Advertisement -

 ST Two LSM6DSV16Xs IMU for Perfect Lid Angle Detection the volt post 1What if the industry has been doing lid angle detection all wrong, and the solution wasn’t to use magnets? The claim is bold, but that’s precisely what ST demonstrated in a series of patents that use inertial MEMS and sensor fusion to determine the position of a lid relative to its base123.

By using two LSM6DSV16Xs, one on each panel, accelerometers and gyroscopes can compute the hinge angle. The method is obviously very different from the traditional lid angle detection mechanism that relies on a Hall effect sensor, and for good reasons since a customer asked us to find an alternative because its teams couldn’t use the traditional method.

Why the industry needed an alternative to Hall effect sensors

The idea that never went away

 ST Two LSM6DSV16Xs IMU for Perfect Lid Angle Detection the volt post 2
ST’s lid angle detection application with two LSM6DSV16Xs

After decades of innovations and design revolutions in smartphones, laptops, wearables, and more, using a system that can fold onto itself is as popular as ever. For some categories of products, like laptops, not utilizing a hinge is inconceivable, as folding the screen onto the keyboard is mandatory to ensure portability.

In other cases, like smartphones, foldability is making a comeback, with some market studies predicting strong growth. Consequently, computing the hinge’s angle is critical as it makes the system smarter and more efficient. For instance, knowing that panels are closed can trigger a low-power mode. Similarly, the user interface can change depending on the angle by showing different feature sets or split views, accordingly.

How to Get Away with Hall Effect Sensors

ST Two LSM6DSV16Xs IMU for Perfect Lid Angle Detection the volt post 3
Testing the lid angle detection by opening a case

However, the current solution can sometimes clash with new foldable form factors. Indeed, for years, makers have used a Hall effect sensor to compute the lid’s angle, but it was to determine whether the product was opened or closed. In a nutshell, a Hall sensor works by using the properties of an electromagnetic field. Engineers place a magnet on the lid and the sensor on the base.

As the lid closes, the magnet gets closer to the sensor, and the electromagnetic field causes a shift in the flow of current traversing the sensor. The magnetic flux affects the electrical potential within the sensor, resulting in a change in voltage that the system can measure to determine the lid’s position.

The Problems With Hall Sensors That Won’t Go Away

Originally, Hall sensors and magnets worked well in laptops, but they could only tell whether the lid was opened or closed, which limited the feature’s utility. That’s why computer makers simply used the technology to trigger a sleep mode, turn the display off, or start a wake-up routine. As teams looked to compute a more precise angle and offer more features, they had to add two accelerometers. The inertial sensors could help determine the position of the lid with far greater precision, which opened the door to new features, like launching a tablet UI when the user flipped the screen.

However, while there’s more room in a laptop to add components, space is a lot more precious inside a foldable smartphone. Moreover, integrators can struggle to find the right spot for the magnet as it can easily interfere with other components.

Whether it’s a memory module that could see its bits flipped, a display that could suffer image distortion or a wireless signal that could be disrupted, it’s critical to ensure that other components are shielded or kept away from the magnetic field. Unfortunately, it can be pretty challenging, especially because engineers need precise measurements, which means that sensor placement is critical.

Besides the design issues, requiring the precise positioning of multiple sensors can make the manufacturing process more complex and expensive. This issue is further compounded by the need for extensive calibration.

Finally, the accelerometers are inherently limited because they cannot distinguish between the dynamic acceleration caused by the user’s movement and the static acceleration resulting from gravity. Moroever, it’s impossible to determine the angle when the device is upright, and the hinges are parallel to the gravitational force.

Why ST’s lid angle detection approach is gaining traction

Looking at it from a different angle

 ST Two LSM6DSV16Xs IMU for Perfect Lid Angle Detection the volt post 4
Testing the lid angle detection system by closing the case

For all those reasons, one of our customers asked us to find an alternative to the Hall effect sensor. That’s why we decided to approach the problem from a different angle (pun intended). Instead of relying on a magnetic field, we chose to use two LSM6DSV16Xs that incorporate an accelerometer and a gyroscope.

Consequently, this method bypasses the challenges caused by a magnetic field, and the gyroscope compensates for the shortcomings of using an accelerometer only. Put simply, the system works regardless of its orientation. Additionally, using two IMUs offers greater accuracy, thus enabling the computation of more precise angles in more use cases.

Additionally, using two inertial sensors means developers no longer have to carve an exception in their program when the hinges are parallel to gravity. To make developments even more straightforward, we offer libraries that handle the inputs from the two MEMS and perform sensor fusion to improve results.

Concretely, our solution reduces noise by 30% compared to a system that doesn’t use our sensor fusion algorithm. In practical terms, our demo application takes 7.1 KiB of flash and 1.5 KiB of RAM and has a runtime of less than 100 µs. Consequently, it is possible to use this system in low latency situations like gaming, optical image stabilization, or AR and VR.

Angling the Future of Lid Angle Detection

There are also costs and power consumption considerations. Increasingly, integrators naturally add IMUs to their system because they need them for orientation detection, free fall monitoring, and more.

The ability to use two IMUs to compute the lid angle thus means using devices already on the PCB or, at least, reducing the number of single-purpose components on the system, making the overall bill of materials far more profitable. Manufacturing is also simpler since there’s no longer a need for precise alignment and complex calibration procedures.

There’s also something to be said about the power consumption. In and of itself, a Hall sensor needs less current than an IMU. However, since many designs already use inertial sensors and can serve multiple purposes, reducing the number of components on the PCB lowers the overall power consumption.

Additionally, a device like the LSM6DSV16X provides a lot more granularity thanks to its many operating modes. Consequently, engineers have a lot more room to tweak their system to find the best trade-off between the quality of the data they obtain and the sensor’s current consumption.

Additionally, it is possible to use our ISPUs, such as ISM330IS and LSM6DSO16IS. The sensor has a processing unit to alleviate the need for a host MCU for certain computations. It is, therefore, one of the best ways to lower overall power consumption.

As engineers evaluate whether to process some of the data directly on the sensor, using the ISPU to compute the lid angle is a very straightforward way to reap massive benefits by offering a much lower power consumption while keeping the accuracy and performance.

  1. Computing system implementing an algorithm for fusing data from inertial sensors, and method ?
  2. Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product ?
  3. Device, system and method for synchronizing of data from multiple sensors ?
- Advertisement -

Don't Miss