Hi All,
I'm trying to get a throttle control system working for a petrol engine ( a servo controls the throttle based on an rpm reading of a wheel - rpm is detected by a hall sensor using teensy interrupts).
I am having major issues with EMI caused by the ignition system of the small petrol engine I am dealing with.
I am using interrupts on a teensy 3.1 (which all worked fine when the engine was off) to count the number of rotations of a wheel.
A hall sensor is used to to send a digital signal to a teensy input pin on each wheel rotation.
I have screened the cable between the teensy and the hall sensor (about 500mm long) but the interrupt is still triggered when the hall sensor or the teensy gets close to the engine ignition. The engine runs at 1500-4000 rpm whereas the wheel that is measured by the hall sensor should be in the region of 100-400rpm.
Even when I unplug the sensors from the teensy and just put the teensy board near the EM field the interrupt is triggered (and I have tried adding a pull-up resistor with no luck).
I'm way out of my depths here so any help would be appreciated. I've looked into ferrite beads, low pass filters etc. and to be quite frank, I don't even know where to begin so any assistance would be appreciated.
My end goal is to have the teensy controlled via a wireless signal - and be able to send the rpm reading through a wireless signal, but I need to have the basics working first.
Cheers.
I'm trying to get a throttle control system working for a petrol engine ( a servo controls the throttle based on an rpm reading of a wheel - rpm is detected by a hall sensor using teensy interrupts).
I am having major issues with EMI caused by the ignition system of the small petrol engine I am dealing with.
I am using interrupts on a teensy 3.1 (which all worked fine when the engine was off) to count the number of rotations of a wheel.
A hall sensor is used to to send a digital signal to a teensy input pin on each wheel rotation.
I have screened the cable between the teensy and the hall sensor (about 500mm long) but the interrupt is still triggered when the hall sensor or the teensy gets close to the engine ignition. The engine runs at 1500-4000 rpm whereas the wheel that is measured by the hall sensor should be in the region of 100-400rpm.
Even when I unplug the sensors from the teensy and just put the teensy board near the EM field the interrupt is triggered (and I have tried adding a pull-up resistor with no luck).
I'm way out of my depths here so any help would be appreciated. I've looked into ferrite beads, low pass filters etc. and to be quite frank, I don't even know where to begin so any assistance would be appreciated.
My end goal is to have the teensy controlled via a wireless signal - and be able to send the rpm reading through a wireless signal, but I need to have the basics working first.
Cheers.