I have a 3-bit converter with ideal LSB of 50 mV. The following table shows the non-ideal logical values.
I need to remove gain and offset errors from the codes below.
I read on the internet that one step to remove gain error is to calculate a new LSB, by doing an average:
AVG_LSB = (363 mV - (-2 mV)) / (8-1) = 52.14 mV
If I calculate the table using this new LSB (NEW gain) I get table 2 shown below. Did it remove the gain error? If so, then why is it called removing gain error?