OnScale Blog

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

Cyprien Rusu, Director of Engineering for Asia at OnScale
Cyprien Rusu, Director of Engineering for Asia at OnScale
Cyprien Rusu is our Director of Engineering for Asia at OnScale. He has a extensive background in FEM, Technical Marketing, Sales and Support. Cyprien recieved his MS in Civil Engineering from Tsinghua University. At OnScale he is a trusted advisor for our client base in Asia, while creating and providing OnScale training.

Related Posts

What is the Piezoelectric Effect?

Let us provide you with a very simple definition first to get things clear. Certain materials tend to accumulate electric charges when a mechanical stress is applied to it. The piezoelectric effect is an effect that simply describes the fact that a pressure applied to a piezoelectric material will generate a voltage.

How to Optimize SAW Filter Cut Angle in OnScale

In this article we discuss how to pole piezoelectric materials in OnScale and walk through an example of how to rotate the material properties of Lithium Tantalate for the Y-cut angle in an LT-SAW.

A History of the Piezoelectric Effect

In 1880 brothers Pierre Curie and Jacques Curie were working as laboratory assistants at the Faculty of Sciences of Paris. They discovered that applying pressure to crystals such as quartz, tourmaline and Rochelle salt generates electrical charges on the surface of these materials. This conversion of mechanical energy into electrical energy is called the direct piezoelectric effect. “Piezo” is derived from the Greek for “to press”.