This can be done by placing secondary electrodes in each phase and close to interface each phase has a reference electrode.
In this context, the technique involves positioning secondary electrodes within each phase and bringing a reference electrode close to each phase, with one reference electrode per phase.