Presentation on vending machine controller using vhdl
shubhamgoyal246
1,497 views
37 slides
Mar 20, 2018
Slide 1 of 37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
About This Presentation
Presentation on vending machine controller using vhdl.
Size: 1.52 MB
Language: en
Added: Mar 20, 2018
Slides: 37 pages
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;
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.