0
\$\begingroup\$

I'm trying to boost a 12V signal to around 100-120V using an opamp from a single 12V 5A supply voltage (gain of about 10). I can't seem to get it to work though. Right now I'm just trying to make a piezo element louder (with the final hopes of making a pump out of it).

I've tried 3 different opamps, but for the sake of simplicity, I'll just talk about one of them, the LM324 (For a pump, I assume I will need one that has a higher slew rate)

I'm trying to follow the non-inverting gain schematic from this PDF (section 2.1 on page 6).

Here's a list of everything in my circuit (a Fritzing image is below)

  • Arduino uno
  • 12V 5A power supply
  • Opamp (LM324)
  • Piezo element
  • Ceramic capacitor (100nF)
  • R1 = 1K ohm resistor
  • R2 = 10K ohm resistor
  • R3 = 10K ohm resistor
  • R4 = 10K ohm resistor

If the arduino pin just sends a high signal, when I measure the voltage coming out of the opamp, I get 11.01V from Vout. With R2 changed to 2K ohms, I get 10.9V.

If I change the adruino code to a modified blink example with the "delayMicroseconds" command in place of the "delay" one....

void setup() {
pinMode(3, OUTPUT); }

void loop() {
digitalWrite(3, HIGH); delayMicroseconds(800);

digitalWrite(3, LOW);
delayMicroseconds(800);}

... with a 10K resistor I measure 5.7V, and with a 2K one I get 10.8V.

Have I wired something up wrong, is the value of the capacitor not high enough, or am I demanding too much from this opamp?

enter image description here

\$\endgroup\$
0

2 Answers 2

2
\$\begingroup\$

You can't get more voltage out of an op-amp than it's supply voltage.

schematic

simulate this circuit – Schematic created using CircuitLab

You may consider the output stage of the opamp as a pair of transistors with their emitters connected to the output.

If Q1 turns on it pulls Vout towards V+. If, instead, Q2 turns on the output will be pulled towards V-. It should be clear from this that the maximum possible output voltage is V+ and minimum is V-. In practice most op-amps can't even manage this but some can and these are called "rail-to-rail" type but the pull-up and down are weak and can't drive much of a load.

\$\endgroup\$
2
  • \$\begingroup\$ Thanks for your answer, so the Arduino 5V signal is being amplified, not the V+/V- pins right? ... That makes more sense. I think I may have been given bad advice at an electronics shop that had me confused. \$\endgroup\$
    – Matty D
    Commented Mar 18, 2016 at 21:24
  • \$\begingroup\$ Your micro is feeding out a 5 V square-wave switching between 0 and +5 V. The op-amp is running off the same supply so you can't get any more that that from the op-amp. I haven't checked your op-amp circuit but if you fed, say, a 0.1 V square-wave to the op-amp then it would be possible to "amplify" (as in make greater) the signal by setting the ratio of the input and feedback resistors on the op-amp. \$\endgroup\$
    – Transistor
    Commented Mar 18, 2016 at 21:28
4
\$\begingroup\$

You are demanding too much from your power supply.

Op-amps aren't magic. All they do is to connect the output more or less strongly to the voltage rails depending on the strength of the input voltage.

So, to get 120V out of an opamp, you have to power it off of at least 120V.

But you CANNOT operate an opamp on that voltage. Most are only rated up to maybe 20V. The LM324 is only rated for up to 32V.

Also, please note that those voltage levels are dangerous. Do not try to operate this circuit by powering it from 120V. Given your skill level as indicated by the question you've had to ask, you don't have the skills to work with high voltages safely.

\$\endgroup\$
6
  • 1
    \$\begingroup\$ It should probably be noted that, for safety's sake, the OP learn more about how op-amps work and high voltage safety before they go and attach this circuit to mains voltage... \$\endgroup\$ Commented Mar 18, 2016 at 19:02
  • \$\begingroup\$ I thought that you could boost the voltage while sacrificing current.. I didn't think I was creating energy from nothing. \$\endgroup\$
    – Matty D
    Commented Mar 18, 2016 at 19:11
  • \$\begingroup\$ You can boost voltage at the cost of current. You need a boost regulator to do that. It is a completely different thing than an amplifier, though. An opamp reduced to its simplest form does what I said. In reality, it does it in a precisely controlled way that a simple MosFET can't match. Much like how a pocket calculator and your PC both use transistors, but are very much different in their abilities. \$\endgroup\$
    – JRE
    Commented Mar 18, 2016 at 19:16
  • \$\begingroup\$ This circuit is for a single supply DC... I wouldn't plug it directly into the wall. \$\endgroup\$
    – Matty D
    Commented Mar 18, 2016 at 19:18
  • \$\begingroup\$ Yeah, well. Given the low level of understanding in the question, I thought it best to take Brendan's suggestion to heart and explicitly tell you to not do something that has the potential to destroy the circuit or hurt or kill you. \$\endgroup\$
    – JRE
    Commented Mar 18, 2016 at 19:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.