Hi folks,
recently I've had a chat with a student of electronics at the university im working at. He was complaining about the missing possibilities to get into radar concepts like simple puls radar or phased array antennas to determine the angle of arrival. Open source radar plattforms are rarely available and quiet expensive. So we've discussed to get to lower frequencys to play around with those concepts.
Looking for Ultrasonic transducers I've quickly realized, that there are not many cheap parts available. So I've remembered my experiments with the so familiar HC-SR04 back the good old days. I acutally can remeber that nearly everbody playing around with arduino and stuff had some of them floating around in the parts bin. So I've desided to examine those modules a little further - especially the transducers. These modules are incredibly cheap and even come with some chips (Quad LM324 f.ex.) to add to the parts bin if necessary.
To get us all to the same point:
My scope - as mentioned, will be on the transducers. First thing I did was to unsolder both of the transducers from a sonar module. As expected they were labeled with "T" and "R" for transmitting and receiving. Fun fact: they were swapped on my board
and as we will see later, that makes quiet a huge difference indeed.
First measurement was done on the Impedance of the transducers. To do so, I've used a RedPitaya in BodeAnalyzer mode and measured the frequency response from 1 kHz to 1 MHz. With a 1K resistor in series, the impedance was easily calculated from the measured response:
Measuring the impedance should show the frequencies at which the piezo inside the transducer works the best. As clearly visible, there are several resonance points, the most obvious been at around 330 kHz, followed by the peak at around 340 kHz. At those two frequencies, a series and parallel resonant circuit is formed (therefore biggest and lowest local impedance). One thing to take into account here, is that we will not only measure the response of the mechanical resonant circuit of the piezo, but all other components as well. For these transducers, it is well known, that they work at around 40 kHz. So it is obvious, that these two resonances are from electrical origin (capacitance formed by the two plates and inductance of the wires and stuff).
"Trap for young players[..]" - David L. Jones
So let's check the rest of the response. Below 100 kHz you can also see some thing going on:
In this plot I've measured the RX and TX transducers impedance to compare against each other. As we can clearly see, there are several spots, where the impedance is at a local minimum. The TX piezo hits the 40 kHz quiet well, where as the RX one is off by ~2 kHz. I actually don't know if this is due to fabrication variation, but since those resonances are quiet high Q, we can expect to lost a lot of sensitivity there.
Another thing that pops out is the fact, that the TX seems to have 3 resonance frequencies instead of the 2 from the RX piezo. This makes me wonder what the mechanical difference between RX and TX might be. I'm planing to open up the two transducers and have a look under the microscope.
One last test was done: The TX transducer was connected to the generator side of the bode analyzer, RX to the scope side (so correct orientation). Then I've faced the cones of the transducers to each other and taped them down to the table. Measuring the frequency response ones with this correct setup and then with RX and TX being swapped, shows the difference in the transmission path:
This test shows clearly, that - when connected as intended, we can achieve about 20 dB less path loss at 40 kHz. The test also shows, that the other resonance at ~58 kHz provides transmission as well. So if your HC-SR04 is performing poorly, it might be worth it, to check if the transducers are placed correctly.
So I hope this will help some of you. I am planing to throw some more content to this kind of stuff out in the next time - using these results as basics for circuit design.
This post should be more of a knowledge sharing thing than a perfectly fine concluded evaluation.
Please feel free to ask, share suggestions or correct me if I'm wrong.
Have a good time,
Tony