Statistics for Load compensation : design of a real time analysis and control device