Skip to main content

Multi-objective optimization of MOSFETs channel widths and supply voltage in the proposed dual edge-triggered static D flip-flop with minimum average power and delay by using fuzzy non-dominated sorting genetic algorithm-II

Abstract

Background

D Flip-Flop as a digital circuit can be used as a timing element in many sophisticated circuits. Therefore the optimum performance with the lowest power consumption and acceptable delay time will be critical issue in electronics circuits.

Findings

The newly proposed Dual-Edge Triggered Static D Flip-Flop circuit layout is defined as a multi-objective optimization problem. For this, an optimum fuzzy inference system with fuzzy rules is proposed to enhance the performance and convergence of non-dominated sorting Genetic Algorithm-II by adaptive control of the exploration and exploitation parameters. By using proposed Fuzzy NSGA-II algorithm, the more optimum values for MOSFET channel widths and power supply are discovered in search space than ordinary NSGA types. What is more, the design parameters involving NMOS and PMOS channel widths and power supply voltage and the performance parameters including average power consumption and propagation delay time are linked. To do this, the required mathematical backgrounds are presented in this study.

Conclusion

The optimum values for the design parameters of MOSFETs channel widths and power supply are discovered. Based on them the power delay product quantity (PDP) is 6.32 PJ at 125 MHz Clock Frequency, L = 0.18 µm, and T = 27 °C.

Background

The layout of an electronics circuit plays an important role in the design and usability of many products (Mihajlovic et al. 2007). In computers, communications, and many other systems, the flip-flops are fundamental building blocks. They are the important timing elements in digital circuits which have great impacts over power consumption and speed. The performance of Flip-Flop influence the performance of whole synchronous circuit, particularly in deep pipelined design (Bhargavaram and Pillai 2012). In this study, D Flip-Flop is considered. The optimum layout design of D Flip-Flop can be defined as an optimization problem. That is solved by the Multi-objective Evolutionary Algorithm (MOEA). MOEAs are well-suited for solving several complex multi-objective problems with two or three objectives (Lücken et al. 2014). As the performance of most MOEAs for problems with four or more conflicting objectives is severely deteriorated (Lücken et al. 2014), for this study, we define two conflicting objectives. Here we use a multi-objective evolutionary algorithm based on Genetic Algorithm. The non-dominated sorting genetic algorithm-II, NSGA-II, has questionable exploratory capability (Coello Coello et al. 2007). There are three evolutionary processes such as mutation, crossover, and selection. The mutation operator is used to increase the diversity of off-springs or generated solutions which is inspired by genetic diversity from one generation of population chromosomes to the next. The crossover which is inspired by genetic inheritance in parent children is applied to vary the situation or features of a chromosome or chromosomes from one generation to the next. The selection procedure is done to select the better or more optimum solutions.

In this study, for the proposed problem we will define two objective functions such as average power consumption and propagation delay time. They are minimized by proposed FNSGA-II when its three operators are implemented. For multi-objective optimization we are looking for the series of non-dominated solutions that are placed in the category of Pareto Front. There will not be any other solution better than non-dominated solutions and no solution will dominate them. The solutions of Pareto Front are ranked as the first Front F1 since they are the closest Front to the ideal solution in comparison with the other solutions (Coello Coello et al. 2007).

In sequential circuits there are many Flip-Flops. Since changes in the data inputs of a gated D latch flip-flop have no effect unless the clock is asserted, the propagation delay is not considered when the data inputs are entered (Mohanram 2014). In combinational logic circuits the basic blocks are the gates while in sequential logic circuits the flip flops are principal building blocks. Flip-Flops are clock based devices. Each flip flop can store one bit. D Flip Flop is the best choice in Integrated Circuit design works (Elias 2014). The D flip-flop is also known as a “data” or “delay” flip-flop. It captures the value of the D-input at a definite portion of the clock cycle and then the captured value becomes output Q. The D flip–flip is one of the most common types of flip-flops. Like all Flip Flops, it has the ability to retain one bit of digital information. D flip-flop is applicable for synchronous circuits. In this paper NSGA, NSGA-II, and proposed FNSGA-II are employed to find the best channel widths and supply voltage in which the D Flip-Flop has the lowest average power and propagation delay of proposed dual edge-triggered static D flip-flop circuit. This study is the further research of the previous article which was the single objective optimization of JK Flip-Flop layout sizes based on single objective optimization algorithms such as Ant Colony Optimization in Real or continuous domain ACOR, Fuzzy-ACOR, Genetic Algorithm GA, and Fuzzy-GA in which one objective function, the average power, was considered for minimization (Keivanian et al. 2014a).

