Objective:: Lab Tasks
Objective:: Lab Tasks
Objective:
The main objective of this lab is to learn basic circuit simulation in Proteous,
and know the working of different components, as how to use them e.g. voltmeter,
ammeter for voltage and current reading etc. And also, how to connect Keil uvision
with proteous and load code to microcontroller in Proteous. It will help us to do a
lot of simulations for different projects.
Software:
Proteous
1: Implement a circuit in proteus, show the input and output on oscilloscope.
Implementation in Proteous:
Output:
Comment:
Here I implemented a half-wave rectifier. A half wave rectifier converts AC
voltage to DC voltage only for half cycle. It uses a single diode. And when it is
forward biased, it allows current to pass through and when it is reversed biased it
blocks the current. The yellow-colored waveform shows an input and the blue
colored waveform shows the rectified output.
2: Simulate the following circuit and with the help of ammeter and voltmeter show the voltage
across each resistor and direction of current
Implementation in Proteous:
Output:
Comments:
I implemented the given circuit in Proteous and obtained the voltages and
currents across each resistor using volt-meter and ammeter. The direction of
current considered here is clockwise.
3: Implement a circuit whose input is 5V AC and output is 20 V AC (Hint: Use transformer).
Implementation in Proteous:
Output:
Comments:
I used an alternator and set its values, like 40Hz frequency. And also, I
chose values of primary and secondary inductances in a way that it will give 20V
AC output on secondary side. Basically, it is a step-up transformer. That’s why
with 5V AC input it gives 20V AC output.
4: Implement the following circuit in proteus and show the output
Implementation in Proteous:
Output:
Comments:
Here, I implemented the above given circuit in Porteous and obtained a
corresponding output. Basically, here first the output increases to a specific point
and then tends to decrease, it works like charging and discharging of a capacitor, or
a bridge rectifier in which first of all two diodes works and after some time other
two works.
5: Designer an amplifier, using an op amp (741) as a non-inverting amplifier with a gain of 11.
Show the input and output using voltmeter/graph.
Implementation in Proteous:
Output:
Comments:
This is the implementation of non-inverting amplifier whose gain is 11. As, the
gain of non-inverting amplifier is 1 + Rf/Rg.
So, by the values from circuit, the gain will be,
= 1 + 20k/2k
= 11 Gain
6: How can you load your code file from Keil uvision to microcontroller in Proteus?
(Provide brief answer to this)
Ans: First of all, we have to right code in Keil uvision. Then, by selecting options,
we will make a hex file and save it. In Proteous, we will choose microcontroller
from library, and by double clicking on it, we will select a program file. By, doing
so, code will be loaded on microcontroller in Proteous. Now, we just have to
simulate it by pressing run button.
----------------------------------------------------------------------------------------------------
The End