Académique Documents
Professionnel Documents
Culture Documents
M.Sharan kumar goud -11011J6036 E.Abhilash kumar -11011J6019 A.shereesha -11011J6054 Shereesha (2010 batch)
Aim
To design a two stage operational amplifier using Design galaxy custom designer tool.
Tools used
Synopsys Design galaxy custom designer
Circuit diagram
Schematic Images
Brief explaination of the tool used Galaxy Custom Designer SE is the next-generation choice for schematic entry, enabling users to meet the challenges of todays nanometer designs with little or no learning curve. As with all Custom Designer tools, schematic editing tasks are accomplished with fewer clicks, quicker menu access, and less pop-up menu clutter. Custom Designer SE utilizes Synopsys common simulator use model, allowing access to Synopsys leading AMS simulators, including HSPICE and CustomSim.During simulation and debug, Custom Designer SE provides quick access to any simulator through simple pull-down menus. The Synopsys tools used for this project are integrated in the Synopsys custom design environment, which makes using them in a flow convenient and efficient. Fig. shows our custom design flow and the tools used in each stage.
Custom Designer SE
Hspice
Analysis
Steps to create and simulate the design using custom designer
Custom waveview
1.
Copy the libs.def file to you folder from the saed90nmpdk folder and Define the path in that file as DEFINE cdesigner ../cdesigner.After you invoke the cdesigner the screen appears as below
6. After placing the pmos and nmos transistors, the schematic should look like below.
8. Adding Pins
Explanation of operational amplifier Operational amplifiers are an integral part of many analog and mixed signal systems. Op amps with vastly different levels of complexity are used to realize functions ranging from dc bias generation to high speed amplification or filtering. Here we are going to see ideal op amp and its parameters values, basic op amp structure and its parameters such as gain bandwidth product, common mode rejection ratio, power supply rejection ratio etc . Ideally op amp is differential amplifier with two inputs and one output, infinite gain, infinite input resistance so that no loading effect can occur and zero output resistance
Figure : 1Standard op amp notation. The Thevenin amplifier model is shown in Fig. 1 below, showing standard op amp notation. It amplifies the voltage difference, Vd= Vp- Vn, on the input port and produces a voltage, Vo, on the output port that is referenced to ground. The ideal op amp model wasderived to simplify circuit calculations and is commonly used by engineers in first order approximation calculations. The ideal model makes three simplifying assumptions: Gain Av= Ri = Ro= 0
op-amp stages
We can define as a high-gain differential amplifier. By high we mean a value that is adequate for the application, typically in the range of 101to 105. Since op amps are usually employed to implement feedback system, their open loop gain is chosen according to the precision required of the closed loop circuit
A classic op amp architecture is made up of three stage as shown in, even though it is referred to as a two-stage op amp, ignoring the buffer stage (third stage). The first stage usually consists of a high-gain differential amplifier. This stage has the most dominant pole of the system. A common source amplifier usually meets the specification of second stage, having a moderate gain. The third stage is most commonly implemented as a unity gain source follower with a high frequency and negligible pole .With the two stage classic op-amp architecture, high gain stages are difficult to achieve with Complementary Metal Oxide Semiconductor (CMOS) technology and basic 8amplifier topologies. A typical CMOS differential amplifier stage is shown aboveDifferential amplifiers are often desired as the first stage in an op amp due to their differential input to single ended output conversation and high gain. The input devices in above are p-channel MOSFETs (PMOS). PMOS input devices are used more because of its improved slew rate and reduced 1/f noise. PMOS input devices also provides reduced power supply rejection due to the current mirrors low sensitivity to change in power supply voltage
. Figure : CMOS differential input stage For the CMOS differential input stage, the gain and bandwidth are calculated as
respectively. Implementation of cascade scheme can increase the moderate gain of this stage to a high value. The stages dominant pole has an output capacitance, C out,consisting of mainly, the drain-to-bulk capacitance of M2and M4. Although often negligible, another pole and zero are generated by M1and M3The second stage implementation of a common source amplifier shown in Fig.Similar to the first stage, additional cascade devices can increase gain of this stage. Higher gains are often desirable for this stage when using Miller compensation techniques, although higher gains leads to lower bandwidth and the designer has to decide between these tradeoffs based on the specifications of the system. For the circuit in Fig. the gain and bandwidth are calculated as.
Figure : Common source amplifier stage. The output capacitance is dominated by the drain-to-bulk capacitance of M5and M6The final output stage is normally realized with a simple source follower as shown in Fig. With gain less than, but closer to unity, the source follower acts as a buffer for the previous two stages, reducing the overall gain negligibly and barely affecting the overall \bandwidth with its high frequency pole. The gain for the source follower is defined as
General considerations
As the negative feedback is used widely in application in processing of analog signal, feedback system, however, suffer from potential instability, i.e. they may oscillate. Let usconsider the negative feedback system shown in Fig. 2.7, the closed - loop transfer function as
Figure 2.8: Showing unity gain bandwidth (UGB), gain margin (GM), phase margin (PM). Figure 2.8: Showing unity gain bandwidth (UGB), gain margin (GM), phase margin (PM).
If H(s = j 1) = -1, the gain goes to infinity, and the circuit can amplify its own noise and may oscillate at frequency 1. This condition can be expressed as | H( j 1)| = 1 H(j 1) = -180,which is known as Barkhausens Criteria ( is assumed constant, less than or equal unity and independent of frequency). As negative feedback itself introduces 180 of phase shift, and the capacitance within amplifiers gain stages cause the output signal to lag behind the input signal by 90 for each pole they create. If the sum of these phase lags reaches 360 and gain is sufficient, the feedback signal will be add in phase to the original noise to allow oscillation buildup. The conditions can be summarize as excessive loop gain at frequency for which the phase shift reaches -180 or, excessive phase at frequency for which the loop gain drops to unity. So to avoid instability we must have H more positive than -180 for |H| = 1.
Figure : Showing unity gain bandwidth (UGB), gain margin (GM), phase margin (PM).
In a stable system, the gain crossover point must occur well before the phase cross over point. If is reduced (less feedback is applied), then the magnitude plots of Fig.are shifted down, there by moving the gain cross over closer to the origin and making the feedback system more stable. For the worst case stability ( = 1), we often analyze the magnitude and phase plots for H = H.
where 1 is the gain crossover frequency . For a phase margin less than 0, the system is considered to be unstable while for a phase margin between 0 and 45, system is marginally stable. Y (j1 )/ X (j1) = 1/, suggesting a negligible frequency peaking i.e. the step response of the feedback system shows little ringing and providing a fast settling for PM = 60. For a greater PM, the system becomes more stable but time response slows down. Thus PM = 60 is typically considered the optimum value .For a two stage op-amp, the openloop transfer function is given by
which assume that A3 is close to unity and that 3\is very high and negligible. The magnitude and phase function are
Screen shots of different widths and lengths of transistors Nmos w=5u ,l=.4u Pmos - w=2u, l=.2u
Operating point
0.2v
Distribution of work
M.Sharan kumar goud E.Abhilash kumar A.Shereesha Shereesha Implementation of two stage opamp and part of documentation Study of Differential amplifier and documentation Analysis of Common source Analysis of Current mirror