Low-Frequency Differentiator ( with the calculus)

  • Thread starter Thread starter smashbrohamme
  • Start date Start date
  • Tags Tags
    Calculus
Click For Summary

Discussion Overview

The discussion revolves around a low-frequency differentiator circuit, specifically focusing on the application of calculus to analyze the relationship between input and output voltages. Participants explore various methods for determining the output voltage given a sinusoidal input, including Laplace transforms, complex impedance, and direct differential equations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • The original poster (OP) expresses confusion about applying calculus to the differentiator circuit and seeks assistance in understanding the relationship between input and output voltages.
  • Some participants suggest using the Laplace transform to derive the differential equation associated with the circuit, while others propose using basic current-voltage relationships.
  • There is a discussion about whether the equation Vo(t) = -0.001*[dVi(t)/dt] can be solved using Vi=0.5Vpk without considering the circuit itself.
  • One participant emphasizes the need to calculate the transfer function Vout(s)/Vin(s) in the frequency domain to find the corresponding circuit values.
  • Some participants argue that for sinusoidal inputs, using Laplace transforms may be unnecessary and that complex algebra could suffice.
  • There is disagreement regarding the effectiveness of the differentiator circuit at high frequencies, with some asserting that it can function beyond 500 Hz while others claim it does not differentiate at those frequencies due to the presence of a resistor (Ri).
  • Participants discuss the implications of the resistor Ri on the circuit's performance and the necessity of adjusting component values to achieve the desired time constant.
  • There is a suggestion that if the OP wants to use calculus, they could apply KVL or KCL along with the relationships for capacitors and resistors.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to analyze the circuit or the effectiveness of the differentiator at high frequencies. Multiple competing views remain regarding the use of Laplace transforms versus other methods, as well as the impact of component values on circuit performance.

Contextual Notes

Some participants note that the circuit's performance may be limited by the resistor Ri, which could prevent it from functioning as a differentiator at higher frequencies. The discussion includes various assumptions about the circuit's behavior and the applicability of different mathematical approaches.

smashbrohamme
Messages
97
Reaction score
1

Homework Statement


This is a low-frequency differentiator circuit.
Vo(t) = -0.001*[dVi(t)/dt]

Vi=0.5Vpk
Frequency at 1kHz

I am confused on how to apply calculus to this. My calculus is a little rusty but I am not use to seeing it in this applied forum. I only did calculus when it was in simple mathematic forum and I guess I never connected the dots.

I am hoping someone could walk me through this problem. [/B]

I have to build this in Multi-sim and show the graph but I am getting a saturated voltage out of 0.5Vpk. Which is fine if the value ends up being over 14Volts. *Note this is another problem and not the one shown but I wanted to change the values*

The concept is this circuit takes a waveform and differentiates it. I can fine with the circuit itself, just proving my voltage level using the above equation is what is throwing me off.
 
Physics news on Phys.org
Can you post the circuit diagram? I am guessing that it is a simple RC arrangement with an op-amp at its heart, but it's best to be sure.

Are you familiar with the Laplace transform approach to circuit analysis? It's a direct path to discovering the differential equation associated with a transfer function. If not, you can also use the basic current-voltage relationships of reactive components to write the circuit equations.
 
circuit.png
Yes here is the circuit diagram for the problem. The circuit portion itself is not an issue I believe. Is it possible to solve that above equation using Vi=0.5Vpk with just calculus? Ignoring the circuit itself.
 
Thanks for the diagram.

I'm not sure what you mean by solving the equation using Vi=0.5Vpk, but I imagine that the exercise is to determine the relationship between Vo and Vin given the above circuit arrangement. This will involve writing equations that pertain to the circuit. That in turn means using KVL and/or KVL and knowledge of the VI characteristics of the components. You'll end up deriving an expression for Vo in terms of Vin that will have the form of Vo(t) = -0.001*[dVi(t)/dt], with an expression involving actual component values in place of the "0.001" constant. Start by considering how for a capacitor the current is related to the change in voltage.
 
  • Like
Likes   Reactions: NascentOxygen
gneill - it must be your goal to calculate the transfer function Vout(s)/Vin(s)=T(s) in the frequency domain for finding a corresponding circuit.
In principle, the circuit as shown by you is correct - however, the parts values are NOT.
What you need is the corresponding RC time constant of the differentiating circuit.
This is easily found by applying the LAPLACE transform to the expression dV/dt.
This is a very simple task and can be found in each book dealing with LAPLACE (or, of course, in the web).
 
Hi LvW. I'm not the OP. I'm trying to find out exactly what the OP is trying to work out. If it's just the magnitude of Vo for a given sinusoidal Vin, then he has options including Laplace, complex impedance, or direct differential equation approaches.
 
Yes I am trying to gain the magnitude of Vo for a given sinusoidal Vin. This is where I am stuck. I will do some research on Laplace.
 
