Professional Documents
Culture Documents
FOR
VENDING MACHINE
SPECIFICATION
COMPONENT SYSTEM
VERSION 1 APPROVED
PREPARED BY NURSYAFIRA, AZRUL IKHWAN AND
IFFAH AFIQAH
23 NOVEMBER 2016
1. INTRODUCTION
1.1 PURPOSE
The purpose of this document is to specify and identify the requirement from the user or
stakeholder for the control system for the Vending Machine Control system for the Vimto Soft
Drink Company. This document will describe the required system facilities (functional
requirement) and system performance characteristics (non-functional requirement).
This document will focus on how to establish the requirements for the system and
simulator, to determine the scope of the systems needed to meet the user requirements, to
identify the system capacity and the requirements for future expansion and to provide the basis
for the development of the system.
The function of this system will be control of the operation of the vending machine. In particular
it will:
Complete and easily understood documentation of the system will be provided to aid in future
maintenance of the system. In particular for the following deliverables will be produced:
1.3 DESCRIPTIONS
TERMS DESCRIPTION
Customer The public who will use the VMCS machine.
Maintainer Someone who has been entrusted with a simple set of
instruction to use/maintain the system.
Controller Overall simulation of the VMCS background activity.
1.4 REFERENCES
IEEE Std 830-1998, IEEE Recommended Practice for Software Requirements Specifications.
The Vimto Soft Drink Company operates and maintains a large number of automatic soft
drinks dispenser at various its throughout Singapore and it has decided to invest in a
computerized control system, which will be installed in a new range of soft drinks vending
machines. This machine will sell several different brands of drinks, which can retail at different
prices.
This VMCS shall duplicate the functionality of the existing system and add new
functionality made feasible to the new technology. It also will allow the vending machine
maintainer to check ad remove cash, and to check the number of drinks cans held.
a. The mechanical drinks can dispense mechanism within the vending machine.
b. The coin checking, storage and dispensing mechanism within the vending machine.
c. The door locking/unlocking mechanism within the vending machine.
USER CHARACTERISTIC
Customer The person who would be members of the general public.
Maintainer The person who will have a set of simple instructions to use
with the system.
Controller The overall simulation of the VMCS
2.4 CONSTRAINTS
Neither the VMCS software nor the simulator software shall interface with other software
packages.
BRIEF DESCRIPTION
CHARACTERISTIC OF ACTIVATION
PRE-CONDITION
BASIC FLOWS
1. The use case begins when the customer choose the brand of the drink can.
2. The customer need to enter the coin that is required to buy a drink (SRS_REQ_101)
3. The system shall validate the inserted coin (SRS_REQ_102)
a. [A1:Coin Valid]
ALTERNATIVE FLOWS
EXCEPTION FLOWS
Not Applicable
POST CONDITION
RULE(S)
BRIEF DESCRIPTION
CHARACTERISTIC OF ACTIVATION
PRE-CONDITION
BASIC FLOW
1. The use cases begin when the maintainer panel has been activated.
2. The maintainer shall entered the password for authority (SRS_REQ_201)
3. The system shall validate the password (SRS_REQ_202) [A1:Invalid Password]
4. The system will unlock the door of the vending machine (SRS_REQ_203)
5. The VMCS shall not begin any transactions whilst the maintainer is operate it
(SRS_REQ_204)
6. The VMCS shall display the information of the VMCS to the maintainer
(SRS_REQ_205)
7. The system shall on request transfer all cash held within the vending machine to the
maintainer (SRS_REQ_206)
8. The maintainer be able to change :
a. The number of cans held by the machine (SRS_REQ_207)
b. The cash/change held by the machine (SRS_REQ_208)
ALTERNATE FLOWS
EXCEPTION FLOWS
Not applicable
POST-CONDITION
RULE
Not Applicable
SYSTEM MESSAGE
Not Applicable
This use case provide the capability to start simulation and manage
Object-oriented development (OOD) technique with UML notation shall be used to this
project.
The VMCS system shall have a mean time between failures of 1000 hours.
SYSTEM REQUIREMENT SPECIFICATON | VERSION 1.0 11
3.6.2 Maintainability
3.6.3 Availability
The VMCS shall operate from when the main power is switched on for the vending
machine, and it will close down if the main power is cut off. If the VMCS is in the
process of a transaction with the customer then it will not continue this transaction when
power is restored, nor will keep the record.
3.6.4 Security
Access to operate the functions available to the maintainer will be restricted by use of the
correct password.
3.6.5 Expandability
3.6.6 Integrity
Once installed in the vending machine hardware, the VMCS software shall not be capable
of being changed.