I have a piezoelectric disc, and I’m trying to use to build a primitive sonar. I connected the disc to an oscilloscope and if I press very hard on the disc, I see that the voltage can spike pretty high. I’m not sure how much current there is.
In an application with a piezoelectric device, should I use a voltage regulator on the output of the piezo, and would that protect my circuit on the other side? I want to connect it to an ATTiny85 without frying the chip.voltage-regulatorattinypiezoattiny85shareedit follow flag asked 2 days agomj_32522 silver badges77 bronze badges
- 5No, you wouldn’t use a voltage regulator you’d use a series current limiting resistor. – Andy aka 2 days ago
- 2If you want to transmit a SONAR pulse to get the piezo to ring strong, you want to have a HV transistor to drive it high then open and ring then clamp shut to 0V to discharge the energy fast (blanking) pulse then the Rx echos can be measured except for the tbd xxx ns or us delay time to stop transmitting the ringing pulse. So adding a series resistor makes that less sensitive for the transmission pulse. otherwise a step up pulse transformer can be attempted for Tx with a high side PNP current source then an NPN clamp clamp to gnd with a small deadtime using a half bridge BJT driver. – Tony Stewart Sunnyskyguy EE75 2 days ago
- 1If you define your design specs in good detail and any component spec links, then a good answer is possible – Tony Stewart Sunnyskyguy EE75 2 days ago
- @mj_, the usual quick and dirty trick is to use a zener diode. But I found that zener is not very effective. – tlfong01 2 days ago
- You might like to read my measurement of piezo spike with and without the protective zener: “Piezo sensor to pick up acoustic instrument signal using Rpi and ADC Asked 1 year ago Active 1 year ago Viewed 569 times”: raspberrypi.stackexchange.com/questions/103868/…. Cheers. – tlfong01 2 days ago
How to protecting circuit from piezoelectric disc voltage spike
The voltage spike might be as high as 30V. You can use a zener to clamp the spike, and NTC inrush current supressor to limit current. See appendices below for more details.
(1) It is not absolutely necessary to use the ICL (Inrush Current Limiter) NTC thermister to suppress the inrush current. An alternative is to use a series current limiting resistor, say 300Ω. However the NTC-5D7 with only 5Ω resistance should have a better performance.
(2) It is not absolute necessary to use the SPI 12bit single channel ADC MCP3201. The Arduino’s GPIO pin with 10 bit rseolution should be OK to do the preliminary testing. For highly sensitive applications, higher resolution ADC, 16-bit, 24-bit can be used.
The MCP3201 is chosen for the following reasone: (a) Single channel MCP3201 is easier to learn and program than the though much more popular 8 channel 10 bit MCP3008. (b) I have written a tutorial and a fully debugged python demo program for MCP3208. So those not using Arduino, eg, Rpi, BBC Micro-ibt, Cortex M0 etc can use micro python or circuit python to run my demo program, with little program modifications.
/ to continue, …
(A) Characteristic of the piezo pickup used in this answer
(B) Piezo pickup interface schematic
(C) Display of spike waveform of piezo with and without Zener diode protection
(D) Electromagnetic Buzzer Back EMF flyback voltage and current spike experiment
(E) Scope screen capture of Back EMF voltage spike
(F) NTC Thermistor as ICL (Inrush Current Limiter) Notes
Appendix A – Characteristics of piezo poickup used in this experiment
Resonant frequency: ***4.6 +/- 0.5 KHz*** Resonant impedance (ohms): ***300Ω max*** Plate material: Brass For: Acoustic Instrument Pickups, Stomp Boxes, Contact Mics, etc...
Appendix B – Piezo pickup interface schematic
Errata and apology
My previous schematic has a typo error. The parallel resistor should read 1MΩ. Many thanks to @tomnexus for point out my silly mistake.
Appendix C – Voltage spike waveform display with and without Zener protection
Appendix D – Detecting (Electromagnetic Buzzer) flyback voltage and current spike experiment
Appendix E – Buzzer Back EMF 30Vpp 100 ns Spike Wavelet Selfie
The voltage spike can be as scary high as 30Vpp, But the duration is small 100nS. If the human finger lightly taps/knocks the piezo disc, the mechanical energy transferred to the piezo disk should be of the same order of the 5V electromagnetic buzzer’s little hammer hitting the bouncing steel spring bar. It is tedious to use my scope’s one shot trigger to display my tapping of the disc. So I used the buzzer to display the repeatedly back EMF voltage spike. I did use my scope to zoom in the spike and found her a pretty little wavlet, so I took a selfie picture for her.
Warning to the OP:
(1) But if you are using a big hammer to hit a big disc which is part of a percussion musical instrument, then the spike might be as ridiculous high as 1000+ volts! and for pretty sure fry your ATTiny85.
(2) Me only a friendly electronics hobbyist. No guarantee no nothing won’t melt down or blow up, or electrocute a cat.
Appendix F – NTC Thermistor as In Rush Current Suppressor
Inrush current suppressors and surge limiters are types of series connected thermistor whose resistance drops to a very low value as it is heated by the load current passing through it. At the initial turn-on, the thermistors cold resistance value (its base resistance) is fairly high controlling the initial inrush current to the load.
As a result of the load current, the thermistor heats up and reduces its resistance relatively slowly to the point were the power dissipated across it is sufficient to maintain its low resistance value with most of the applied voltage developed across the load.
Due to the thermal inertia of its mass, this heating effect takes a few seconds during which the load current increases gradually rather than instantaneously, so any high inrush current is restricted and the power it draws reduces accordingly. Because of this thermal action, inrush current suppression thermistors can therefore operate very hot in their low-resistive state. As such require a cool-down or recovery period once power is removed thus allowing the resistance of the NTC thermistor to recover sufficiently ready for the next time it is needed.
The speed of response of a current limiting thermistor is given by its time constant. That is, the time taken for its resistance to change by by 63% (i.e. 1 to 1/ε) of the total change. For example, suppose the ambient temperature changes from 0 to 100oC, then the 63% time constant would be the time taken for the thermistor to have a resistive value at 63oC.
NTC thermistors provide protection from undesirably high inrush currents, while their resistance remains negligibly low during continuous operation supplying power to the load. The advantage here is that they able to effectively handle much higher inrush currents than standard fixed current limiting resistors with the same power consumption.
- 3Could you please, please try to post straightforward answers that simply make your point without all this division into less relevant appendicies and links? – Chris Stratton 2 days ago
- 2Uh, mΩ≠MΩmΩ≠MΩ – tomnexus 2 days ago
- 1@tomnexus, Many thank for pointing out my silly mistake. My apologies for any confusion caused. Cheers. – tlfong01 2 days ago
- 3I’m affraid you misunderstood the reason for NTC in that inrush limiting circuit. There is absolutely no point to have it like you suggested. You can put there simple resistor and you will get the same result: a low pass filter. – Chupacabras 2 days ago
- @Chupacabras, Many thanks for pointing out my possibly misuse of NTC. Actually I am not very sure if my suggestion is correct. My reason for using NTC is summarized below. (1) If using a, say 300R can limit the inrush current (perhaps inappropriate to use the term “inrush” here). The use of NTC with much bigger resistance than 300R, and later 5R, should be better. I did hesitate to use NTC, because I have not checked the response timing of NTC. (2) I would appreciate it if you can kindly advise why NTC should not be used here. Many thanks again. Cheers. – tlfong01 2 days ago
- 3-1 suggesting an NTC is absurd, even your own graph shows it inapplicable – or do you actually not understand that a piezo is not a DC power supply?. Again, please try to keep your answers on target to an actual solution, this habitual wandering into wild tangents just confuses any point you might be trying to make. – Chris Stratton yesterday
- 1@tlfong01 question about the 1M resistor/zener circuit in practice. It was my understanding that electricity takes the path of least resistance. If you put in a 1M ohm resistor there and there is another option that the electricity flows to my ATTiny85 which I think has an impedence of 250ohms, won’t the electricity try to bypass the 1Mohm resistor and try to go to ground through the ATTiny? – mj_ yesterday
- 1@tlfong01 No, we are not solving inrush current here! – Chupacabras yesterday
- @mj_, Well, current might not be the main problem. It is the huge voltage spike, over 1,000 volts if you have a big hammer, that causes a heart attack (latching up) and subsequent collapse (avalanche) of the poor Tiny little guy. – tlfong01 yesterday
- @Chupacabras, yes I very much agree with you, so I said NTC is not appropriate. But my problem is the following: (1) I only have a hammer, so I tend to see everything a nail. (2) Now suppose I see a screw and I need to drive the screw into a piece of wood, and of course I need a scree driver to do the job. But I have lost my screw driver!. (3) So I use my hammer and hit hard to drive/push/squeeze the screw down. (4) I am a “beWater” electronics hobbyist, I don’t care the hammer is called a hammer, or originally for, I only care if the job can be done in time and effectively. – tlfong01 yesterday
Please post a circuit when asking questions. A parallel resistor with a proper value is what you need. The current isn’t high. The first circuit is with Arduino. The second circuit is recommended.
The circuit shows a 1MR resistor.
More complex option:
You can always use a standard sonar sensor, but they are expensive.
Sources: http://www.learningaboutelectronics.com/Articles/Piezo-knock-sensor-circuit.php http://www.robotoid.com/appnotes/sensors-piezo-disc-touch-bar.html https://www.homemade-circuits.com/simplest-piezo-driver-circuit-explained/ https://www.homemade-circuits.com/diy-contact-mic-circuit/shareedit follow flagedited 2 days agoanswered 2 days agoCFCBazar com44811 silver badge88 bronze badges
- 1Parallel? No. Questions on Stack Exchange sites must have stand-alone value, they cannot rely on links for the entirety of any accurate content. – Chris Stratton 2 days ago