• AVR Freaks

LockedElevator Algo

Page: < 12345 > Showing page 3 of 5
Author
naeem1234
Super Member
  • Total Posts : 453
  • Reward points : 0
  • Joined: 2015/02/19 06:39:28
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 00:15:58 (permalink)
0
Any help about how to document the Elevator Controller Logic? Cannot find much info about it on the Web.
#41
Chris A
Super Member
  • Total Posts : 860
  • Reward points : 0
  • Joined: 2010/07/20 04:37:07
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 01:19:56 (permalink)
0
The elevator continues to move in the same direction until all the outstanding "calls" in that direction have been satisfied.
#42
naeem1234
Super Member
  • Total Posts : 453
  • Reward points : 0
  • Joined: 2015/02/19 06:39:28
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 01:37:47 (permalink)
0
Chris A
The elevator continues to move in the same direction until all the outstanding "calls" in that direction have been satisfied.




 
Thanks a lot for this algo information.
1. Can you tell how can i represent this in the form of a diagram or picture for documentation purpose?
2. What would be appropriate data structure that can be used to implement this above algo in C Code?
 
Thanks in advance.
#43
PStechPaul
Super Member
  • Total Posts : 2951
  • Reward points : 0
  • Joined: 2006/06/27 16:11:32
  • Location: Cockeysville, MD, USA
  • Status: offline
du00000001
Just Some Member
  • Total Posts : 3979
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: Elevator Algo 2018/08/16 04:01:04 (permalink)
+1 (1)
   ... how to document ...   

There's certainly not a homogeneous approach. Combining some state table(s) (if you do not have one or more state machines: restart!) with flow diagrams - - - that mainly is it.

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#45
qɥb
Monolothic Member
  • Total Posts : 3332
  • Reward points : 0
  • Joined: 2017/09/09 05:07:30
  • Location: Jupiter
  • Status: offline
Re: Elevator Algo 2018/08/16 06:41:44 (permalink)
+5 (5)
An elevator is a big powerful machine that can kill people if things go wrong.
This topic keeps giving me visions of a person in scrubs entering an operating theatre clutching a copy of "Brain Surgery for Dummies" ... ;)
 

This forum is mis-configured so it only works correctly if you access it via https protocol.
The Microchip website links to it using http protocol. Will they ever catch on?
PicForum "it just works"
#46
Jim Nickerson
User 452
  • Total Posts : 6752
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Elevator Algo 2018/08/16 07:13:49 (permalink)
+1 (1)
Fortunately for us users there are a plethora of rules and regulations relating to the safety of elevators, construction, materials and safe operation. https://blog.ansi.org/201...ators-escalators/#gref
#47
Jim Nickerson
User 452
  • Total Posts : 6752
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Elevator Algo 2018/08/16 07:16:47 (permalink)
+1 (1)
If A17 is not enough in the States each individual state has added additional rules.
The inspections cover things like how fast and how with much force the doors close.
How close to the floor level is the elevator cab floor when the doors open.
There is a seemingly endless list.
#48
du00000001
Just Some Member
  • Total Posts : 3979
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: Elevator Algo 2018/08/16 07:43:52 (permalink)
+1 (1)
  An elevator is a big powerful machine that can kill people if things go wrong.  

 
I'd guess an elevator is not rated higher than SIL 2.
But OK - "Brain surgery" would only be SIL 1  LoL

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#49
naeem1234
Super Member
  • Total Posts : 453
  • Reward points : 0
  • Joined: 2015/02/19 06:39:28
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 07:50:49 (permalink)
0
Chris A
The elevator continues to move in the same direction until all the outstanding "calls" in that direction have been satisfied.




Thanks a lot for this algo. I have discussed it with the contractor and he 100% agrees on it.
 
BTW can you tell me more about this Elevator Algo.. is it followed in all the Elevators or the ones which have simple controller or the ones with sophisticated high-end controllers?
 
Are there any competing algos to this algo?
 
Thanks once again for pointing me to the right direction.
post edited by naeem1234 - 2018/08/16 07:53:43
#50
naeem1234
Super Member
  • Total Posts : 453
  • Reward points : 0
  • Joined: 2015/02/19 06:39:28
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 08:04:04 (permalink)
0
JANickerson
Fortunately for us users there are a plethora of rules and regulations relating to the safety of elevators, construction, materials and safe operation.




