Evolution of regulation errors in the diffusion layer in electrodeposition process control