Road Load Data
Road Load Data
Road Load Data
Campus Monterrey
A thesis presented by
Submitted to the
School of Engineering and Sciences
in partial fulfillment of the requirements for the degree of
Master of Science
In Manufacturing Systems
The committee members, hereby, certify that have read the thesis presented by Oscar
Stalin Orellana Cruz and that it is fully adequate in scope and quality as a partial requirement
for the degree of Master of Science in Manufacturing Systems
_______________________ _______________________
Dr. Ciro Rodríguez González Dr. Oscar Martínez Romero
Tecnológico de Monterrey Tecnológico de Monterrey
School of Engineering and School of Engineering and
Sciences Sciences
Principal advisor Committee member
_______________________ _______________________
Dr. Héctor Siller Carrillo Dr. Federico Guedea Elizalde
University of North Texas Tecnológico de Monterrey
Department of Engineering School of Engineering and
Technology Sciences
Co-advisor Committee member
_______________________
Dr. Ruben Morales Menendez
Associate Dean of Graduate Studies
School of Engineering and Sciences
2
Monterrey Nuevo León, May 14th, 2018
Declaration of Authorship
I, Oscar Stalin Orellana Cruz declares that this thesis titled, “Road Load Data
Acquisition system on Heavy Trucks with SAE-J1939 Communications Network:
Integration and Experiments” and the work presented in it is of my own. I confirm that:
This work was done wholly or mainly while in candidature for a research degree at
this University.
Where any part of this thesis has previously been submitted for a degree or any other
qualification at this University or any other institution, this has been clearly stated.
Where I have consulted the published work of others, this is always clearly attributed.
Where I have quoted from the work of others, the source is always given. With the
exception of such quotations, this thesis is entirely of my own work.
I have acknowledged all main sources of help.
Where the thesis is based on work done by myself jointly with others, I have made
clear exactly what was done by others and what I have contributed by myself.
___________________________
Oscar Stalin Orellana Cruz
Monterrey Nuevo León, May 14th, 2018
3
Dedication
This thesis is special dedicated to my mother, to whom I have always tried to give the best
of myself and who I have always had support in all the projects of my life, to my father
who has always been an example of perseverance and mettle, but at the same time, to
whom I have tried to show that there are different ways to achieve success and to my
brothers to whom, as a role model, I try to show that, although there is a long way to go to
reach our goals, it depends on the opportunities that you generate and the conviction that
you have.
I also want to give a dedication to close people who with their example have managed to
break schemes and get ahead, as are my uncle Juan Cruz, my cousin Byron Rojas and my
best friend Luis Angel Cruz.
Finally, a special dedication to those family members who are no longer with us, especially
my great aunt Maria Jaramillo, who strengthened in me family unity and humility values
enough to find happiness.
To God.
4
Acknowledgements
I want to thank all those who supported and motivated the idea of growing
professionally, especially one of my best friends, Ana María Salas, and Hans Witte, who was
my boss at Tecnova Ecuador who indirectly managed to encourage my search for a master
without thinking that their support would become for me an opportunity to demonstrate my
capability in this prestigious institution. Thanks to all the colleagues and friends who were
able to form during this time, friends whom I consider family and who were always present
to share experiences and knowledge.
I want to thank the confidence and opportunity given by Dr. Hector Rafael Siller
Carrillo, who was director of this master's program, and Dr. Ciro Angel Rodríguez González,
current principal advisor for supporting the initiatives and providing the necessary resources
to complete the project. I also want to thank MSc. Pedro Antonio Orta Casatañon and Dr.
Christian Carlos Mendoza Buenrostro for the academic support they could provide
throughout the project.
I would like to give special recognition to the Navistar company Navistar and its
support staff for the project, especially to the Engr. Laura Piña who shared her knowledge
and experience to boost the understanding of the project.
Finally, I would like to thank CONACYT and the Tecnológico de Monterrey for the
financial support, the opportunity to belong to a research group and for the motivation to
study and obtain the Master's degree.
5
“Road Load Data Acquisition system with SAE-J1939
Communications Network: Integration and Laboratory Test”
By
Oscar Orellana Cruz
Abstract
This thesis discloses the results of a reliability analysis (R&R Study) through
comparative method to validate a data acquisition (DAQ) system developed and built as a
prototype. The laboratory conditions were established in order to test and validate the
prototype when it acquires signals from accelerometers and strain gages as well as parameters
taken from the electronic control unit (ECU), in this case a truck.
The prototype equipment is composed of 9030 Compact RIO system with NI 9862
module for Controller Area Network (CAN) SAE J1939 and NI 9206 for analog inputs. 800
Hz sampling rate is programmed with LabVIEW code to acquire, store and analyze
information.
For the truck parameters, the code developed by Armando Ramírez in his research
[6] was replicated and integrated into the code developed for the acquisition of signals with
a user-friendly and versatile interface. The parameters are accelerator pedal position, engine
speed, engine coolant temperature and wheel-based vehicle speed, with these parameters is
possible to analyze the driving mode during the road tests.
Instrumentation for acceleration was developed on a shaker to acquire the data, the
frequency and wave amplitude were controlled by the use of a signal generator and signal
amplifier. The reference data is acquired by a Brüel & Kjaer (B&K) module model 3160-A
pattern equipment with PULSE Time Data Recorder software.
6
Instrumentation for strain measurements was developed by simulating the strain gage
measurement using a variable precision resistor. The reference data is acquired by a B & K
module model 3160-A pattern equipment with PULSE Time Data Recorder software and two
multimeters: OTC 55 series and MUL-280. The analysis range for these measurements is 0
to 80 Hz.
7
Contents
List of Tables ......................................................................................................... 11
List of Figures ........................................................................................................ 11
Chapter 1 ............................................................................................................... 13
1 Introduction .................................................................................................... 13
1.1 Motivation .................................................................................................................. 14
1.2 Problem Statement .................................................................................................... 14
1.3 Thesis Hypothesis ...................................................................................................... 15
1.4 Objective ..................................................................................................................... 15
1.4.1 Specific Objectives ............................................................................................... 16
1.5 Thesis Content ........................................................................................................... 16
1.6 Thesis Scope ............................................................................................................... 17
Chapter 2 ............................................................................................................... 18
2 Literature Review ............................................................................................. 18
2.1 State of Art ........................................................................................................... 18
2.1.1 DAQ System ......................................................................................................... 19
2.1.2 CAN BUS Data Collection System ..................................................................... 21
2.2 Standards .............................................................................................................. 23
2.2.1 Tolerance of Vibration Measurement System .................................................. 23
2.2.2 Vibration calibration by comparison to a reference transducer ..................... 24
2.3 Summary .................................................................................................................... 25
Chapter 3 ............................................................................................................... 27
3 System Implementation ..................................................................................... 27
3.1 Introduction .......................................................................................................... 27
3.2 Objectives ............................................................................................................. 28
3.3 Methods and Materials ........................................................................................ 28
3.3.1 Hardware and Software Configuration............................................................. 28
3.3.2 Software application for Electrical Validation ................................................. 30
3.3.3 Test Setup – Electrical Evaluation ..................................................................... 31
3.3.4 Analysis of Electrical Validation Tests .............................................................. 33
3.3.5 Software application for CAN J1939 data ........................................................ 34
3.3.6 Data Collection Integration ................................................................................ 35
3.3.7 Test Setup – CAN Data Collection ..................................................................... 36
3.3.8 Analysis Data Integration Test ........................................................................... 37
8
3.4 Conclusions ........................................................................................................... 40
Chapter 4 ............................................................................................................... 41
4 System Validation ............................................................................................. 41
4.1 Introduction .......................................................................................................... 41
4.2 Objectives ............................................................................................................. 42
4.3 Methods and Materials ........................................................................................ 42
4.3.1 Code and User Interface Develop for Measurements ...................................... 42
4.3.2 Storage Data Method........................................................................................... 42
4.3.3 Transducers.......................................................................................................... 43
4.3.4 Error Estimation and Test Setup- Acceleration ............................................... 44
4.3.5 Verification Measurement Instrument Calibration ......................................... 48
4.3.6 Error Estimation and Test Setup- Strain Gage ................................................ 49
4.3.7 Verification Measurement Instrument Calibration ......................................... 54
4.4 Results ................................................................................................................... 55
4.5 Conclusions ........................................................................................................... 58
Chapter 5 ............................................................................................................... 59
5 Summary and Conclusions ................................................................................ 59
5.1 General Conclusion.............................................................................................. 59
5.2 Contributions ....................................................................................................... 59
5.3 Future Work ......................................................................................................... 60
5.4 Recommendations ................................................................................................ 60
References.............................................................................................................. 61
Annexes ................................................................................................................. 63
Annex 1 ............................................................................................................................. 63
Annex 2 ............................................................................................................................. 66
Annex 3 ............................................................................................................................. 71
Annex 4 ............................................................................................................................. 75
Annex 5 ............................................................................................................................. 80
Annex 6 ............................................................................................................................. 87
Annex 7 ............................................................................................................................. 91
Annex 8 ............................................................................................................................. 96
Annex 9 ........................................................................................................................... 100
Annex 10 ......................................................................................................................... 101
Annex 11 ......................................................................................................................... 106
9
Annex 12 ......................................................................................................................... 108
Annex 13 ......................................................................................................................... 111
Annex 14 ......................................................................................................................... 117
Annex 15 ......................................................................................................................... 122
Appendix A..................................................................................................................... 130
Appendix B ..................................................................................................................... 133
Appendix C..................................................................................................................... 134
Appendix D..................................................................................................................... 135
Appendix E ..................................................................................................................... 137
Appendix F ..................................................................................................................... 138
Appendix G .................................................................................................................... 140
Appendix H .................................................................................................................... 144
Appendix I ...................................................................................................................... 146
10
List of Tables
Table 1. Relevant Investigation. ........................................................................................... 18
Table 2. Standards related to Vibration Measurement Equipment. ...................................... 23
Table 3. Standards related to Vibration Measurement Equipment. ...................................... 24
Table 4. Commercial systems comparative [2]. ................................................................... 25
Table 5. Data Acquisition Software [2]. ............................................................................... 26
Table 6. Code width for pattern equipment and prototype. .................................................. 31
Table 7. Code width for pattern equipment and prototype. .................................................. 36
Table 8. Integration Test. - .tdms file analysis ..................................................................... 37
Table 9. Error sources for acceleration measurement. ......................................................... 46
Table 10. Prototype Theoretical Error for Acceleration Measurement. ............................... 46
Table 11. Prototype specifications for acceleration measurement ...................................... 49
Table 12. Prototype Theoretical Error for Strain Measurement. .......................................... 50
Table 13. Channels configuration for Strain Measurement. ................................................. 53
Table 14. Prototype specifications for strain measurement. ................................................ 54
Table 15. Prototype specifications for strain measurement with signal amplification. ....... 55
Table 16. Prototype specifications for acceleration measurement ...................................... 57
Table 17. Prototype specifications for strain measurement without signal amplification. . 57
Table 18. Prototype specifications for strain measurement with signal amplification. ....... 58
List of Figures
Figure 1. Measuring system for vibration validation by comparison to a reference
transducer........................................................................................................................ 24
Figure 2. General scheme for CAN connection [6] .............................................................. 27
Figure 3. Scheme of system development ............................................................................ 28
Figure 4. Hardware connections for Vibration Validation ................................................... 29
Figure 5. Configuration for electrical validation tests. ......................................................... 30
Figure 6. Measuring scheme for electrical validation by comparison. ................................. 31
Figure 7. Measuring system for electrical validation by comparison................................... 32
Figure 8. Display readings during tests. ............................................................................... 32
Figure 9. Graphic display with waveform obtained by the readings. ................................... 33
Figure 10. NI 9206 Electrical Error Analysis. ...................................................................... 34
Figure 11. SAE J1939 applications. ..................................................................................... 35
Figure 12. a) Pinout NI 9862 module, b) Pinout SAE J1939/13 adapter ............................. 36
Figure 13. Module recognized in NI MAX .......................................................................... 37
Figure 14. Plotted Parameters. - Engine Coolant Temperature ............................................ 38
Figure 15. Plotted Parameters. - Accelerator Pedal Position and Engine Speed .................. 39
Figure 16. Plotted Parameters. - Accelerator Pedal Position and Vehicle Speed ................. 39
Figure 17. Scheme of system implementation ..................................................................... 41
Figure 18 Accelerometer 2220-100 from Silicon Design.. .................................................. 43
Figure 19 Strain Gage – Linear Pattern from Micro Measurements. .................................. 44
11
Figure 20 Vibration system consisting of shaker and power amplifier. ............................... 45
Figure 21 Implementation of equipment for acceleration test. ............................................. 45
Figure 22 Error estimation for acceleration measurement. .................................................. 47
Figure 23 Equipment running acceleration test. ................................................................... 47
Figure 24 Error calculated at different frequencies. ............................................................. 48
Figure 25 Difference in the measurements versus pattern equipment.................................. 48
Figure 26 Voltage regulator circuit performed. .................................................................... 50
Figure 27 Quarter Bridge configured with Precision Resistors. ........................................... 51
Figure 28 Quarter Bridge configured with a Bridge Module. .............................................. 51
Figure 29 Strain Measurement Instrumentation. .................................................................. 52
Figure 30 Equipment running a strain simulation test. ......................................................... 52
Figure 31 Channels configuration in User Interface. ........................................................... 53
Figure 32. User Interface ...................................................................................................... 56
Figure 33 Method 2 for Storage Data.- Variable is written at the entered sampling
frequency. ....................................................................................................................... 56
12
Chapter 1
1 Introduction
Road load tests measure the transient and steady state inputs of a vehicle as it operates
over a road surface in the anticipated market region of use or over a replicated drive profile
on a test track. Road load measurements take into account all projected vehicle and driving
parameters such as mass, inertia, air and rolling resistance, road characteristics, engine loads,
and vehicle speed. Road load data is one of the best sources of fundamental information
necessary for analysis of the design, reliability, and structural integrity of vehicle
components. Data Acquisition (DAQ) system applied in the automotive field will allow to
know the behavior of the structure of the vehicle by modifications of components that
integrate it or for specific applications.
This study is focus on the heavy duty segment with Controller Area Network (CAN)
1939 protocol because they represent a great opportunity for the application of a DAQ
system.
13
For special applications it is important to know the behavior of the structure, there
are case studies such as the “Measurement and Analysis of Vehicle Vibration for Bottled
Water Delivery Trucks” by Kyle Dunno from Department of Food, Nutrition, and Packaging
Sciences, Clemson University, Clemson , South Carolina, US that analyze the vibration
inputs experienced by the freight holding area of the vehicle because the distribution product
channels are subjected to three major categories of dynamic hazards: shock, vibration, and
compression.
1.1 Motivation
At present, there are equipment that allows the analysis of the information provided
by the ECU of units equipped with the CAN 1939 communication protocol and additional
14
sensors for acquiring signals of different parameters but separately. This means that in order
to obtain the information from the ECU, a specialized equipment is required, which should
be synchronized together with another equipment when acquiring the signals from the
sensors, this can generate a lag that could establish a false analysis if you want to have a
relationship between driving parameters and road conditions.
The specialized equipment for information of the ECU provides data in hexadecimal
language that must be treated in order to relate it to parameters such as rpms, motor
temperature, etc. and, on the other hand, there are modules for acquisition of vibration signals
but do not provide many channels for the analysis of the entire structure in the route tests.
1.4 Objective
15
1.4.1 Specific Objectives
Select equipment to develop the prototype road load data acquisition (RLDA) system.
Develop the programmable application that allows acquire and storage the
information from the ECU with SAE 1939 protocol communication and analogical
signals from accelerometers and strain gages within the frequency range from 0 to 80
Hz.
Develop laboratory level experiments that allow to validate the repeatability,
reproducibility and reliability of the measurements as well as the good performance
of the selected equipment.
Establish a friendly and versatile user interface that allows the record of relevant
information for the unit’s conversion that must also be stored in a USB memory.
Set a self-calibration option or allow manual calibration of the setup of the connected
sensors.
Establish an operation manual for data acquisition equipment.
This work is divided into 3 parts. In the first part the capabilities of the equipment
selected for the acquisition of the signals are disclosed and solutions are proposed for the
conditioning of the same since they must be within the frequency range of 0 to 80 Hz which
is the range of analysis for the selected application. The second part explains the
implementation of the data acquisition system for analog signals and CAN bus data collection
through laboratory tests with controlled parameters. Finally, vibration tests were designed
and the validation of results was carried out by a repeatability and reproducibility analysis.
The methodology that describes the steps followed in each stage of the project with
the purpose of establishing tests in a methodical way and validating the repeatability and
reliability of the data is presented in chapters 3 and 4.
16
1.6 Thesis Scope
17
Chapter 2
2 Literature Review
In this chapter the literature review, state of art of main topics, available technology
and methodology for project development is presented. More information about data
acquisition system in Annexes 1 to 4.
This section discloses most relevant publications of the main topics covered in this
project considering the research area. The following table shows a detail of the works that
will be discussed below.
Table 1. Relevant Investigation.
18
2.1.1 DAQ System
1.- “A LabVIEW based Data Acquisition System for Vibration Monitoring and
Analysis” [1]: This article presents Labview as an easy-to-use platform with a graphical
programming environment that covers the three main components of a DAQ system that are
data acquisition, data analysis and instrument control.
For signal processing, using LabVIEW, it is necessary to convert the analog signal
into a digital representation. In practice this is done through an analog-digital converter
(A / D) considering the Nyquist theorem to determine the sampling rate and thus avoid
aliasing.
2.- “Road Load Data Acquisition System Through Real-Time Technology: Validation
and First Experiments” [2]: This thesis presents a reliability study for a DAQ system
prototype based on LabView. The fundamental concepts for developing a DAQ system are
presented as well as a selection analysis of equipment available in the market.
The laboratory tests were performed in a simulated vehicle room (QoV), the code in
LabView was implemented with the FPGA module of the cRIO 9030 with a sample rate of
19
1000 samples per second to then analyze the reliability of the equipment through two
statistical methods (Anova and Wheeler's).
3.- “Instrumentation of Navistar Truck for Data Collection” [3]: This main goal of
this project was to instrument a Navistar truck with a suite of sensors and developed a data
acquisition system for recording sensor signals. The truck was instrumented with 20
accelerometers, including accelerometers on the axles of the tractor and the trailer and on the
bodies of the tractor and the trailer. A cRIO-based data acquisition system, a rugged laptop
and Labview software together serve as a flexible platform for data acquisition.
This report provides samples of some recorded data and also includes a user manual
for use of the data recording software on the truck. Two types of accelerometers were
purchased from Analog Devices: ADXL335Z accelerometers with +/- 3g measurement range
(for use on the tractor and trailer bodies) and ADXL325Z accelerometers with +/- 5g range
(for use on the axles). It is important to note that the acceleration values on the axles that
were measured occasionally exceed 2 g on Minnesota Roads at speeds of 50 mph or higher.
Notes further that since a rougher road can cause higher accelerations, a range of +/- 3g was
felt to be inadequate for axle acceleration measurements.
4.- “Analog Filtering Schemes Analysis for ECG Signals” [4]: This paper presented
a characterization of the electrocardiographic signal in order to comprehend how to obtain it,
its origins and its components, as different stages of the cardiac cycle. Besides, there are
described and simulated different kinds of perturbations affecting electrocardiographic
signals. In practice, there are presented designs and implementations of band-pass analog
filters connected as a cascade of lowpass and high-pass filters, aiming to eliminate several
well-known perturbations distorting electrocardiographic signals.
In this case they applied characteristic noise of the ECG signals to a clean signal. A
Butterworth band pass filter, which is the best flat response, was used by operational
amplifiers TL084 and LM234. Then, using a PCI-6221 DAQ system from National
Instruments, they programmed the acquisition of 1000 samples with a sampling frequency of
20
500 Hz to compare the original signal and the filtered signal using the Mean Square Error
(MSE).
Given the frequency range of the ECG signal (0.05Hz -100Hz) and (0.025Hz - 50Hz),
they conclude that the band-pass filter is the best option to filter the undesirable noises that
appear in these signals and that under these conditions, of all the filters, the pass band of
order 6 (0.05Hz-100Hz) was the one that obtained the best filtering response.
1.- “Controller Area Network (CAN) Bus J1939 Data Acquisition Methods and
Parameter Accuracy Assessment Using Nebraska Tractor Test Laboratory Data” [5]: This
thesis presents the implementation of a data acquisition system under CAN 1939 protocol in
two sections that will be explained below:
Two types of data were observed for this study with two different hardware options,
a NI CompactDAQ 9862 and a Vector CANcaseXL. The first data type was CAN bus frame
data, where a data point is collected for each line of hex data sent from the ECU. One problem
with frame data is the resulting large file sizes, therefore a second data type collected was an
averaged signal or waveform data.
The resulting difference was less than .0025 RPM for engine speed comparisons, zero
for fuel rate and fuel temperature comparisons, and the mean percent difference was less than
.08% between the methods of data collection.
21
“Validation of machine CAN Bus J1939 fuel rate accuracy using Nebraska Tractor
Test Laboratory fuel rate data”, A pilot study was performed to determine if there were
differences between data collected using the machine controller area network (CAN) bus
Society of Automotive Engineers (SAE) J1939 standard fuel rate and data collected from a
physical measurement system utilized by the Nebraska Tractor Test Laboratory (NTTL). The
pilot study concluded that there was a difference between the data (up to a 6.22% error),
which indicated a need to perform further studies on this comparison.
The goal of this study was to compare fuel rate values collected from the CAN bus to
the physically measured fuel rate value from tractor performance tests conducted at the
Nebraska Tractor Test Laboratory (NTTL). The fuel rate values were collected
simultaneously and then synchronized to confirm accuracy of results. Fuel rate, as recorded
from the CAN bus, resulted in a ±5% error of actual physically measured fuel rates. Error for
higher fuel rates within the torque curve were closer to ±1%.
2.- “Development of interface for reading and storage CAN parameters under SAE -
1939 standard” [6]: This thesis presents a versatile, reliable and efficient interface using
National Instruments hardware and through the SAE J1939 CAN protocol to manage
communication with the heavy vehicle ECU´s to visualize, decode and store parameters
requested by the automotive industry.
Due to its processing capability, dimensions, modules and price, the DAQ cRIO 9030
system is used with the NI 9862 module. The programming was done in Labview and,
because the parameters that are going to be read (Engine Speed, Accelerator Pedal Position,
Vehicle Speed and Engine Coolant Temperature) are generated at a different frequency, the
code was modified to avoid gaps when relating them, for this the module was connected to a
truck under the J1939 protocol considering the necessary configuration for this in both
hardware and software.
Finally, after acquiring the data through the National Instruments equipment, a
reading comparison is carried out using the CANalyser equipment, which concludes that the
22
selected equipment has compatibility with the J1939 protocol and that the system is stable at
the time of taking readings with a variation 2.5% compared to CANalyser, which is a OEM
equipment.
2.2 Standards
From IS ISO 8041 standard, the relative error tolerances allowed for a vibration
measurement system are presented in the following table.
23
Table 3. Standards related to Vibration Measurement Equipment.
Parameter Tolerance
Tolerance of the electrical part of the instrument ±2%
Key
1 Signal generator 3 Shaker 5 Prototype
2 Amplifier 4 Filter 6 Pattern equipment
7 Reference transducer
24
2.3 Summary
The present investigation will be based on the following topics highlighted in the
literature review.
- From the research carried out by R. Cárdenas [2], thanks to the price analysis of
different data acquisition systems that are in the market, it was considered to use
the equipment and software selected in this investigation to develop the prototype.
The analyzes are presented in Tables 4 and 5.
- From this work [2] it is also considered to implement a 40 Hz low pass filter and
validate if that is the best option to avoid signal noise.
- - Finally, in this research [2] the R & R study is greater than 10%. It is important
to identify the sources of uncertainty to reduce them to ≤ 5%.
25
Table 5. Data Acquisition Software [2].
- From the research carried out by Armando Ramírez [6], the selected parameters
of accelerator pedal position, engine speed, engine coolant temperature and
wheel-based vehicle speed are considered for the analysis to determine driving
conditions that have a relationship with the response to road conditions on the
tuck structure.
- The NI 9862 module will be used, together with the cRIO-9030 equipment and
LabVIEW software, to decode the parameters selected under the SAE J1939
standard from the ECU's truck and presented in a friendly way, unlike other
equipment such as CANanalyser from Vector manufacturer [6] that, although
contain greater functions, require a high level of training and the generated data
are stored in special files, which implies higher costs of additional software and
often do not allow modify or adapt the application to the real need. Figure 2 shows
a connection scheme to obtain the parameters from the ECU's truck.
- Finally, to develop the application of DAQ system, the code developed in this
research [6] will be replicated to take the parameters from the ECU and adapted
to the new code for the data acquisition from the different analog sensors.
26
Figure 2. General scheme for CAN connection [6]
Chapter 3
3 System Implementation
3.1 Introduction
This chapter describes the implementation of data acquisition system for both CAN
parameters and analog signals. The data acquisition system consists of Hardware and
Software. The hardware is composed by the cRIO-9030 equipment with 3 NI 9206 modules
for voltage measurement (analog signals) and a NI 9862 module for acquiring CAN data.
Programming is developed with LabVIEW software. Figure 3 below shows a diagram of the
system implementation.
27
• Electric
Analog
Signal Error
Validation
CAN • Decode
Signal Validation
Storage
• File
Validation
Figure 3. Scheme of system development
3.2 Objectives
This part describes how to verify the uncertainty from analog signals, validate the
CAN parameters decoded and check this data in .tdms format file generated.
Considering ISO 8041 Standard, the calibration verification of the cRIO 9030 (see
specifications in Appendix A) equipment is carried out in the electrical part to validate that
the error in the measurement is less than 2% using the direct comparison method with a
pattern equipment.
28
Hardware. -
The connection of the cRIO 9030 equipment was carried out together with the NI
9206 and NI CAN modules. The instrumentation must consider the connection to each
channel making use of instrumentation cable of the Belden brand, 9534 series of 15 meters
in length, this due to the focus application of the current project.
Software. -
For the data acquisition with the cRIO 9030 equipment, LabVIEW 2015 software was
used while the PULSE Time Data Recorder software was used for the pattern equipment.
The code for data acquisition and CAN parameters was generated independently to validate
the acquired information, which is detailed below.
29
3.3.2 Software application for Electrical Validation
For the development of the application, the programming was done using the
LabVIEW Real Time tool since it is based on single-point I / O data and the required loops
rates do not exceed 500 Hz. When configuring the properties of Real Time CompactRIO, it
can show that an acquisition can be made with a sampling period of 1 ms, that sampling
frequency could reach up to 1000 samples per second in a stable manner. 800 samples per
second will be the sampling frequency, this will take 10 times more samples what is
recommended in practice [7].
It is very important to keep in mind the resolution of the equipment. The pattern
equipment has a resolution of 24 bits and a measuring range of +/- 10 V while the module
9205 has a resolution of 16 bits and will be implemented with a measuring range +/- 5 V.
With this information making use of equations 1 and 2, the code width of the analog signal
was obtained for each equipment.
30
Table 6 shows the results of the calculations, the standard equipment presents a
resolution 128 times greater than that of the prototype, in addition the sampling frequency of
the standard equipment will be 1.6 KHz, this is twice the sampling frequency of the
prototype. The foregoing is established to guarantee the reliability and repeatability of the
tests as well as a correct evaluation of the accuracy when the instrumentation is implemented.
Once the acquisition and storage method has been established in both equipment, the
tests for the electrical and sampling frequency evaluation are configured.
For this test, the B & K Precision model 4011A signal generator will be used within
the range of 0.4 to 80 Hz. The pattern equipment B & K model 3160A will be connected in
parallel to the prototype and then perform an error analysis. Figure 6 shows a connection
scheme while Figure 7 shows the system implemented for this test.
Key
1 Signal generator 2 Prototype 3 Pattern equipment
31
Figure 7. Measuring system for electrical validation by comparison.
In figures 8 and 9, the help screens of the implemented code can be viewed. Figure 8
allows to see the live readings and at the end a statistical summary with the obtained data
while figure 9 allows to visualize the curve generated with the readings generated in real
time.
32
Figure 9. Graphic display with waveform obtained by the readings.
With the help of Navistar, who provided a vibration report of one of its units in
Colombia, was possible to analyze it and validate that the maximum voltage output amplitude
of the transducers used in the test was less than 1 V. For electrical validation, the value of 1
V amplitude of a sine wave will be set at the output of the generator and 3 tests will be carried
out for each selected frequency within the analysis range (0.4, 5, 10, 20, 30, 40, 50, 60, 70
and 80 Hz). From each test the R.M.S. calculation is performed to determine the amplitude
of the readings of both equipment (pattern and prototype). The analysis is done with
spreadsheets in Excel. To determine the error, equation A5 1 (Annex 5) is applied. The error
must not exceed 2%.
In Figure 10 the results of the error analysis at different frequencies is exposed for the NI
9206 module.
33
Figure 10. NI 9206 Electrical Error Analysis.
After the test it was possible to determine that the error generated from 0 to 5 Hz is
less than 0.4% while from 5 to 80 Hz the error is less than 0.1%. This result is allowed to be
below the 2% specified in the ISO 8041 standard.
The code implemented within the thesis "Development of interface for reading and
storage of CAN parameters under the SAE 1939 standard" by Armando Ramirez [6], was
taken as a reference.
This protocol provides one language across manufactures for different applications.
In contrast, passenger cars typically rely on manufacturer specific protocols.
Heavy-duty vehicles (e.g. trucks and buses) is one of the most well-known
applications. However, several other key industries leverage SAE J1939 today either directly
or via derived standards (e.g. ISO 11783, MilCAN, NMEA 2000, FMS):
34
Construction (e.g. mobile hydraulics, cranes, …)
Fire & Rescue (e.g. ambulances, fire trucks, …)
Many other (e.g. ships, pumping, power generation, ...)
Figure 11 shows several applications of the SAE J1939 protocol. In this project
Navistar provided support and testing were performed on an International truck model Pro
Star. For the laboratory tests, data from a test performed were stored as a constant, which
will be used to simulate the signal that will be decoded according to the requested parameters.
The parameters to be stored are engine speed, accelerator pedal position, wheel-based
vehicle speed and engine coolant temperature. The data frequency transmission of these
parameters varies, this can be evidenced in SAE J1939-71 standard. Table 7 shows the period
and sampling frequency to be defined for the acquisition of the parameters.
35
Table 7. Code width for pattern equipment and prototype.
Parameter Transmission Sample Frequency
Repetition Rate
Engine Speed 50 ms 20 sample/ second
Acelerator Pedal Position 50 ms 20 sample/ second
Wheel-Based Vehicle Speed 100 ms 10 sample/second
Engine Coolant Temperature 1s 1 sample/second
Since the sampling frequency of these parameters is much lower than the sampling
frequency of the accelerometers, and to keep a relation between them, the last value obtained
in the different frequencies is considered and repeated until a new one is obtained.
For this test, a measurement channel was enabled within the programming to verify
the decoded data of the stored CAN frame and the established sampling frequency.
The configuration of the NI 9862 module was carried out according to what is
indicated in the manual. It is important to note that this module requires external power for
its operation. Figures 12a and 12b show the configuration of the pins for both the SAE adapter
and the NI 9862 module.
a) b)
NI MAX software is used to visualize if the CAN module has been recognized.
36
Figure 13. Module recognized in NI MAX
A road test was performed on a ProStar truck from Navistar, the test lasted
approximately 5 min and the reading of all test was stored as a variable. This variable is used
to simulate the CAN reading in the following tests. With CAN simulation, the generated
.tdms file will be analyzed to validate the data storage frequency of both, the type of
transducer and the selected CAN parameters.
Table 8 presents a report of the analysis of the test carried out where for each channel
the type of data, number of samples, the test time and the sampling frequency that is
calculated are shown.
DATA
Sampling
Channel Datatype Samples Test time (s)
Frequency
Time (s) DT_DOUBLE 245070 308.9711781 793
Engine Speed (RPM) DT_DOUBLE 245070 308.9711781 793
Accelerator Pedal Position (%) DT_DOUBLE 245070 308.9711781 793
Vehicle Speed (Km/hr) DT_DOUBLE 245070 308.9711781 793
Engine Coolant Temperature (Celcius) DT_DOUBLE 245070 308.9711781 793
Sensor 1 (V) DT_DOUBLE 245070 308.9711781 793
37
For the sampling frequency error, the equation A5 1 (Annex 5) is used and the
reference is 800 samples per second. The calculated error was -0.9%, that is, of each 100
samples the equipment loses approximately one.
On the other hand, when the CAN parameters are plotted, it can be verified that there
is coherence in the information presented since there is a correct relationship between the
position of the accelerator pedal and the engine RPMs, as well as a relationship between the
position of the accelerator and the truck speed. The operating temperature of the engine
remained constant near 80 Celsius degrees which is within the operating parameters of a
diesel internal combustion engine.
Figure 15 shows the position data of the Accelerator Pedal vs the Engine RPMs. In
order to better visualize this relationship, the pedal position data has been multiplied by 10.
It can be clearly seen the response of the motor with the position of the pedal when
accelerating the motor during the time of the test.
38
Figure 15. Plotted Parameters. - Accelerator Pedal Position and Engine Speed
Likewise, it is possible to visualize that as the throttle position is maintained, the unit
gains speed and can even appreciate interruptions this curve that could be the time intervals
between changes in transmission so one could infer a correct coherence between the decoded
data, this can be seen in figure 16.
Figure 16. Plotted Parameters. - Accelerator Pedal Position and Vehicle Speed
39
3.4 Conclusions
o Electrical validation. - it was possible to determine that the error generated from 0
to 5 Hz is less than 0.4% while from 5 to 80 Hz the error is less than 0.1%. This
result is allowed to be below the 2% specified in the ISO 8041 standard.
o Sampling frequency. - In the .tdms file it was possible to verify that there is an error
of 0.9%. This is acceptable and considering that 10 times more data is being taken
for a correct analysis within the range of 0 to 80 Hz. The loss of one data per hundred
is not significant.
o The prototype complies with the project requirements for data acquisition.
40
Chapter 4
4 System Validation
4.1 Introduction
This chapter describes the implementation of the data acquisition system for the
measurement of acceleration and strain with 24 channels enabled. A friendly and efficient
user interface was developed that also allows the acquisition of CAN parameters under J1939
protocol. For the acceleration measurement, MEMS accelerometers will be used from Silicon
Design model 2220-100 while a strain gage will be used for the strain measurement from
Vishay Micro-Measurements model CEA-06-125UN-350. Laboratory tests will be carried
out to validate the error in the measurements versus measurements with the equipment used
as pattern B&K 3160A. Figure 17 below shows a scheme of the system implementation.
Acceleration
•Error
•Calibration
Strain
•Error
•Calibration
Storage
•File Validation
41
4.2 Objectives
This part describes how code was developed considering the expansion of the
channels as well as how the instrumentation was performed with accelerometers and strain
gages, as well as the conditioning of their signals.
For the development of the code, it was intended to present the information in simple
way and oriented for the user, for these reasons in the main screen 5 tabs are presented.
Details of the code and user interface in Annex 7.
Two methods were tested to store the information. The method where the sampling
frequency depends on the time period for writing in the .tdms file was selected, because
allows to relate the measurement of the transducers with the last reading of each selected
parameter of the CAN module. Details of methods for data storage implemented in Annex 8.
42
4.3.3 Transducers
Acceleration
Since the NI 9206 module allows the reading of voltage changes, the transducers that
can be used for this application are MEMS type. Piezoelectric transducers are discarded due
to the type of power required for their operation. The search for accelerometers of different
manufacturers was carried out and then several options of different manufacturers are
presented Annex 9.
For acceleration laboratory tests the transducer from Silicon Design model 2220-100
will be used. This is a low frequency accelerometer that allows to measure accelerations in a
range of 100 g with a power range of 12 to 32 V which could supply a truck depending on
the electrical system (12 or 24V). The signal of the measurement made with a differentiated
connection is ±4 V. Detailed information on this transducer can be found in Appendix D.
43
Figure 19 Strain Gage – Linear Pattern from Micro Measurements.
For the laboratory tests, the parameters of the strain gage model CEA-06-125UN-350
was considered, which have application gage on metallic surface that correspond to 350
Ohms ± 0.3%. The strain range of these strain gages is ±5%. Detailed information about this
transducer can be found in Appendix E.
For this test, the B&K Precision signal generator model 4011A will be used to
generate sine waves to simulate vibrations that will be amplified with the LDS equipment
model PA500 to operate the LDS shaker model V555, specification in Appendix F. The B&K
module model 3160A together with the Pulse Data Recorder software will be used as pattern
measurement equipment.
44
Figure 20 Vibration system consisting of shaker and power amplifier.
The pattern equipment has a resolution of 24 bits which allows detecting voltage
changes of 1.2 μV, in addition, the Pulse Data Recorder software allows to define the
sampling frequency that in our case will be twice the frequency of the prototype and then
apply the method by comparison.
45
The prototype for the measurement with transducers uses NI 9206 modules for which,
within the specifications (Appendix G), the manufacturer presents formulas for estimating
the error. The calculation of the error is made according to the measuring range configured
in the module. Details of error estimation for this test in Annex 10.
The sources of error considered to estimate the total error in the measurement with
the selected accelerometers are presented in the table.
Since the accelerometer error is something inherent to the sensor, the focus will be on
the error produced by the sampling frequency and the module. Keeping in mind that at low
frequencies we expect low accelerations and as the frequency increases the acceleration
increases, therefore is important to consider the error of the module 9206. Combining the
errors, would have the following:
46
Figure 22 Error estimation for acceleration measurement.
The RC filter was implemented in the signal and the measurement was carried out
with the 16 available channels of the NI 9206 module.
After the tests, the analysis of the signals obtained was performed to validate the error
in relation to the pattern equipment.
47
4.3.5 Verification Measurement Instrument Calibration
Using Excel, the measurements taken in mV were converted to g, this first to check
the error for the electrical signal and then discard some error in the programming. The graphs
below allow us to see the behavior of the readings of the 16 channels in the tests carried out
at different frequencies. The measurement analysis for this test in Annex 11.
48
In general, the error of the measurements in acceleration will go from -0.1 to -0.2 g
within a range of 0 to 80 Hz according to the tests carried out. The specifications of the
prototype with the selected equipment and instrumentation implemented are shown in table
11.
The exactitude calculated for the NI 9206 module within the ± 5V scale is considered.
This accuracy is important to relate to the measurement range of the strain gages. It is known
that the deformation allowed for the strain gage is 5% and to perform the measurement with
strain gage it is recommended to use a Wheatstone bridge to detect a voltage change with the
variation of one of the resistances that are part of the bridge. Details of error estimation for
this test in Annex 12.
. The following table shows the expected error in different measurement ranges,
which will be evaluated by simulating the behavior of a strain gauge with a variable
resistance.
49
Table 12. Prototype Theoretical Error for Strain Measurement.
Is important to perform a voltage regulator, for this the LM 7805 transistor is used
with the manufacturer recommended circuit (Appendix H). The circuit was made and
verified, the output voltage was 5 ± 0.1 V. The following image shows the test performed to
validate this.
50
Figure 27 Quarter Bridge configured with Precision Resistors[9]..
The MR1-350-172 module from Micro Measurements was selected to perform the
quarter bridge configuration and to simulate the signal a variable resistance model 89PR100
is used, specifications in Appendix I. Figure 29 shows the instrumentation implemented for
strain measurement.
51
Quarter Bridge
Module
Variable Voltage
Resistor Regulator
Once the circuit was implemented, the measurement was carried out with 3 prototype
channels and as a pattern, there were two equipment: B&K 3160-A and the multimeter
MUL-280.
52
The configuration of the 3 channels of the prototype are presented in the table below.
The information presented in the previous table was introduced in the user interface
before starting the test. The following image shows the channels enabled to perform the
measurement.
After the tests, the analysis of the signals obtained was performed to validate the error
in relation to the pattern equipment.
53
4.3.7 Verification Measurement Instrument Calibration
While the program is running, using the graph of channel 13, measurements are made
with variations of approximately 1% strain, and then the signals measured directly with
channel 1 are analyzed. The measurement analysis for this test in Annex 13.
In general, the error of the measurements in strain will be ±0.1 %ɛ in a strain range
of ± 5% according to the tests carried out. The specifications of the prototype with the
selected equipment and instrumentation implemented are shown in table 14.
Voltage Regulator LM
± 5 % of ɛ 0.1 % of ɛ ± 0.1 % of ɛ
7805
± 50000 μɛ 1000 μɛ ± 1000 μɛ
Micro Measurements
MR1-350-172 module
Micro Measurements
CEA-06-125UN-350
Strain Gage
After analyzing the resolution of the equipment for strain measurements without
amplifying the signal, the report of the unit tested by Navistar in Colombia was reviewed and
it could be seen that the sensitivity of the gauges implemented in that truck was 50 mV / ɛ.
The resolution considered for these measurements was 10 μV, that is ± 200 μɛ.
54
With the aforementioned, the 1000 μɛ resolution of the prototype should be improved
and a solution for this is to amplify the signal. Keeping in mind the resolution of 200 μɛ from
Navistar report, with a gain of 10: 1, the minimum output signal of the bridge would be 10
times higher so that the resolution of prototype would now be 0.01% strain or 100 μɛ. The
measurement analysis for strain test with signal amplification in Annex 14.
In general, the error of the measurements in strain will go from ±0.01 %ɛ in a strain
range of ± 3% according to this instrumentation. The specifications of the prototype with the
selected equipment and instrumentation implemented are shown in next table.
Table 15. Prototype specifications for strain measurement with signal amplification.
Operational Amplifier
INA114BP G = 11
4.4 Results
A user interface was generated that allows measurement of acceleration, strain and
voltage, as well as parameters from the ECU under CAN 1939 protocol.
55
Figure 32. User Interface
Two methods were established for the storage of the information, and the one that
allows to integrate and save CAN and sensor data at the same time was selected since the
sampling frequency is determined by the storage period of the variables in the .tdms file.
Figure 33 Method 2 for Storage Data.- Variable is written at the entered sampling frequency.
56
For the acceleration measurement, tests with MEMS accelerometers were established
and the precision of the equipment with the selected instrumentation could be validated.
For the strain measurement, tests with strain gages were established and the accuracy
of the equipment could be validated with 2 options in the instrumentation: without signal
amplification and with an 11: 1 gain of the signal.
Table 17. Prototype specifications for strain measurement without signal amplification.
Voltage Regulator LM
± 5 % of ɛ 0.2 % of ɛ ± 0.1 % of ɛ
7805
± 50000 μɛ 1000 μɛ ± 1000 μɛ
Micro Measurements
MR1-350-172 module
Micro Measurements
CEA-06-125UN-350
Strain Gage
57
Table 18. Prototype specifications for strain measurement with signal amplification.
Operational Amplifier
INA114BP G = 11
4.5 Conclusions
o It was possible develop a friendly and reliable user interface for data acquisition.
o The code was made in a modular manner and a storage method was established that
allows saving the data of both transducers and CAN.
o For the acceleration measurement it was possible to define the accuracy of the
equipment and instrumentation. Because the accelerometers have a measuring range
of ±4 V, it was not necessary to amplify the signal.
o For strain measurement, the minimum resolution of the NI 9206 module does not
allow a resolution lower than 1000 μɛ reading directly from the quarter bridge, so to
improve this resolution the output signal of the bridge was amplified with a ratio of
11: 1 and the resolution of the equipment became 100 μɛ.
58
Chapter 5
The developed laboratory tests allowed to validate the repeatability and reliability of
the data defining the accuracy according to the instrumentation implemented.
5.2 Contributions
Design of laboratory tests: To ensure the accuracy of the readings, variable control
was necessary in the tests and this was done by simulating conditions.
Laboratory tests design: To ensure the accuracy of the measurements, variable control
was necessary in the tests and this was done by simulating conditions of real tests.
59
5.3 Future Work
Implement the System in one of the different applications of the SAE J1939
communication protocol.
5.4 Recommendations
Knowing the range of frequency and amplitudes of the magnitudes for the analysis
is important in order to configure the parameters of the DAQ system such as
sampling frequency and input voltage range.
It is important to know the error generated by the DAQ System since, according
to the sampling frequency and the installation conditions of the sensors, such as
type and length of connection cable, this may vary and should be considered when
performing the instrumentation.
Keep in mind that the resolution of the DAQ System will give the minimum
possible measurement according to the magnitude to be measured and the type of
sensor to be implemented. According to this, it is analyzed if it is necessary to
amplify the signal.
Follow the steps described in the prototype operation manual, Annex 15.
60
References
[1] A. Gani and M. J. E. Salami, “A LabVIEW based Data Acquisition System for
Vibration Monitoring and Analysis,” pp. 3–6, 2002..
[2] R. C. Treviño, “Road Load Data Acquisition system Through Real-Time technology:
Validation and First Experiments,” Instituto Tecnológico y de Estudios Superiores de
Monterrey, 2017.
[3] R. Rajamani, “Instrumentation of Navistar Truck for Data Collection,” Department of
Mechanical Engineering, University of Minnesota, 2013.
[4] L. Alvarez, R. Henao and E. Duque, “Analog Filtering Schemes Analysis for ECG
Signals,” Universidad Tecnológica de Pereira, no. 37, pp. 103–108, 2007.
[5] S. E. Marx, “Controller Area Network (CAN) Bus J1939 Data Acquisition Methods
and Parameter Accuracy Assessment Using Nebraska Tractor Test Laboratory Data,”
2015..
[6] A. Ramirez, “Development of interface for reading and storage CAN parameters under
SAE -1939 standard,” Universidad Autónoma de Nuevo León, 2017.
[7] National Instruments, “Complete Guide to Building a Measurement System”,
[Online]. Available at:
http://download.ni.com/evaluation/daq/Measurement_System_Build_Guide.pdf
[Accessed: 10-Feb-2018].
[8] Micro Measurements, “Strain Sensor Reference Guide”, [Online]. Available at:
http://www.vishaypg.com/docs/25906/Strain-Gage-Ref-Guide.pdf [Accessed: 01-
Mar-2018].
[9] Micro Measurements, “External Bridge Completion for Strain Gage Circuits”,
[Online]. Available at: http://www.vishaypg.com/docs/11168/VMM-5.pdf [Accessed:
01-Mar-2018].
[10] Y. Lee, J. Pan, R. Hathaway, M. Barkey, “Fatigue Testing and Analysis,” Elsevier Inc,
pp. 36–37, 2005.
[11] National Instruments, “Introduction to Data Acquisition,” Data Acquisition Hardware,
2016. [Online]. Available at: http://www.ni.com/white-paper/3536/en/. [Accessed:
09-Feb-2018].
[12] The Northern Alberta Institute of Technology., Retrieved 17 October 2012.
[13] National Instruments, “Introduction to Data Acquisition,” Transducers, 2016.
[Online]. Available at: http://www.ni.com/white-paper/3536/en/. [Accessed: 09-Feb-
2018].
[14] National Instruments, “Introduction to Data Acquisition,” Signals, 2016. [Online].
Available at: http://www.ni.com/white-paper/3536/en/. [Accessed: 09-Feb-2018].
[15] National Instruments, “Introduction to Data Acquisition,” Signal Conditioning, 2016.
61
[Online]. Available at: http://www.ni.com/white-paper/3536/en/. [Accessed: 09-Feb-
2018].
[16] National Instruments, “CompactDAQ”, [Online]. Available at:
http://www.ni.com/data-acquisition/compactdaq/ [Accessed: 09-Feb-2018].
[17] National Instruments, “crio9030”, [Online]. Available at:
http://search.ni.com/nisearch/app/main/p/bot/no/ap/global/lang/en/pg/1/q/crio%2090
30/ [Accessed: 09-Feb-2018].
[18] National Instruments, “NI 9206 Datasheet”, [Online]. Available at:
http://www.ni.com/pdf/manuals/374231a_02.pdf [Accessed: 09-Feb-2018].
[19] Laboratorio Metrológico de Antioquia, NIT: 900.247.988-7, [Online]. Available at:
http://www.laboratoriometrologico.com [Accessed: 10-Feb-2018].
[20] National Instruments, “Instrument Fundamentals Complete Guide”, [Online].
Available at: http://www.ni.com/white-paper/3214/en/ [Accessed: 14-Feb-2018].
[21] OKAWA Electric, “RC Low-pass Filter Design Tool”, [Online]. Available at:
http://sim.okawa-denshi.jp/en/CRtool.php [Accessed: 14-Feb-2018].
[22] Micro Measurements, “Stress Analysis Strain Gages”, [Online]. Available at:
http://www.vishaypg.com/docs/11504/stress-analysis-selection-criteria.pdf
[Accessed: 01-Mar-2018].
[23] National Instruments, “Strain Gauge Measurement”, [Online]. Available at:
http://elektron.pol.lublin.pl/elekp/ap_notes/NI_AN078_Strain_Gauge_Meas.pdf
[Accessed: 01-Mar-2018].
62
Annexes
Annex 1
Data Acquisition System
Detector - Indicating-
Transducer Stage Recording Stage
Modifying Stage
63
INPUT STAGE OUTPUT STAGE
Recording
Data Processing
Data Storage
Calibration signal External
representing a Power
known value of the
physical variable
The detector senses desired input to the exclusion of all other inputs and provides an
analog output. The transducer is any device that accepts one form of energy from a system
and transmits that energy (typically in another form) to another system. The modifying stage
is present to modify the signal received from the transducer into an able form by the final
stage. The modifying stage commonly increases amplitude and/or power. The termination
stage provides indication and/or recording in a form for easy interpretation and evaluation.
The detector’s function is to sense input and change it to a more convenient form. Of
major interest is the transducer’s transfer efficiency. The modifying stages of interest include
amplifying, filtering, attenuating, digitizing, and other signal modification techniques. The
terminating stage is any component aiding the engineer in experimental data analysis,
including digitized indication, recorders, digitized signals for computer data analysis,
graphical displays, and possibly any controlling devices [10].
64
Data Acquisition Hardware
Data acquisition hardware acts as the interface between the computer and the outside
world. It primarily functions as a device that digitizes incoming analog signals so that the
computer can interpret them. Other data acquisition functionality includes the following:
· Analog input/output
· Digital input/output
· Counter/timers
· Multifunction - a combination of analog, digital, and counter operations on a single
device [11]
65
Annex 2
Instrumentation
Instrumentation is defined as the art and science of measurement and control of the
process variables within a production or manufacturing area [12].
Transducers
Phenomenon Transducer
Temperature Thermocouple, RTD, Thermistor
Light Photo Sensor
Sound Microphone
Strain Gage
Force and Pressure
Piezoelectric Transducer
Position and Displacement Potentiometer, LVDT, Optical Encoder
Acceleration Accelerometer
pH pH Electrode
66
Signals
Analog Signal
An analog signal can exist at any value with respect to time. A few examples of analog
signals include voltage, temperature, pressure, sound, and load. In Figure A2.1 the three
primary characteristics of an analog signal are level, shape, and frequency can be seen.
Level. - Because analog signals can take on any value, the level gives vital
information about the measured analog signal. The intensity of a light source, the
temperature in a room, and the pressure inside a chamber are all examples that
demonstrate the importance of the level of a signal. When you measure the level of a
signal, the signal generally does not change quickly with respect to time. The accuracy
of the measurement, however, is very important.
67
Shape. - Some signals are named after their specific shapes - sine, square, sawtooth,
and triangle. The shape of an analog signal can be as important as the level because
by measuring the shape of an analog signal, you can further analyze the signal,
including peak values, DC values, and slope. Signals where shape is of interest
generally change rapidly with respect to time, but system accuracy is still important.
The analysis of heartbeats, video signals, sounds, vibrations, and circuit responses are
some applications involving shape measurements.
Frequency. - All analog signals can be categorized by their frequencies. Unlike the
level or shape of the signal, you cannot directly measure frequency. You must analyze
the signal using software to determine the frequency information. This analysis is
usually done using an algorithm known as the Fourier transform.
When frequency is the most important piece of information, you need to consider
including both accuracy and acquisition speed. Although the acquisition speed for acquiring
the frequency of a signal is less than the speed required for obtaining the shape of a signal,
you still must acquire the signal fast enough that you do not lose the pertinent information
while acquiring the analog signal. The condition that stipulates this speed is known as the
Nyquist Sampling Theorem [14]. Speech analysis, telecommunication, and earthquake
analysis are some examples of common applications where the frequency of the signal must
be known.
Digital Signal
A digital signal cannot take on any value with respect to time. Instead, a digital signal
has two possible levels: high and low. Digital signals generally conform to certain
specifications that define the characteristics of the signal. They are commonly referred to as
transistor-to-transistor logic (TTL). TTL specifications indicate a digital signal to be low
when the level falls within 0 to 0.8 V, and the signal is high between 2 and 5 V. The useful
information that you can measure from a digital signal includes the state and the rate that can
been seen at Figure A2.2.
68
Figure A2. 2 Primary characteristics of a Digital Signal [14]
State. - Digital signals cannot take on any value with respect to time. The state of a
digital signal is essentially the level of the signal - on or off, high or low. Monitoring
the state of a switch - open or closed - is a common application showing the
importance of knowing the state of a digital signal.
Rate. - The rate of a digital signal defines how the digital signal changes state with
respect to time. An example of measuring the rate of a digital signal includes
determining how fast a motor shaft spins. Unlike frequency, the rate of a digital signal
measures how often a portion of a signal occurs. A software algorithm is not required
to determine the rate of a signal.
Signal Conditioning
69
Amplification
Attenuation
Isolation
Bridge completion
Simultaneous sampling
Sensor excitation
Multiplexing
70
Annex 3
Laboratory Virtual Instrument Engineering Workbench
In order to implement the DAQ system of sensors and information from the ECU’s
truck by CAN protocol, the equipment used in the theses "Road Load Data Acquisition
System Through Real-Time Technology: Validation and First Experiments" and
"Development of interface for reading and storage CAN parameters under SAE -1939
standard " were selected to, through the integration of codes, achieve one of the objectives of
this work. Following is a description of the hardware and software defined for the data
acquisition system for this project.
Hardware
CompactRIO
71
Figure A3.1 cRIO-9030 from National Instruments
Provides analog input channels for voltage, current, temperature, and strain
measurements in CompactDAQ or CompactRIO systems.
NI-9206 (C Series Voltage Input Module). - The NI 9206 C Series module for
use with any CompactDAQ or CompactRIO system features 16 differential analog
inputs, 16-bit resolution, and a maximum sampling rate of 250 kS/s. Each channel
has programmable input ranges of ±200 mV, ±1 V, ±5 V, and ±10 V [18] and can
detect a 305 μV change.
72
Figure A3.2 NI-9206 from National Instruments
73
Figure A3.3 NI-9862 from National Instruments
Software
LabVIEW
74
Annex 4
Method Validation
To establish the reliability of the system is necessary first to understand and apply
concepts of metrology because in our case by the type of testing is necessary to check or
calibrate equipment, for which different calibration methods derived from the established
measurement methods.
These are very common terms in metrology, followed by the definition of each one
of them according to the VIM (International Vocabulary of Metrology) in the standard
JCGM200 of 2012.
75
Traceability
Prior to the calibration, a check of the instrument to be calibrated can be made and if
any type of mismatch is detected, correct it to minimize the contributions to the uncertainty.
It is the degree of approximation between the average of multiple readings and the value
conventionally accepted as a standard.
Notes:
1. The concept of accuracy is qualitative
2. The term precision must not be used for accuracy
76
Precision
Quality that characterizes the aptitude of a measuring instrument to give indications close
to the true value of the measured quantity.
Repeatability
Reproducibility
77
Table A4.1 Scheme of the concepts of accuracy, precision, repeatability and reproducibility [19]
Inaccuracy
Accuracy
(Systematic Error)
Precision
Imprecision
(Low
Reproducibility)
Methods of calibration
For this project it is important to apply or develop an adequate procedure to verify the
calibration of the equipment. Then briefly described, the most common methods of
calibration, used in technical and industrial metrology.
Transfer calibration
78
Calibration by substitution
This method uses auxiliary equipment (comparator), with which the standard
is measured initially and then to the equipment (measurement instrument or
materialized measurement) subject to calibration.
Calibration by equilibrium
This method uses a null detector, which allows to check the equality between
the standard and the equipment (measurement instrument or materialized
measurement) subject of the calibration.
Calibration by simulation
Calibration by reproduction
In this case the pattern used in the calibration reproduces the magnitude.
79
Annex 5
This standard indicates that the measurement of the vibration in a structure is carried
out for different purposes:
About frequency range of interest, this standard describes that it depends upon the
spectral content of the excitation and upon the mechanical response of the structure. Most
structural damage from man-made sources occurs in the frequency range from 1 Hz to 150
Hz.
The Instrumentation must have a continuous measurement of vibration amplitude to
characterize the vibration. The measurement shall be recorded over a sufficiently long time,
and taken with sufficient accuracy to extract its spectral content.
For the applications dealt with in this International Standard, two main classes of
measurement are considered:
a) class 1 for engineering analysis;
b) class 2 for field monitoring.
80
It is important to highlight class 2 that is related to the current project. This category
of instrumentation is used for vibration control after definition of major parameters by
engineering analysis or to monitor known vibration phenomena. The frequency and
amplitude characteristics are determined by the results obtained by the engineering analysis.
This standard specifies that, virtually, all vibration measurements are obtained using
a transducer that produces an analog electrical signal that is proportional to the instantaneous
value of the vibratory acceleration, velocity or displacement. The signal can be recorded on
81
a dynamic system analyzer, investigated for later analysis or displayed, for example, on an
oscilloscope. To obtain the actual vibration magnitudes, the output voltage is multiplied by
a calibration factor that accounts for the transducer sensitivity and the amplifier and recorder
gains.
Another important topic that describes the standard is the concept of aliasing, which
is a false representation of a frequency that can result when the sampling rate of a digital
analyzer is too low to describe that frequency adequately. This effect is eliminated by low-
pass filtering the signal before sampling to ensure that it does not contain frequency
components above half the sampling frequency. When the sampling rate is set exactly at two
times the maximum expected frequency, this is known as the Nyquist frequency. In practice,
most sampling rates are set at greater than two times the maximum frequency (about 2,56
times) to allow for a low-pass filter without a sharp cut-off.
82
Table A5.2 Reference vibration values and frequencies.
Reference
Nominal Frequency
Application r.m.s. Acceleration
Range Hz Frequency
Value m/s2
Hand transmitted 8 to 1000 500 rad/s (79.58 Hz) 10
Whole body 0.5 to 80 100 rad/s (15.915 Hz) 1
Low frequency 0.1 to 0.5 2.5 rad/s (0.397 Hz) 0.1
The standard also indicates that there are tolerances and separates the errors of the
signal acquisition equipment from those of the measurement made with the selected
instrumentation, table A5.3 presents the reference tolerances described above.
Parameter Tolerance
Tolerance of the electrical part of the instrument ±2%
Tolerance of the vibration transducer response ±3%
Tolerance of indication at the reference frequency
±5%
under reference environmental conditions
The error ɛ of the test measurement atest is expressed as a percentage of the reference
vibration transducer measurement aref.
𝒂𝒕𝒆𝒔𝒕 − 𝒂𝒓𝒆𝒇
ɛ= × 𝟏𝟎𝟎% (A5 1)
𝒂𝒓𝒆𝒇
It should be noted that this standard delivers the specifications of the transducer
according to the type of application. The next table presents the specifications of the
transducer applied in vehicles for whole body.
83
Table A5.4 Vibration transducer specifications.
Whole-hody
Measurement issue Influence on
Characteristic vibration
measurement uncertainty
Vehicles
Maximum total mass (of
< 10 % of the effective mass of the vibrating 450 g on seat,
all vibration transducers
structure 50 g elsewhere
and mounting system)
Maximum vibration
50 g
transducer mass
On seat:
Maximum total size (of all 300 mm diameter
Unobtrusive, minimum interference with
vibration transducers and x 12 mm height
normal activities.
mounting system) Other locations:
30 mm cube
Where a vibration transducer is mounted
above a vibrating surface (e.g. on a mounting
block) but is aligned, measure the vibration
parallel to that surface. Then the distance
Maximum mounting
between the measurement axis of the vibration 10 mm
height
transducer and the mounting surface should be
as small as possible. This will minimize the
amphfication of rotational acceleration
components.
Temperature range -10 °C to 50 °C
Transverse sensitivity < 5%
The vibration transducer needs to be capable
of withstanding the high unweighted shock
Maximum unweighted
accelerations to which it may be exposed, 1000 m/s2
shock acceleration
while providing accurate information within
the measurement frequency range.
Minimum resonant Should be greater than approximately 10
800 Hz
frequency times the nominal upper frequency limit.
84
IS ISO 16063 – Methods for the calibration of vibration and shock transducers
The ISO 16063 series of standards is concerned with methods for the calibration of
vibration and shock transducers under both standard laboratory conditions and in the field.
- frequency in hertz: 160, 80, 40, 16 or 8 (or radian frequency ω = 1 000, 500, 250,
100 or 50 radians per second);
- acceleration in meters per second squared (acceleration amplitude or r.m.s. value):
100, 50, 20, 10, 5, 2 or 1.
This part of ISO 16063 specifies procedures for performing calibrations of rectilinear
vibration transducers by comparison in the frequency range from 0,4 Hz to 10 kHz. Below is
a diagram of the measurement system to perform calibration by comparison to a reference
transducer.
85
Key
3 Signal generator 3 Shaker 5 Prototype
4 Amplifier 4 Filter 6 Pattern equipment
7 Reference transducer
Figure A5. 2 Measuring system for vibration validation by comparison to a reference transducer
86
Annex 6
Virtual session in LabVIEW to interact with the NI 9862 module
To start the virtual session, right click on the CRIO, then New and finally on the NI-
XNET Session. The following figure illustrates the specified route.
In the pop-up window, you configure the Frame Inputs in a Stream mode as shown in
the following figure.
87
Figure A6. 2 Virtual Session NI-XNET.- Enter Mode: Stream Frame Input
If a correct communication with the module is established, a new pop-up window will
be presented to configure the Hardware and Cluster selection. At the first tab a name will be
assigned to the session and the interface that has the enabled port will be selected. If an
interface is not displayed, there is a problem with the connection. At the Cluster selection tab
in Database, select the NIXNET_example option and Cluster J1939_Over_CAN.
Figure A6.3 and A6.4 shows the user interface generated with the code for the
integration tests. The sampling frequency and sensor type is configured at the Sensor
Definition tab, while the parameters to be decoded from the CAN frame are determined at
CAN tab.
88
Figure A6. 3 User Interface Integration Tests. - Data and Sensor Configuration
Once the parameters are established, the program is run and the channel reading can
be visualized as well as the CAN parameters inside the test frame, this can be seen in Figures
A6.5 and A6.6.
89
Figure A6. 5 User Interface for Data Collection Integration Tests
90
Annex 7
Code and User Interface Develop
The first tab allows entering general parameters of the test such as the type of truck, the driver
and the technician in charge of the test, this can be seen in Figure A7.1.
The next tab corresponds to the configuration of the analog signals, the sampling
frequency and the name of the file to be generated at the end of the test. For the configuration
of analog signals, the type of measurement to be performed, whether this is acceleration or
deformation, can be selected. The software with this information will perform the respective
conversion, or you can simply select another one and take the direct reading in volts. In
addition, the developed code allows selecting a calibration of the channel, which is explained
in detail later. Figure A7.2 shows the parts described in this part.
91
Figure A7. 2 User Interface. – Transducer selection, sampling frequency and file name configuration.
The third and fourth tab show the readings and graphs of the selected transducers after
running the program, this as a visual aid for the technician in charge since these data are
stored in a .tdms format file at the end of the tests for later analysis.
92
Figure A7. 4 User Interface. – Measurement Plot.
Finally, the CAN parameters to be decoded are selected and graphs of the data
collected during the test can be displayed in real time. This data is stored in the same .tdms
file together with the data of the selected sensors.
93
For the development of the entire code, a main VI was established with the help of
additional Sub VIs to carry out the modular implementation of readings for each channel.
Figure A7.6 shows the VIs implemented, then a description of each of them:
DAQ System Principal. - It is the main VI and contains the code for the acquisition
of analog signals as well as CAN parameters which are stored in a USB drive.
Units Conversion. - It allows taking the readings of the channel and transforms them
into g units for accelerometers and micro deformation for strain gages or direct
measurement in volts if another is selected.
Units. - It allows to concatenate information from the sensor in order to generate the
header of the column of the stored data.
Variable Reset. - At the end of each test, it allows to reset the channel configuration
for the entry of new parameters, otherwise the data of the last test will be maintained.
Reset All Sensors. - Allows at the end of each test to reset all parameters in all
channels.
The following figure allows to visualize the code to acquire analog signals in a
modular way, that is, is possible to copy this block and replicate it as many channels is
94
needed, changing the variable according to the channel number to be assigned in NI 9206
modules. The numbers that are entered into the sub VI Units must be updated so that, when
saving the header information, they correspond to the designated channel.
.
Figure A7. 7 Data acquisition code. - Modular block.
On the other hand, during the tests to reduce the error in the measurements, a
calibration algorithm was developed, which takes 5000 samples corresponding to 6.25
seconds with a rate of 800 samples per second. With this number of samples, the average
value is calculated, which will be used to correct the offset that may occur at the time of
measurements with the different transducers. This is optional since correcting the offset could
be done manually if the technician in charge so wishes.
When you press the Stop button, the test ends, the .tdms file is written or closed according
to the selected storage method and finally the generated file is stored in a USB memory.
95
Annex 8
Data Storage Methods
In the first method, all the readings are stored in one in an array that, after
completing the test, is called to write the information in the .tdms file. which will be
recorded on the USB drive. Parts of the code generated for this method can be visualized in
figures A8.1 and A8.2.
96
Figure A8.2 Method 1.- All variables are written at the end of the test.
Method 2 while the measurements are taken, these are written in the .tdms file and
once the test is finished, the file is closed and stored in a USB drive.
97
Figure A8.3 Method 2.- Measures are stored in one array variable.
98
Figure A8.4 Method 2.- Variable is written at the entered sampling frequency.
It should be mentioned that in the first method the sampling frequency depends on
the period between each measurement and keeping in mind that the sampling frequency of
the CAN parameters differs, at the time of generating the .tdms file there would be gaps in
the columns of these parameters and this information could not be related to the readings of
the transducers. For this reason the second method was selected since the sampling frequency
depends on the time period for writing in the .tdms file, which allows to relate the
measurement of the transducers with the last reading of each selected parameter of the CAN
module.
99
Annex 9
MEMS accelerometers by manufacturer
100
Annex 10
Error Estimation for Acceleration Test
For this application, the voltage range defined is ± 5 V and the equations for the
calculation of absolute accuracy for NI 92016 module are presented below.
𝑹𝒂𝒏𝒅𝒐𝒎 𝑵𝒐𝒊𝒔𝒆∗𝟑
𝑵𝒐𝒊𝒔𝒆 𝑼𝒏𝒄𝒆𝒓𝒕𝒂𝒊𝒏𝒕𝒚 = 𝒇𝒐𝒓 𝒂 𝒄𝒐𝒗𝒆𝒓𝒂𝒈𝒆 𝒇𝒂𝒄𝒕𝒐𝒓 𝒐𝒇 𝟑 𝝈 𝒂𝒏𝒅 𝒂𝒗𝒆𝒓𝒂𝒈𝒊𝒏𝒈 𝟏𝟎𝟎 𝒑𝒐𝒊𝒏𝒕𝒔
√𝟏𝟎𝟎
(A10 4)
For these equations, the manufacturer also presents the values that the different
variables take according to the chosen measurement range. The following table shows the
values of the variables that correspond to the range of ± 5 V.
Variable Value
Residual gain error 135 ppm of Reading
Gain Tempco 11 ppm/°C
Reference Tempco 5
Residual Offset error 20 ppm of range
Offset tempco 47 ppm of range/°C
INL error 76 ppm of range
101
The result of the accuracy at a scale of ± 5V is presented below:
In this case the sensitivity of the sensor series 23246 given by the manufacturer is
40.15 mV / g. Considering the accuracy of the NI 9206 module of ± 3.23 mV, the accuracy
in the measurement with the accelerometers would be ± 0.08 g. Keeping this in mind for
measurements below 1.5 g the error could be greater than 5%, however for measurements
greater than 1.5 g the error would be below 5%, this can be seen better in Figure A10.1.
102
For the test, the reference value will be 1V at the output of the signal generator and
the shaker will be started. Three tests will be performed for each frequency established within
the range of analysis. From each file test, using the Microsoft Excel as a calculation tool, the
RMS is established to determine the amplitude of the prototype and pattern readings, then
the equation A5 1 (Annex 5) is applied to calculate the error of the measurement.
𝑹 𝑩𝑾
𝑨𝒎𝒑𝒍𝒊𝒕𝒖𝒅𝒆 𝑬𝒓𝒓𝒐𝒓 = 𝟏𝟎𝟎 ( 𝟏 − ) , 𝒘𝒉𝒆𝒓𝒆 𝑹 = (A10 5)
√𝟏+𝑹 𝟐 𝑭𝒊𝒏
If our prototype has a bandwidth of 80 Hz with an 80 Hz and sine wave input signal
at 1 V (BW = 80 Hz and Fin = 80 Hz), this means R = 1. Then using Equation A10 5 the
amplitude error would be as follows:
𝟏
𝑨𝒎𝒑𝒍𝒊𝒕𝒖𝒅𝒆 𝑬𝒓𝒓𝒐𝒓 = 𝟏𝟎𝟎 ( 𝟏 − ) ≈ 𝟐𝟗. 𝟑 %
√𝟐
The calculated amplitude error would be 29.3% which is out of the limit. In practice
it is recommended to have a sampling frequency 10 times higher than the analysis frequency
range, in our case it would be 800 Hz. Considering this we would have a device with a
bandwidth of 400 Hz according to the Nyquist theorem and 80 Hz sine wave signal, this
means R = 5. Using the equation A10 5 the amplitude error would be:
103
𝟓
𝑨𝒎𝒑𝒍𝒊𝒕𝒖𝒅𝒆 𝑬𝒓𝒓𝒐𝒓 = 𝟏𝟎𝟎 ( 𝟏 − )≈𝟐%
√𝟏 + 𝟓𝟐
The amplitude error generated with a sampling rate of 800 Hz, which would allow
analysis in the range of 0 to 400 Hz by the Nyquist theorem, and a frequency of 80 Hz would
be approximately 2%.
To avoid the aliasing of the analog signal, a low pass RC filter Butterworth will be
applied, this is shown in Figure 10.2. To identify which components to use, the Bode diagram
calculator tool from OKAWA Electric [21] was used to calculate a low pass RC filter and
thus know the voltage loss in dBV, for this will be considered the following equation.
𝑽
𝑽𝒐𝒍𝒕𝒂𝒈𝒆 𝑳𝒆𝒗𝒆𝒍 𝑳𝑽 = 𝟐𝟎 𝑳𝒐𝒈𝟏𝟎 (𝑽 ) 𝒅𝑩𝑽 (A10 6)
𝒐
Keeping in mind that the maximum permissible error is 5%, if we take as reference
an Input Voltage of 1 V, at the output the voltage should be 0.95 V at 80 Hz. equation
A10 6 is applied to know the allowed loss in dBV .
𝟎. 𝟗𝟓
𝑽𝒐𝒍𝒕𝒂𝒈𝒆 𝑳𝒆𝒗𝒆𝒍 𝑳𝑽 = 𝟐𝟎 𝑳𝒐𝒈𝟏𝟎 ( ) 𝒅𝑩𝑽 = −𝟎. 𝟒𝟓 𝒅𝑩𝑽
𝟏
Several values of commercial components were entered, both for resistors and
capacitors, and it was considered to use a resistance of 47 Ohms and a capacitor of 10 μF.
The filter with these components have a cut-off frequency of 338 Hz. Below is the Bode
104
diagram in which can be verified that the voltage level is attenuated in -3dB when it reaches
a frequency of 338 Hz approximately.
338 Hz
Since the frequency of analysis will be from 0 to 80 Hz, the previous Bode diagram
will be analyzed in the range of 10 to 100 Hz. This diagram is presented in figure A10.4 and
it can be seen that in this range the voltage drop is less than -0.22 dBV which then considering
a 1V input signal and applying equation A10 6 a voltage of 9.75 is obtained 0.975 which
gives an error of - 2.5%.
Finally, the error in the measurement with the accelerometer according to the
manufacturer's specifications is typically 1% and can reach 2% maximum.
105
Annex 11
Measurement Analysis for Acceleration Test
Remind that the minimum measurement would be 0.08 g, in order not to induce false
measurements, it will be established that the prototype for this application will have a
resolution of 0.1 g and with this, the uncertainty will be estimated. The following table
presents a new error calculation keeping in mind the resolution of a tenth of g.
106
Table A11.2 Resolution 0.1 g - Real vs Theoretical Error.
107
Annex 12
Error Estimation for Strain Test
To perform the measurement with strain gage, a Wheatstone bridge was used to detect
a voltage change with the variation of one of the resistors that are part of the bridge.
From the previous circuit after solving the meshes the following equation can be
obtained:
𝑹𝟐 𝑹𝟑
𝑽𝒐 = (𝑹 −𝑹 ) 𝑽𝑬𝑿 (A12 1)
𝟏 +𝑹𝟐 𝟑 +𝑹𝟒
Where Vo is the voltage measured while VEX is the power source of the circuit. If
R1 = R3 = R4 = R, the above equation would be a function of the resistors R2 and R as well
as the voltage of the source.
𝟐 𝑹 𝟏
𝑽𝑶 = (𝑹+𝑹 − 𝟐) 𝑽𝑬𝑿 (A12 2)
𝟐
From the Stress Analysis Strain Gages Manual [22] it should be considered that the
Gage Factor (GF) is the measure of sensitivity, or output, produced by a resistance strain
gage. Gage factor is determined through calibration of the specific gage type, and is the ratio
between ΔR / Ro and ΔL / L (strain), where Ro is the initial unstrained resistance of the gage.
108
∆𝑹 ∆𝑹
𝑹 𝑹
𝑮𝑭 = ∆𝑳 = (A12 3)
𝜺
𝑳
Each gage package is supplied with the GF as well as its tolerance and temperature
sensitivity. In the case of the selected 350 Ω strain gage, it has a range of 5% of strain (ɛ) and
the value of GF = 2.155. With these value, ∆ R can be calculated.
The above gives us a range of variable resistance, however in the Strain Gauge
Measurement tutorial [23], the relationship between the input voltage Vex and the voltage
Vo is given by the following equation.
𝑽𝑶 𝑮𝑭 ∗𝜺 𝟏
=− ( 𝜺 ) (A12 5)
𝑽𝑬𝑿 𝟒 𝟏+𝑮𝑭 ∗
𝟐
From the above equation, the strain (ɛ) can be calculated with the following equation.:
𝟒 𝑽𝒐
𝜺 = −𝑮 (A12 6)
𝑭 (𝑽𝑬𝑿 +𝟐𝑽𝑶 )
Theoretical
VEX (V) VO (V) GF Strain Strain (μɛ) Resolution(μɛ)
Error
4.9 0.00323 2.155 -0.12% -1222 -1000 -18%
5 0.00323 2.155 -0.12% -1198 -1000 -16%
5.1 0.00323 2.155 -0.12% -1174 -1000 -15%
4.9 -0.00323 2.155 0.12% 1225 1000 -18%
5 -0.00323 2.155 0.12% 1201 1000 -17%
5.1 -0.00323 2.155 0.12% 1177 1000 -15%
109
Using the Crocodrile Clips circuit simulator, the measurement circuit was designed,
see Figure A12.2, with the Wheatstone bridge and as 1 Ohm is varied, a variation of 3.57 mV
is obtained, which is very close to the resolution of the equipment.
If within the range of variation of resistance, this is modified at the rate of 1 Ohm,
the behavior of the theoretical error can be seen in the following graph.
From the previous graph the error can be grouped into ranges according to the
strain.
110
Annex 13
Measurement Analysis for Strain Test
This measurement was made visually and compared with the reading of the pattern
equipment.
a.-
b.-
Figure A13. 1 a.- Channel 13 % Strain Level b.- Channels 1 and 2 Voltage Measurements.
111
Figure A13.1a shows reading of channel 13 with approximately - 2% strain, which in
Voltage is approximately 55 mV according to the readings of channels 1 and 2, see Figure
A13.1b. An analysis of the readings taken with channel 13 are presented in the following
table.
Multimeter
B&K 3160-A Prototype without Calibration
MUL-280
Strain
VEX Vo Vo Error Error
GF Strain Strain Channel
(V) (mV) (mV) Mult B&K
13
5.07 2.155 136.1 -4.73% 137 -4.76% -4.8% 1.48% 0.84%
5.07 2.155 109.1 -3.83% 109 -3.83% -3.6% -6.01% -6.01%
5.07 2.155 82.6 -2.93% 83 -2.94% -3.0% 2.39% 2.04%
5.07 2.155 54.8 -1.96% 55.5 -1.99% -2.0% 2.04% 0.50%
5.07 2.155 32.6 -1.18% 32.8 -1.19% -1.2% 1.69% 0.84%
5.07 2.155 -6.0 0.22% -5.25 0.19% 0.2% -9.09% 5.26%
5.07 2.155 -26.6 0.98% -26.8 0.99% 1.0% 2.04% 1.01%
5.07 2.155 -52.6 1.97% -53.5 2.00% 2.1% 6.60% 5.00%
5.07 2.155 -78.8 2.98% -79.75 3.02% 3.1% 4.03% 2.65%
5.07 2.155 -109.1 4.17% -110 4.21% 4.3% 3.12% 2.14%
5.07 2.155 -133.5 5.16% -134.5 5.20% 5.2% 0.78% 0.00%
The calculated error is presented in Figure A13.2 for which strain greater than 1%
have an error that is around ± 6% while for strain less than 1% the error is greater than -8%.
112
Figure A13. 2 Error related to level of Strain Measurement – Channel 13.
The next analysis considers the measurements without calibration (Channel 1) and,
using equation A12 6 (Annex 12), the strain value is calculated. The data are presented in the
following table.
Multimeter
B&K 3160-A Prototype without Calibration
MUL-280
VEX Vo Vo Vo (mV)
GF Strain Strain Strain Error Mult Error B&K
(V) (mV) (mV) Channel 1
5.07 2.155 136.1 -4.73% 137 -4.76% 137.5 -4.78% 1.06% 0.42%
5.07 2.155 109.1 -3.83% 109 -3.83% 110 -3.86% 0.78% 0.78%
5.07 2.155 82.6 -2.93% 83 -2.94% 82.5 -2.93% 0.00% -0.34%
5.07 2.155 54.8 -1.96% 55.5 -1.99% 55 -1.97% 0.51% -1.01%
5.07 2.155 32.6 -1.18% 32.8 -1.19% 32.5 -1.18% 0.00% -0.84%
5.07 2.155 -6 0.22% -5.25 0.19% -5 0.18% -18.18% -5.26%
5.07 2.155 -26.6 0.98% -26.8 0.99% -27.5 1.02% 4.08% 3.03%
5.07 2.155 -52.6 1.97% -53.5 2.00% -53 1.98% 0.51% -1.00%
5.07 2.155 -78.8 2.98% -79.75 3.02% -80 3.02% 1.34% 0.00%
5.07 2.155 -109.1 4.17% -110 4.21% -110 4.21% 0.96% 0.00%
5.07 2.155 -133.5 5.16% -134.5 5.20% -135 5.22% 1.16% 0.38%
113
Figure A13. 3 Error related to level of Strain Measurement – Channel 1
In the previous graph you can see that error is reduced, this is because the reading
was made directly in mV and then the conversion was made knowing the power voltage that
was 5.07 V. The code has a constant value of 5V as power of the bridge, so the variation of
the error must be analyzed by the accuracy given by the manufacturer of the voltage regulator
LM 7805 of ± 0.1 V, this is shown in tables A13.3 and A13.4.
114
Table A13. 4 Difference of error by accuracy bridge power supply 4.9 V
Remind that the minimum measurement would be 0.11 % of strain, in order not to
induce false measurements, it will be established that the prototype for this application will
have a resolution of 0.1 % and with this, the uncertainty will be estimated. The following
table presents a new error calculation keeping in mind the resolution of a tenth of strain
percentage.
Table A13. 5 Resolution 0.1 % of Strain .- Real vs Theoretical Error.
115
From the previous analysis it can be concluded that, considering a resolution of 0.1%,
there is no error in the measurement compared with the pattern equipment, however, the
voltage difference of the power source contributes ± 0.1% strain to the readings in the strain
range ± 5%.
116
Annex 14
Measurement Analysis for Strain Test with Signal Amplification
The analysis of the theoretical error with the signal amplification is shown in the
following table.
Theoretical
VEX (V) VO /10 (V) GF Strain Strain (μɛ) Resolution (μɛ)
Error
4.9 0.000293636 2.155 -0.01% -111 -100 -10%
5 0.000293636 2.155 -0.01% -109 -100 -8%
5.1 0.000293636 2.155 -0.01% -107 -100 -6%
4.9 -0.000293636 2.155 0.01% 111 100 -10%
5 -0.000293636 2.155 0.01% 109 100 -8%
5.1 -0.000293636 2.155 0.01% 107 100 -6%
The operational amplifier used to establish the amplification was the INA114 BP.
This amplifier can be fed with 5V that will be taken from the regulator output already
implemented and the Gain (G) of the circuit is given by the following equation.
𝟓𝟎 𝑲Ω
𝑮=𝟏+ (A14 1)
𝑹𝑮
With resistance of 5 Ohms, the value of the gain would be 11, a value very close to
the amplification of 10 expected. The following images show the amplifier circuit connected
to the bridge output.
117
Figure A14. 2 Bridge Transducer Amplifier Circuit Implementation.
Once the connection of the amplifier to the measuring circuit was made, the gain was
verified by making measurements close to the mV in strain range of ± 5%.
For these tests, two multimeters (OTC series 55 and MUL-280) and the B & K
3160-A module were used. The results of the tests are presented in the following table.
118
Table A14. 2 Circuit Gain Analysis.
B&K
OTC 55 MUL-280 Gain Gain Error
3160A Error B&K
Vo (mV) Vo (mV) B&K MUL-280 MUL-280
Vo (mV)
131.4 1100 1191 8.371 -23.90% 9.064 -17.60%
106 1100 1097 10.377 -5.66% 10.349 -5.92%
80.2 893 885 11.135 1.22% 11.035 0.32%
47.2 527 523 11.165 1.50% 11.081 0.73%
24.3 270 267.7 11.111 1.01% 11.016 0.15%
-5.8 -64.5 -63.9 11.121 1.08% 11.017 0.16%
-20.6 -230 -227.8 11.165 1.50% 11.058 0.53%
-57.5 -641 -631 11.148 1.34% 10.974 -0.24%
-81 -892 -883 11.012 0.11% 10.901 -0.90%
-108.4 -941 -928 8.681 -21.08% 8.561 -22.17%
-134.3 -922 -909 6.865 -37.59% 6.768 -38.47%
From the previous table, it can be said that the amplifier fulfills its function in the
range of ± 900 mV, this means that the range of reliable voltage variation at the output of the
Wheatstone bridge would be ± 90 mV. The following graph allows to visualize this.
119
It is important to relate the measurements made with the strain, so by applying the
values above to equation A12 6 (Annex 12) and considering a power source of 5 V, gage
factor (GF) of 2,155 and gain (G) of 11, the following results are obtained.
Table A14.3 Circuit Gain Analysis – Strain Conversion and Error Calculation.
Multimeter
B&K 3160 A MULTIMETER MUL-280
VEX OTC 55
GF G
(V) Vo Vo Vo
Strain Strain Error Strain Error
(mV) (mV) (mV)
5 2.155 11 131.4 -4.6% 1100 -3.57% -21.90% 1191 -3.85% -16.87%
5 2.155 11 106 -3.8% 1100 -3.57% -6.02% 1097 -3.56% -5.69%
5 2.155 11 80.2 -2.9% 893 -2.92% 0.30% 885 -2.89% 0.31%
5 2.155 11 47.2 -1.7% 527 -1.75% 0.71% 523 -1.73% 0.72%
5 2.155 11 24.3 -0.9% 270 -0.90% 0.15% 267.7 -0.89% 0.15%
5 2.155 11 -5.8 0.2% -64.5 0.22% 0.16% -63.9 0.22% 0.16%
5 2.155 11 -20.6 0.8% -230 0.78% 0.53% -227.8 0.78% 0.53%
5 2.155 11 -57.5 2.2% -641 2.21% -0.24% -631 2.18% -0.24%
5 2.155 11 -81 3.1% -892 3.11% -0.93% -883 3.08% -0.93%
5 2.155 11 -108.4 4.2% -941 3.29% -29.36% -928 3.24% -22.95%
5 2.155 11 -134.3 5.3% -922 3.22% -65.11% -909 3.17% -39.78%
With the data presented, in the range of ± 3% of strain the error is below 5%, however
out of this range the error is much greater than 5%, this can be seen in the following figure.
120
If strain is related to gain, the following graph shows that in a range of approximately
± 3% strain, the gain of 11 is maintained.
Figure A14. 6 Strain vs. Gain relationship with INA 114 BP amplifier circuit.
121
Annex 15
Prototype Operation Manual
This manual considers that the prototype will take measurements of sensors with
voltage variation or the instrumentation is carried out to measure acceleration or deformation
with the following components:
Measurement Instrumentation
NI cRio -9030
NI 9206 module
122
The details of the parts forming the device are shown below.
a.
b.
Figure A15. 1 a.- Side view details b.- Top view details
123
Once the instrumentation has been implemented, the following steps must be
followed to configure the prototype:
5. Open the user interface and on the first tab enter the general information of
the test.
124
Figure A15. 3 General Information Tab.
6. Identify and activate the channels that will perform the measurement with the
device.
7. In the second tab, each channel contains a box to configure details of the
parameter to be measured, in this box the parameter to be measured, the sensor
125
and its series will be configured, as well as the sensitivity that in the case of
acceleration should be in mV / g while for strain or other parameter it should
be 1.
8. Select if you want to calibrate the offset of the measurement before starting
the test.
126
9. Select if you wish to reset the parameters at the end of the test.
10. Define the sampling rate as well as the name of the file to be generated.
11. Then, in the CAN tab, the parameters required from the ECU´s unit are
selected.
127
Figure A15. 9 CAN parameters selection.
12. Once the parameters of the test have been defined, if the offset calibration
option is chosen, the truck must be switched off, otherwise the offset could be
calibrated manually. To Run the program, click on Play.
13. The device will begin with the acquisition of data. To stop the test, click on
Stop.
128
14. At the end of the test do not remove the USB memory until the play button is
activated again, this to give the computer time to record the information.
15. The information will be stored in a .tdms format file in which the information
entered and the readings of the enabled sensors will be included. This
information is ready to be treated and interpreted by the technician.
129
Appendixes
Appendix A
130
131
132
Appendix B
133
Appendix C
134
Appendix D
135
136
Appendix E
137
Appendix F
138
139
Appendix G
140
141
142
143
Appendix H
144
Voltage regulator circuit.
145
Appendix I
146