ec software experiments

Upload: sustibhai

Post on 07-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 EC Software Experiments

    1/26

    Electronic Circuits Software Experiments

    How to use MultisimMultisim is the schematic capture and simulation application of National Instruments Circuit

    Design Suite, a suite of EDA (Electronic Design Automation) tools. It is similar to PSpice, but itis more easy to use in practical sense and has lots of features to make circuit drawing/simulating,

    a really simple task. Here is window of multisim, as it appears first time when the software isopened.

    1. The Menu Bar is where you find commands for all functions.

    2. The Design Toolbox lets you navigate through the different types of files in a project(schematics, PCBs, reports), view a schematics hierarchy and show or hide different layers.

    3. The Component toolbar contains buttons that let you select components from the Multisim

    databases for placement in your schematic.

    4. The Standard toolbar contains buttons for commonly-performed functions such as Save,Print, Cut, and Paste.

    5. The View toolbar contains buttons for modifying the way the screen is displayed.

    6. The Simulation toolbar contains buttons for starting, stopping, and other simulation functions.

  • 8/3/2019 EC Software Experiments

    2/26

    7. The Main toolbar contains buttons for common Multisim functions.

    8. The In Use List contains a list of all components used in the design.

    9. The Instruments toolbar contains buttons for each instrument.10. Scroll Left right is to ensure ease in handling larger designs.

    11. The Circuit Window (or workspace) is where you build your circuit.

    12. Active tab indicates the current active circuit window.

    Follow the steps:

    1. Select StartAll Programs National Instruments Circuit Design Suite 11.0 Multisim

    11.0 and ablank file opens on the workspace called Circuit1.

    2. Select File Save As to display a standard Windows Save dialog.

    3. Select Place Component to display the Select a Componentbrowser, navigate to the group

    Sources and click on POWER_SOURCES. Then choose the Family: AC_POWER option.

    The component appears as a ghost on the cursor. (Once you have selected the desired Groupand Family, start typing the components name in the browsers Component field. As you type,the string appears in the Searching field at the bottom of the browser.)

    4. Move the cursor to the bottom-right of the workspace and left-click to place the component.

    Similarly, find the other components and place them. When a part is on the workspace and youwant to place the same part again, highlight it and select EditCopy, then Edit Paste. You can

    also select it from the In Use List and click to place it on the workspace. Press Ctrl+Rif you

    want to rotate the component.The oscilloscope is obtained (by dragging it) from the componentwindow on the right hand side of main window.

  • 8/3/2019 EC Software Experiments

    3/26

    5. All components have pins that you use to wire them to other components or instruments. Assoon as your cursor is over a pin, Multisim knows you want to wire and the pointer changes to a

    crosshair. You can also use ctrl + q for wiring the circuit. Dont forget to add Ground to the

    circuit (available in Sources option in Place>>Component).

  • 8/3/2019 EC Software Experiments

    4/26

    6. Choose the type of analysis you want to perform by clicking Simulate>> Analyses>>. Here,

    we have chosen transient analysis.

    7. Select Simulate AnalysesTransient Analysis and click on the Output tab. Add I(v1) to the

    right column by first clicking on I(v1) in left column and then pressing Add tab.

  • 8/3/2019 EC Software Experiments

    5/26

    8. Also choose the time (from transient Frequency parameters).9. Click on Simulate tab. The output window appears which consists of tab for oscillator ouput as

    well as transient waveforms. Different colored waves can be viewed by choosing the color ofrespective wire of the electrical quantity (voltage and current). Right click on wire in the circuit

    and then click on Color segment to choose the color of wire and thus the waveform color

    (after simulation).

  • 8/3/2019 EC Software Experiments

    6/26

    Experiment No.- 1.b

    Aim - To build and simulate the circuits of positive clipper, negative clipper (series and

    shunt type), and double ended clipper, positive clamper and negative clamper using diodes.

    POSITIVE CLIPPER(shunt type)

    Design

    Vo=Vref + V To get Vo=2V, V =0.4V for 1N4007GP diodeVref= Vo- V

    Vref=2-0.4=1.6 V

    Procedure -

    I) Place components-

    a. Sources-> signal voltage sources-> AC voltage->ok and placeb. Basic->resistors->type 3.3K in component tab->ok and place

    c. Diodes-> types 1N4007GP in component tab->ok and place

    d. Sources-> power sources-> DC voltage->ok and place

    e. Sources-> power sources-> ground->ok and place

    Vin4 Vpk

    1kHz

    0

    D11N4007

    R1

    3.3k

    Vref1.6 V

    1 2

    II) Wire all the components as shown in the circuit.

    III) Set input parameters

    a. Double click AC voltage source-> in value menu

    voltage(pk)= 4 (to get 8V peak to peak)

    frequency= 1KHz

    select label menu-> give refdes : Vin -> click ok

    b. Double click DC voltage source-> in value menu

    voltage = 1.6

    select label menu-> give refdes : Vref -> click ok

  • 8/3/2019 EC Software Experiments

    7/26

    c. Set net name for input and output

    IV) Simulate-

    a. Select simulate menu-> Analyses->Transient analysis-> Reset to default

    Start time : 0

    End time : 0.005

    b. select output menu-> type circuit voltage in variables in circuit tab

    select voltage one by one depending upon the net name in circuit and add

    c. Simulate

    v) Verify the output waveform depending upon designed values and save the waveform.

    NEGATIVE CLIPPER(shunt type)

    Design:

    Vo=Vref +V To get Vo= -2V, V = -0.4V since diode in reverse directionVref= Vo-V

    Vref= (-2) - (-0.4)= -1.6 V

    Procedure:

  • 8/3/2019 EC Software Experiments

    8/26

    Same as positve clipper above except connect diode and Vref as below.

    R1

    3.3k

    Vin

    4 Vpk

    1kHz

    0V11.6 V

    1

    1N4007

    D1

    2

    POSITIVE CLIPPER(series type)

  • 8/3/2019 EC Software Experiments

    9/26

    Procedure:

    Same as positve clipper above except connect diode, resistor and Vref as below.

    Vr2

    Vin

    4 Vpk

    1kHz

    0

    R13.3

    D1

    1N4007GP

    21

    NEGATIVE CLIPPER(series type)

  • 8/3/2019 EC Software Experiments

    10/26

    Procedure:

    Same as positve clipper above except connect diode, resistor and Vref as below.

    R13.3k

    Vin

    4 Vpk

    1kHz

    0

    V12

    D1

    1N4007GP

    1 2

    DOUBLE ENDED CLIPPER

    Design:

    a. For positive clipping, Vo=Vref + V

  • 8/3/2019 EC Software Experiments

    11/26

    To get Vo= 2V, V = 0.4V

    Vref= Vo-V

    Vref= 2 - 0.4= 1.6 V

    b. For negative clipping , Vo=Vref +V

    To get Vo= -3V, V = -0.4V since diode in reverse direction

    Vref= Vo-V

    Vref= (-3) - (-0.4) = -2.6 V

    Procedure:

    Same as positve clipper above except connect diodes, resistor, Vref1and Vref2 as below.

    D11N4007GP

    D21N4007

    R1

    3.3k

    Vref1

    1.6 V

    Vref22.6 V

    Vin

    4 Vpk

    1kHz

    0

    1 2

  • 8/3/2019 EC Software Experiments

    12/26

    POSITIVE CLAMPER

    Procedure:

    I) Place components-

    a. Sources-> signal voltage sources-> Pulse voltage->ok and place

    b. Basic->resistors->type 110K in component tab->ok and placec. Diodes-> types 1N4007GP in component tab->ok and place

    d. Sources-> power sources-> DC voltage->ok and place

    e. Sources-> power sources-> ground->ok and place

    II) Wire all the components as shown in the circuit.

    III) Set input parameters

    a. Double click AC voltage source-> in value menu

    initial value= -4

    pulsed value= 4 (to get 8V peak to peak square wave)

    pulse width= 0.5 msec

    period= 1 msec (to get 1 KHz freq)

    select label menu-> give refdes : Vin -> click ok

    b. Double click DC voltage source-> in value menu

    voltage = 1.6

  • 8/3/2019 EC Software Experiments

    13/26

    select label menu-> give refdes : Vref -> click ok

    c. Set net name for input and output

    IV) Simulate-

    a. Select simulate menu-> Analyses->Transient analysis-> Reset to default

    Start time : 0

    End time : 0.005

    b. select output menu-> type circuit voltage in variables in circuit tab

    select voltage one by one depending upon the net name in circuit and add

    c. Simulate

    v) Verify the output waveform depending upon designed values and save the waveform.

    D11N4007GP

    R110

    C1

    0.1F

    Vref1.6 V

    V3

    -4 V 4 V

    0.5msec 1msec

    1 2

  • 8/3/2019 EC Software Experiments

    14/26

    NEGATIVE CLAMPER

    Procedure:

    Same as positve clamper above except connect diode and Vref as below.

  • 8/3/2019 EC Software Experiments

    15/26

    D11N4007GP

    R1

    110

    C1

    0.1F

    Vref1.6 V

    Vin

    -4 V 4 V

    0.5msec 1msec

    1 2

    Experiment No.- 2.b

    Aim - To design and build the Common Emitter amplifier circuit using simulation and

    determine the voltage gain for two different values of supply voltage and for two different

    values of emitter resistance.

    Design Same as 2.a. experiment (analog experiment)

  • 8/3/2019 EC Software Experiments

    16/26

    Procedure

    I) Place components-

    a. Sources-> signal voltage sources-> AC voltage->ok and place

    b. Basic->resistors->

    place R1, R2, R3, R4 and R5 of the designed values->ok and place

    c. Transistor->BJT_ NPN->type 2N222->ok and place

    d. Basic -> Capacitors-> place C1, C2 and C3 of designed values-> ok and place

    e. Sources-> power sources-> Vcc->ok and place

    f. Sources-> power sources-> ground->ok and place

    Vin

    15mVpk

    1kHz

    0

    VCC10V

    R110k

    R247k

    R32.2k

    R5470

    C1

    0.1F

    C2

    0.1F

    C3100F

    Q1

    2N2222A1_1 1

    2_1

    II) Wire all the components as shown in the circuit.

    III) Set input parameters

    a. Double click AC voltage source-> in value menu

    voltage(pk)= 15mV (to get 30mV peak to peak)

    frequency= 1KHz

    select label menu-> give refdes : Vin -> click ok

    b. Double click Vcc voltage source-> in value menu

    voltage = 10

  • 8/3/2019 EC Software Experiments

    17/26

    select label menu-> give refdes : Vref -> click ok

    c. Set net name for input and output

    IV) Simulate-

    a. Select simulate menu-> Analyses->AC analysis-> Reset to default

    Start Freq : 10Hz

    End Freq : 1GHz

    Sweep type: decade

    Vertical scale: decibel

    b. select output menu-> type circuit voltage in variables in circuit tab

    select voltage one by one depending upon the net name in circuit and add

    c. Simulate

    v) Verify the output waveform depending upon designed values and save the waveform.

    a. With Re= 470 and Vcc=10V, Av(db)=__________________

    b. With Re= 300 and Vcc=12V, Av(db)= ____________________

    Experiment No.- 3.b

    Aim To design and build CMOS inverter using simulation and verify its truth table.

    I) Place components-

    a. Sources-> signal voltage sources-> Pulse voltage->ok and place

  • 8/3/2019 EC Software Experiments

    18/26

    b. Basic->resistors->type 100K in component tab->ok and place

    c. Transistors-> MOS_3TEN (MOSFET 3 terminal enhancement N channel type)

    -> type 2N7000 in component tab->ok and place

    d. Transistors-> MOS_3TEP (MOSFET 3 terminal enhancement P channel type)

    -> type BST100 in component tab->ok and place

    e. Sources-> power sources-> DC voltage->ok and place

    f. Sources-> power sources-> ground->ok and place

    Q1

    2N7000

    R1100k

    V2

    5 V

    V1

    5 V 0 V

    0.5msec 1msec

    Q2BST100

    11_1

    II) Wire all the components carefully as shown in the circuit.

    III) Set input parameters

    a. Double click AC voltage source-> in value menu

    initial value= 0

    pulsed value= 5 (to get 5V square pulse wave)

  • 8/3/2019 EC Software Experiments

    19/26

    pulse width= 0.5 msec

    period= 1 msec (to get 1 KHz freq)

    select label menu-> give refdes : Vin -> click ok

    b. Double click DC voltage source-> in value menu

    voltage = 5

    select label menu-> give refdes : Vref -> click ok

    c. Set net name for input and output

    IV) Simulate-

    a. Select simulate menu-> Analyses->Transient analysis-> Reset to default

    Start time : 0

    End time : 0.005

    b. select output menu-> type circuit voltage in variables in circuit tab

    select voltage one by one depending upon the net name in circuit and add

    c. Simulate

    v) Verify the output waveform depending upon designed values and save the waveform.

    TRUTH TABLE of NOT (INVERTER)

    INPUT OUTPUT

    HIGH LOW

    LOW HIGH

  • 8/3/2019 EC Software Experiments

    20/26

    Experiment No.- 4.b

    Aim Design and implement a Schmitt trigger using Op-Amp using a simulation package

    for two sets of UTP and LTP values and demostrate its working.

    Design Same as 4.a (analog experiment)

    Procedure

    I) Place components-a. Sources-> signal voltage sources-> AC voltage->ok and place

    b. Basic->resistors->

    place R1, R2 of the designed values->ok and place

    c. Analog->OPAMP->type 741->ok and place

    d. Sources-> power sources-> DC voltage ->ok and place

  • 8/3/2019 EC Software Experiments

    21/26

    do the same for Vee and Vref

    f. Sources-> power sources-> ground->ok and place

    Vee

    12 V

    Vcc

    12 V

    Vref

    R210k

    R1110

    U1

    741

    3

    2

    4

    7

    6

    51

    4

    V1

    5 Vpk

    1kHz

    0

    1

    II) Wire all the components as shown in the circuit.

    III) Set input parameters

    a. Double click AC voltage source-> in value menu

    voltage(pk)= 5V (to get 10V peak to peak)

    frequency= 1KHz

    select label menu-> give refdes : Vin -> click ok

    b. Double click Vcc voltage source-> in value menu

    voltage = 12

    select label menu-> give refdes : Vcc -> click ok

    Do the same for Vee and Vref with proper values

    c. Set net name for input and output

    IV) Simulate-

    a. Select simulate menu-> Analyses->Transient analysis-> Reset to default

    Start time : 0

    End time : 0.005

    b. select output menu-> type circuit voltage in variables in circuit tab

    select voltage one by one depending upon the net name in circuit and add

    c. Simulate

    v) Verify the output waveform depending upon designed values and save the waveform.

  • 8/3/2019 EC Software Experiments

    22/26

    a. UTP=4V and LTP=2V

    b. UTP=3V and LTP=1V

  • 8/3/2019 EC Software Experiments

    23/26

    Experiment No.- 5.b

  • 8/3/2019 EC Software Experiments

    24/26

    Aim Design and implement a OP-Amp relaxation oscillator using a simulation package

    and demonstrate the change in frequency when all resistor values are doubled.

    Design

    Same as 5.a (analog experiment)

    Procedure

    I) Place components-

    a. Basic->resistors->

    place R1, R of the designed values->ok and place

    b. Basic -> Capacitors-> place C of designed values-> ok and place

    c. Analog->OPAMP->type 741->ok and place

    d. Sources-> power sources-> DC voltage ->ok and place

    do the same for V2

    e. Basic->potentiometer-> select 10k_lin->ok and place

    f. Sources-> power sources-> ground->ok and place

    U1

    741

    3

    2

    4

    7

    6

    51

    R

    R1

    10k

    R210k

    Key=A

    50%

    C1

    V1

    12 V

    V2

    12 V

    3

    II) Wire all the components as shown in the circuit.

    III) Set input parameters

    a. Double click Vcc voltage source-> in value menu

  • 8/3/2019 EC Software Experiments

    25/26

    voltage = 12

    Select label menu-> give refdes : Vee -> click ok

    Do the same for Vee with proper values

    b. Set net name for input and output

    IV) Simulate-

    a. Select simulate menu-> Analyses->Transient analysis-> Reset to default

    Start time : 0

    End time : 0.02

    b. select output menu-> type circuit voltage in variables in circuit tab

    select voltage one by one depending upon the net name in circuit and add

    c. Simulate

    v) Verify the output waveform depending upon designed values and save the waveform.

    Note: To get designed frequency change R2 potentiometer percentage bar

    a. For design value of resistor,

    f=________________

    b. For doulbed the value of resistor,

    f=________________

  • 8/3/2019 EC Software Experiments

    26/26