Abstract

Floating gate MOS (FGMOS) based fully programmable Gaussian function generator is presented. The circuit combines the tunable property of FGMOS transistor, exponential characteristics of MOS transistor in weak inversion, and its square law characteristic in strong inversion region to implement the function. Two-quadrant current mode squarer is the core subcircuit of Gaussian function generator that helps to implement full Gaussian function for positive as well as negative input current. FGMOS implementation of the circuit reduces the current mismatching error and increases the tunability of the circuit. The performance of circuit is verified at 1.8 V in TSMC 0.18 μm CMOS, BSIM3, and Level 49 technology by using Cadence Spectre simulator.

1. Introduction

Gaussian function is one of the most widely used functions in many domains such as neural network, neural algorithm, and on-chip diffusion profile. Diffusion is one of the important steps in the chip fabrication. The diffusion profile of impurity atoms is dependent on the initial and boundary conditions. When a constant amount of dopant is deposited on the surface, the doping profile is approximated by Gaussian function [1]. Another application of Gaussian function is observed in multidimensional problems like pattern matching and data classifications [2]. These cases are calculated using probability density functions and these functions can be modeled by normal distributions [3].

Madrinas et al. proposed a CMOS analog integrated circuit to implement Gaussian function [4]. They have successfully designed a five-transistor circuit in which current mirror is in weak inversion region and voltage variable resistors are replaced by two MOS transistors. But the conventional circuit has limitations of mismatching of MOS transistors and it can implement only half of the Gaussian function. The circuit proposed in [5] overcomes the limitations of the circuit proposed in [4] by using FGMOS transistors.

Recently the work published in [6] implements the Gaussian functions using fourth-order approximation. The accuracy and complexity of this circuit depends upon order of approximation of the Gaussian function. So, there is always a tradeoff between circuit complexity and its accuracy.

This paper presents very simple FGMOS based fully programmable Gaussian function generator that uses a single two-quadrant current mode squarer/divider to generate fully programmable Gaussian function.

FGMOS has many attractive features for example it reduces the complexity of circuits and can simplify the signal processing chain of a design. It can shift the signal levels and incorporate tunable mechanisms. It can even work normally below the operational limits of supply voltage levels for a particular technology and thus consume less power than the minimum power required for a MOS circuit of same technology without affecting the performance of the device [7].

The paper is organized as follows. Basics of FGMOS transistor is given in Section 2. A fully programmable Gaussian function generator is introduced and analyzed in Section 3. Next section details the simulation results. Finally on the basis of simulation results, conclusions are drawn in the last section.

2. Basics of FGMOS Transistor

FGMOS is a multiple-input floating gate transistor whose threshold voltage can be controlled and tuned by the values of capacitors and bias voltage applied.

The symbolic representation of two-input FGMOS transistor and its equivalent circuit are shown in Figure 1. The input signal and bias voltage are applied at gates and of FGMOS transistor, respectively.

The voltage on floating gate is given as [710] where and are the capacitances associated with and , , is the total floating gate (FG) capacitance. , , and are the overlap capacitances of floating gate with drain, source, and bulk respectively, is the drain voltage, is the source voltage, is the bulk voltage, and is the residual charge.

Since the floating gate of FGMOS does not have any connection to ground, so to avoid dc convergence error during simulation the model suggested by Yin et al. [11] has been used. The model is based on connecting resistors in parallel with the input capacitors as shown in Figure 2, where, .

The drain current of the FGMOS transistor operating in ohmic region (source grounded) is given by [7] where is the transconductance parameter, and are the capacitances associated with and , respectively, is the total floatinggate (FG) capacitance, and stands for the threshold voltage. Above equation can be simplified as where effective threshold voltage () is given by From (3), it is obvious that the reduction in can be done by selecting and .

Hence, is controllable and it is depending on the values of and . The proposed Gaussian circuit utilizes this property of FGMOS transistor.

3. Proposed Gaussian Function Generator

