"Vehicle Monitering System Using Labview": National Institute of Technology Warangal-560004
"Vehicle Monitering System Using Labview": National Institute of Technology Warangal-560004
Warangal-560004
A
Mini-Project Report
On
CERTIFICATE
Guide
Sri K.V. Sridhar
2
ACKNOWLEDGEMENT
B.Swetha
154506
CONTENTS:
1. INTRODUCTION
2. BLOCK DIAGRAM
4. IMPLEMENTATION
5. VI BLOCK DIAGRAM
6. FRONT PANEL
7. OBSERVATIONS
8. CONCLUSION
9. REFERENCES
ABSTRACT:
This mini project aims at this sort of automation and monitoring. vehicle
speed is controlled depending on the temperature of the engine. Pollution levels
released by the vehicle are indicated by using led’s. Amount of diesel left in the
tank is also indicated.
BLOCK DIAGRAM:
Component description and Specifications:
NI ELVIS Data Acquisition System:
Supported functions on ELVIS DAQ system are, AI, AO, DIO, and timing I/O. In addition to
the SFP instruments, NI ELVIS Traditional has a set of high-level LabVIEW functions, which
you can use to customize your display and experiments, to control the NI ELVIS workstation
from LabVIEW. Fig 1 shows the ELVIS DAQ system. It has the
following,
1. Breadboard
2. Analog Input (AI) and Programmable Functions Interface (PFI) s ignal rows
3. Digital Multimeter(DMM)/ Impedance Analyser
Analog Output (AO)
User Configurable Input/output
Function Generator
Power Supplies
4. User-Configurable Screw Terminals, BNC connectors and Banana jack
connectors
5. DC power supply indicators
6. Digital input/output signal rows
7. User-Configurable LEDs
8. Counter/Timer User-Configurable Input/output DC Power Supply
9. User-Configurable DSUB connector
NI LabVIEW software
LabVIEW, acronym for Laboratory Virtual Instrumentation Engineering Workbench, is a
system design platform and development environment for a visual programming language
form NI. LabVIEW is a dataflow-based language, which means that elements will be
executed in a somewhat arbitrary order. A virtual Instrument (VI) is a LabVIEW
programming element.
A VI consists of a front panel, block diagram, and an icon that represents the program. The
front panel isused to display controls and indicators for the user, while the block diagram
contains the code for the VI. The icon, which is a visual representation of the VI, has
connectors for the program inputs and outputs. The front panel of a VI handles the functions
inputs and outputs, and the code diagram performs the work of the VI. User interface
elements such as graphs are drag-and-drop easy in LabVIEW. LabVIEW relies on graphical
symbols rather than textual language to describe programming actions. The principle of
dataflow, in which functions execute only after receiving the necessary data, governs
execution in a straightforward manner. LabVIEW programs are called Vis because their
appearance and operations imitate actual instruments. However, they are analogous to main
programs, functions and subroutines from popular language like C.
It is developed for modular programming. Small amount of code can be used in large
codes. It is better than MATLAB for controlling and interfaces between hardware. NI has
many pieces of hardware that are easily compatible with LabVIEW, but also can be
connected to any hardware. Simpler system integration for all types of hardware and their
corresponding software. Easy to create the user-interface at the same time.
The L293D motor driver is available for providing User with ease and user friendly
interfacing for embedded application. L293D motor driver is mounted on a good quality,
single sided non-PTH PCB. The pins of L293D motor driver IC are connected to connectors
for easy access to the driver IC’s pin functions. The L293D is a Dual Full Bridge driver that
can drive up to 1Amp per bridge with supply voltage up to 24V. It can drive two DC motors,
relays, solenoids, etc. The device is TTL compatible. Two H bridges of L293D can be
connected in parallel to increase its current capacity to 2 Amp.
Features:
Easily compatible with any of the system
1. Easy interfacing through FRC (Flat Ribbon Cable)
2. External Power supply pin for Motors supported
3. On-board PWM (Pulse Width Modulation) selection switch
4. 2pin Terminal Block (Phoenix Connectors) for easy Motors connection
5. On-board H-Bridge base Motor Driver IC (L293D)
Technical Specification:
3. Power Supply : Over FRC connector 5V DC
4. External Power : 9V to 24V DC
5. Dimensional Size : 44mm x 37mm x 14mm (l x b x h)
4. Temperature Range : 0°C to +70 °C
The driver IC L293D is quad push-pull drivers capable of delivering output currents to 1A
per channel respectively. Each channel is controlled by a TTLcompatible logic input and each
pair of drivers (a full bridge) is equipped with an inhibit input available at pin 1 and pin 9.
The motor will run only when chip inhibit is at high logic i.e. chip inhibit is enabled.
LPG Gas Sensor Module is designed to detect the presence of a dangerous LPG leak in
your Home, car or in a service station, storage tank environment by interfacing with
Microcontroller without ADC Channels and programming. In this version of LPG Gas sensor
module two pots are included, one for trigger level setting and the other for setting sensitivity
of the sensor. It allows to determine when a preset LPG gas level has been reached or
exceeded. The module uses MQ-6 sensor to sense LPG leak. The MQ-6 can detect gas
concentrations anywhere from 200 to 10000 ppm.
Interfacing with the sensor module is done through a 4-pin breadboard compatible SIP
header and requires One I/O pin from the host microcontroller. The onboard microcontroller
provide initial heating interval after power-up and then starts to measure LPG sensor output.If
it found the LPG concentration above preset value , it will inform the Host controller by
pulling the Output Pin to High and Starts to blink a onboard status LED. The sensor module
is mainly intended to provide a means of comparing LPG sources and being able to set an
alarm limit when the source becomes excessive.
Features:
There are two potentiometers used in Gas Sensor Module . they are as follows:
←
POT P1: The on-board POT P1 is used to set tolerance voltage for detecting the
LPG presence. When LPG is detected, the OUT pin will be high. This will occurs
when the output voltage is greater than the tolerance level set, using the POT P1.
←
POT P2: The on-board POT P2 is used to set the sensitivity of the Gas sensor. We
recommend you to calibrate the detector for 1000ppm of LPG concentration in air
and use value of POT P2 about 20KΩ.
There are two leds in Gas Sensor Module . They are:
←
D1: PWR Led. This Green Led indicates the Power input.
←
D2: STS Led.The red status Led (STS) indicates the various status of LPG Sensor
module eg. Power on, initialization & LPG detection. When the sensor is powered
up, the STS led will blink twice to indicate the module is functional. There after
STS Led will blinks every second till the module is getting ready ( Heating Zone) .
After the sensor is initialized, the module will enter in to the ARM mode and ready
to detect the gas concentration , during this period the STS led will blink in step of 3
seconds. When LPG is detected, the STS led will blink fast till the level goes below
the set threshold.
LM35 TEMPERATURE SENSOR:
MQ6 gas sensor measures the gas depending on the concentration of the gas deposited on
gas sensor voltage is given as output. If the voltage is less than 1 green led glows and voltage
output of gas sensor is greater than 1 then red led glows.
VI BLOCK DIAGRAM:
VI FRONT PANNEL:
Observation:
The engine is observed to rotate at the desired speed depending on the the
temperature.
Apart from the automated speed control, project also provides facility to
indicate the liquid levels as well as pollution levels of the vehicle.
Conclusion:
Engine speed is controlled successfully based on the temperature. Also, some
sort of control is given to the user by indicating pollution levels as well as fuel
level. The soft front panel displays all the necessary data in convenient form to
the user. !
References:
5.http://www.ti.com/lit/ds/symlink/l293d.pdf
https://www.clemson.edu/ces/departments/ece/document_resource/undergr
ad/lab_manuman/NI_ELIVS_II_Orientation_Manual.pdf
6. http://www.ni.com/white-paper/3711/en/