I want to make basically a DAC for interfacing with a quadrature rotary encoder. It needs to read the frequency of a square wave and put out an analog ±10V proportional to frequency. For example, I connect a 1024 pulse per revolution rotary encoder to a motor with a max speed of 3400 RPM. That corresponds to 58,027Hz, and I want this to give me a voltage of 10V. @ 1700RPM I would want 5V output, and so forth. I want to also be able to differentiate between forward and reverse, using the encoder's A & B channel phase offset.
I've seen TI's LM2719 but I'm not sure if it's exactly what I'm looking for. Seems to need a different capacitor/resistor combination for different pulse per revolution encoders. I would like to be able to change pulse per revolution for any standard encoder, from 1 PPR to 1024PPR, via dip switch setting or programming.
Is this doable with discrete ICs? Or is this a job for a microcontroller? If so, which one would be a good candidate?
I've seen TI's LM2719 but I'm not sure if it's exactly what I'm looking for. Seems to need a different capacitor/resistor combination for different pulse per revolution encoders. I would like to be able to change pulse per revolution for any standard encoder, from 1 PPR to 1024PPR, via dip switch setting or programming.
Is this doable with discrete ICs? Or is this a job for a microcontroller? If so, which one would be a good candidate?