Professional Documents
Culture Documents
Major Project Documentation Final1
Major Project Documentation Final1
Major Project Documentation Final1
BACHELOR OF TECHNOLOGY
In
ELECTRONICS AND COMMUNICATION ENGINEERING
Submitted by
CERTIFICATE
7. RESULT 32
8. CONCLUSION 37
9. FUTURESCOPE 38
10. REFERENCE 39
i
ABSTRACT
This project is an innovative electronic toll gate system that provides the ultimate solution
for collecting the tax on highway roads. This enables the drivers to be charged for the
travel on the highways, while simplifying the monitoring and collection of toll fees. This
powerful smart card functions as an in tax collecting meter, eliminating the need to search
for coins when passing at the toll gates. This project also provides an efficient alternative to
coin-operated meters and pay and display ticketing systems. Simple and cost-effective to
implement, this project operates as a stand-alone system or alongside traditional toll gate
systems to eliminate fraud and reduce cash handling.x
ii
LIST OF FIGURES
FIG.NO FIGURE NAME PAGE NO
6-1 : Mixed level modelling 24
iii
iv
CHAPTER – 1
INTRODUCTION
Smart cards have been around for a while now and it has been mainly
used to store some kind of monetary value. Currently smart cards can be seen
in the transportation, telecommunication and retail sectors. This project aims
to design a toll gate system chip using smart card technology that can be
usable in collecting the toll tax without any human involvement. The smart
card will be used as means for identification, security and cash.
The person, who drives on the highway roads, should purchase the toll
passes so as to gain the access to travel on the highway roads. This card
contains the amount for the toll tax. The smart card readers will be fixed
everywhere to the toll gates. If a person wants to travel on the highway road,
1
he has to insert his smart card into the reader before entering the highway
road. The reader reads the card and passes the data to the microcontroller.
The controller calculates the toll tax and automatically deducts this amount
from the driver smart card. If the balance is low in the card, a buzzer alert
will be indicated and the user has to recharge the card for the toll tax
payments. The amount of balance deducted will be visualized on LCD display.
After the amount has been deducted from the user smart card, the
system allows the user to travel on the highway road by opening the gate. The
operation of the gate is controlled by rotating the stepper motor fixed to the
gate. The gate will be closed automatically after a small delay
INTRODUCTION TO VLSI
Very-large-scale integration (VLSI) is the process of creating integrated
circuits by combining thousands of transistor-based circuits into a single
chip. VLSI began in the 1970s when complex semiconductor and
communication technologies were being developed. The microprocessor is a
VLSI device. The term is no longer as common as it once was, as chips have
increased in complexity into the hundreds of millions of transistors.
OVERVIEW :
The first semiconductor chips held one transistor each. Subsequent advances
added more and more transistors, and, as a consequence, more individual
functions or systems were integrated over time. The first integrated circuits
held only a few devices, perhaps as many as ten diodes, transistors, resistors
and capacitors, making it possible to fabricate one or more logic gates on a
single device. Now known retrospectively as "small-scale integration" (SSI),
improvements in technique led to devices with hundreds of logic gates, known
as large-scale integration (LSI), i.e. systems with at least a thousand logic
gates. Current technology has moved far past this mark and today's
microprocessors have many millions of gates and hundreds of millions of
individual transistors.
2
At one time, there was an effort to name and calibrate various
levels of large-scale integration above VLSI. Terms like Ultra-large-scale
Integration (ULSI) were used. But the huge number of gates and transistors
available on common devices has rendered such fine distinctions moot. Terms
suggesting greater than VLSI levels of integration are no longer in widespread
use. Even VLSI is now somewhat quaint, given the common assumption that
all microprocessors are VLSI or better.
WHAT IS VLSI ?
VLSI stands for "Very Large Scale Integration". This is the field
which involves packing more and more logic devices into smaller and smaller
areas.
VLSI
3
Integrated circuit (IC) may contain millions of transistors, each a few
mm in size
4
components have smaller parasitic resistances, capacitances,
and inductances.
5
though the individual ICs cost more than the standard parts
they replace.
Applications
Electronic system in cars.
Digital electronics control VCRs
Transaction processing system, ATM
Personal computers and Workstations
Medical electronic systems
Applications of VLSI
6
both central processing units (CPUs) and special-purpose
hardware for disk access, faster screen display, etc.
7
CHAPTER – 2
LITERATURE REVIEW
8
CHAPTER – 3
9
CHAPTER – 4
EXISTING SYSTEM
There are two methods of collecting tax presently used they are First is the
traditional manual method where one person collects money and issues a
receipt. The other one is the Smart Card method where the person needs to
show the smart card to the system installed at the toll tax department to
open the Gate.
So before the 90’s decade the toll plazas were fully manual controlled.
Means there are total four people for operating the Toll gate in this two
people will be used for opening & closing of the gate & another two are for
reception of the money & data keeping etc. Semi Automatic Toll plazas were
launched after the introduction of Express ways in 1995, in which data is
stored in computers and gate operation is automatic, only two personals are
required for single booth. But here we are going to see the human less toll
plaza. Active wave Inc has currently deployed a system of active tag vehicle
monitoring solution. Active wave vehicle products have a range of 30 meters
and operate in the 916 – 927 MHz for the transmit operations and 433 MHz
for the receive link. Active wave products are currently equipped with 256
Kbits of fixed memory. The tag is powered with a replaceable 3V batteryand
10
the total weight is 14 grams. Elementary signals are shown with the help of
blinking LEDs and beeping sounds. Smart key Access Control Systems have
a client – server model based system with an SQL server handling multiple
vehicle monitoring systems. They have designed a user interface using the
Microsoft .NET Framework. Smart key also operate in the 900MHz band but
have a small range of 30 meters. RFID based toll collection system uses
active RFID tag which uses car battery power. The implementation is divided
into the design of two modules- the Vehicle Module (Active Tag) and the
Base Module. The two modules communicate via RF modem connected to
each module.
11
CHAPTER – 5
PROPOSED SYSTEM
5.1 Smart Card Technology:
A Smart Card is a plastic card the size of a credit card with an integrated
circuit built into it. This integrated circuit may consist only of EEPROM in the
case of a memory card, or it may also contain ROM, RAM and even a CPU.
A smart card, a type of chip card is a plastic card embedded with a computer
chip that stores and transacts data between users. This data is associated
with either value or information or both and is stored and processed within
the card's chip, either a memory or microprocessor. The card data is
transacted via a reader that is part of a computing system. Smart card-
enhanced systems are in use today throughout several key applications,
including healthcare, banking, entertainment and transportation. To various
degrees, all applications can benefit from the added features and security that
smart cards provide.
Smart cards are portable data cards that must communicate with another
device to gain access to a display device or a network. Cards can be plugged
into a reader, commonly referred to as a card terminal, or they can operate
using radio frequencies (RF).
When the smart card and the card reader come into contact, each identifies
itself to the other by sending and receiving information. If the messages
exchanged do not match, no further processing takes place. So, unlike
ordinary bank cards, smart cards can defend themselves against
12
unauthorized users and uses in innovative security measures.
13
Smart card readers:
Smart Card Readers are also known as card programmers (because they can
write to a card), card terminals, card acceptance device (CAD) or an interface
device (IFD). There is a slight difference between the card reader and the
terminal. The term 'reader' is generally used to describe a unit that interfaces
with a PC for the majority of its processing requirements. In contrast, a
'terminal' is a self-contained processing device.
Smart cards are portable data cards that must communicate with another
device to gain access to a display device or a network. Cards can be plugged
into a reader, commonly referred to as a card terminal, or they can operate
using radio frequencies (RF).
When the smart card and the card reader come into contact, each
identifies itself to the other by sending and receiving information. If the
messages exchanged do not match, no further processing takes place. So,
unlike ordinary bank cards, smart cards can defend themselves against
unauthorized users and uses in innovative security measures.
Communicating with a Smart Card Reader
The reader provides a path for the application to send and receive commands
from the card. There are many types of readers available, such as serial, PC
Card, and standard keyboard models.
14
Each manufacturer provides a different protocol for communication with the
reader.
First you have to communicate with the reader.
Second, the reader communicates with the card, acting as the
intermediary before sending the data to the card.
Third, communication with a smart card is based on the APDU format.
The card will process the data and return it to the reader, which will
then return the data to its originating source.
The following classes are used for communicating with the reader:
15
Another difference in reader types is on-board intelligence and capabilities.
An extensive price and performance difference exists between an industrial
strength reader that supports a wide variety of card protocols and the less
expensive win-card reader that only works with microprocessor cards and
performs all processing of the data in the PC.
To process a smart card, the computer has to be equipped with a smart card
reader possessing the following mandatory features:
1. Smart Card Interface Standard - ISO 7816 is an international standard
that describes the interface requirements for contact-type smart cards.
These standards have multiple parts. For instance, part 1, 2 and 3 are
applicable to card readers. Part 1 defines the physical characteristics of
the card. Part 2 defines dimension and location of smart card chip
contacts. Part 3 defines the electronic signals and transmission
protocols of the card. Card readers may be referred to as conforming to
ISO 7816 1/2/3, or in its simplified term, ISO 7816.
2. Driver - This refers to the software used by the operating system (OS)
of a PC for managing a smart card and applicable card reader. To read
a smart ID card, the driver of the card reader must be PC/SC compliant
which is supported by most card reader products currently available. It
should be noted that different OS would require different drivers. In
acquiring card readers, the compatibility between the driver and the OS
has to be determined and ensured.
16
Smart card readers are also used as smart card programmers to configure
and personalize integrated circuit cards. These programmers not only read
data, but also put data into the card memory. This means that not only CPU
based smart cards, but also simple memory cards can be programmed using
a smart card reader. Of course the card reader must support the appropriate
protocol such as the asynchronous T=0, T=1 or synchronous I2C protocols.
17
Contact Cards
This is the most common type of smart card. The electrical contacts, located
on the outside of the card, connect to a card reader when the card is inserted.
In this project, we are using a contact smart card where the information inside
the card is communicated with the card reader by inserting the card into the
reader.
The below figure defines the pinout of the smart card. This comprises of gold
plated contact pads which makes contact with the reader.
18
to a fixed address on the card. There are three primary types of memory cards:
1) Straight, 2) Protected and 3) Stored Value.
1. Straight Memory Cards
These cards just store data and have no data processing capabilities. These
cards are the lowest cost per bit for user memory. They should be regarded
as floppy disks of varying sizes without the lock mechanism. These cards
cannot identify themselves to the reader, so the host system has to know what
type of card is being inserted into a reader. These cards are easily duplicated
and cannot be tracked by on-card identifiers.
2. Protected / Segmented Memory Cards
These cards have built-in logic to control the access to the memory of the
card. These devices can be set to write protect some or the entire memory
array and thus sometimes referred to as Intelligent Memory cards. Some of
these cards can be configured to restrict access to both reading and writing.
This is usually done through a password or system key. Segmented memory
cards can be divided into logical sections for planned multi-functionality.
These cards are not easily duplicated but can possibly be impersonated by
hackers. They typically can be tracked by an on-card identifier.
3. Stored Value Memory Cards
These cards are designed for the specific purpose of storing value or tokens.
The cards are either disposable or rechargeable. Most cards of this type
incorporate permanent security measures at the point of manufacture. These
measures can include password keys and logic that are hard-coded into the
chip by the manufacturer. The memory arrays on these devices are set up as
decrements or counters. There is little or no memory left for any other
function. For simple applications such as a telephone card, the chip has 60
or 12 memory cells, one for each telephone unit. A memory cell is cleared each
time a telephone unit is used. Once all the memory units are used, the card
becomes useless and is thrown away. This process can be reversed in the case
of rechargeable cards.
CPU/MPU Microprocessor Multifunction Cards
These cards have on-card dynamic data processing capabilities. Multifunction
smart cards allocate card memory into independent sections or files assigned
to a specific function or application. Within the card, a microprocessor or
19
microcontroller chip is present that manages this memory allocation and file
access. This type of chip is similar to those found inside all personal
computers and when implanted in a smart card, manages data in organized
file structures, via a card operating system (COS). Unlike other operating
systems, this software controls access to the on-card user memory.
Contactless Cards
These are smart cards that employ a radio frequency (RFID) between
card and reader without physical insertion of the card. Instead the card is
passed along the exterior of the reader and read. Types include proximity
cards which are implemented as a read-only technology for building access.
These cards function with a limited memory and communicate at 125 MHz.
True read & write contactless cards were first used in transportation for quick
decrementing and re-loading of fare values where their lower security was not
an issue. They communicate at 13.56 MHz, and conform to the ISO14443
standard. These cards are often straight memory types. They are also gaining
20
popularity in retail stored value, since they can speed-up transactions and
not lower transaction processing revenues (i.e. VISA and MasterCard), like
traditional smart cards.
WORKING PROCEDURE:
The Project Toll gate control is an exclusive project that enables the user to
pay the toll gate bill.The working of this project starts when the user tries to
cross the toll gate. The tollgate is closed automatically, when traveller comes
towards gate. There is lcd display like “PLEASE PAY THE TOLL GATE TAX”.
The traveller insert the smart card in the smart card reader. The value of toll
tax will be decremented from the total amount in the smart card.
The microcontroller first checks the balance in the smart card whenever the
card is inserted. If the balance is less than the toll tax, the microcontroller
detects this and sends a signal to the LCD to display a message as “Invalid
Card” on the LCD display and the card will not be accepted. If thebalance is
greater than or equal to the toll gate tax, then this card is accepted
Advantages
Cost effective
21
CHAPTER – 6
INTRODUCTION TO VERILOG
Verilog HDL is a hardware description language that can be used to model a
digital system at many levels of abstraction ranging from the algorithmic-level
to the gate-level to the switch-level. The complexity of the digital system being
modeled could vary from that of a simple gate to a complete electronic digital
system, or anything in between. The digital system can be described
hierarchically and timing can be explicitly modeled within the same
description.
The language not only defines the syntax but also defines very clear
simulation semantics for each language construct. Therefore, models written
in this language can be verified using a Verilog simulator. The language
inherits many of its operator symbols and constructs from the C
programming language. Verilog HDL provides an extensive range of modeling
capabilities, some of which are quite difficult to comprehend initially.
However, a core subset of the language is quite easy to leam and use. This is
sufficient to model most applications.
22
6.1 History:
Primitive logic gates, such as and, or and nand, are built-in into the
language.
Flexibility of creating a user-defined primitive (UDP). Such a primitive
could either be a combinational logic primitive or a sequential logic
primitive.
Switch-level modeling primitive gates, such as pmos and nmos, are also
built-in into the language.
Explicit language constructs are provided for specifying pin-to-pin
delays, path delays and timing checks of a design.
A design can be modeled in three different styles or in a mixed style.
These styles are: behavioral style - modeled using procedur-al
constructs; dataflow style - modeled using continuous assign-ments;
and structural style - modeled using gate and module instantiations.
There are two data types in Verilog HDL; the net data type and the
register data type. The net type represents a physical connection
23
between structural elements while a register type represents an
abstract data storage element.
Figure.6-1 shows the mixed-level modeling capability of Verilog HDL,
that is, in one design, each module may be modeled at a different level.
Verilog HDL also has built-in logic functions such as & (bitwise-and)
and I (bitwise-or).
24
6.3 SYNTHESIS:
Having produced a gate level netlist, a logic optimizer reads in the netlist and
optimizes the circuit for the user-specified area and timing constraints. These
area and timing constraints may also be used by the module builder for
appropriate selection or generation of RTL blocks. In this book, we assume
that the target netlist is at the gate level. The logic gates used in the
synthesized netlists are described in Appendix B. The module building and
logic optimization phases are not described in this book.
25
The above figure shows the basic elements ofVerilog HDL and the
elements used in hardware. A mapping mechanism or a construction
mechanism has to be provided that translates the Verilog HDL elements into
their corresponding hardware elements as shown in figure.6-3
26
CODE:
output reg[1:0]light );
parameter vehicle
=4'd0,scancard1=4'd1,scancard2=4'd2,enter_amount=4'd3,invalid=4'd4,tran
saction_failed=4'd5,
way1=4'd6,way2=4'd7,transaction_complete=4'd8;
parameter amt1=16'd25,amt2=16'd40;
reg [3:0]next_state;
begin
if(rst) begin
next_state<=vehicle;
27
light<=red;
gate<=1'd1;
alaram<=1'd0;
end
else
case (next_state)
begin
next_state<=way1;
light<=red;
gate<=1'd1;
alaram<=1'd0;
end
begin
next_state<=way2;
light<=red;
gate<=1'd1;
alaram<=1'd0;
end
else
next_state<=vehicle;
28
way1:if (insertcard==1'd1)
next_state<=scancard1;
else
next_state<=way1;
scancard1:
begin
begin
balance<=balance-amt1;
next_state<=transaction_complete;
end
else
begin
next_state<=invalid;
end
end
//2way
way2:if (insertcard==1'd1)
next_state<=scancard2;
else
next_state<=way2;
29
scancard2:begin
begin
balance<=balance-amt2;
next_state<=transaction_complete;
end
else
next_state<=invalid;
end
invalid:
begin
next_state<=transaction_failed;
end
transaction_complete:
begin
next_state<=vehicle;
light<=green;
gate<=1'd0;
alaram<=1'd0;
end
30
transaction_failed:
begin
next_state<=vehicle;
light<=red;
gate<=1'd1;
alaram<=1'd1;
end
endcase
end
endmodule
SOFTWARE REQUIRED:
Xilinx
31
CHAPTER – 7
RESULT
32
FIG: RTL SCHEMATIC
33
• FIG: VIEW TECHNOLOGY SCHEMATIC
34
FIG: 1 WAY SIMULATION
35
FIG: 2 WAY SIMULATION
36
CHAPTER – 8
CONCLUSION
• The Electronic Toll collection system is a design scheme. It is low cost,
high security, far communication and efficiency, etc.
37
CHAPTER – 9
FUTURE SCOPE
1. Automatic Vehicle Identification: The automatic vehicle identification
(AVI) component of this system refers to the technologies that
determine the identification or ownership of the vehicle so that the toll
will be charged to the corresponding customer.
38
CHAPTER – 10
REFERENCE
Edward B. Panganiban, Jennifer C. Dela Cruz, “RFID-Based Vehicle
Monitoring System”,School of EECE, Mapua University, IEEE 2017.
[8] Persad, Khali, C. Michael Walton, and Shahriyar Hussain. Toll Collection
Technology and Best Practices. No. Product 0-5217-P1. 2007.
[9] Li, Shuguang, et al. "Video-based traffic data collection system for
multiple vehicle types." IET Intelligent Transport Systems 8.2 (2013): 164-
174
39