- #1
BiGyElLoWhAt
Gold Member
- 1,630
- 134
- TL;DR Summary
- I'm looking to be able to approximate a few orders of a taylor series expansion using a potentiometer, particularly a sin wave.
Hi, I am ultimately looking to be able to have an analog circuit with an amplifier that uses a pot for the resistor over the op amp (maybe there's a better way, let me know if there is). I want to be able to control the shape of the gain roll-on/roll-off, and have it be functions of R, particularly sin(R_pot).
Is there a "simple" way to do this? I.e. can I construct a circuit that gets me ##V_{out}/V_{in} = f(\vec{x}) sin(R)## or something to that extent? x vector here is just some set of variables, probably w, L, c, etc. My other thought is if I have something with 3 degrees of freedom, so maybe 3 capacitors or something, I should be able to tune the values to the coefficients of the taylor series for sin, assuming I can construct a circuit that has R, R^3, and preferably R^5. I checked a graph and the first 2 terms are decent, but the 5th order term really makes it nice. I am looking for when the pot is halfway on, the gain is sqrt(2)/2, when it's 2/3 on root 3/2, 1/3 on it's 1/2, up to full on gain is 1... or at least really close to those values.
Ideally I would like either near-constant frequency response or no frequency response, although I think there are ways to adjust the phase afterwards.
Is there a "simple" way to do this? I.e. can I construct a circuit that gets me ##V_{out}/V_{in} = f(\vec{x}) sin(R)## or something to that extent? x vector here is just some set of variables, probably w, L, c, etc. My other thought is if I have something with 3 degrees of freedom, so maybe 3 capacitors or something, I should be able to tune the values to the coefficients of the taylor series for sin, assuming I can construct a circuit that has R, R^3, and preferably R^5. I checked a graph and the first 2 terms are decent, but the 5th order term really makes it nice. I am looking for when the pot is halfway on, the gain is sqrt(2)/2, when it's 2/3 on root 3/2, 1/3 on it's 1/2, up to full on gain is 1... or at least really close to those values.
Ideally I would like either near-constant frequency response or no frequency response, although I think there are ways to adjust the phase afterwards.