Controlling Ultrasonic Piezo Transducer Output with PWM Duty Cycle

For my capstone project at university I am working with a bunch of ultrasonic piezo transducers that require a variable sound pressure level (SPL) output. One way of achieving this is by driving the transducer with a pulse width modulated (PWM) signal and varying the duty cycle. My application actually requires a way of changing the output SPL in a linear manner, so I decided to conduct an experiment to see what the SPL output is with different duty cycles of the piezo transducer I have on hand, the Murata MA40S4S.

The Experiment

To do this, I taped together two Murata MA40S4S transducers together directly. As both of these transducers are specified as transmitting transducers, this was not ideal, but for the purpose of this experiment it will do the job for both transmitting the pulses with varying duty cycle, and measuring the resulting output.

The two MA40S4S piezo transducers taped together.

I connected a Picoscope 2204A’s arbitrary wave generator (AWG) directly to one of the transducers, and the channel A input of the Picoscope 2204A to the remaining transducer. This formed the transmitter/receiver setup.

The transmitter/receiver setup

From there, I found the resonant frequency that resulted in the greatest voltage output from the receiving piezo transducer. To do this, I setup a 2Vpp square wave with a duty cycle of 50% with picoscope’s software, and then slowly sweeped different frequencies around 40kHz. I found that the highest receiver voltage peaked with a driving frequency of 43.9kHz.

The picoscope software setup for creating square waves with different duty cycles and measuring the response

Then everything was simple. I just changed the duty cycle of the square wave and recorded the peak to peak voltage of the receiving transducer.

The Results

The following charts show the measured receiver output when the transmitting transducer was driven with a 43.9kHz square wave signal with differing duty cycles.

Output measured from receiving transducer at different transmitting duty cycles

From these measurements we can see that the greatest output occurs with a duty cycle of 50%. We can also see that as duty cycle is decreased, the voltage output does not decrease in a linear manner. In order to get an idea of how non-linear the transducer is at different driving duty cycles, I made the following chart which displays the ideal and measured response in decibels relative to a duty cycle of 50%.

Transducer response relative a 50% duty cycle

We can see from this chart that the error is significant. If linearity is required in the reduction of SPL output from these transducers when using PWM with a varying duty cycle, some kind of calibration would have to take place. This is especially the case as piezo transducers of this kind often have large tolerances.

The Conclusion

Driving piezo transducers with PWM signals that vary in duty cycle is a great way to reduce SPL output in an easy manner. However changes in duty cycle do not result in a proportional change in SPL output. If linearity is required in this sense, some form of calibration should be performed.

It should be noted that the poor linearity of the results could be influenced by the receiving transducers own non-linearities. Frustratingly this kind of thing is not defined in the Murata MA40S4S or MA40S4R datasheet, but I have no way to know for sure other than by purchasing a decent ultrasonic microphone and performing the same measurements.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from DaleGia

Subscribe now to keep reading and get access to the full archive.

Continue reading