CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Lm324 offset my input voltage by appx 0.05v

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kein



Joined: 23 Jul 2007
Posts: 103

View user's profile Send private message

Lm324 offset my input voltage by appx 0.05v
PostPosted: Sun Sep 02, 2007 11:34 pm     Reply with quote

I'm connecting the output of adxl330 accelerometer to lm324 input unity gain configuration non-inverting mode. This is to reduce the impedance of 32k inorder to improve PIC 16f877a internal adc(capacitor) charge up time.
By doing so, my zeroG values goes up by approx. 0.05v.
What is happening?
any help, any other OPAM recommendation.
Thanks
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Mon Sep 03, 2007 1:39 am     Reply with quote

Hi Kein,
You have to adjust offset of LM324 with trimmer to have 0 volt in output or change it with one lower offset. In any case you can set sero by software to calibrate analog scale.

Regards,
Fabri
Ttelmah
Guest







PostPosted: Mon Sep 03, 2007 2:23 am     Reply with quote

You may though be able to get closer without adjustment.
What is the impedance of the accelerometer source at the input pin (resistors in line etc.)?. What are the accuracies of your resistors?.
The offset voltage of op-amps, generally gets noticeably worse, if the impedances feeding the two inputs are not a reasonably close match.

Best Wishes
kein



Joined: 23 Jul 2007
Posts: 103

View user's profile Send private message

Resistors
PostPosted: Mon Sep 03, 2007 3:43 am     Reply with quote

the x,y z impedances are 32k each. These are fed into lm324 +input pins while -inputs are shorted to the output pins by wires. No resistors have been used here.

My vref and Vs(supply voltage) of adxl330 are derived from a voltage regulator max667cpa configured for voltage adjustment giving 3.04v. A resistor value of 1M and 1.5M have been used to adjust the voltage to 3.04v.
Thanks
Ttelmah
Guest







PostPosted: Mon Sep 03, 2007 5:16 am     Reply with quote

Put a 33K resistor in the feedback, instead of the direct connection then. It may improve things a little.

Best Wishes
kein



Joined: 23 Jul 2007
Posts: 103

View user's profile Send private message

Thanks
PostPosted: Mon Sep 03, 2007 5:35 am     Reply with quote

I'll try that tomorrow. Cheers
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group