Professional Documents
Culture Documents
EE-312L
Fall-2023
CLO Marks
Obtained Marks
Lab Engineer
Comments & Signature
Lab Report
Submitted By
Section: B Group: 03
Experiment No. 12 Date of Submission: 15th December , 2023
Experiment Title:
Angle Measurements Using Potentiometer of NI ELVIS II+ Kit
Batch: 2021-2025 Teacher: Dr. Sufi Tabassum Gul & Dr. Mohsin Riaz
Mr. Hasnain Ahmad
Semester 5th
Mr. Asghar Ali
12.1 Abstract:
This lab was focused on the utilization of potentiometer-based sensing techniques
within the NI ELVIS II+ platform for accurate and reliable angle measurements. The
potentiometer, a key component in this study, serves as a transducer to convert rota-
tional angles into electrical signals. Through careful calibration and signal process-
ing, the potentiometer’s output is translated into precise angular measurements. The
study investigates the performance of the potentiometer-based angle measurement
system in terms of accuracy, repeatability, and response time. Experimental proce-
dures involve the development of calibration method and the implementation of sig-
nal conditioning techniques to enhance the reliability of angle measurements. Results
obtained from the experiments demonstrate the effectiveness of the potentiometer-
based angle measurement system in providing accurate and consistent angular data.
The integration of this system into the NI ELVIS II+ platform enhances its capa-
bilities for educational purposes, offering students a practical and engaging learning
experience in the field of instrumentation and measurement. This experiment gives
valuable insights into the application of potentiometer-based sensing technologies for
angle measurements and highlights the potential for their integration into educational
platforms, fostering a deeper understanding of instrumentation principles among en-
gineering students.
12.2 Introduction:
Precision and accuracy are crucial in the field of engineering, and the ability to mea-
sure angles with high reliability is essential for numerous applications. The Angle
Measurements Using Potentiometer experiment, conducted with the NI ELVIS II+
Kit, explores the fundamental principles of angular measurement through the utiliza-
tion of potentiometer sensing. Potentiometers, or variable resistors, serve as versatile
transducers capable of converting angular displacements into measurable electrical
signals. In this experiment we studied the capabilities of the NI ELVIS II+ Kit to
understand the dynamics of potentiometer-based angle measurements. The NI ELVIS
II+ Kit integrates various measurement and control devices, offering a comprehensive
environment for students and engineers to gain hands-on experience in instrumenta-
tion and control systems.
Through this investigation, we aim to not only enhance our understanding of
potentiometer-based angle measurements but also to develop critical skills in utiliz-
2
Measurement & Instrumentation Lab 12
ing advanced instrumentation tools for accurate data acquisition. The results and
insights gained from this experiment are anticipated to contribute significantly to our
knowledge of angular measurement systems and their practical implications in the
realm of engineering and technology.
12.2.1 Potentiometer
A potentiometer is a variable resistor that enables precise control of electrical resis-
tance by adjusting the position of a wiper along a resistive track. It is commonly
used in electronic circuits to regulate voltage, volume, or other parameters requiring
variable resistance. Figure 12.1 shows the Front Panel of the VI file on which we will
perform this lab.
How it Works:
A potentiometer works by utilizing a resistive element and a movable wiper. The
resistive element, often a coil of wire or a conductive track, is connected to the
electrical circuit. As the wiper is adjusted along this element, the effective length of
the resistive path changes, leading to a variable voltage output at the wiper’s position.
This alteration in voltage allows for precise control of electrical resistance, making
potentiometers valuable in applications where adjustments to parameters like volume
or voltage are necessary.
• Control Systems: They play a crucial role in control systems, acting as ad-
justable resistors in feedback networks, enabling precise adjustments of system
parameters.
3
Measurement & Instrumentation Lab 12
Figure 12.1: The Front Panel of QUANSER QNET Sensor for the Potentiometer
sensor for angle measurement
4
Measurement & Instrumentation Lab 12
12.3 Equipment
Figure 12.2 shows the NI ELVIS kit used for experimentation, other equipment used
have been listed below:
• Laptop Computer
• NI ELVIS Toolkit
Ensure all equipment is in working condition and properly calibrated before con-
ducting the experiment. Proper handling and care of equipment are essential to
obtain accurate and reliable results.
12.4 Results:
Table 12.1 shows the recorded measurements recorded before calibrating the sensor.
5
Measurement & Instrumentation Lab 12
Figure 12.3: Graph showing the measured and fitted curve of the potentiometer
output
12.5 Procedure
12.5.1 Recording and Testing
Power Cycle and Calibration
• Utilize the NI ELVIS II prototyping board’s power switch to initiate the self-
calibration process of the Potentiometer sensor integrated with the QNET
Mechatronic Sensors.
LabVIEW Setup
• Open the LabVIEW project titled ”QNET Mechatronic Sensors.lvproj.”
• Access the ”QNET Sensors Potentiometer.vi” via the Project Explorer window
in LabVIEW.
6
Measurement & Instrumentation Lab 12
• Choose the specific device from the drop-down menu within the VI to initiate
device selection.
• The VI computes and displays the slope (deg/V) and offset (degrees) of the
calibration curve as Slope (deg/V) and Offset (deg), respectively.
12.5.2 Calibration
1. Access the Calibrate Sensor tab to adjust the potentiometer angle sensor’s out-
put, correlating it with linear target displacement in degrees.
2. Input the previously determined Slope (deg/V) and Offset (degrees) values ac-
quired during data collection into their respective controls.
4. Determine the sensor’s resolution (in degrees) by analyzing the Calibrated Out-
put waveform chart and compare this resolution with the one provided in the
Concept Review.
7
Measurement & Instrumentation Lab 12
Ensure meticulous testing and accurate recording of actual versus measured angles
during the calibration verification process. Evaluate the sensor’s resolution and its
sensitivity in detecting minimal changes in angle for a comprehensive analysis.
12.6 Observation/Results:
1. The potentiometer operates linearly, displaying a curve with a linear fit, ensur-
ing consistent and predictable measurements based on distance.
3. The software-calculated offset and gradient values are essential inputs for the
calibration menu. Using these values, the meter accurately displays the set
angle, observable through the marked values on the NI ELVIS kit.
12.7 Conclusion
The calibration and testing of the potentiometer using the NI ELVIS lab kit provided
valuable insights into the performance and accuracy of the sensor. Through calibra-
tion procedures, we determined the coefficients necessary to align the potentiometer
readings with known reference points. The iterative calibration process ensured that
the potentiometer’s output closely matched the expected values across the specified
range. The verification phase demonstrated the effectiveness of the calibration, as
evidenced by the minimal deviation between the measured values and the known
standards. This calibration not only enhances the precision of our measurements but
also establishes confidence in the reliability of the potentiometer’s output.
During the testing phase, the potentiometer exhibited a consistent and predictable
response across various positions. The collected data illustrates the relationship be-
tween potentiometer positions and the corresponding measured values. The smooth
and continuous variation observed in the results indicates the reliability and stability
of the potentiometer under different settings.
The experiment’s success in achieving accurate calibration and consistent testing
results underscores the importance of proper calibration in obtaining reliable data
from sensors. The calibrated potentiometer can now be confidently utilized in fu-
ture experiments and applications, providing accurate and trustworthy measurements
within the specified operating range.
In conclusion, this experiment not only provided a hands-on understanding of
potentiometer calibration using the NI ELVIS lab kit but also highlighted the signif-
icance of calibration in ensuring the accuracy and reliability of sensor measurements.
The knowledge gained from this experiment contributes to our broader understanding
of instrumentation and measurement processes in engineering applications.