Plag
Plag
TNE series consists of: a) straining unit, b) power pack, c) hydraulic controls, d) control
panel and e) electronic control panel.
a) Straining Unit: It contains a geared motor with chain and sprocket drive and a table
coupled with the ram of the hydraulic cylinder, mounted on to a robust base. To eliminate
friction the cylinder and ram are individually lapped. For measure the extension of test
specimen extensometer is used. Fig 1.1. shows attachment for tension test for shouldered
and threaded specimens.
1
An Embedded System Approach to Measure Yield Strength of Different Materials.
Figure 1.1- Attachment for Tension Figure 1.2. Tension Test Figure 1.3. Compression Test Test for
shouldered and
Threaded specimens
b) Power Pack: Fig.1.2. shows tension test. Is used for tension test. The maximum
pressure generates of 200kgf/cm^2. It consists of hydraulic pump. The load applications
very smooth because it produces continuously non-pulsating oil flow.
c) Hydraulic Controls: It is used for applying the strain on the test is shown in Fig 1.3.
To control the flow of oil to and from the hydraulic cylinder in this hand operated wheels
are available. The oil flow regulation is infinitely varying. To maintain a practically
constant rate of piston movement hydraulic system used regulating valve. Extensometer
reading to be taken by controlling this valve.
d) Control Panel: It contains a complete power pack with drive motor and an oil tank,
control valves and electronic display unit.
e) Electronic control panel: Fig.1.4 shows the electronic control panel. It uses latest
microprocessor which incorporates the technology with following features. The panel has of
two modes of operations viz.; Panel control mode & PC control mode. Panel control mode,
the machine can be operated from panel (without PC) and output results / graph on dot
matrix printer. With PC control mode, load, displacement and extension data are transferred
to PC through RS- 232 serial port. In this storage of 20 data set and 50 results, maintains
data and results during power off.
1.2 Methodology:
2
An Embedded System Approach to Measure Yield Strength of Different Materials.
Review of ES-AMYSDM
In this chapter understanding the principles of material mechanics, sensor technology, and
embedded systems design. Here's an explanation of each component. The existing literature,
researchers can develop a comprehensive understanding of the challenges and opportunities
in measuring yield strength using an embedded system approach. This knowledge forms the
basis for designing innovative solutions and conducting studies to validate their
effectiveness and practicality.
A) Mechanical Section:
There are three main units in mechanical section viz.; i) loading frame ii)
hydraulic pumping unit iii) Motor control block as shown in figure 2.1 Present
Mechanical arrangement with specimen to be tested.
i) Loading frame: contains a central cross head and a lower table. Centre cross
head is adjustable for clearance by means of a geared motor. Between the central
cross head and lower table, the compression test is carried out and tension test is
carried out between center and upper cross heads.
ii) Hydraulic pumping unit: includes multi plunger pump powered by a suitable
motor. For a continuous non pulsating oil flow to the ram of the loading frame this
pump is used. To safety against over load pressure switch is provided.
iii) Motor control block: There are two models of operation. In manual control
mode, the machine is operated by means of potentiometer provided on control box.
Here, no rate control is offered. The machine is operated by means of potentiometer
in similar ways as we operate hydraulic valve. In auto control mode, operator enters
required load / Disp / Strain rate on computer. When we start the test, the required
4
An Embedded System Approach to Measure Yield Strength of Different Materials.
rate is always compared with achieved rate and error feedback controls machine
accurately.
Electronic Block diagram of existing Universal Testing Machine is as shown in Figure 2.2.
TNE series system incorporate of a) Strain gauge sensor i.e. load cell for measuring applied
force b) Extensometer for measuring extension due to applied load and c) Encoder for
measuring displacement and limit switch LS to limit the up safety and down safety. All are
interfaced to microprocessor after signal conditioning.
The microprocessor monitors the load applied to test specimen. The servo motor is a
closed loop control system with variable frequency. The servo motor is used to meet desired
speed and accuracy of load applied. Microprocessor monitors the stress and elongation
reading from strain gauge transducer and extensometer and performs computation and
displays them on 7- segment display. A numeric keyboard for data entry on front panel
membrane type keyboard is present for machine operation. Data entry to be entered are
parameters for test including speed, rupture % peak, preload, modulus data, test data and
specimen data etc. for getting data on PC that is interfaced to microprocessor through the
USB. For understanding the trade of stress-strain graph and also to evaluate yielding point
of material.
5
An Embedded System Approach to Measure Yield Strength of Different Materials.
a) Sensor Block
There are three sensors blocks viz.; i) Load cell ii) Extensometer iii) Encoder
i) Load Cell: To converts a force or load into a measurable output load cells are used.
They are of multiple types including hydraulic, pneumatic, strain gage, piezoelectric and
capacitance. It is designed to sense force or weight under a wide scale of adverse conditions;
they are the most essential part of an electronic weighing system. The load cell capacity
range needed for our dissertation is 250N to 1000KN and load rate count 100000.
ii) Extensometer: To measure material extension the strain gauge type, extensometer
used with a resolution of 1 mm. It is designed to be clamped directly on specimen. To
determine important specifications like 1% to 1% proof stress and Young's modulus, it has
two fixed gauge lengths of 25mm and 50 mm is used to measure strain up to elastic limit.
Change of gauge length is by means of replacing button knife-edge extender, MCE 2 is
fabricated from high strength fight weight aluminium with a durable anodized finish. The
knife-edges are made from oil hardened tool steel to withstand heavy usage. We need to
modify strain rate control from 0.01 mm of existing to 0.1 micron.
b) Controller block: The monitoring and control system hardware design mainly contains an 8-
bit microprocessor. The 8085 follows the von Neumann architecture, with a single data bus
used for both instructions and data. The 8085 can address up to 64 KB of memory using its
16-bit address bus. Typically operates at a clock speed of 3 MHz, although variations exist.
6
An Embedded System Approach to Measure Yield Strength of Different Materials.
Can interface with various peripheral devices such as memory, I/O ports, timers/counters,
and serial communication devices.
c) Display unit: It consists of wired communication. The RS232 and printer port of printer
interface with then graph and results printout. Front panel membrane type keyboard for
machine operation with numeric keys for data entry.7-segment displays are used for to
display force, displacement and extension. The graph of stress vs. strain, load vs.
displacement, load vs. % elongation display on PC.
d) Electronic control panel: In current dissertation digital display system is totally controller
based. To communicate with the computer, it has RS232. The system is support by
windowbased software. On Line graph of load vs. displacement is displayed on the monitor.
Analogue readings and graphical representations are stored in the file which can be
retrieved on demand.
Mathematical analysis such as stress, strain, yield strength and % elongation etc. it
is followed by the proposed block diagram that are required to modify system to explain all
blocks. The detailed methodology of implementation is explained with the help of
proposed block diagram.
a. Theoretical Analysis:
The primary use of the testing machine is to obtain the characteristics of
between stress-strain. Tensile test governs the strength of the material subjected to a
simple stretching operation. Generally, standard dimension test samples are pulled
slowly (static loading) and at uniform rate in a testing machine while the strain (the
elongation of the sample) is given by (1)
𝑆𝑡𝑟𝑎𝑖𝑛 = 𝜀 = = (1)
And the stress is ratio of (the applied force to the original cross-sectional area) and
mathematically given by (2)
𝑎𝑝𝑝𝑙𝑖𝑒𝑑 𝑓𝑜𝑟𝑐𝑒 𝐹
𝑆𝑡𝑟𝑒𝑠𝑠 = σ = = (2)
𝑜𝑟𝑖𝑔𝑖𝑛𝑎𝑙 𝑎𝑟𝑒𝑎 𝐴0
Consider, an e.g. steel and aluminium under tensile loading. As shown in fig (4)
Where ultimate strength is maximum value on point of curve is Y. M is the slope
of curve. Yield strength Ys is corresponding to the point of curve where linearity is lost.
7
An Embedded System Approach to Measure Yield Strength of Different Materials.
b. Performance Parameters:
In this section explain all mathematical analysis such as stress, strain, yield
strength and % elongation etc. it is followed by the proposed block diagram that are
required to modify system to explain all blocks. The detailed methodology of
implementation is explained with the help of proposed block diagram.
Stress and strain can be obtained from graph of Fig.4.using (3) and (4)
𝑃
𝑠= (3)
𝐴0
(𝐿 − 𝐿0) 𝐴0 − 𝐴
𝑒= = (4)
𝐿0 𝐴
Where,
P Instantaneous load
(Kg) s Stress (Kg/𝑚 Pa) e
Strain
L Instantaneous gauge length (m), Gauge length after rupture, and the two pieces
having been carefully fitted back together so that their axes lie in a straight
line.
L0 Original gauge length, Gauge length before application of force(m)
A Instantaneous area (𝑚 )
A0 Original area of cross-section at gauge length (𝑚 )
True stress and true strain obtained by (5) and (6)
𝜎= 𝑠(1 + 𝑒) (5)
𝑒= ln(1 + 𝑒) (6)
Where,
σ True stress (Kg/𝑚 , Pa)
ɛ True strain e Strain
8
An Embedded System Approach to Measure Yield Strength of Different Materials.
Yield Stress: a point is reached during the test at which plastic deformation occurs
without any increase in the force. It is obtained by (7)
𝐹
𝑌𝑖𝑒𝑙𝑑 𝑠𝑡𝑟𝑒𝑛𝑔𝑡ℎ =
(7)
𝐴
Where,
𝐹 : Load at the yielding point
𝐴 : Initial area of the specimen
Yield Point Elongation: The extension associated with discontinuous yield which
occurs at approximately constant load following the onset of plastic flow. Percentage
of total elongation obtained by (8)
𝐿 − 𝐿0
𝑃𝑒𝑟𝑐𝑒𝑛𝑡𝑎𝑔𝑒 𝑜𝑓 𝑇𝑜𝑡𝑎𝑙 𝐸𝑙𝑜𝑛𝑔𝑎𝑡𝑖𝑜𝑛 𝑎𝑡 𝐹𝑟𝑎𝑐𝑡𝑢𝑟𝑒 = (8)
𝐿0
So here we have discussed some of the papers wherein such sensors are used but for
some different applications.
• Liam Moore, [3] publish Embedded Module for 3-D Mechanical strain measurement.
This 3-D strain measurement structures are found to more efficient in terms of
manufacturing procedures with minimum adjustments and, due to the common
communication and power bus, is modular in nature allowing the integration of
additional sensor components for health monitoring required e.g., humidity, vibration,
shock etc. Since the module was completely self-contained, the onboard presence of
all signal conditioning and compensation electronics eliminates the effects of electrical
noise.
9
An Embedded System Approach to Measure Yield Strength of Different Materials.
• Du Jingqing, Gao Shiqiao, Niu Shaohua [5] have reported a method Hydraulic testing
machine with stress and strain rates controlled and its realization. In this paper they
have discussed Proposed by this paper, a comprehensive control system can be formed
by a pressure gauge throttle needle valve and a frequency converter supported by
modern micro-computer control technology. This type of system can be used in
various strength testing device. Test and inspection show that this system, which
totally meets the loading requirements of stress rate or strain rate in the national
standards, can be used in hydraulic testing machines. For a pressure gauge throttle
needle valve is adopted as the main hydraulic part, the hydraulic system has a simple
structure and reliable performance.
• Daudi S. Simbeye [6] published Computerized measurement and control system of the
UTM based on virtual instruments. This computerized measurement has been done to
study a critical property of wide range materials in relation to mechanical properties
like our work. Specimens can potentially be different types of materials including
metallic and non-metallic materials. The proposed computerized measurement has a
precise motion control, high precision, high stability and powerful data analysis
capabilities.
• Changli Zha and Shenlong Zha [7] published experimental study on influence of
ultrasonic vibration on forming limit. The ultrasonic vibration perform mechanism of
forming limit diagram (FLD). Analysis shows that the FLDs under ultrasonic vibration
increase with the increase of vibration frequency, but the shapes are basically
unchanged.
10
An Embedded System Approach to Measure Yield Strength of Different Materials.
Zechariah Gajadhar, Anjali Material for testing: different type of stress and strain values, Open loop
Dhobale, Nicholas specimens manually recorded 16-bit
“Tensile Machine User Processor: Arduino Uno microcontroller resolution
Interface” Software tools: MATLAB, GUI. Display
13thLaccei International unit: 16-bits ADC, Microsoft excel to
Conference, generate stress-strain plot Feature: real-
July 29-31, 2015.[2] time synthesis and analysis gives cost-
efficient educational tool
Liam Moore, Fellow, IEEE, Material for testing: - structural health Open loop
and John Barrett” Embedded Processor: Microcontroller PIC18F1320 monitoring and reliability
Module for 3-D Mechanical Display unit: digital data directly to a and for calibration 24-bit
Strain Measurement” master device such as PC and 24-bit resolution
IEEE transactions on ADC
components, packaging Methodology: system is monitored using
and manufacturing the on-board temperature sensors
technology,
6, June 2012 [3]
Mr. A. N. Patil, Dr. Mrs. S. Material for testing: different specimens the stain rate should stay Open loop
B. Patil Processor: Microcontroller between 0.00025/S and
“Automation of Universal Display unit: 10-bit ADC, HMI Feature: 0.0025/S
Testing machine using clear analytical treatment for load v/s
Human Machine Interface” elongation curves
International journal for
research & development in
technology
Dec-2015 [4]
Du Jingqing, GaoShiqiao, Material for testing: Cement loading requirements of Open loop
NiuShaohua Processor: PID, data processing stress rate or strain rate in
“New Idea for Hydraulic Software tools: - / the national standards
Testing Machine rate control Methodology: Using transducer and
and realization” computer technique, hydraulic system is
International Conference on formed by SCM (single chip micyoco),
Intelligent Computation needle valve, frequency converter and
Technology and Automation electric machine, to complete stress and
2010 [5] strain rates control.
Daudi S. Simbeye Material for testing: Brick tensile test with a Closed loop
“Computerized Measurement Processor: ATmega64 Microcontroller deformation rate of
and Control System of the Software tools: LabWindows/CVI. 5mm/minute
UTM Based on Virtual Display unit: 16-bit ADC, PC
Instruments” Feature: achieve the instrument's speed and
Journal of Information position control, real-time data display
Science and Computing
Technologies,
January 14,2016 [6]
Changli Zha and Shenlong Material for testing: Metal sheet frequency rises from 20 Open loop
Zha, Process: Ultrasonic vibration Methodology: to 23.5 kHz, the limit
Experimental study on . Applying ultrasonic vibration in sheet strain increment
influence of ultrasonic metal forming can change its forming increases with the
vibration on forming limit. mechanism and improve its formability. increase of vibration
EDP Sciences Feature: achieve the instrument's speed and frequency, and varies
March 15,2022,[7] position control, real-time data display within 1.9–8.7%.
11
An Embedded System Approach to Measure Yield Strength of Different Materials.
Julien H. Arrizabalaga, Material for testing: Latex glove Process: mechanical properties of Open loop
Aaron D. Simmons and ATmega64 Microcontroller Software a material relate to how
Matthias U. Nollert tools: LabWindows/CVI. it responds to
Fabrication of an Economical Display unit: ADC, PC mechanical stress.
Arduino-Based Uniaxial Feature: achieve the instrument's speed and
Tensile Tester Journal of position control, real-time data display
Chemical Education
January 27, 2017. [8]
It has been seen that from literature review that, have some of researches adopted open
loop control mode. In traditional UTM i.e. TNE series has usage of outdated processors and
peripherals being used. Also, the existing traditional TNE series tensile testing machine has
drawbacks of less resolution, lack of data storage, facility outdated display and keyboard,
microprocessor with lower features and requirement of off chip resources.
The existing traditional TNE series tensile testing machine has drawbacks of less
resolution, lack of data storage, facility outdated display and keyboard, microprocessor with
lower features and requirement of off chip resources.
It has been seen that from literature review that, have some of researches adopted
open loop control mode. In traditional UTM i.e. TNE series has usage of outdated processors
and peripherals being used.
12
An Embedded System Approach to Measure Yield Strength of Different Materials.
1. To modify the existing UTM machine for automation by adding ARM7 controller.
2. To develop signal conditioning unit for strain gauge & extensometer and interface
them to ARM7 controller along with touch screen for stress and strain
measurement.
3. To develop embedded C program for monitoring and visualization.
4. To obtain material parameters such as ultimate strength, yield strength, % elongation,
% area of reduction and Young's modulus.
5. To incorporate wireless system for to monitor the process on personal computer.
13
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
As shown in above block diagram the entire system set up for Yield Strength
measurement of different materials consists of two parts viz.; a) Mechanical system b)
Electronic section.
a) Mechanical setup: Mechanical set up consists of i) Load frame ii) Crosshead iii)
Specimen grips iv) Load cell v) Extensometer vi) Control system v) Safety features
Mechanical set up allow us to place the sample to be checked for ultimate tensile
strength of material. The material to be tested is prepared in a specific shape and size
according to standard specifications. Specimen is mounted between two grips within
the machine. One grip is fixed, and the other is connected to a movable crosshead. The
machine applies a steadily increasing tensile (pulling) force to the specimen, causing it
to stretch. During the test, various parameters are measured, including the applied force
and the resulting elongation of the specimen. The data collected during the test is
analyzed to determine the material's mechanical properties, such as ultimate tensile
strength, yield strength, modulus of elasticity, and elongation at break. The detailed
explanation of the mechanical set up is given in chapter number 4.1. The detailed
explanation of the mechanical set up is given in chapter number 4.1.
b) Electrical System: Total 2 sensors are used for measuring stress and strain of material
using load cell and ultrasonic sensor respectively. Load cell and Ultrasonic sensor with
a very high sensitivity and resolution should be used so that stress and strain must be
noted with better accuracy. A load cell is a transducer that converts force or weight into
an electrical signal. That is give the stress of object by using load cell sensor. An
ultrasonic sensor is a device that converts ultrasonic sound waves into electrical
signals. Ultrasonic sensor emit ultrasonic pulses and then measure the time it takes for
14
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
the pulses to bounce back after tension applied an object. This information is used to
determine the distance to the object. That is give the strain of object by using ultrasonic
sensor. Electronic hardware consists of amplifier as signal conditioning device,
microcontroller and Analog to Digital Converter. Electronic hardware senses the
changes in stress and strain of the sensor and converts it into accurate digital value
which is read and then proper action is taken by microcontroller. The decision check is
carried out by microcontroller program. Display unit is used to display the stress and
strain of the specimen.
Figure 3.2 shows Implemented block diagram of electronic section. It has four
main units: a) Sensor block, b) Controller block, c) Display block and d) Loading frame.
The new parts to be added in our dissertation are shown by dotted Blk1 and Blk2 in
Figur.3.2. Blk1 consists of controller, and wireless unit and Blk2 consists of addition of
new sensors with associated signal conditioning circuit, on chip ADC of ESP32, strain
gauge bridge, ultrasonic sensor. We will be developing program to the stress, strain and
monitor. Devices like strain gauge bridge sensor, Ultrasonic sensor, Signal conditioning
circuit, ADC comes under the category of Input section. Output sections contains OLED
display. Control action is completed by the microcontroller device. The connection
diagram of all these devices is shown in the figure 3.2.
15
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
16
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Figure 3.3 shows Strain gauge load cell sensor and labelling for strain gauge load cell
sensor is as follows –
A strain gauge load cell with 4 wires typically refers to a load cell configuration that
includes four wires for connection: two wires for excitation voltage and two wires for
measuring the output signal. This configuration is commonly known as a 4-wire load cell
setup and is used to compensate for lead wire resistance, minimizing errors introduced by
the resistance of the connecting wires.
17
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
It ensures that, 8-bit change of ADC to represent a micron. This is sufficient for our
stress measurement. So, we have chosen a 24-bit ADC HX711 industrial grade with
following specifications -
i. Resolution – 24-bit
ii. SPI Interface mode iii. Sampling Rate - 80 sps
iv. Input channels -2
v. Conversion Time – 24 Clock Cycles
Figure 3.5 shows ADC HX711 AVIA Semiconductor Technology HX711 is 24-bit ADC
with on board sample and Hold circuitry. Communication with the microcontroller can be
done using simple serial interface compatible with SPI protocol.
Number of port pins of microcontroller required for different components are tabulated
below. Table 3.3 Pin Requirement of Microcontroller
Sr. Name of Interfacing Number of µc
No. Device Pins needed
1 ADC 04
2 Ultrasonic Sensor 04
3 OLED DispPlay 04
19
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
20
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
iii. Specimen Grips: Grips securely hold the specimen in place during the test. They
come in various designs depending on the type of material being tested (e.g., flat
grips for metal specimens, vise grips for polymers).
iv. Load Cell: A load cell measures the applied force during the tensile test. It converts
the mechanical force into an electrical signal that can be recorded and analyzed.
v. Ultrasonic Sensor: An ultrasonic sensor measures the deformation (strain) of the
specimen during the test. It typically consists of two arms that attach to the specimen
and a gauge to measure the change in length.
vi. Control System: The control system regulates the testing process, including applying
the load at a specified rate and recording data from the load cell and extensometer.
vii. Safety Features: Tensile testing machines should include safety features such as
emergency stop buttons, protective enclosures, and overload protection to prevent
accidents and damage to the equipment.
Electronic
system
Electronic
system
21
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
The design of these circuits and their function is explained further. ESP32 pin
allocation table for interfacing of various components is as shown in table 4.1.
22
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Figure 4.3 further shows Circuit Diagram Strain gauge load cell sensor.
Figure 4.4 and 4.5 shows top view and Functional Block diagram of Ultrasonic sensor
HC SR-04 respectively.
Figure 4.4 – Construction of HC SR-04 Figure 4.5- Functional diagram of HC SR-04 Block
Figure 4.6 – Pin diagram of ADC Figure 4.7 –Internal Schematic of ADC HX711
Figure 4.6 and 4.7 further shows the pin diagram and internal schematic of ADC
HX711 respectively. Pin number 11 is serial clock input used to initiate communication
with device when pulled low and will end the conversation when pulled high. Channel A
differential input is designed to interface directly with a bridge sensor’s differential output.
Serial CLK is used to initiate conversation and to clock out each bit of conversation. Din is
24
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
the serial data input pin used to clock in input channel configuration data. Dout is serial
data out pin used to shift out results of conversion.
ADC and OLED are interfaced to microcontroller. The Microcontroller port pin
allocation is done as per the table below.
Table 4.4 Microcontroller Port Pin Allocation for different Components
Sr. Controller Pin No. Device Connected Controller Function
No.
25
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Figure 4.9 Pin Diagram of ESP32 Figure 4.10 Functional Block Diagram of ESP32
Figure 4.11 shows Actual connection for an electronic part Strain gauge sensor,
Ultrasonic sensor, ADC HX711, Microcontroller ESP32 and OLED Display.
ADC
Strain Gauge Load Cell Sensor, Ultrasonic Sensor, ADC HX711, OLED
Display are interfaced to microcontroller. The Microcontroller port pin allocation is
done as below.
1. Connect the wires (red and black) of the load cell to the V0+ and V0- outputs of
the HX711 module AVDD & AGND pin3 & pin5 respectively.
V0+ and VHX711 Pin3- AVDD Power Analog supply: 2.6 -5.5V
HX711 Pin5- AGND Ground Analog Ground
V0+ & V0- are the power wires for the load cells. The polarity doesn't matter. Switching
will only invert the calibration parameter in the software.
2. Connect the wire white middle cable of the load cell to the VG+ input of the
HX711 module pin8 INPA.
3. Connect the wire green resistors to the VG- input of the HX711 module pin7
INNA. VG+ and VG- are the measurement inputs from the cells. Like with the power
wires, the polarity is not important.
HX711 Pin7- INA- Analog Input Channel A negative input HX711 Pin8-
INA+ Analog Input Channel A positive input
4. Connect the GND of the HX711 module to the ESP32 GND pin 15 and VCC to
the ESP32 5V pin2.
ESP32 Pin2- 3V3 2.2V to 3.6V Power supply
ESP32 Pin15- GND Ground
HX711 also works with 3.3V. So, if you have some other microcontroller that runs on
3.3V, then you can use 3.3V instead of 5V.
6. Connect the and SCK of the HX711 module pin12 & pin11 to the ESP32 digital
IO15 pin23 and SD3 pin18 respectively.
HX711 Pin12- DOUT Digital Output Serial data output
HX711 Pin11- PD_SCK Digital Input Power down control (high active) and serial
clock input
ESP32 Pin23- IO15 I/O GPIO15
ESP32 Pin18- SD3 I/O GPIO10, SD_DATA
7. Connect the IO21 and IO22 of the ESP32 module pin33 & pin36 to the OLED
display SCL pin3 and SDA pin4 respectively.
ESP32 Pin33- IO15 I/O GPIO15
ESP32 Pin36- SD3 I/O GPIO10, SD_DATA
OLED Pin33- IO15 I/O GPIO15
OLED Pin36- SD3 I/O GPIO10, SD_DATA
27
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
28
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Electronic
System
x. Data Analysis: Analyze the collected data to determine material properties such as
ultimate tensile strength, yield strength, modulus of elasticity, and elongation at break. xi.
Reporting: Compile the results into a comprehensive report including testing parameters,
raw data, and analysis, ensuring compliance with relevant standards or experimental
requirements.
• Electronic Implementation:
i. ESP32 Setup: Set up the ESP32 microcontroller as the central control unit for
the tensile testing system. Utilize the Arduino IDE or Platform IO for ESP32
development.
ii. Load Cell Interface: Connect the load cell to the HX711 ADC module. The load
cell measures the applied force, and the HX711 converts analog signals from
the load cell to digital data readable by the ESP32.
iii. Ultrasonic Sensor Integration: Connect the ultrasonic sensor to the ESP32 for
measuring the elongation of the test specimen. The sensor should be positioned
to track the movement of the sample holder or the test specimen directly.
iv. OLED Display Integration: Connect the OLED display to the ESP32 to provide
real-time feedback during the test. Display parameters such as applied force,
displacement, test status, and any relevant messages or prompts.
v. Control Algorithm: Develop firmware for the ESP32 to control the testing
process. This includes starting, pausing, and stopping the test based on user
input or predefined conditions. Implement PID control algorithms if necessary
to maintain a constant testing speed.
30
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
vi. Data Logging and Analysis: Incorporate data logging functionality to record
force, displacement, and time data during the test. Store the data either locally
on the ESP32 or externally on an SD card or cloud storage. Develop algorithms
for real-time or post-test data analysis to calculate key parameters such as
tensile strength, modulus of elasticity, and elongation at break.
vii. User Interface (UI): Design a user-friendly interface for controlling the test
parameters and viewing real-time data. This could be implemented using
physical buttons and the OLED display or through a web interface accessible
via Wi-Fi. viii. Communication Interfaces: Optionally, incorporate
communication interfaces such as Wi-Fi or Bluetooth to enable remote
monitoring and control of the tensile testing system.
18 11 PD_SCK
23 12 DOUT
15 5 AGND
5 3 AVDD
This is followed by storage of Upper Limit (UL) and Lower Limit (LL) tolerances of the
specimen stress and strain are stored in the EPROM. A subroutine is called to display title
on OLED, after displaying title on OLED ADC value is Read from pin number 23 of
microcontroller.
31
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
32
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
33
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
34
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
35
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Figure 5.4 further shows flow chart of strain measurement. This flowchart
outlines the steps involved in measuring strain during tensile testing, which is
essential for understanding material behavior and determining tensile strength
accurately. Adhering to standardized testing procedures and safety protocols
is critical for reliable results.
36
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
37
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
6.1 Introduction
We have carried out experimentation in some steps. In the first step linearity of Load
cell sensor is checked i.e. graph of sensor stress with output of the signal conditioning circuit
should be linear. Linearity of Load cell was tested by conducting of experiments. First to
calibrate system by using below code calculate calibration factor as follows.
Calibration Procedure:
At this time, assume I have wired the load cell to the HX711 amplifier and the amplifier
to the ESP32. Also have scale set up load cell, and have installed the HX711 library.
Before getting the weight of objects, need to calibrate load cell first by getting the
calibration factor.
38
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
1) Prepare an object with a known weight. I used scale and weighed 1kg.
2) Upload the following code to your ESP32. I wrote the code taking into account the
instructions to calibrate the load cell.
3) After uploading, open the Serial Monitor at a baud rate of 115200 and reset the ESP32
board.
4) Follow the instructions on the Serial Monitor: remove any weights from the scale (it
will tare automatically). Then, place an object with a known weight on the scale and
wait until you get a value.
5) Calculate your calibration factor using the formula:
Calibration factor=(reading)/(known weight)
In our case, the reading is 43100. The known weight is 1kg, so our calibration factor will
be:
calibration factor = 43100/1 = 43100
Save calibration factor because you’ll need it later.
Because the output of the sensor is proportional to the force applied to the load cell,
calibrate scale using whatever unit makes sense for you.
39
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Figure 6.2 further shows a snapshot of an electronic system shows a visual representation that
helps in understanding its structure, configuration, and operation. It can be useful for
documentation, troubleshooting, design review, and communication among stakeholders involved
in the development or maintenance of the system.
Loading
Frame
Load Cell
HC-SR04
ADC ESP32
HX711 OLED
Display
Figure 6.2 Electronic System snap shot
• To measure stress and strain using a load cell (HX711) and an ultrasonic sensor
(HCSR04) with an ESP32 and display the results on an OLED screen, you'll need to
follow these steps:
40
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
a. Hardware Setup:
a.i Connect the load cell (HX711) to the ESP32.
b.i Connect the ultrasonic sensor (HC-SR04) to the ESP32.
c.i Connect the OLED display to the ESP32.
d.i Make sure all connections are correct and secure.
b. Calibration of Load Cell: Calibrate the load cell to convert the output voltage to the
corresponding force/stress values. This usually involves applying known loads and
recording the corresponding sensor outputs.
c. Reading Load Cell Output:
a.i Interface the load cell with the ESP32 using the HX711 library to read the
sensor output.
b.i Convert the raw readings to actual force/stress values using the calibration
data.
d. Reading Ultrasonic Sensor Output:
a.i Use the HC-SR04 library to interface the ultrasonic sensor with the ESP32.
b.i Measure distances using the sensor.
(( )∗ )
i. 𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 =
a. speed of sound in the air at 20ºC (68ºF) = 343m/s
e. Calculation of Strain:
a.i If you're measuring strain, you need to relate the force applied (from load
cell) to the deformation or displacement measured (from the ultrasonic sensor).
b.i Based on the geometry and material properties of the object under stress,
calculate the strain using the formula: ε = ΔL / L, where ΔL is the change in length
and L is the original length.
f. Calculation of Stress:
Once you have strain (ε), you can calculate stress (σ) using Hooke's law: σ = E
* ε, where E is the Young's modulus of the material.
g. Displaying Results on OLED:
a.i Use the appropriate library to interface the OLED display with the ESP32.
b.i Display the calculated stress and strain values on the OLED screen.
h. Code Implementation:
a.i Write the code to read data from the load cell and ultrasonic sensor.
b.i Perform necessary calculations to get stress and strain values.
c.i Update the OLED display with these values.
In Figures 6.4, 6.6, 6.7 samples of stress and strain obtained dimension readings are
shown which are take. In figure 6.4 the weight sample number 1 is with stress 1kg. The
readings obtained on our system came out as 1kg i.e. with 0 percent error. Also, as this
weight is within our stress limits of 250N to 1000KN on OLED display it is shown as OK.
Similarly in figure 6.6 sample number 2 measured stress readings by 0.2kg and our
system each are 0.2 kg, i.e. with 0 percent error.
Similarly in figure 6.7 sample number 3 measured stress readings by 0.1kg and our
system each are 0.1 kg, i.e. with 0 percent error.
41
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Loading
frame Specimen
ADC
HX711
Ultrasonic
sensor
Figure 6.6 further shows Stress result snapshot 0.2kg. The stress results shown in
the snapshot correspond to a specific load condition where a 0.216kg force was
applied to the material or structure.
42
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
Figure 6.7 further shows stress results shown in the snapshot correspond to a
specific load condition where a 0.1kg force was applied to the material or structure.
Similar to before, this load may be applied uniformly or concentrated at specific
points.
Actual
Experimentation Experimentation
Applied Error
Load in kg Load in N
Load in kg
44
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
1 0.8 8 0.2
1.2 1.3 13 -0.1
1.4 1.2 12 0.2
1.5 1.4 14 0.1
1.6 1.5 15 0.1
1.8 1.7 17 0.1
2 2 20 0
2.2 2.1 21 0.1
2.5 2.6 26 -0.1
4 3.9 39 0.1
5 5 50 0
10 10 100 0
45
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
10
0
0.000 2.000 4.000 6.000 8.000 10.000 12.000
Applied load in kg
Figure 6.11 Stress result graph
Figure.6.11 and Figure 6.12 shows further Shape of Stress and Strain at various stages
of testing.
46
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
25
Experimentation Strain in cm
20
15
10
0
0 5 10 15 20 25
The shape of the yield strength curve can vary depending on factors such as
material type, processing, and testing conditions. Understanding these curves is
crucial for assessing the mechanical properties and behavior of materials under
different loading conditions.
6.5 Budget:
Table 6.13 Costing of Electronics Components
Sr. No Entity Quantity Cost in
Rs/Component
5. Jumpers 12 12
47
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
7.1 Conclusion:
In this dissertation, presented the report on “An Embedded System Approach To
Measure Yield Strength Of Different Materials”.
Our implemented strength measurement system, the ultrasonic sensor typically
provides a resolution of 3-5 millimeters, while the ADC a resolution of up to 24 bits. Stress
and Strain measurement procedure wise very simple. With these devices stress
measurement error is near to -0.008875 for applying load 10g to 10kg Strain measurement
error is -0.034 for 1cm to 20cm.
Measurements are displayed directly through wireless communication, on mobile.
It is easy for operator to note down unlike in the case of non-conductive and conductive
specimens. Our implemented system is more cost effective than existing system. And also,
it is much compact.
48
An Embedded System Approach to Measure Yield Strength of Different Materials.
aNA
49