GSM Robot
GSM Robot
INTRODUCTION
The project is an advanced Robotic System which can be controlled via a GSM
Network & GSM Mobile equipment. The project is a special one considering the fact
that; the Robotic Vehicle can be used for various applications in the field of
Automation, Safety Monitoring, and Assistance to Disabled Persons and as a
Standalone Security System.
Here the project is based on the principle of Transmission & Decoding of DTMF
(Dual Tone Multi-Frequency) signals via a conventional GSM network.
1.1 Methodology
As shown in figure1.1, the project consists off a set of GSM equipment, GSM Mobile
Handset & GSM Mobile Infrastructure. Here the GSM network is internally connected
to the public telephone communication network like PSTN.
Through a mobile handset we can dial the assigned number for that particular
Robotic Vehicle & after the reception of acknowledgement signal; we can send the
Control Signals in the form of DTMF codes via handset. Here each DTMF tone
resembles a specific activity of the Robotic Vehicle and accordingly the Robotic
Vehicle generates the actions. These actions can be either movement of the Robotic
Vehicle or some actions like Pick & Place in the Robotic Structure.
Subscriber Identity Module: One of the key features of GSM is the Subscriber
Identity Module (SIM), commonly known as a SIM card. The SIM is a detachable smart
card containing the user's subscription information and phonebook. This allows the
user to retain his or her information after switching handsets. Alternatively, the
user can also change operators while retaining the handset simply by changing the
SIM.
GSM security: GSM was designed with a moderate level of security. The system was
designed to authenticate the subscriber using a pre-shared key and challenge-
response. Communications between the subscriber and the base station can be
encrypted. The development of UMTS introduces an optional USIM, that uses a longer
authentication key to give greater security, as well as mutually authenticating
the network and the user - whereas GSM only authenticated the user to the network
(and not vice versa). The security model therefore offers confidentiality and
authentication, but limited authorization capabilities, and no non-repudiation.
GSM uses several cryptographic algorithms for security. The A5/1 and A5/2 stream
ciphers are used for ensuring over-the-air voice privacy. A5/1 was developed first
and is a stronger algorithm used within Europe and the United States; A5/2 is
weaker and used in other countries. Serious weaknesses have been found in both
algorithms: it is possible to break A5/2 in real-time with a cipher text-only
attack, and in February 2008, Pico Consulting, Inc revealed its ability and plans
to commercialize FPGAs that allow A5/1 to be broken with a rainbow table attack.
The system supports multiple algorithms so operators may replace that cipher with
a stronger one.
1. DTMF Decoder
This block receives the tone signals from the mobile head sets and decodes it to
BCD form. This BCD output is indicated by LEDs.
2. De-multiplexer
The BCD output from the DTMF decoder is input to this block. This 4:16 de-mux
converts the 4bit BCD number into binary form.
3. Buffer
The active low outputs from the de-mux are inverted. The output from the buffer is
fed to driver through signal diodes to avoid back emf .
4. Driver
This consists of Darlington pairs. The signal level from the buffer is not strong
enough to drive the low impedance relay, so the Darlington driver IC is used.
5. Relay
Relays are used as switching elements to run the motors
Chapter 2
Power Supply
A power supply is required for the working of any electronic circuit and plays a
very important role in smooth running of the connected circuit. The main objective
of this power supply is to deliver the required amount of stabilized and pure
power to the circuit.
Since our project is mobile equipment, we directly use dc-supply from alkaline
batteries. The ICs used require different supply voltages; hence we use regulators
for this purpose.
In our project circuit KIA7812 voltage regulator IC is used to get +12 volt
regulated dc output, which is needed for the buffer and driver ICs. In the three
terminals, pin1 is input i.e, the dc supply(from batteries) is connected to this
pin. Pin2 is common pin and is grounded. The pin3 gives the stabilized dc output
to the load. Similarly we use KIA7805 for decoder and de-multiplexer ICs.
Chapter 3
DTMF Decoder and De-Multiplexer Module
This Section decodes the DTMF form Command signal sent by caller and converts it
into eight bit binary output signals such that eight loads can be controlled
independently.
Before going in deep on actual circuit & its explanation, let us have details of
the terms & components used in this section.
Similarly for all other keys the column and row frequencies and decoded
hexadecimal outputs are as shown in table 3.1.
The DTMF signals transmitted over the telephone lines can be received and decoded
using a DTMF receiver/decoder IC such as UM92870 or KT3170 or Motorola’s MT8870.
The decoded outputs can be suitably used along with certain additional circuitry
to design a Call-Line-Identification-Product unit [popularly known as CLIP]. The
four hexadecimal output obtained from the DTMF receiver/decoder IC, corresponding
to each digit on the telephone key-pad together with the associated dual-tone
frequencies is as shown in table3.1.
The DTMF digits transmitted over the telephone lines would have a nominal width of
50 ms followed by a pause (no signal) of similar duration between consecutive
digits. Thus, ten consecutive digits would be transmitted in one second.
The CM-8870 is a full DTMF Receiver that integrates both band split filter and
decoder functions into a single 18-pin IC. Manufactured using CMOS process
technology, the CM-8870 offers low power consumption (35 mW max) and precise data
handling. Its filter section uses switched capacitor technology for both the high
and low group filters and for dial tone rejection. Its decoder uses digital
counting techniques to detect and decode all 16 DTMF tone pairs into a 4-bit code
The CM8870 decoder uses a digital counting technique to determine the frequencies
of the limited tones and to verify that these tones correspond to standard DTMF
frequencies. A complex averaging algorithm is used to protect against tone
simulation by extraneous signals (such as voice) while providing tolerance to
small frequency variations. When the detector recognizes the simultaneous presence
of two valid tones (known as “signal condition”), it raises the “Early Steering”
flag (ESt). Any subsequent loss of signal condition will cause ESt to fall.
Before the registration of a decoded tone pair, the receiver checks for a valid
signal duration. This check is performed by an external RC time constant driven by
ESt. Logic high on ESt causes VC to raise as the capacitor discharges. Providing
signal condition is maintained (ESt remains high) for the validation period, VC
reaches the threshold of the steering logic to register the tone pair, thus
latching its corresponding 4-bit code into the output latch. The contents of the
output latch are made available on the 4-bit output bus by raising the three-state
control input to logic high. The internal clock circuit is completed with the
addition of a standard crystal or ceramic resonator having a resonant frequency of
3.579545MHz.
SEMICONDUCTORS
IC1 KT3170/MT8870, DTMF to BCD Converter IC 1
IC2 74154, 4-to-16-line De-multiplexer IC 1
RESISTORS
R1& R2 22 K Ohms ¼ Watt Carbon Resistor 2
R3 10 K Ohms ¼ Watt Carbon Resistor 1
R4 1 M Ohms ¼ Watt Carbon Resistor 1
R5 330 Ohms ¼ Watt Carbon Resistor 1
R6 470 Ohms ¼ Watt Carbon Resistor 1
CAPACITORS
C1 & C2 0.1 µF CERAMIC DISC TYPE 2
MISCELLANEOUS
X1 3.5795 M Hertz Crystal 1
D1 – D4 Red Indicator LEDs 4
Circuit Description:
The circuit in figure 3.1 is used to switch up to nine appliances (corresponding
to the digits 1 through 9 of the telephone key-pad). The DTMF signals on telephone
instrument are used as control signals. Thus the telephone can be used to switch
ON or switch OFF the appliances. The circuit uses IC CM8870 (DTMF-to-BCD
converter), 74154 (4-to-16-line de-multiplexer), and six buffers [CD4050 IC].The
values for the components used in figure 3.1 are tabulated in table 3.2. The
working of the circuit is as follows:
Once a call is established (after hearing ring-back tone), dial any key in DTMF
keypad. IC1 decodes this as hexadecimal number [LEDs D1 to D4 gives visual
representation of this number], which is further de-multiplexed by IC2 as active
low binary output.
Chapter 4
Buffer and Driver Circuit
The binary output from the de-multiplexer block is fed into the buffer and
driver circuit. Out of the 16 output lines only 8 are buffered. Figure 4.1 shows
circuit for Buffer and driver circuit.
Circuit description:
The figure 4.2 shows the circuit for Buffer and Driver. Among the 16 active low
outputs from 4:16 de-multiplexer, only 8 are used to move the robot. Here first 4
are used for basic movements like forward, backward, left and right. The next 4
are used directional movements like forward-left, forward-right, backward-left,
and backward-right. Since the signals are active low, 4049 ICs are used to convert
these 8 signals to active high. As the load is inductive, there is a chance of
producing back emf. So to cope up with this back emf, signal diodes are used. But,
this signal level is not strong enough to drive the low impedance relay. So,
Driver IC ULN2003 is used. The output signal from Darlington arrays is strong
enough to actuate relays. These relays are used as switching means for motors.
4.4 Relays
Relays perform the switching operation through which motor switch on\off can be
controlled. Output from the Darlington driver IC is strong enough to actuate
relays. In circuit shown in figure 4.3 there are two dipole relays of 12V, which
controls the direction of motor.
Circuit description:
Initially both the relays 1 and 2 (as in figure 4.3) are de-energized and their
common are connected to normal close of relay. As the forward direction signal is
fed to dipole relay 1, it gets energized. In this way closed path is established
for the motor and it is turned ON. It remains ON as long as the signal being
received form driver. Similarly when the user wants the motor to run in reverse
direction, input is fed through dipole relay 2 i.e. reverse direction signal. In
this project we are using four dipole relays; two for left and right turns and
other two for forward and backward direction.
Details of Relay:
A relay is an electrically operated switch. Current flowing through the coil of
the relay creates a magnetic field which attracts a lever and changes the switch
contacts. The coil current can be on or off so relays have two switch positions
and they are double throw (changeover) switches.
Relays allow one circuit to switch a second circuit which can be completely
separate from the first. For example a low voltage battery circuit can use a relay
to switch a 230V AC mains circuit. There is no electrical connection inside the
relay between the two circuits, the link is magnetic and mechanical.
The coil of a relay passes a relatively large current, typically 30mA for a 12V
relay, but it can be as much as 100mA for relays designed to operate from lower
voltages. Most ICs (chips) cannot provide this current and a transistor is usually
used to amplify the small IC current to the larger value required for the relay
coil. The maximum output current for the popular 555 timer IC is 200mA so these
devices can supply relay coils directly without amplification.
The relay's switch connections are usually labelled COM, NC and NO:
• COM = Common, always connect to this, it is the moving part of the switch.
• NC = Normally Closed, COM is connected to this when the relay coil is off.
• NO = Normally Open, COM is connected to this when the relay coil is on.
• Connect to COM and NO if you want the switched circuit to be on when the
relay coil is on.
• Connect to COM and NC if you want the switched circuit to be on when the
relay coil is off.
Chapter 5
APPLICATIONS
Circuit description:
The above figure 5.1 shows the circuit diagram for fire detection. In this circuit
we use IC 555-timer. The IC uses two comparators. The voltage divider consists of
three equal resistances. Due to this, the voltage of non-inverting terminal of
comparator 2 is fixed at Vcc/3. The inverting input of comparator 2 which is
compared with Vcc/3, is nothing but trigger input brought out as pin2. When the
trigger input is slightly less than Vcc/3, the comparator 2 output goes high. This
output is given to reset input of RS flip-flop. So, high output of comparator 2
resets the flip-flop. The complementary signal output of the flip-flop goes to
pin3 which is the output.
The output of the IC is used to drive the load. Normally output is low. Thus, load
current flows through the load connected between Vcc and output terminal. The load
connected in this way is called normally ON LOAD. However, the current through the
grounded load is zero when the output is low. Thus, the load connected between
output terminal and ground is called normally OFF LOAD. On the other hand, when
the output is high, the current through the load connected between Vcc and output
terminal is zero. However, the output terminal supplies current to the normally
off load.
The timer IC 555 is basically a monolithic timer circuit which can be used in
many applications such as monostable and astable multivibrators, linear ramp
generator, missing pulse detector, pulse width modulator etc.
The figure 5.1 shows the internal block diagram of 555 timer. The pin functions
are as follows:
Pin 1: Ground-All the voltages are measured with respect to this terminal.
Pin 2: Trigger-The IC 555 uses two comparators. The voltage divider consists of
three equal resistances. Due to voltage divider, the voltage of non inverting
terminal of comparator 2 is fixed at Vcc/3.The inverting input of comparator 2
which is compared with Vcc/3, is nothing but trigger input brought out as pin
number 2.When trigger input is slightly less than Vcc/3 the comparator 2 output
goes high. This output is given to reset input of R-S flip-flop. So high output of
comparator 2 resets the flip-flop.
Pin 3: Output-The complementary signal output of the flip-flop goes to pin 3 which
is the output. The load can be connected in two ways. One between pin 3 and ground
while other between pin 3 and 8.
Pin 5: Control voltage input-In most of the applications, external control voltage
input is not used. This pin is nothing but the inverting input to comparator 1.The
voltage divider holds the input of this input at 2/3Vcc.This is the reference
level for comparator 1 with which threshold is compared. If the reference level
required is other than 2/3Vcc then external input is to be given to pin 5.
Pin 8: Supply-The IC 555 timer can work with any supply voltage between 4.5V and
16V.
Operation :
The flip-flop is initially set i.e. its output is high. This drives the transistor
in saturation. The capacitor discharges completely and voltage across it is nearly
zero. The output at pin 3 is low.
When the trigger input, a low going pulse is applied, then the circuit state
remains unchanged till trigger voltage is greater than 1/3Vcc.When it becomes less
than 1/3Vcc, then the comparator 2 output goes high. This resets the flip-flop so
its output goes low and complementary output goes high. Low output makes the
transistor off.
The output across the capacitor increases exponentially. This voltage is nothing
but the threshold voltage at pin 6.When this voltage becomes more than 2/3Vcc,
then comparator 1 output goes high. This sets the flip-flop i.e. its output
becomes high and complementary output low. This high output drives the transistor
in saturation.
So output at pin 3 is low at start, when trigger is less than 1/3Vcc it becomes
high and when threshold is greater than 2/3 Vcc, again it becomes low, till next
trigger pulse occurs.
The displaced electrons, the charge, are stored in the device until the sensor is
read by a microprocessor connected to the array. CCD sensors are sensitive to
the whole visible spectrum and beyond (including infra-red and ultra-violet
portions of the electromagnetic spectrum). To extract color information from the
image the array is covered
With a Bayer filter, each sensor has either a red, green or blue filter in front
of it. These colors are arranged alternately across the array.
Once we have the ability to send frames from the camera, we should be able to
rotate the front panel of the CMU camera lens and see the image change. Try to get
the picture to be as sharp as possible by dumping frames and changing the position
of the lens a small amount each time. Usually the camera is in focus when the lens
is a few rotations away from the base.
Fig5.2(d):Focusing Method
Chapter 6
Benefits and Developments
6.1 Benefits
1. This is a novel approach to the Robotic Automation.
2. This project is not limited by any geographical limit for operation except
the availability of GSM network
3. Economical in nature compared to conventional systems & highly reliable.
Chapter 7
Conclusion
Book references:
2. Integrated Electronics, Analog and digital systems, Jacob Millman and Chsistos
C Halkias, Tata McGraw-Hill, Edition 91, 2004.
Website references:
1. http://doc.chipfind.ru/fairchild/cd4050.htm
2. http://doc.chipfind.ru/fairchild/cd4049.htm
3. http://doc.chipfind.ru/philips/74hc154n.htm
4. http://doc.chipfind.ru/calmirco/cm8870pi.htm
5. http://doc.chipfind.ru/stmicroelectronics/uln2003a%5B1%5D.htm
6. http://doc.chipfind.ru/ti/ne555p%5B1%5D.htm
7. http://doc.chipfind.ru/stmicroelectronics/l7805cv%5B1%5D.htm
8. http://doc.chipfind.ru/stmicroelectronics/l7812cv%5B1%5D.htm