Using the differential principle in chemical micro-sensors