Presentation on vending machine controller using vhdl

shubhamgoyal246 1,497 views 37 slides Mar 20, 2018
Slide 1
Slide 1 of 37
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
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37

About This Presentation

Presentation on vending machine controller using vhdl.


Slide Content

Presentation on Vending Machine Controller Using VHDL Er.A bhinav K umar SHUBHAM GOYAL

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”

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 (3)- inout (2)- out (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 Basic Modelling Behavioural 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 of 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;

Block Diagram of VMC nickel_in dime_in quarter_in clk rst Vending- machine controller candy_out nickel_out dime_out

State Diagram Representation co do+co no+c di di di ni ni ni ni ni qi qi qi qi di di 10 45 40 35 30 25 20 15 5 qi do no

DESIGN CODE ISE Design Suite 14.2

TEST BENCH ISE Design Suite 14.2

SIMULATION ISE Design Suite 14.2

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

Gumball Vending Machine

Coffee 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.

THANK YOU