smashbrohamme said:
Yes I am trying to gain the magnitude of Vo for a given sinusoidal Vin. This is where I am stuck. I will do some research on Laplace.
If it's just the magnitude that you need then an impedance approach would be expedient. You know the input frequency so you can find the impedance of the capacitor. Then you can determine the gain of the simple op-amp layout.
 
gneill said:
Hi LvW. I'm not the OP. I'm trying to find out exactly what the OP is trying to work out.
Sorry for this mistake.
 
  • #10
LvW said:
Sorry for this mistake.
No worries :smile:
 
  • #11
smashbrohamme said:
Yes I am trying to gain the magnitude of Vo for a given sinusoidal Vin. This is where I am stuck. I will do some research on Laplace.
For sinusoidal inputs you don't need Laplace, in fact it's overkill (using the transform for a sine input gives you the transient as well as the steady-state response. You want the steady-state only, most likely).

So just use complex algebra: Z of a capacitor = -j/wC, Z of a resistor = R. And BTW the relation Vout = -k dVin/dt does not hold for high frequencies (f > 500 Hz approx., due to the finite value of Ri).
 
  • #12
rude man said:
For sinusoidal inputs you don't need Laplace, in fact it's overkill (using the transform for a sine input gives you the transient as well as the steady-state response. You want the steady-state only, most likely).
So just use complex algebra: Z of a capacitor = -j/wC, Z of a resistor = R. And BTW the relation Vout = -k dVin/dt does not hold for high frequencies (f > 500 Hz approx., due to the finite value of Ri).

I cannot agree to the above contribution. It is no problem to realize an active differentiator for frequencies>500 Hz. By the way: What is meant with the symbol "Ri"?

For finding the required transfer function of the differentiator (as a first step to realize an electronic circuit) it is necessary to know how the process dV/dt (time domain) looks in the frequency domain. For this purpose you need the LAPLACE transform as a tool which connects both domains. However, it is a very simple relationship that can be found at the first place of each correspondence table (books, wikipedia,...)
 
  • #13
LvW said:
I cannot agree to the above contribution. It is no problem to realize an active differentiator for frequencies>500 Hz. By the way: What is meant with the symbol "Ri"?

For finding the required transfer function of the differentiator (as a first step to realize an electronic circuit) it is necessary to know how the process dV/dt (time domain) looks in the frequency domain. For this purpose you need the LAPLACE transform as a tool which connects both domains. However, it is a very simple relationship that can be found at the first place of each correspondence table (books, wikipedia,...)
Look again at the OP's last statement: "Yes I am trying to gain the magnitude of Vo for a given sinusoidal Vin. This is where I am stuck."

For that, laplace is not called for. In fact, it's misleading as I explained.

Look again at the schematic the OP furnished. Ri is shown as a 159 ohm resistor in series with C1. The presence of Ri prevents the circuit from being a differentiator at high frequencies. At high frequencies ( ~1000 Hz or above) the circuit is a simple gain of -20K/159 ohms. Since the input is stated as 1000 Hz the circuit is definitely not differentiating the input.

(In "real life" Ri is needed to prevent excessive high-frequency noise. In the old days of analog computers, if you wanted to simulate a differentiator, you would not use this circuit (minus the Ri). You would wrap an integrator around itself instead.)

If the OP really wanted to "use calculus" he could go with capacitor i = C dV/dt and resistor i = V/R of course, then KVL or KCL or whatever. He could also form the Laplace transfer function Vout/Vin and rearrange in the form Vout*F1(s) = Vin*F2(s), then substitute s = d/dt, i.e. interpreting s as the differentiating operator.
 
Last edited:
  • #14
rude man said:
Look again at the OP's last statement: "Yes I am trying to gain the magnitude of Vo for a given sinusoidal Vin. This is where I am stuck."
Look again at the schematic the OP furnished. Ri is shown as a 159 ohm resistor in series with C1.

Oh yes - I agree. I didn`t look at the second post of the questioner. Sorry for that.
Of course, if the value is not changed, the circuit does not work as desired. Therefore my answer in post'5 that - in principle - the circuit is OK, however the values must be adapted to the required time constant. And yes, I know about the common problems in realizing such a task with real opamps (tendency to oscillations at the point where the loop gain is unity). Not only because of excessive noise! Hence, a suitable Ri is necessary.
There was a misunderstanding between us - my fault.
 
  • #15
rude man said:
For that, laplace is not called for. In fact, it's misleading as I explained.

Sorry - but this comment is, for my opinion, misleading.
In contrary, for designing a workable differentiating circuit it is necessary to know the corresponding transfer function in the s-domain.
This means that I must be able to transform the operation dV/dT into the s-domain (as you know, this simply gives "s")
Hence, the corresponding transfer function is H(s)=-0.001*s.
This knowledge - together with the frequency response of the used real opamp - is required for finding a suitable value for the stabilizing resistor Ri .

A rough calculation - assuming a general-purpose opamp with GBW=1E6 Hz - shows that a design with Rf=1kOhm, C=1µF and Ri=25 Ohms allows a stable differentiating process at 1kHz with a phase margin of app. 45 deg.
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K