I am looking for a mostly-analog circuit that will generate sin(a+w*t) and cos(a+w*t) for arbitrary initial phase (a) and a fixed frequency (w).
Ideally the initial phase would not be fed into the circuit as an angle "a" but instead as sin(a) and cos(a).
I'm thinking that two coupled integrators solving the differential equations:
df/dt = wg and dg/dt = -wf
will work if I set the initial values of f and g to sin(a) and cos(a).
Does anyone know of off-the-shelf parts that do all this for me? (And ideally have a little "load" signal that will reset the integrating capacitors to the sin(a) and cos(a) values I want to start at.)
If not, I think this is straightforward enough to do with op-amps in the integrators, but I'm a little unclear about a good clean way to jam the initial values of sin(a) and cos(a) onto the integrating capacitors. I'm thinking bilateral CMOS switches. Any gotchas?
Tim.