I am working on a little hobby project over the summer, and I need some sort of non-integer Frequency Scaler (or Counter) and a Phase Shifter. Unfortunately I don't know of any easy way to do what I need to do, and could use some general advice to figure out the best way to handle it.
The input signal would likely be less than 500hz, either Square-wave or Sine-wave (I can easily generate either). I am looking for the ability to scale the input signal over the full scale of Plus or Minus ~10%, and would like to be able to phase shift the signal a full 180 degrees in either direction. The output signal can also be either Square-wave or Sine-Wave. The key feature I'm looking for here is stability: I don't really care how accurate or linear the circuit res ponce is, but ideally I want the output signal to be as stable as possible.
For the Frequency Scaler I have been looking at a Frequency-To-Voltage Converter, Voltage adder, Voltage-To-Frequency Converter configuration. Unfortunate all of the converters I've been looking at don't seem to be very happy at such low frequencies. There is also the problem of maintaining calibration between the two converters.
The Phase Shifter has proven to be significantly more difficult. The only idea I've managed to come up with so far is to feed a square-wave input signal into an integrator, then trigger a new square-wave off the triangle-wave that comes out of the integrator. While I think this should work, there has got to be a better way.
I would greatly appreciate any ideas or suggestions.
Thanks
-Sunwatch