Project #05 - Park A Car
You are a digital designer for an company called Park-A-Car, which designs a custom build parking system and you are currently working on one part of the overall system which handles the entrance gate for the parking area.
The entrance gate consists of acouple of components:
1. The controller which you will design.
2. The ticket box which is a pre-build by a contractor.
3. The gate arm which is pre-build by a contractor.
4. The pressure switch which is also pre-build by a contractor, which shaped as a bar about 2 meter long.
5. The flash light which is pre-build by a contractor.
The overall system should operate as described:
  • When a user approaches the gate, the user will press a button in the ticket box which will produce an impulse which triggers a receipt-printing mechanism in the ticket box and at the same time it will trigger the gate arm to lift.
  • The printer is designed by the manufacturer to print the receipt whenever it receive an impulse of 1 while the gate arm is designed by the manufacturer to lift the arm as long as it receive an input of 1 and will lower the arm when it receive a 0.
  • After the gate is lifted (assume there is no time delay for the gate arm to lift), then the gate controller will start counting from 0 to 20 seconds. If a vehicle passes, it will step over on the pressure switch which is placed on the road under the gate arm.
  • Everytime the pressure switch is pressed (by the tyre) it will send an impulse to the controller. One impulse from the pressure switch means the front tyre of the vehicle already passes the gate-arm. The second impulse from the pressure switch means the back tyre from the vehicle passes the gate-arm and the controller can then send the 0 to the gate-arm to close and reset the whole system and ready to receive the next incoming vehicle.
  • If until the end of the 20 seconds, the controller only receive 1 impulse from the pressure switch, it means that the vechile is currently somewhere under the gate-arm. We would want to give the driver more time to navigate away from the gate- arm incase he/she is currently having engine trouble. In this case the controller will initiate a flash light (a round yellow light placed next to the gate- arm) which will flash everytime it receive a 1 input and turn off every time it receive 0 input. The controller should maintain the flashing of the light for 10 seconds.
  • If until the end of the 10 seconds, there is still no second impulse received, then the controller should send a 1 signal to the controller room's emergency system to request for help and wait indefinitly until a manual reset is done by the maintenance personnel.
  • If until the end of the 20th second the controller receive no impulse from the pressure switch, then we assume the driver abort entering the parking area and the controller should reset everything and close the gate-arm again.
  • During the entire process, the ticketbox will be disabled to ensure there is no distruption to the system. Only after a reset the ticket box will function again.

Deliverables:
  • The design diagrams of the controller (state table, state transition diagram, implementation diagram) and simulator files.
  • The presentation slides explaining the desired system.
  • Presentation in front of the class using the slide and present using the simulation software

Grading:
You will be graded using this grading criteria for this project.