Proposed dual-edge triggered D flip-flop

The proposed dual-edge triggered static D Flip-Flop is shown in Fig. 1.

Fig. 1
figure 1

Proposed dual edge-triggered D flip-flop

Overall, the operation of the circuit is to select input DATA and pass it on the output channel, Q. As it is illustrated in Fig. 1, the circuit is a synchronous multiplexer that can transmit multiple data simultaneously to output Q based on both edges of CLOCK pulse. In close view, to analyse the performance of circuit, two NMOSs of M17 and M18 were connected to each inverter module (one is M13 and M14, the other is M15 and M16) in order to boost their outputs. Back to back connected inverters keep the data when transmission gate is off. At the same time multiplexer transmits this latched data to the inverter to pass the correct DATA on the output line Q. Based on Fig. 1, when the CLOCK is low the MOSFETs M3, M4 and M18 are all on while M5, M6 and M17 are all off. Hence DATA is hold by negative latch and is passed to output line Q. In contrast, whenever CLOCK is high then the MOSFETs M5, M6 and M17 will be on but the MOSFETs M3, M4 and M18 will be off. In this state, DATA is passed on the output channel Q. So that, in dual edge-triggered D flip-flip DATA is put forward to output through both low and high states of CLOCK. Before the next CLOCK, if DATA alters this new amount of DATA is held by positive edge latch data PELD part and whenever next CLOCK comes and changes from Low to High this DATA is conveyed to the output channel Q. On the contrary, before the following CLOCK, if DATA changes this new DATA is hold by Negative Edge Latch Data NELD part and once next CLOCK arrives and alters from High to Low the DATA reach to the output channel Q. Without using M19, M20, M21, M22, M23, and M24 the output does not reach to the standard value of high or low level and there will be some transient time states for output signals. They should be a series of standard pulses since the input data is in fact a series of standard pulses.

The general configuration of multiplexer is shown as the block diagram in Fig. 2 (Nedovic et al. 2002).

Fig. 2
figure 2

Dual-edge-triggered flip flops

Both positive and negative edges are used to sample the DATA at both edges of CLOCK and the appropriate sample is selected for the output Q by a clocked multiplexer, MUX. By using the double edge clocking the power in the CLOCK distribution network is saved. Base on Fig. 2, data is captured or sampled by both edges of the CLOCK also the appropriate sample is selected for the Q output (Singh and Sulochana 2013). In this architecture, the Multiplexer is designed by using two NMOS transistors as pass transistors that select either the positive edge or negative edge latched data to pass it to output channel based on Fig. 3 (Keivanian et al. 2014b).

Fig. 3
figure 3

The 2:1 multiplexer with NMOS pass-transistor

We have proposed a new architecture in this literature that is dual edge-triggered Flip-Flop with NMOS pass-transistors as Multiplexer. In which the DATA can be passed by both positive and negative edges of CLOCK. This is more efficient in term of speed compared with single edge triggered Flip-Flop where DATA can only pass to output channel in a single triggering state of CLOCK (Singh and Sulochana 2013). In study, the design and performance parameters of Dual Edge-Triggered D Flip-Flop circuit to define it as an optimization problem are defined as in Table 1.

Table 1 The design and performance parameters of dual edge-triggered D flip-flop in this article

In this article all the channel lengths are set as the fixed value and equal to 0.18 micron L = 0.18 µm, whereas the channel widths are defined as the design parameters in circuit layout design literature and as the decision variables in meta-heuristic based optimization algorithms’ literature.

Single-objective optimization

The minimization of average power Pavg (w) is addressed to single objective optimization problem and many techniques are demonstrated in this literature (Keivanian et al. 2014a, b; Keivanian 2014). For example, for single objective optimization of JK flip flop layout sizes the least dynamic average power obtained was 1.6 nw. But the propagation delay was not considered for optimization as a result the layout sizes could not provide the optimum speed for the circuit. This encouraged us to study more on the multi-objective optimization algorithms and the design and performance parameters of proposed dual edge-triggered static D flip-flop circuit in order to minimize its dynamic average power dissipation and propagation delay.

Multi-objective optimization

Although single-objective optimization problems may have a unique optimal solution, multi-objective optimization problems, MOPs present a possible uncountable set of solutions, which when evaluated, produce vectors whose components represent trade-offs in objective space. Here the objective space is two dimensional including power consumption and delay objectives. In multi-objective optimization area a decision maker finally chooses an acceptable solution or solutions by selecting one or more of the solutions (Coello Coello et al. 2007). In this research work, the decision maker in fact is the electronic designers who evaluate the conditions and choose a candidate solution from the obtained set of solutions that it will have a minimum power delay product value.

The vector of decision variables in the Multi-objective optimization problem is found and satisfies the constraints and optimizes the objective functions (Coello Coello et al. 2007). These functions form a mathematical description of performance of problem which are usually in conflict with each other. In this article there is conflict between propagation delay and dynamic power dissipation (Singh and Sulochana 2013). The design parameters of problem are discovered to find optimum power consumption with reasonable delay time. So both will not be ideally obtained and a trade-off between them is required. Hence, the term “optimizes” means finding such a solution which would give the values of all the objective functions acceptable to the decision maker (Coello Coello et al. 2007).

In this article, our goal is to achieve a candidate solution for layout sizes and power supply values of circuit that will lead to a circuit with 6.32 PJ power delay product. So we firstly try to obtain optimum set of solutions with good performance then select a candidate solution from them with PDP = 6.32 PJ.

Decision variables

The decision variables are the numerical quantities or control parameters of an optimization problem. In this article these quantities are denoted as xi, i = 1, 2, 3. T stands for transpose. Then the vector x with 3 decision variables is represented by the relation (1):

$$X^{T} = \left[ {V_{DD} \quad W_{PMOS} \quad W_{NMOS} } \right]$$
(1)

Constraints

In most optimization problems some restrictions are proposed because of particular characteristics or physical limitations. In this study, the channel length is selected smaller than the channel width based on the relations (2) and (3). If the channel length L is selected as larger value of the channel width W, any change in W along the channel length will be too small compared with the channel width. Therefore, the electric field in the depletion region of the gate junction is assumed perpendicular to the channel (i.e., along the y-direction), while the electric field inside the neutral n-channel may be assumed to be in the x-direction only. The channel width w and channel length L both are figured out in Fig. 4.

Fig. 4
figure 4

The channel width (W) and the channel length (L)

The channel length L is from the source to drain, and it is a fixed parameter L = 0.18 µm. As the size of MOSFETs continues to scale down, the channel length becomes equal to or less than the depletion layer width of the source and drain junctions, and hence long-channel behavior occurs in short-channel devices(Li 2006).

In this article the following restrictions must be satisfied to meet the physical requirements of MOSFETs. All these restrictions are in general named, the constraints, and they show also the dependencies of decision variables x and constants involved in the problem, as in (2) and (3):

$$1\,\upmu{\text{m}} \le W_{NMOS} ,W_{PMOS} \le 1.8\,\upmu{\text{m}},\quad 1v \le V_{DD} \le 1.8v$$
(2)
$$L = 0.18\;\upmu{\text{m}} < W_{NMOS} ,W_{PMOS}$$
(3)

Objective functions

The objective functions f1 (w) and f2 (w), form a vector function f (w) which is defined by (4):

$$f\left( {\mathbf{w}} \right) = \left[ {f_{1} \left( {\mathbf{w}} \right),f_{2} \left( {\mathbf{w}} \right)} \right]^{T}$$
(4)

There will not one unique solution instead a set of solutions will be produced which are based on the Pareto Optimality Theory (Ehrgott 2006).

Dependency between total average power, channel widths, and supply voltage

Three major sources of power dissipation in CMOS VLSI circuits are dynamic, static, and the power based on leakage currents that are calculated in (5) to (7).

$$P_{Dynamic} = V_{DD}^{2} \cdot C \cdot f_{clock} \cdot N$$
(5)

In Eq. (5), N is the number of bits that are transmitted at a time, C represents the total capacitance which is the sum of internal capacitance of the circuit and the load capacitance at the output node. Also VDD is the power supply and fclock is the frequency of the clock (Lyer 2010). The dynamic power is calculated only for switching capacitive power but static power and short-circuit power must be computed separately (Knepper 2009). The dynamic average power contributes the highest power consumption among others (Singh and Sulochana 2013). When the transistors are not in switching process, the static power is calculated:

$$P_{Static} = V_{DD} \cdot I_{DC}$$
(6)

In Eq. (6), IDC is the total DC leakage current that is drawn from the power supply to the circuit (Chen et al. 2002). The Leakage Power calculation is presented in (7):

$$P_{Leakage Power} = V_{DD} \cdot I_{peak} \left( {\frac{{t_{r} + t_{f} }}{2}} \right)f_{clock}$$
(7)

In (7), Ipeak is the peak or maximum transient current when the output node voltage is rising from threshold voltage VT to VDD − VT or it is falling from VDD − VT to VT. Total average power is:

$$Total\;Power = P_{Dynamic} + P_{Static} + P_{Leakage Power}$$
(8)

