Hello All
I need to measure the 'timing' of two electric motors in relation to each other. By this I mean, each motor has a 36 tooth wheel. Using a hall effect, I want to know the relationship between rising edges from the 36 tooth wheel.
So I thought I would use a flip flop. I would then measure the time the flip flop output was high versus low and I would know the timing.
Take a look at the attached schematic. My problem is when Signal2 is still high and Signal 1 rising edge comes along, the Flip Flop doesn't trigger.
I am still learning the flip flops. Do I have this wired correctly? Is there a leading edge triggered flip flop so it won't care if Signal2 is still high when Signal1 goes high?
Attached is the spec sheet for the Flip FLop I am using too.
Thanks in advance.
I need to measure the 'timing' of two electric motors in relation to each other. By this I mean, each motor has a 36 tooth wheel. Using a hall effect, I want to know the relationship between rising edges from the 36 tooth wheel.
So I thought I would use a flip flop. I would then measure the time the flip flop output was high versus low and I would know the timing.
Take a look at the attached schematic. My problem is when Signal2 is still high and Signal 1 rising edge comes along, the Flip Flop doesn't trigger.
I am still learning the flip flops. Do I have this wired correctly? Is there a leading edge triggered flip flop so it won't care if Signal2 is still high when Signal1 goes high?
Attached is the spec sheet for the Flip FLop I am using too.
Thanks in advance.
Attachments
-
162.7 KB Views: 25
-
202.2 KB Views: 47