Vending Machine Controller using VHDL

19,354 views 27 slides Nov 20, 2013
Slide 1
Slide 1 of 27
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27

About This Presentation

Sudhanshu Srivastava {B. Tech. Electronics & Communication Engineering}
V.B.S. Purvanchal University, Jaunpur, U.P.


Slide Content

Minor Presentation on Vending Machine Controller Using VHDL Mentor:- Er . Vishal Yadav {Asst. Professor} Presented By:- Sudhanshu Srivastava (210001) Ram Prakash Singh (210016) Sanjeev Kr. Maurya (210028)

What is VHDL ???? In VHDL “V” stands for Very High Speed Integrated Circuit and “HDL” stands for Hardware Description Language. It is the Hardware Description Language that can be used in electronic design automation to describe digital and mixed-signal systems such as field-programmable gate arrays and integrated circuits.

Main Part of VHDL There are Three main part of VHDL:- {1} Library , {2} Entity Declaration , {3} Architecture Body . Library:- {syntax} use ieee std_logic_arith . all use ieee std_logic_unsigned . all

(continued)……. Entity Declaration:- All designs are expressed in terms of entities. An entity is the most basic building block in a design . Syntax:- entity entity _ name is port (port1 , port2 : port- type data-type; port n : port type data type) ; end entity_name ; Port Type:- (1)- in (2)- out (3)- inout (4)- buffer

(continued)……. Architecture Body :- All entities that can be simulated have an architecture description . The architecture describes the behaviour of the entity . A single entity can have multiple architectures. Syntax:- architecture arch_name of entity_name is begin concurrent_statement ; end arch_name ;

Some Other VHDL Terms Configuration Package Driver Bus Attribute Generic Process

Modelling Architecture body can be model in following modelling – Data Flow Modelling Behavioural Modelling Basic Modelling Structural Modelling Mixed Modelling

Data Flow Modelling In this modelling the functionality of the object occur due to “Concurrent Statements” such as – Direct statement, When Else statement, With Signal select statement, Unaffected statement.

Behavioural Modelling In this modelling the functionality of the sequence is defined using “Sequential statement”. Syntax:- entity declaration; architecture arch_name o f entity_name is begin [ process_label :] process ( sensitive_list ) begin sequential statements; end process [ process_label ]; end arch_name ;

Structural Modelling In this modelling an entry is modelled as a set of interconnected components. In the Architecture Declaration part “Component Declaration” and in the Architecture Body “Component Instantiation” statements are used. We have used Structural Modelling in programming of “VENDING MACHINE CONTROLLER”.

(continued……) Syntax :- ---Component Declaration part--- architecture arch_name of entity-name is component component_name is port ( port_declaration ); end component ; ---Component Instantiation part--- begin component_label : component name port map; end arch_name ;

History of VMC Vending machine became popular during the industrial revolution . The first modern coin-operated vending machines were introduced in England in the early 1880s . The first vending machine in the U.S. was built in 1888 by the Thomas Adams Gum Company.

What is the Vending Machine?? Electronic  machine used to dispense a  product  to a consumer  after a prescribed amount  of money has been put into the machine. Vending  machines are commonly used to dispense beverages and snack items, but in recent years companies have introduced vending machines that dispense other items, even including electronic items such as digital cameras or iPods.

Simple Vending Machine The vending machine delivers an item after it has received prescribed amount of money in coins. The machine have coins slot that accepts one coin at a time. A mechanical sensor indicates whether prescribed no. of coins has been inserted into the coin slot. The controller's output causes a single item to be released down a item(e.g. cold drink) to the customer . And surplus money returned back to consumer.

Functional View of VMC

Basic Feature of VMC The basic feature of Vending Machine Controller is governed by three main aspects Controller, Cold Storage, Money Changer. Every blocks are made by “Structural Modelling” separately and after this every blocks are port mapped to each other by “VHDL Coding”

Block Diagram of VMC

State Diagram Representation

Commonly Vending Machines Soda vending machine, Gumball vending machine, Snack vending machine, Food and toy vending machine , Coffee vending machine, Cigarette vending machines, Pop corn vending machine .

Gumball Vending Machine

Coffee Vending Machine

Cigarette Vending Machine

Toys Vending Machine

Cold Drinks Vending Machine

Snack Vending Machine

Advantage and Disadvantage The greatest benefit of these vending machines is that they are very versatile and convenient. When you find yourself in the middle of closed shops, with a hungry stomach, a vending machine can really come in handy . When you talk about vending machines, costly items always come with it, making this one of its major disadvantages. Compared to items being sold in other stores, those items that are on vending machines are way on the high-priced spectrum .