In relation (8) all power values are added together for the calculation of total average power in a CMOS integrated dual edge-triggered static D flip-flop circuit. In order to get an accurate measurement for total average power, the appropriate range of time is determined for running a transient simulation in HSPICE software. Since the measurement involves an average of the instantaneous power value over the simulation window, selection of too small or too large transient simulation length may give inaccurate value (Wallace 2006). In this article, 9 CMOS inverters or 18 MOSFETs, two transmission gates, two NMOS pass transistors, and other MOSFETs constitutes the different transitions or time operations, thus for averaging of total power the simulation length will be as:

$$Simulation\;Window = 15 \times T_{Clock} = 15 \times 8\,ns = 120\,ns$$
(9)

In relation (9) the simulation window has the size of 15 × Period in second scale. This will be helpful to achieve an accurate average of total power. The corresponding command statement in HSPICE is:

$$.MEAS\;tran\;AvgPower\;Avg\;Power\;from = 0\,ps\;to = 120\,ns$$
(10)

Based on command (10), total average power is measured in the simulation window of 120 ns.

$$Total\;Average\;Power = \frac{1}{120\,ns}\int\limits_{0}^{120\,ns} {\left[ {P_{Dynamic} + P_{Static} + P_{Leakage Power} } \right]} \,dt$$
(11)

In Eq. (11), the dynamic power P Dynamic is the highest power consumption among the other consumption powers. Also based on (5), PDynamic value depends on squared power supply V 2DD ; so reducing the supply voltage is the most effective way for reduction of the Total Average Power of the circuit. However it will decrease the speed of the circuit that is explained in the next part as 2nd objective function. Reduction in clock frequency is another alternative to reduce the dynamic power. Double edge clocking approach is adapted in this paper to reduce the clock frequency.

$$Total\;Average\;Power \propto V_{DD}^{2}$$
(12)

The relation (12) shows that there is a direct relation between V 2DD and total average power Pt.

Also the total capacitance, C in relation (5) and the rise or fall time in relation (7) all depend on channel widths in each inverter (Stiles 2014) that is used in the circuit:

$$C \approx C_{{ox^{ \cdot } }} \left( {W_{{P^{ \cdot } }} + W_{N} } \right) \cdot L$$
(13)

The Eq. (13) indicates that the parameter C relates directly to PMOS and NMOS channel widths.

$$\frac{{t_{rise} }}{{t_{fall} }} = \frac{{I_{DN\;\hbox{max} } }}{{I_{DP\;\hbox{max} } }} = \frac{{\mu_{n} }}{{\mu_{p} }} \cdot \left[ {\frac{{W_{NMOS} \cdot \left( {V_{DD} - V_{THN} } \right)}}{{W_{PMOS} \cdot \left( {V_{DD} - \left| {V_{THP} } \right|} \right)}}} \right]^{2}$$
(14)

The ratio (14) shows that any changes in the channel widths will affect the rise and fall time in each inverter (Stiles 2014). Consequently:

$$Total\;Average\;Power \propto W$$
(15)

The relation (15) shows the direct relation between the channel widths and the Total Average Power.

Dependency of propagation delay time tPD to the channel widths W and VDD

Propagation delay time is the time taken from the triggering input transition to the corresponding output transition. The transitions are measured from the 50 % point. The output node Q is measured relatively to the input clock pulse as it is shown in Fig. 5.

Fig. 5
figure 5

Propagation delay time (tPHL and tPLH)

The propagation delay time is calculated by (16):

$$t_{PD} = \frac{{t_{PHL} + t_{PLH} }}{2}$$
(16)

In relation (16), tPD is the propagation delay time and inappropriate value for it may cause timing problems in while system. In detail view, tPHL and tPLH in inverters are measured by (17)

$$\begin{array}{*{20}l} {t_{PHL} = \frac{{C_{load} }}{{K_{n} \cdot \left( {V_{DD} - V_{TH,n} } \right)}}\left[ {\frac{{2 \cdot V_{TH,n} }}{{V_{DD} - V_{TH,n} }} + \ln \left( {\frac{{4\left( {V_{DD} - V_{TH,n} } \right)}}{{V_{DD} }} - 1} \right)} \right]} \hfill \\ {t_{PLH} = \frac{{C_{load} }}{{K_{p} \cdot \left( {V_{DD} - \left| {V_{TH,p} } \right|} \right)}}\left[ {\frac{{2 \cdot \left| {V_{TH,p} } \right|}}{{V_{DD} - \left| {V_{TH,p} } \right|}} + \ln \left( {\frac{{4\left( {V_{DD} - \left| {V_{TH,p} } \right|} \right)}}{{V_{DD} }} - 1} \right)} \right]} \hfill \\ \end{array}$$
(17)

