REPORT1 2

download REPORT1 2

of 69

Transcript of REPORT1 2

  • 7/30/2019 REPORT1 2

    1/69

    CHAPTER - 1

    ORGANISATION PROFILE

    Neyveli, Home of the Neyveli Lignite Corporation, is today Indias energy

    bridge to the 21-century. Neyveli is a town located about 55 km east of

    Cuddalore in the South Arcot district of Tamil Nadu. Pt.Nehru launched a

    mining operations with his golden touch in May 1957. During the

    construction of irrigation wells occurrence of lignite deposits at shallow

    depths was noticed in Neyveli area. When systematic geological

    investigations were taken up in the area, occurrence of lignite over an area of

    260 sq.km. With reserves of 2100 million tones discovered. NLC has

    achieved the objectives it has set for itself. Fulfilling its corporate mission to

    be the leader in the industry. Neyveli Lignite Corporation is certified ISO

    9001:2000 for Quality Management, ISO 14001:2004 for

    Environment Management, OHSAS 18001 forSafety Management.

    Neyveli Lignite Corporation Limited (NLC) is a government-owned

    lignitemining company in India and is in service of the nation for the last 4

    decades. One of the public sector undertakings, the company is wholly

    owned by the Union Government (49 percent) and administered through the

    Ministry of Coal. Computing of two open cast mines, two pit head Thermal

    Power Stations, with an installed capacity of2490 MW of electricity per

    year. Of this, the origin state ofTamil Nadu consumes 1167 MW, with the

    neighboring states (KeralaKarnataka, and Andra Pradesh) consuming most

    of the rest. NLCs growth is sustained and its contribution to Indias social

    and economic development is significant. Neyveli Lignite Corporation

    Limiteds net current assets stand at Rs 3744.81 crore as on FY 2006-2007.

    1

    http://en.wikipedia.org/wiki/Government-owned_corporationhttp://en.wikipedia.org/wiki/Lignitehttp://en.wikipedia.org/wiki/Mininghttp://en.wikipedia.org/wiki/Indiahttp://en.wikipedia.org/wiki/Public_sector_undertakinghttp://en.wikipedia.org/wiki/Government_of_Indiahttp://en.wikipedia.org/wiki/Ministry_of_Coal_(India)http://en.wikipedia.org/wiki/Watthttp://en.wikipedia.org/wiki/Electricityhttp://en.wikipedia.org/wiki/Tamil_Naduhttp://en.wikipedia.org/wiki/States_and_territories_of_Indiahttp://en.wikipedia.org/wiki/Keralahttp://en.wikipedia.org/wiki/Karnatakahttp://en.wikipedia.org/wiki/Andra_Pradeshhttp://en.wikipedia.org/wiki/Lignitehttp://en.wikipedia.org/wiki/Mininghttp://en.wikipedia.org/wiki/Indiahttp://en.wikipedia.org/wiki/Public_sector_undertakinghttp://en.wikipedia.org/wiki/Government_of_Indiahttp://en.wikipedia.org/wiki/Ministry_of_Coal_(India)http://en.wikipedia.org/wiki/Watthttp://en.wikipedia.org/wiki/Electricityhttp://en.wikipedia.org/wiki/Tamil_Naduhttp://en.wikipedia.org/wiki/States_and_territories_of_Indiahttp://en.wikipedia.org/wiki/Keralahttp://en.wikipedia.org/wiki/Karnatakahttp://en.wikipedia.org/wiki/Andra_Pradeshhttp://en.wikipedia.org/wiki/Government-owned_corporation
  • 7/30/2019 REPORT1 2

    2/69

    1.1 MINES - I

    Demarcated over an area of 16.90 Sq.km. with a reserve of about 287

    million tones. Mine-I is situated on the Northern part of the field adjacent tothe Neyveli Township. The lignite seam was first exposed in August 1961

    and regular lignite mining was commenced in May 1962. The mine has a

    production capacity of 10.5 million tones of lignite per annum and feeds

    lignite to the 600 MW capacities of first Thermal Power Station and

    420MW Thermal Power Station-I Expansion.

    1.2 MINES IA

    Mine IA is adjacent to the existing Mine-I block on the eastern side. The

    project was commissioned in 2001. The total reserve in Mine-IA is 120

    million tonnes in an area of11.6 sq.km. The annual capacity of this mine is

    3 million tonnes and lignite was first exposed in March 2003. This mine

    feeds lignite to M/S ST-CMS, an independent Power project 250 MW and

    NLCs Thermal Power Station.

    1.3 THERMAL POWER STATION - I2

  • 7/30/2019 REPORT1 2

    3/69

    An opitome of India-Soviet collaboration, Neyveli-Thermal Power Station-I

    (TPS-I) was commissioned with one unit of50 MW each and three units of

    100 MW each.

    The unique features of this power station.

    First lignite-fired Thermal Power Station in South East Asia

    First pit head Thermal Power station in India

    First largest Thermal Power station in South India

    Continuously achieving over 70% plant load factor, from 1982-83 to1991-92 against the national average of around 50% and has

    continuously bagged the meritorious productivity award instituted by

    the Department of Power, Government of India.

    The power generated from The Thermal Power Station is fed to the grid of

    Tamilnadu Electricity Board, the sole beneficiary.

    1.4 THERMAL POWER STATION-I EXPANSION

    This Power Station consists of two units of210 MW each. The first unit of

    this Power Station was synchronized on 21.10.2002 and the second unit on

    22.07.2003. The power generated from this Power Station is shared by

    Tamilnadu, Kerela, Karnataka and Pondichery.

    Some of the special features of this power station are:

    3

  • 7/30/2019 REPORT1 2

    4/69

    Fully Automated Plant controlled by Distributed Digital

    Control Monitoring and Information System(DDCMIS),

    Environment-friendly equipment and Dry Ash collection

    system,

    Online Sulphur dioxide (SO2) Monitoring,

    Oxides Nitrogen (NOx) Analyzers.

    1.5 MINES - II

    Mine II is located 5 Kms South of Mine-I spread over an area of 26sq.kms. with 390 million tonnes reserve. The lignite steam was first exposed

    in September 1984 and regular lignite mining commenced in March 1985.

    The maximum overburden is 103m, and the lignite thickness varies from 8 to

    22 m. Initially, the mine was started with a production capacity of 4.7

    million tonnes and in February '83 the capacity was enhanced to 10.5

    million tonnes per annum. The lignite production in this mine meets thefuel requirement of Thermal Power Station-II.

    4

  • 7/30/2019 REPORT1 2

    5/69

    1.6 THERMAL POWER STATION-II

    The Second Thermal Power Station consists of7 numbers of210 MW Units

    and hence having an installed capacity of 1470 MW. Units 1, 2&3 were

    constructed in the First Stage followed by the Second Stage Units 4, 5, 6 & 7.

    Lignite for the station is supplied from Mine-II having an annual capacity of

    10.5 Million Tonnes. Unit 1 was commissioned in March 1986 and

    commissioning of the 7th unit was carried out in June 1993. Year after year

    production records are broken by Thermal Power Station II. The southern

    states of TamilNadu, Kerala, Karnataka and AndraPradesh and the Union

    Territory of Puducherry are the beneficiaries of the power produced in the

    power station.

    The First Stage units are fully of foreign origin. Boilers are of M/s EVT

    Germany design and manufactured, supplied and erected by M/S Traselectro

    of Hungary. Turbines are of M/S Westing house U.S.A design and

    manufactured, supplied and erected by the erstwhile M/S Franco Tosi of Italy

    (now merged with M/S Ansaldo of Italy). Generator is of Ercole Marelli, Italys

    supply. Stage-II units are fully of M/S BHELs supply even though the Boilers

    are of M/S EVT Germanys design, Turbines are of M/S KWU Germanys (a

    Siemens subsidiary) design and Generator is of Russian design. 9014.04

    Million units of Electricity can be generated per annum from this power station

    at 70% annual plant load factor; but the actual production figures in recent years

    are much higher.

    5

  • 7/30/2019 REPORT1 2

    6/69

    1.6.1 SWITCH YARD TS II

    The switchyard is to transmit power generated by 7 Nos. of210 MW units

    (3Units in stage 1 and 4 units in stage 2). The transmission voltage is 230 kV

    and 400kV. Thermal Power Station II switchyard is one of the biggest switch

    yard in the Southern Grid. 230kV system is connected to TNEB grid and

    Puducherry Electricity system. 400kV system is connected to Southern

    Electricity grid through Power Grid Corporation Limited lines. The total share

    of power from central generating stations such NLC, Ramagundam, MAPS,

    Kaiga, Taltcher etc is fed to Puducherry Electricity System through the 2 Nos.

    of 230kV feeders from the Thermal Power station II 230kV yard. The 230kV

    and 400kV system in switchyard are interconnected through 400kV/230kV

    interconnecting auto transformers.

    The bus arrangements in switchyard are 2 Main bus and 1 transfer bus system.

    There are 3 system buses in 230kV and 400kV yard namely First Bus, Second

    Bus and Transfer Bus. Each bay is meant for each equipment to connect with

    any one bus. The bay consists of first Bus isolator (89A), Second bus isolator

    (89B), Line isolator (89C), Transfer Bus Isolator (89 D, Breaker, current

    Transformer, Capacitance Voltage Transformer, Lightening arresters, Breaker

    earth bus side (89E1), Breaker earth line side (89 E2), Line earth (89E3) etc.

    Each bay has respective control panel and relay panel in control room. Wave

    Traps are provided in transmission lines except mining feeders for PLCC

    purpose.

    Isolator is an off load device. It can be operated only without load since it is not

    having arc quenching medium. Isolator is used to select any one of the bus

    system to the element and also for perfect isolation of breaker.

    6

  • 7/30/2019 REPORT1 2

    7/69

    Breaker is an on load device. It can be operated either with load or without load.

    Through the breaker only the element is charged or isolated. The breaker is an

    fast acting device During fault the protection relays senses the fault and trips the

    breaker. The faulty equipment is isolated from the system by tripping of

    respective breaker.

    230KV SYSTEM OPERATION

    There are 22 bays in 230kV switchyard as follows

    3 Nos. of Generator bays for stage 1 units.

    2Nos. of Station Transformers bays for Station Transformer (ST1 and

    ST2) of capacity 50MVA each. The station Transformers are feeding

    supply to Stage1 Station Auxiliaries.

    2Nos. of Station Transformers bays for Station Transformer (ST3 and

    ST4) of capacity 30 MVA each. The station Transformers are feeding

    supply to Stage2 Station Auxiliaries.

    2 Nos. of Mining feeders bays ( Mining Feeder 1 and Mining Feeder

    2) to feed supply to Mines 1 and Mines 1A

    2Nos. of Mining feeders bays ( Mining Feeder 3 and Mining Feeder

    4) to feed supply to Mines 2

    7

  • 7/30/2019 REPORT1 2

    8/69

    2 Nos. of Tie line (Tie Line 1 and Tie Line 2 ) feeder bays are inter

    linking Thermal Power station 1 and Thermal Power Station 2

    STCMS-1&STCMS-2 bays are to inter linking the STCMS Thermal

    Station

    Kadalangudy bay is to connect the TNEB sub station at

    Kadalangudy

    Puducherry feeder bay is to connect Villianur sub station in

    Puducherry.

    Bhahoor feeder bay is to connect Bhahoor sub station in Puducherry.

    Inter connecting Transformer 1 and Interconnecting Transformer 2

    bays are to inter connect 400kV system through 2 Number of Auto

    Transformers of each of capacity 250 MVA

    One number of Bus coupler bay is to connect the 2 Main buses

    namely Bus 1 and Bus 2

    One number of Bus Transfer bay with Transfer Bus is to divert load of

    any one bay main breaker to Bus Transfer breaker without supply

    interruption and with all protection.

    8

  • 7/30/2019 REPORT1 2

    9/69

    400kV SYSTEM

    There are 13 bays in 400kV switchyard as follows

    4 Nos. of Generator bays for stage 2 units.

    5 Nos of Transmission line bays namely (Chennai, Salem-1, Salem-2,

    Trichy- 1and TS-1 Expansion to TSII

    2 Nos of inter connecting Transformers of capacity 250 MVA

    1 No Bus coupler bay

    1 No of Bus Transfer Bay.

    1.7 THERMAL POWER STATION-II EXPANSION

    Government of India sanctioned the installation of 2 units of250 MW each as

    an expansion of Second Thermal Power Station on 18th October 2004 at a cost

    ofRs. 2030.78 crore. The time schedule for commissioning of Unit I is 53

    months and for Unit II is 57 months from the date of sanction of GOI.

    Revised cost estimate of the project was approved by GOI for Rs. 2453.57

    Crores during July 2008. During the year 2008-09, lifting of boiler drum for

    unit 2 was completed in May 2008. Erection of Chimney and Cooling tower

    1 have been completed. Erection works are in progress in respect of Boiler,

    Turbine condenser and other packages. The first unit is expected to be

    commissioned in May 2010 and second unit in November 2010.

    9

  • 7/30/2019 REPORT1 2

    10/69

    1.8 FUTURE PLANS

    NLC is poised for a rapid growth in the mining and power generation capacityand is expanding its activities not only at Neyveli but also in other parts of the

    country. NLC is also venturing in New projects with fuels other than Lignite.

    The following projects are proposed to be taken up by NLC during the

    11th /12th Plan period :

    Bithnok Lignite Mine-cum-Power Project ( 2.1 MTPA Lignite Mine

    with linked 250 MW Power Plant)

    Hadla Lignite Mine-cum-Power Project (Barsingsar Extension) ( 2.5

    MTPA Lignite Mine with linked 250 MW Power Plant)

    Jayamkondam Lignite Mine cum Power Project ( 13.5 MTPA Lignite

    Mine with linked 1600 MW Power Plant)

    Valia Lignite Mine cum Power Project at Gujarat ( 8 MTPA Lignite

    Mine with linked 1000 MW Power Plant)

    A 15 MTPA Coal Mine under Joint Venture with MCL and a 2000

    MW Power Plant in Ib valley in Orissa.

    NLCs New Thermal Power Project at Neyveli ( 2 X 500MW ) in lieu

    of TPS-I.

    Mine III linked with TPS III ( 8 MTPA Lignite Mine and 1000

    MW Power Plant) at Neyveli. Coal based power project at Madhya Pradesh (1000 MW Power Plant)

    Coal based power project at Jharkand (1000 MW Power Plant)

    Coal based power project at Uttar Pradesh (2000 MW Power Plant)

    10

  • 7/30/2019 REPORT1 2

    11/69

    Fund requirement of the above projects will be met from internal accruals and

    borrowings. Upon successful completion of the above projects, NLCs mining

    capacity will be increased to 79.70 MTPA, ( both Lignite and Coal ) and power

    generation capacity will be raised to 14740 MW.

    CHAPTER 2

    CONTROL AND INTERLOCKS

    2.1 ISOLATORS AND INTERLOCKS

    2.1 i INTRODUCTION

    The Isolators are OFF LOAD electrical device in the 230 KV and 400 KV

    Switchyard. There are 3 different types of isolators available in the switchyard. All

    the isolators both bus and line in 230Kv side are of Double break center operated.

    All the bus isolators in 400Kv side are of Pantograph type. The line isolators in

    400Kv side are of center break type. All the isolators are motor operated. All the

    power contactors, switches, fuses, limit switches, aux. contacts, motor with gearassembly etc. are housed in the Motor Operated Mechanism (MOM) box.

    2.1 ii ISOLATOR CONTROL

    The motor operated isolators can be operated remotely from control room or from

    the local MOM box electrically by selecting the local / remote accordingly only

    when certain interlocks (conditions) are satisfied.. Normally this switch is set for

    remote operation only. In case of failure of remote operation or for test purposes

    local operation is done. A fly back control switch is provided in the control panel

    for operating the isolators. The green lamp in the control panel will glow indicating

    that the isolator is open. A red lamp would indicate the closed condition of the

    isolator.11

  • 7/30/2019 REPORT1 2

    12/69

    2.1 iii MANUAL OPERATION

    In addition to electrical operation, manual operation with an operating handle is

    also possible. When all the interlock conditions are satisfied if the push button

    MPB in the MOM box is pressed the main solenoid coil MSC is energised. The

    plunger shaft of the solenoid coil normally rests in the groove of the castle key

    interlock shaft (KIMC). On energisation of the solenoid coil the plunger shaft is

    lifted up, thus releasing the castle key. The castle key can now be turned in the

    anticlockwise direction to release the mechanical interlock latch, which would be

    normally act as stopper for the insertion of manual operation handle.

    The manual operation handle can now be inserted through the opening provided

    for and turned, to close or open the isolator. After the manual operation is carried

    out the castle key is to be put back in position and turned in the clockwise direction

    restoring the condition needed for remote/local operation by electrically.

    2.1 iv ISOLATOR INTERLOCKS

    The interlocks are implemented for safe guarding the equipments and for personalsafety. The isolator can be closed / opened electrically, only when certain

    interlocks (conditions) are satisfied.

    For 230Kv bus isolator 89A i.e. I bus isolator can be opened eclectically

    from remote if the following conditions are satisfied.

    a. KIMC (Key interlock main coil) key i.e. isolator manual operation

    key shall be in the front panel of the MOM box and turned 'ON'.

    b. Over load relay shall be in reset condition.

    c. II bus isolator (89B) is open.

    12

  • 7/30/2019 REPORT1 2

    13/69

    d. Breaker (52) is open

    e. Local / remote switch is in remote position

    f. Transfer bus isolator ( 89D) is open

    The I bus isolator (89A) can be closed electrically from remote if the following

    conditions are satisfied along with the above mentioned conditions (a to f). (If the

    element is being taken in to service from shutdown).

    g. Earth switch (E1) is open

    h. CVT-A isolator in closed in condition i.e. 230Kv I bus shall be in

    charged condition.

    If the element is already in service on transfer bus then 89A can be opened if

    transfer bus isolator (89D) is in closed condition, bus transfer isolator (89TrA) in

    closed condition along with the above mentioned conditions a to e. If the element

    is already in service on transfer bus then 89A can be closed if transfer bus isolator

    (89D) is in closed condition, bus transfer isolator(89TrA) in closed condition and

    the above mentioned conditions a to e and g&h.

    2.1 v ISOLATOR OPERATION:

    For both the opening and closing operations 3phase AC and 220V DC switches

    shall be in ON condition along with fuses. Fuse rating for 220V DC is 2A and for 3

    phase AC is 4A. As soon as closing command is given from remote, Bus BarProtection CT switching relay 89AX (In CTMK) will pickup and extend DC

    supply to the closing contact in MOM box.

    The open indication of 89A will vanish immediately as soon as command is given13

  • 7/30/2019 REPORT1 2

    14/69

    provided all the above interlocks are satisfied. Close indication is in series with

    89A aux. Contact (NO) and 89AX(NO). When aux. contacts have changed while

    closing, 89AY relay will pick up (In relay panel).

    The open indication will come when the aux. Contacts are changed and 89AX is

    reset. The open indication is in series with aux. contact (NC) and 89AX (NC).

    When aux. contacts have changed while opening, 89AY relay will reset. This

    89AY relay is used for isolator contact multiplication purpose. A typical control

    circuit for a 1st bus isolator is shown in fig 1.1.1

    14

  • 7/30/2019 REPORT1 2

    15/69

    RC

    O C

    C C

    M SC

    C C

    C C

    RC

    220V DC SUPPLY

    J 23

    FS 28

    4A

    J 5A J 5FS

    2A

    J 7

    K23

    KIM C O LR

    K529 89BY

    89BY K537

    K567 52 K569 89D

    89D 89TRA

    K54989BCX

    L R

    K49

    K51 K551

    PBOK55

    O C

    O N C 89A

    89E1K571

    89C VTAK531

    K53C .C LSO

    K59

    89AX

    K547

    K47

    89AX

    LSC

    O CC CK31 K33 K43 K45

    89A X-K63

    K35

    L RK539 K541

    PBC

    K547

    FS

    2A

    J

    8J 6

    FS29

    4A

    89A L251RED

    L253

    G REEN89A

    89A

    89A

    89AYK573

    K575

    O N C

    89AX

    89AX

    89A ISOLATOR CONTROL CIRCUIT

    +v e -ve

    Fig 1.1.1 FIRST BUS ISOLATOR CONTROL CIRCUIT

    DIAGRRAM

    15

  • 7/30/2019 REPORT1 2

    16/69

    2.2 BREAKER CONTROL CIRCUIT

    There are two types of breakers available in the 230/400 Kv yard; one is gangoperated and another is individual pole operated. In the gang operated type all the

    three poles are controlled by a single operating mechanism. In the individual pole

    type, each pole will have its own operating mechanism. At switchyard three

    different types of operating mechanisms are available. One is Spring Charging

    mechanism, another is Hydraulic mechanism (oil) and the third one is Pneumatic

    (air) mechanism.

    Each breaker irrespective of the type will have one number Closing coil (CC) and

    two numbers of Tripping coils(TC1 & TC2). Since opening of the breaker in case

    of a fault in the system is more important as a redundancy two nos. of Trip coils

    are provided. Each TC will be monitored for its healthiness by Trip coil

    supervision relays (95,195). When the breaker is in open condition two relays will

    monitor the TC healthiness via breaker NC aux. Contact. When in service one

    relay will monitor the TC healthiness via breaker NO aux. Contact. When there is

    any problem in the TC then its circuit supervision relay will sense and give alarm.

    These trip coil supervision relays contacts are used in the closing circuit interlock

    of the breaker. If any TC is unhealthy then the breaker will not close.

    Breaker can be closed from the remote when the following interlocks are satisfied.

    1. Both the earth switches E1&E2 are kept opened.

    2. All the trip relays 86, including the Bus Bar protection relay 96 are in reset

    condition.

    3. Trip coil supervision relays are reset.

    16

  • 7/30/2019 REPORT1 2

    17/69

    4. Local- remote switch in remote condition.

    5. All the synchronizing conditions are satisfied.

    6. Spring charged or sufficient oil or air pressure availability shall be ok dependingon the type of breaker.

    2.2 i LOCAL BREAKER BACKUP PROTECTION

    If any protection relay senses the fault and initiates a tripping via trip relay contacts

    then the breaker TC1 & TC2 will pickup and breaker will open. If the breaker fails

    to open even after receiving tripping signal then the fault will not get cleared and

    lead to unwanted damages to other related equipments. To avoid such things one

    backup protection for the breaker is available which is called Local Breaker

    Backup protection (LBB) .

    When the element is in service all the three phases current will be passing thro the

    LBB relay. As soon as the trip relay picks up one of its contact will extend DC

    supply to the trip coils. Simultaneously one more contact of the trip relay will

    extend the DC supply to the LBB relay. As soon as DC supply is extended to the

    LBB relay, the LBB relay will pickup and initiates a timer 2/50Z, which starts

    counting 200ms. The TC1&TC2 will pickup as soon as DC supply was extended to

    them and breaker will open. When the breaker opens the current thro the LBB

    relay will become zero and the timer 2/50Z resets. But if the breaker did not open

    then the current in that pole will be flowing thro LBB relay and after 200ms time

    was lapsed the timer 2/50Z will pickup and initiates a contact in the Bus BarProtection DC circuit which in turn trips all the elements connected that bus where

    the faulty breaker was connected. When all the elements connected to the bus

    including the Bus coupler opens then the corresponding bus will become dead the

    17

  • 7/30/2019 REPORT1 2

    18/69

    fault will be cleared. Maintenance personnel can access the breaker, which was not

    opened and can start working.

    2.3 FEEDERS DISTANCE PROTECTION

    Basically these relays operate on the principle of Impedance (ratio V/I)

    measurement. Any conductor used in the transmission line will have its own

    characteristic impedance the value of which will be given by the manufacturer of

    the conductor. When ever a fault occurs in the line the impedance will reduce

    depending upon the fault current. A relay, which measures this impedance

    continuously, will operate and trip the feeder to clear the fault. Theoretically the

    V/I ratio measured will be constant for any particular fault position and will only

    vary if the position of the fault with respect to the relay point varies. Thus nearer

    the fault to the relay lower would be the ratio V/I and conversely the farther the

    fault from the relay higher would be the ratio V/I. Hence this impedance relays are

    also called as Distance protection relays.

    2.4 BUS BAR PROTECTION (BBP)

    2.4 i INTRODUCTION

    BBP is provided for bus faults like flashover at the isolators, at the circuit breaker

    bushings, CT and PT faults. A large proportion of bus bar faults results from

    human error rather than a switchgear components failure. It also covers the failure

    of insulators of isolators and breakers during operation and mal-operation of earth

    switches.

    2.4 ii BBP SYSTEM

    The BBP relays should be sensitive so that the bus faults are sensed and cleared

    instantaneously to ensure grid stability. In BBP scheme there are three zones viz.

    zone-A, zone-B, zone-C covering first bus, second bus and Tr. bus. The BBP

    18

  • 7/30/2019 REPORT1 2

    19/69

    scheme is based on differential protection principle, which compares the

    magnitude and phase of the circulating currents in the respective zones of

    protection.

    The BBP circuit is the combination of CTs and relays which are used to detect

    faults occurring within the bus bar zones and which initiates tripping of all those

    circuit breakers connected in that zone so that the concerned bus will become dead

    to isolate this faults.

    2.4 iii BBP CT CIRCUIT

    When BBP operates in any one of the busses, all elements connected to the faultybus including bus coupler trip. If the Transfer bus breaker is in service, it also gets

    tripped. BBP will be always selective irrespective of the configuration. Each zone

    has got three BBP Differential relays namely 87A, 87B, 87C. All the BBP CTs of

    that zone are connected differentially with these relays. Two secondary cores

    namely Core4 and Core 5 of the Switchyard CTs (1600A/1A in 230Kv side and

    2000A/1A in 400kv side) of each element are used for the BBP. Core-4 is for Mainzone and Core 5 is for Check Zone.

    Whenever an element is connected to the 1st bus or 2nd bus or Transfer bus

    accordingly CT switching relays 89Ax or 89BX or 89Dx housed in the CT

    Marshalling Kiosk of the respective bay in outdoor yard will pickup. CT secondary

    of the BBP core 4 will be connected to the Main Zone differential relay circuits

    Zone A, Zone B or Zone C through the 89Ax or 89BX or 89DX relay contacts.BBP Core 5 will be directly connected to the Check Zone Differential relay

    circuits. This check zone is to ensure that the fault has really occurred in the bus.

    For bus coupler Breaker tripping, the BBP core of the B/C CT on the 1st bus side

    of the breaker will be connected to Zone-B and the BBP core of the B/C CT on the

    19

  • 7/30/2019 REPORT1 2

    20/69

    2nd bus side of the breaker will be connected to Zone-A. For the transfer bus main

    zone core is connected to zone-A or zone-B through 89TRAx or 89TRBx and core

    2 is connected to zone-C.

    2.4 iv OPERATION OF BBP

    During normal operation secondary current will circulate in the zone and there will

    not be any differential current passing thro' differential relay 87. In case of fault

    the differential current flow thro' the respective relays which will initiate in case of

    open circuit of any one of the CTs or when the unbalance current increases due to

    the saturation of the any of the CTs differential current will flow thro' differential

    relays which will initiate unnecessary tripping. To avoid mal operation like thisBBP supervisory relays 95A,B,C and CH are provided. These relays are connected

    parallel to the differential relay 87. For low differential current flow thro' 87 & 95,

    95 relay picks up earlier than 87 relays which will short the differential relay 87

    after a time delay. An annunciation Bus Bar Protection Zone A/ B /C Faulty will

    come. Immediately the concerned element has to be checked and problem shall be

    corrected otherwise till 95 relay is in picked up condition Busbar Protection of thatzone will be out of service. But when actual fault comes the diff.current flow will

    be high and 87 picks up faster than 95. The diff. Relay 87 picks up instantaneously

    before 95 relay shorts this relay. The connections of the BBP circuits are shown in

    the fig.2.4.1 to 2.4.3.

    2.4 v BBP ACTUATION SCHEME

    Each element has got a BBP relay (96) which will trip the particular element. In

    case when the BBP operates 96 relay of all the elements connected to the particular

    bus have to energise including B/C. For each zone BBP cut out switch is provided

    in the control panel. In case BBP operates in any one of the buses, differential

    relays 87CH along with 87A or 87B or 87 C will energise 96 relay of allthe20

  • 7/30/2019 REPORT1 2

    21/69

    elements connected to that bus including B/C.

    In case LBB operates for anyone of the elements 2/50z and 50z will initiate BBP.

    87 CH check zone differential relay which get energized from separate CT core to

    ensure that really a fault has occurred and BBP should not act for false pick up of

    the main zone 87A, 87B, 87C differential relays. If the 87C Check Zone relay is

    not available then for any false pick up of the Zone A,B,C differential relays

    87A,87B or 87C the BBP will act.

    21

  • 7/30/2019 REPORT1 2

    22/69

    BUS II

    TRANSFER BUS

    BUS II

    TRANSFER BUS

    52

    TTB2

    A

    B

    C

    ZONE 1 BUS

    WIRES

    A

    B

    C

    A

    B

    C

    A

    B

    C

    N

    N

    89A89B

    89C

    52

    TTB2

    TTB1

    89D

    BUS I BUS I

    89BX

    89DX

    89AX

    89BX

    89DX

    89AX

    89D

    89A89B

    TYPICAL

    UNIT

    TYPICAL

    FEEDER

    TTB1

    ZONE 2 BUS

    WIRES

    ZONE 3 BUS

    WIRES

    CHECK ZONE

    BUS WIRES

    Fig : 2.4.1 BBP ZONE 1,2,3 & CHECK ZONE CT CONNECTION DIAGRAM

    22

  • 7/30/2019 REPORT1 2

    23/69

    B 1 1

    B 3 1

    B 5 1

    B 8 1

    A

    B

    C

    N

    Z O N E I

    W I R E S

    9 5 C A X

    9

    5

    C

    A

    1 0 - 7 0 V

    IN O U T

    S D 1 S D 2 S D 3

    IN O U TIN O U T

    1 0 - 7 0 V 1 0 - 7 0 V

    95

    C

    B

    9

    5

    C

    C

    S D 4 S D 5S D 6 S D 7 S D 8

    S D 9

    A

    B

    C

    N

    A

    B

    C

    N

    B 1 5

    B 3 5

    B 5 5

    B 2 1

    B 4 1

    B 6 1

    B 8 1

    9 5 C B X 9 5 C C X

    2 5 - 3 2 5 V2 5 - 3 2 5 V

    2 5 - 3 2 5 V

    ZONEII

    WIRES

    Z O N E I II

    W I R E S

    IN O U T

    1 0 - 7 0 V

    S D 7 S D 8S D 9

    A

    B

    C

    N B 8 1

    9 5 C X

    2 5 - 3 2 5 V

    C h e c k Z o n e w i re s

    8 7

    A A

    8 7

    A B

    8 7

    A C

    8 7

    B A

    8 7

    B B

    8 7

    B C

    8 7

    C A

    8 7

    C B

    8 7

    C C

    8 7 A

    C H

    8 7 B

    C H8 7 C

    C H

    B 8 1

    9

    5

    C

    H

    Fig 2.4.2 BBP DIFFERENTIAL RELAYS

    23

  • 7/30/2019 REPORT1 2

    24/69

    96

    CC

    96

    CC

    96

    CC

    +ve

    TYPICAL

    FEEDER

    TYPICAL G.T

    TYPICAL ICT.

    89AX

    89BX

    89AX

    89BX

    50Z 2/50ZX

    89AX

    89BX

    50Z 2/50ZX

    89TRAX

    89TRBX

    50Z 2/50Z

    2/50Z

    89DX

    89DX

    89DX

    80T

    TRANSFER BUS

    COUPLER

    IN

    OUT

    IN

    OUT

    IN

    OUT

    IN

    OUT

    87AA

    87AB

    87AC

    87BA

    87BB

    87BC

    87CA

    87CB

    87CC

    87CHA

    87CHB

    87CHC

    CHECK

    ZoneC

    ZoneB

    ZoneC

    I II B/T

    -

    Ve

    96 96 96

    96

    AB

    96

    AB

    96

    AB

    96

    ABC

    96

    C

    96C

    P3

    P3

    P5

    P7

    P9

    P11

    P13

    P15

    P1

    1

    P1

    3

    P1

    5

    P1

    P296

    B

    C

    A

    96

    B

    C

    A

    96

    B

    C

    A

    50Z

    2/50Z

    2/50Z

    96

    BC

    B

    96

    BC

    B

    96

    BC

    B

    96 96 96

    97

    C

    50Z

    96X

    96 96 96

    Fig 2.4.3 BBP DC CIRCUIT24

  • 7/30/2019 REPORT1 2

    25/69

    CHAPTER 3

    CABLE FAULT

    CABLE

    A cable is two or more wires running side by side and bonded, twisted or

    braided together to form a single assembly. In mechanics cables, otherwise

    known as wire ropes, are used for lifting, hauling and towing or conveying force

    through tension. In electrical engineering cables used to carry electric currents.

    An optical cable contains one or more optical fibers in a protective jacket that

    supports the fibers. For power transmission at distances greater than a few

    kilometres electric cables are used.In the 19th century and early 20th century,

    electrical cable was often insulated using cloth, rubber and paper. Plastic

    materials are generally used today, except for high reliability power cables.

    MULTI CORE CABLE

    A multi core cable is a generic term for an electrical cable that has multiple

    cores. The term is normally only used in relation to a cable that has more cores

    than commonly encountered. For example, a four core mains cable is never

    referred to as multi core, but a cable comprising fourcoaxial cables in a single

    sheath would be considered a multi core.

    25

    http://en.wikipedia.org/wiki/Wirehttp://en.wikipedia.org/wiki/Mechanicshttp://en.wikipedia.org/wiki/Wire_ropehttp://en.wikipedia.org/wiki/Electrical_engineeringhttp://en.wikipedia.org/wiki/Electric_currenthttp://en.wikipedia.org/wiki/Optical_fiberhttp://en.wikipedia.org/wiki/Electrical_cablehttp://en.wikipedia.org/wiki/Coaxial_cableshttp://en.wikipedia.org/wiki/Wirehttp://en.wikipedia.org/wiki/Mechanicshttp://en.wikipedia.org/wiki/Wire_ropehttp://en.wikipedia.org/wiki/Electrical_engineeringhttp://en.wikipedia.org/wiki/Electric_currenthttp://en.wikipedia.org/wiki/Optical_fiberhttp://en.wikipedia.org/wiki/Electrical_cablehttp://en.wikipedia.org/wiki/Coaxial_cables
  • 7/30/2019 REPORT1 2

    26/69

    TYPES OF CABLES

    There are three types of cables such as.

    1- Twisted pair cable

    2- Coaxial cable

    3- Fiber optic cable

    Twisted-Pair Cable

    A twisted pair cable consists of two copper conductors, each one with its own

    plastic insulation and twisted together. One wire carries the signal and other isused as ground reference. The advantage of twisting is that both wires are

    equally affected by external influences. So the unwanted signals are canceled

    out as the receiver calculates the difference between signals in two wires.

    This cable is of two types such as.

    1- UTP (unshielded twisted pair)

    2- STP (shielded twisted pair)

    STP cable has one extra metal shield covering the insulated twisted pair

    conductors. But this is absent in UTP cables. The most common UTP connector

    is RJ45.

    The unshielded twisted pair cable is classified into seven categories based on

    cable quality. Category 1 of cables is used in telephone lines with data ratearound 0.1 Mbps. Whereas Category 5 used in LANs having 100 Mbps data

    rate.

    26

  • 7/30/2019 REPORT1 2

    27/69

    Performance of twisted-pair cable is measured by comparing attenuation versus

    frequency. Attenuation increases with frequency above 100 kHz.

    These cables are used in telephone lines to provide voice and data channels.

    DSL lines and Local area networks also use twisted pair cables.

    Coaxial Cable

    Coaxial cable (coax) carries high frequency signals than twisted-pair cables.

    Coax has a central core conductor of solid wire enclosed in an insulator, which

    is covered by an outer conductor of metal foil. This outer conductor completes

    the circuit. Outer conductor is also enclosed in an insulator, and the whole cable

    is protected by a plastic cover.

    These cables are categorized by RG (radio government) ratings. RG-59 used for

    Cable TV, RG-58 for thin Ethernet and RG-11 for thick Ethernet. The connector

    used in these cables is called BNC connector; it is used to connect the end of the

    cable to a device.

    Though the coaxial cable has higher bandwidth, but its attenuation is much

    higher compare to twisted-pair cables. It is widely used in digital telephone

    networks where a single cable can carry data up to 600 Mbps. Cable TV

    networks use RG-59 coaxial cable. Traditional Ethernet LANs also use this

    cable.

    Fiber-Optic Cable

    A fiber optic cable transmits signals in the form of light. Optical fiber use

    reflection to guide light through a channel. It consists of two main parts: core

    and cladding.

    27

  • 7/30/2019 REPORT1 2

    28/69

    Core is denser compare to cladding and is made up of plastic or glass. Cladding

    acts as a protective cover to core. The difference in density of core and cladding

    is such that a beam of light moving through the core is reflected off the

    cladding, instead of being refracted into it.

    Two modes of propagation of light are possible in optical fiber such as:

    multimode and single mode. Multimode fiber allows multiple beams from a

    light source move through the core. In multimode step-index fiber, the core

    density remains constant from the center to the edges. But in multimode graded-

    index fiber, core density gradually decreases from the center of the core to its

    edge. Graded-index fiber creates less distortion in the signal compare to step-

    index.

    There are two types of connectors for fiber optic cables. The SC connector is

    used for cable TV, and ST connector used for connecting cable to networking

    devices. Attenuation in fiber optic cable is very low compare to other two types

    of cable. It provides very high bandwidth and immunity to electromagnetic

    interference. Light weight and greater immunity to tapping makes it more

    preferable cable.

    Fiber optic cable is often used in backbone networks because of its wide

    bandwidth and cost effectiveness. Local area networks such as 100Base-FX

    network and 100Base-X use this cable. Also it is used by cable TV companies.

    28

  • 7/30/2019 REPORT1 2

    29/69

    CABLE FAULT

    Cable faults are diverse in nature and exhibit differing characteristics. It is

    possible to select a method of location according to the characteristics of the

    fault; this necessitates having the various different types of instruments from

    which the appropriate one has to be chosen. In recent years it has however

    become a practice to convert all faults as far as possible into a type which could

    be located using one technique; this is done by providing fault burning

    equipment in order to convert as far as possible all faults into stable low

    resistances.

    CABLE FAULT LOCATOR

    As the cable used is lengthy (for eg.,500m), it is very difficult to find affected

    cable by manual process. So we are using cable fault locator method to locate

    the fault in the cable.The cable fault locator method involves following steps.

    The steps necessary for determining fault locations can be sub-

    divided into five main catagories.

    1. Fault classification identifying the type of fault

    2. Pre-location determining the distance to the fault

    3. Route tracing determining the route of the cable at the site

    4. Pinpointing determining the exact position of the cable the site

    5. Cable identification determining the faulty cable amongst several cables

    29

  • 7/30/2019 REPORT1 2

    30/69

    For carrying out the above process, there are various methods, which

    are as follows.

    Insulation test, measuring the resistance of a fault

    Testing

    DC test (determining the flash-over voltage)

    Sheath fault test

    VLF test (determining the flash-over voltage)

    Pre-location

    Teleflex measurements (pulse reflection and TDR measurements)

    ARM (Arc Reflection Method) ARM Plus (Arc Reflection Method Plus)

    ARM power burning

    Decay Plus (Arc Reflection Method)

    Decay (travelling wave method, oscillation method)

    Current catching (ICE)

    Three-phase current catching (ICE) ICE Plus (low-voltage networks only)

    High-voltage bridge method (pre-locating sheath faults)

    Voltage drop method (pre-locating sheath faults)

    Fault conversion

    Burning

    Performance burning

    Route tracing

    Line location

    Line routing

    Pinpointing30

  • 7/30/2019 REPORT1 2

    31/69

    Audio frequency generator (twist field method, minimum turbidity

    method)

    Shock discharges (acoustic field method, acoustic pinpointing)

    Pinpointing sheath faultCable and phase identification

    Phase identification when earthed

    Phase identification and phase determination on live systems

    CHAPTER 4

    31

  • 7/30/2019 REPORT1 2

    32/69

    CABLE FAULT LOCATOR

    Cable faults are diverse in nature and exhibits different characteristics such as

    underground cable fault, overhead cable fault etc., The cable length is very

    length( for eg., 500m). So manual process of locating fault in cable is tedious work

    and takes much time. Its very difficult to locate the fault in cables especially in

    multi core cables. Its quite tedious job to detect the affected cable in multi core

    cables.

    To avoid such problems, the cable fault locator is used to find the fault in the

    particular cable. In this method, at one end of the cable the transmitter part is fixed

    and at the other end receiver part is fixed. The data is transmitted from the

    transmitter to the receiver. If the data end in the transmitter is not received in the

    receiver, then that particular cable is affected. These processes is done by the

    microcontroller. The microcontroller is programmed with C language.

    Data transmission is the key process in this method. In the receiver side, to show

    the data which is received from the transmitter LCD display is used. The datatransmission is discussed briefly as follows.,

    Data transmission

    Data transmission, digital transmission or digital communications is the physical

    transfer of data (a digitalbit stream) over a point-to-point or point-to-multipoint

    transmission medium. Examples of such media are copper wires, optical fibers,

    wireless communication media, and storage media. The data is often represented as

    an electro-magnetic signal, such as an electrical voltage signal, a radiowave or

    microwave signal or an infra-red signal.

    32

    http://www.answers.com/topic/datahttp://www.answers.com/topic/digital-1http://www.answers.com/topic/bitstreamhttp://www.answers.com/topic/transmission-mediumhttp://www.answers.com/topic/electrical-wiringhttp://www.answers.com/topic/optical-fiberhttp://www.answers.com/topic/wirelesshttp://www.answers.com/topic/data-storage-devicehttp://www.answers.com/topic/electromagnetismhttp://www.answers.com/topic/signal-circuit-theoryhttp://www.answers.com/topic/voltage-7http://www.answers.com/topic/radio-frequencyhttp://www.answers.com/topic/microwave-1http://www.answers.com/topic/infrared-1http://www.answers.com/topic/datahttp://www.answers.com/topic/digital-1http://www.answers.com/topic/bitstreamhttp://www.answers.com/topic/transmission-mediumhttp://www.answers.com/topic/electrical-wiringhttp://www.answers.com/topic/optical-fiberhttp://www.answers.com/topic/wirelesshttp://www.answers.com/topic/data-storage-devicehttp://www.answers.com/topic/electromagnetismhttp://www.answers.com/topic/signal-circuit-theoryhttp://www.answers.com/topic/voltage-7http://www.answers.com/topic/radio-frequencyhttp://www.answers.com/topic/microwave-1http://www.answers.com/topic/infrared-1
  • 7/30/2019 REPORT1 2

    33/69

    While analog communications is the transfer of continuously varying information

    signal, digital communications is the transfer of discrete messages. The messages

    are either represented by a sequence of pulses by means of a line code (baseband

    transmission), or by a limited set of continuously varying wave forms (passbandtransmission), using a digital modulation method. According to the most common

    definition of digital signal, both baseband and passband signals representing bit-

    streams are considered as digital transmission, while an alternative definition only

    considers the baseband signal as digital, and the passband transmission as a form

    ofdigital-to-analog conversion.

    Data transmitted may be digital messages originating from a data source, for

    example a computer or a keyboard. It may also be an analog signal such as a phone

    call or a video signal, digitized into a bit-stream for example using pulse-code

    modulation (PCM) or more advanced source coding (data compression) schemes.

    This source coding and decoding is carried out by codec equipment.

    Types of data transmission

    Baseband or passband transmission

    The physically transmitted signal may be one of the following:

    A baseband signal ("digital-over-digital" transmission): A sequence of electrical

    pulses or light pulses produced by means of a line coding scheme such as

    Manchester coding. This is typically used in serial cables, wired local area

    networks such as Ethernet, and in optical fiber communication. It results in apulse

    amplitude modulated signal, also known as apulse train.

    33

    http://www.answers.com/topic/line-codehttp://www.answers.com/topic/basebandhttp://www.answers.com/topic/passbandhttp://www.answers.com/topic/modulationhttp://www.answers.com/topic/digital-signalhttp://www.answers.com/topic/digital-to-analog-converterhttp://www.answers.com/topic/analog-signalhttp://www.answers.com/topic/digitizinghttp://www.answers.com/topic/pulse-code-modulationhttp://www.answers.com/topic/pulse-code-modulationhttp://www.answers.com/topic/data-compressionhttp://www.answers.com/topic/data-compressionhttp://www.answers.com/topic/codechttp://www.answers.com/topic/basebandhttp://www.answers.com/topic/line-codehttp://www.answers.com/topic/manchester-codehttp://www.answers.com/topic/serial-cablehttp://www.answers.com/topic/local-area-networkhttp://www.answers.com/topic/local-area-networkhttp://www.answers.com/topic/ethernethttp://www.answers.com/topic/pulse-amplitude-modulationhttp://www.answers.com/topic/pulse-amplitude-modulationhttp://www.answers.com/topic/pulse-wave-1http://www.answers.com/topic/line-codehttp://www.answers.com/topic/basebandhttp://www.answers.com/topic/passbandhttp://www.answers.com/topic/modulationhttp://www.answers.com/topic/digital-signalhttp://www.answers.com/topic/digital-to-analog-converterhttp://www.answers.com/topic/analog-signalhttp://www.answers.com/topic/digitizinghttp://www.answers.com/topic/pulse-code-modulationhttp://www.answers.com/topic/pulse-code-modulationhttp://www.answers.com/topic/data-compressionhttp://www.answers.com/topic/data-compressionhttp://www.answers.com/topic/codechttp://www.answers.com/topic/basebandhttp://www.answers.com/topic/line-codehttp://www.answers.com/topic/manchester-codehttp://www.answers.com/topic/serial-cablehttp://www.answers.com/topic/local-area-networkhttp://www.answers.com/topic/local-area-networkhttp://www.answers.com/topic/ethernethttp://www.answers.com/topic/pulse-amplitude-modulationhttp://www.answers.com/topic/pulse-amplitude-modulationhttp://www.answers.com/topic/pulse-wave-1
  • 7/30/2019 REPORT1 2

    34/69

    A passband signal ("digital-over-analog" transmission): A modulated sine wave

    signal representing a digital bit-stream. Note that this is in some textbooks

    considered as analog transmission, but in most books as digital transmission. The

    signal is produced by means of a digital modulation method such as PSK, QAM orFSK. The modulation and demodulation is carried out bymodem equipment.

    This is used in wireless communication, and over telephone network local-loop

    and cable-TV networks.

    Serial and parallel transmission

    In telecommunications, serial transmission is the sequential transmission of

    signal elements of a group representing a character or other entity of data.

    Digital serial transmissions are bits sent over a single wire, frequency or optical

    path sequentially. Because it requires less signal processing and less chances for

    error than parallel transmission, the transfer rate of each individual path may be

    faster. This can be used over longer distances as a check digit orparity bit can

    be sent along it easily.

    In telecommunications, parallel transmission is the simultaneous transmission

    of the signal elements of a character or other entity of data. In digital

    communications, parallel transmission is the simultaneous transmission of

    related signal elements over two or more separate paths. Multiple electrical

    wires are used which can transmit multiple bits simultaneously, which allows

    for higher data transfer rates than can be achieved with serial transmission. This

    method is used internally within the computer, for example the internal buses,

    and sometimes externally for such things as printers,

    34

    http://www.answers.com/topic/basebandhttp://www.answers.com/topic/modulationhttp://www.answers.com/topic/analog-transmissionhttp://www.answers.com/topic/data-transmissionhttp://www.answers.com/topic/modulationhttp://www.answers.com/topic/pskhttp://www.answers.com/topic/quadrature-amplitude-modulationhttp://www.answers.com/topic/fsk-1http://www.answers.com/topic/integrated-services-digital-networkhttp://www.answers.com/topic/integrated-services-digital-networkhttp://www.answers.com/topic/telecommunicationhttp://www.answers.com/topic/serial-interfacehttp://www.answers.com/topic/transmission-telecommunicationshttp://www.answers.com/topic/signal-elementhttp://www.answers.com/topic/character-computinghttp://www.answers.com/topic/datahttp://www.answers.com/topic/signal-processinghttp://www.answers.com/topic/parity-bithttp://www.answers.com/topic/parallel-communicationshttp://www.answers.com/topic/signallinghttp://www.answers.com/topic/digital-1http://www.answers.com/topic/telecommunicationhttp://www.answers.com/topic/basebandhttp://www.answers.com/topic/modulationhttp://www.answers.com/topic/analog-transmissionhttp://www.answers.com/topic/data-transmissionhttp://www.answers.com/topic/modulationhttp://www.answers.com/topic/pskhttp://www.answers.com/topic/quadrature-amplitude-modulationhttp://www.answers.com/topic/fsk-1http://www.answers.com/topic/integrated-services-digital-networkhttp://www.answers.com/topic/telecommunicationhttp://www.answers.com/topic/serial-interfacehttp://www.answers.com/topic/transmission-telecommunicationshttp://www.answers.com/topic/signal-elementhttp://www.answers.com/topic/character-computinghttp://www.answers.com/topic/datahttp://www.answers.com/topic/signal-processinghttp://www.answers.com/topic/parity-bithttp://www.answers.com/topic/parallel-communicationshttp://www.answers.com/topic/signallinghttp://www.answers.com/topic/digital-1http://www.answers.com/topic/telecommunication
  • 7/30/2019 REPORT1 2

    35/69

    The major issue with this is "skewing" because the wires in parallel data

    transmission have slightly different properties (not intentionally) so some bits

    may arrive before others, which may corrupt the message. A parity bit can help

    to reduce this. However, electrical wire parallel data transmission is thereforeless reliable for long distances because corrupt transmissions are far more

    likely.

    Asynchronous and synchronous data transmission

    Asynchronous transmission uses start and stop bits to signify the beginning bit

    ASCII character would actually be transmitted using 10 bits e.g.: A "01000001" would become "1 0100 0001 0". The extra one (or zero depending on

    parity bit) at the start and end of the transmission tells the receiver first that a

    character is coming and secondly that the character has ended. This method of

    transmission is used when data are sent intermittently as opposed to in a solid

    stream. In the previous example the start and stop bits are in bold. The start and

    stop bits must be of opposite polarity. This allows the receiver to recognize

    when the second packet of information is being sent.

    Synchronous transmission uses no start and stop bits but instead synchronizes

    transmission speeds at both the receiving and sending end of the transmission

    using clock signals built into each component. A continual stream of data is

    then sent between the two nodes. Due to there being no start and stop bits the

    data transfer rate is quicker although more errors will occur, as the clocks willeventually get out of sync, and the receiving device would have the wrong time

    that had been agreed in protocol (computing) for sending/receiving data, so

    somebytes could become corrupted (by losingbits).

    35

    http://www.answers.com/topic/asciihttp://www.answers.com/topic/parity-bithttp://www.answers.com/topic/clockhttp://www.answers.com/topic/datahttp://www.answers.com/topic/bit-1http://www.answers.com/topic/protocol-computinghttp://www.answers.com/topic/bytehttp://www.answers.com/topic/bit-1http://www.answers.com/topic/asciihttp://www.answers.com/topic/parity-bithttp://www.answers.com/topic/clockhttp://www.answers.com/topic/datahttp://www.answers.com/topic/bit-1http://www.answers.com/topic/protocol-computinghttp://www.answers.com/topic/bytehttp://www.answers.com/topic/bit-1
  • 7/30/2019 REPORT1 2

    36/69

    Ways to get around this problem include re-synchronization of the clocks and

    use ofcheck digits to ensure thebyte is correctly interpreted and received.

    CIRCUIT DIAGRAM

    CABLE CHECKING-TRANSMITTER:

    + 5 V

    1 8

    9

    1 6

    + 5 v

    9

    P

    I

    N

    "

    D

    "

    T

    Y

    P

    E

    3

    6

    1

    2

    3

    9

    3 7

    - +

    T 1

    4 0 3 1

    1 0 M F D+ 5 v

    3 5

    2 3 0 V A C

    3 3

    1 9

    3 2

    5

    2 3

    7

    41 2

    2 0

    2

    2

    3 83 9

    3 4

    1 0 K

    1 0 M F D / 2 5

    1 31 4

    A

    T

    8

    9

    C

    5

    1

    6

    1 7

    + 5 v

    C

    1

    2 3 4 5 6 7 8 9

    4

    1

    2

    V

    A

    C

    + 5 v

    2 2

    3

    7 8 0 5

    7

    7

    5

    0

    m

    A

    1

    1

    1 1

    3 6

    5

    + 1 2 V

    1 0

    8

    1 5

    1 2 M H z

    D 2

    L E D

    2 2 0 0 M F D / 2 5 V

    2 1

    8

    36

    http://www.answers.com/topic/check-digithttp://www.answers.com/topic/bytehttp://www.answers.com/topic/check-digithttp://www.answers.com/topic/byte
  • 7/30/2019 REPORT1 2

    37/69

    CABLE CHECKING-RECEIVER:

    T 1

    1 2

    2 2

    3 5

    2 3

    1 2

    1 2 M H z

    1 6

    6

    9

    8

    4

    3 3

    2

    1 37

    12V

    AC

    2 0

    1 0 M F D / 2 5 V

    4

    21 0

    3

    9

    1 1

    AT

    89C51

    3 9

    + 5 v

    7

    8

    4

    3 6

    1 5

    3

    7

    1 3

    + 5 v

    1 8

    3 8

    1 0

    9

    7 8 0 5

    1

    + 5 V

    5

    1 5

    1 4

    9

    PIN

    "D"TYPE

    3 4

    + 1 2 V

    2 2 0 0 M F D / 2 5 V

    LCD(2X16)

    2 3 0 V A C

    2 1

    4 0 3 1

    1 0 K

    65

    - +

    C

    1

    2 3 4 5 6 7 8 9

    5

    + 5 V

    R 3

    R E S I S T O R

    6

    + 5 v

    1

    4 k 7 s i p r e s i s t o r

    3

    + 5 v

    1 0 K

    3 2

    4 k 7 s i p r e s i s t o r

    C

    1

    2 3 4 5 6 7 8 9

    3 7

    1 7

    11 1

    2C

    1

    2 3 4 5 6 7 8 9

    + 5 v

    C

    1

    2 3 4 5 6 7 8 9

    1 4

    8

    750mA

    1 9

    1 6

    37

  • 7/30/2019 REPORT1 2

    38/69

    CHAPTER-5

    MICROCONTROLLER

    INTRODUCTION TO MICROCONTROLLER

    SERIES:89SXX Family

    TECHNOLOGY:CMOS

    FEATURES OF 89SXX FAMILY

    Compatible with MCS-51 Products

    4 Kbytes of In-System Reprogrammable Flash Memory Endurance: 1,000

    Write/Erase Cycles

    Fully Static Operation: 0 Hz to 24 MHz

    Three-Level Program Memory Lock

    128 x 8-Bit Internal RAM

    32 Programmable I/O Lines

    Two 16-Bit Timer/Counters

    Six Interrupt Sources

    Programmable Serial Channel

    Low Power Idle and Power Down Modes

    38

  • 7/30/2019 REPORT1 2

    39/69

    INTRODUCTION TO AT89S52

    The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with

    4Kbytes of Flash Programmable and Erasable Read Only Memory (PEROM). The

    device is manufactured using Atmels high density nonvolatile memory technology

    and is compatible with the industry standard MCS-51 instruction set and pinout.

    The on-chip Flash allows the program memory to be reprogrammed in-system or

    by a conventional nonvolatile memory programmer. By combining a versatile 8-bit

    CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful

    microcomputer which provides a highly flexible and cost effective solution to

    many embedded control applications.

    The AT89C51 provides the following standard features: 4 Kbytes of Flash, 128

    bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-levelinterrupt architecture, a full duplex serial port, on-chip oscillator and clock

    circuitry. In addition, the AT89C51 is designed with static logic for operation

    down to zero frequency and supports two software selectable power saving modes.

    The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port

    and interrupt system to continue functioning. The Power Down Mode saves the

    RAM contents but freezes the oscillator disabling all other chip functions until the

    next hardware reset.

    39

  • 7/30/2019 REPORT1 2

    40/69

    PIN DIAGRAM

    40

  • 7/30/2019 REPORT1 2

    41/69

    AT89S51-Pin Diagram

    PIN DESCRIPTIONS

    PORTS OF AT89S51

    The various ports of AT89S51 are as follows:

    VCC-Supply Voltage

    GND-Ground

    Port 0

    Port 0 is an 8-bit open drain bidirectional I/O port. As an output port each pin can

    sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as

    high-impedance inputs. Port 0 may also be configured to be the multiplexed

    loworder address/data bus during accesses to external program and data memory.

    In this mode P0 has internal pullups. Port 0 also receives the code bytes during

    Flash programming, and outputs the code bytes during program verification.

    External pullups are required during program verification.

    Port 1

    Port 1 is an 8-bit bidirectional I/O port with internal pullups. The Port 1 output

    buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins they

    are pulled high by the internal pullups and can be used as inputs. As inputs,

    Port 1 pins that are externally being pulled low will source current (IIL) because ofthe internal pullups. Port 1 also receives the low-order address bytes during Flash

    programming and program verification.

    Port 2

    41

  • 7/30/2019 REPORT1 2

    42/69

    Port 2 is an 8-bit bidirectional I/O port with internal pullups. The Port 2 output

    buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins they

    are pulled high by the internal pullups and can be used as inputs.

    As inputs, Port 2 pins that are externally being pulled low will source current (IIL)

    because of the internal pullups. Port 2 emits the high-order address byte during

    fetches from external program memory and during accesses to external data

    memory that use 16-bit addresses (MOVX@ DPTR). In this application it uses

    strong internal pull-ups when emitting 1s. During accesses to external data

    memory that use 8-bit addresses (MOVX @ RI), Port 2 emits the contents of the

    P2 Special Function Register. Port 2 also receives the high-order address bits and

    some control signals during Flash programming and verification.

    Port 3

    Port 3 is an 8-bit bidirectional I/O port with internal pullups. The Port 3 output

    buffers can sink/source four TTL inputs. When 1s are written to Port 3 pins they

    are pulled high by the internal pullups and can be used as inputs. As inputs,

    Port 3 pins that are externally being pulled low will source current (IIL) because of

    the pullups. Port 3 also serves the functions of various special features of the

    AT89C51 as listed below:

    AT89S51 Port3-Description

    42

  • 7/30/2019 REPORT1 2

    43/69

    RST

    Reset input. A high on this pin for two machine cycles while the oscillator is

    running resets the device.

    ALE/PROG

    Address Latch Enable output pulse for latching the low byte of the address during

    accesses to external memory. This pin is also the program pulse input (PROG)

    during Flash programming.

    In normal operation ALE is emitted at a constant rate of 1/6 the oscillator

    frequency, and may be used for external timing or clocking purposes. Note,

    however, that one ALE pulse is skipped during each access to external Data

    Memory. If desired, ALE operation can be disabled by setting bit 0 of SFR

    location 8EH. With the bit set, ALE is active only during a MOVX or MOVC

    instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit

    has no effect if the microcrontroller is in external execution mode.

    PSEN

    Program Store Enable is the read strobe to external program memory. When the

    AT89C51 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.EA/VPP

    External Access Enable. EA must be strapped to GND in order to enable the device

    to fetch code from external program memory locations starting at 0000H up to

    43

  • 7/30/2019 REPORT1 2

    44/69

    FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally

    latched on reset. EA should be strapped to VCC for internal program executions.

    This pin also receives the 12-volt programming enable voltage (VPP) during Flash

    programming, for parts that require 12-volt VPP.

    XTAL1

    Input to the inverting oscillator amplifier and input to the internal clock operating

    circuit.

    XTAL2

    Output from the inverting oscillator amplifier.

    OSCILLATOR CHARACTERISTICS

    XTAL1 and XTAL2 are the input and output, respectively, of an inverting

    amplifier which can be configured for use as an on-chip oscillator, as shown in

    following figure.

    AT89S51 Oscillator Connection.

    44

  • 7/30/2019 REPORT1 2

    45/69

    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 .

    AT89S52 External Clock Driven Configuration.

    There are no requirements on the duty cycle of the external clock signal, since

    the input to the internal clocking circuitry is through a divide-by-two flip-flop, but

    minimum and maximum voltage high and low time specifications must be

    observed.

    45

  • 7/30/2019 REPORT1 2

    46/69

    IDLE MODE

    In idle mode, the CPU puts itself to sleep while all the onchip peripherals remain

    active. The mode is invoked by software. The content of the on-chip RAM and all

    the special functions registers remain unchanged during this ware inhibits access to

    internal RAM in this event, but access to the port pins is not inhibited. To eliminate

    the possibility of an unexpected write to a port pin when Idle is terminated by

    reset, the instruction following the one that invokes Idle should not be one that

    writes to a port pin or to external memory.

    POWER DOWN MODE

    In the power down mode the oscillator is stopped, and the instruction that invokes

    power down is the last instruction executed. The on-chip RAM and Special

    Function Registers retain their values until the power down mode is terminated.

    The only exit from power down is a hardware reset. Reset redefines the SFRs but

    does not change the onchip RAM. The reset should not be activated before VCC is

    restored to its normal operating level and must be held active long enough to allow

    the oscillator to restart and stabilize.

    46

  • 7/30/2019 REPORT1 2

    47/69

    MICRO CONTROLLER BLOCK DIAGRAM

    The general block diagram of Microcontroller ATMEL AT89S51 is shown

    below..

    47

  • 7/30/2019 REPORT1 2

    48/69

    CHAPTER 6

    HARDWARE IMPLEMENTATION

    48

  • 7/30/2019 REPORT1 2

    49/69

    POWER SUPPLY

    The power supply for the various units of the circuits is given by the power supply

    module. Power supply circuit converts the normal available 230v AC into required

    5v,12v, variable voltages. This module consists of step down transformer, which

    step down the available 230v AC into 9v,15v,25v AC supply. Then this low

    voltage is converted into DC current by the Diode Bridge Rectifier. The value of

    the diode used in this bridge is 1N4007. The Bridge Rectifier Circuit is formed

    with four silicon power diodes of 1A current rating. Then there is Filter circuit for

    filtering out the ripple voltages which present in the output of the Diode Bridge

    Rectifier. A 230v/12v transformer with current rating of 1A is used. An electrolyticcapacitor C1 of 2200 MFD/25v rating is provided at the output of the rectifier

    circuit as filter 10 MFD/25v capacitor are provided in the circuit to bypass the high

    frequency components of the rectified voltage.

    Then the filtered output is regulated by the Voltage Regulator. For the required

    output voltage, the voltage regulator is used. Voltage Regulated IC is 7805 for 5v

    supply, IC7812 for 12v supply, LM317 for variable voltage. All the regulated

    power supply circuits are designed to deliver maximum current of 500mA.

    49

  • 7/30/2019 REPORT1 2

    50/69

    Circuit diagram of +5v power supply

    Circuit diagram of +12v power supply

    PIN DIAGRAM

    General Description

    The LM78XX series of three terminal positive regulators are available in the

    TO-220 package and with several fixed output voltages, making them useful in a50

  • 7/30/2019 REPORT1 2

    51/69

    wide range of applications. Each type employs internal current limiting, thermal

    shut down and safe operating area protection, making it essentially indestructible.

    If adequate heat sinking is provided, they can deliver over 1A output current.

    Although designed primarily as fixed voltage regulators, these devices can be usedwith external components to obtain adjustable voltages and currents.

    ELECTRICAL CHARACTERISTICS

    51

  • 7/30/2019 REPORT1 2

    52/69

    52

  • 7/30/2019 REPORT1 2

    53/69

    LCD INTERFACE

    INTRODUCTION

    The LCD has 2 rows of alphanumeric characters and 16 characters in each row.Each row includes a rare mounted printed circuit board that includes the drive

    circuitry for the display. The module uses a microcontroller to implement

    commands.

    LCD DESCRIPTION

    Vcc, Vss and Vee While Vcc and Vss provide +5v and ground respectively, Vee is

    used for controlling LCD contact.

    Rs- Resistor select

    There are two very important resistors inside LCD. The Rs pin is used for their

    selection as follows. If Rs=0, the instruction command code register is selected,

    allowing the user to send a command such as clear display, cursor at home. If

    Rs=1, the data register is selected allowing the user to send data to be displayed on

    the LCD.

    R/W- Read/Write

    R/W input allows the user to write information to the LCD or read the information

    from it. R/W=1 when reading, R/W=0 when writing.

    53

  • 7/30/2019 REPORT1 2

    54/69

    E-Enable

    The enable pin is used by the LCD the latch information presented to its data pins.When data is supplied to data pins, a high to low pulse must be applied to this pin

    in order from the LCD to latch in the data presented at the data pins. This pulse

    must be a minimum of 450ns wide.

    Do-D7

    The 8 bit data pins, Do-D7, are used to send information to the LCD or read the

    content of the LCDs internal registers, to display the letter and number, we send

    ASCII codes for the letters and numbers while making RS=1. There also

    instruction command codes that can be send to the LCD to clear the display or

    force the cursor to home position or blink the cursor.

    54

  • 7/30/2019 REPORT1 2

    55/69

    CHAPTER 7

    MERITS AND DEMERITS

    MERITS

    Reduces the risk of faults lost after

    Reduces the risk of damage to lines

    Reduces the risk of the unknown devices and operator

    Reduces the risk of cost

    Reliability of the system is high

    DEMERITS

    Program used for the microcontroller is complex in nature.

    Sensitivity of the microcontroller is high

    55

  • 7/30/2019 REPORT1 2

    56/69

    CONCLUSION

    In our project, the fault in multi core cable is effectively detected by the automatic

    process using microcontroller programmed with C language, which is used both in

    transmitter and receiver. So the microcontroller detect the data transmission and

    find out the cable which is affected. Hence the process is more easier, reliable and

    simple. Finally we conclude that cable fault can be easily located by the cable fault

    locator method using microcontroller.

    FUTURE ASSESMENT

    Now we are using wires in cable fault locator, in future we can use wireless system

    to detect fault in multi core cables. By using wireless system, we can locate the

    fault by placing the cable fault locator near the cables.

    56

  • 7/30/2019 REPORT1 2

    57/69

    APPENDICES I

    ;CABLE HEALTH CHECKING-TRANSMITTER

    ;-----------

    ;p0.0-

    ;p2.0- led output

    ;P3.0- data output

    ;P3.1-data output

    ;30h=00,

    ;39=

    ;r0 r1 int counter[28]

    ;r5 dly counter

    org 0000h

    nop

    ajmp begin

    org 000bh

    ljmp intorg 0050h

    begin: mov sp,#60h

    mov tcon,#00h

    mov ie,#00h

    mov p2,#00h

    mov p3,#00h

    mov 30h,#00h

    mov 31h,#00h

    setb p1.1

    setb p1.0

    setb p1.2setb p1.3

    setb p1.4

    setb p1.5

    setb p1.6

    setb p1.7

    mov th0,#06h

    mov tmod,#02h

    mov psw,#00h

    mov r2,#14h

    mov r1,#0c8h

    mov r5,#0fh

    setb tcon.4mov ie,#82h

    start: mov p3,#0aah

    lcall dlyq

    mov p3,#55h

    lcall dlyq

    ljmp start

    57

  • 7/30/2019 REPORT1 2

    58/69

    dlyq: push psw ;delay

    mov psw,#00hmov r5,#05h

    dly2q: mov r6,#30h ;30

    dly1q: djnz r6,dly1q ;r5 dly counter

    djnz r5,dly2q

    pop psw

    ret

    int: push psw

    push accpush dpl

    push dph

    mov psw,#00h

    djnz r2,in1

    mov r2,#14h

    djnz r1,in1

    mov r1,#0c8h

    ljmp intnest

    in1: ljmp intend

    intnest: mov a,30h

    cjne a,#00h,int3

    mov 30h,#55h

    setb p2.0

    ljmp intend

    int3: mov 30h,#00h

    clr p2.0

    intend: pop dph

    pop dpl

    pop acc

    pop psw

    reti

    end

    APPENDICES II58

  • 7/30/2019 REPORT1 2

    59/69

    ;CABLE HEALTH CHECKING-RECIVER

    ;-----------

    ;p0.0-p0.7 lcd data

    ;p2.0- Rs,P2.1-R/W,P2.2-E

    ;P3.0- INPUT

    ;P3.1;30h=00,

    ;39=

    ;r0 r1 int counter[28]

    ;r5 dly counter

    org 0000h

    nop

    ajmp begin

    org 000bh

    ljmp int

    org 0050hbegin: mov sp,#60h

    mov tcon,#00h

    mov ie,#00h

    mov p2,#00h

    mov p3,#00h

    mov 30h,#00h

    mov 31h,#00h

    mov 40h,#20h

    mov 41h,#20h

    mov 42h,#20h

    mov 43h,#20h

    mov 44h,#20h ;eeprom addd

    mov 45h,#20h

    mov 46h,#20h

    mov 47h,#20h

    mov 48h,#20h

    mov th0,#06h

    mov tmod,#02h

    mov psw,#00h

    mov r2,#14h

    mov r1,#0c8h

    mov r5,#0fh

    setb p1.1

    setb p1.0

    setb p1.2setb p1.3

    setb p1.4

    setb p1.5

    setb p1.6

    setb p1.7

    setb tcon.4

    mov ie,#82h

    lcdisp:mov a,#3ch

    59

  • 7/30/2019 REPORT1 2

    60/69

    acall comd1

    lcall dly1

    mov a,#3ch

    acall comd1

    lcall dly1

    mov a,#3ch

    acall comd1lcall dly1

    mov a,#3ch ;8bits,2 rows,5*10 dots

    acall command ;strop command to disply

    mov a,#0eh ;screen,cursour on

    acall command ;strop command to disply

    mov a,#06h ;shift cursor right

    acall command ;strop command to disply

    mov a,#01h ;clear memory and home cursor

    acall command ;strop command to disply

    star: mov a,#80h

    acall commandmov p0,#20h

    acall comd2

    mov p0,#20h

    acall comd2 ; blank

    mov p0,#20h

    acall comd2

    mov a,#81h

    acall command

    mov p0,#43h

    acall comd2

    mov p0,#43h

    acall comd2 ; C

    mov p0,#43h

    acall comd2

    mov a,#82h

    acall command

    mov p0,#41h

    acall comd2

    mov p0,#41h

    acall comd2 ;A

    mov p0,#41h

    acall comd2

    mov a,#83h

    acall command

    mov p0,#42hacall comd2

    mov p0,#42h

    acall comd2 ; B

    mov p0,#42h

    acall comd2

    mov a,#84h

    acall command

    mov p0,#4ch

    60

  • 7/30/2019 REPORT1 2

    61/69

    acall comd2

    mov p0,#4ch

    acall comd2 ; L

    mov p0,#4ch

    acall comd2

    mov a,#85h

    acall commandmov p0,#45h

    acall comd2

    mov p0,#45h

    acall comd2 ;e

    mov p0,#45h

    acall comd2

    mov a,#86h

    acall command

    mov p0,#20h

    acall comd2

    mov p0,#20hacall comd2 ; blank

    mov p0,#20h

    acall comd2

    mov a,#87h

    acall command

    mov p0,#43h

    acall comd2

    mov p0,#43h

    acall comd2 ; C

    mov p0,#43h

    acall comd2

    mov a,#88h

    acall command

    mov p0,#48h

    acall comd2

    mov p0,#48h

    acall comd2 ; H

    mov p0,#46h

    acall comd2

    mov a,#89h

    acall command

    mov p0,#45h

    acall comd2

    mov p0,#45h

    acall comd2 ; Emov p0,#45h

    acall comd2

    mov a,#8Ah

    acall command

    mov p0,#43h

    acall comd2

    mov p0,#43h

    acall comd2 ;C

    61

  • 7/30/2019 REPORT1 2

    62/69

    mov p0,#43h

    acall comd2

    mov a,#8bh

    acall command

    mov p0,#4bh

    acall comd2

    mov p0,#4bhacall comd2 ; K

    mov p0,#4bh

    acall comd2

    mov a,#8ch

    acall command

    mov p0,#49h

    acall comd2

    mov p0,#49h

    acall comd2 ; I

    mov p0,#49h

    acall comd2mov a,#8dh

    acall command

    mov p0,#4eh

    acall comd2

    mov p0,#4eh

    acall comd2 ;N

    mov p0,#4eh

    acall comd2

    mov a,#8eh

    acall command

    mov p0,#47h

    acall comd2

    mov p0,#47h

    acall comd2 ; G

    mov p0,#47h

    acall comd2

    mov a,#8fh

    acall command

    mov p0,#20h

    acall comd2

    mov p0,#20h

    acall comd2 ; blank

    mov p0,#20h

    acall comd2

    mov a,#0c0h

    acall command

    mov p0,#20h

    acall comd2

    mov p0,#20h

    acall comd2 ; blank

    mov p0,#20h

    acall comd2

    62

  • 7/30/2019 REPORT1 2

    63/69

    mov a,#0c1h

    acall command

    mov p0,#20h

    acall comd2

    mov p0,#20h

    acall comd2 ; blank

    mov p0,#20hacall comd2

    mov a,#0c2h

    acall command

    mov p0,#20h

    acall comd2

    mov p0,#20h

    acall comd2 ; blank

    mov p0,#20h

    acall comd2

    mov a,#0c3h

    acall command

    mov p0,40hacall comd2

    mov p0,40h

    acall comd2 ; 40

    mov p0,40h

    acall comd2

    mov a,#0c4h ;mov cursor to space 7,line1

    acall command

    mov p0,41h

    acall comd2

    mov p0,41h

    acall comd2 ;41

    mov p0,41h

    acall comd2

    mov a,#0c5h

    acall command

    mov p0,42h

    acall comd2

    mov p0,42h

    acall comd2 ;42

    mov p0,42h

    acall comd2

    mov a,#0c6h

    acall command

    mov p0,43h

    acall comd2

    mov p0,43h

    acall comd2 ;43

    mov p0,43h

    63

  • 7/30/2019 REPORT1 2

    64/69

    acall comd2

    mov a,#0c7h

    acall command

    mov p0,44h

    acall comd2

    mov p0,44hacall comd2 ;44

    mov p0,44h

    acall comd2

    mov a,#0c8h

    acall command

    mov p0,45h

    acall comd2

    mov p0,45h

    acall comd2 ;45

    mov p0,45h

    acall comd2

    mov a,#0c9hacall command

    mov p0,46h

    acall comd2

    mov p0,46h

    acall comd2 ;46

    mov p0,46h

    acall comd2

    mov a,#0cah

    acall command

    mov p0,47h

    acall comd2

    mov p0,47h

    acall comd2 ;47

    mov p0,47h

    acall comd2

    mov a,#0cbh

    acall command

    mov p0,48h

    acall comd2

    mov p0,48h

    acall comd2 ;48

    mov p0,48h

    acall comd2

    mov a,#0cch

    acall commandmov p0,49h

    acall comd2

    mov p0,49h

    acall comd2 ;49

    mov p0,49h

    acall comd2

    mov a,#0cdh

    acall command

    64

  • 7/30/2019 REPORT1 2

    65/69

    mov p0,#20h

    acall comd2

    mov p0,#20h

    acall comd2 ;blank

    mov p0,#20h

    acall comd2

    mov a,#0cehacall command

    mov p0,#20h

    acall comd2

    mov p0,#20h

    acall comd2 ;blank

    mov p0,#20h

    acall comd2

    mov a,#0cfh

    acall command

    mov p0,#20h

    acall comd2

    mov p0,#20hacall comd2 ;blank

    mov p0,#20h

    acall comd2

    ljmp STAR

    command: push acc

    acall ready

    pop acc

    mov p0,a

    lcall comd1

    ret

    comd1: clr p2.0 ;3.3-2.0

    clr p2.1 ;3.4-2.1

    setb p2.2 ;3.5-2.2

    clr p2.2

    ret

    comd2: setb p2.0

    clr p2.1

    setb p2.2

    clr p2.2

    ret

    ready:clr p2.0setb p2.1

    setb p2.2

    mov p0,#0ffh

    mov a,p0

    clr p2.2

    anl a,#80h

    cjne a,#00h,ready

    65

  • 7/30/2019 REPORT1 2

    66/69

    ret

    dly: push psw ;delay

    mov psw,#00h

    mov r6,#02h

    dlyx: djnz r6,dlyx

    pop pswret

    dly1: push psw ;delay

    mov psw,#00h

    ; mov r5,#20h ;

    mov r5,#03h

    dlyx1: djnz r5,dlyx1

    pop psw

    ret

    dlyq: push psw ;delaymov psw,#00h

    mov r5,#05h

    dly2q: mov r6,#30h ;30

    dly1q: djnz r6,dly1q ;r5 dly counter

    djnz r5,dly2q

    pop psw

    ret

    keyread: push psw

    push acc

    mov p3,#0ffh

    mov a,p3

    ; anl a,#0aah

    cjne a,#0aah,krd1

    mov 30h,#55h

    ljmp krdend

    krd1: mov p3,#0ffh

    mov a,p3

    ; anl a,#55h

    cjne a,#55h,krd2

    mov 30h,#55h

    ljmp krdend

    krd2:mov 30h,#00h

    ljmp krdend

    krdend: pop acc

    pop psw

    ret

    66

  • 7/30/2019 REPORT1 2

    67/69

    time: push psw

    push acc

    push dpl

    push dph

    mov a,30hcjne a,#55h,time1

    mov 40h,#20h

    mov 41h,#20h

    mov 42h,#20h

    mov 43h,#20h

    mov 44h,#20h

    mov 45h,#67h

    mov 46h,#6fh

    mov 47h,#6fh

    mov 48h,#64h

    mov 49h,#20h

    ljmp tendtime1: mov 40h,#20h

    mov 41h,#4eh

    mov 42h,#6fh

    mov 43h,#74h

    mov 44h,#20h

    mov 45h,#67h

    mov 46h,#6fh

    mov 47h,#6fh

    mov 48h,#64h

    mov 49h,#20h

    tend: pop dph

    pop dpl

    pop acc

    pop psw

    ret

    int: push psw

    push acc

    push dpl

    push dph

    mov psw,#00h

    djnz r2,in1

    mov r2,#14h

    djnz r1,in1

    mov r1,#32hljmp intnest

    in1: ljmp intend

    intnest: lcall keyread

    ; lcall keyread

    lcall time

    intend: pop dph

    pop dpl

    pop acc

    67

  • 7/30/2019 REPORT1 2

    68/69

  • 7/30/2019 REPORT1 2

    69/69

    Mohammed Ali Mazidi and Janice Gillispe Mazidi rafiquzzaman, the

    8051 Microcontroller and Embedded sytems.

    REFERENCE WEBSITES

    1. www.microcontroller.com

    2. www.wikipedia.com

    3. www.cablejoints.com

    4. www.atmel.com

    5. www.google.com

    http://www.microcontroller.com/http://www.wikipedia.com/http://www.cablejoints.com/http://www.atmel.com/http://www.google.com/http://www.microcontroller.com/http://www.wikipedia.com/http://www.cablejoints.com/http://www.atmel.com/http://www.google.com/