Patent ID: 8593846

Claim:
An AFG (analog floating gate) circuit, comprising: (a) a first sense transistor; (b) a first storage capacitor; (c) first and second tunneling regions; (d) various portions of a first floating gate conductor forming a floating gate of the first sense transistor, a floating first plate of the first storage capacitor, a floating first plate of the first tunneling region, and a floating first plate of the second tunneling region, respectively, a second plate of the first storage capacitor being coupled to a first reference voltage, and a second plate of the second tunneling region being coupled to a second reference voltage; and (e) compensation circuitry coupled to the first floating gate conductor, for compensating loss of charge on the first floating gate conductor, wherein the compensation circuitry includes passive compensation circuitry which sets a redetermined voltage on the second plate of the first tunneling region in response to a fixed voltage and functions as a reserve source of charge from which to compensate loss of charge on the first floating gate conductor.