Design Article
Comment
Errand
tmb
I was wondering what the maximum frequency of such a circuit was. At some point ...
Microcontroller drives piezoelectric buzzer at high voltage
Mehmet Efe Ozbek, PhD, Atilim University, Ankara, Turkey
3/1/2012 11:00 AM EST
| Click here to download a PDF |
Piezoelectric buzzers find wide use
in embedded systems for audible-signal
generation. You can drive a piezoelectric
element directly from a microcontroller’s
I/O pins, but the
maximum voltage rating and
loudness of a piezoelectric
buzzer are typically several
times larger than the voltage
an I/O pin supplies. Using four
enhancement-mode MOSFETs
that connect in an H-bridge
configuration, the microcontroller
can drive the buzzer at a
high alternating voltage. The
gate terminals of the N-channel
transistors in the lower arms of
the bridge can connect directly
to the microcontroller’s I/O
pins. The voltage level on the
I/O pins is insufficient for
switching the P-channel transistors,
however.
The circuit in Figure 1 solves the
problem using a cross-coupled configuration.
The operation is as follows: The
microcontroller turns Q2 on and Q4 off
by applying high- and low-logic-level
voltages to I/O Pin 1 and I/O Pin 2,
respectively. The voltage on
Node A goes low, turning on
Q3. Node B is now 15V, which
is sufficient to keep Q1 off. The
voltage on the piezoelectric
buzzer is 15V. The microcontroller
then toggles I/O Pin 1
and I/O Pin 2, resulting in a
piezoelectric voltage of −15V
for an effective 30V p-p. These
cycles are repeated to generate
an alternating voltage with
the desired frequency. By using
MOSFETs with proper voltage
ratings, you can use higher supply
voltages that the piezoelectric
element can tolerate.Navigate to related information


anonymous user
3/10/2012 2:30 AM EST
Hi, I am a newbie with electronics, and I would like to try this circuit. Maybe someone here can recommend me any model for the MOSFET indicated there, the N-Channel and P-Channel, maybe any general purpose MOSFET for this circuit, that is easy to find. I was able to understand how the circuit works, thinking of the MOSFETS as normal BJT transistors :D Thanks!
Sign in to Reply
tmb
10/20/2012 11:11 PM EDT
I was wondering what the maximum frequency of such a circuit was. At some point I imagine shoot through current would become an issue. Could it manage a megahertz?
Sign in to Reply
Errand
1/18/2013 3:28 AM EST
This is a good idea.
Unluckily I think (and I experienced) the circuit could suffer of metastability problems.
Sign in to Reply