The working principle of glass electrode sensors is based on the interaction between the hydrogen ions in the solution and the glass membrane. The glass membrane is selectively permeable to hydrogen ions, creating a potential difference between the internal solution of the electrode and the external solution. This potential difference is measured against a reference electrode, producing a voltage that correlates to the pH level.