In Eq. (14), KN and KP are the Trans Conductance parameters that are determined through technological properties that are used for fabrication of integrated circuits (µA/V2) (Stiles 2014). Cload is the load capacitance of inverters in the circuit, and VDD is the supply voltage. The dependency of VDD and tPD is presented in (18):

$$\Pr opagation\;Delay\;Time \propto \frac{1}{{V_{DD}^{2} }}$$
(18)

The relation (15) shows that the propagation delay time is inversely proportional to the squared supply voltage; therefore increasing the supply voltage is the most effective way to reduce the Propagation Delay Time.

When the supply voltage value is increased, the charging current of the switching capacitances in the circuit is increased this will decrease the propagation delay through the logic, so the maximum frequency of the circuit or the maximum speed of flip-flop is increased (Varnes 2013).

Moreover in the transient conductance parameters are shown in (19):

$$\begin{array}{*{20}l} {K_{n} = \mu_{n} \cdot C_{ox} \cdot \left( {\frac{w}{L}} \right)} \hfill \\ {K_{p} = \mu_{p} \cdot C_{ox} \cdot \left( {\frac{w}{L}} \right)} \hfill \\ \end{array}$$
(19)

The Eq. (19) presents that the transient conductance parameters are dependent on the channel widths. Based on the relations of (16), (17) and (19) the resulting relation is:

$$t_{PD} \propto \frac{1}{\text{w}}$$
(20)

The relation (20) indicates that there is a reverse relation between channel width w and the total propagation delay (tPD).

Implementations in HSPICE software

The command statements of HSPICE (.sp file) are including: 1. Clock (Low level = GND, High level = VDD, pulse width = 4 ns, and period time = 8 ns), 2. Input Data (“1111010110010000” with 7.5 ns time duration for each bit, Low level = GND, and High level = VDD), 3.Selection the MOSFETs model, and 4.Transient Analysis and Measurement of Total Average Power and Propagation Delay Time.

MOSFET model for proposed dual edge-triggered-static D flip-flop

In Simulation Program for Integrated Circuit Engineering, SPICE, the models are defined for MOSFET devices. These models can be divided into three groups: (a) First Generation Level 1, Level 2, and Level 3 Models, (b) Second Generation BISM, HSPICE Level 28, BSIM2 and Third Generation Models, and (c) BSIM3, Level 7, Level 49 … models. The state-of-art models have better performances concerning the short channel effects, local stress, transistors’ operation in the sub-threshold region, gate Leakage tunneling, noise calculations, and temperature variations. In these new models the equations can converge better during circuit simulations (Lynn Fuller 2011). The level 49 model is the enhanced version of BSIM3v3. This compliance includes numerically identical model equations, and range limit parameters.

Through the DC model comparisons it is concluded that Third generation MOSFET models such as Level 7 for OrCAD/PSPICE or Level 49 models for HSPICE give better results than any of the first or second generation models.

The level 49 BSIM3 Version 3 MOS Model is originated from UC Berkeley and it has been installed as Level 49 in HSPICE software (Moon 1998). The performance of level 49 has been improved by reducing the complexity of model equation, replacing some calculations with spline functions, and optimizing the compiler. The simulation results will have time reduction up to 35 % (Star-HSPICE Manual-Release 2001).

In this article, we have used BSIM3v3 LEVEL = 49, VERSION = 3.22 model for NMOS and PMOS MOSFETs.

Link between HSPICE and MATLAB

The decision variables VDD, WPMOS, and WNMOS are altered by means of mutation, crossover, and selection procedures in NSGA-II in MATLAB software and the result values are printed in HSPICE file for example ‘D.sp’. Then HSPICE or namely the fitness evaluator is run to read the netlist file like ‘D.lis’ related to two objective function values including Total Average Power Pt and Propagation Delay Time tD. The best values for them are stored and the algorithm continues until the stopping criteria that is the maximum iteration number. Both HSPICE and MATLAB software are implemented simultaneously and the results are shared with them. Based on Fig. 6 in each of implementations MATLAB will produce the layout sizes of MOSFETs in dual edge-triggered D flip-flop circuit WPMOS, WNMOS, and the supply voltage value VDD for HSPICE to simulate the proposed circuit by using these design parameters. Then the total average power and the propagation delay time correspondence to the circuit are evaluated by HSPICE. This implementation continues until the least average power and propagation delay time is obtained.

Fig. 6
figure 6

The block diagram of link between MATLAB and HSPICE

