Electrochemical principles of ecm