MagicSmoker
Electrical
- May 5, 2010
- 92
Just looking to bounce some ideas off you all here. I'm a power electronics kind of guy so sometimes this digital stuff is a bit foreign to me, but, here goes...
I want to clean up the pulses from a generic OC prox switch (could be optical, inductive, etc...) in the presence of incredible amounts of noise (but the noise as a predictable switching frequency of 8khz or 14khz, if that helps).
The pulses are for a tachometer function and can be either 1, 2, 4, 6 or 8 per revolution. Maximum RPM might be 6000 so, let's say I will need to read up to 800Hz (6000rpm * 8ppr / 60 = 800Hz). In the current incarnation of this circuit I just used an RC with about a 1khZ cutoff feeding a Schmitt trigger inverter. I still get spurious noise pulses, though, according to a diagnostic function that is in the software (looks for "physically impossible" changes in time between pulses).
The need has arisen to add an "I/O" board to this product so I figured now's a good time to clean up the tach signal even more... I'm thinking of using a slow op-amp as a comparator to feed the existing RC + Schmitt combo... Good idea or what? If "what", please suggest an alternate
I want to clean up the pulses from a generic OC prox switch (could be optical, inductive, etc...) in the presence of incredible amounts of noise (but the noise as a predictable switching frequency of 8khz or 14khz, if that helps).
The pulses are for a tachometer function and can be either 1, 2, 4, 6 or 8 per revolution. Maximum RPM might be 6000 so, let's say I will need to read up to 800Hz (6000rpm * 8ppr / 60 = 800Hz). In the current incarnation of this circuit I just used an RC with about a 1khZ cutoff feeding a Schmitt trigger inverter. I still get spurious noise pulses, though, according to a diagnostic function that is in the software (looks for "physically impossible" changes in time between pulses).
The need has arisen to add an "I/O" board to this product so I figured now's a good time to clean up the tach signal even more... I'm thinking of using a slow op-amp as a comparator to feed the existing RC + Schmitt combo... Good idea or what? If "what", please suggest an alternate