Loop Detector Documentation PDF
Loop Detector Documentation PDF
Loop Detector Documentation PDF
Loop Detector
C O L P I T T S O S C I L L AT O R BA S E D LO O P D E T E C TO R
ABSTRACT:
An inductive loop consists of wire "coiled" to form a loop that usually is
a square, circle or rectangle shape that is installed into or under the surface
of the roadway.
Inductive loops work like a metal detector as they measure the change
in the field when objects pass over them. Once a vehicle drives over a loop
sensor the loop field changes which allows the detection device to detect the
presence of an object (mainly a vehicle).
Inductive loops are referred to as presence detectors and in traffic
detection are often used in combination with axle sensors to collect
classification data such as speed and length data.
WORKING:
Normally for Loop Detector, a coil of wire, which is in my case is about
6.5 feet in diameter (measurement of 4.5 Ft x 2.5 Ft (Length x Breadth)) with
about 3 loops(turns), is placed under the floor or the road. On the floor or
road, the grooves are cut, and the wire is placed into these groves.
When a metal body like a bike or a car passes over this loop, the car or
bike becomes the core of the loops, the magnetic field and inductance of the
coil is suddenly changed due to the presence of the vehicle.
The microcontroller detects this sudden change in the form of
frequency and then process it. The microcontroller can also classify the
vehicle type as different vehicle size will have different change in inductance
value and accordingly it will give different frequency output value.
Page 1
Loop Detector
CIRCUIT DIAGRAM:
The below circuit explains the working of loop detector-
GPIO 5 : This is the general purpose input output digital pin of Arduino UNO
and also it is Timer1 pin which is used as frequency counter pin or pulse
counter.
Loop Input : This is loop input header of two pins. The loop ends are attached
to this input. The inductance value is about 50uH for the loop size 4.5ft x 2.5ft
Page 2
Loop Detector
SPECIFICATIONS:
• Tuning: Automatic
• Detection type: Presence/Pulse
• Presence time: Infinity
• Pulse duration: 17 ms
• Signal filtering: Automatic
• Coil/loop inductance: 20 uH – 1000 uH
• Frequency range: 40 kHz – 900 kHz
• Frequency adjustment: Automatic
• Sensitivity: About 1.6 Feet
• Detection speed: <10 ms
• Startup time: ~4 sec
• Power supply: 12 V DC/2A
• Power supply inputs: DC Barrel Jack & 2 pin Screw Terminal
• Current consumption: ~50mA
Page 3
Loop Detector
PIN DESCRIPTION:
1) +12V : This is power supply of loop detector. (Note : Do not use it if loop
detector is powered by 12V Jack )
2) 12V JACK : This is also power supply of loop detector. ( Note : This is
preferred power supply input. When powering loop detector, always use
anyone power input i.e +12V or 12V JACK )
Page 4
Loop Detector
4) +5V Output : This is the +5V output from Arduino microcontroller and can
be used to power the other microcontroller.
5) Digital Output : This is the GPIO Pins(9, 10, 11, 12) of Arduino
Microcontroller (UNO, NANO, PROMINI).
SOURCE CODE ON ARDUINO IDE:
#include <SoftwareSerial.h>
unsigned long startMillis; //some global variables available anywhere in the program
const unsigned long OCR1_PRESET = 65535; // preset TOP value for Timer1 Output Compare (used
for either OCR1A or OCR1B)
int sampleFactor2 = 2;
long initialfrq = 0;
long floatfrq = 0;
long diff = 0;
int variable=2;
String variable1="";
TCCR1A = 4; // timer Mode, - Timer1 is set in CTC Mode (Clear Timer on Compare
match)
Page 5
Loop Detector
The loop geometry can vary depending upon the site where the loop
will be installed. Loop sizes will be explained below(Ref. Fig 1).
Also, the loop turns are determined depending upon the use case.
For example, if loop detectors are installed to determine heavy vehicles such
as cars, SUV, Truck etc. then the turns can be of 3 turns and 4 turns or more
to determine the light vehicles such as bikes.
While installing the loop wires in the pavement try to make the
height of pavement as much as equivalent to the road surface leaving about
2-3mm(Ref. Fig 1).
Page 6
Loop Detector
Loop sizes may differ depend on the lane, width, traffic patterns, and type of
vehicles to be detected.
Following loop sizes are used today with most access control systems:
• Large Rectangular loops (i.e 4’ x 8’, 6’ x 8’, 6’ x 12’) are used to detect
larger vehicles and high bed vehicles(trucks).
• Small size loops (i.e. 2’ x 5’, 3’ x 6’, 6’ x 6’) are used to detect smaller
vehicles, such as motorcycles and automobiles
• Important Note: Typical detection height is about 2/3rd of the shortest
leg of the loop.
Page 7
Loop Detector
2) Quadrupole Loop
Page 8
Loop Detector
Page 9
Loop Detector
Page 10