Author Topic: Op Amp Problems  (Read 3335 times)

0 Members and 1 Guest are viewing this topic.

Offline metaphysics1221Topic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Op Amp Problems
« on: May 04, 2009, 05:42:21 PM »
Ok, I've discovered the problem behind my H-bridge, I needed a higher voltage than the 4-5V from the micro controller on the MOSFET pins. My solution was to make an op amp circuit for each signal line and increase the signal to 18V.

However, nothing seems to be working. This is the circuit I've wired for a non-inverting amplifier:



This is the data sheet for that op amp:
http://www.datasheetcatalog.com/datasheets_pdf/M/C/4/5/MC4558.shtml

I've been wiring a multimeter between the output pin and the common ground to try and measure the voltage increase. However, my readings don't make sense; they usually hover around 6V and don't change when I take off the power supply, so the power seems to be reading something coming from the signal source.

What am I doing wrong???

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Op Amp Problems
« Reply #1 on: May 04, 2009, 06:13:22 PM »
My suggestion for this would be a solid-state relay for this application (maybe multiple ones as needed).
Kurt

Offline metaphysics1221Topic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Re: Op Amp Problems
« Reply #2 on: May 04, 2009, 06:19:02 PM »
I thought about that, but size is really a limitation. This is for an underwater robot, and my pressure hull is very small. In addition, I have a pretty short budget and 4-5 motors that would need individual control, both forward and back.

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Op Amp Problems
« Reply #3 on: May 05, 2009, 11:16:18 AM »
What kind of Driver are you using for the motors?
Kurt

Offline aludra_55

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Re: Op Amp Problems
« Reply #4 on: May 05, 2009, 02:23:49 PM »
It seems that your op-amp circuit is okay, but op-amp integration can be tricky.  You might need a virtual ground.  But anyway, could you post a picture of your entire circuit or describe your whole setup so that we have a better idea? 

Offline metaphysics1221Topic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Re: Op Amp Problems
« Reply #5 on: May 07, 2009, 09:46:52 PM »
I've decided to go with a more direct control method for now, the circuitry required to make this work is just too space consuming and difficult to integrate into my robot.

While solid state relays are, I think, too expensive for this application (I'm thinking about future designs here) what do you think of regular old electro-mechanical relays? Could one be switched on and off with 5V but still regulate up to 10A ?

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,666
  • Helpful? 169
    • Society of Robots
Re: Op Amp Problems
« Reply #6 on: May 29, 2009, 01:33:13 PM »
Quote
Could one be switched on and off with 5V but still regulate up to 10A ?
Yea, but you can forget about PWM . . .

Offline guru

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 1
  • Robotics, CNC, Electronics, Programming
Re: Op Amp Problems
« Reply #7 on: June 08, 2009, 07:21:21 AM »
I don't understand, why not simply use some a transistor to drive the MOSFET input to 18v? You may need two to drive it "totem pole" style.

The opamp should have worked, albeit part-count overkill, if it was generating the proper voltage on the output. Can you confirm there is no short or something on the mosfet input circuit that is overriding any input?

If you use relays won't you have to add transistors to drive them anyway? ..and the post about PWM with relays is right, not possible. You'd basically only be able to drive the motor full forward or full reverse, no speed control.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Op Amp Problems
« Reply #8 on: June 08, 2009, 11:36:50 AM »
Hi,


Relays combined with PWM does make it simpler:

(Preliminary illo from an upcoming (e?)book)

Here it is without the annoying resize:
http://That.Homepage.dk/Img/Relay+PWM.png
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline guru

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 1
  • Robotics, CNC, Electronics, Programming
Re: Op Amp Problems
« Reply #9 on: June 08, 2009, 02:02:12 PM »
Well, that makes sense. But I got the impression "metaphysics" was going to use small relays to control the H-bridge mosfets.


Relays combined with PWM does make it simpler:

 


Get Your Ad Here