If is the input variable and is the output, then the Gaussian function is defined by where , are the adjustable constants which define the amplitude and width of Gaussian function. In the proposed work the Gaussian function is constructed by first squaring the input variable that is current by using the square law characteristic of MOS, secondly exponential characteristic of MOS in weak inversion is used to complete the transfer function as given in (5).

Current mode squarer/divider used for full Gaussian function generation is shown in Figure 3 [12]. The operation of the circuit will be based on square law characteristics if all the MOS transistors are biased in strong inversion region. The transistors M1 through M3 form the squarer part of the circuit. The drain currents and of M1 and M2 can be, respectively, given as [12]

The total current is given by From above equation, it can be seen that the output current consists of the squared input current and dc current Thus if the dc current is compensated, a perfect squarer/divider circuit is obtained which can be used to realize many current mode analog processing circuits.

The operating principle of conventional Gaussian circuit, proposed by Madrinas et al. is described in [4]. The MOSFETs M3 and M4 of the conventional circuit, shown in Figure 4, are working in linear region and behave as variable resistors.

In the proposed circuit, shown in Figure 5, the MOS transistors M3 and M4 working in linear region are replaced by FGMOS transistors to increase tuning ability of the circuit and reduce mismatching error between transistor pair M3-M4. PMOS transistor M5 of the conventional (Figure 4) circuit is replaced by current squarer/divider to implement fully programmable Gaussian function.

Figure 5 is the circuit implementation of FGMOS based Gaussian circuit.

In the circuit and are the gate and bias voltages, respectively. The FGMOS transistors Mc and Md are working in their linear region. On neglecting , the drain current can be expressed by (if source is grounded) where The control voltage controls the output conductances of Mc and Md, whose value is approximately given by The condition for the linear operation is The effect of on output current and the Gaussian function is given by [4] where is dc bias current of current mirror, is volt-thermal equivalent, and is the output current of squarer/divider. On comparing (13) and (5) it can be seen that the width of Gaussian function can be controlled by varying the floating gate voltage . Since, depends upon both and , the width becomes more programmable. The performance of the Gaussian circuit depends upon the symmetry of the current mirror used. If there is mismatch between MOS Ma-Mb, their source voltages will be different and output current will not be equal to reference current , that is, The difference source voltage can be zero if . In the proposed circuit the tuning capability of FGMOS transistor helps to make gds3 and gds4 to be equal. Full implementation of the proposed circuit is shown in Figure 6.

4. Simulation Results

The designed circuits are simulated using Cadence Spectre simulator in TSMC 0.18 um CMOS technology using 1.8 V power supply.

Simulation result for squarer/divider is shown in Figure 7. The bias current () for squarer/divider is and the input current varies from − to .

Figure 8 shows the variation of output current () with respect to input () and control voltage varying from 0.9 V to 1 V. It can be noticed from output waveforms (Figure 8) that width of the Gaussian function can be controlled by varying the control voltage . Figure 9 shows the power dissipated by the circuit at different values of input current . It can be seen that the circuit has power dissipation of 0.1 mW at the input current of 10 μA. Table 1 summarizes the aspect ratio of the MOS used in the proposed circuit. Table 2 shows the output current relative error defined as for different values of control voltage . It can be seen that percentage error is zero for  V.

Table 3 gives the performance parameters of the proposed circuit. It can be seen that circuit has the total noise of 1.6441e−14 V2/Hz at the frequency of 100 kHz. The complexity of the circuit is also low as compared to other circuits implementing full Gaussian function.

5. Conclusion

In this paper FGMOS based fully programmable Gaussian circuit has been proposed which utilizes the advantages of FGMOS transistor for better tuning ability and low mismatching error between the MOS pair. The proposed circuit uses two-quadrant square/divider to implement full Gaussian function. Complexity and power dissipation of the circuit are very low. Thus the newly developed Gaussian circuit is the best choice for highly accurate and low power applications of Gaussian function.