Implementation of MATLAB

As it is shown in Fig. 7 each chromosome includes three genes. These are the design parameters of proposed problem. Concerning the number of population, there are twenty-seven 27 chromosomes each one has three genes. The NSGA-II operators are applied to them.

Fig. 7
figure 7

The chromosomes and genes in NSGA-II for solving the proposed problem

Initial setting of the parameters in NSGA-II

The parameters of mutation, crossover, selection, and population size are in Table 2.

Table 2 Initial setting of the parameters in NSGA-II

As stated in Table 2, the crossover and mutation percentage are determined at the first part of algorithm, they determine the number of parents and mutants respectively as follow:

$$N_{cross} = 2 \cdot round\left\{ {{{Crossover\;Percentage \times Pop} \mathord{\left/ {\vphantom {{Crossover\;Percentage \times Pop} 2}} \right. \kern-0pt} 2}} \right\}$$
(21)
$$N_{Mutation} = round\left\{ {Mutation\;Percentage \times Pop} \right\}$$
(22)

The mutation step value is calculated by (23)

$$Sigma = 0.1\left( {Var_{\text{max} } - Var_{\min} } \right)$$
(23)

By considering the constraints of (2) and (3), the design parameters are generated within the interval [Varmin Varmax]. These maximum and minimum values are inspired by physical limitations of circuit. The Sigma value affects the exploration capability of the algorithm and it is named the mutation step. The coefficient is less than one to decrease the computational time and keeps a reasonable exploration capability for algorithm.

Two parameters Single and Double points as the distribution indexes are in (24):

$$pUniform = 1 - P\;Single\;Point - P\;Double\;Point$$
(24)

The applied method for the selection step is Roulette Wheel Selection. The index number generated by the Roulette Wheel Selection function in (25) determines the method of crossover:

$$M = Roulette\;Wheel\;Selection\left( {pSinglePoint,\;pDoublePoint,\;pUniform} \right),\quad 1 \le M \le 3$$
(25)

M is set one or two or three. One refers to single point crossover, two refers to double point crossover, and three refers to uniform distribution crossover type.

Non-dominated sorting genetic algorithms: NSGA and NSGA-II

In the literature of non-dominated sorting Genetic Algorithm, there is NSGA approach that was relatively successful during several years for example in Coello Coello et al. (2007), and Reed et al. (2001), in this study we also implement and apply it for optimization of our problem.

Performance measurement: r

In order to investigate how well the algorithms have distributed solutions over the non-dominated region, we use the Chi square-like deviation form distribution measure used elsewhere (Srinivas and Deb 1994).

$$r = \sqrt {\sum\nolimits_{i = 1}^{q + 1} {\left( {\frac{{n_{i} - \bar{n}_{i} }}{{\sigma_{i} }}} \right)^{2} } }$$
(26)

where q is the number of desired optimal points and (q + 1)-th sub-region is the dominated region, n i is actual number of solutions serving i-th sub-region (niche) of the non-dominated region, \(\bar{n}_{i}\) is expected number of solutions serving i-th sub-region of the non-dominated region, and σ 2 i is the variance of solutions serving i-th sub-region of the non-dominated region. Using probability theory Deb estimated σ 2 i value by (27):

$$\sigma_{i}^{2} = \bar{n}_{i} \cdot \left( {1 - \frac{{\bar{n}_{i} }}{P}} \right)$$
(27)

where P is the population size, therefore, an algorithm with a good distributing capacity is characterize by the lower deviation value and performance measure r.

Proposed fuzzy NSGA-II algorithm: FNSGA-II

The mutation and crossover rates can be changed adaptively during the implementation runs. In this part, a fuzzy inference system FIS is proposed to balance between exploration and exploitation capabilities of NSGA-II algorithm, so the Mutation Percentage and Crossover Percentage are updated in each iteration step. They will determine the exploration and exploitation respectively.

Some fuzzy rules are defined in FIS system that are fired based on input values, as in Table 3.

Table 3 The fuzzy rules in FIS system

Along with the iteration runs, the algorithm may get stuck in a local solution or position, in this case the mutation percentage should be increased and the crossover should be decreased so the idea comes up to propose a fuzzy inference system based on input and output variables in this problem that includes the fuzzy rules in Table 3. Also there may be some solutions that are good but in the first iterations of algorithm, in this condition the crossover should be increased and mutation ought to be reduced. The configuration of Fuzzy NSGA-II algorithm is illustrated in Fig. 8.

Fig. 8
figure 8

The block diagram of fuzzy inference system combined with NSGA-II in FNSGA-II algorithm

Implementation results

