20
CMOS Circuit Design (EC-802) VIII SEMESTER B.E (E&C) (For private circulation only) RAJEEV GANDHI TECHNOLOGICAL UNIVERSITY DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING RADHARAMAN INSTITUTE OF RESEARCH &TECHNOLOGY RATIBAD, BHOPAL Prepared by:

8th Sem Cmos Circuit Lab Manual

Embed Size (px)

DESCRIPTION

cmos circuit manual

Citation preview

CMOS Circuit Design (EC-802)

VIII SEMESTER B.E (E&C)(For private circulation only)

RAJEEV GANDHI TECHNOLOGICAL UNIVERSITYDEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING

RADHARAMAN INSTITUTE OF RESEARCH &TECHNOLOGYRATIBAD, BHOPAL

Prepared by:

PRADEEP RAGHUWANSHI,MTECH

(LECTURER)

Microwind QuickStartTutorialLIST OF EXPERIMENTS1. Design and simulation of (a) Common source amplifier (b) Source follower amplifier

(c) Common gate amplifier (d) Cascode amplifier. 2. Estimation of frequency response of: (a) Common source amplifier (b) Source follower amplifier. (c ) Common gate amplifier (d) Cascode amplifier.3.Design and simulation of differential amplifier4. Design and simulation of feedback amplifier. 5. Design and simulation of oscillators: (a) Ring Oscillator (b) L-C Oscillator (c) Voltage controlled Oscillator. 6. Design and simulation of: (a) Adder (b) Subtractor (c) One/zero detector (d) Comparator (e) Counter (f) Multiplier (g) Divider.EXPERIMENT-5

Design and simulation of oscillators: (a) Ring Oscillator (b) L-C Oscillator (c) Voltage controlled Oscillator.(a) Ring Oscillator:

AIM: Design and simulation of Ring Oscillator.APPARATUS USED:

THEORY: A ring oscillator is a device composed of an odd number of inverters attached in a chain, with the output of the last inverter fed back into the first. The output oscillates between two voltage levels, representing true and false. The oscillations are due to the switching delay existing between the input and the output of each inverter. The fastest oscillation is obtained with the minimum number of inverters which is 3, because it doesnt oscillate with only one. First, we studied a ring oscillator with 5 inverters. DESIGN & SIMULATION:Ring oscillator with 5 inverters

Figure 1: Ring oscillator with 5 inverters

Here is the implementation layout where it is easy to recognize the five gates : On this layout, we can notice that there is no clock as the oscillation appears naturally. We just need to connect the last inverter on the left to the output with a metal bridge, in order to obtain the ring shape.

Figure 2 : Implementation of a 5-inverter oscillatorWith the simulation, we obtained a stable frequency oscillation (except at the beginning of the simulation because it is the transitory mode):

Figure 3: Oscillator voltage variationA simulation mode displays the frequency variations versus time together with the voltage variations. We can notice on Figure 4 that the frequency is stable around 13, 05 GHz. Figure 4: Oscillator frequency and voltage variationDisadvantages: The oscillation frequency is not really stable and not predictable, because it depends on the characteristics of logic gates, which may vary from -20% to +20% of their value. The values are also sensible to temperature. Besides, with this type of oscillator, operating conditions and parameters have an influence on the oscillating frequency. For example, we studied the influence of the power supply voltage Vdd. Figure 5 represents several simulations with Vdd varying from 0.7 to 1.4V. We can notice a significant raise of frequency when Vdd increases.

Figure 5 : frequency variation with VddFigure 6 represents a Monte Carlo Simulation, which consists in studying frequency

variation when Vdd is varying in a random way. We can easily conclude that any supply fluctuation has a significant impact on the oscillator frequency.

Figure 6: Monte Carlo SimulationWe obtain a frequency varying from around 11 to 16 GHz.However, for our project, we decided to use the ISM radio bands of frequency (Industrial, Scientific and Medical radio bands), which are not controlled by national regulations. Their use is free and we dont need any authorization for Industrial Scientific or Medical use. For example, we selected the 2, 4 2, 5 GHz band of frequency which is used by Bluetooth applications, and the 5,725 5,875 GHz band. Here, we obtained an oscillation frequency around 13 GHz, that is why we implemented a new ring oscillator with more inverters in order to get a frequency in an ISM radio band. However, it is necessary to put an odd number of inverters to get oscillations that is why we chose to study a ring oscillator with 11 inverters.RESULT DISCUSSION: (B) Ring Oscillator:AIM: Design and simulation of L-C Oscillator.APPARATUS USED:

THEORY:

LC Oscillator is based on the resonance frequency of a filter LC In our montage we have an inductance L in parallel with two capacities C1 connected to the output S1 and C2 connected to the output S2. On figure 11 there is the schematic diagram:

DESIGN & SIMULATION:

Figure 11: LC oscillatorOn our implementation layout on the figure12 we added some virtual capacities and inductor because their values are easy to change during the simulation. Once the good values of the capacities and inductor were known, we could implement these components but we didnt have enough time to do it. Figure12: Implementation of a LC oscillatorThe result of the simulation is on figure13. Both outputs oscillate and a permanent regime is reached after some eight nano-seconds. A simulation mode displays the frequency variations versus time together with the voltage variations. We can notice on Figure 14 that the frequency is stable around 4,05 GHz. This is an ISM band.

Figure 13: Oscillator voltage variation

Figure 14 : Oscillator frequency and voltage variationDisadvantages:We could have a very stable and predictable frequency on the condition of having external components of very big precision, what is not often the case, because the values of capacities and inductances can vary. It will not be so evident to have an oscillation of stable frequency. RESULTS:(C) Voltage Controlled Oscillator AIM: Design and simulation of Voltage Controlled Oscillator.APPARATUS USED:

THEORY:

A voltage-controlled oscillator or VCO is an electronic oscillator designed to be controlled in oscillation frequency by a voltage input. It generates a clock with a controllable frequency from -50% to +50% of its central value. The frequency of oscillation is varied by the applied DC voltage Vcontrol.DESIGN & SIMULATION:

Here in Figure 15, we studied a current-starved VCO. Vcontrol is used to fix the current in N1, N2, N3, N4 and P1, P2, P3, P4. A change on Vcontrol will modify the currentsin the inverters and act directly on the delay.

Figure 15: VCOHere we have three inverters in the loop but it is possible to put more, it depends on the oscillating frequency required.

Figure 16: Implementation of a VCOThe voltage variations of Vcontrol and Voltage ctr osc are given in Figure 17. We chose to modify Vcontrol very slowly, in order to see the influence on the oscillations. We put Vcontrol higher than 0.5 V, because there is not any oscillation under that value.

Figure 17: VCO voltage variationsAs we can notice on Figure 18, the oscillation frequencys variation is not linear. The maximum value: 8, 67 GHz is obtained when Vcontrol is maximal. It is possible to modify these values by implementing more inverters.

Figure 18: VCO frequency and voltage variationDisadvantages:It would be better to get a linear variation between time and frequency, because we will need to use this kind of circuit at a particular frequency, so we will have to fix Vcontrol and obtain precisely the required frequency, which is more precise if the variation is linear. CONCLUSION: RESULTS: