The Sim Report

Our blog covers tips for using OnScale, new features and developments, and upcoming events and webinars.  Subscribe and get the latest posts in your inbox.

All Posts

Ultrasonic Sensors 101: How They Work, and How to Simulate Them

In this blog post we discuss how ultrasonic sensors work and how a vibrating piezoelectric disc generates ultrasonic waves. We have also included an interactive demo to show you how to simulate an ultrasonic sensor in OnScale using Finite Element Analysis. An ultrasonic sensor is a system that can emit and receive ultrasonic waves. It is generally used to sense the distance to and from an object. It also belongs to the family of “transducers” because it generates ultrasonic waves from an alternating voltage. Thus, it transforms electrical energy into acoustic energy.

Here’s an example of an ultrasonic wave sensor:

 

 

 

How does an ultrasonic sensor work?

Let’s look at the “wave generation” mechanism behind this sensor.

 

 

The principle of this sensor is simple:

  1. A disc made from piezoelectric PZT material, vibrates under a certain tension applied and generates ultrasonic waves out of the emitter
  2. When those waves meet an object, they come back to the receptor sensor
  3. The distance between the sensor and the object is calculated using the simple relation d = (v * t)/2

Note: the ½ come from the fact that the wave travels back and forth.

How does a vibrating piezoelectric disc generate ultrasonic waves?

Every material is made of elementary “crystals”. Those crystals are made of atoms that are arranged in a certain way and that have different kind of positive or negative charges.

 

 

Some materials have a crystal structure more sensible to electric field than others and vibrate under a time dependent voltage. Those crystals are where the piezoelectric effect is most important. In piezoelectric crystals such as quartz, tourmaline and rochelle’s salt, the crystal has a hexagonal shape at both ends. It has three axes, there are Optical Axis,  Electrical Axis and Mechanical Axis. When a pressure or mechanical force is applied along the polarization axis of the piezoelectric crystals it then produces the electricity.

 

ultrasonic sensor

 

How do you simulate an ultrasonic sensor?

Simulating an ultrasonic sensor in 2D or 3D requires a software that can correctly handle the 2-way coupling between voltage, mechanical strain and acoustic wave. OnScale is able to do this by handling those 3 kinds of physics in a totally coupled way. The other advantage of OnScale is that our main solver is a nonlinear explicit solver. All the signals you input and calculate with OnScale are time history signals, which means that they are very close to what you can actually observe on an Oscilloscope turing a physical experiment. OnScale has the ability to also calculate the impedance and the frequency signals using the Fast Fourier Transformation (FFT).

 

ultrasonic sensor

 

A fully coupled multiphysics solver allows for much faster calculations and simulation of much larger problems. This becomes very relevant when simulating ultrasound sensors. 

Simulating an ultrasonic sensor submerged in water

Let’s consider a 3D simulation of a simple transducer submerged in water.  Symmetry boundary conditions are used to simplify the CAD geometry and model size to reduce solve time. The transducer is driven with an electric load applied across the piezoceramic material.

 

ultrasonic sensor

 

The  CAD model was created in Onshape and allows the following design variables to be adjusted. By default the piezoelectric thickness, piezoelectric radius, and matching layer thickness are added as configuration variables for quick access through the Configuration Panel in Onshape.

 

 

This model is available to download here

 

Results

From this model, we can obtain all the following output results:

  • Electrical Impedance
  • Mode Shapes (Harmonic Analysis) of base design
  • Maximum Acoustic Pressure

 

ultrasonic sensor

 

Interactive tutorial of the simulation process

We have created a simple interactive experience that allows new OnScale users to discover how to simulate this ultrasonic sensor.

 

 

In this interactive demo, you will learn:

1- How to import a CAD model

2- How to assign voltage load

3- How to simulate that model with OnScale on the cloud

If you are interested in following more of our detailed tutorials, check out our designer tutorials here.

If you have any special models or simulations you want to perform, please do not hesitate to contact us here or let us know in the comment section of this blog!

Get Started With OnScale Today

Related Posts

How to Design a Better RF MEMS Resonator for 5G Smart Devices

In the rapidly developing world of Internet of Things (IoT), the radio frequency front-end (RFFE) of smart devices will have to handle higher data rates and access the full bandwidth of 4G/5G wireless technology. The reason for this, of course, is the growing demands of ubiquitous low latency data at higher operating frequencies required to accommodate enhanced data transmission capabilities and rapidly growing numbers of users.

Ultrasonic Sensors 101: How They Work, and How to Simulate Them

In this blog post we discuss how ultrasonic sensors work and how a vibrating piezoelectric disc generates ultrasonic waves. We have also included an interactive demo to show you how to simulate an ultrasonic sensor in OnScale using Finite Element Analysis. An ultrasonic sensor is a system that can emit and receive ultrasonic waves. It is generally used to sense the distance to and from an object. It also belongs to the family of “transducers” because it generates ultrasonic waves from an alternating voltage. Thus, it transforms electrical energy into acoustic energy.

How to Simulate Acoustic Filters for 5G Mobile Front-Ends

In this blog post we discuss the key solver capabilities that OnScale provides to RF engineers designing acoustic filters. We describe the process of simulating different resonators based on surface acoustic wave (SAW) and bulk acoustic wave (BAW) technology.