Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 9th January 2008, 08:31 PM   (permalink)
Default

Quote:
Originally Posted by Roff
One schematic is worth several words.
Yep! - but I was at work and didn't have time for drawing pictures!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 9th January 2008, 08:40 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
Yep! - but I was at work and didn't have time for drawing pictures!
Work! I'm retired, vegging out in front of my computer, slowly going broke.
__________________
Ron

Roff is offline   Reply With Quote
Old 9th January 2008, 08:44 PM   (permalink)
Default

Quote:
Originally Posted by Roff
Work! I'm retired, vegging out in front of my computer, slowly going broke.
With the price of petrol now £103.9 per litre, you can go bust working over here!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 9th January 2008, 10:17 PM   (permalink)
Default

Quote:
I just realized the signal levels in the first schematic I posted are half what is require
Actually, no it wasn't. If vout- is -5 and vout+ is +5, the net is +10 and vice versa. It was right.

Quote:
When PWM=0, +out=-5, -out=+5. If you want them to both be zero,
which I do
Quote:
you have to somehow distinguish between a valid zero volts and an invalid zero volts.
which i don't know how to do.

Quote:
Now, if PWM=0 and vcc=0, the outputs will both be zero. So, if you can guarantee that the PWM is always valid when vcc is on, you're OK, except maybe during the vcc transition.
The transistion is a problem, it causes the motor to jump, b/c it sees the 5V prior to the pwm. so what i can try is the 5V from an output pin.
jnnewton is offline   Reply With Quote
Old 9th January 2008, 10:47 PM   (permalink)
Default

Quote:
Originally Posted by jnnewton
Actually, no it wasn't. If vout- is -5 and vout+ is +5, the net is +10 and vice versa. It was right.

which I do which i don't know how to do.



The transistion is a problem, it causes the motor to jump, b/c it sees the 5V prior to the pwm. so what i can try is the 5V from an output pin.
That might work. If you are lowpass filtering the PWM prior to going to the op amp, you should put the same filter on +5V. If you are not filtering the PWM, you will need to pay attention to op amp bandwidth and slew rate.
__________________
Ron

Roff is offline   Reply With Quote
Old 9th January 2008, 10:53 PM   (permalink)
Default

Quote:
That might work. If you are lowpass filtering the PWM prior to going to the op amp, you should put the same filter on +5V. If you are not filtering the PWM, you will need to pay attention to op amp bandwidth and slew rate.
Yes, i am lp filtering the pwm, i do this in order to get the "analog" signal. For the sake of my education, why should i put the same filter on the +5?
jnnewton is offline   Reply With Quote
Old 10th January 2008, 12:30 AM   (permalink)
Default

Quote:
Originally Posted by jnnewton
Yes, i am lp filtering the pwm, i do this in order to get the "analog" signal. For the sake of my education, why should i put the same filter on the +5?
Filters have delay. Unless you put the same delay in the +5 path, your motor will jump on power up.
Actually, a better solution might be as below. Hold both inputs at zero until you want the motor to start.
You can alternately use 5V without PWM on the other input, as you suggested. Filter it identically to the PWM.
If the motor still twitches, we should be able to come up with an enable. You would need to post a fairly complete schematic.

EDIT: Oops, this still has +/-10V outputs .
Attached Images
File Type: png single-ended to diff sch1.PNG (17.1 KB, 7 views)
__________________
Ron

Roff is offline   Reply With Quote
Old 16th January 2008, 03:19 AM   (permalink)
Default

Hi all,

I built the attached circuit, but can only get the outputs to swing from 4.9 V to -2.47 V (approximately) and need them to go from -5 to 5. This will give me the 0-10V i need. What do you think could be the issue. Also, by using the complement of the pwm output, the motor doesn't jump at startup. Also at the point where the differential signal is 0 V, the two outputs show 1.14V with respect to ground. Shouldn't this be zero with the circuit I have? Finally the -12 V bus generated with the switched capacitor is only giving 10.08 V when on, can anyone suggest a different setup to get a little more margin for the differential op amp?
Attached Images
File Type: gif PWM Circuit.gif (19.4 KB, 3 views)
jnnewton is offline   Reply With Quote
Old 16th January 2008, 05:24 AM   (permalink)
Default

The input voltage of the MCP602 can only handle (Vcc-1.2) on the high side. The output swings (almost) rail-to-rail, with no load. You have a very heavy load on both amplifiers, so the output swing will be reduced.
You don't need that high-speed diff amp. Why don't you do it like this?
TL074 is 4 op amps in one package. I show power supply pins on each amplifier, but this is just for simulation purposes.
Attached Images
File Type: png PWM amp.PNG (31.7 KB, 1 views)
Attached Files
File Type: asc PWM amp.asc (3.9 KB, 0 views)
__________________
Ron

Roff is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
The Oscilloscope ElectroMaster Electronic Theory 12 3rd February 2008 01:45 PM
Using Oscilloscopes mechie Electronic Theory 9 29th November 2007 09:48 PM
Anybody got information on line driving a c-sync signal? FusionITR General Electronics Chat 8 15th April 2006 04:16 PM
Differential transformer how to measure this signal sardineta Electronic Projects Design/Ideas/Reviews 18 7th October 2004 02:30 PM
ground referencing a differential input signal giaracam Electronic Projects Design/Ideas/Reviews 2 22nd September 2004 12:41 PM



All times are GMT. The time now is 06:52 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.