Electrical sensing techniques using alternating current carrier and modulation frequencies