Computer Aided Engineering Design: Practical Work Book
Computer Aided Engineering Design: Practical Work Book
CERTIFICATE
Lab Engineer
Engr. Muhammad Saleh Memon
QUAID-E-AWAM UNIVERISTY OF ENGINEERING, SCIENCE &
TECHNOLOGY NAWABSHAH
TABLE OF CONTENTS
09
INTRODUCTION TO ELECTRONIC WORKBENCH
QUAID-E-AWAM UNIVERISTY OF ENGINEERING, SCIENCE &
TECHNOLOGY, NAWABSHAH
LAB EXPERIMENT# 01
THEORY
VOLTMETER
A voltmeter is an instrument used for measuring electrical potential difference between
two points in an electric circuit. Analog voltmeters move a pointer across a scale in
proportion to the voltage of the circuit; digital voltmeters give a numerical display of
voltage by use of an analog to digital converter
OHMMETER
An ohmmeter is an electrical instrument that measures electrical resistance, the
opposition to an electric current. Micro-ohmmeters (micro Ohmmeter or micro
ohmmeter) make low resistance measurements. Mega ohmmeters (aka mega ohmmeter or
in the case of a trademarked device Meager) measure large values of resistance. The unit
of measurement for resistance is ohms (Ω).
WATTMETER
The wattmeter is an instrument for measuring the electric power (or the supply rate of
electrical energy) in watts of any given circuit. Electromagnetic wattmeter are used for
measurement of utility frequency and audio frequency power; other types are required for
radio frequency measurements.
RESISTOR
A resistor is a passive two-Semesterinal electrical component that implements electrical
resistance as a circuit element. Resistors are common elements of electrical networks and
electronic circuits and are ubiquitous in electronic equipment. Practical resistors can be
made of various compounds and films, as well as resistance wire (wire made of a high-
resistivity alloy, such as nickel-chrome). Resistors are also implemented within integrated
circuits, particularly analog devices, and can also be integrated into hybrid and printed
circuits.
INDUCTOR
CAPACITOR
A capacitor (originally known as condenser) is a passive two-Semesterinal electrical
component used to store energy in an electric field. The forms of practical capacitors vary
widely, but all contain at least two electrical conductors separated by a dielectric
(insulator); for example, one common construction consists of metal foils separated by a
thin layer of insulating film. Capacitors are widely used as parts of electrical circuits in
many common electrical devices
TRANISISTOR
The transistor is a three-element semiconductor. The three elements are the emitter. The
base and the collector. The emitter supplies the current for transistor operation. The
collector collects the current for circuit operation. The base controls the emitter to
collector current flow.
DIODE
A diode is a semiconductor device that conducts current in one direction, it acts as a
switch. A diode has two electrodes called anode and cathode. Diode is use as a rectifier,
voltage regulated, switch and etc.
Never rely on safety devices such as fuses, relays and interlock systems to protect
you. They may not be working and may fail to protect when most needed.
Never remove the ground wire of three wire-input plug. This eliminates the
grounding feature of the equipment making it a potential shock hazard.
Do not work on cluttered bench. A disorganized mess of connecting leads,
components and tools only leads to careless thinking, short circuits, shocks and
accidents. Develop habits of systemized procedure of work.
Do not work on wet floors. Your contact resistance to ground is substantially
reduced. Work on rubber mat or an insulated floor.
Do not work alone. It is better to someone around to shut of the power to give
artificial respiration and to call a doctor.
Work with one hand behind you or in your pocket. A current between two hands
crosses your heart and can be more fatal than a current from hand to foot. A wise
technician always works with one hand.
Never talk to anyone while working. Do not divert your mind by talking to anyone.
Also do not talk to anyone, if he is working on dangerous equipment.
Always move slowly when working around electrical circuits. Violent and rapid
movements lead to accidental shocks and short circuits.
If you have to modify the circuit connections, first switch of the power, takeout
power plugs/wires and only then modify it.
REVIEW QUESTIONS
Q#1 what is the difference between the digital multimeter and analog multimeter?
Ans. _________________________________________________________________
______________________________________________________________________
LAB EXPERIMENT# 02
EQUIPMENTS REQUIRED:
THEORY
In a series circuit, the same current flows across the components while the voltage divides
among the branches depending upon the resistance value.
Kirchhoff’s voltage law states that “In a closed path the algebraic sum of all voltages
around the circuit is zero”. In other words, the algebraic sum of all voltage drops and
emfs in any closed loop or mesh of a circuit is equal to zero.
Mathematically,
∑V=0 OR ∑IR+emf=0
CIRCUIT DIAGRAM
PROCEDURE:
OBSERVATION TABLE:
S.No. Supply
R1 R2 R3 V1 V2 V3 RT VT IT
Voltage
(Ω) (Ω) (Ω) (V) (V) (V) (Ω) (V) (mA)
(V)
REVIEW QUESTION:
LAB EXPERIMENT# 03
EQUIPMENTS REQUIRED:
THEORY
In a parallel circuit, the same voltage drop occurs across the components while the current
divides among the branches depending upon the resistance value.
1. Kirchhoff’s Current Law States that “The algebraic sum of all currents at any
junction of a circuit is equal to zero”. In other words, the algebraic sum of
currents entering a junction of circuit is equal to algebraic sum of currents
entering that junction.
Mathematically,
∑ I=0 OR ∑ Iin = ∑Iout
Where Iin is the entering current and Iout is the leaving current
CIRCUIT DIAGRAM
PROCEDURE:
Connect all equipment’s according to given circuit diagram.
Now connect power supply unit to main supply. Don’t switch on yet.
Set power supply to desired DC voltage.
Measure the total & individual voltage drops across each resistor & record in the
observation table
Calculate the amount of current that will flow in the circuit and adjust the
ammeter range according to the requirement
Measure the individual currents and total current and record in the observation
table
Adjust the power supply to +10V and +15V and repeat all steps and record in the
observation table.
OBSERVATION TABLE
S.No. Supply R1 R2 R3 I1 I2 I3 RT VT IT
Voltage (Ω) (Ω) (Ω) (mA) (mA) (mA) (Ω) (V) (mA)
REVIEW QUESTIONS:
Ans.____________________________________________________________________
________________________________________________________________________
LAB EXPERIMENT# 04
EQUIPMENTS REQUIRED:
Regulated DC power supply unit (0 to 35V, 30A)
Four multi meters
Wire wound resistors of different values
Connecting wires
THEORY:
1. Kirchhoff’s Current Law States that “The algebraic sum of all currents at any junction
of a circuit is equal to zero”. In other words the algebraic sum of currents entering a
junction of circuit is equal to algebraic sum of currents entering that junction.
Mathematically,
∑ I=0 OR ∑ Iin = ∑Iout
Where Iin is the entering current and Iout is the leaving current
2. Kirchhoff’s voltage law states that “In a closed path the algebraic sum of all voltages
around the circuit is zero”. In other words, the algebraic sum of all voltage drops and
emfs in any closed loop or mesh of a circuit is equal to zero.
Mathematically,
∑V=0 OR ∑IR+emf=0
CIRCUIT DIAGRAM
PROCEDURE:
Connect all equipment’s according to given circuit diagram.
Now connect power supply unit to main supply. Don’t switch on yet.
Adjust multi meter position to zero.
Set power supply to desired DC voltage.
Using multi-meter measure the current in each branch and record in observation
table for KCL.
Using multi-meter measure the voltage in each branch and record it in observation
table for KVL.
Mathematically verify KCL and KVL according to given relations:
∑I = 0 OR ∑Iin = ∑Iout
I2 = I3+I5
I1 = I3+I4
∑V=0 OR ∑IR+emf=0
V = V1+V2+V3
V3 = V4+V5
V = V1+V2+V4+V5
OBSERVATION TABLES:
For KCL
For KVL
LAB EXPERIMENT# 05
EQUIPMENTS REQUIRED:
THEORY
The Superposition theorem states that “In any linear bilateral circuit containing more than
one source of emf, the resultant current in any branch is the algebraic sum of current that
would be produced by each emf acting alone, all the other sources of emf being replaced
by meanwhile their respective internal resistances.
CIRCUIT DIAGRAMS:
PROCEDURE:
Connect all the equipments according to given circuit diagram 1.
Connect the power supply unit to main supply line. Don’t switch ON yet.
Turn on variable DC control knob to minimum. Select variable DC voltage range
from 0 to 20V.
Switch ON first main supply and then power supply unit.
Measure current in each branch of network.
Now disconnect source voltage E2 and then measure the current with only one
voltage source E1 as shown in circuit diagram2.
Again disconnect source voltage E1 and measure the current in each branch with
only one voltage source E2 as show in circuit diagram3.
Mathematically verify superposition theorem by following relations:
I1 = I1’- I1’’
I = I’+I’’
I2 = I2’’-I2’
OBSERVATION TABLES:
REVIEW QUESTIONS:
Ans.____________________________________________________________________
________________________________________________________________________
LAB EXPERIMENT# 06
EQUIPMENTS REQUIRED:
THEORY
Thevenin’s theorem states that “Any network having Semesterinals A & B can be
replaced by a single source of emf ETh in series with a single resistance RTh.
The emf ETh is the voltage obtained across Semesterinals A & B with load, if any,
removed i.e it is the open circuited voltage between A & B.
The resistance RTh is the resistance of the network measured between A & B with load
removed and sources of emf replaced by their internal resistances.
CIRCUIT DIAGRAMS:
Circuit Digram 1
Circuit Diagram 2
Circuit Diagram 3 Circuit Diagram 4
PROCEDURE:
𝐸 × 𝑅2
𝑉𝑇ℎ =
𝑅1 + 𝑅2
𝑅1 × 𝑅2
𝑅𝑇ℎ = 𝑅3 +
𝑅1 + 𝑅2
𝑉𝑇ℎ
𝐼𝑅𝐿 =
𝑅𝑇ℎ + 𝑅𝐿
𝑉𝑅𝐿 = 𝐼𝑅𝐿 × 𝑅𝐿
REVIEW QUESTIONS:
Ans.____________________________________________________________________
________________________________________________________________________
Ans.____________________________________________________________________
________________________________________________________________________
QUAID-E-AWAM UNIVERISTY OF ENGINEERING, SCIENCE &
TECHNOLOGY NAWABSHAH
LAB EXPERIMENT# 07
EQUIPMENTS REQUIRED:
THEORY
It states that “ Any network having two Semesterinals A & B can be replaced by a current
source of current output IN in parallel with a resistance RN.
The output IN of the current source is equal to the current that would flow through AB
when A & B are short circuited.
The resistance RN is the resistance of the network measured between A & B with the load
removed and the sources of emf replaced by their internal resistances.
CIRCUIT DIAGRAMS:
Circuit Diagram 2
Circuit Diagram 1
Circuit Diagram 3 Circuit Diagram 4
PROCEDURE:
OBSERVATION TABLE
R2
IN = IT ×
R2 + R3
𝑅1 × 𝑅2
𝑅𝑁 = 𝑅3 +
𝑅1 + 𝑅2
𝑅𝑁
𝐼𝑅𝐿 = 𝐼𝑁 ×
𝑅𝑁 + 𝑅𝐿
𝑉𝑅𝐿 = 𝐼𝑅𝐿 × 𝑅𝐿
REVIEW QUESTIONS:
Q.2 What is the difference between measured values and calculated values?
Ans. ___________________________________________________________________
LAB EXPERIMENT# 08
EQUIPMENTS REQUIRED:
THEORY
The maximum power transfer theorem can be defines as “A load will abstract maximum
power from linear bilateral DC circuit when it’s total resistance value equals to the
Thevenin’s resistance of the network as seen by the load. In other words maximum power
will be delivered to the load when RL = RTH.
CIRCUIT DIAGRAMS:
Circuit Diagram 1
Circuit Diagram 2
Circuit Diagram 3
PROCEDURE:
𝑅𝐿 = 𝑅𝑇ℎ
𝐸 × 𝑅2
𝑉𝑇ℎ =
𝑅1 + 𝑅2
𝑉𝑇ℎ
𝐼𝑅𝐿 =
𝑅𝑇ℎ + 𝑅𝐿
𝑉𝑇ℎ
𝑃 = 𝐼 2 𝑅𝐿 × 𝑅𝐿 =
4𝑅𝐿
Connect the circuit as shown in circuit diagram 3 and turn ON the supply to
measure the DC current & DC power though RL.
OBSERVATION TABLE
REVIEW QUESTIONS:
Q.2 What is condition for maximum power transfer from source to load?
Ans. ___________________________________________________________________
________________________________________________________________________
LAB EXPERIMENT# 09
OBJECTIVE:
1. To become familiar and understand the basic characteristics of Electronic
Workbench (EWB) Software
2. Steps to implement the simple DC circuit using EWB software
THEORY:
The circuit window is where you create your schematics. The components and
instruments that you need to construct a circuit are grouped into parts bins. Each parts bin
has a corresponding button on the Parts Bin toolbar. Clicking one of these buttons
displays another toolbar containing buttons representing the components and instruments
contained in that parts bin.
To place a component or instrument on the circuit window, click the desired part button
and drag the component or instrument to the circuit widow. Instruments toolbar includes
a digital meter, a word generator, a logic analyzer, and a logic converter. These
instruments may be dragged onto the circuit window and used to test the circuit that you
build just as you would use test instruments in a lab. The final item on the menu bar is a
power switch. You need to click on the power switch when you are ready to activate your
circuit.
It first leads you through the fundamental steps of putting a circuit together and analyzing
its function using the instruments. It also tries to encourage you to apply the "what if"
approach to circuit design. It will greatly help your understanding of electronics if you
use EWB in an interactive manner: Make change to the circuits you are working on,
observe the effects that these changes have, and try to understand them. The user
interface of EWB consists of the following shown in figure 01.
To open EWB click on its icon, initially you will see an empty circuit window and two
toolbars; the circuit toolbar with the common file management, editing and graphics
tools, and a Parts Bin toolbar from which you can select a wide range of circuit elements,
and instruments. The following figure 02 shows the series and parallel dc circuits with
result of simulation.
To build the circuit, you need a battery, two resistors and a ground connection. Assemble
the components for both series and parallel circuits.
To keep the Basics toolbar open, drag it onto the circuit window otherwise, it will close
after you drag an item from it, and you will have to reopen it for every resistor.
4. Move to the Sources on the Parts Bin toolbar. Click on it and a toolbar containing
the battery and ground should appear. Drag them onto the circuit window.
Step 2: Arranging the circuit elements
You can change the orientation of the circuit elements either by rotating them or flipping
them over. To do this, select the circuit element and either click on the standard
rotate/flip icons on the toolbar, or select the desired operation under Circuit. In this case
you want to rotate both resistors.
1. Select both by either CTRL+click, and by dragging the mouse over them.
2. Choose your favorite way to rotate by 90 degrees.
Most components have short lines pointing outwards, the terminals. To wire the
components together you have to create wires between the components.
1. Move the pointer to the terminal on the top of the battery. When you are at the
right position to make a connection, a black dot appears. Now drag the wire to the
top of the upper resistor. Again a black dot appears, and the wire snaps into
position.
2. Wire the rest of the components in a similar manner.
Initially you wiring may not look very pretty. However, after making the connections,
you can move wires and components around without breaking the connections.
Initially, each component comes up with a preset, default value, e.g. the battery voltage is
set to 12V. You can change all component values to suit your application.
To measure voltages and currents in your circuits you can use one or more voltmeters and
ammeters or using multimeter using instrument tool bar. Only one parameter you can
observe. For each point you can drag it from indicator toolbar.
1. Drag a voltmeter and ammeter from the indicator toolbar to the circuit window.
2. Drag wires from the voltmeter and ammeter terminals to point in your circuit
between which you want to measure the voltage and current.
3. Activate the circuit by clicking the power switch at the top right corner of the
EWB window.
Note that the ground connection plays no particular role in this measurement. The
voltmeter is not connected to a reference point. It functions very much like the hand-held
multimeter in the lab. You can measure voltage or current differences between any pair
of points in the circuit.
You have simple but functioning circuits. Take this opportunity to make some changes
and additions.
Add an ammeter in the series for both circuits to measure the current through the resistors
for both series and parallel. Change the values of the resistors, and observe the change in
the currents and voltages.
The Multimeter
1. Drag the multimeter from instrument toolbar onto the EWB circuit window.
2. Double-click on the multimeter. You can now change its settings, such as voltage
and current in both ac and dc, also can change to measure resistance.
3. The multimeter has two terminals, "-", and "+".connect negative to a ground
terminal.
4. Get two red probes from the Indicators toolbar. Wire them to the "+" and "-"
terminals, and activate the circuit. To get a little bit more information we will
attach a second kind of indicator.
Figure 04 shows the function generator on EWB software to set amplitude and frequency
and through this we can generate square, sine wave and rectangle signal etc.
Figure 04: The function generator with bar graph displays on EWB
1. Drag the function generator onto the circuit window of EWB.
2. Double-click on the function generator. You can now change its settings, such as
the wave form, the signal amplitude and the signal frequency.
3. The function generator has three terminals, "-", "common" and "+".Connect the
common to a ground terminal.
4. Get two red probes from the Indicators toolbar. Wire them to the "+" and "-"
terminals, and activate the circuit. You should now have two blinking red lights.
To get a little bit more information we will attach a second kind of indicator.
5. Get two decoded bar graph displays from the indicator toolbar.
6. Wire one terminal of each of the bar graph indicators to ground, and the other
terminals to the"+"and "-" terminals of the function generator.
7. Experiment with changing the wave form and frequency of the signal generator.
The Oscilloscope:
An oscilloscope is a far more powerful instrument than a bar graph indicator or even a
voltmeter. It can show you the time dependence of the signals in your circuit. The EWB
oscilloscope provides a fairly close approximation of a real one. It has two independent
input channels, A and B, an input for an external trigger and a ground connection. The
following figure 05 shows the oscilloscope on the workbench window to check the input
and output waveform using dual channels.
To look at the output of your signal generator you can add an oscilloscope to the circuit
you just made.
1. Drag the oscilloscope onto the circuit window, and double-click on it.
2. The oscilloscope has four terminals, for two independent input channels, a trigger
input and a ground connection. The input channels sense voltages with respect to
ground. As long as there is at least one ground terminal attached to your circuit, it
is not necessary to connect the oscilloscope ground. We will discuss the issue of
how the oscilloscope is triggered in class. At this point, leave the triggering on
auto.
3. Connect channel A to the "+" output of the function generator, and activate the
circuit. You should now have a sine wave on your oscilloscope screen.
4. Make drastic changes in the signal amplitude and frequency, and adjust the
sensitivity and time base settings such that you still maintain an easily
interpretable picture of the wave form on the oscilloscope screen. It may be
necessary to occasionally reactivate the simulation.
5. Change the offset on the function generator to a value of the order of the
amplitude. This adds a constant voltage to the signal. You will see the trace on the
oscilloscope move up (or down). You have two options to move it back to center
6. Change the "y position" such that the trace comes back on center. This can always
been done as long as the offset is not too large. (Most oscilloscopes cannot
produce an internal offset that is much larger than the full scale display range.).
7. Change the "y-position" back to zero, and select "AC" as input coupling mode. In
this mode the DC component of the signal is removed. The EWB oscilloscope is
very good at this, but real instruments have a difficulty distinguishing between
DC and very slowly oscillating signals. In practice, avoid the AC input mode for
signal frequencies less than 100 Hz
To get a larger image of the oscilloscope, try the expand button. On the expanded display
you will find two vertical line cursors. By moving these around you can measure time
and amplitude of points on the displayed traces.
Simulation: