??? 02/20/05 14:49 Read: times |
#88007 - Could work, but have some averaging Responding to: ???'s previous message |
Prahlad said:
4. A new look up table will be generated by using the practically measured current values the new table will use the same trend of change in values as the theoretical RMS factor values in code memory. Yes, this is a good idea to simplify the calculation, provided it gives a good fit to the actual curve. Maybe it's not a good idea to adhere to the pure theoretical data, because this might not take into account some additional effects being responsible for the unlinearity, maybe some unlinearity in the thyristor driver or transformer? Why not taking your measured data (originally taken in laboratory) as theoretical data and puting this into the table? Maybe deviations are smaller if you take from this table the trend later? You should additionally have some protection against calibration errors. Could you store into the serial EEPROM more than one set of calibration points and take the average when corretcing the curve? You could also periodically put a new set of calibration points into the serial EEPROM, while dropping the oldest set. By taking the average of these sets of calibration points you have both, a protection against deserters and a calibration which includes long term drift of machine. Kai |