Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4

shge_4395051
Level 3
First solution authored 10 replies posted 10 questions asked
Level 3

Hello,

I'm using the PSOC 4200M.  I designed a circuit using an opamp in non-inverting mode.  The Gain resistors are off chip.  I noticed that as I increase the resistors past a gain of one, the gain appears to increase in a non-linear fashion.  I'm using large value resistors to keep the current low.  I am also using an Analog mux to switch in the feedback resistors.

My guess is the internal resistance to the AMUX is a function of current. Here are the resistor values I'm using:

Rin (negative terminal) = 1 M Ohm

Feedback resistors switched in (one at a time) =  1 M ohm,  2.49 M ohms, 7.2 Mohms

These values equate to gains of 2, 3.49 and 8.2.  However, the actual gains calculated from measuring the input and output voltages of the opamp are 2, 4.38 and 11.59 respectively.

Is there a function that describes this behavior? 

thanks

Shawn

0 Likes
1 Solution
odissey1
Level 9
First comment on KBA 1000 replies posted 750 replies posted
Level 9

Shawn,

Take a look at this thread,

Re: Trying to configure the OpAmp for Mode:OpAmp and Mode:Follower at run-time

For PSoC5LP Opamps are low impedance. PSoC 4 is likely to be similar. Try to use resistor divider of lower values (/10) .

/odissey1

View solution in original post

0 Likes
5 Replies
SampathS_11
Moderator
Moderator 5 questions asked First question asked 500 replies posted
Moderator

Hello Shawn,

Can you kindly describe the method you have used to compute the gain by measuring input and output voltages of the opamp?

Best regards,

Sampath Selvaraj

0 Likes
shge_4395051
Level 3
First solution authored 10 replies posted 10 questions asked
Level 3

To calculate the gain, I have constructed voltage followers using available opamps and send the output of these followers to output pins. The inputs are tied to the input and output of the main opamp.

0 Likes
odissey1
Level 9
First comment on KBA 1000 replies posted 750 replies posted
Level 9

Shawn,

I believe that PSoC Opamp has low Input impedance of about 1M, which is comparable to your external resistor values, resulting in higher gain than calculated one by standard equation (1+R2/R1). The AMUX impedance should be under 1k, probably unimportant here.

/odissey1

0 Likes
shge_4395051
Level 3
First solution authored 10 replies posted 10 questions asked
Level 3

That is a very low input resistance. Can you confirm if this is the case?

Have any other users complained of gain issues with opamps? Is there a best practices guide for setting up and using internal opamps?

Thank you

0 Likes
odissey1
Level 9
First comment on KBA 1000 replies posted 750 replies posted
Level 9

Shawn,

Take a look at this thread,

Re: Trying to configure the OpAmp for Mode:OpAmp and Mode:Follower at run-time

For PSoC5LP Opamps are low impedance. PSoC 4 is likely to be similar. Try to use resistor divider of lower values (/10) .

/odissey1

0 Likes