Cement Bag Loading Sys
Cement Bag Loading Sys
Cement Bag Loading Sys
CONTENTS
CHAPTER
PAGE NO
INTRODUCTION
1.1
1.2
METHODOLOGY
2.1
Problem Statement
2.1
Idea Implementation
2.2
Block Diagram
10
CIRCUIT DESCRIPTION
11
3.1
11
3.2
12
3.3
25, 26
3.4
Programming Code
27
OUTCOME
31
CONCLUSION
34
BIBLIOGRAPHY
35
DEPARTMENT OF ELECTRONICS
CHAPTER
7
PAGE NO
APPENDIX
37
38
46
555 OPERATION
53
DEPARTMENT OF ELECTRONICS
1.INTRODUCTION
1.1.OVERVIEW ON DALMIA CEMENT (B) LTD
DALMIA CEMENT BHARATH LIMITED
DALMIA PURAM
Only in the year 1914, India entered of cement
manufacturing. Now there are many cement factories spreader all over
India expect west Bengal, ASSAM and KASHMIR. Shri. Ramkrishna
Dalmia, a daring foresighted pioneer in the industrialization of India
planned to establish Many cement factories in different parts of the
country and act upon it by establish cement plans at Dalmia Nagar in
Bihar, Karachi, Dalmia Dadri, Dondal in Punjab, Sawai Modhapur in
Rajastan and Dalmia puram in Tamilnadu.
Dalmia cement Bharath limited, is the largest and
leading cement manufacturing company in tamilnadu. It is located in
Trichy-Chennai chord line and it is 45 kilometres north east of Trichy
town. DCBL, commenced its production in the year 1939, with and
DEPARTMENT OF ELECTRONICS
installed capacity of 250 tones of clinker per day produced from the
Polsius Lepol kiln, a semidry process technology. In 1949 the second wet
process UNAX KILAN was installed. These two plants added to raise
the installed capacity to 1250 tones per day. To increase the capacity by
200 tones per day mini cement plant viz., VERTICAL SHAFT KILN
(VSK) of fuel slurry process technology was launched in the year 19811982. This is the first cement plant in asia which absorbed this
technology, in the year 1987 the company has completed in
modernization by installing 1500 TPD dry process KILD KILN with
PRE CALCINATOR technology with computerized control system. In
this KILN heat energy utilization is optimum and power consumption is
comparatively low. In addition, a 110KV sub station was erected in the
year 1982.
In order to augment the power position and to meet
any future power cut, four captive generator sets were installed having
15 MVA Capacity in Dalmia Puram works. After modernization the
installed capacity in the production of cinker reached 1950 tones per day.
And hence wet process kilns UNAX and folks.
DEPARTMENT OF ELECTRONICS
PPC
GPHSSC
OWC
PSC
DEPARTMENT OF ELECTRONICS
DEPARTMENT OF ELECTRONICS
CHAPTER 2
10
DEPARTMENT OF ELECTRONICS
2.1.PROBLEM STATEMENT:
DEPARTMENT OF ELECTRONICS
2.2. IMPLEMENTATION
DEPARTMENT OF ELECTRONICS
Light
Source
Conveyer
Belt
Light
Detector
.
Vehicle Sensor
.
.
.
555 Circuit
Motor
PC
LCD
Host
Port
FIG : 2.3 (A)
10
DEPARTMENT OF ELECTRONICS
3.CIRCUIT DESCRIPTION
3.1.POWER SUPPLY CIRCUIT DIAGRAM
230Vac
50 HZ
D2
D3
1N 4001X4
+
D4
..
11
1000F/
25 V
IC 7805
2
3
+
Vout
DEPARTMENT OF ELECTRONICS
Figure 3.1(A)
12
DEPARTMENT OF ELECTRONICS
13
DEPARTMENT OF ELECTRONICS
14
DEPARTMENT OF ELECTRONICS
15
DEPARTMENT OF ELECTRONICS
of
RA is
16
DEPARTMENT OF ELECTRONICS
17
DEPARTMENT OF ELECTRONICS
FIG : 3.2 (C) Functional Diagram of Astable Multivibrator Using 555 Timer
--------(3.1.1)
18
-------(3.1.2)
DEPARTMENT OF ELECTRONICS
t1=1.09RC
---------(3.1.3)
t2=0.405RC
So the time to charge from (1/3)Vcc to (2/3)Vcc is
tHIGH=t1-t2
tHIGH=0.69(RA+RB)C
--------(3.1.4)
The output is low while the capacitor discharges from (2/3)Vcc to (1/3)Vcc
And the voltage across the capacitor is given by
(1/3) vcc=(2/3)Vcce-t/RC
solving we get
t=0.69RC
Or
T=0.68(RA+2RB)C
So,
f =1/T=1.45
(RA+2RB) C
19
------- (3.1.5)
DEPARTMENT OF ELECTRONICS
T = (t ON +
tOFF) in this circuit, when the transistor Q1 is on, the output goes low.
1M
capacitance
in F
0.1M
0.1 10M
10k
1k
0.1
(RA+2RB)
0.01
0.001
1
10
100
1k
10k
100k
Astable frequency in Hz
20
DEPARTMENT OF ELECTRONICS
21
DEPARTMENT OF ELECTRONICS
/\/\/\
DB0-DB7
DOT
MATRIX
LCD
CONTROL
- LER
RS
R/W
LCD
PANEL
SEGMENT
DRIVER
V0
Vdd
Vss
22
DEPARTMENT OF ELECTRONICS
PIN. NO
SYMBOL
FUNCTION
Vss
GROUND
Vdd
+5 V
Vo
RS
REGISTER SELECT
R/W
READ/WRITE
ENABLE
DB0
DATABUS
DB1
DATABUS
DB2
DATABUS
10
DB3
DATABUS
11
DB4
DATABUS
12
DB5
DATABUS
13
DB6
DATABUS
14
DB7
DATABUS
15
ANODE
16
CATHODE
23
DEPARTMENT OF ELECTRONICS
24
DEPARTMENT OF ELECTRONICS
3.3(a) ALGORITHM:
STEP 1. Initialize the LCD
STEP 2. Check whether the vehicle is present or not
STEP 3. Enter the number of cement bags
STEP 4. Activate the conveyer belt motor
STEP 5. Count the number of cement bags and check
whether it is equal to the reference value
STEP 6. Switch of the conveyer motor.
STEP 7. Display the counted value of cement bag.
25
DEPARTMENT OF ELECTRONICS
INITIALIZE
LCD
NO
IS
LORRY
?
YES
ENTER THE NUMBER OF BAGS
(REFERENCE)
ACTIVATE THE
MOTOR
COUNT THE
NUMBER OF
BAGS
NO
IS
C>REF
YES
DEACTIVATE
THE
MOTOR
DISPLAY THE NUMBER OF
BAGS
STOP
ST. JOSEPHS COLLEGE
26
DEPARTMENT OF ELECTRONICS
3.4.PROGRAMMING CODE
Table 3.4(a)
LABEL
MNEMONICS
$o
JB P1.3,$o
START
SETB P1.4
COMMENTS
CHECK THE VEHICLE SENSOR BIT
CLR P1.4
SETB P1.4
$1
$2
$3
JNB P1.5, $1
JB P1.5, $2
JNB P1.5, $3
MOV R2, P2
RPT
MOV A, R2
LCALL DISP
$4
JNB P1.1, $4
$5
$6
JB P1.1, $5
JNB P1.1, $6
SETB P1.3
CLK P1.3
LJMP START
27
DEPARTMENT OF ELECTRONICS
LCD PROGRAM:
LABEL
MNEMONICS
INITIALI-ZATION
COMMENTS
MOV A, #38H
ACALL CMD
CALL LONGDELAY
increment cursor
MOV A, #0EH
ACALL CMD
CALL LONGDELAY
clear display
MOV A, #01H
ACALL CMD
CALL LONGDELAY
MOV A, #06H
ACALL CMD
CALL LONGDELAY
MOV A, #81H
ACALL CMD
CALL LONGDELAY
CMD
CLR P0.0
CLR P0.1
CLR P0.2
MOV P2, A
SETB P0.2
NOP
ST. JOSEPHS COLLEGE
28
DEPARTMENT OF ELECTRONICS
LABEL
MNEMONICS
COMMENTS
NOP
CLR P0.2
CALL DELAY
CALL DELAY
RET
LCWR
CLR P0.0
CLR P0.1
Data word
CLR P0.2
SETB P0.0
MOV P2, A
SETB P0.2
NOP
NOP
CLR P0.2
CALL BUSY
CALL DELAY
CALL DELAY
MOV R0, #FFH
C00
NOP
MOV R1, #FFH
C01
NOP
29
DEPARTMENT OF ELECTRONICS
LABEL
MNEMONICS
COMMNETS
CLR P0.0
SETB P0.1
CLR P0.2
SETB P0.2
JB P1.7, $
CLR P0.2
CALL DELAY
CALL DELAY
RET
DELAY
LONG
DELAY
LOOP1
30
DEPARTMENT OF ELECTRONICS
4.OUTCOME
Embedded based cement bag loading system has been
Constructed after several difficulties.
In order to know the presence of vehicle, In which the
cement bag has to be loaded, a load cell was decided to use. But in the
commercial market availability is rare and costlier. This would cause to
change the vehicle sensing system to switch.
To count the cement bag a photo detective technique
has been used, It consists of infrared light source and detector, When
implementing this technique the response of the IR detector has not satisfied
the desire. It has a very poor range in order to rectify this problem an
LDR(Light Dependent Resistor) has been decided as a sensor and a normal
light source act as source.
31
DEPARTMENT OF ELECTRONICS
4.1RESPONSE OF LDR:
VOLTAGE
ACROSS
THE LDR(V)
FUNCTION
AT
NORMAL
3.8
0.3V
Table(4.1(a))
To display the number of cement bags 7-segment
display section has decided to use. While interfacing the 7-segment section
to the AT89C51 Micro Controller there has been a storage of port pins. To
overcome this problem LCD (Liquid Crystal Display) has been decided to
use. Finally, the embedded based cement bag loading system has been
constructed successfully.
32
DEPARTMENT OF ELECTRONICS
FURTHER DEVELOPMENT:
improved
when
implementing
wireless
33
DEPARTMENT OF ELECTRONICS
5.CONCLUSION
Since the system has been automated, it will reduces man power
It may be implemented in any quality control system for counting
34
DEPARTMENT OF ELECTRONICS
CHAPTER 6
35
DEPARTMENT OF ELECTRONICS
6. BIBLIOGRAPHY
BOOKS REFERRED:
THE MICROCONTROLLER AND EMBEDDED
SYSTEM MUHAMMAD ALI MAZIDI
PROGRAMMING AND CUSTOMIZING THE
8051 MICROCONTROLLER
- MYKE PREDKO
LINEAR INTEGRATED CIRCUITS
- ROY CHOUDRY
WEBSITES:
www.alldatasheets.com
www.retron.com
www.electronicsforu.com
36
DEPARTMENT OF ELECTRONICS
CHAPTER 7
37
DEPARTMENT OF ELECTRONICS
i)
MICROCONTROLLER89C51
GENERAL DESCRIPTION
The AT89C51 is a low-power, high-performance CMOS 8-bit
38
DEPARTMENT OF ELECTRONICS
PIN CONFIGURATION
PIN CONFIGURATION
Ground (VSS)
: 0 V reference.
Power Supply (VDD): This is the power supply voltage for normal, idle,
and power- down operation.
39
DEPARTMENT OF ELECTRONICS
Port 0:
Port 1:
Port 2:
40
DEPARTMENT OF ELECTRONICS
41
DEPARTMENT OF ELECTRONICS
Reset (RST):
Address Latch:
Enable (ALE)
during an
42
DEPARTMENT OF ELECTRONICS
Crystal 2(XTAL2):
NOTE
43
DEPARTMENT OF ELECTRONICS
ARCHITECTURE OF 89C51
44
DEPARTMENT OF ELECTRONICS
OSCILLATOR CHARACTERISTICS
XTAL1 and XTAL2 are the input and output, respectively, of
an inverting amplifier which can be configured for use asan on-chip
oscillator, as shown in figure.
OSCILLATOR CONNECTION
Either a quartz crystal or ceramic resonator may be used.
To drive the device from an external clock source, XTAL2 should be
left unconnected while XTAL1 is driven as shown in figure.
45
DEPARTMENT OF ELECTRONICS
FEATURES:
In recent years the LCD is finding widespread use in replacing LEDs
(seven segment LEDs or other multisegment LEDs). This is due to the
following reasons:
1. Low cost.
2. The ability to display numbers, characters, and graphics. This is in
contrast to LEDs, which are limited to numbers and a few characters
only.
46
DEPARTMENT OF ELECTRONICS
Vdd
Vo
RS
R /W
EN
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
L+
L-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
L
A
M
P
E
X
1
6
1
0
6
47
DEPARTMENT OF ELECTRONICS
DESCRIPTION:
The LCD has 16 pins. The function of each pin is given in the
following table 7.2
PIN
SYMBOL
I/O
Vss
---
DESCRIPTION
Ground
VDD
---
VO
---
RS
R/W
I/O
DB0
I/O
DB1
I/O
DB2
I/O
10
DB3
I/O
11
DB4
I/O
12
DB5
I/O
13
DB6
I/O
14
15
16
DB7
L+
L-
I/O
-
48
DEPARTMENT OF ELECTRONICS
INTERFACING 4- BITS:
Normally there are eight data bits available in the LCD. Here there are
only four data bits are used to interface LCD with the microcontroller. The
following procedure helps how to interface a 4-bit.
POWER ON
R/W DB7
0
0
DB6
0
DB5
1
DB4
0
RS
0
R/W DB7
0
0
DB6
0
0
A
49
DB5
1
DB4
0
DEPARTMENT OF ELECTRONICS
A
RS
R/W DB7
DB6
DB5
DB4
S/C
R/L
1/D
SH
FUNCTION SET
CURSOR
DISPLAY
SHIFT
ENTRY MODE
SET
CLEAR
DISPLAY
INITIALIZATION ENDS
ABBREVIATIONS:
I/D = 1
Increment
I/D = 0
Decrement
S=1
S/C = 1
Display shift
S/C = 0
Cursor move
R/L = 1
R/L = 0
DL = 1
8 bits
DL = 0
4 bits
N=0
1 line
50
DEPARTMENT OF ELECTRONICS
5x10 dots
F=0
5x7 dots
R S R /W E N
P 1 .1 P 1 .2 P 1 .3
P 1 .4
A T 8 9 C 5 1 P 1 .5
P 1 .6
P 1 .7
1
V ss
2
V dd
3 V o
4
R S
5 R /W
6 E N
7 D B 0 L
8 D B 1
9 D B 2 C
10 D B 3
11 D B 4 D
12 D B 5
13 D B 6
14 D B 7
15 L+
16 L-
51
DEPARTMENT OF ELECTRONICS
CIRCUIT DESCRIPTION:
There are sixteen pins available in the LCD. They are V SS, VDD, VO,
R/W, RS, EN, DB0-DB7, L+ and L-. The microcontroller has connected
with the LCD through Port 1. The VSS, VDD and VO are connected with GND,
+VCC and 10K Preset. The port pins P1.1, P1.2, and P1.3 are connected with
RS, R/W, and EN. From the data bits DB0 DB7, the DB4 -DB7 is
connected with P1.4 P1.7. The following program shows the LCD
initialization with microcontroller.
52
DEPARTMENT OF ELECTRONICS
7.3. Introduction
The 555 timer is a highly stable device
for generating accurate time delay or oscillation. Signifies corporation
first introduced this device as the SE555/NE 555 and it is available in
two package styles,8-pin circular style,TO-99 can or 8-pin mini DIP
or as 14-oin DIP. There is also available counter timer such as Exiras
XR-2240 which contains a 555 timer plus a programmable binary
counter in a single 16-pin package. A single 555 counter can provide
time delay ranging from microseconds to hours whereas counter timer
can have a maximum timing range of days.
The 555 timer can be used with supply voltage in the range of
+5v to +18v and can drive load up to 200mA.It is compatible with
both TTL and CMOS logic circuits. Because of the wide range of
53
DEPARTMENT OF ELECTRONICS
supply voltage, the 555 timer is versatile and easy to use in various
applications. Various applications include oscillator, pulse generator,
ramp and square wave generator, monoshot multivibrator, burglar
alarm, traffic light control and voltage monitor etc
Ground
Vcc
Trigger
Discharge
Output
555
Threshold
Reset
control voltage
upper
comparator(UC)
and
(1/3)Vcc
to
the
lower
54
DEPARTMENT OF ELECTRONICS
In the standby state, the output Q of the control flipflop (FF) is HIGH. This makes the output LOW because of power
amplifier, which is basically an inverter. A negative going trigger
pulse is applied to pin 2 and should have its dc level greater than the
threshold level of the lower comparator. At the negative going edge of
the trigger, as the trigger passes through (Vcc/3), the output of the
lower comparator goes HIGH and sets the FF. During the positive
excursion, when the threshold voltage at pin 6 passes through (2/3)
Vcc, the output of the upper comparator goes HIGH and resets the FF.
55
DEPARTMENT OF ELECTRONICS
56
DEPARTMENT OF ELECTRONICS