Experiential Learning of Digital Communi
Experiential Learning of Digital Communi
Abstract—This paper discusses the design and implementa- students understand complex theories and connect these to
tion of laboratories and course projects using LabVIEW in an practical problems. While instrumentation is primarily a focus
instrumentation course. The pedagogical challenge is to enhance of electrical engineering, the subject is used in nearly all engi-
students’ learning of digital communication using LabVIEW.
LabVIEW was extensively used in the laboratory sessions, which neering majors.
better prepared students for the course projects. Two course The use of LabVIEW in the engineering curriculum for data
projects were designed to familiarize the students with virtual acquisition, instrumentation, and control is well documented.
instrumentation, data acquisition, Modbus communication, and LabVIEW has been used to teach Fourier transforms [3],
simple closed-loop control. One project involved the instrumen- analog-to-digital converters (ADCs) [4], thermodynamics [5],
tation and control of a brushed dc permanent magnet motor; the
other involved the instrumentation and control of a small-scale vibration measurements [6], telephone line encoders and de-
temperature chamber. Students used one computer, functioning coders [7], material testing [8], biomedical engineering [9],
as a Modbus slave, to measure the motor speed or temperature digital signal processing (DSP) [10], signals and systems [11],
inside the chamber and to turn the motor or lightbulbs on and circuit analysis [12], dynamic systems and controls [13], mecha-
off. Another computer, functioning as a Modbus master, reads tronics [14], and liquid level control [15]. It also has been used
the measurements using Modbus communication protocol via
RS-485 wires, compared the measurements to the set points, made as a tool to teach engineering students introductory software
control decisions, and sent the commands to the Modbus slave for programming [16], [17], problem solving [18], and digital
actuation. The effectiveness of student learning is analyzed using logic [19]. Many multidisciplinary courses and projects have
student survey data. used LabVIEW as the data acquisition tool [20]. Porter et al.
Index Terms—Digital communication, engineering education, used LabVIEW as a means to link simulation and laboratory
experiential learning, instrumentation. experiments and as a tool for troubleshooting measurement
systems [21]. There have also been several implementations
of LabVIEW remote panels and Runtime engine for remote
I. INTRODUCTION access to laboratories through the Internet, for purposes such as
distance education [22]–[25]. Naghedolfeizi et al. conducted an
EING a practical discipline, engineering requires intensive survey on the subject of Web-enabled technologies,
B hands-on experience. Extensive discussions on the
role of laboratory work in education have questioned how to
including LabVIEW, to build remote experiments [26]. Arthur
and Sexton used LabVIEW to convert an old steam power plant
strike a balance between theory and practice [1]. Laboratories and cooling tower into a state-of-the-art control system [27].
can be expensive and time-consuming, while theoretical study Quinn discussed the use of LabVIEW to provide early, contin-
can be boring and difficult to understand. However, without uous, and significant laboratory experiences for all engineering
the fundamental understanding of theory, laboratory work can students throughout the freshman and sophomore years at
become an inefficient trial-and-error process. One solution Drexel University, Philadelphia, PA, USA [28]. Several other
proposed by many scholars is to use tools such as LabVIEW scholars have made efforts to incorporate LabVIEW into the
throughout engineering education programs. entire engineering curriculum [6], [29]–[32]. Erwin et al. pro-
LabVIEW, developed by National Instruments (NI), is a data posed to use LabVIEW, together with LEGO materials, starting
acquisition, instrumentation, and control programming tool in kindergarten and continuing through graduate school [33].
widely used in industry. LabVIEW’s graphical programming The conclusions from these articles were overwhelmingly
environment, with its many software features and hardware positive. LabVIEW allowed students to learn instrumentation
options, is the main reason for its increasing popularity. Many concepts through meaningful hands-on experience.
researchers and engineers use LabVIEW for testing and rapid This paper describes how, in response to industry needs,
prototyping in the product development process [2]. In insti- an instrumentation course (ENTC359) in the Electronics
tutions of higher education, LabVIEW can be used to help and Telecommunications Engineering (EET) program in the
Department of Engineering Technology and Industrial Distri-
bution, Texas A&M University, College Station, TX, USA,
Manuscript received November 09, 2012; accepted May 02, 2013.
The authors are with the Department of Engineering Technology and In- was revamped to focus on digital instrumentation [34]. Two
dustrial Distribution, Texas A&M University, College Station, TX 77843-3367 new course projects were created to provide students with
USA (e-mail: [email protected]).
hands-on experience in digital communication protocol using
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org. LabVIEW [35]. LabVIEW was chosen as the tool for the course
Digital Object Identifier 10.1109/TE.2013.2264059 projects due to its ability to provide hands-on experiences for
The front panel of a Modbus master VI created by a student Some students also figured out how to avoid the flickering of
team is shown in Fig. 8. The temperature profile (the piecewise the lights by adding hysteresis to the control logic. As a part of
linear trace) and the actual temperature were plotted on the same the curriculum integration effort, the temperature or motor con-
chart (on the bottom left corner). The error was also displayed trol systems will be used in the laboratories of the subsequent
on the front panel. The students taking ENTC 359 had not yet Controls course, where PID control can be applied to the con-
taken the Controls class; therefore, the control algorithm was troller to further improve the result.
based on common sense logic. A typical temperature control The following digital low-pass filter was implemented in the
logic looks like the following: Slave VI:
then turn two lightbulbs on and turn the fan motor off; where is the temperature, is the filtered temper-
ature from last step, and is the current filtered tempera-
else if temperature desired temperature ture. The parameter between 0 and 1 is a user input in the
then turn one lightbulb on and turn the fan motor off; front panel. Changing will change the cutoff frequency of the
low-pass filter. Students could easily see the effect of changing
else if temperature desired temperature C the cutoff frequency: When is too small, the filtering is not
enough; when is too large, there is an unacceptable delay of
then turn both lightbulbs off and send a high PWM duty
the filtered signal.
cycle to the fan motor;
A software bug was identified within LabVIEW (ver. 2010
else turn both lightbulbs off and send a low PWM duty cycle and older), where a local variable inside a case structure would
to the fan motor. not work as intended. This software issue was reported to NI.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
TABLE I and smallest standard deviation (0.44). The result shows that
RAW DATA FROM STUDENT SURVEY students felt the laboratories achieved the design objective of
supporting the course projects. Question 7a has the highest
standard deviation (0.75), which may be a result of the smaller
sample size. No other apparent reasons can be identified as the
cause of the higher standard deviation. Questions 2 and 10 have
the lowest average (4.55). A possible cause for the low average
for Q10 may be that the course projects are more difficult than
the laboratories. The 95% confidence levels for the mean and
Another issue with the LabVIEW Modbus was that the bus only standard deviation reveal similar conclusions.
allows one slave as opposed to multiple slaves. This issue pre- In addition to the end-of-semester student survey, students
vented students from controlling both the temperature chamber were asked to evaluate themselves at the beginning and the end
and motor speed with one master and two slaves. of each semester. There were a total of 78 students who par-
ticipated in both pre- and post- self-evaluations. Students were
instructed to rank themselves with a number from 1 to 10 in the
IV. EVALUATION OF STUDENT LEARNING following areas, with 1 being least knowledgeable and 10 being
In addition to the official university teaching evaluation most knowledgeable: A1—Measurement system; A2—ADC,
for the course, anonymous student surveys were conducted at DAC; A3—Sensors; A4—Signal conditioning; A5—Digital fil-
the end of each semester to determine whether the learning ters; A6—Modbus; A7—LabVIEW. Here, “A” stands for area.
outcomes have been successfully achieved. The pedagogical Because the goal of the self-evaluations is to discover
issue of whether student learning of digital communication was whether the means for the before and after scores are signifi-
achieved by using LabVIEW in laboratories and course projects cantly different, the most appropriate analysis tool is the paired
was analyzed based on the survey data. Specific questions on t-test for each area with the following hypotheses:
use of LabVIEW in laboratories and course projects were (The knowledge level had the same av-
included in the survey. erage before and after the course for a particular area.)
Q1) Did the laboratories help you understand sensor circuits?
Q2) Did LabVIEW help you understand digital filtering? (The knowledge level after the course had
Q3) Did the labs help you understand analog input and output a higher average than before the course for a particular
using DAQ? area.)
Q4) Did the labs help you understand digital input and output Since the sample size of 78 was sufficiently large, according
using DAQ? to the Central Limit Theorem, the average can be approximated
Q5) Did LabVIEW help you understand the concepts of dig- by a Normal distribution. Therefore, there is no need to check
ital instrumentation and closed-loop control? for normality for the raw data in order to use the paired t-test.
Q6) Did LabVIEW help you understand Modbus and digital The mean and standard deviation for the difference between
communication protocols? the post- and pre-self-evaluations (pre- subtracted from post-)
Q7) a) Was the motor control project helpful in under- are summarized in Table III. The raw data are not shown here.
standing digital communication? It is worth mentioning that a few post-scores were lower than
b) Was the temperature control project helpful in un- the pre-scores, which is not reasonable. There are several pos-
derstanding digital communication? sible explanations for this phenomenon: Students forgot what
Q8) Did the labs help you in completing the course project? scores they gave for the pre-evaluation when they were doing
Q9) Are you satisfied with the laboratories? the post-evaluation, or students changed their evaluation criteria
Q10) Are you satisfied with the course project? over time. For example, one student gave himself a 10 in A2 in
Students were asked to answer all questions with the exception the pre-self-evaluation and a 7 in A2 in the post-self-evaluation.
of Q7, which has two parts, Q7a and Q7b. Q7a was only an- It may imply that the student originally thought he knew every-
swered by teams that worked on the motor control project, and thing about ADC/DAC, but after the course, realized that he re-
Q7b was only answered by teams that worked on the tempera- ally did not understand as much as he had previously thought. It
ture control project. The following five options were provided is possible but not very likely that, at the end of the semester, the
for each question: 1—Strongly disagree; 2—Disagree; 3—Nei- student forgot some knowledge he previously had. This type of
ther agree nor disagree; 4—Agree; 5—Strongly agree. The raw data has not been deleted or manipulated (for example, making
data are summarized in Table I. the difference equal to 0 in such a case).
The mean, standard deviation, and confidence intervals The paired t-test is to compare the following quantity to
for the mean and standard deviation for each question are :
summarized in Table II. The calculations were carried out
using Minitab. The statistical analysis of the raw data shows
that, overall, students were satisfied with the laboratories and (2)
course projects. They possessed a positive view of the role of
LabVIEW in learning digital communication and instrumen- where is the sample size and equal to 78 in this anal-
tation in general. Question 8 has the highest average (4.82) ysis, is the difference between the means of the post- and
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
TABLE II
STATISTICS FROM STUDENT SURVEY
TABLE III projects allow students to see how digital communication can
STATISTICS OF STUDENT SELF-EVALUATIONS be implemented in different systems.
The course projects are being extended to a microcontroller-
based printed circuit board design after the successful com-
pletion of the LabVIEW-based control systems. Students were
tasked to design a printed circuit board, including a microcon-
troller on the board, to replace the LabVIEW-based Modbus
pre-self-evaluations, is the standard deviation of the differ- slave. Instead of using National Instruments’s DAQ card, sensor
ence, and is the value in the t-distribution table [32]. circuits, signal conditioning circuits, and a microcontroller were
A 99% confidence level is used. The value in (2) can be used for data acquisition, Modbus communication, and control
easily calculated for A1–A7 using the data in Table III to be of the motor or the temperature chamber. This new component
, which are all much of the course project has created both opportunities and chal-
greater than . Therefore, with a confidence level lenges. The results are being monitored and analyzed.
of 99%, the null hypothesis is rejected, and the alternative Curriculum improvement efforts are being made to integrate
hypothesis is accepted for all seven areas. In other words, it the course projects in several courses within the EET program.
can be concluded with a 99% confidence level that the students’ The Modbus communication systems developed in ENTC 359
knowledge levels in all seven of the areas specified in the can be enhanced with wireless capability in a communication
student self-evaluation form (A1–A7) improved significantly course (ENTC 455). The control logic can be replaced by PID
throughout the course. controllers in a control systems course (ENTC 462) with the
focus on control design and performance improvement.
V. CONCLUSION AND FUTURE WORK
This paper discusses the effectiveness of using LabVIEW REFERENCES
to learn the Modbus digital communication protocol. Two [1] L. D. Feisel and A. J. Rosa, “The role of the laboratory in undergraduate
engineering education,” J. Eng. Educ., vol. 94, no. 1, pp. 121–130,
LabVIEW-based Modbus communication projects were cre- 2005.
ated for an instrumentation course. Five laboratory classes were [2] P. Pillay and Z. Xu, “Labview implementation of speed detection for
created to support the course projects. Three small-scale tem- mains-fed motors using motor current signature analysis,” IEEE Power
Eng. Rev., vol. 18, no. 6, pp. 47–48, Jun. 1998.
perature chambers were upgraded with the LabVIEW-based [3] P. Avitabile, J. Hodgkins, and T. Van Zandt, “Innovative teaching of
data acquisition and control system. A dc permanent magnet Fourier series using Labview,” in Proc. ASEE Annu. Conf., 2006.
motor control system was developed as an alternative course [4] B. E. Franklin, C. M. Akujuobi, and W. Ali, “ADC automated testing
using LabView software,” in Proc. ASEE Annu. Conf., 2004.
project. The two systems offer more options to students for [5] J. W. Hines, R. Oro, and Y. Sharara, “Development of an inexpensive
learning different aspects of instrumentation. Students learned LabView-based refrigeration cycle laboratory,” in Proc. ASEE Annu.
LabVIEW, data acquisition, instrumentation, and Modbus com- Conf., 2003.
[6] N. Kiritsis, Y. W. Huang, and D. Ayrapetyan, “A multi-purpose vibra-
munication protocol in these projects. LabVIEW has become a tion experiment using Labview,” in Proc. ASEE Annu. Conf., 2003.
core element in the overall curriculum integration effort for the [7] D. R. Loker, “DTMF encoder and decoder using LabVIEW,” in Proc.
EET program at Texas A&M University. ASEE Annu. Conf., 2002.
[8] I. I. Orabi, “Application of LabVIEW for undergraduate lab experi-
The effectiveness of student learning is evaluated using stu- ments on materials testing,” in Proc. ASEE Annu. Conf., 2002.
dent pre- and post-self-evaluation and end-of-semester survey [9] S. Sharad, “A biomedical engineering startup kit for Labview,” in Proc.
forms. Statistical analysis of the data shows that students are ASEE Annu. Conf., 2008.
[10] M. Tanyel, “Putting bells & whistles on DSP toolkit of LabVIEW,” in
successfully learning digital instrumentation with the extensive Proc. ASEE Annu. Conf., 2011.
use of LabVIEW in laboratories and course projects. [11] J. J. Thiagarajan, K. Tsakalis, A. Spanias, and H. Thornburg, “On the
A lesson learned during the implementation of the course use of Labview in signals and systems,” in Proc. ASEE Annu. Conf.,
2009.
projects is that the laboratories should be tied to the course [12] S. Avramov-Zamurovic, K. Liu, B. Waltrip, and A. Koffman, “A stu-
projects. Through the repeated use of LabVIEW in laboratories dent project: Developing LabVIEW drivers for a measurement bridge,”
before the course projects, students were better prepared for the in Proc. ASEE Annu. Conf., 2007.
[13] C. Salzmann, D. Gillet, and P. Huguenin, “Introduction to real-time
course projects. Otherwise, many students may not be able to control using LabVIEW with an application to distance learning,” Int.
complete the project in time. The two options for the course J. Eng. Educ., vol. 16, pp. 255–272, 2000.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
[14] J. M. Gómez-de-Gabriel, A. Mandow, J. Fernaídez-Lozano, and A. J. [37] T. Castagnet and J. Nicolai, “Digital control for brush DC motor,” IEEE
García-Cerezo, “Using LEGO NXT mobile robots with LabVIEW for Trans. Ind. Appl., vol. 30, no. 4, pp. 883–888, Jul.–Aug. 1994.
undergraduate courses on mechatronics,” IEEE Trans. Educ., vol. 54, [38] J. Santan, J. L. Naredo, F. Sandoval, I. Grout, and O. J. Argueta, “Sim-
no. 1, pp. 41–47, Feb. 2011. ulation and construction of a speed control for a DC series motor,”
[15] J. D. Wagoner and N. F. Macia, “Automatic liquid level controller Mechatronics, vol. 12, no. 9, pp. 1145–1156, 2002.
using a Labview based PC,” in Proc. ASEE Annu. Conf., 2004. [39] T. F. Schubert, F. G. Jacobitz, and E. M. Kim, “Exploring the basic
[16] C. Neuman, D. Lieberman, D. Engelberg, A. Flamholz, P. Marchese, principles of electric motors and generators with a low-cost sopho-
G. Tremberger, and T. Cheung, “Labview graphical programming in an more-level experiment,” IEEE Trans. Educ., vol. 52, no. 1, pp. 57–65,
introductory engineering physics course,” in Proc. ASEE Annu. Conf., Feb. 2009.
2006. [40] National Instruments, Austin, TX, USA, “Getting started NI Lab-
[17] S. Navaee, “Computing and programming with LabVIEW,” in Proc. VIEW student training,” 2010 [Online]. Available: http://zone.ni.
ASEE Annu. Conf., 2004. com/devzone/cda/tut/p/id/7466
[18] J. Hrynuk, M. Pennington, D. Illig, and J. P. Dempsey, “Freshman en-
gineering: An introductory computer course teaching Matlab and Lab-
view,” in Proc. ASEE Annu. Conf., 2008.
[19] T. Perales, J. A. Morgan, and J. R. Porter, “A Labview FPGA toolkit
to teach digital logic design,” in Proc. ASEE Annu. Conf., 2009. Wei Zhan (M’91–SM’02) was born in China in 1963. He received the Bach-
[20] J. E. Globig, “An interdisciplinary, LabVIEW based, data acquisition elor’s degree in electrical engineering from the Beijing University of Aeronau-
and measurements course,” in Proc. ASEE Annu. Conf., 2003. tics and Astronautics, Beijing, China, in 1983, and the M.S. degree in systems
[21] J. R. Porter, J. Ochoa, and S. Tumati, “Linking simulation tools to lab- engineering and D.Sc. degree in systems science from Washington University
oratory experiments: Teaching design verification in engineering tech- in St. Louis, St. Louis, MO, USA, in 1988 and 1991, respectively.
nology,” in Proc. ASEE Annu. Conf., 2002. He is currently an Associate Professor with the Electronics and Telecommu-
[22] O. Akinwale, L. Kehinde, K. P. Ayodele, A. M. Jubril, O. P. Jonah, S. nications Engineering Technology program, Texas A&M University, College
Ilori, and X. Chen, “A Labview-based on-line robotic arm for students’ Station, TX, USA. Before joining Texas A&M, he worked with TRW Auto-
laboratory,” in Proc. ASEE Annu. Conf., 2009. motive, Livonia, MI, USA; Wayne State University, Detroit, MI, USA; and the
[23] S. Khan, F. Farahmand, and S. Moslehpour, “A Labview based inte- University of California, San Diego, La Jolla, CA, USA. His research interests
grated virtual learning platform,” in Proc. ASEE Annu. Conf., 2010. include control system theory and applications to industry, system engineering,
[24] M. Ogot, G. Elliott, and N. Glumac, “An assessment of in-person robust design, modeling, simulation, quality control, optimization, and educa-
and remotely operated laboratories,” J. Eng. Educ., vol. 92, no. 1, pp. tional research.
57–64, 2003. Dr. Zhan is a Senior Member of ASQ, a Senior Member of SAE, a Member
[25] E. K. Rézaei and S. R. Kolla, “Internet-based on/off controller using of ASEE, a registered Professional Engineer in the State of Michigan, and an
LabVIEW,” in Proc. ASEE Annu. Conf., 2003. ASQ certified Six Sigma Black Belt.
[26] M. Naghedolfeizi, S. Arora, and S. Garcia, “Survey of LabVIEW tech-
nologies for building Web/internet-enabled experimental setups,” in
Proc. ASEE Annu. Conf., 2002.
[27] J. H. Arthur and M. R. Sexton, “Labview application: Energy labora-
tory upgrade,” in Proc. ASEE Annu. Conf., 2002. Jay R. Porter (M’00–SM’13) received the B.S. degree in electrical engi-
[28] R. G. Quinn, “The introductory engineering test, design and simu- neering, M.S. degree in physics, and Ph.D. degree in electrical engineering
lation laboratory,” J. Eng. Educ., vol. 82, no. 4, pp. 224–226, 1993. from Texas A&M University, College Station, TX, USA, in 1987, 1989, and
[29] R. Barat, J. Federici, A. Johnson, H. Grebel, and T. Chang, “Optical 1993, respectively.
science and engineering curriculum at NJIT,” J. Eng. Educ., vol. 87, He is currently a Professor and the Program Director of the Electronics and
no. 5, pp. 575–582, 1998. Telecommunications Engineering Technology program, Texas A&M Univer-
[30] S. Cui, Y. Wang, Y. Zhang, and C. Akujuobi, “Laboratories enhance- sity. He is an author on 16 journal articles and over 70 conference proceedings.
ment with Labview based graphical development tools,” in Proc. ASEE His research interests include instrumentation and measurement, virtual instru-
Annu. Conf., 2008. mentation development, and magnetic resonance imaging.
[31] V. Lohani, P. Delgoshaei, and C. Green, “Integrating Labview and real- Dr. Porter is a member of the American Society for Engineering Education,
time monitoring into engineering instruction,” in Proc. ASEE Annu. as well as a licensed Engineer in the State of Texas.
Conf., 2009.
[32] B. Wortman, W. R. Richdson, G. Gee, M. Williams, T. Pearson, F.
Bensley, J. Patel, J. DeSimone, and D. R. Carlson, “The certified
six sigma black belt primer,” Quality Council of Indiana, West Terre Joseph A. Morgan (M’89) received the B.S. degree in electrical engineering
Haute, IN, USA, 2001. from California State University, Sacramento, CA, USA, in 1975, and the M.S.
[33] B. Erwin, M. Cyr, and C. Rogers, “LEGO engineer and ROBOLAB: and D.E. degrees in industrial engineering from Texas A&M University, College
Teaching engineering with LabVIEW from kindergarten to graduate Station, TX, USA, in 1980 and 1983, respectively.
school,” Int. J. Eng. Educ., vol. 16, no. 3, pp. 181–192, 2000. He is currently a Professor with the Electronics and Telecommunications En-
[34] J. R. Porter, J. A. Morgan, and W. Zhan, “Development of a “Smart” gineering Technology program, Texas A&M University. He has over 20 years of
sensor: An integrated instrumentation course project,” in Proc. ASEE military and industry experience in electronics and telecommunications systems
Annu. Conf., 2009. engineering. He joined the Engineering Technology and Industrial Distribution
[35] “LabVIEW User Manual,” National Instruments, Austin, TX, USA, Department in 1989 and has served as the Program Director of the Electronics
Apr. 2003. and Telecommunications Programs and as the Associate Department Head for
[36] Modbus-IDA, Hopkinton, MA, USA, “Modbus Applica- Operations. His education and research interests include project management,
tion Protocol Specification, V1.1b,” Dec. 28, 2006, pp. innovation and entrepreneurship, and embedded product/system development.
1–51 [Online]. Available: http://www.modbus.org/docs/ Dr. Morgan is a member of the American Society for Engineering Education,
Modbus_Application_Protocol_V1_1b.pdf as well as a licensed Engineer in the State of Texas.