Next Article in Journal
End-to-End Light License Plate Detection and Recognition Method Based on Deep Learning
Next Article in Special Issue
A Monostable Physically Unclonable Function Based on Improved RCCMs with 0–1.56% Native Bit Instability at 0.6–1.2 V and 0–75 °C
Previous Article in Journal
An Extreme Value Analysis-Based Systemic Approach in Healthcare Information Systems: The Case of Dietary Intake
Previous Article in Special Issue
A Reconfigurable Hybrid RF Front-End Rectifier for Dynamic PCE Enhancement of Ambient RF Energy Harvesting Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design Automation of Low Dropout Voltage Regulators: A General Approach

1
Department of Electrical Engineering, Suez Canal University, Ismailia 41522, Egypt
2
Integrated Circuits Laboratory (ICL), Faculty of Engineering, Ain Shams University, Cairo 11517, Egypt
*
Authors to whom correspondence should be addressed.
Electronics 2023, 12(1), 205; https://doi.org/10.3390/electronics12010205
Submission received: 29 November 2022 / Revised: 26 December 2022 / Accepted: 26 December 2022 / Published: 31 December 2022

Abstract

:
Analog design is an inherently intricate process comprising many trade-offs; as a result, it is an iterative time-consuming operation. A low dropout voltage regulator (LDO) is an example of such analog blocks that involve a myriad of trade-offs. In this paper, we present an automated design procedure for LDOs using precomputed look-up tables (LUTs) and the g m / I D methodology. Using a symbolic solver and the precomputed LUTs, a design database for an LDO that contains one million design points is generated in a few seconds. The database provides visualization of the design space and exploration of the trade-offs across different corners and load currents. A design example is provided to demonstrate the procedure using 40 nm technology and the results are verified using Cadence Spectre simulator. The approach is holistic in the sense that it uses an accurate symbolic solver to capture the small signal model complexities, incorporates LUTs for accurate calculation of the large signal solution and the small signal parameters, is fast because the simulator in the loop scenario is omitted, and almost all the specifications of LDOs are incorporated.

1. Introduction

Although analog IC design requires creativity, the analog IC design flow has been almost the same for more than 50 years. With only minor incremental improvements, the design flow lacks methodological cogitation. The analog design process starts with specifications entailed by the system. The designer then relies on his experience along with back-and-forth iterative simulator sweeps until a satisfactory design point is reached. In addition to being a manual and tedious process, the result is not guaranteed to be optimal. These lengthy manual iterations waste considerable time making analog design the bottleneck in a digital-driven system-on-a-chip market.
The lack of a systematic analog design approach is the result of two main factors. First, as the transistor size is scaled down, or the device is biased in moderate or weak inversion, the widely-known simple MOSFET square model fails to capture the actual device behavior. Thus, a design procedure that relies on simple long-channel models suffers from degraded accuracy. On the other hand, more accurate models are too complicated and do not lend themselves to equation-based methodologies. Second, when the circuit includes more transistors, the small signal analysis quickly turns into a burden, and brute force mesh and nodal analysis equations become intractable, and they hardly provide any design insight. Design-oriented analysis methods such as the N-extra elements method [1], and its modern variant, the generalized time and transfer constant method [2], provide more efficient analysis techniques. However, to benefit from their invaluable efficacy in design, many approximations still need to be completed. In addition, modifying the simplified textbook MOSFET small signal model [3] to account for parasitic resistances and the parasitic drain-source capacitance ( c d s ) in deep sub-micron technologies renders the analysis impractical.
As a remedy for the first limitation, the g m / I D design methodology [4,5,6] along with precomputed lookup tables (LUTs) come into play. The versatility of the g m / I D design methodology made it a powerful choice for analog design automation [7,8,9,10,11]. The key notion of the methodology is that the g m / I D defines the inversion level of the transistor regardless of the bias current ( I D ) and the device length ( L ) ; hence g m / I D can be used as an orthogonal and normalized design knob for the transistor bias point. The orthogonality of g m / I D , L and I D provides a systematic design and fair exploration of the design trade-offs. To invoke the methodology in an analog design automation procedure, the LUTs are built using a circuit simulator that uses the most accurate device models, thus dismissing the need to use simple approximate models. This procedure bridges the aforementioned gap and facilitates calculation of the different device parameters accurately. Furthermore, the process of LUT generation is performed once per technology. Regarding the second shortcoming, using a fast small signal symbolic solver that can easily accommodate different technology parasitics is an effective solution. Nonetheless, rough hand analysis is indispensable as qualitative guidance to understand the design trade-offs and to define a reasonable search space.
Low-dropout regulators (LDOs) are imperative in modern system-on-chips (SoCs) given the continuous downscaling of the supply voltage and the inherently noisy environment of SoC. Owing to the nature of the LDO being an analog block, its design is not a straightforward task, as it involves many trade-offs, design variables, and degrees of freedom. Finding a design point that meets all the specifications is complicated. Several attempts have been made to automate or optimize the design of LDOs. In [12], an equation-based optimization scheme is adopted. A surrogate model for the LDO is used from which design equations are derived. Physics-based models along with curve fitting are used to approximate the small signal behavior of the transistors. Although fast, this approach lacks accuracy due to the approximations made in the equations and the device models. Similarly, the work in [13,14] used the same equation-based optimization scheme. In the former study, equations were formulated using the g m / I D methodology, leading to the use of rough approximations. In addition, the settling time is reported without explicit mention of the calculation method. The latter formulated the equations in a posynomial form to be able to use geometrical programming. However, the posynomial model accuracy deteriorates at short channel lengths. In [15,16], simulation-based optimization is used. Simulation-based approaches are more accurate. Nonetheless, a very high computational power is needed and a large amount of time is required. Moreover, the previous attempts did not provide design space visualization under different constraints.
In this paper, we present a general automated design flow for LDOs that overcomes the accuracy and speed limitations of the approaches reported in the literature, incorporates line transient regulation with accuracy and speed, and considers the systematic mismatch forced by the feedback in both the design and evaluation of the specifications. The rest of the paper is organized as follows. Section 2 presents an overview of LDO specifications. Section 3 describes the automation flow along with an explanation of how the specifications are calculated. Results and design examples are provided in Section 4. Section 5 concludes the paper.

