- About this Journal
- Abstracting and Indexing
- Aims and Scope
- Article Processing Charges
- Articles in Press
- Author Guidelines
- Bibliographic Information
- Citations to this Journal
- Contact Information
- Editorial Board
- Editorial Workflow
- Free eTOC Alerts
- Publication Ethics
- Reviewers Acknowledgment
- Submit a Manuscript
- Subscription Information
- Table of Contents
Volume 2012 (2012), Article ID 505983, 13 pages
Modeling and Design of a Nano Scale CMOS Inverter for Symmetric Switching Characteristics
1A. K. Choudhury School of Information Technology, University of Calcutta, Kolkata 700009, India
2Institute of Radio Physics and Electronics, University of Calcutta, Kolkata 700009, India
Received 12 October 2011; Revised 11 January 2012; Accepted 26 January 2012
Academic Editor: Chien-In Henry Chen
Copyright © 2012 Joyjit Mukhopadhyay and Soumya Pandit. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This paper presents a technique for the modeling and design of a nano scale CMOS inverter circuit using artificial neural network and particle swarm optimization algorithm such that the switching characteristics of the circuit is symmetric, that is, has nearly equal rise and fall time and equal output high-to-low and low-to-high propagation delay. The channel width of the transistors and the load capacitor value are taken as design parameters. The designed circuit has been implemented at the transistor-level and simulated using TSPICE for 45 nm process technology. The PSO-generated results have been compared with SPICE results. A very good accuracy has been achieved. In addition, the advantage of the present approach over an existing approach for the same purpose has been demonstrated through simulation results.
For digital integrated circuit design, CMOS inverter design is considered to be a fundamental procedure . This is because of the fact that the procedure for designing other complex digital integrated circuits is primarily based on the design procedure of CMOS inverter . In the nano scale regime, the task of manual design of an optimal integrated circuit is very difficult. The fundamental reason for this is that in the sub-90 nm domain, the short channel effects of MOS transistors play critical roles. The performance behaviours of a circuit in this regime depend on the transistor channel length and width through complex high orders of equations. Therefore, for correct design and simulation of nano scale digital integrated circuits, accurate models need to be constructed . The construction of accurate performance model for CMOS inverter valid in the sub-90 nm domain is, therefore, an important problem to be solved. In addition, the design of an inverter circuit for optimized performance is considered as a nonlinear optimization problem.
A number of approaches are available in the literature for modeling the switching characteristics of a CMOS inverter. Sakurai and Newton derived a simple closed-form delay expression for series-connected MOSFET circuits in , based on the -power law MOSFET current model. In , an improved analytical propagation delay model has been presented. But it neglects the channel length modulation effect, which is important for modern deep submicron technologies. An analytical charge-based compact delay model for submicrometer CMOS inverters has been derived in . An accurate analytical propagation delay model of nano-CMOS circuits has been derived in  based on modified -power law current model. A look-up table approach for efficient delay characterization of nano scale VLSI logic circuits is presented in . An approach for optimization of digital integrated circuits using geometric programming technique is described in . A particle swarm optimization-based approach for inverter design considering transient performance is described in [9, 10]. Artificial neural network (ANN) has been used in  for deciding the MOSFET channel length and width for analog integrated circuits. A technique for technology independent neural network modeling for fundamental blocks of analog circuits has been discussed in . ANN has been used in  for modeling and design of CMOS operational amplifier circuit.
This paper presents an approach for the design of a nano scale CMOS inverter circuit with symmetric switching characteristics. The switching characteristics of the inverter circuit has been modeled using artificial neural network (ANN). The input design parameters of the ANN model are the widths of the PMOS and NMOS transistor, the load capacitor and the rise time of the input signal. The output performance parameters are the inverter switching point, the output rise time and fall time, the low-to-high and high-to-low output propagation delay times. The constructed ANN model is embedded within a particle swarm optimization (PSO) algorithm. This determines the channel widths of the transistors and the output load capacitor value such that the difference between the output rise time and fall time is minimized and the difference between the output high-to-low propagation delay and low-to-high propagation delay is also minimized. The PSO synthesized designs have been validated by implementing the designs at transistor-level using 45 nm CMOS technology and comparing the PSO predicted results with actual TSPICE simulated results. The advantage of our approach of designing the inverter circuit over an existing approach is also demonstrated through simulation results. This is for the first time to the best of the author’s knowledge that ANN-PSO combined approach has been used for modeling and optimal design of a nano scale CMOS digital circuit.
The rest of the paper is organized as follows. The problem is formulated in Section 2. The methodology is presented in details Section 3. Numerical results and the corresponding discussion are provided in Section 4, and finally conclusion is drawn in Section 5.
2. Problem Formulation
The basic circuit diagram of a CMOS inverter is shown in Figure 1. Let be the vector containing the design parameters, that is, the channel width of the NMOS transistor, the channel width of the PMOS transistor, output load capacitor and be the vector containing the input signal parameters, that is, the rise/fall time of the input pulse signal, . A circuit design optimization problem consists of determining the values of the design parameters for given input signal parameter values, such that one or more performance parameters are optimized and certain imposed constraints are satisfied. The complete problem can be considered to be divided into two sub-problems. In the first part, the relationships between the design parameters and the performance parameters are constructed. In the second part, the constructed relationships are used to compute cost functions for the subsequent optimization problem.
Let be the vector containing the following performance parameters of the design, (i) output rise time , (ii) fall time , (iii) inverter switching point , (iv) output low-to-high propagation delay time , and (v) output high-to-low propagation delay time . Thus the inputs and outputs of the performance model are as follows: The performance model of the inverter circuit is defined as This relationship between the circuit design parameters and the performance parameter is generally strongly nonlinear and multidimensional. In the present work this is approximated through an ANN model as follows: where is a neural network, is a dimensional output vector of neural model responses, is the ANN input vector, and contains all the weight parameters required to construct the ANN structure. The first part of the work attempts to construct such that it is a faithful approximation of the original function .
The second part is an optimization problem which is stated as follows: In (4), is referred to as the cost function, computed on the ANN predicted performance parameters, refers to the constraints. It may be noted that circuit optimization problems involve more than one objective.
3. Description of the Design Methodology
3.1. An Outline
An outline of the design methodology is illustrated in Figure 2. The design procedure starts with a set of optimization objectives. The design parameters are initialized randomly by the PSO algorithm. For these design parameters, the performance parameters , and are calculated using the ANN model for a given value of . Cost functions are computed based on these performance parameter values and the input optimization objectives. The design parameter values are then updated through the PSO algorithm according to the minimum cost. This process continues until a desired cost function objective is achieved or the maximum number of iterations is executed. The final output is a set of synthesized values of the design parameters.
3.2. Construction of ANN Model
In this subsection, we will first provide the basic concept of multilayer perceptron ANN followed by a detailed description of the ANN model development procedure.
3.2.1. MLP Structure
Multilayer perceptron (MLP) is a widely used ANN structure . In this network, the neurons are grouped into layers. The first and the last layers are called the input and the output layers, respectively, and the remaining layers are called the hidden layers. The structure of a typical MLP network is shown in Figure 3. The layers in this network are interconnected by network links that are associated with weights that determine the effect on the information passing through them. In an MLP, each neuron processes the input received from other neurons through an activation function in the neuron and the processed information becomes the output of the neuron. The hidden neuron activation function that is used in the present work is tangent-sigmoid function. On the other hand, linear activation is used for the output neurons.
Multilayered feed-forward neural network is trained by supervised learning using iterative back propagation algorithm. The basic flow chart illustrating the ANN-MLP training procedure is shown in Figure 4. The procedure starts with generating a set of sample data. This is divided into two sets: training set and test set. The training set is used for training purpose and the test set for testing purpose. The MLP parameters are initialized randomly. Then the weight parameters are adjusted utilizing the training data set until the training goal is met.
3.2.2. Data Generation
In order to generate training and test data, CMOS inverters are constructed corresponding to the circuit design parameters and input signal parameter listed in Table 1. The channel length of both the transistors is fixed at minimum of the process technology, that is, 45 nm. The other process technology parameters are taken from Berkeley Predictive Technology model file . Based on Halton sequence generator , uniformly distributed samples are generated within the specified range. The training and test data corresponding to those sample points are generated through T-SPICE simulation using BSIM4 model. Transient analysis and DC transfer sweep analysis are performed in order to extract the performance parameters.
3.2.3. Data Scaling
It is observed from Table 1 that the input parameters vary over a wide range. Consequently the output performance parameters will also vary over a wide range. Therefore, a systematic preprocessing of training data, referred to as data scaling is required for efficient construction of the ANN model. In this work, we have used linear scaling of the data between 0 and 1, described by the following formula: and the corresponding de-scaling formula is given by where represent the original data and represent the scaled data.
3.2.4. Data Organization
The generated data is divided into two sets, namely, training data set and test data set. The training data is used to guide the training procedure. A portion of the training data set is used for validating the training procedure. The test data is used to independently examine the final quality of the trained neural model in terms of accuracy and generalization capability.
3.2.5. Neural Network Training
A standard 4-layer feedforward MLP architecture has been considered in order to construct the ANN model of the inverter. During the training procedure, the weight parameters and the bias values are adjusted in order to minimize the training error. For this purpose, we have used Levenberg-Marquardt (LM) back propagation method as the training algorithm. The training goal is set to . The training algorithm of Matlab toolbox has been used.
3.2.6. ANN Model Accuracy
In order to verify the accuracy of the constructed ANN model, statistical measures such as average relative error and correlation coefficient between the neural outputs and actual-SPICE generated values are calculated for each output parameter. These are defined as follows: Here, , , and are the number of samples in the data set, ANN model output and corresponding SPICE-simulated value, respectively. The correlation coefficient is a measure of how closely the ANN outputs fit with the target values. It is a number between 0 and 1. If there is no linear relationship between the estimated values and the actual targets, then the correlation coefficient is 0. If the number is equal to 1.0, then there is a perfect fit between the targets and the outputs. Thus, higher the correlation coefficient, the better it is.
3.3. Optimization Using PSO Algorithm
In this subsection, we will first provide the basic concept of PSO algorithm, followed by the PSO-based design procedure.
3.3.1. PSO Algorithm
Particle swarm optimization algorithm is a robust stochastic evolutionary computation technique inspired by social behavior, movement, and intelligence of swarms . PSO works on a population of solution candidates referred to as particles. The size of the swarm is the total number of particles. At any particular instance, each particle has a position and a velocity. The movement of the particles are controlled by updating the position and velocity vectors in an effort to find an optimum solution. In a complete swarm, containing number of particles, each particle is initialized with a random position value. The position vector of the th particle with feature number , is denoted as and the velocity vector is defined as For each iteration, the velocity and position vector of the th particle in the search space are updated as follows where and . is the number of design parameters and is the iteration count. The factors and , referred to as the acceleration factors, indicate the relative attraction towards and , respectively. The particles keep track of two best values. The first one is the best fitness value obtained so far by the particle, the corresponding position being termed as personal best . The global best value is the location of the best fitness value achieved so far considering all the particles in the swarm. In (10), and are random numbers uniformly distributed between zero and unity. The inertia weight factor controls the tradeoff between global and local search capabilities of the swarm. The value of the velocity of a particle is clamped to the range to reduce the likelihood that a particle might leave the search space. The search space is defined by the bounds . In this work, the value of is set to where . The flow chart of the PSO algorithm as used in this work is shown in Figure 5.
3.3.2. PSO-Based Design
In the present work our aim is to design an inverter such that the output switching characteristics of the circuit is symmetric. This means that (i) the difference between the output rise time and fall time and (ii) the difference between the output propagation delay times and should be minimum.
The transistor channel widths , , and the load capacitor are the design parameters. The load capacitor as used here represents lumped capacitance consisting of two broad types of capacitances: (i) intrinsic and (ii) extrinsic. The intrinsic capacitance is composed of diffusion and overlap capacitances. On the other hand, the extrinsic capacitance is contributed by interconnect and fan-out gate. The intrinsic components depend upon the transistor dimensions. However, the extrinsic components are usually independent of transistor dimensions of the inverter under consideration. Using efficient layout techniques, it is possible to make the drain diffusion areas as small as possible. Thus the standard design practice is to assume that the external load capacitor mainly consists of extrinsic components such that the problem of inverter design can be done conveniently using inverter delay models constructed earlier.
The values of these design parameters should be obtained such that symmetry of the output switching characteristics can be achieved. The design problem can thus be summarized as follows. The value of the rise/fall time of the input signal will be taken from the user: Thus the PSO algorithm would result in exact values of the design parameters which minimize the cost function value and satisfy the specified constraints. The supply voltage is taken to be 1.0 V. The swarm size is taken to be 30. It has been reported in the literature  that the choice of PSO parameters and ensure good convergence of the PSO algorithm. The maximum number of iterations that has been considered in this work is 1000.
It may be noted that symmetric static and switching characteristics of a CMOS inverter is an important requirement. In traditional manual design procedure this is achieved by adjusting the ratio of the PMOS and NMOS transistor width assuming equal channel length. The same is also done for symmetric switching characteristics so as to make the drain-source ON resistance of the transistors same. Symmetric characteristics make the noise margin wide. However, this often comes at the cost of speed. In addition, the short channel effects of MOS transistors, which play significant role in nano scale domain make the design problem more difficult. Therefore, an optimization strategy is required such that symmetry is achieved without failing to attain the speed constraint. Thus the justification of the optimization problem lies not only in optimizing the single design objective but also in attaining design solution within a desired design specification space.
4. Results and Discussion
4.1. ANN Construction
In the present paper, two ANN models have been constructed. In the first ANN model, the four inputs are , and and the four outputs are , and . For the second ANN, the two inputs are and and the single output is . For constructing the first ANN, 3000 samples have been considered. Out of these, are considered as the training sample and the rest as the test sample. For constructing the second ANN, a set of 1000 samples have been considered. The structure of the first ANN is described in Table 2. The neural network optimization technique is conducted for maximum 1000 iterations. However, after 725 epochs on an average the neural network model has reached the desired training goal. The neuron numbers in the first and second hidden layer is selected through trial and error method. The architecture is shown in Figure 6. For the second ANN architecture, a single hidden layer with 8 neurons has been considered.
4.2. ANN Modeling Accuracy
The accuracy is measured by comparing the results predicted from ANN and the actual SPICE simulation results. Figures 7(a) and 7(b) show the comparison between ANN predicted results and SPICE simulation results for the variations of the rise time and the fall time with and , respectively for various values of the load capacitors. Similarly Figures 8(b) and 8(a) shows the corresponding results for the low-to-high, and high-to-low propagation delay times. We observe that the two results closely match. The average relative error and the correlation coefficient are summarized in Table 3. We achieve very good accuracy in terms of both and .
The scatter plots between the ANN predicted results and SPICE simulations are shown in Figures 9(a)–9(d). We observe nearly perfect diagram with very close to unity correlation coefficient. These demonstrate the accuracy of the constructed ANN model. Similar levels of accuracy have been obtained for the second ANN also.
4.3. PSO-Based Design
In the present work, we have chosen seven case studies. For each case, the desired rise time, fall time, low-to-high, and high-to-low output propagation delay times are kept within a certain constraint, defined by an upper limit and a lower limit. Similarly the design parameters are also kept within a specified bound. These are tabulated in Table 4. The value of is assumed to be 1 ns. The synthesized values of the design parameters corresponding to which the cost function is minimized and the constraints are satified for all the case studies are shown in Table 5. It also contains the corresponding values of the performance parameters. We observe from Tables 4 and 5 that the synthesized parameters satisfy the design constraints.
The PSO algorithm has been implemented under Matlab 6.5 platform. The reduction in cost function value with number of iterations for two case studies are shown in Figures 10(a), and 10(b). We observe from these two figures, that the cost function value reduces drastically within first few iterations. Then the reduction is not significant. It takes several numbers of iterations to reach the ultimate goal. This is a characteristic of any global search algorithm. A possible way to avoid some unnecessary iterations is to judiciously combine some local optimization algorithms with the PSO.
The performance of the algorithm is measured by three factors: number of iterations, number of function evaluation, and time complexity (CPU time consumed). These are summarized in Table 6. The number of iterations is moderate. Consequently, the algorithm produces acceptable results in moderate CPU time. The measured time is w.r.t CPU of PIV processor and 1 GB RAM. The reported time includes the time taken to evaluate the ANN model during each function evaluation.
In order to validate the results obtained through PSO optimization, we select some case studies and implement them at the transistor level. The PSO-synthesized transistor widths and output load capacitor values have been considered. The channel length is taken as 45 nm with 1.0 V supply. We then perform transient simulation using T-SPICE. A comparison between the PSO-generated results and SPICE results is provided in Tables 7 and 8. We observe that the PSO generated designs yield very good results even when simulated at the SPICE level as far the symmetry of the switching characteristics is considered.
We now compare the present approach of designing an inverter for optimizing the switching characteristics with the existing approach of  for the same purpose. The same analytical equations as used in  have been used in the present work for comparison purpose. The synthesized results are provided in Table 9. With these synthesized values of the design parameters, the circuits are implemented and simulated using TSPICE. Tables 10 and 11 present the comparison results w.r.t the accuracy of the two approaches. It can clearly be observed that our approach outperforms the analytical approach of . This is because the analytical models used in  are simplified and approximate. These are not valid for nano scale CMOS circuit designs. For nano scale circuits more advanced compact models need to be used . However, these models are often very difficult to handle in an optimization-based design approach. Thus, the present approach of using ANN for modeling purpose and embedding the constructed ANN within a global search algorithm is the most useful technique for designing any nano scale logic circuits.
This paper presents an approach for the design of a nano scale CMOS inverter using artificial neural network and particle swarm optimization techniques. The compact models used to describe MOS transistors in the nano scale domain are often very complicated and difficult to handle within an optimization-based design approach. In addition, the accuracies of such models are questionable. In this approach, ANN has been used for modeling purpose. The input design parameters of the ANN model are the widths of the PMOS and NMOS transistor, the load capacitor and the rise/fall time of the input signal. The output performance parameters are the inverter switching point, the output rise time and fall time, the output low-to-high, and high-to-low propagation delay times. It has been found that the ANN results are quite good compared to actual SPICE-level simulation results. The ANN results are used for constructing the cost functions of the PSO-based optimization procedure. The PSO-synthesized designs are actually implemented using 45 nm CMOS technology and are simulated using TSPICE. It has been observed that the ANN predicted results and actual SPICE results match very closely. The present approach of designing an inverter has been compared to an existing approach  and the advantage of our approach has been demonstrated through simulation results.
In addition, to achieving symmetry in switching response, optimizing delay and power consumption are important in digital CMOS circuit design. In addition, the effects of gate-level parameter variations on these performances and optimization of the same are some other challenging issues. In the next phase of our research these will be taken up. However, the general framework for modeling the performances through ANN and optimization of the design parameters through PSO will remain same.
Soumya Pandit likes to thank the Department of Science and Technology, Government of India for financial support of the present paper through Fast Track Young Scientist Scheme, Ref. no. SR/FTP/ETA-063/2009.
- J. M. Rabaey, A. Chandrakasan, and B. Nikolic, Digital Integrated Circuits, Pearson Education, 2004.
- R. A. Rutenbar, G. G. E. Gielen, and J. Roychowdhury, “Hierarchical modeling, optimization, and synthesis for system-level analog and RF designs,” Proceedings of the IEEE, vol. 95, no. 3, Article ID 4167778, pp. 640–669, 2007.
- T. Sakurai and A. R. Newton, “Delay analysis of series-connected MOSFET circuits,” IEEE Journal of Solid-State Circuits, vol. 26, no. 2, pp. 122–131, 1991.
- L. Bisdounis, S. Nikolaidis, and O. Koufopavlou, “Analytical transient response and propagation delay evaluation of the CMOS inverter for short-channel devices,” IEEE Journal of Solid-State Circuits, vol. 33, no. 2, pp. 302–306, 1998.
- J. L. Rosselló and J. Segura, “An analytical charge-based compact delay model for submicrometer CMOS inverters,” IEEE Transactions on Circuits and Systems I, vol. 51, no. 7, pp. 1301–1311, 2004.
- Y. Wang and M. Zwolinski, “Analytical transient response and propagation delay model for nanoscale CMOS inverter,” in Proceedings of the IEEE International Symposium on Circuits and Systems (ISCAS'09), pp. 2998–3001, 2009.
- S. Miryala, B. Kaur, B. Anand, and S. Manhas, “Efficient nanoscale VLSI standard cell library characterization using a novel delay model,” in Proceedings of the 12th International Symposium on Quality Electronic Design, (ISQED '11), pp. 458–463, 2011.
- S. P. Boyd, S. J. Kim, D. D. Patil, and M. A. Horowitz, “Digital circuit optimization via geometric programming,” Operations Research, vol. 53, no. 6, pp. 899–932, 2005.
- R. A. Vural, O. Der, and T. Yildirim, “Particle swarm optimization based inverter design considering transient performance,” Digital Signal Processing, vol. 20, no. 4, pp. 1215–1220, 2010.
- R. A. Vural, O. Der, and T. Yildirim, “Investigation of particle swarm optimization for switching characterization of inverter design,” Expert Systems with Applications, vol. 38, pp. 5696–5703, 2010.
- M. Avci, M. Y. Babac, and T. Yildirim, “Neural network based MOSFET channel length and width decision method for analogue integrated circuits,” International Journal of Electronics, vol. 92, no. 5, pp. 281–293, 2005.
- N. Kahraman and T. Yildirim, “Technology independent circuit sizing for fundamental analog circuits using artificial neural networks,” in Proceedings of the 4th Ph.D. Research in Microelectronics and Electronics Conference (PRIME'08), pp. 1–4, June 2008.
- G. Wolfe and R. Vemuri, “Extraction and use of neural network models in automated synthesis of operational amplifiers,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 22, no. 2, pp. 198–212, 2003.
- S. Haykin, Neural Networks and Learning Machines, Pearson Education, 2009.
- W. Zhao and Y. Cao, “New generation of predictive technology model for sub-45 nm early design exploration,” IEEE Transactions on Electron Devices, vol. 53, no. 11, pp. 2816–2823, 2006.
- L. Kuipers and H. Niederreiter, Uniform Distribution of Sequences, Dover Publications, 2006.
- S. K. Mandal, S. Sural, and A. Patra, “ANN- and PSO-based synthesis of on-chip spiral inductors for RF ICs,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 27, no. 1, pp. 188–192, 2008.