real time systems train gate system ii l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Real Time Systems: Train Gate System II PowerPoint Presentation
Download Presentation
Real Time Systems: Train Gate System II

Loading in 2 Seconds...

play fullscreen
1 / 16

Real Time Systems: Train Gate System II - PowerPoint PPT Presentation


  • 112 Views
  • Uploaded on

Real Time Systems: Train Gate System II. Chieu Wang Vincent Ng. Current System. A unidirectional railway track that crosses a one way road. A single gate at the crossing which may be lowered or raised under the control of a computer.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Real Time Systems: Train Gate System II' - jorn


Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
current system
Current System
  • A unidirectional railway track that crosses a one way road.
  • A single gate at the crossing which may be lowered or raised under the control of a computer.
  • There are two sensors present to detect incoming and outgoing trains.
current system3
Current System

Entry Sensor

Exit Sensor

Gate

processes
Processes
  • Se – represents the entry sensor.
  • Sl – represents the exit sensor.
  • G – represents the gate.
  • M – the monitor that keeps track of the number of trains in the area.
  • C – controls the gate.
train gate crsm communication diagram

Se

Sl

G

C

Train Gate CRSM Communication Diagram

tr

trout

trin

gok

og

cg

M

cont_og

cont_cg

proposed modifications
Proposed Modifications
  • Change to a two track unidirectional railway that crosses over a two way road.
  • Model will include two gates at the crossing which may be lowered or raised that is under the control of a computer.
proposed modifications con t
Proposed Modifications, Con’t
  • There will be four sensors in the system:
    • Two sensors for each track to detect incoming and outgoing trains.
train gate system ii
Train Gate System II

Entry Sensor 2

Gate 2

Exit Sensor 2

Entry Sensor

Gate 1

Exit Sensor

details of proposed modifications
Details of Proposed Modifications
  • Se2 – represents the entry sensor on second track.
  • Sl2 – represents the exit sensor on second track.
  • G2 – represents the second gate.
train gate ii crsm communication diagram

SE2

SE1

SL1

G1

M

C

SL2

G2

Train Gate II CRSM Communication Diagram

tr

gok

trin

tr 2

trout

og

cg

trin 2

cont_og2

cont_cg2

cg 2

og2

cont_og

trout 2

cont_cg

gok2

recommended implementation and modeling

Train

Sensore

Monitor

Controller

Gate

Sensorl

Sensore1

Sensore2

Sensorl1

Sensorl2

Gate1

Gate2

Recommended Implementation and Modeling
advantages
Advantages
  • Existing classes does not need to be modified.
    • ie. sensore.java, sensorl.java, gate.java
  • Existing classes are easily cloned for reuse.
  • Existing timing constraints can be applied to the new classes.
disadvantages
Disadvantages
  • The monitor and controller process require substantial modifications to handle the new classes.
  • Issues with sequence of processing.
difficulties encountered
Difficulties Encountered
  • The monitor and controller class required major overhaul to accommodate multiple events that may occur at the same time.
conclusion
Conclusion
  • The modified system will provide a more realistic model of a train gate system.
  • By incorporating multiple tracks and sensors, the model will further reinforce the basic concepts of concurrency and synchronization among processes