Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 30, 2024, 04:39:39 04:39


Login with username, password and session length


Pages: [1]
Print
Author Topic: Voltage level converter circuit  (Read 3231 times)
0 Members and 1 Guest are viewing this topic.
tronicgr
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 3
-Receive: 5


« on: February 26, 2008, 01:08:25 13:08 »

Hi to all,

I'm trying to design a simple circuit that converts 0 - 5volts analog to a range of -11volt to +11volt.

I need this voltage level conversion to interface my AVR that outputs 0-5v PWM (with RC filter) to a AC motor controller that need the -11volt to +11 volts signals to position large motors... (-11volts is one direction, 0volts is center, +11volts is the other direction and in my AVR the signals are 0volts one direction, 2.5volts center, 5volts the other direction...)

I know that it can be done with a opamp but can't find such ready circuit around.

Any suggestions?

Regards, Thanos
Greece, Athens
Logged
titi
Active Member
***
Offline Offline

Posts: 230

Thank You
-Given: 3807
-Receive: 834



« Reply #1 on: February 26, 2008, 06:47:06 18:47 »

Hello,

For your voltage converter circuit, you need to make with LM358 or other Operational Amplifier, a substractor of 2.5v with a gain of 4.4.
If you have 5v, it is easy to have 2.5v, between GND and 5v, you put 2 resistors in serial by example 4.7k at the middle you have 2.5v
you make Vout=(Vin-2.5)*4.4
Example:
Vin=0    => (0-2.5)*4.4=-11v
Vin=2.5 => (2.5-2.5)*4.4=0v
Vin=5v  => (5-2.5)*4.4=+11v

To have +11v -11v, you need LM358 supply with +15v -15v.
This small drawing explain that better.

Best regards.
Logged
tronicgr
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 3
-Receive: 5


« Reply #2 on: February 27, 2008, 09:31:23 09:31 »

Hi Titi,

I don't understand how to apply the 4.4 gain...

I'll try to assemble a test circuit on a breadboard following your instructions. Too bad I can't see yet your drawing.

Best Regards, Thanos
Greece, Athens
Logged
xfx7950
Guest
« Reply #3 on: February 27, 2008, 01:52:11 13:52 »

me too
Logged
kang2008
Guest
« Reply #4 on: February 27, 2008, 03:45:28 15:45 »

upload schematic test ok.

Posted on: February 27, 2008, 04:29:11 16:29 - Automerged

8.2k/1.8k = 4.55 gain
Vout=(Vin-2.5)*4.55
Example:
Vin=0    => (0-2.5)*4.55-11.375v
Vin=2.5 => (2.5-2.5)*4.55=0v
Vin=5v  => (5-2.5)*4.55=+11.375v

or

8k/1.8k = 4.44 gain
Vout=(Vin-2.5)*4.44
Example:
Vin=0    => (0-2.5)*4.44=-11.1v
Vin=2.5 => (2.5-2.5)*4.44=0v
Vin=5v  => (5-2.5)*4.44=+11.1v



Posted on: February 27, 2008, 04:42:50 16:42 - Automerged

 Grin Grin i am a korea deaf you have know mathematics.
Logged
titi
Active Member
***
Offline Offline

Posts: 230

Thank You
-Given: 3807
-Receive: 834



« Reply #5 on: February 27, 2008, 05:35:14 17:35 »

Hello Tronic and xfx7950,

if you cannot see the picture, it is because, you are new on sonsivri, and to have access to the link, you need have 7 posts.
(See the rules)

This is a link to download the small drawing. 

h**p://rapidshare.com/files/95400020/VoltageLevelConverterCircuit.gif

(Replace ** with tt) if i put the full link you could not see it (need 7 posts).

Best regards.
« Last Edit: February 27, 2008, 05:38:21 17:38 by titi » Logged
tronicgr
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 3
-Receive: 5


« Reply #6 on: February 29, 2008, 03:45:47 15:45 »

Hi,

I can understand the second part of the schematic is the LM358, butI can't figure what is the first part on the schematic... Is it a comparator?

Regards, Thanos
Logged
titi
Active Member
***
Offline Offline

Posts: 230

Thank You
-Given: 3807
-Receive: 834



« Reply #7 on: February 29, 2008, 04:24:37 16:24 »

Hello,

The first part of the schematic is a follower, this is for generate a 2.5v with low impedance, and after you subtract the 2.5v with the second part of schematic (the substracter).
If you connect directly the middle of the two 4.7k to the substractor you don't have 2.5v because the current go into 1.8k.
An other solution is to use a ref diode like LM385 2.5v or TL431 to make 2.5v with low impedance and connect the ref diode directly on the 1.8k (more expensive).

The substract make ((voltage on 1.8k pin +) - (voltage on 1.8k pin -)) * (8.2k/1.8k)
If you make (voltage on 1.8k pin +) varies between 0 and 5v you have Vout varies between  -11.3v to +11.3v.


Best regards.   
Logged
kang2008
Guest
« Reply #8 on: March 01, 2008, 12:35:44 00:35 »

titi~  Grin this error 's schematic of 2.5 opamp. i have a schematic test ok
Logged
titi
Active Member
***
Offline Offline

Posts: 230

Thank You
-Given: 3807
-Receive: 834



« Reply #9 on: March 01, 2008, 01:29:05 13:29 »

Hello,

the schematic modified by kang2008 is not good.

The first opamp need have the feedback on pin "-" and the input on pin "+".

The first stage is a voltage follower circuit with gain of 1.

Regards.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC