Hi Everyone!
I need your help with an Elevator project I have. I have uploaded the Assignment and provided the link below, either way I'll give a short description.
Project Description
You are to design and implement a simulation of an elevator control system. The elevator is in a building of 4 floors (floor 0 to floor 3). You will use green LEDs to indicate where the elevator is at the moment, push buttons to press the needed button on each floor (the upper button when needing to go up and the lower button when needing to go down), red LEDs to indicate which button was pressed, and a 7-segment display to indicate at which floor the elevator is at the moment.
The more detailed functioning of the elevator is inside the PDF document attached.
I have been working on this project for almost 3 weeks now, but I still could not get it to work. I tried all sorts of approaches, all combinations of State Diagrams and FSMs, but nothing seemed to work.
This last approach I am trying consist of a 3 State FSM. A Hold, an Up, and a Down. These simply represent the state of the elevator, whether it is stationary, going up, or going down. I have also uploaded the truth tables for each state. I believe they are correct, but I'm not sure. It would be great if you guys could look through them and give me any advice, hints, and corrections.
My main problem at this point remains designing some sort of memory or register to save all the inputs. Again, this is what I believe. You see I need a way to control the inputs, which are supplied by push buttons that represent where the elevator is being called from and in which direction, so that I can pass them in an intelligent manner to the elevator so that it would know what to do next or where to go. In short I believe I need some sort of intelligent control for the inputs to pass them to the elevator and then reset them when their conditions are met.
I know it's a lot to read, but I am really desperate, I am down to my last 3 days before my deadline and I can't get the thing to work properly.
If it helps, I am simulating my design using Altera Quartus 2 Web Edition, which is the software we use in this course.
Below are the links for the Description of the project and the 3 truth tables.
Full Description of the Project:
http://www.mediafire.com/?i6yiiiy27b94p06
Truth Table of the hold state:
http://www.mediafire.com/?tyn4n1xpg7whi5f
Truth Table of the down state:
http://www.mediafire.com/?3aqav7wyqbh3w2a
Truth Table of the up state:
http://www.mediafire.com/?ao0nhr2wma162o2
ANY help,any, is GREATLY appreciated. I really need to get this elevator working.
If you need any extra information from me, please don't hesitate to ask or send me a pm.
Thanks in advance!!
I need your help with an Elevator project I have. I have uploaded the Assignment and provided the link below, either way I'll give a short description.
Project Description
You are to design and implement a simulation of an elevator control system. The elevator is in a building of 4 floors (floor 0 to floor 3). You will use green LEDs to indicate where the elevator is at the moment, push buttons to press the needed button on each floor (the upper button when needing to go up and the lower button when needing to go down), red LEDs to indicate which button was pressed, and a 7-segment display to indicate at which floor the elevator is at the moment.
The more detailed functioning of the elevator is inside the PDF document attached.
I have been working on this project for almost 3 weeks now, but I still could not get it to work. I tried all sorts of approaches, all combinations of State Diagrams and FSMs, but nothing seemed to work.
This last approach I am trying consist of a 3 State FSM. A Hold, an Up, and a Down. These simply represent the state of the elevator, whether it is stationary, going up, or going down. I have also uploaded the truth tables for each state. I believe they are correct, but I'm not sure. It would be great if you guys could look through them and give me any advice, hints, and corrections.
My main problem at this point remains designing some sort of memory or register to save all the inputs. Again, this is what I believe. You see I need a way to control the inputs, which are supplied by push buttons that represent where the elevator is being called from and in which direction, so that I can pass them in an intelligent manner to the elevator so that it would know what to do next or where to go. In short I believe I need some sort of intelligent control for the inputs to pass them to the elevator and then reset them when their conditions are met.
I know it's a lot to read, but I am really desperate, I am down to my last 3 days before my deadline and I can't get the thing to work properly.
If it helps, I am simulating my design using Altera Quartus 2 Web Edition, which is the software we use in this course.
Below are the links for the Description of the project and the 3 truth tables.
Full Description of the Project:
http://www.mediafire.com/?i6yiiiy27b94p06
Truth Table of the hold state:
http://www.mediafire.com/?tyn4n1xpg7whi5f
Truth Table of the down state:
http://www.mediafire.com/?3aqav7wyqbh3w2a
Truth Table of the up state:
http://www.mediafire.com/?ao0nhr2wma162o2
ANY help,any, is GREATLY appreciated. I really need to get this elevator working.
If you need any extra information from me, please don't hesitate to ask or send me a pm.
Thanks in advance!!