I was going through the sample c code provided for motor control (Isoinv_VF).
In the scalarControl.c file, gain factors Current_sincOffGainFactor and Current_sincGainFactor have been used. Current_sincGainFactor formula is given in AD7403 application note. But Current_sincOffGainFactor formula is not there.
Can anyone tell from where it has been derived?
How can i validate if the current as measured by AD7403 is correct or not?
If you check out Figure 3 in the app note - this is simply a scaling as a result of the signal being offset around 50% and specified max range of 18.75% to 81.25%: so (81.25%-50%)/(81.25%-18.75%)