Problem with D to A converter for DC motor drive.

Thread Starter

lam58

Joined Jan 3, 2014
69
I'm trying to design a digital to analogue converter and voltage controller for a DC motor to be driven by an arduino (pictured below). For the D to A converter (summing amp) I'm using a 741 op-amp, the issue is I can only use a 6V battery for the VCC rail voltages on the op amp. However, the arduino supplies 5v per output and I have 6 outputs from the arduino, hence if more than one output is used the op amp saturates/doesn't work how I want it to. I tried adding a voltage divider to reduce the signal voltage into the positive terminal of the op amp however it still saturates. Does anyone have any hints to help me get over this issue. I can only use the equipment I have quoted.
 

Attachments

ericgibbs

Joined Jan 29, 2010
18,766
hi lam,
I have run your DAC in LTSpice , you do not require the 14/1k divider on the input to the 741, it gives a +5Vout when all the 6 Inputs are High and 0Vout when all inputs are Low

I suspect that your problem is the power output OPA supplies are 'floating' ie: there is no Common connection between the two OPA's.

E.
If you want to see the simulation, ask.:)
 

Thread Starter

lam58

Joined Jan 3, 2014
69
hi lam,
I have run your DAC in LTSpice , you do not require the 14/1k divider on the input to the 741, it gives a +5Vout when all the 6 Inputs are High and 0Vout when all inputs are Low

I suspect that your problem is the power output OPA supplies are 'floating' ie: there is no Common connection between the two OPA's.

E.
If you want to see the simulation, ask.:)
Yeah, could you show the simulation it would be much appreciated. :D
 

ericgibbs

Joined Jan 29, 2010
18,766
hi,
The first image is 'raw', the different value resistors are applying a different load to the 4024 counter used as a digital source, so there are unwanted 'steps' in the Vout.

eg: the 1K resistor loads the PIC pin more than say the 16K pin, so the PIC pin input drive voltage will be lower for the 1K, 2K etc,, do you follow that.?

The second image I have added some loading on the digital inputs in order to show the problem you may encounter when using the arduino , ie: unequal pin loading.

E
 

Attachments

Thread Starter

lam58

Joined Jan 3, 2014
69
hi,
The first image is 'raw', the different value resistors are applying a different load to the 4024 counter used as a digital source, so there are unwanted 'steps' in the Vout.

eg: the 1K resistor loads the PIC pin more than say the 16K pin, so the PIC pin input drive voltage will be lower for the 1K, 2K etc,, do you follow that.?

The second image I have added some loading on the digital inputs in order to show the problem you may encounter when using the arduino , ie: unequal pin loading.

E
Thanks I'm re-testing again today, let you know how it goes. :)
 
Top