No signal wave. Just a varying voltage as mentioned, for a PID controller.No - the unit "Hz" is reserved for sinusoidal signals only. All other periodic signals are specified with its repetition rate.
Question: What is the purpose of the circuit - and are there no requirements for a specific input signal wave form?
Really? So saying that your computer has a 4GHz processor is wrong?No - the unit "Hz" is reserved for sinusoidal signals only.
Rin and Cf should both be zero.I intend to design a differentiator stage. I measured "all" possible input signals, so to speak, getting the highest rate of a linear signal (steadily increasing) of 265mV in 60 seconds.
If I do 265/60 = 4,42 mV/sec, could I consider my input signal as a triangle of 4,42mV pk - pk / freq= 0,5 HZ?
View attachment 242501
At 4 GHz. it can be difficult to tell the difference between a sinewave and a square wave.Really? So saying that your computer has a 4GHz processor is wrong?
Better say "cycles per second" then, just to be on the safe side.At 4 GHz. it can be difficult to tell the difference between a sinewave and a square wave.
It turns out that your input is effectively DC and the output is microvolts.For the chosen values you could do an AC sweep in a simulator to gain some understanding of what is happening. I'll do it for you if you're not a simulation aficionado.
Cf can be non-zero to attenuate the high frequency response in a practical circuit. The input frequency is so low that there is virtually no gain at all.Rin and Cf should both be zero.
As it is a virtual earth, the maximum feedback current should be Vout(max)/Rf.
The maximum input current is given by: I = C.dV/dt
Therefore:
Vout(max)/Rf = C.dV/dt
C.Rf = Vout(max)/(dV/dt)
(The output is inverting, so a negative output voltage will represent a positive rate of change of voltage at the input)
Thanks for replying @Ian0Rin and Cf should both be zero.
As it is a virtual earth, the maximum feedback current should be Vout(max)/Rf.
The maximum input current is given by: I = C.dV/dt
Therefore:
Vout(max)/Rf = C.dV/dt
C.Rf = Vout(max)/(dV/dt)
(The output is inverting, so a negative output voltage will represent a positive rate of change of voltage at the input)
All PID control loops have to be tuned. So it depends on the 's' domain 'plant' it is controlling. You can accomplish both the integral and proportional gain with one amplifier you drop remove Cin to accomplish that the P gain is Rf/Rin and the I gain is determined by Cf and Rin. If you want a differentiator you need only Cin and Rf. To implement complete PID control loop send the D and the PI to a final summing amplifier stage.No signal wave. Just a varying voltage as mentioned, for a PID controller.
So, posing again my question: a differentiator is designed assuming an input frequency. Could you suggest what value to use based on the expected input as described in the OP?
I used Vout(max) = 8V, being a reasonable estimate of what a TL072 might manage off a 9V supply,Thanks for replying @Ian0
My questions:
Vout(max), is it the voltage value I pretend at the output? I know that to get a high value, Rf could become huge. Any rule of thumb?
The expresion dV/dt, is it what I got dividing 260mV/60s = 4,42 mV/s?
I fear to ask this: why making Rin and Cf, zero? Have seen both explained as a must for practical differentiators?
If you want to simplify things and make this easier to tune, I would recommend 3 op amps, one set for integration one for differentiation and one for proportional gain. Send all outputs to one summing op amp. Then when you go to tune this you will not be changing all three parameters by some degree due to the interactions of the components with one op amp. The other option is one op amp for PI and a separate one for D. By changing Rf on the PI op amp, you only effect P gain. By changing Cf on the same circuit you only effect I gain and D gain resides on its own op amp. Select Rin say at 10K on PI then only adjust Rf and Cf for PI gain. Don't forget a lot of times you do not need the D term for many PID control applications.I used Vout(max) = 8V, being a reasonable estimate of what a TL072 might manage off a 9V supply,
For a true differentiator Rin and Cf would be zero. Rin would put an upper limit on the high-frequency gain, but above the 1/(2πRin.Cin) frequency, it would no longer be a differentiator, it would just simply be an amplifier with a gain of Rf/Rin.
With Rin and Cf non-zero, what you have is a bandpass filter. Below f=1/(2πRin.Cin) it's a differentiator, above f=1/(2πRf.Cf) it's an integrator, and in the middle it's an amplifier.
Absolutely! This is by far the best solution for any modern PID control system. In fact it stands true for most Analog systems. Convert to digital, do all the processing you need and convert back to analog.If you want to do it even more simply, just use one OpAmp, and an ADC - do the entire PID in software. Tune the PID with fuzzy logic after putting the device though it's paces and expected edges of operating conditions.
Given the very low values of dV/dt, digital seems the best solution to me.Absolutely! This is by far the best solution for any modern PID control system. In fact it stands true for most Analog systems. Convert to digital, do all the processing you need and convert back to analog.