Concerning the performance measurement r the lower value for it will lead to the better distribution of solutions and for the proposed problem in this article, the electronic engineers will have more flexibility in circuit design. Table 4 presents the performance measure r multi-objective in the literature of non-dominated sorting genetic algorithm like NSGA, NSGA-II, and the newly proposed FNSGA-II in this article.

Table 4 Performance measure r

The measurement results show that the proposed Fuzzy NSGA-II outperforms the other comparing algorithms therefore we apply it for optimization of layout sizes and power supply in dual edge-triggered static D flip-flop circuit.

We have selected one solution with lower PDP among the first Pareto Front solutions for three algorithms to compare them. We can see that the performance of algorithm NSGA-II is improved by Fuzzy Inference System because of well trade-off between mutation and crossover processes. The candidate obtained power delay product PDP for FNSGA-II is the best one, 6.32 PJ. This goal is achieved when the design parameters are set based on Table 5 values (VDD = 1.21 v, WP = 1.27 μms, and WN = 1.01 µm).

Table 5 Candidate Solutions obtained by algorithms

Conclusion

A new dual edge-triggered static D Flip-Flop with two NMOS MOSFETs is proposed. The design parameters including NMOS/PMOS channel widths and power supply VDD and performance parameters such as average power consumption and delay are investigated. The required background mathematics showed the relationships between them. So a black box of multi-objective optimization algorithm can be defined because the input and output variables are clarified. We then proposed a fuzzy inference system FIS that contains some fuzzy rules. They are fired during the iteration steps to adaptively tune the exploration and exploitation parameters of proposed Fuzzy Non-dominated Sorting Genetic Algorithm, NSGA-II. The literature showed that the two parameters of GA, P mutation , and P crossover may significantly influence the performance of the algorithm. FNSGA-II handles this problem by performing an automatic adaptation of the two parameters of GA taking into account both the global and local optimization, thus diminishing the problem of falling into local minima. The exploration parameters are decreased during the execution of FNSGA-II aiming to quickly find the optimal solution. The iterative link between MATLAB’s algorithm and HSPICE layout design circuit is continued until the stopping criteria, the maximum iteration. Finally FNSGA-II proposed in this paper enables finding solutions that are better distributed the region of solutions of two objective functions. The layout design of suggested Dual Edge-Triggered Static D Flip-Flop Circuit is completed because the optimum values for PMOS and NMOS channel widths WPMOS and WNMOS also the optimum amount for power supply value VDD are obtained by FNSGA-II and base on these values the circuits met the minimum average power and propagation delay time. The power delay product PDP became 6.32 PJ that is good for critical design sensitive to the time and power.