Although I don't have much info about this but so far what I know is that our Elevators will be conforming to EN 81-20 Standards.
#51
Jim Nickerson
User 452
  • Total Posts : 6752
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Elevator Algo 2018/08/16 08:13:16 (permalink)
0
I do not recall you mentioning where in the world you / the company is located. 
#52
Jim Nickerson
User 452
  • Total Posts : 6752
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Elevator Algo 2018/08/16 08:26:33 (permalink)
0
A17 and EN-81-20/-50 will become ISO/TC 178.
I wonder if you have a copy of EN-81-20 and have you read it ?
#53
katela
Super Member
  • Total Posts : 1877
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: offline
Re: Elevator Algo 2018/08/16 08:33:55 (permalink)
0
naeem1234
JANickerson
Fortunately for us users there are a plethora of rules and regulations relating to the safety of elevators, construction, materials and safe operation.




Although I don't have much info about this but so far what I know is that our Elevators will be conforming to EN 81-20 Standards.


You have to know about regulations before even starting with your design. Because your design will have to conform to your local safety regulations.
You can't refer to it after you have finished with your design.

Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
#54
naeem1234
Super Member
  • Total Posts : 453
  • Reward points : 0
  • Joined: 2015/02/19 06:39:28
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 10:55:47 (permalink)
0
katela
naeem1234
JANickerson
Fortunately for us users there are a plethora of rules and regulations relating to the safety of elevators, construction, materials and safe operation.




Although I don't have much info about this but so far what I know is that our Elevators will be conforming to EN 81-20 Standards.


You have to know about regulations before even starting with your design. Because your design will have to conform to your local safety regulations.
You can't refer to it after you have finished with your design.




Yes sure I will do that. I am sure my seniors who are actually supervising the whole product development process and who have many years of successful experience in this niche market would be more concerned about it at their level and would be taking all possible steps to fulfill all safety requirements in electrical, mechanical, hydraulic and civil works as well as will do rigorous testing of my developed firmware on every level before accepting it as a 'working version'.. i don't think there is a choice here.
 
As for me I am at the junior level in this whole process and at the moment mostly doing self-learning. I would appreciate if you could point me to any professional course or book on this subject for my formal training.
#55
naeem1234
Super Member
  • Total Posts : 453
  • Reward points : 0
  • Joined: 2015/02/19 06:39:28
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 11:20:11 (permalink)
0
qɥb
An elevator is a big powerful machine that can kill people if things go wrong.
This topic keeps giving me visions of a person in scrubs entering an operating theatre clutching a copy of "Brain Surgery for Dummies" ... ;)
 




 
or worst yet the person is creating the monster of Frankenstein 
#56
Jim Nickerson
User 452
  • Total Posts : 6752
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Elevator Algo 2018/08/16 11:35:09 (permalink)
+1 (1)
The first book you need is "The Vertical Transportation Handbook by Strakosch"
https://www.amazon.com/Ve...132/ref=dp_ob_title_bk
#57
Jim Nickerson
User 452
  • Total Posts : 6752
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Elevator Algo 2018/08/16 11:39:02 (permalink)
+1 (1)
The second reference book is "CIBSE Guide D" https://www.elevatorbooks....aspx?bookid=2015CIBSE
#58
Jim Nickerson
User 452
  • Total Posts : 6752
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Elevator Algo 2018/08/16 11:51:45 (permalink)
0
There are two sections to an elevator controller.
1. takes care of controlling starting, stopping, door operation, position feedback and safety.
2. the dispatcher decides where it goes next.
Which of these is your controller going to do ?
#59
naeem1234
Super Member
  • Total Posts : 453
  • Reward points : 0
  • Joined: 2015/02/19 06:39:28
  • Location: 0
  • Status: offline
Re: Elevator Algo 2018/08/16 13:03:04 (permalink)
0
JANickerson
There are two sections to an elevator controller.
1. takes care of controlling starting, stopping, door operation, position feedback and safety.
2. the dispatcher decides where it goes next.
Which of these is your controller going to do ?




Are these 2 sections also physically 2 separate PCB's or are they logically 2 separate sections in the same 1 controller specially for my case of simple Elevator Controller of max 12 floors only with discrete signals from each floor? (Simple because many features will not be there in it as CALL-CANCEL will not be there which is usually there if you press the same CALL button again).
Edit: Section #2 would be a state-machine.. please correct me if I am wrong.
 
I think my controller would have both of these sections in it as there is no other controller in the elevator.
 
I was not aware of the serious-ness and depth-ness of this subject. Its good to learn it now from the above mentioned books.
 
post edited by naeem1234 - 2018/08/16 13:07:51
#60
Page: < 12345 > Showing page 3 of 5
Jump to:
© 2020 APG vNext Commercial Version 4.5