2. LDO Specifications Overview

This section provides an overview of the LDO specifications that will be considered in our design procedure. A rough hand analysis is carried out for the sake of completeness and to illustrate the design trade-offs presented in Section 4. Figure 1 shows the schematic of the LDO used as an example in this paper. A simple architecture is chosen to elaborate on the design flow. However, the flow is general, and can be applied to any other architecture. M 1 a , b , M 2 a , b , and M 4 constitute the LDO error amplifier, M 3 is the pass device used to supply the current to the load. I L and C L are the current drawn by the load and the capacitance of the load, respectively. R1 and R2 are the resistive feedback network that determines the ratio between the reference voltage V r e f and the output voltage of the regulator V r e g . Finally, C C is the miller compensation capacitor used to ensure stability. The considered LDO specifications are presented in the following subsections.

2.1. Dropout Voltage

The dropout voltage is defined as the minimum difference between the input ( V D D ) and the output ( V r e g ), such that the regulation is maintained [17]. As this is the minimum value of V D S of M 3 , the dropout can be considered as its saturation voltage ( V D S A T ). A smaller dropout at a given load current implies a wider device.

2.2. Loop Gain

Cutting the feedback loop at the gate of M 1 a , the loop gain is obtained as follows:
L G D C g m 1 a , b ( g d s 2 a , b + g d s 1 a , b ) g m 3 g d s 3 + Y L R 2 R 1 + R 2
where Y L is the equivalent load resistance and the term ( R 1 + R 2 ) 1 is omitted from the addition in the denominator of the second term, as these resistors are usually relatively large. The Miller effect causes pole splitting, leading the dominant pole at the gate of the pass device to be
ω P 1 ( g d s 3 + Y L ) ( g d s 2 a , b + g d s 1 a , b ) g m 3 ( C C + C g d 3 )
while the non-dominant pole is at the output node and is obtained by
ω P 2 g m 3 + g d s 3 + Y L C L
given that C c + C g d 3 C g s 3 . If the previous inequality is not satisfied, the phase margin P M will exhibit strong dependence on Y L . Additionally, a zero exists at ω Z g m 3 C C . The overall loop gain can be written as
L G ( s ) L G D C ( 1 s ω Z ) ( 1 + s ω p 1 ) ( 1 + s ω P 2 )

2.3. Load Regulation

Load regulation is the change of the regulated output voltage with respect to the change in the load current, i.e., V r e g I L . As noted in the definition, this represents the output impedance of the LDO. The output impedance is the parallel combination of Y L , g d s 3 , ( R 1 + R 2 ) and the closed-loop output impedance of the pass device R o u t 3 . The pass device can be thought of as being diode-connected with its g m boosted by the amplifier [18]; hence,
R o u t 3 ( g d s 1 a , b + g d s 2 a , b ) g m 3 g m 1 a , b ( 1 + R 1 R 2 )
The load regulation expression is dominated by the last term being much smaller than the others. As a result, load regulation is expressed as
L D R ( g d s 1 a , b + g d s 2 a , b ) g m 3 g m 1 a , b ( 1 + R 1 R 2 ) 1 g d s 3 L G D C
the previous expression is sometimes referred to as AC load regulation, as it relates small changes in the load current to changes in the regulated voltage. The DC load regulation, defined as V r e g I L , is related to the AC load regulation as follows:
L D R D C = 1 I L L D R A C d I L
Since the integral is a linear operator, decreasing the AC load regulation necessarily decreases the DC load regulation, which is intuitive. Load transient regulation involves adding a load current transient step and observing the regulated output voltage. However, the analysis of the load transient is not straightforward due to the strong dependence of the small signal parameters on the load current, along with the presence of a large signal behavior; the slew rate [19].

2.4. Power Supply Rejection (PSR)

PSR is an important specification that reflects the LDO ability to shield the load from supply variations. There are two paths from which the supply noise can propagate to the output, namely, from the gate-source voltage of the pass device and through its small signal output resistance g d s 3 . The used amplifier topology is type A; hence, P S R A m p 1 [19]. Since the gate of the pass device tracks its source, the propagation of the first path is neglected. The contribution of the second path can be thought of as a voltage divider between R o u t 3 | | Z L t o t and g d s 3 where Z L t o t = Y L 1 | | 1 S C L | | ( R 1 + R 2 ) ; hence, the PSR can be written as
P S R D C g d s 3 ( g d s 1 a , b + g d s 2 a , b ) g m 3 g m 1 a , b ( 1 + R 1 R 2 ) 1 L G D C
where Z L t o t is neglected at low frequencies. To account for frequency dependence, the same voltage divider principle is used with the following modification: R o u t 3 1 g d s 3 L G D C ( 1 + S ω p 1 ) . After some algebraic manipulations, it can be shown that
P S R ( s ) P S R D C ( 1 + s ω P 1 ) ( 1 + s L G D C ω P 1 ) ( 1 + s ω P 2 )
where
ω P 2 1 C L ( Y L 1 | | ( R 1 + R 2 ) )
The DC counterpart of PSR is line regulation. Same as the DC load regulation,
L R = 1 V D D P S R D C d V D D
Nevertheless, at a fixed load current, approximating the line regulation to be P S R is quite accurate owing to the high linearity implied by the feedback. An accurate method to compute the line transient from P S R is proposed in Section 3.

2.5. Output Noise

