Inductive Sensing with PSoC MCUs

Tougher Touch Tech

Inductive sensing is shaping up to be the next big thing for touch technology. It’s suited for applications involving metal-over-touch situations in automotive, industrial and other similar systems. Here, Nishant explores the science and technology of inductive sensing. He then describes a complete system design, along with firmware, for an inductive sensing solution based on Cypress Semiconductor’s PSoC microcontroller.

By Nishant Mittal

Touch sensing has become an important technology across a wide range of embedded systems. Touch sensing was first implemented using resistive sensing technology. However, resistive sensing had several disadvantages, including low sensitivity, false triggering and shorter operating life that discouraged its use and led to its eventual downfall in the market.

Today whenever people talk about touch sensing, they are usually referring to capacitive sensing. Capacitive sensing has proven to be robust not only in a normal environmental use cases but, because of its water-resistant capabilities, also underwater. As with any technology, capacitive sensing comes with a new set of disadvantages. These disadvantages tend to more application-specific. And those have opened the door for the advent of inductive sensing technology.

Figure 1
Inductive sensing technique (Source: Cypress Semiconductor application note AN219207 – Inductive Sensing Design Guide).

Inductive sensing is based on the principle of electromagnetic coupling, between a coil and the target. When a metal target comes closer to the coil, its magnetic field is obstructed and it passes through the metal target before coupling to its origin (Figure 1). This phenomenon causes some energy to get transferred to the metal target named as eddy current that causes a circular magnetic field. That eddy current induces a reverse magnetic field, and that in turn leads to a reduction in inductance.
To cause the resonant frequency to occur, a capacitor is added in parallel to the coil to create the LC tank circuit. As the inductance starts reducing, the frequency shifts upward changing the amplitude throughout.

Some Use Cases

Figure 2
Shown here is the architecture of a water-resistant Bluetooth speaker using inductive sensing.

Consider the use case of a Bluetooth speaker that needs to be water resistant and is intended for use in up to 2″ of water for half an hour. This use case requires that the product is functional underwater. It also requires that the user can adjust the speaker in these circumstances. Such operation needs to be simple, consistent and reliable—even in the presence of water. Inductive sensing provides the solution for this. That’s because it has nothing much to do with the change in dielectric, but is only concerned with the metal detection.

For this application, metal-over-touch using inductive sensing would provide a consistent and reliable user performance (Figure 2). A light defection in metal can be detected as touch. Alternatively, a mechanical button and/or dial could be used. However, a mechanical interface is costly compared to a coil printed on a PCB and connected to a few passive components. Additionally, a mechanical button can break or fail, providing a much shorter useable lifespan than an inductive button would.

Figure 3
Using inductive sensing to determine vehicle proximity in an automotive application.

Consider another use case for proximity sensing using inductive sensing technology. A vehicle detection system needs to monitor when another vehicle approaches within 2 m and signal the driver on the dashboard or navigation panel. This functionality can be implemented using inductive sensing. A hardware board containing multiple coils at different locations using a flex cable, all around the dashboard, can be designed around the four corners and center of the headlight areas (Figure 3). Data from the inductive coils is collected by an inductive sensing controller such as the PSoC 4700S from Cypress Semiconductor. The controller would then analyze the data to determine the presence or absence of other cars in a 4-m vicinity around the vehicle. …

Read the full article in the February 343 issue of Circuit Cellar
(Full article word count: 2411 words; Figure count: 13 Figures.)

Don’t miss out on upcoming issues of Circuit Cellar. Subscribe today!

Note: We’ve made the October 2017 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

PSoC MCU Variant is Purpose-Built for IoT Edge Processing

Cypress Semiconductor is expanding its Internet of Things (IoT) solutions portfolio with a new member of its ultra-low-power PSoC 6 microcontroller (MCU) family. The new PSoC 6 MCU is purpose-built to address the growing needs for computing, connectivity and storage in IoT edge devices. The new MCUs include expanded embedded memory with 2 MB Flash and 1 MB SRAM to support compute-intensive algorithms, connectivity stacks and data logging.

At the same time, Cypress has announced two new development kits for the PSoC 6 family, enabling developers to immediately leverage the industry’s lowest power, most flexible dual-core MCU with hardware-based security—to prolong battery life, deliver efficient processing and sensing, and protect sensitive user data. PSoC 6 is empowering millions of IoT products today, providing the most secure and low-power processing available.
Developers can evaluate the new PSoC 6 MCUs with expanded embedded memory using Cypress’ new PSoC 6 Wi-Fi BT Prototyping Kit (CY8CPROTO-062-4343W) (shown). This $30 kit features peripheral modules including Cypress’ industry-leading CapSense capacitive-sensing technology, PDM-PCM microphones, and memory expansion modules, enabling quick evaluation and easy development. The kit is supported by Cypress’ ModusToolbox software suite that provides easy-to-use tools for application development in a familiar MCU integrated development environment (IDE).

To streamline development of products with Bluetooth Low Energy (BLE) 5.0 connectivity, Cypress has introduced the PSoC 6 BLE Prototyping Kit (CY8CPROTO-063-BLE). This $20 kit features a fully-certified CYBLE-416045-02 BLE module—a turnkey solution that includes a PSoC 63 MCU, onboard crystal oscillators, trace antenna and passive components.

Cypress’ PSoC 6 MCUs are production qualified today and are in-stock at authorized distributors. The new PSoC 6 MCUs with expanded embedded memory are currently sampling and are expected to be in production in the first quarter of 2019. The PSoC 6 Wi-Fi BT Prototyping Kit (CY8CPROTO-062-4343W) is available for $30 and the PSoC 6 BLE Prototyping Kit (CY8CPROTO-063-BLE) is available for $20.

Cypress Semiconductor |

MCUs Provide Inductive Sensing Solution

Cypress Semiconductor has announced production availability of the PSoC 4700S series of microcontrollers that use MagSense inductive sensing technology for contactless metal sensing. The series also incorporates Cypress’ industry-leading CapSense capacitive-sensing technology, empowering consumer, industrial, and automotive product developers to create sleek, state-of-the-art designs using metals and other materials. The highly-integrated MCUs enable cost-efficient system designs by reducing bill-of-material costs and provide superior noise immunity for reliable operation, even in extreme environmental conditions.
Cypress also announced availability of the new CY8CKIT-148 PSoC 4700S Inductive Sensing Evaluation Kit, a low-cost hardware platform that enables design and debug of the MCUs. The kit includes MagSense inductive-sensing buttons and a proximity sensor, as well as an FPC connector to evaluate various coils, such as a rotary encoder. The PSoC 4700S series is supported in Cypress’ PSoC Creator Integrated Design Environment (IDE), which allows users to drag and drop production-ready hardware blocks, including the MagSense inductive sensing capability, into a design and configure them easily via a simple graphical user interface.

The PSoC 4700S MCUs integrate:

  • A 32-bit Arm Cortex-M0+ core
  • Up to 32 KB Flash and 4 KB SRAM
  • 36 GPIOs
  • 7 programmable analog blocks
  • 7 programmable digital blocks

Support for up to 16 sensors, enabling implementation of buttons, linear and rotary encoders, and proximity sensing.

The CY8CKIT-148 PSoC 4700S Inductive Sensing Evaluation Kit is available for $49 at the Cypress online store and from select distributors.

Cypress Semiconductor |