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 CCS Technical Support

how to get a constant Voltage
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Sid2286



Joined: 12 Aug 2010
Posts: 119

View user's profile Send private message

PostPosted: Wed Aug 24, 2011 10:30 am     Reply with quote

Sorry my mistake. R6 is 10R and not 10k. What should be the circuit to get the stable Tp1 and Tp2 irrespective of load resistance?
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Wed Aug 24, 2011 12:22 pm     Reply with quote

Tp1 and Tp2 should both move. Tp1-Tp1 should be stable, as should be U1 pin 1.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Sid2286



Joined: 12 Aug 2010
Posts: 119

View user's profile Send private message

PostPosted: Wed Aug 24, 2011 6:12 pm     Reply with quote

Thanks for the reply! With change in load both the Tp1 and Tp2 are changing along with Tp1-TP2, what should be the necessary changes to have it stable?
Ttelmah



Joined: 11 Mar 2010
Posts: 20159

View user's profile Send private message

PostPosted: Thu Aug 25, 2011 1:59 am     Reply with quote

TP1 - TP2, _should_ already be stable. If it is not, then there is possibly a problem with the 4-20mA driver circuit. As already said, the whole 'point' of a 4-20mA analog loop like this is that provided the total loop resistance is within the range that the driver can feed, the current in the loop should remain constant, and hence the voltage across a resistor will also be constant.
However I have to raise again, my comment about the common mode input range of the op-amp. If you are measuring TP1-TP2 using the circuit as given, it'll only work in the following cases:
1) The 4-20mA source is fully floating relative to the supply for the PIC circuit.
2) The input range of the OP-AMP, will need to be able to go below the Vss rail of the PIC. Remember the only point in the circuit that is connected to ground, is the divider resistor on the +ve input of the op-amp. So TP1, is going to go -ve of ground.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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