Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
spacejunk29
PostPosted: Jun 27, 2012 - 05:31 PM
Newbie


Joined: Jun 27, 2012
Posts: 3


I'm new to the forum and just looking for a simple circuit to convert a PWM signal from my controller to actuate a +12/-12VDC actuator valve.
 
 View user's profile Send private message  
Reply with quote Back to top
ka7ehk
PostPosted: Jun 27, 2012 - 06:17 PM
10k+ Postman


Joined: Nov 22, 2002
Posts: 12036
Location: Tangent, OR, USA

Two questions:

1) What do you mean by +12/-12VDC?

2) Why PWM for an actuator valve? Is it a proportional valve or is it an on/off valve?

Jim

_________________
Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA

"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
 
 View user's profile Send private message  
Reply with quote Back to top
bobgardner
PostPosted: Jun 27, 2012 - 07:47 PM
10k+ Postman


Joined: Sep 04, 2002
Posts: 21251
Location: Orlando Florida

http://ruggedcircuits.com/html/circuit__20.html shows how to go from pwm to 0-10V. I expect if you run the opamp from +-12V and change the gan and bias, you can get +-12V out of it.

_________________
Imagecraft compiler user
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
MBedder
PostPosted: Jun 27, 2012 - 08:03 PM
Raving lunatic


Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia

This must be quite a big opamp to drive the valve (and heat the universe), so most people prefer using the H-bridge driver instead Laughing

_________________
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
 
 View user's profile Send private message  
Reply with quote Back to top
bobgardner
PostPosted: Jun 27, 2012 - 08:13 PM
10k+ Postman


Joined: Sep 04, 2002
Posts: 21251
Location: Orlando Florida

If its a spool valve it might only draw 20ma, could be driven with one of those 1A opamps like an OPA859

_________________
Imagecraft compiler user
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
MBedder
PostPosted: Jun 27, 2012 - 09:07 PM
Raving lunatic


Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia

Could be. But shouldn't be Laughing

_________________
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
 
 View user's profile Send private message  
Reply with quote Back to top
spacejunk29
PostPosted: Jun 28, 2012 - 12:37 PM
Newbie


Joined: Jun 27, 2012
Posts: 3


I appreciate all the comments!

Jim -- the valve is an ON/OFF ball valve, +12V to open and -12V to close. I assumed there is an internal relay on the actuator to turn the motor on/off. The current is less than 1A.

I need to integrate the valve control to the main machine controller and the only option is PWM.

THANKS A LOT!
 
 View user's profile Send private message  
Reply with quote Back to top
Geronimo
PostPosted: Jun 28, 2012 - 02:24 PM
Hangaround


Joined: Dec 22, 2006
Posts: 300
Location: Odense, Denmark

I imagine that you have just two connections on your valve and that you need to apply the voltage in one direction to open it and in reverse to close it... Right? (See the attached image)

If this is in fact the case you could just use a simple H-bridge and a simple single-supply 12V to control the valve! There are plenty of 5V input compatible H-bridge ICs (I have used L6203 my self).
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
bobgardner
PostPosted: Jun 28, 2012 - 03:50 PM
10k+ Postman


Joined: Sep 04, 2002
Posts: 21251
Location: Orlando Florida

Two outputs and two mosfets.

_________________
Imagecraft compiler user
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
MBedder
PostPosted: Jun 28, 2012 - 04:00 PM
Raving lunatic


Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia

bobgardner wrote:
...and two mosfets.
...per output Laughing

_________________
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
 
 View user's profile Send private message  
Reply with quote Back to top
bobgardner
PostPosted: Jun 28, 2012 - 04:14 PM
10k+ Postman


Joined: Sep 04, 2002
Posts: 21251
Location: Orlando Florida

Seems like 'turn on A' or 'turn on B' one at a time just needs one mosfet per output?

_________________
Imagecraft compiler user
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
MBedder
PostPosted: Jun 28, 2012 - 04:20 PM
Raving lunatic


Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia

spacejunk29 wrote:
the valve is an ON/OFF ball valve, +12V to open and -12V to close. I assumed there is an internal relay on the actuator to turn the motor on/off.

_________________
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
 
 View user's profile Send private message  
Reply with quote Back to top
spacejunk29
PostPosted: Jun 28, 2012 - 06:31 PM
Newbie


Joined: Jun 27, 2012
Posts: 3


Thanks for all the suggestions! May be I will try the opamp option and see what happen.
 
 View user's profile Send private message  
Reply with quote Back to top
ka7ehk
PostPosted: Jun 28, 2012 - 07:03 PM
10k+ Postman


Joined: Nov 22, 2002
Posts: 12036
Location: Tangent, OR, USA

Full H-bridge would do it. You can the PWM it to make it variable.

One valve control wire goes to one H-bridge terminal and the other control wire goes to the other H-bridge terminal. Power the H-bridge from 12V.

Very few parts, pretty easy to do. Single supply. Not expensive (a reasonably good H-bridge with this kind of rating can be gotten for less than $5US). Direct drive from any micro.

Jim

_________________
Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA

"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
 
 View user's profile Send private message  
Reply with quote Back to top
MBedder
PostPosted: Jun 28, 2012 - 07:11 PM
Raving lunatic


Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia

spacejunk29 wrote:
Thanks for all the suggestions! May be I will try the opamp option and see what happen.
Don't! Just don't.

_________________
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
 
 View user's profile Send private message  
Reply with quote Back to top
ka7ehk
PostPosted: Jun 28, 2012 - 07:21 PM
10k+ Postman


Joined: Nov 22, 2002
Posts: 12036
Location: Tangent, OR, USA

Agree, finally, MBedder on this one.

An op-amp is UGLY. It takes two big supplies. It makes lots of heat. It is expensive. Lots of parts.

Its not good.

Jim

_________________
Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA

"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits