Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Vehicle security system has been a topic of great interest over the years
due to the increasing vehicle theft cases reported all over the world. Most of the
advanced vehicle security systems best suit the four wheelers. As of the
security system for two wheelers is concerned, the systems available in market
are of no match to the well equipped thieves. When under attack, these systems
can only immobilize the engine. It is a serious limitation. In this paper we
propose a reliable and robust design of Two Wheeler Vehicle Security System
(TWVSS) with features enhancing the security of the vehicle and ensuring the
safety of the rider. In our proposed security system various new features are
included in addition to the engine immobilizer and alarm. Redundancy is
maintained to make the system reliable even in the worst case scenario, but due
to cost constraints a tradeoff between cost and redundancy was necessary. Our
system is designed to be compatible with almost all the brands of vehicle.
INTRODUCTION
LITERATURE SURVEY
LITERATURE SURVEY – 1
LITERATURE SURVEY - 2
The purpose of this anti theft wheel locking system project is to hinder
the theft of bikes with the help of wheel locking system. To lock the front
wheel of the bike solenoid switches are used as the main tool. The linear
motions of the path are monitors and controlled by the Solenoid device. The to
and fro motion are controlled by a plunger which is connected by a battery
power supply device. Drum brakes system function enables with the brake
lever. When the ignition key is kept in off stage the drum brake activate
function. The problem is to manage the solenoid action when the programmed
the ignitions key in OFF condition or in idle states. If the mobile is theft by the
unknown person then the micro controller should perform an action by
analyzing front wheel motion gets activate the solenoid action. The solenoid
switch consist of power voltage 12v and current of 5amps .The battery consists
of voltage 12v and current of 7amps.
A car has three braking system – the accelerator,[1] the gears and the
brakes themselves.[2] A controlled, well anticipated and unhurried act of
slowing down or stopping will involve the use of all the three. With proper
observation of the road and traffic ahead,[3] a driver can see the need for a
reduction in speed long before, he has to control the vehicle by applying the
brakes. [4]
LITERATURE SURVEY – 3
Wheel locking occurs the friction between the shoes and brake drum
exceeds the friction between the tyre and road surface. Frictional force is
essential for gripping the tyres on the road surface. The brakes will stop the car
more quickly when they are not locked and also the wear and Lear on the tyres
are greatly reduced. Maximum braking effort obtainable is greater with low
pressure than with high pressure tyres as the former hold the road better. The
chief objection to locking of the rear wheels is that it is almost certain to throw
the car into a skid. The advantages of four wheels over two wheel brakes are
that the former materially reduces the skidding tendency of a car. When there
are brakes on two wheels only it takes only about one half of the pedal pressure
to lock them. On greasy roads even a slight applications is likely to lock a pair
of rear wheel brakes unless the engine is in gear and once the wheels are locked
they will slide easily sideways as forward. All that is necessary to start a skid is
that the centre line of resistances encountered by the front wheels does not pass
through the centre of gravity of a car or of a car or if one front wheel
encounters greater resistance than the other locking the front wheels will not
produce a rear wheel skid.
The function of a vehicle brake is to stop down slowly it by when
moving or to prevent it from moving when it is stationary.[9-11] A brake works
by causing by the friction between a non rotating part of the car and a disk or
drum which turns on a road wheel. The force produced by the Friction slows
down the car and convert the energy of the moving vehicle into heat energy,
which disperses into the air around the brakes. The pressing force
simultaneously produces the relative motion when the natures of surfaces are in
contact. Within certain limits the retarding force due to brakes application is
proportional to the pressure with which the bands or shoes are applies to the
drums and to the coefficient of friction between lining and drum. [12-18]
However when the force of application reaches a certain value. The brakes lock
and the road wheels slide over the pavement, hence any further increase in the
force of application has no effect.
BLOCK DIAGRAM
WORKING EXPLANATION
This system uses a four bar mechanism, that follows a coupler curve. It
has a greater advantage than the existing system of transport of work piece in a
factory. The materials are transferred from one work station to another at a
specific time interval, which is based on the movement of the linkages. In a
continuous assembly factory, there is a need to transfer materials or on process
jobs form one working station to the other. In this process, the movement of job
from one station to another is accomplished by a belt conveyor system. System
uses an electric drive which is continuous. So the operator does not get
sufficient time to complete the operation. Thus the jobs are usually picked and
placed on to the work station and the job is processed. This is a tiring and a
time consuming job. Also for heavy materials, a separate setup is required for
the pick and place operation. This project proposes the model of at imbed
transport mechanism. This system uses kinematic linkages for timing the
transportation. It uses a four bar mechanism, that follows a coupler curve. It has
a greater advantage than the existing system of transport of work piece in a
factory. Four bar chain is a mechanism of four bar linkage. Links consists of
four bodies called bars of linkages connected in a loop by four joints. The
simplest movable link closed to the chain linkage. All the joints are configured
so that the links are move in parallel planes, and the assembly is so called a
planar four-bar linkage. All the four Linkages with axis angled are to
interconnect at a station point are hinged on a concentric point. So that the links
move on concentric spheres of the assembly is called a spherical four-bar
linkage
SOFTWARE REQUIREMENT:
EMBEDDED ‘C’
CODE VISION AVR
HARDWARE REQUIREMENT:
Microcontroller
Crystal
Resistors
Capacitors
Diodes
Regulator
Transistors
L293D
DC Motor
Key –Proximate Sensor
ADVANTAGES:
While the input voltage may vary over some permissible voltage range,
and the output load may vary over some acceptable range, the output voltage
remains constant within specified voltage variation limits. These limitations are
spelled out in the manufacturer’s specification sheets.
A regulator circuit removes the ripples and also remains the same DC value
even if the input DC voltage varies, or the load connected to the output DC
voltage changes. This voltage regulation is usually obtained using one of the
popular voltage regulator IC units.
The potential transformer will step down the power supply voltage (0-
230V) to (0-6V) level. Then the secondary of the potential transformer will be
connected to the precision rectifier, which is constructed with the help of op–
amp. The advantages of using a precision rectifier are it will give a peak
voltage output as DC, the rest of the circuits will give only RMS output.
BRIDGE RECTIFIER
When four diodes are connected as shown in the figure, the circuit is
called as a bridge rectifier. The input to the circuit is applied to the diagonally
opposite corners of the network, and the output is taken from the remaining two
corners.
This path is indicated by the solid arrows. Waveforms (1) and (2) can be
observed across D1 and D3.One-half cycle later the polarity across the
secondary of the transformer reverse, forward biasing D2 and D4 and reverse
biasing D1 and D3.
The current flow will now be from point A through D4, up through RL,
through D2, through the secondary of T1, and back to point A. This path is
indicated by the broken arrows. Waveforms (3) and (4) can be observed across
D2 and D4. The current flow through RL is always in the same direction. In
flowing through RL this current develops a voltage corresponding to that
shown waveform (5). Since current flows through the load (RL) during both
half cycles of the applied voltage, this bridge rectifier is a full-wave rectifier.
Since only one diode can conduct at any instant, the maximum voltage
that can be rectified at any instant is 500 volts.. In the bridge rectifier shown in
view B, the maximum voltage that can be rectified is the full secondary voltage,
which is 1000 volts. Therefore, the peak output voltage across the load resistor
is nearly 1000 volts. With both circuits using the same transformer, the bridge
rectifier circuit produces a higher output voltage than the conventional full-
wave rectifier circuit.
IC VOLTAGE REGULATORS
The regulators can be selected for operation with load currents from
hundreds of Milli amperes to tens of amperes, corresponding to power ratings
from milliwatts to tens of watts. A fixed three-terminal voltage regulator has an
unregulated DC input voltage, VI, applied to one input terminal, a regulated DC
output voltage, Vo, from a second terminal, with the third terminal connected to
ground. The series 78 regulators provide fixed positive regulated voltages from
5 to 24 volts. Similarly, the series 79 regulators provide fixed negative
regulated voltages from 5 to 24 volts.
3.2 DC MOTOR
INTRODUCTION
CONSTRUCTION
DC motors consist of one set of coils, called armature winding, inside another
set of coils or a set of permanent magnets, called the stator. Applying a voltage
to the coils produces a torque in the armature, resultingin motion.
STATOR
ROTOR
Both stator and rotor are made of ferromagnetic materials. The two are
separated by air-gap.
WINDING
A winding is made up of series or parallel connection of the coils.
PRINCIPLE OF OPERATION
Consider a coil in a magnetic field of flux density B (figure 4). When the
two ends of the coil are connected across a DC voltage source, current I flow
through it. A force is exerted on the coil as a result of the interaction of
magnetic field and electric current. The force on the two sides of the coil is
such that the coil starts to move in the direction of force.
In an actual DC motor, several such coils are wound on the rotor, all of
which experience force, resulting in rotation. The greater the current in the
wire, or the greater the magnetic field, the faster the wire moves because of the
greater force created.At the same time this torque is being produced, the
conductors are moving in a magnetic field. At different positions, the flux
linked with it changes, which causes an emf to be induced (e = d /dt) as shown
in figure 5. This voltage is in opposition to the voltage that causes current flow
through the conductor and is referred to as a counter-voltage or back emf.
The value of current flowing through the armature is dependent upon the
difference between the applied voltage and this counter-voltage. The current
due to this counter-voltage tends to oppose the very cause of its production
according to Lenz’s law. It results in the rotor slowing down. Eventually, the
rotor slows just enough so that the force created by the magnetic field. Equals
the load force applied to the shaft. Then the system moves at constant velocity.
ADVANTAGES OF DC MOTOR
STRUCTURE OF H-BRIDGE
CONSTRUCTION
The most efficient MOSFET designs use N-channel MOSFETs on both the
high side and low side because they typically have a third of the ON resistance
of P-channel MOSFETs. This requires a more complex design since the gates
of the high side MOSFETs must be driven positive with respect to the DC
supply rail. However, many integrated circuit MOSFET drivers include
a charge pump within the device to achieve this.
A common variation of this circuit uses just the two transistors on one side of
the load, similar to a class AB amplifier. Such a configuration is called a "half
bridge". The half bridge is used in some switched-mode power supplies that
use synchronous rectifiersand in switching amplifiers. The half-H bridge type is
commonly abbreviated to "Half-H" to distinguish it from full ("Full-H") H
bridges. Another common variation, adding a third 'leg' to the bridge, creates a
three-phase inverter. The three-phase inverter is the core of any AC motor
drive.
A further variation is the half-controlled bridge, where one of the high- and
low-side switching devices (on opposite sides of the bridge) are replaced with
diodes. This eliminates the shoot-through failure mode, and is commonly used
to drive variable/switched reluctance machines and actuators where bi-
directional current flow is not required.
A "double pole double throw" relay can generally achieve the same electrical
functionality as an H bridge (considering the usual function of the device). An
H bridge would be preferable to the relay where a smaller physical size, high
speed switching, or low driving voltage is needed, or where the wearing out of
mechanical parts is undesirable.
There are many commercially available inexpensive single and dual H-bridge
packages, and L293x series are the most common ones. Few packages have
built-in flyback diodes for back EMF protection.
OPERATION OF H-BRIDGE
S1 S2 S3 S4 Result
0 1 0 1 Motor brakes
1 0 1 0 Motor brakes
1 1 0 0 Shoot-through
0 0 1 1 Shoot-through
1 1 1 1 Shoot-through
SHEET METAL
It is metal formed by an industrial process into thin, flat pieces. It is one of the
fundamental forms used in metalworking and it can be cut and bent into a
variety of shapes. Countless everyday objects are constructed with sheet metal.
Thicknesses can vary significantly; extremely thin thicknesses are considered
foil or leaf, and pieces thicker than 6 mm (0.25 in) are considered plate.
Sheet metal is available in flat pieces or coiled strips. The coils are formed by
running a continuous sheet of metal through a roll slitter.
There are many different metals that can be made into sheet metal, such as
aluminum, brass, copper, steel, tin, nickel and titanium. For decorative uses,
important sheet metals include silver, gold, and platinum (platinum sheet metal
is also utilized as a catalyst.)
Sheet metal is used for car bodies, airplane wings, medical tables, roofs for
buildings (architecture) and many other applications. Sheet metal of iron and
other materials with high magnetic permeability, also known as laminated steel
cores, has applications in transformers and electric machines. Historically, an
important use of sheet metal was in plate armor worn by cavalry, and sheet
metal continues to have many decorative uses, including in horse tack. Sheet
metal workers are also known as "tin bashers" (or "tin knockers"), a name
derived from the hammering of panel seams when installing tin roofs.
CHAPTER 4
PIN DIAGRAM:
FEATURES:
DESCRIPTION:
The ATmega16 is a low-power CMOS 8-bit microcontroller based
on the AVR RISC architecture. By executing powerful instructions in a single
clock cycle, the ATmega16 achieves throughputs approaching 1 MIPS per
MHz, allowing the system designed to optimize power consumption versus
processing speed. The AVR core combines a rich instruction set with 32
general-purpose working registers. All the 32 registers are directly connected
to the Arithmetic Logic Unit (ALU), allowing two independent registers to be
accessed in one single instruction executed in one clock cycle. The resulting
architecture is more code efficient while achieving throughputs up to ten times
faster than conventional CISC microcontrollers.
The device is manufactured using Atmel’s high-density non-volatile
memory technology. The Flash Program memory can be reprogrammed In-
System through an SPI serial interface, by a conventional non-volatile memory
programmer, or by an On-chip boot program running on the AVR core. The
boot program can use any interface to download the application program in the
Application Flash memory. Software in the Boot Flash Section will continue to
run while the Application Flash Section is updated, providing true Read-While-
Write operation. By combining an 8-bit RISC CPU with In-System Self-
Programmable Flash on a monolithic chip, the Atmel ATmega16 is a powerful
microcontroller that provides a highly flexible and cost-effective solution to
many embedded control applications. The ATmega16 AVR is supported with a
full suite of program and system development tools, including C compilers,
macro assemblers, program debugger/simulators, In-Circuit Emulators, and
evaluation kits.
PIN DESCRIPTIONS:
VCC: Digital supply voltage.
GND
AVCC: AVCC is the supply voltage pin for the A/D Converter, Port C (3-0)
and ADC (7-6). It should be externally connected to VCC, even if the ADC is
not used.
If the ADC is used, it should be connected to VCC through a low-pass filter.
Note that Port C (5-4) use digital supply voltage, VCC.
AREF: AREF is the analog reference pin for the A/D Converter.
Port B: (PB7 – PB0)
Port B is an 8-bit bi-directional I/O port with internal pull-up resistors
(selected for each bit). The Port B output buffers have symmetrical drive
characteristics with both high sink and source capability.
As inputs, Port B pins that are externally pulled low will source current if
the pull-up resistors are activated. The Port B pins are tri-stated when a reset
condition becomes active, even if the clock is not running.
As inputs, Port C pins that are externally pulled low will source current if
the pull-up resistors are activated. The Port C pins are tri-stated when a reset
condition becomes active, even if the clock is not running.
Port D: (PD7- PD0)
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors
(selected for each bit). The Port D output buffers have symmetrical drive
characteristics with both high sink and source capability.
As inputs, Port D pins that are externally pulled low will source current if
the pull-up resistors are activated. The Port D pins are tri-stated when a reset
condition becomes active even if the clock is not running.
PC6/RESET:
If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note
that the electrical characteristics of PC6 differ from those of the other pins of
Port C PC6 is used as a Reset input.
RESET (Reset input). A low level on this pin for longer than the minimum
pulse length will generate a reset, even if the clock is not running.
AVR CPU CORE:
Introduction:
This section discusses the AVR core architecture in general. The main
function of the CPU core is to ensure correct program execution. The CPU
must therefore be able to access memories, perform calculations, control
peripherals, and handle interrupts.
The Global Interrupt Enable bit must be set for the interrupts to be
enabled. The individual interrupt enable control is then performed in separate
control registers. If the Global Interrupt Enable Register is cleared, none of the
interrupts are enabled independent of the individual interrupt enable settings.
The I-bit is cleared by hardware after an interrupt has occurred, and is set by
the RETI instruction to enable subsequent interrupts. The I-bit can also be set
and cleared by the application with the SEI and CLI instructions, as described
in the Instruction Set Reference.
DATA MEMORY:
The lower 1120 Data memory locations address the Register File, the I/O
Memory, and the internal data SRAM. The first 96 locations address the
Register File and I/O Memory, and the next 1024 locations address the internal
data SRAM. The five different addressing modes for the Data memory cover:
Direct, Indirect with Displacement, Indirect, Indirect with Pre-decrement, and
Indirect with Post-increment. In the Register File, registers R26 to R31 feature
the indirect addressing pointer registers.
EEPROM Data Memory:
The ATmega16 contains 512 bytes of data EEPROM memory. It is
organized as a separate data space, in which single bytes can be read and
written. The EEPROM has an endurance of at least 100,000 write/erase cycles.
The access between the EEPROM and the CPU is described below, specifying
the EEPROM Address Registers, the EEPROM Data Register, and the
EEPROM Control Register.
EEPROM Read/Write Access:
The EEPROM Access Registers are accessible in the I/O space.
I/O Memory:
The I/O space definition of the ATmega16 is shown in figure. All
ATmega16 I/Os and peripherals are placed in the I/O space. The I/O locations
are accessed by the IN and OUT instructions, transferring data between the 32
general-purpose working registers and the I/O space. I/O Registers within the
address range 0x00 - 0x1F are directly bit-accessible using the SBI and CBI
instructions. In these registers, the value of single bits can be checked by using
the SBIS and SBIC instructions. Refer to the instruction set section for more
details.
When using the I/O specific commands IN and OUT, the I/O addresses
0x00 - 0x3F must be used. When addressing I/O Registers as data space using
LD and ST instructions, 0x20 must be added to these addresses. For
compatibility with future devices, reserved bits should be written to zero if
accessed. The following figure is the vbat voltage ripple wave at the maximum
power transmit phase, the test condition is vbat=4.0v, vbat maximum output
current =2a, ca=100 μf tantalum capacitor (esr=0.7ω) and cb=4.7μf.
Power supply pins on the board-to-board connector
Eight vbat pins of the board-to-board connector are dedicated to connect
the supply voltage; four ground pins are recommended for grounding. Backup
can be used to back up the RTC.
POWER DOWN
After this moment, no any at commands can be executed. Module enters
the power down mode, only the rtc is still active. Power down can also be
indicated by vdd_ext pin, which is a low level voltage in this mode.
TURN OFF SIM300 USING AT COMMAND
You can use an command “at+cpowd=1” to turn off the module. This
command will let the module to log off from the network and allow the
software to enter into a secure state and safe data before completely disconnect
the power supply.
POWER DOWN
After this moment, no any at commands can be executed. Module enters
the power down mode, only the rtc is still active. Power down can also be
indicated by vdd_ext pin, which is a low level voltage in this mode.
UNDER-VOLTAGE AUTOMATIC SHUTDOWN
Software will constantly monitors the voltage applied on the vbat, if the
measured battery voltage is no more than 3.5v, the following urc will be
presented:
POWER SAVING
There are two methods to achieve sim300 module extreme low power.
“at+cfun” is used to set module into minimum functionality mode and /dtr
hardware interface signal can be used to set system to be sleep mode (or slow
clocking mode).
MINIMUM FUNCTIONALITY MODE
Minimum functionality mode reduces the functionality of the module to
a minimum and, thus, minimizes the current consumption to the lowest level.
This mode is set with the “at+cfun” command which provides the choice of the
functionality levels <fun>=0 , 1 , 4 0: minimum functionality; 1: full
functionality (default); 4: disable phone both transmit and receive rf circuits; If
sim300 has been set to minimum functionality by “at+cfun=0”, then the rf
function and sim card function will be closed, in this case, the serial ports is
still accessible, but all at commands need rf function or sim card function will
not accessible. If sim300 has disable all rf function by “at+cfun=4”, then rf
function will be closed, the serial ports is still active in this case but all at
commands need rf function will not accessible. When sim300 is in minimum
functionality or has been disable all rf functionality by “at+cfun=4”, it can
return to full functionality by “at+cfun=1”.
Sleep Mode (Slow Clocking Mode)
Through dtr signal control sim300 module to enter or exit the sleep mode
in customer applications. When dtr is in high level, at the same time there is no
on air or audio activity is required and no hardware interrupt (such as gpio
interrupt or data on serial port), sim300 will enter sleep mode automatically. In
this mode, sim300 can still receive paging or sms from network. In sleep
mode, the serial port is not accessible.
Wake up sim300 from sleep mode
1. When sim300 is sleep mode, the following method can wake up the
module. Enable DTR pin to wake up sim300;
2. If dtr pin is pull down to a low level,this signal will wake up sim300
from power saving mode. The serial port will be active after dtr change
to low level about 20ms.
CHAPTER 5
SOFTWARE ANALYSIS
5.1 INTRODUCTION
The main purpose of using the microcontroller in our project is because
high-performance CMOS 8-bit microcontroller with 8K bytes of in-system
programmable Flash memory. By combining a versatile 8-bit CPU with in-
system programmable Flash on a monolithic chip, the ATMEGA 328 is a
powerful microcontroller which provides a highly-flexible and cost-effective
solution to many embedded control applications.
The programs of the microcontroller have been written in Embedded C
language and were compiled using ARDUINO , a compiler used for
microcontroller programming. The communication between PC and the
microcontroller was established MAX 232 standard and those programs were
also done in C language. The following programs are used at various stages for
the mentioned functions. Serial communication in this program, the various
special function registers of the microcontroller are set such that they can send
and receive data from the PC. This program uses the serial library to
communicate with the ports.
5.2 AVRCOMPILER
The C programming language is a general-purpose, programming
language that provides code efficiency, elements of structured programming,
and a rich set of operators. C is not a big language and is not designed for any
one particular area of application. Its generality combined with its absence of
restrictions, makes C a convenient and effective programming solution for a
wide variety of software tasks. Many applications can be solved more easily
and efficiently with C than with other more specialized languages.
The AVROptimizing C Compiler is a complete implementation of the
American National Standards Institute (ANSI) standard for the C language.
ARDUINO is not a universal C compiler adapted for the ATMEGA 328target.
It is a ground-up implementation dedicated to generating extremely fast and
compact code for the ATMEGA 328 microprocessor. ARDUINO provides you
the flexibility of programming in C and the code efficiency and speed of
assembly language. Since ARDUINO is a cross compiler, some aspects of the
C programming language and standard libraries are altered or enhanced to
address the peculiarities of an embedded target processor.
This explains how to use AVR or compile C source files and discusses
the control directives you may specify. These directives allow you to perform
several functions.
For example:
6.6EMBEDDED C
CONCLUSION
This fabricated part uses the model of a timed transport mechanism. This
system uses kinematic linkages for timing the transportation. four bar
mechanism, that follows a coupler curve. It has a greater advantage than the
existing system of transport of work piece in a factory. Thus the project
proposed a model where the materials are transported with a time delay. This
provides a huge advantage over the existing systems
Our proposed Two Wheeler Vehicle Security System is the advanced,
reliable and robust version of security mechanism for two wheeler vehicles.
The proposed security system also gives space, in terms of hardware and
software, to add up custom applications to make the product even more
userfriendly. Proposed TWVSS can be installed on two wheeler vehicle of any
class or company, thereby creating a huge market for the product. Stress was
laid in designing a cost efficient system so that it could also be even bought by
the owners of the low end bikes. Small size of the module allows it to be placed
under the seat of the vehicle, there by needing no physical changes to be done
to the vehicle. We believe the frequency of the two wheeler vehicle thefts that
are encountered these days could be highly suppressed by installing our
proposed security system.
REFERENCES
[1]. Arun Kumar N., Srinivasan V., Krishna Kumar P., Analysing the strength
of unidirectional fibre orientations under transverse static load,
International Journal of Applied Engineering Research, v-9, i-22, pp-
7749-7754, 2014.
[2]. Srinivasan V., Analysis of static and dynamic load on hydrostatic bearing
with variable viscosity and pressure, Indian Journal of Science and
Technology, v-6, i-SUPPL.6, pp-4777-4782, 2013.
[3]. Srinivasan V., Optimizing air traffic conflict and congestion using genetic
algorithm, Middle - East Journal of Scientific Research, v-20, i-4, pp-
456-461, 2014.
[5]. Raja Kumar G., Achudhan M., Srinivasa Rao G., Studies on corrosion
behaviour of borated stainless steel (304B) welds, International Journal
of Applied Engineering Research, v-9, i-22, pp-7767-7772, 2014.
[6]. Ganeshram V., Achudhan M., Design and moldflow analysis of piston
cooling nozzle in automobiles, Indian Journal of Science and
Technology, v-6, i-SUPPL.6, pp4808-4813, 2013.