Lab Manual
Lab Manual
No.
1 Calibration of a Multimeter
2 Use of Megger for Insulation testing of a transformer
3 Design of an Analog Signal Conditioning Circuit to produce 0-5V using
op-amp and voltage divider circuit
4 Design of R-2R Ladder Digital to Analog Converter
5 Data Acquisition System using Arduino and Matlab/Simulink
6 Design of a Fuzzy Logic Controller
1
Experiment-I
Experiment-I
Title: Calibration of a Multimeter
Apparatus:
S. No. Equipment Range Type Quantity
1 Multimeter 0-220V Digital 1
3 DC voltage supply 0-15V 1
4 Resistor 1kΩ 2
5 Bread-board 1
6 Wires Few
Theory:
A digital multimeter is used to measure voltage,current,resistance and as well as check the
continuity of the circuit. The display shows the measured value.A multimeter is calibrated to
a known zero value prior to readings for accurate measurements.
Circuit diagram:
2
rse ( % )=¿ Am −¿ A ∨ ¿ ∗100% ¿ ¿ (1)
t
At
Observation Table:
3
4
Conclusion:
Hence,the calibration of the multimeter was done by taking both voltmeter and ammeter
readings.The percentage relative square error(rse) was also calculated by using the formula.
The status was concluded to be true if rse was less than or equal to 0, otherwise false.The
calibration curve was shown in graph for Am vs At for both readings.
5
Experiment-II
Title: Use of Megger for Insulation testing of a transformer
Apparatus
S. No. Equipment Range Type Quantity
1 Megger 230V, 1-phase 1
2 Connecting wires 3/22, 15A Few
3 Transformer
Theory
Megger is used for insulation testing. The insulation should be high in MΩ for good
equipment and will lie in Ω range for damaged equipment.
Circuit diagram:
(a) (b)
Figure 1 (a). Transformer (b) Transformer insulation testing using megger
6
Procedure:
1. Remove completely external supply to transformer.
2. Connect leads to megger and set the megger voltage to 1000V.
3. Measure the insulation resistance
Observation Table:
Table 1. Phase-ground insulation resistance check
S. No. Connection Resistance (MΩ)
1 1.2-Ground
2 1.1-Ground
… ..
Conclusion:
7
Experiment-III
Title: Design of an Analog Signal Conditioning Circuit to produce 0-5V using op-
amp and voltage –divider circuit
Apparatus
S. No. Equipment Range Type Quantity
1 Voltage supply DC 1
2 Op-amp LM741 1
3 DC voltage supply 1
4 Resistor 1kΩ 1
5 Resistor 10 kΩ Potentiometer 1
6 Breadboard 1
7 Wires Few
Circuit diagram:
8
Figure 1. Potentiometer as a sensor for angular displacement measurement [I]
Use the voltage divider circuit formula to find the output voltage as:
V o=
( Rs
)V
Rs + R cc
Observation Table:
S. No. Sensor output in Sensor output in Output Output
degrees kΩ voltage voltage
10
from op-amp from divider
1 0 0
2 … … .. ..
3 ..
4 …
5 …
6 270 10
● Plot the graph of output voltage vs angular position for both signal conditioning
circuits.
Conclusion:
References:
I. https://arduinogetstarted.com/tutorials/arduino-potentiometer (Accessed on: October
12, 2021, 12:02 PM)
II. https://www.ti.com/lit/ds/symlink/lm741.pdf (Accessed on: October 12, 2021, 12:02
PM)
Appendix
11
Experiment-IV
Title: Design of a R-2R Ladder Digital to Analog converter
12
Apparatus
S. No. Equipment Range Type Quantity
1 Voltage supply DC 1
2 Op-amp LM741 1
3 DC voltage supply 1
4 Resistor 1kΩ 4
5 Resistor 2kΩ 4
6 Breadboard 1
7 Wires Few
Circuit diagram:
Procedure:
1. Connect the circuit as shown in Figure 1.
2. Start with all the switch position as S1 = 0, S2 = 0, S3 = 0.
3. Change the switch position as S1 = 1, S2 = 0, S3 = 0 and measure the output voltage (Vm).
Use (1) to measure the actual output voltage (Va)
13
−Rf
V a =¿ V R ¿ ] (1)
R
Use Rf = R = 1kΩ, VR = 5V
4. Calculate the percentage relative square error rse (%) using (2).
rse ( % )=¿ V m−¿ V ∨ ¿ ∗100 % ¿ ¿ (2)
a
Va
Observation Table:
1 0 0 0
2 0 0 1
3 0 1 0
4 0 1 1
5 1 0 0
6 1 0 1
7 1 1 0
8 1 1 1
Average rse (%)
Conclusion:
References:
I. https://arduinogetstarted.com/tutorials/arduino-potentiometer (Accessed on: October
12, 2021, 12:02 PM)
14
II. https://www.ti.com/lit/ds/symlink/lm741.pdf (Accessed on: October 12, 2021, 12:02
PM)
Appendix
15
Experiment-V
Title: Data acquisition system using Arduino and Matlab/Simulink
Apparatus
S. No. Equipment Range Type Quantity
1 Arduino Uno 1
2 Resistor 0-10kΩ Potentiometer 1
3 Wires Few
4 Computer 1
5 Matlab 2017b or
higher with
Arduino package
6 Breadboard 1
Circuit diagram:
16
Figure 2. Set up for data acquisition [I]
17
Important Formula:
Vi
D out =
step ¿ ¿¿
Where Dout : digital data output in (decimal), Vi: analog input voltage,
Step size (resolution) = Vref/2n where n is the number of bit
18
Procedure:
1. Open MATLAB/ Simulink and create a new blank model
19
2. Copy Display and scope from Simulink-> Sinks into the model
20
3. Add Simulink-> Simulink Support Package for Hardware ->Comon-> Analog Input into the model
21
4. Connect all the blocks as shown below.
Gain=1/2n , where n is number of bits θ (deg) = (Vo*270)/5
5. Click on Simulation.
22
6. Select your hardware board as shown below
23
7. Change as shown below and run the simulation
24
References:
I. https://arduinogetstarted.com/tutorials/arduino-potentiometer (Accessed on: October 12, 2021, 12:02 PM)
II. https://components101.com/microcontrollers/arduino-uno
25
Experiment-VI
Title: Design of a Fuzzy Logic Controller
Apparatus
S. No. Equipment Range Type Quantity
1 Computer 1
2 Arduino 1
3 Led 1
4 Resistor 220 Ω 1
5 Matlab 2017b or higher 1
with Arduino package
6 Breadboard 1
7 Wires Few
Rules:
If Then
Temperature is Cold Motor speed is Slow
Temperature is Warm Motor speed is Medium
Temperature is Hot Motor speed is Fast
26
Pulse width modulation and output voltage
27
Figure 2. Display of pulse width modulation function of Arduino using LED [I]
28
29
References:
[I] https://create.arduino.cc/projecthub/muhammad-aqib/arduino-pwm-tutorial-ae9d71
30
EXTRA
Title: Development of a closed loop control system design using Simulink
Apparatus
1 Arduino Uno 1
2 Temperature sensor LM 35
3 Wires Few
4 Breadboard 1
5 LED Few
6 Breadboard 1
Theory:
This lab will discuss closed loop control system design to maintain the temperature in a closed area.
The plant is the heater. The overall control system will be developed in Simulink.
Block diagram:
Controller Plant
Error Actual temp.
Reference Input
Arduino Heater
Temperature Transducer
Reference
Voltage Temperature
sensor (LM35)
Actual voltage
Output transducer
31
Figure 2. Closed loop implementation in Simulink
32
EXTRA
Title: Development of a closed loop control system design using Simulink
Apparatus
1 Arduino Uno 1
2 Temperature sensor LM 35
3 Wires Few
4 Breadboard 1
5 LED Few
6 Breadboard 1
Theory:
This lab will discuss closed loop control system design to maintain the temperature in a closed area.
The plant is the heater. The overall control system will be developed in Simulink.
Block diagram:
Controller Plant
Error Actual temp.
Reference Input
Arduino Heater
Temperature Transducer
Reference
Voltage Temperature
sensor (LM35)
Actual voltage
Output transducer
33
Figure 2. Closed loop implementation in Simulink
34