So the signal input is an ac signal from the proximity detector of around 30 mV ac minimum. The turbine is tested that is produces 52.993 pulses (cycles) per gallon. To read gallons per minute is 52.993 / 60 seconds = 0.883216777. The maximum flow is 250 gallons per minute, and should produce 20 mA, the maximum flow is when the proximity sensor reads 220.8 Hz ac / 0.883216777 = 250 gpm.should produce 20 mA. A frequency of 176.6 Hz / 0.883216777 is 200 gpm, half speed is125 gpm * 0.883216777 is 110.4 Hz, and should be 12 mA, the half scale of 4-20 mA. Finally 0 gpm/Hz should produce 4 mA.
So I guess I am looking for a simple microcontroller that has an op-amp input that could be configured as an ac signal zero crossing detector, to count the frequency coming from the turbine proximity detector. This microcontroller scales by a factor of 0.883216777 * 220.8 Hz max, and has an ADC to send a value corresponding to 200 microamps to the XTR11x Iinput pin, to output 20 mA full scale. This micocontroller/processor must run off of the XTR11x VREG pin, and must consume much less than 4 mA. The entire circuit is loop powered by 24 VDC to the XTR11x V+/Iout pins.
Here is something I found, must replace AFE to the XTR116 with processsor to detect, scale and output.
download.mikroe.com/.../4-20ma-click-manual-v100.pdf
Please let me know if you have a microprocessor that fits these requirements.
Thanks,
Robert de Boer