Electroanalysis in food process control