The main noise sources in the LDO are: the amplifier noise modeled as input referred voltage noise V n , A m p 2 ¯ , the pass device noise modeled by its gate referred voltage V n , 3 2 ¯ , which can be divided by the amplifier gain, A v a m p 2 , to be placed in series with V n , A m p 2 ¯ , and the resistors noise. The noise current of both resistors flow through R 1 , producing V n , R 2 ¯ = 4 k T R 1 ( 1 + R 1 R 2 ) at the output. The total output noise can be written as follows:
V n , o u t 2 ¯ ( 1 + R 1 R 2 ) 2 ( V n , A m p 2 ¯ + V n , 3 2 ¯ A v a m p 2 + 4 k T ( R 1 | | R 2 ) )

3. Design Automation Procedure

The design automation procedure main flow is shown in Figure 2. The flow uses precomputed LUTs that store the large signal and small signal behavior of the devices, in addition to automatically generated symbolic expressions of the performance metrics. An array of design points that uniformly covers the design space of interest is used. A vectorized evaluation of the design metrics is performed to compute the DC solution, in addition to the substitution in the symbolic solver equations. The flow is detailed in the following sub-sections.

3.1. LUTs Generation

The process of LUT generation for the transistors is achieved by performing sweeps across four main grid axes ( V G S , L , V D S , V S B ) . The characterization is performed at a single reference width W r e f , since for a given bias point the parameters of the MOSFET scale linearly with the width, which facilitates the calculation of the large signal current and the small signal parameters at any given width using simple linear scaling. At each grid point, OP and noise analyses are carried out to obtain the DC, the small signal, and the noise parameters of the device. These parameters are stored in 4D arrays. Post-processing is performed to facilitate inverse lookup, i.e., looking up the parameters using g m / I D as the main axis instead of V G S , as dictated by the g m / I D methodology. All the lookup operations and off-grid points interpolations are carried out according to the method proposed in [20] to ensure accuracy, speed, and practical LUTs size. The simulator is invoked in the LUT generation step only. The used LUT size is 780 MB (one for NMOS and one for PMOS). Each LUT has two corners, namely TT at 27 C and SS at 75 C. The sampling of the parameters is as follows:
  • W r e f : 1 μ
  • L: 40 n:0.02 μ :0.5 μ , 0.6 μ :0.1 μ :1 μ , 1.2 μ :0.2 μ :2 μ , 2 μ :0.5 μ :6 μ
  • V G S : 0:20 m:1.2
  • V D S : 25 m:25 m:1.2
  • V S B : 0:50 m:1.2
The sampling step is fine for V G S and relatively coarse for V D S and V S B since V G S is the primary variable controlling the transistor behavior. The LUT complete generation process required 4 h. However, this process is performed once per technology.

3.2. The Symbolic Solver

A custom-written symbolic solver with Python is used to calculate the small signal transfer functions of the circuit. The input to the symbolic solver is the circuit netlist. The netlist is parsed by a custom-written parser and each MOSFET is replaced by its small signal equivalent model. This model can be modified easily to account for different parasitics according to the technology under consideration. Alternatively, the small signal model can be fixed and the effective small signal parameters are extracted to account for the parasitics. A matrix of the circuit is built based on a modified nodal analysis (MNA) and transfer functions are calculated by solving the linear matrix. In the noise analysis, the equivalent noise current source of each MOSFET is placed in the model between the drain and the source of the MOSFET; then, the total noise contribution at the output can be calculated by superposition. For loop gain calculation, the loading effects and bilaterality of the loop are taken into consideration by applying the loop-based method described in [21], which yields highly accurate results at all frequencies of interest. The output expressions are then stored to be used during the design database generation. Editing the netlist or adding a new netlist for another topology does not require any additional coding. The procedure of generating the symbolic expressions is performed once per topology.

3.3. Corners and Degrees of Freedom (DoFs)

Corners can be defined as the global variables for which the whole circuit is solved and the specifications are evaluated. In addition to the MOSFET process corners, temperature, and V D D , the load current ( I L ), the load capacitance( C L ), and the reference voltage ( V r e f ) are considered as corners. The degrees of freedom (DoFs) are the independent variables of the circuit for which the design is evaluated for each DoFs combination. The DoFs are mainly the g m / I D , I D , and L of each device in addition to other circuit and topologically imposed DoFs. These DoFs are set to random values between a user-defined minimum and maximum value for each DOF. Table 1 demonstrates the corners and DoFs for the LDO design problem under consideration.

3.4. Design and Solve Modes

