×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to vary Capacitance using a variable resistor

How to vary Capacitance using a variable resistor

How to vary Capacitance using a variable resistor

(OP)
I have to adjust the integral gain of a PID controller. One would normally use a capacitor decade box externally and select the optimum capacitor value for stable operation and solder that value ultimately.

In my case, I have to use a microcontroller to automatically tune and stabilise the system. I can only use digital potentiometers for changing the Capacitance value.

Any ideas ?

RE: How to vary Capacitance using a variable resistor

I guess when I designed a PID controller, I varied the resistance instead. I suppose you need an analog type of selection? In other words, you can't pick 4-5 cap values and use these. This would make tweeking extremely difficult. If you wanted to use the same cap box then you could select them using a switch with serial comm's. Another option (expensive and ugly) is to use a stepper  motor to physically turn the variable cap. This is not desirable if this is a production design. Good luck.


RE: How to vary Capacitance using a variable resistor

Hi, the simplest way to achieve this is to let the micro do integration.An intergrator is basicaly just a counter with is updated every time interval by an amount proprtional to the signal size and polarity.

RE: How to vary Capacitance using a variable resistor

(OP)
Thank you guys

Varacter diodes I ruled out because of too low a capacitance value

With analog switches I can only select a range but i can't continuosly vary the integral gain within that range.

I had long ago built a capacitance multiplier. The miller capacitance effect which is normally a nuisance, was effectively used in that circuit and was multipied by an op-amp. I built a PI controller using that and it worked beautifully. I could simulate high capacitance values using smaller value capacitors and vary the value with a pot.

I do not have that circuit with me. Any body who has done similar things ?

kps

RE: How to vary Capacitance using a variable resistor

Hi KPS:

There is a simple controlled cap circuit which can reduce
the effective value of C from the nominal:

The value of C = max. required. Uses 2 VF Voltage followers
Wire list (one node per line):

Input --- C.1 --- VF1 inp
Potmeter.hi --- VF1 outp.
Pot.low --- gnd
pot.wiper---VF2 input
VF2 output --- C.2
--------------------------------------

Op-amp integrator can be adjusted in wide range

Digital control is simple and cheap. NEC gives away
development SW.

<nbucska@pcperipherals.com>

RE: How to vary Capacitance using a variable resistor

(OP)
Thank you Laffalot (by the way, is that your name or you Laugh_a_lot ?) I could download those pdfs. The variable capacitance multiplier of lm310.pdf may be just the thing I was looking for. I hope Capacitor C1 could be treated as a floating capacitor and included in the feedback circuit of the PI regulator op-amp.

Thank you nbucska.
For certain reasons I am not supposed to use digital control. The controller part of it has to be purely analog. But I am allowed to set all the parameters of the analog controller using digital pots. The microcontroller is used to change these pot settings under software control.

In a simple PI controller with one resistor and one capacitor in the feedback path, the resistor is varied to vary the P-Gain and the capacitor is varied to vary the integrating time. That is the reason why I was looking for a circuit idea which would enable me to vary the capacitance value with a pot.

I am also interested in PID controller circuits with multiple op-amps where each parameter can be independently varied without any interaction with other parameter.

Thank you guys for being so helpful.

KPS

RE: How to vary Capacitance using a variable resistor

Variactors come in verity of sizes, I have used them for control circuits successfuly in the past.
I usually have a main capacitor and have one or two or many parallel variactors with it and can control the overall value of the cap with a D/A converter connected to the variactors.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources