Professional Documents
Culture Documents
Chapter 3
Chapter 3
HARDWARE DESCRIPATRION
3.1
Conveyor Belt
3.2
LM324 IC
3.3
LCD display
3.4
P89V51RD2 Microcontroller
3.5
Pulleys
3.6
IR sensor
3.7
D.C motor
3.8
Buzzer
3.9
Power supply
The powered pulley is called the drive pulley while the unpowered pulley is
called the idler pulley. There are two main industrial classes of belt conveyors;
Those in general material handling such as those moving boxes along inside a
factory and bulk material handling such as those used to transport large
volumes
of
resources
and
agricultural
materials,
such
Today there are different types of conveyor belts that have been
created for conveying different kinds of material available in PVC and rubber
materials.
The belt consists of one or more layers of material. Many belts in
general material handling have two layers. An under layer of material to
provide linear strength and shape called a carcass and an over layer called the
cover. The carcass is often a woven fabric having a warp& weft. The most
common carcass materials are polyester, nylon and cotton. The cover is often
various rubber or plastic compounds specified by use of the belt. Covers can
be made from more exotic materials for unusual applications such as silicone
for heat or gum rubber when traction is essential.
Material flowing over the belt may be weighed in transit using a belt
weigher. Belts with regularly spaced partitions, known as elevator belts, are
used for transporting loose materials up steep inclines. Belt Conveyors are
used in self-unloading bulk freighters and in live bottom trucks. Belt conveyor
technology is also used in conveyor transport such as moving sidewalks or
escalators, as well as on many manufacturing assembly lines. Stores often
have conveyor belts at the check-out counter to move shopping items. Ski
areas also use conveyor belts to transport skiers up the hill.
Some of the major global conveyor belt service providers are Terra
Nova
Maschinenfabrik
Conveyors
are
durable
and
reliable
components
used
in
pallet
handling
equipment
this
allows
for
more
rollers and curved belting to convey products around a corner. These conveyor
systems are commonly used in postal sorting offices and airport baggage
handling systems. A sandwich belt conveyor uses two conveyor belts, face-toface, to firmly contain the item being carried, making steep incline and even
vertical-lift runs achievable.
about 17 km long and conveys limestone and shale at 960 tons/hour, from the
quarry in India to the cement factory (7 km long in India and 10 km long in
Bangladesh). The conveyor was engineered by AUMUND France and Larsen
& Toubro. The conveyor is actuated by three synchronized drive units for a
total power of about 1.8 MW supplied by ABB (two drives at the head end in
Bangladesh and one drive at the tail end in India). The conveyor belt was
manufactured in 300-meter lengths on the Indian side and 500-meter lengths
on the Bangladesh side, and was installed on-site by NILOS India. The idlers,
or rollers, of the system are unique in that they are designed to accommodate
both horizontal and vertical curves along the terrain. Dedicated vehicles were
designed for the maintenance of the conveyor, which is always at a minimum
height of 5 meters (16 ft) above the ground to avoid being flooded during
monsoon periods.
3.2 LM324 IC
op-amp
applications
can
be
more
Pin Description:
Pin
Function
Name
No.
1
Output
of
1st
Output 1
easily
comparator
2
Input 1-
comparator
3
Non-inverting
input
Input 1+
of 1st comparator
4
Supply voltage; 5V
Vcc
(up to 32V)
5
Non-inverting
input
Input 2+
of 2nd comparator
6
Input 2-
comparator
7
Output
of
2nd
Output 2
of
3rd
Output 3
comparator
8
Output
comparator
Input 3-
comparator
10
Non-inverting
input
Input 3+
of 3rd comparator
11
Ground (0V)
12
Non-inverting
Ground
input
Input 4+
of 4th comparator
13
Input 4-
comparator
14
Output
comparator
of
4th
Output
3.3
LCD display
80
81
..
..
8F
C0
C1
..
..
C
F
Address in LCD
HEX
COMMAND
COD
E
0x01
H
0x02
to right)
0x06
H
0x0E
line
0x80
line
0xC0
3.4 MICROCONTRLLER:
GENERAL DESCRIPTION:
The microcontroller is the heart of the system. The P89V51RD2 is an
80C51 microcontroller with 64 KB Flash and 1024 bytes of data RAM.
FEATURES:
80C51 Central Processing Unit
V Operating voltage from 0 to 40 MHz
64 KB of on-chip Flash program memory with ISP (In-System
Programming) and IAP (In-Application Programming)
Supports 12-clock (default) or 6-clock mode selection via software or
ISP
SPI (Serial Peripheral Interface) and enhanced UART
Four 8-bit I/O ports with three high-current Port 1 pins (16 mA each)
Three 16-bit timers/counters
Programmable Watchdog timer (WDT)
Eight interrupt sources with four priority levels
Second DPTR register
TTL- and CMOS-compatible logic levels
BLOCK DIAGRAM:
PSW
Arithmetic and Logic Unit
SFR
RAM
To Port 1 &
Port 3
B
ROM
PC
To Port 0
&
Port 2
7
Figure 5.2 Block diagram of P89V51RD2 microcontroller
PIN DIAGRAM:
PIN DESCRIPTION:
Port 1 1.0-1.7) Pins 1-8: Port 1 is an 8-bit bi-directional I/O port with
internal pull-ups. The Port 1 pins are pulled high by the internal pull-ups when
1s are written to them and can be used as inputs in this state. As inputs, Port
1 pins that are externally pulled LOW will source current (IIL) because of the
internal pull-ups. P1.5, P1.6, P1.7 have high current drive of 16 mA. Port 1
also receives the low-order address bytes during the external host mode
programming and verification.
T2: External count input to Timer/Counter 2 or Clock-out from
Timer/Counter 2. Pin 1.0.
Port 2 (2.0-2.7) Pins 21-28: Port 2 is an 8-bit bi-directional I/O port
with internal pull-ups. Port 2 pins are pulled HIGH by the internal pull-ups
when 1s are written to them and can be used as inputs in this state. As inputs,
Port 2 pins that are externally pulled LOW will source current (IIL) because of
the internal pull-ups. Port 2 sends the high-order address byte during fetches
from external program memory and during accesses to external Data Memory
that use 16-bit address (MOVX @DPTR). In this application, it uses strong
internal pull-ups when transitioning to 1s. Port 2 also receives some control
signals and a partial of high-order address bits during the external host mode
programming and verification.
Port 3 (3.0-3.7) Pins 10-17: Port 3 is an 8-bit bidirectional I/O port
with internal pull-ups. Port 3 pins are pulled HIGH by the internal pull-ups
when 1s are written to them and can be used as inputs in this state. As inputs,
Port 3 pins that are externally pulled LOW will source current (IIL) because of
the internal pull-ups. Port 3 also receives some control signals and a partial of
high-order address bits during the external host mode programming and
verification. Signal related to the port 1 are explained below.
RXD: serial input port
TXD: serial output port
INT0: external interrupt 0 input
T1
PSEN (Program Store Enable) Active Low Pin 29: PSEN is the read
strobe for external program memory. When the device is executing from
internal program memory, PSEN is inactive (HIGH). When the device is
executing code from external program memory, PSEN is activated twice each
machine cycle, except that two PSEN activations are skipped during each
access to external data memory. A forced HIGH-to-LOW input transition on
the PSEN pin while the RST input is continually held HIGH for more than 10
machine cycles will cause the device to enter external host mode
programming.
Reset Pin 9: While the oscillator is running, a HIGH logic state on this
pin for two machine cycles will reset the device. If the PSEN pin is driven by
a HIGH-to-LOW input transition while the RST input pin is held HIGH, the
device will enter the external host mode; otherwise the device will enter the
normal operation mode.
EA (External Access Enable) Active Low Pin 31: EA must be
connected to VSS in order to enable the device to fetch code from the external
program memory. EA must be strapped to VDD for internal program
execution. However, Security lock level 4 will disable EA, and program
execution is only possible from internal program memory. The EA pin can
tolerate a high voltage of 12 V.
ALE (Address Latch Enable) Pin 30: ALE is the output signal for
latching the low byte of the address during an access to external memory.
Crystal 1 Pin 19: Input to the inverting oscillator amplifier and input
to the internal clock generator circuits.
Crystal 2 Pin 18: Output from the inverting oscillator amplifier.
Power Supply VDD Pin 40: It is connected to +5V power supply.
Ground Pin 20: It is connected to ground.
MEMORY ORGANIZATION:
The device has separate address spaces for program and data memory
Fash program memory:
There are two internal flash memory blocks in the device. Block 0 has
64 Kbytes and contains the users code. Block 1 contains the Philips-provided
ISP/IAP routines and may be enabled such that it overlays the first 8 Kbytes
of the user code memory. The 64 KB Block 0 is organized as 512 sectors; each
sector consists of 128 bytes. Access to the IAP routines may be enabled by
clearing the BSEL bit in the FCF register. However, caution must be taken
when dynamically changing the BSEL bit. Since this will cause different
physical memory to be mapped to the logical program address space, the user
must avoid clearing the BSEL bit when executing user code within the address
range 0000H to 1FFFH.
Data RAM memory:
The data RAM has 1024 bytes of internal memory. The device can also
address up to 64 KB for external data memory.
The device has four sections of internal data memory:
1. The lower 128 bytes of RAM (00H to 7FH) are directly and
indirectly addressable.
TIMERS/COUNTERS 0 AND 1:
The two 16-bit Timer/Counter registers: Timer 0 and Timer 1 can be
configured to operate either as timers or event counters in the Timer
function, the register is incremented every machine cycle. Thus, one can think
of it as counting machine cycles. Since a machine cycle consists of six
oscillator periods, the count rate is 1/6 of the oscillator frequency. In the
Counter function, the register is incremented in response to a 1-to-0
Table 5
TCON Register:
Table 5.
Mode 0
Putting either Timer into Mode 0 makes it look like an 8048 Timer,
which is an 8-bit Counter with a fixed divide-by-32 prescaler. Figure 5.5
shows Mode 0 operation.
In this mode, the Timer register is configured as a 13-bit register. As
the count rolls over from all 1s to all 0s, it sets the Timer interrupt flag TFn.
The count input is enabled to the Timer when TRn = 1 and either GATE = 0 or
INTn = 1. (Setting GATE =1 allows the Timer to be controlled by external
input INTn, to facilitate pulse width measurements). TRn is a control bit in the
Special Function Register TCON. The GATE bit is in the TMOD register.
The 13-bit register consists of all 8 bits of THn and the lower 5 bits of
TLn. The upper 3 bits of TLn are indeterminate and should be ignored. Setting
the run flag (TRn) does not clear the registers. Mode 0 operations are the same
for Timer 0 and Timer 1 as shown in figure 4.7.
Mode 1
Mode 1 is the same as Mode 0, except that all 16 bits of the timer
register (THn and TLn) are used. See figure 5.6.
Mode 2
Mode 3
When timer 1 is in Mode 3 it is stopped (holds its count). The effect is
the same as setting TR1 = 0. Timer 0 in Mode 3 establishes TL0 and TH0 as
two separate 8-bit counters. The logic for Mode 3 and Timer 0 is shown in
figure 5.8. TL0 uses the Timer 0 control bits: T0C/T, T0GATE, TR0, INT0,
and TF0. TH0 is locked into a timer function (counting machine cycles) and
takes over the use of TR1 and TF1 from Timer 1. Thus, TH0 now controls the
Timer 1 interrupt. Mode 3 is provided for applications that require an extra
8-bit timer. With Timer 0 in Mode 3, the P89V51RD2 can look like it has an
additional Timer.
RESET:
A system reset initializes the MCU and begins program execution at
program memory location 0000H. The reset input for the device is the RST
pin. In order to reset the device, a logic level high must be applied to the RST
pin for at least two machine cycles (24 clocks), after the oscillator becomes
stable. ALE, PSEN are weakly pulled high during reset. During reset, ALE
and PSEN output a high level in order to perform a proper reset. This level
must not be affected by external element. A system reset will not affect the 1
Kbytes of on-chip RAM while the device is running; however, the contents of
the on-chip RAM during power up are indeterminate.
Power-on Reset:
At initial power up, the port pins will be in a random state until the
oscillator has started and the internal reset algorithm has weakly pulled all
pins HIGH. Powering up the device without a valid reset could cause the
MCU to start executing instructions from an indeterminate location. Such
undefined states may inadvertently corrupt the code in the flash.
When power is applied to the device, the RST pin must be held HIGH
long enough for the oscillator to start up (usually several milliseconds for a
low frequency crystal), in addition to two machine cycles for a valid power-on
reset. An example of a method to extend the RST signal is to implement a RC
circuit by connecting the RST pin VDD through a 10 mF capacitor and to VSS
through an 8.2 kW resistor as shown in figure 5.9
.
Figure 5.9 Power on reset
Note that if an RC circuit is being used, provisions should be made to
ensure the VDD rise time does not exceed 1 millisecond and the oscillator
start-up time does not exceed 10 milliseconds.
Software reset
The software reset is executed by changing FCF[1] (SWR) from 0 to
1. A software reset will reset the program counter to address 0000H. All SFR
registers will be set to their reset values, except FCF[1] (SWR), WDTC[2]
(WDTS), and RAM data will not be altered.
SECURITY BIT:
The Security Bit protects against software piracy and prevents the
contents of the flash from being read by unauthorized parties in Parallel
Programmer Mode. It also protects against code corruption resulting from
accidental erasing and programming to the internal flash memory.
3.5PULLEYS:
A pulley is a wheel on an axle or shaft that is designed to support
movement and change of direction of a cable or belt along its circumference.
Pulleys are used in a variety of ways to lift loads, apply forces, and to transmit
power. In nautical contexts, the assembly of wheel, axle, and supporting shell
is referred to as a "block."
A pulley may also be called a sheave or drum and may have a groove
between two flanges around its circumference. The drive element of a pulley
system can be a rope, cable, belt, or chain that runs over the pulley inside the
groove.
Hero of Alexandria identified the pulley as one of six simple machines
used to lift weights. Pulleys are assembled to form a block and tackle in order
to provide mechanical advantage to apply large forces. Pulleys are also
assembled as part of belt and chain drives in order to transmit power from one
rotating shaft to another.
Gun Tackle: 2
Luff Tackle: 3
Double Tackle: 4
Gyn Tackle: 5
Threefold purchase: 6
Consider the set of pulleys that form the moving block and the parts of
the rope that support this block. If there is p of these parts of the rope
supporting the load W, then a force balance on the moving block shows that
the tension in each of the parts of the rope must be W/p. This means the input
force on the rope is T=W/p. Thus, the block and tackle reduces the input force
by the factor p.
A gun tackle has a single pulley in both the fixed and moving blocks
with two rope parts supporting the load W.
Separation of the pulleys is in the gun tackle show the force balance that
results in a rope tension of W/2.
A double tackle has two pulleys in both the fixed and moving blocks with four
rope parts are supporting the load W.
Separation of the pulleys is in the double tackle show the force balance that
results in a rope tension of W/4.
How it works
The simplest theory of operation for a pulley system assumes that the
pulleys and lines are weightless, and that there is no energy loss due to
friction. It is also assumed that the lines do not stretch.
means that the two parts of the rope supporting the moving block must each
support half the load.
Diagram 1: The load F on the moving pulley is balanced by the tension in two
parts of the rope supporting the pulley.
Diagram 2: A movable pulley lifting the load W is supported by two rope parts
with tension W/2.
Diagram 3: The gun tackle "rove to advantage" has the rope attached to the
moving pulley. The tension in the rope is W/3 yielding an advantage of three.
Diagram 3a: The Luff tackle adds a fixed pulley "rove to disadvantage." The
tension in the rope remains W/3 yielding an advantage of three.
The ratio of the load to the input tension force is the mechanical
advantage MA of the pulley system,
cleaners,
in belt
sanders and
band
saws. Agricultural tractors built up to the early 1950s generally had a belt
pulley for a flat belt (which is what Belt Pulley magazine was named after). It
has been replaced by other mechanisms with more flexibility in methods of
use, such as power take-off and hydraulics.
3.6IR SENSOR:
GENERAL DESCRIPTION:
IR Proximity Sensor
This sensor can be used to measure the speed of object moving at a
very high speed, like in industry.
One of the most useful sensors finds its application while detecting
object/hurdles, edges of surface etc. With a long range of 20 cm, TLL
interface and ambient light protection makes it easy and reliable to use.
Features:
Range:
20
Ambient
Easy
cm
light
interface
protection
with
microcontroller
Connect output pin of IR module to any i/o pin of 8051 board by using its
pin header.
Here we have use the IR proximity sensor to check the bottle detection
at the particular place where the liquid filling system is planted. If the IR
sensor detect the bottle on the conveyer belt than the IR sensor gives it output
to the controller and controller stops the movement of the bottle.
3.7 DC MOTOR:
DC Motors convert electrical energy (voltage or power source) to
mechanical
They
energy
run
(produce
rotational
on
direct
motion).
current.
The Dc motor works on the principle of Lorentz force which states that when
a wire carrying current is placed in a region having magnetic field, than the
wire
experiences
force.
Working:
As we have discussed, DC motor work on Lorentz force concept.
When we pass the input DC current to the coil through the brushes, it directly
goes to the coil inside the motor body. This makes coil to work as an
electromagnet. Magnetic fields of both magnets interact with each other that
results in a force which in turn produces the necessary torque required to
move the coil. This torque drives the coil to move round and a shaft attached
with the coil moves too.
Rear view
The rear view of the geared motor is similar to the DC motor and it has
two wires soldered to it.
Internal Structure
On opening the outer plastic casing of the gear head, gear assemblies
on the top as well as on bottom part of the gear head are visible.
A strong circular imprint shows the presence of the gear that rotates
the gear at the upper portion.
Connection of the shaft with the gear is shown in the image under. The cap
that accommodates the gear has an arc cut from its side to avoid frictional
resistance forces with the bottom gear assembly.
A closer look at the bottom gear assembly shows the structure and
connection with other gears.
The gears are basically in form of a small sprocket but since they are
not connected by a chain, they can be termed as duplex gears in terms
of a second cog arrangement coaxially over the base. Among the three
gears, two are exactly same while the third one is bigger in terms of
the number of teeth at the upper layer of the duplex gear. The third
gear is connected to the gear at the upper portion of the gear head. The
manner in which they are located near the upper part of the gear head
can be seen through the image shown.
The combination of bottom gear assembly with the upper one can be
seen down under.
The DC motor works over a fair range of voltage. The higher the input
voltage more is the RPM (rotations per minute) of the motor. For
example, if the motor works in the range of 6-12V, it will have the
least RPM at 6V and maximum at 12 V.
RPM= K1 * V, where,
V=voltage applied
Hence the gear having more torque will provide a lesser RPM and
converse.
The equations detailing the working and torque transfer of gears are
shown below:
In a geared DC motor, the gear connecting the motor and the gear head
is quite small, hence it transfers more speed to the larger teeth part of
the gear head and makes it rotate.
The larger part of the gear further turns the smaller duplex part.
The small duplex part receives the torque but not the speed from its
predecessor which it transfers to larger part of other gear and so on.
The third gears duplex part has more teeth than others and hence it
3.8 BUZZER
Fig. Buzzer
Buzzer is used for alert the people who are going on the Bridge for
crossing the railway.
Electromechanical
The first electric buzzer was invented in 1831 by Joseph Henry. They
were mainly used in early doorbells until they were phased out in the early
1930's in favor of musical chimes, which had a softer tone.
Piezoelectric
Piezoelectric buzzers, or piezo buzzers, as they are sometimes called,
were invented by Japanese manufacturers and fitted into a wide array of
products during the 1970s to 1980s. This advancement mainly came about
Type of Buzzers
Electromechanical
Early devices were based on an electromechanical system identical to
an electric bell without the metal gong. Similarly, are lay may be connected to
interrupt its own actuating current, causing the contacts to buzz. Often these
units were anchored to a wall or ceiling to use it as a sounding board. The
word "buzzer" comes from the rasping noise that electromechanical buzzers
made.
Mechanical
A joy buzzer is an example of a purely mechanical buzzer. They
require a driver.
Piezoelectric
Modern Applications
While technological advancements have caused buzzers to be
impractical and undesirable, there are still instances in which buzzers and
similar circuits may be used. Present day applications include:
Novelty uses
Educational purposes
Annunciator panels
Electronic metronomes
Electrical alarms
SR.
NO
.
NAME
OF
COMPONENT
NO. OF
COMPONENT
USED
1.
Conveyor Belt
2.
IR Sensor
3.
LM324 IC
4.
Microcontroller Board
5.
Pulleys
6.
Shaft
7.
DC Motor
8.
Boxes
9.
Buzzers
As per requirement
1