Electronics-Lab.com Community

# Capacitor charging

## Recommended Posts

When using a small value capacitor, a nonlinear situation exists. The signal quickly charges the capacitor. This creates DC charging for each value of the signal and makes it follow the capacitor charging function. Does anybody follow? Ideally, you want all of the signal without the nonlinear function of the charging capacitor.

##### Share on other sites

Kevin,
Connect a resistor in series with a capacitor, so that the resistor can charge and discharge the capacitor. Connect a signal to the resistor. You now have a linear low-pass filter, with its output across the capacitor.
It doesn't matter that the capacitor charging is exponential instead of linear, unless you need a linear triangle wave or sawtooth.
If you feed the low-pass filter with a pure sine wave, then the output will be just as pure (very linear) as the input, except at high frequencies when its output level is reduced and is purer (less distortion and even more linear).

##### Share on other sites

You will notice that even a triangle wave is based on the charging curve.

##### Share on other sites

Are you asking how does a coupling capacitor work between two stages of an amplifier?
How is it able to pass the alternating wave through it ?

##### Share on other sites

audioguru,

Excuse me, can a triangle wave be linear?

Ante ::)

##### Share on other sites

Ante,
A triangle wave can be extremely linear if you use an integrator that is made from an opamp that has a voltage-gain of 100,000 or more, and use a low frequency.
Of course the linearity drops at higher frequencies.
Gross linearity error can be seen as a departure from a straight line on a scope.

##### Share on other sites

The triangle wave rely's soley on the DC charging of the capacitor. I would tend to use the capacitor and a transistor driven by a square wave to generate a triangle wave. The use of an opamp is not necessary.

##### Share on other sites

Kevin,
A transistor can produce a very linear ramp if cofigured as a constant current source. But to make a triangle wave you need 2 transistors (1 ramping up, the other ramping down) and a complicated circuit to switch them on and off. An opamp has all those things built-in.
You could also use a transistor as an integrator, but linearity would not be as good as an opamp because its gain is no where near as high as an opamp.

##### Share on other sites

A square wave applied to a transistor with a capacitor to ground on the collector will produce a charge ramp as well as a discharge ramp.

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.