Hello guys,
I have some trouble to get pressure reading by every encoder pulse ( every 0.35 deg) using encoder.
Currently, I am using quadratic encoder (A,B, and Z).
I have two tasks. One is for angular position (encoder) and another is pressure reading (pressure sensor)
Both tasks shares same external clock. The execution of the loop is no problem.
When I checked the excel file that I measured, every pulse didn't give the 0.35 deg (360deg/1024 ppr).
The value slightly fluctuated I mean up and down like 0.2 ~ 0.4 deg per pulse.
Is this reading reliable and reasonable?
I am actually measuring intake and exhaust pulse by crank angle.
I am afraid that a few degree difference would result in invalid pulse shape.
For your reference, I attached Vi file that I tested.
Thanks for your help and assistance in advance.