Circuit design (determining device widths given the g m / I D ) is performed at the typical corner which is designated by the largest load current supplied by the LDO. As a result, the pass device is guaranteed to be in saturation when solving for any lower load current. The design is provided for all DoFs combinations at the same time as the LUTs are vectorized, leading to superior speed performance. The sizing of each device is achieved based on its g m / I D , L, and I D . For the diode-connected device M 4 a , it has the same L as that of M 4 b , while its width is a scaled version of M 4 b depending on I r e f . The design algorithm is detailed in Algorithm 1. The notation L ( Y ) ( X ) indicates the lookup value (Y) as a function of (X). Two special functions denoted as L D C ( Y ) ( X ) and L F S ( Y ) ( X ) are used to lookup the V G S of a diode connected device and a floating source device (given the known drain and gate voltages), respectively.
Algorithm 1 Design mode algorithm
R 2 = R 1 / ( ( V r e g / V r e f ) 1 )
M 3 ( I D ) = I L + V r e g / ( R 1 + R 2 )
M 3 ( V G S ) = L ( V G S ) ( ( g m / I D ) 3 , L 3 , V D D V r e g , 0 )
M 3 ( J D ) = L ( J D ) ( M 3 ( V G S ) , L 3 , V D D V r e g , 0 )
M 3 ( W ) = M 3 ( I D ) / M 3 ( J D )
M 2 a ( V G S ) = L D C ( V G S ) ( ( g m / I D ) 2 , L 2 , M 2 a ( V G S ) , 0 )
M 2 a ( J D ) = L ( J D ) ( M 2 a ( V G S ) , L 2 , M 2 a ( V G S ) , 0 )
M 2 a ( W ) = ( I Q / 2 ) / M 2 a ( J D )
M 2 b ( W ) = M 2 a ( W )
M 1 b ( V D ) = V D D M 2 b ( V D S )
M 1 b ( V G S ) = L F S ( V G S ) ( ( g m / I D ) 1 , L 1 , V r e f , M 1 b ( V D ) )
M 1 b ( J D ) = L ( J D ) ( M 1 b ( V G S ) , L 1 , M 1 b ( V D S ) , M 1 b ( V S B ) )
M 1 b ( W ) = ( I Q / 2 ) / M 1 b ( J D )
M 1 a ( W ) = M 1 b ( W )
M 4 b ( V D S ) = V r e f M 1 b ( V G S )
M 4 b ( V G S ) = L ( V G S ) ( ( g m / I D ) 4 , L 4 , M 4 b ( V D S ) , 0 )
M 4 b ( J D ) = L ( J D ) ( M 4 b ( V G S ) , L 4 , M 4 b ( V D S ) , 0 )
M 4 b ( W ) = I Q / M 4 b ( J D )
Note that for design, symmetry of the OTA is assumed. This is correct given the open loop operation. However, due to negative feedback, a slight mismatch occurs between the current in the two branches of the OTA. This requires a solving algorithm block to correct the DC bias point shift due to the current mismatch, as P S R is sensitive to such a bias point shift. The solving algorithm is shown in Algorithm 2. When solving the circuit across corners, Algorithm 2 is used in addition to accounting for M 3 bias point dependence on I L .
Algorithm 2 Design mode algorithm
while i < m a x i t r do
  while j < m a x i t r do
    M 2 b ( V G S ) = M 2 a ( V G S )
    M 2 b ( V D S ) = M 3 ( V G S )
    M 2 b ( J D ) = L ( J D ) ( M 2 b ( V G S ) , L 2 , M 2 b ( V D S ) , 0 )
    M 2 b ( I D ) = M 2 b ( W ) M 2 b ( J D )
    M 1 b ( J D ) = M 2 b ( I D ) / M 1 b ( W )
    M 1 b ( V G S ) = L F S ( V G S ) ( ( M 1 b ( J D ) , L 1 , V r e f , M 1 b ( V D ) )
    M 2 a ( I D ) = M 4 b ( I D ) M 2 b ( I D )
    M 2 a ( V G S ) = L D C ( V G S ) ( M 2 a ( J D ) , L 2 , M 2 a ( V G S ) , 0 )
    M 1 a ( V D ) = V D D M 2 ( V G S )
    M 1 a ( V s ) = V r e f M 1 b ( V G S )
    M 1 a ( V G S ) = L F S ( V G S ) ( ( M 1 a ( J D ) , L 1 , M 1 a ( V D S ) , M 1 a ( V S B ) )
  end while
   M 4 b ( V D S ) = V r e f M 1 b ( V G S )
   M 4 b ( J D ) = L ( J D ) ( M 4 b ( V G S ) , L 4 , M 4 b ( V D S ) , 0 )
   M 4 b ( I D ) = M 4 b ( W ) M 4 b ( J D )
end while
V r e g = V r e f M 1 b ( V G S ) + M 1 a ( V G S )
The algorithm may seem to be complex. However, it is practically divided into blocks to ensure code reuse for other LDO topologies. Furthermore, the process of generating the DC design and solving equations can be automated to be generated directly from the circuit netlist for greater efficiency.

3.5. Specifications Calculation

3.5.1. Dropout Voltage

The dropout voltage can be calculated directly from the LUT as the saturation voltage of the pass device. The saturation voltage can be defined as V D S A T (as defined in the device model) or V * = 2 / ( g m / I D ) .

3.5.2. Loop Gain

The loop gain is calculated from the expression generated by the symbolic solver by substituting the small signal parameter values. Additionally, the loop gain unity gain frequency and the phase margin are calculated from the same expression.

3.5.3. Load Regulation

The AC load regulation is calculated from the symbolic solver expressions. The DC load regulation is calculated as the difference between the V r e g value at each load current corner divided by the change in the load current value. This will provide highly accurate results as the DC bias point is calculated accurately.

3.5.4. Power Supply Rejection ( P S R )

For PSR calculation, direct substitution is performed in the symbolic solver transfer function at any required frequency. DC line regulation is calculated similarly to DC load regulation directly from the value of V r e g at each V D D value. Nevertheless, evaluating transient line regulation is not as simple. The brute force method is to invoke the simulator, and then perform transient analysis at each design point in the database. This will give rise to an extremely large time overhead in the process. Building a custom transient engine is also inefficient and will require a long execution time, similar to a standard simulator.
The difficulty with calculating transients in analog design is that transients usually enforce non-linear behavior, which makes the analysis more difficult. Fortunately, the deviations induced in the small signal parameters due to the change of the bias point do not have much impact. This is due to the high linearity of the circuit at a given load current imposed by the negative feedback. The latter promotes the use of the P S R transfer function to calculate the line transient regulation. The time-varying pulse applied on the V D D rail is not an ideal square wave; rather, it can be fairly approximated as a difference between two ramp functions V D D T ( r ( t ) r ( t T ) ) , where T is the rise time of the input waveform.
The expected way to compute the line transient, since now we approximate the system by its linear small signal representation, would be to take the Laplace transform of the input wave signal and multiply it by the transfer function P S R ( s ) , and then take the inverse Laplace transform of one million design points of the DDB to obtain the time domain signal. However, the process of inverse Laplace transform in the case of our complex exact P S R ( s ) transfer function obtained from the symbolic solver is a computational burden and will lead to extra time.
A simple quick method is devised to compute the line transient accurately. Using a simpler form of P S R ( s ) in Equation (9), it can be rewritten as P S R ( s ) P S R D C ( 1 + s ω P 1 ) with fair accuracy, and the Laplace transform of the input signal is V D D T ( 1 e s T s 2 ) . Multiplying both functions and then applying inverse Laplace transform, the change in v r e g as a function of time will be
v r e g ( t ) = V D D P S R D C ( ω r ( r ( t ) r ( t T ) ) + ω r ω P 1 ( u ( t ) u ( t T ) ) )
where ω r is the inverse of the rise time T. The maximum amplitude of the output wave is seen to be V D D P S R D C ( ω r ω P 1 + 1 ) , which is V D D multiplied by P S R ( j ω ) evaluated at ω r given that ω r ω P 1 . Thus, we only need to evaluate P S R ( j ω r ) to calculate line transient. Adding more terms from the P S R transfer function will not affect the maximum amplitude of the time domain signal. For example, adding the pole of P S R ( s ) from Equation (9) in the previous derivation will contribute a term with magnitude V D D P S R D C ( ω r L G D C ω P 1 ) , which is lower than the derived maximum amplitude by the L G D C . The proposed method is extremely fast compared to the conventional method; even when trying to evaluate ω P 1 itself from the transfer function, it also prevents invocation of the simulator in the loop. The accuracy is good, as will be shown in Section 4.

3.5.5. Output Noise

Total integrated output noise can be calculated by integrating the symbolic solver noise transfer function up to the desired frequency. Additional, thermal noise density can be evaluated at any required frequency.

3.5.6. Mismatch

The effect of random mismatch on V r e g is typically characterized by performing Monte Carlo simulations. This type of simulation is time consuming as the circuit has to be solved hundreds of times to obtain the output statistical distribution. We consider the mismatch effect according to the fast method described in [11], where the mismatch is considered to be a small perturbation imposed on the nominal bias point, facilitating the use of the linearized small-signal models of the devices. The transfer functions from each mismatch source to the output are then used to yield the statistical distribution. The effect of systematic mismatch due to feedback was already considered in DC Design/Solve in addition to the small signal netlist.

4. Results and Discussion

As mentioned, the design flow is agnostic to the technology and the topology used. To illustrate the flow, a 40 nm technology is used and a database is generated for the LDO in Figure 1. The LDO is designed to sink a current of 5 mA and the design will also be evaluated at corners. The Design corners for the database are shown in Table 2, where C 1 denotes the corner at which I L is minimum, C 2 represents the corner with variations in the voltage generator output V r e f , and variations in I r e f , which is denoted by I Q / I Q N o m i n a l , and in C 3 , the LUT tables at S S and T = 75 are used, as they were used to design the LDO in [22]. Note that for C 2 , the change in V r e f is assumed to be 1 % which is a large variation as the change in the voltage reference generator is in the order of a few p p m . Additionally, the change in I r e f is taken to be 10 % . The DoFs are shown in Table 3. One million design points are generated in the database in 4.9 s. The computer used for the generation has a Core(TM) i7-8565U CPU and 8 GB RAM.

4.1. Design Space Visualization

In this section, we use the generated database to explore trade-offs through design space visualization. The design points are plotted as a scatter plot and constraints can be applied to the design points to designate the subspace that fulfills the constraints. The x and the y axes can be any DOF or output specifications. The painted design space readily provides the designer with information about the feasibility limits of the topology under consideration and the available room for improvement. The DoFs can be tuned to move the design point interactively until it reaches the required specifications. Alternatively, the best design point for a given goal function can be extracted from the database and further optimization can be performed by using it as an initial seed.
Figure 3 demonstrates the design space of the database where the axes are the quiescent current of the OTA and the transient line regulation. The blue points are all the design points, while the orange points are those that obey the constraints of L G D C > 100 and P M > 60 . The Pareto optimal front clearly shows the trade-off between the transient line regulation and the quiescent current. This is obvious from Equation (9); decreasing the current means a higher output resistance at the output of the OTA. This leads to a decreased value of the pole at this point, which happens to be zero in the high-frequency P S R . As a result, P S R degrades earlier, which causes the deterioration of the transient line regulation. In the figure, the tuned points are moved on the optimal front to minimize both the transient regulation and the current.
The trade-off between the DC P S R and area is demonstrated in Figure 4. In Equation (8), decreasing P S R requires decreasing the output conductances and increasing the transconductance of the pass device, which translates directly to an increase in area. To minimize both quantities, a point on the Pareto front should be chosen. The position of the point is determined by the weight given to each specification in the optimization process.
Another trade-off is explored in Figure 5 between the DC and high-frequency PSR. The trade-off can be explained by Equations (8) and (9). As mentioned before, decreasing the DC P S R requires decreasing the output conductances and increasing the transconductance of the pass device. Accordingly, the dominant node will have higher impedance and higher parasitics, thereby degrading P S R at high frequencies.

4.2. Design Examples

Two design examples are presented using 40 nm technology with the previously generated database. The design point should satisfy certain constraints while optimizing two specifications simultaneously. Equal weights are given to the two specifications in the optimization process. The sizing parameters will be shown and the synthesis results will be compared to the simulation results.

4.2.1. First Design Example

The first design example should satisfy the specifications shown in Table 4. The sizing parameters are shown in Table 5. Table 6 compares the synthesis results to the simulation results. Note that for transient line regulation, the P S R test signal is a square wave with a 200 mV peak to peak and 500 ns rise time. Additionally, the load regulation is the same for the two corners (Nominal and C 1 ) as it is an across-corner specification. I Q t o t is the total current consumed in the OTA and the resistive divider. The synthesis shows excellent agreement with the simulation. The error in transient line regulation is expected as we used an AC quantity to approximate it. Nevertheless, the accuracy is good. In addition, Figure 6 shows the P S R vs. frequency of the tuned point for the first two corners and L G is shown in Figure 7. The curves of synthesis and simulation are almost identical for the whole frequency range, validating the accuracy of the proposed flow.
The random mismatch effect was calculated using the noise analysis transfer functions. Monte Carlo simulations were performed with Cadence Spectre using 200 runs. In Figure 8, the histogram is plotted from the simulation data, and the fit is achieved using the estimated mean and standard deviation from these data. The synthesis plot is constructed using the calculated mean and standard deviation from the mentioned procedure. Both the simulation and the synthesis results are close to each other.

4.2.2. Second Design Example

The second design example should satisfy the specifications shown in Table 7. The sizing parameters are shown in Table 8. The constraints are the same for this design example; however, the objectives are different. The chosen point does not quite reside on the Pareto optimal front because the sacrifice of 2 dB from the DC P S R decreases the width of the pass device by a large factor. Table 9 compares the synthesis results to the simulation results, and it can be seen that both are very close to each other.

4.2.3. Flow Performance Summary

In general, the efficacy and strength of the flow against other approaches and standard optimization engines embedded in cad tools can be summarized as follows:
  • Design space visualization: The proposed flow can solve hundreds of thousands of design points for a given LDO topology to visualize the complete design space (not possible with SPICE-in-the-loop even for DC/AC sim) and understand the trade-offs.
  • Speed and accuracy: The flow is extremely fast. One million design points are generated in 4.9 s, which is an average of 4.9 micro seconds per design point. Using the simulator, the AC, DC and transient simulations for a single design point spanned 5.06 s on the same machine used to generate the database. In addition, the results are accurate when compared to the simulator and almost all the specifications of LDOs are included.
  • Feasibility: SPICE-in-the-loop optimization does not provide any information about whether the used LDO specifications are feasible or not. The presented procedure indicates the topology limits, i.e.,: what the maximum PSR achievable is, what is the minimum line transient regulation, etc.
  • Applicability: The flow can be easily applied to any LDO topology with as few steps as possible, as opposed to other approaches which require a large setup overhead to account for new topologies.
Table 10 presents a qualitative comparison between the proposed flow and other reported procedures.

5. Conclusions

This paper presented a general flow for the design automation of LDOs. LUTs were used to sustain accuracy without the need to invoke the simulator in the loop. A symbolic solver was used to preserve the expression accuracy and account for different parasitics. The g m / I D methodology was used for the design to facilitate orthogonal exploration of the trade-offs. A fast technique was introduced to calculate the line transient regulation without the need to call the simulator. A database with one million design points was generated in 4.9 s on a computer with standard capabilities that facilitated design space visualization and tuning across corners. Design examples were provided using a 40 nm technology, and the synthesis results showed excellent agreement with the simulator results.

Author Contributions

Conceptualization, K.M. and H.O.; methodology, K.M. and H.O.; software, K.M. and H.O.; validation, K.M.; formal analysis, K.M.; investigation, K.M.; resources, K.M. and H.O.; data curation, K.M.; writing—original draft preparation, K.M.; writing—review and editing, K.M. and H.O.; visualization, K.M. and S.N.; supervision, H.O. and S.N.; project administration, H.O.; funding acquisition, H.O. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Egypt’s Information Technology Industry Development Agency (ITIDA) grant number ARP2021.R30.4.

Acknowledgments

The authors would like to thank the Analog Designer’s Toolbox (ADT) team at Master Micro LLC for supporting this work.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Middlebrook, R.; Vorperian, V.; Lindal, J. The N Extra Element Theorem. IEEE Trans. Circuits Syst. I Fundam. Theory Appl. 1998, 45, 919–935. [Google Scholar] [CrossRef] [Green Version]
  2. Hajimiri, A. Generalized Time- and Transfer-Constant Circuit Analysis. IEEE Trans. Circuits Syst. I Regul. Pap. 2010, 57, 1105–1121. [Google Scholar] [CrossRef]
  3. Johns, D.A.; Martin, K. Analog Integrated Circuit Design; John Wiley & Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
  4. Silveira, F.; Flandre, D.; Jespers, P.G. A gm/ID based methodology for the design of CMOS analog circuits and its application to the synthesis of a silicon-on-insulator micropower OTA. IEEE J. Solid-State Circuits 1996, 31, 1314–1319. [Google Scholar] [CrossRef]
  5. Jespers, P. The gm/ID Methodology, a Sizing Tool for Low-Voltage Analog CMOS Circuits: The Semi-Empirical and Compact Model Approaches; Springer Science & Business Media: New York, NY, USA, 2010. [Google Scholar]
  6. Aminzadeh, H. Systematic circuit design and analysis using generalised gm/ID functions of MOS devices. IET Circuits Devices Syst. 2020, 14, 432–443. [Google Scholar] [CrossRef]
  7. Tlelo-Cuautle, E.; Sanabria-Borbon, A. Optimising operational amplifiers by evolutionary algorithms and gm/Id method. Int. J. Electron. 2016, 103, 1665–1684. [Google Scholar] [CrossRef]
  8. Jespers, P.G.; Murmann, B. Systematic Design of Analog CMOS Circuits; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar]
  9. Sabry, M.N.; Omran, H.; Dessouky, M. Systematic design and optimization of operational transconductance amplifier using gm/ID design methodology. Microelectron. J. 2018, 75, 87–96. [Google Scholar] [CrossRef]
  10. Elmeligy, K.; Omran, H. Fast Design Space Exploration and Multi-Objective Optimization of Wide-Band Noise-Canceling LNAs. Electronics 2022, 11, 816. [Google Scholar] [CrossRef]
  11. Omran, H.; Amer, M.H.; Mansour, A.M. Systematic Design of Bandgap Voltage Reference Using Precomputed Lookup Tables. IEEE Access 2019, 7, 100131–100142. [Google Scholar] [CrossRef]
  12. Soto-Aguilar, S.; Sanabria-Borbón, A.; Sánchez-Sinencio, E. Surrogate-based Optimization-aided Design for Low Power Analog Circuits. In Proceedings of the 2018 IEEE 61st International Midwest Symposium on Circuits and Systems (MWSCAS), Windsor, ON, Canada, 5–8 August 2018; pp. 566–569. [Google Scholar]
  13. Chen, Y.L.; Chu, G.M.; Lien, Y.C.; Lee, C.M.; Liu, C.N.J. Simultaneous optimization for low dropout regulator and its error amplifier with process variation. In Proceedings of the Technical Papers of 2014 International Symposium on VLSI Design, Automation and Test, Hsinchu, Taiwan, 28–30 April 2014; pp. 1–4. [Google Scholar] [CrossRef]
  14. DasGupta, S.; Mandal, P. An automated design approach for CMOS LDO regulators. In Proceedings of the 2009 Asia and South Pacific Design Automation Conference, Yokohama, Japan, 19–22 January 2009; pp. 510–515. [Google Scholar] [CrossRef]
  15. López-Arredondo, J.; Tlelo-Cuautle, E.; Fernández, F.V. Optimization of LDO voltage regulators by NSGA-II. In Proceedings of the 2016 13th International Conference on Synthesis, Modeling, Analysis and Simulation Methods and Applications to Circuit Design (SMACD), Lisbon, Portugal, 27–30 June 2016; pp. 1–4. [Google Scholar]
  16. Martins, I.; Olivera, F.; Petraglia, A. A Computer-Aided Approach for Low-Power LDO Regulator Design. 2021. Available online: https://www.researchgate.net/publication/351308616_A_Computer-Aided_Approach_for_Low-Power_LDO_Regulator_Design (accessed on 10 November 2022).
  17. Rincón-Mora, G.A. Analog IC Design with Low-Dropout Regulators (LDOs); McGraw-Hill Education: Berkshire, UK, 2009. [Google Scholar]
  18. Razavi, B. The Low Dropout Regulator [A Circuit for All Seasons]. IEEE Solid-State Circuits Mag. 2019, 11, 8–13. [Google Scholar] [CrossRef]
  19. Torres, J.; El-Nozahi, M.; Amer, A.; Gopalraju, S.; Abdullah, R.; Entesari, K.; Sanchez-Sinencio, E. Low Drop-Out Voltage Regulators: Capacitor-less Architecture Comparison. IEEE Circuits Syst. Mag. 2014, 14, 6–26. [Google Scholar] [CrossRef]
  20. Youssef, A.A.; Murmann, B.; Omran, H. Analog IC design using precomputed lookup tables: Challenges and solutions. IEEE Access 2020, 8, 134640–134652. [Google Scholar] [CrossRef]
  21. Tian, M.; Visvanathan, V.; Hantgan, J.; Kundert, K. Striving for small-signal stability. IEEE Circuits Devices Mag. 2001, 17, 31–41. [Google Scholar] [CrossRef]
  22. Razavi, B. The Design of An LDO Regulator [The Analog Mind]. IEEE Solid-State Circuits Mag. 2022, 14, 7–17. [Google Scholar] [CrossRef]
Figure 1. Circuit diagram of the LDO.
Figure 1. Circuit diagram of the LDO.
Electronics 12 00205 g001
Figure 2. Design automation procedure flow.
Figure 2. Design automation procedure flow.
Electronics 12 00205 g002
Figure 3. Transient line regulation vs I Q design space for the maximum and minimum load current. The white arrows represent the movement of the chosen design point on the Pareto optimal front as different weights are assigned to each specification.
Figure 3. Transient line regulation vs I Q design space for the maximum and minimum load current. The white arrows represent the movement of the chosen design point on the Pareto optimal front as different weights are assigned to each specification.
Electronics 12 00205 g003
Figure 4. PSR@DC vs. Area design space for the maximum load current. The white arrows represent the movement of the chosen design point on the Pareto optimal front as different weights are assigned to each specification.
Figure 4. PSR@DC vs. Area design space for the maximum load current. The white arrows represent the movement of the chosen design point on the Pareto optimal front as different weights are assigned to each specification.
Electronics 12 00205 g004
Figure 5. PSR@1MHz vs. PSR@DC design space for the maximum load current. The white arrows represent the movement of the chosen design point on the Pareto optimal front as different weights are assigned to each specification.
Figure 5. PSR@1MHz vs. PSR@DC design space for the maximum load current. The white arrows represent the movement of the chosen design point on the Pareto optimal front as different weights are assigned to each specification.
Electronics 12 00205 g005
Figure 6. PSR vs. Frequency. (a) Nominal. (b) C1.
Figure 6. PSR vs. Frequency. (a) Nominal. (b) C1.
Electronics 12 00205 g006
Figure 7. LG vs. Frequency. (a) Nominal. (b) C1.
Figure 7. LG vs. Frequency. (a) Nominal. (b) C1.
Electronics 12 00205 g007
Figure 8. Probability density function (PDF) of V r e g due to random mismatch.
Figure 8. Probability density function (PDF) of V r e g due to random mismatch.
Electronics 12 00205 g008
Table 1. Corners and DoFs for the LDO.
Table 1. Corners and DoFs for the LDO.
CornersDoFs
MOSFET Process Corners M 1 ( L )
Temp M 2 ( L )
V D D M 3 ( L )
I L M 4 ( L )
C L M 1 ( g m / I D )
V r e f M 2 ( g m / I D )
I Q / I Q N o m i n a l M 3 ( g m / I D )
M 4 ( g m / I D )
V r e g
I Q
C C
R 1
Table 2. Corners for the generated DDB.
Table 2. Corners for the generated DDB.
CornersTypicalC1C2C3Units
MOSFET CornersTTTTTTSS-
Temp27272775 C
V D D 1.2 1.2 1.2 1.2 V
I L 5 10 4 55mA
C L 1111pF
V r e f 0.9 0.9 0.891 0.9 V
I Q / I Q N o m i n a l 11 1.1 1V
Table 3. DoFs ranges for the generated DDB.
Table 3. DoFs ranges for the generated DDB.
DoFsMinMaxUnits
M 1 ( L ) 0.5 6 μ m
M 2 ( L ) 0.5 6 μ m
M 3 ( L ) 4040nm
M 4 ( L ) 0.5 6 μ m
M 1 ( g m / I D ) 1030S/A
M 2 ( g m / I D ) 1030S/A
M 3 ( g m / I D ) 515S/A
M 4 ( g m / I D ) 1030S/A
I Q 0.1 10 μ A
C C 0.3 1pF
R 1 5500k Ω
V r e g 11V
Table 4. Design requirements for the first design example.
Table 4. Design requirements for the first design example.
SpecificationCondition
L G D C >100
P M > 60
T r a n s i e n t V r e g V r e g Minimize
I Q t o t Minimize
Table 5. Sizing parameters for the first design example.
Table 5. Sizing parameters for the first design example.
ParameterValueUnit
M 1 ( L ) 3.1 μ m
M 2 ( L ) 5.7 μ m
M 3 ( L ) 40nm
M 4 ( L ) 5.4 μ m
M 1 ( W ) 8.8 μ m
M 2 ( W ) 4 μ m
M 3 ( W ) 996.4 μ m
M 4 ( W ) 2 μ m
I Q t o t 10.1 μ A
R 1 12.3 k Ω
R 2 110.5 k Ω
C C 520.3 fF
Table 6. Comparison of the synthesis and simulation results for the first design example.
Table 6. Comparison of the synthesis and simulation results for the first design example.
NominalC1C2C3
Spec.Synth.Sym.Synth.Sim.Synth.Sim.Synth.Sim.
P S R @ D C (dB) 40.02 40.4 58.16 56.01 41.91 42.27 39.07 39.25
P S R @ 1 MHz (dB) 11.55 11.65 11.7 11.89 12.28 12.38 10.87 10.86
L G D C 104.6 105.4 113.5 114.9 111.7 112.5 100.1 102.5
P M ( ) 74.31 74.06 61.11 60.9 73.9 73.64 74.7 74.48
T r a n s i e n t V r e g V r e g (mV/V) 33.66 43.95 32.27 37.68 31.18 38.9 36.45 49.65
I Q t o t ( μ A) 10.06 10.24 10.22 10.23 10.25 10.26 10.06 10.07
D r o p o u t v o l t a g e (mV) 144.4 144.4 84.52 84.53 144.1 143.9 152.2 151.5
V r e g (V) 0.999 1 1.01 1.01 0.989 0.99 0.999 1
L o a d R e g u l a t i o n (mV/mA) 2.24 2.18 2.24 2.18 2.13 2.15 2 2.1
O u t p u t I n t e g . N o i s e ( μ Vrms)130 122.3 146.4 136.6 130.6 123 141.9 135.3
Table 7. Design requirements for the second design example.
Table 7. Design requirements for the second design example.
SpecificationCondition
L G D C >100
P M > 60
P S R @ D C M i n i m i z e
P S R @ 1 M H z M i n i m i z e
Table 8. Sizing parameters for the second design example.
Table 8. Sizing parameters for the second design example.
ParameterValueUnit
M 1 ( L ) 1.5 μ m
M 2 ( L ) 3.8 μ m
M 3 ( L ) 40nm
M 4 ( L ) 5.9 μ m
M 1 ( W ) 11.1 μ m
M 2 ( W ) 7.2 μ m
M 3 ( W ) 1142 μ m
M 4 ( W ) 20 μ m
I Q t o t 23.3 μ A
R 1 5.8 k Ω
R 2 52.3 k Ω
C C 748.5 fF
Table 9. Comparison between the synthesis and simulation results for the second design example.
Table 9. Comparison between the synthesis and simulation results for the second design example.
NominalC1C2C3
Spec.Synth.Sym.Synth.Sim.Synth.Sim.Synth.Sim.
P S R @ D C (dB) 43.01 42.8 57.97 57.17 44.37 44.02 44.26 44.14
P S R @ 1 MHz (dB) 18.19 18.17 18.4 18.38 18.87 18.88 17.5 17.48
L G D C 105.1 103.3 115.6 114.8 109.6 107.4 105.8 104.1
P M ( ) 75.69 75.66 60.79 61.06 75.36 75.31 76.03 75.99
T r a n s i e n t V r e g V r e g (mV/V) 15.91 20.07 15.24 18.84 14.83 17.7 17.14 22.56
I Q t o t ( μ A) 23.26 23.31 23.44 23.62 24 24.2 23.5 23.2
D r o p o u t v o l t a g e (mV) 139.8 139.8 85.55 85.49 140 139.3 146.8 146.7
V r e g (V) 0.999 1 1.01 1.009 0.99 0.989 1 1.001
L o a d R e g u l a t i o n (mV/mA) 2.23 2.19 2.23 2.19 2.2 2.18 2.31 2.23
O u t p u t I n t e g . N o i s e ( μ Vrms)120 111.7 136.7 126.5 120.6 112.4 130.5 123.4
Table 10. A qualitative comparison to other flows.
Table 10. A qualitative comparison to other flows.
This Work[16][12][15]
Design Space VisualizationYesNoNoNo
SpeedFastSlowFastSlow
FeasibilityYesNoNoNo
Applicability overheadMinorMinorMajorMinor
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Mohamed, K.; Nafea, S.; Omran, H. Design Automation of Low Dropout Voltage Regulators: A General Approach. Electronics 2023, 12, 205. https://doi.org/10.3390/electronics12010205

AMA Style

Mohamed K, Nafea S, Omran H. Design Automation of Low Dropout Voltage Regulators: A General Approach. Electronics. 2023; 12(1):205. https://doi.org/10.3390/electronics12010205

Chicago/Turabian Style

Mohamed, Karimeldeen, Sherif Nafea, and Hesham Omran. 2023. "Design Automation of Low Dropout Voltage Regulators: A General Approach" Electronics 12, no. 1: 205. https://doi.org/10.3390/electronics12010205

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop