Professional Documents
Culture Documents
1.1 Heart Rate Measurement
1.1 Heart Rate Measurement
CHAPTER 1
INTRODUCTION
The accident rate in two wheelers has risen due to numerous factors. One main factor
is careless human errors. The intelligent bike focuses in the most probable human errors and
the ways to eliminate those errors. The existing systems comprises of features like automatic
headlights off. But, those features are not efficient. Four major peripheral features are added.
They are heart rate sensor, pressure sensor, automatic headlights ON/OFF and automatic
indicators off.
An embedded system is a computer system with a dedicated function within a larger
mechanical or electrical system, often with real-time computing constraints. It is embedded as
part of a complete device often including hardware and mechanical parts. Embedded systems
control many devices in common use today. Since the embedded system is dedicated to
specific tasks, design engineers can optimize it to reduce the size and cost of the product and
increase the reliability and performance. Some embedded systems are mass-produced, benefit
from economies of scale. Intelligent bike also based on embedded systems.
The last parameter is automatic indicator ON/OFF based on the handle movement the
indicator will OFF automatically.
The four features like heart rate, pressure sensor, automatic headlights and indicator
are easily embedded into bike in future. Since the embedded system is dedicated to specific
tasks, design engineers can optimize it to reduce the size and cost of the product and increase
the reliability and performance.
3
CHAPTER 2
LITERATURE REVIEW
Accident rate in two wheelers have reached a hike because of careless human errors.
Thus the safety measures in the two wheelers should be taken one step ahead. The existing
safety measures in the two wheelers comprises of features like automatic indicators off. But
those systems are not very efficient. The most probable human errors have been focused and
the ways to eliminate those errors were found. Various peripheral features in a two wheelers
have been added that makes driving even simpler. Features like heart rate sensor, tire pressure
monitoring system and automatic headlight ON/OFF and automatic indicator OFF have been
added. Arduino UNO has been chosen to control all the four peripheral systems because of its
flexible interfacing capability.
Martin Fletscher and Markus Dielacher (2010) described that Monitoring pressure in
the tyre requires attachment of tyre pressure monitoring system in the inner liner of the tyre.
By this process, the vehicle load and tyre wear out can also be determined. When extreme
accelerations are applied, robustness is required. Robustness can be achieved by using Bulk
Acoustic Wave (BAW) resonators. This reduces the start up time to 2 micro seconds and also
reduces the current consumption.
Saif Ahmad and MiodragBolic (2010) described that they apply the Maximal Overlap
Discrete Wavelet Transform (MODWT)-based spectral density estimation method to measure
Heart Rate Variability (HRV) from short-duration pulse wave signals produced by an
automated oscillometric Blood Pressure (BP) monitor during routine measurements. The
combinations of the MODWT HRV metric with other HRV metrics inside a multiple-linear-
regression model have shown an improvement in the correlations between the predicted and
actual ages and the predicted and actual BP.
4
Cheng Hung Tsai et al (2011) described an efficient way to reduce the standby power
consumption of a PIR-sensor-based lighting device. Power consumption is reduced i.e., the
device consumes 0.004 W when the light is turned off, and it is not only easy to set up but
also inexpensive. An MCU receives signals from a PIR sensor which detects any individual
approaching the device. The MCU controls the SSR On/Off when used as a light switch for
shutting off the standby power. The MCU monitoring program provides automatic detection
of any individual by means of the PIR sensor.
Xing yong Song and Zougxuan Sun (2012) described an essential feature required for
efficient performance is clutch shift control. This is critical for transmission designs including
automatic, dual clutch and hybrid transmissions. A precise coordination between the on-
5
coming and off-going clutches and proper torque control during clutch engagement is
required for smooth clutch to clutch shift. The clutch control can be obtained by placing a
pressure sensor in the clutch chamber. A robust pressure control is achieved while avoiding
the chattering effect by a sliding controller. Thus the observer is constructed to estimate the
clutch piston motion.
C. Beal and J. C. Gerdes (2013) proposed a systematic design for engine speed
control during vehicle deceleration, when the torque converter\is open. The multivariable
constrained controller must keep the engine speed close to the turbine speed to maintain
vehicle responsiveness, yet it should avoid crossing the lash to minimize disturbances on the
driveline and degraded drivability. By reparameterizing the power train dynamics to
eliminate a multiplicative nonlinearity, we have implemented a feedback controller based on
linear quadratic MPC, which enforces the power train constraints. In the experimental tests,
the controller has been shown to achieve improved tracking performance and fuel economy
as compared with a baseline strategy. In terms of its computational footprint, the controller is
adequate for implementation in a production ECU.
Stefano Di Cairano et al (2014) described the speed control of a spark ignition engine
during vehicle deceleration has been considered. When the torque converter bypass clutch is
open, the engine speed needs to be kept close to the turbine speed to guarantee
responsiveness of the vehicle for subsequent accelerations. However, to maintain vehicle
drivability, undesired crossing between engine speed and turbine speed must not occur,
despite the presence of significant torque disturbances. Hence, the engine speed during
vehicle decelerations needs to be precisely controlled by feedback control, which has to
coordinate airflow and spark timing and enforce several constraints including engine stall
avoidance, combustion stability, and actuator limits. Model predictive controllers that
manipulates airflow and spark to track the reference signal for engine speed while enforcing
constraints, and synthesize it in the form of a feedback law has been developed.
Andrew D Hellicar et al (2015) described the situ optical oyster heart rate sensor
generates signals requiring frequency estimation with properties different to human ECG and
speech signals. An optimal heart rate estimation approach was identified by application of a
variety of frequency estimation techniques and comparing results to manually acquired
values. Although a machine learning approach achieved the best performance, accurately
estimating 96.8% of the heart rates correctly, a median filtered autocorrelation approach
achieved 93.7% with significantly less computational requirement.
7
From the literature review we concluded that each proposed scheme has certain merits
and demerits. There is still a scope of designing a better intelligent bike using arduino having
improved performance and everything in an automatic manner. The peoples can drive in the
safety technology. Nowadays there are many accidents in vehicle because of the high speed
and some of the careless mistake so avoid these problems interfacing the some parameters in
bike. If the heart rate exceeds the level means the speed is reduced and headlight and
indicator will be control in the automatic manner and the tyre pressure is monitor using
arduino. The disadvantage of this work is that previous days everything in manual control so
wastage of power.
From the current problem, it can be seen that, existing methods are insufficient to
handle the problems of manual control in the manual control the manual control means
wastage of power but automatic means to avoid the wastage of battery power.
8
CHAPTER 3
The heart rate will be measured by the heart rate sensors. If the heart rate
raises the vehicle speed is automatically reduced. The heart rate sensor initially senses the
heart rate of the person sitting at the back seat. There is a maximum and minimum threshold
level which is previously programmed in the arduino board. If the heart rate is not within the
level, the bike speed is controlled automatically. The second parameter is tyre pressure of the
bike. The barometric sensor is used to find out the pressure in the tyre, the sensor is
interfaced to tyre through wireless medium. The first parameter is automatic headlight
ON/OFF. To control this, object sensor is used. If the sunlight is dusk means the head light
will be automatically ON otherwise the head light will be in OFF condition. The sensor
9
checks for the dawn or dusk. If the light intensity is low, the head lights are triggered. The
next parameter is automatic indicator turn ON/OFF, which is done with the help of flex
sensor by spectra symbol. When the handle turned means, the sensor senses the motion of the
handle and it will trigger the indicator to glow. Similarly, handle come back to straight
position means the sensor will glow OFF the indicator.
The intelligent bike has four parameters, first one is the speed control by sensing
heart rate measurement if it is within the given limits the rider is allowed to accelerate or else
rider is denied to accelerate. Second parameter is headlights ON/OFF this allows the
headlights automatic ON/OFF by sensing the dark and dawn of sunlight. Third parameter is
the tyre pressure sensor which senses pressure of the tyre using BMP180 module. Last
parameter is the automatic indicator turn ON/OFF which is done by using flex sensor based
on handle movement.
transmission, it is critical that before the transmission control module decides whether to
open or close a clutch, the speed of a shaft and the corresponding gear have to be
synchronized. This requires high fidelity in the accuracy of the computed shaft’s speed. The
complete sensor module is designed for ease of manufacturing and application in harsh
transmission environments such as high temperature profiles ranging from −40°Cto125 °C.
Conversion Method
The sensed pressure is in the form of voltage. This voltage signal should be converted
to user understandable form. Thus the voltage output is converted into pascal in the
microcontroller and displayed via LCD.
"Uno" means one in Italian and was chosen to mark the release of Arduino Software
(IDE) 1.0. The Uno board and version 1.0 of arduino software (IDE) were the reference
versions of Arduino, now evolved to newer releases. The Uno board is the first in a series of
USB arduino boards, and the reference model for the arduino platform; for an extensive list
of current, past or outdated boards see the Arduino index of boards. Table 3.1 shows the
technical specification of arduino.
13
Technical Specification
The pulse sensor that we make is essentially a photoplethysmograph, which is a well
known medical device used for non-invasive heart rate monitoring. The heart pulse signal
that comes out of a photoplethysmograph is an analog fluctuation in voltage, and it has a
predictable wave shape as shown in Figure 3.4. The depiction of the pulse wave is called a
photoplethysmogram, or PPG. Pulse sensor amped amplifies the raw signal of the previous
pulse sensor, and normalizes the pulse wave around V/2 (midpoint in voltage). Pulse sensor
amped responds to relative changes in light intensity. If the amount of light incident on the
sensor remains constant, the signal value will remain at 512 (midpoint of ADC range). More
light and the signal goes up. Less light, the opposite. Light from the green LED that is
reflected back to the sensor changes during each pulse.
BM180 barometric sensor has been used for sensing pressure inside the tyre. This is a
breakout board for the Bosch BMP180 high-precision, low-power digital barometer. The
BMP180 offers a pressure measuring range of 300 to 1100 hPa with accuracy down to 0.02
hPa in advanced resolution mode. It’s based on piezo-resistive technology for high accuracy,
ruggedness and long term stability. These come factory-calibrated, with the calibration
coefficients already stored in ROM. Table 3.2 shows the technical specification of pressure
sensor.
15
A simple flex sensor has the length 4.5cm. As the sensor is flexed the resistance
across sensor increases. Patented technology by spectra symbol they claim these sensors were
used in the original Nintendo Power Glove. The resistance of the flex sensor changes when
the metal pads are on the outside of the bend.
The object sensor has the ability to sense when a vehicle’s headlights should be
turned on at dusk and off at dawn; it can also sense when headlights should be turned on or
off due to changes in sky conditions. The object sensor’s advanced optical technology
improves driver safety by making the vehicle more visible to other vehicles and pedestrians.
This patented diffuser technology provides uniform horizon-to-horizon sensor response. The
sensor generates an output directly proportional to the ambient light level. Object sensor is
sensitive to measure property. For example, if a sensor measures temperature and has a
voltage output, the sensitivity is a constant with the unit [V/K], this sensor is linear because
16
the ratio is constant at all points of measurement. For an analog sensor signal to be processed
or used in digital equipment, it needs to be converted to a digital signal using an analog to
digital converter. Table 3.3 shows the technical specification of object sensor.
CHAPTER 4
Figure 4.2 shows the pressure sensor interfaced with Arduino with the help of five pins.
Table 4.1 gives the connection details of pressure sensor.
18
Arduino uno board has been chosen for interfacing the peripherals because it is one
of the most efficient microcontroller boards in market. It has a large number of peripheral
interface system. It has 14 digital input/output pins (of which 6 can be used as PWM outputs),
6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header
and a reset button. Moreover, it is cost effective. We decided to provide safety to two
wheelers at low cost. Hence Arduino uno board has been chosen.
19
CHAPTER 5
OUTPUT
Arduino software (IDE) version 1.0 was used to obtain the simulation results for heart
rate measurement. Figure.5.1 represents the simulation output of heart rate sensor. Here This
simulation shows three parameter 83 BPM (Beat Per Minute), pulse waveform with Pulse
Window Scale 0.73, and IBI 716mS (Inter Beat Interval). This simulation also indicates the
beat vibration of human which is indicated by heart symbol and red colored.
Figure 5.2(a), 5.2(b), and 5.2(c) shows the three different persons like normal,
moderate, and abnormal. The heart rate of those persons are 76, 81 and 41 respectively.
During normal and moderate situation the bike rider allowed to accelerate, but in the
abnormal case the bike rider denied to accelerate. The abnormal case is below 60 and above
120. The pulse rate sensor first sense heart rate of the bike rider and send to the arduino.
Based on the pulse rate the arduino program contains two level, one is normal and abnormal.
When the pulse rate reaches abnormal condition, the bike speed will reduced.
Normal, moderate and abnormal persons heart rate variations are shown in Table 5.1.
1 Normal 76
2 Moderate 81
3 Abnormal 41
Pressure Sensor
Figure 5.3(a), 5.3(b) shows the barometric pressure sensor variations that reads the
atmosphere pressure which is used to measure the tyre pressure. This sensor is mounted on
the knob of the tyre which should be wirelessly connected to the arduino uno. The pressure is
measured in terms of heptopascal unit of that is MilliBars (mb). To transmit the barometric
pressure data wirelessly to arduino, RF transmitter and receiver is used.
22
Figure 5.3 (a) Hardware Output for Pressure Sensor in Air Space
Table 5.2 shows the normal and tyre atmosphere pressure in terms of Milli Bar(mb).
Flex sensor by spectra symbol was used to automatically turn indicator ON/OFF. The
flex sensor is made up of alternative electrodes and insulators where the insulator used here is
graphite. When the edge of the flex sensor slightly bends means the insulator and electrodes
contracts and resistance decreases that allows the flow of currents through the electrodes this
23
makes the sensing of turning of handle. Figure 5.4(a), 5.4(b) shows the hardware output for
automatic indicator turn ON/OFF system. The flex sensor placed in handle bar. First the
indicator turn ON automatically when the handle turned because the flex sensor has the series
of graphite resistance and electrode when the flex sensor bends the resistance decreases and
starts conducting this will trigger the indicator to turn OFF.
Figure 5.5 shows the hardware output for headlight system. Object sensor is used in
automatic headlights ON/OFF system. The object sensor sense the weather condition, if it is
day time the head light will be in OFF condition or if it is night time headlight will be in ON
condition. The object sensor consist infrared LED and it act as a input of the sensor. The
infrared LED gets the weather condition, based on the weather condition head light glows.
CHAPTER 6
REFERENCES
10. John O. Manyala, Member, Todd Fritz, and Massood Z. Atashbar. (2013), “Gearbox
Speed Sensor Design and Performance Optimization”, IEEE Sensors Journal. Vol. 35,
No. 4, pp. 399-459.
11. C. Beal and J. C. Gerdes. (2014), “Model Predictive Control for Vehicle Stabilization
at the Limits of Handling,” IEEE Transactions on Control System Technology,
Vol. 21, No. 4, pp. 1258–1269.
12. Stefano Di Cairano, Member, Jeff Doering, Ilya V. Kolmanovsky, Fellow, and
DavorHrovat. (2014), “Model Predictive Control of Engine Speed during Vehicle
Deceleration”, IEEE Transactions on Control Systems Technology. Vol. 22, No. 4,
pp. 125-163.
13. Andrew D.Hellicar, Ashfaqur Rahman, Daniel V. Smith, Greg Smith, John
McCulloch, Sarah Andrewartha, and Andrea Morash. (2015), “An Algorithm for the
Automatic Analysis of Signals from an Oyster Heart Rate Sensor”, IEEE Sensors
Journal. Vol. 36, No. 2, pp. 654-765.