References

  • Bhargavaram D, Pillai MGK (2012) Low power dual edge triggered flip-flop. In: International conference on advances in engineering, science and management (ICAESM), pp 63–67

  • Chen OTC, Sheen RRB, Wang S (2002) A low-power adder operating on effective dynamic data ranges. IEEE Trans Very Large Scale Integr Syst 10(4):435–453

    Article  Google Scholar 

  • Coello Coello CA, Lamont GB, Van Veldhuizen DA (2007) Evolutionary algorithms for solving multi-objective problems. Genetic and evolutionary computation series, 2nd edn. Springer, New York

    Google Scholar 

  • Ehrgott M (2006) Multicriteria optimization. Springer Science & Business Media, Berlin

    Google Scholar 

  • Elias JA (2014) University of Kentucky, Department of Electrical and Computer Engineering, Cypress Semiconductor, Learning 13

  • Keivanian F (2014) Minimization of average power consumption in 3 stage CMOS ring oscillator based on MSFLA, fuzzy-MSFLA, GA, and fuzzy-GA. Int J Comput Appl 104(16):30–37

    Google Scholar 

  • Keivanian F, Yekta Awal A, Mehrshad N (2014a) Optimization of JK Flip Flop Layout with minimal average power of consumption based on ACOR, fuzzy-ACOR, GA, and fuzzy-GA. J Math Comput Sci 14(1):1–15

    Google Scholar 

  • Keivanian F, Mehrshad N, Zahiri SH (2014b) Optimum layout of multiplexer with minimal average power based on IWO, fuzzy-IWO, GA, and fuzzy GA. ACSIJ Adv Comput Sci Int J 3(5):132–139

    Google Scholar 

  • Knepper RW (2009) CMOS design with delay constraints: design for performance. EBook, Chapter 4, p 37. https://www.coursehero.com/file/2264565/chapter4b/

  • Li SS (2006) Semiconductor physical electronics. In: Chapter 15, 2nd Edn. Department of Electrical and Computer Engineering, University of Florida, USA, Springer, p 592. ISBN: 978-0-387-28893-2

  • Lücken CV, Barán B, Brizuela C (2014) A survey on multi-objective evolutionary algorithms for many-objective problems. Comput Optim Appl 58(3):707–756

  • Lyer S (2010) Tutorial Lectures. Stanford University, CMOS Power Consumption

  • Dr. Lynn Fuller (2011) Tutorial power point. Rochester Institute of Technology, Microelectronic Engineering

  • Mihajlovic I, Zivkovic Z, Strbac N, Zivkovic D, Jovanovic A (2007) Using genetic algorithms to resolve facility layout problem. Serbian J Manag 2:35–46

    Google Scholar 

  • Mohanram K (2014) Tutorial lecture. University of Pittsburgh ECE/CoE 0132 Digital Logic

  • Moon UK (1998) Selecting a MOSFET Model. Star-Hspice Manual Index, Chapter 16, p 239, the tutorial lectures

  • Nedovic N, Aleksic M, Oklobdzija VG (2002) Comparative analysis of double-edge versus single-edge triggered clocked storage elements. In: IEEE international symposium on circuits and systems, vol 5, 2002. ISCAS 2002, pp V-105–V-108

  • Reed PM, Minsker BS, Goldberg DE (2001) Designing a new elitist nondominated sorted genetic algorithm for a multiobjective long term groundwater monitoring application. In: Proceedings of the 2001 genetic and evolutionary computation conference. Late-Breaking Papers, p 352–358

  • Singh G, Sulochana V (2013) Low power dual edge-triggered static D flip-flop. preprint arXiv:1307.3075

  • Srinivas N, Deb K (1994) Muiltiobjective optimization using nondominated sorting in genetic algorithms. Evol computat 2(3):221–248

  • Star-HSPICE Manual-Release (2001) Selecting MOSFET models: model 47–62. developed by University of Berkeley, The University of Florida, Rensselaer Polytechnic Institute. http://www.ece.uci.edu/docs/hspice/hspice_2001_2-171.html

  • Stiles J (2014) A mathematical description of MOSFET behavior. Department of Electrical Engineering and Computer Science, University of Kansas. http://www.ittc.ku.edu/~jstiles/312/handouts/A%20Mathematical%20Description%20of%20MOSFET%20Behavior.pdf

  • Varnes M (2013) Trade-offs between performance and robustness for ultra low power/low energy sub threshold D flip-flops in 65 nm CMOS. Master Thesis, Norwegian University of Science and Technology, Department of Electronics and Telecommunications

  • Wallace C (2006) Guide to power measurement. In: A cadence EDA tools help document, cadence documents, p 4. http://www.egr.msu.edu/classes/ece410/mason/files/guide-power.pdf

Download references

Authors’ contributions

FK: Proposing an optimum fuzzy inference system to adaptively harness the control parameters of non-dominate sorting genetic algorithm in fuzzy NSGA-II with fuzzy rules and that is applied for multi-objective optimization of a newly proposed dual edged trigger D Flip-Flop circuit layout design, NM presentation of background mathematics to show the relationship between the design and performance parameters for definition of the circuit layout design as an optimization problem, and AB: In simulation parts and obtaining optimum design parameters for MOSFET channel widths and power supply. All authors read and approved the final manuscript.

Author information

Farshid Keivanian Master of Science in Electronics Engineering 2013–2015, University of Birjand, Iran, GPA: 19.06 Research Interests are Fuzzy Machine Learning, Fuzzy Image Processing, Meta-heurisitc based Optimization in search space, Optimum Fuzzy Rules to control heuristic algorithms’ performance adaptively, Electronics Circuit Layout Optimization. Nasser Mehrshad Associate Professor, University of Birjand, Iran. Research interests: Image Processing, Human Visual Systems, Signal Processing, Biomedical Instrumentations. Abolfazl Bijari Assistant Professor, University of Birjand, Iran. Research interests: Micromechanical frequency-selective devices, RF MEMS switches, Nonlinear effects on MEMS-based devices, Polymer-based MEMS devices, Coplanar Waveguide (CPW) filters.

Competing interests

The authors declare that they have no competing interests.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Farshid Keivanian.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Keivanian, F., Mehrshad, N. & Bijari, A. Multi-objective optimization of MOSFETs channel widths and supply voltage in the proposed dual edge-triggered static D flip-flop with minimum average power and delay by using fuzzy non-dominated sorting genetic algorithm-II. SpringerPlus 5, 1391 (2016). https://doi.org/10.1186/s40064-016-2987-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40064-016-2987-6

Keywords