Get 20% Off + $20 Signup Bonus ! Limited Time, Hurry !
Get 20% Off + $20 Signup Bonus ! Limited Time, Hurry !
Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!
loader
Add File

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Stuck on Your Question?

Get 24x7 live help from our Top Tutors. All subjects covered.

loader
250 words

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Students Who Viewed This Also Studied

4 Pages
MTADs

The Operational Concept Document (OCD) is used to:  a. describe the characteristics of the Mission System and Support System from an  operational perspective;  b. facilitate an under ...

Type

Thesis

Subject

3 Pages
Global Economic Crisis

Question to be worked on: Why do you think that GE has come to prefer joint ventures in recent years? Do you think that the global economic crisis of 2008-2009 might have impacted upon this preference ...

Type

Home Work

Subject

5 Pages
Project Management

This is a practical assignment that relates to the content of Topic 8 Learning Module and associated materials and is intended to help you: ï‚· Consolidate your understanding of quality and qualit ...

Type

Thesis

Subject

15 Pages
Project Management

In the competitive business environment, leading organisations are steadily embracing project management as a way to control spending and improve results (Project Management Institute (YEAR).  Be ...

Type

Essays

Subject

real time systems

Question

Answered

Real-Time Software Design  Outline of task  
You are required to design, implement and document a program for a Passenger Lift Control System to execute on a Windows compatible PC computer. The assignment does not involve any hardware connections to the PC, as the operation of the lift’s sensors and controls are simulated by a program provided for this purpose.  
To complete this assessment you must submit a report documenting your system design, and submit the source files and executables of the completed (or partially completed) program by the due date. The report must include the following concise information:  
• Program Listing  - Commented source file listing (i.e. a copy of your codes) • System Model  - A state diagram or state chart representing the program and      brief explanation its operation (maximum 4 pages)  System specification  
Design  
The application to be designed must monitor and safely control the operation of a passenger lift. The lift configuration is detailed below. You are required to write a state driven implementation for a Real-Time control system to meet the following requirements:  
1. Control the lift and doors in a safe manner at all times: in particular do not allow doors to be open unless the lift is stopped, and do not start the winch unless the doors are closed.  
2. The program must check the call button input(s) and move the lift to that floor as soon as practical. Current direction of travel should be accounted for. Eg. Do not stop at floor 2 on the way up if a passenger pushed button B to go down.  
3. The program must check the level button input(s) and move the lift to that floor as soon as practical.  
4. The door open time at a floor is to be 7 seconds. (doorajar() > 0.5 )  
5 Control the lift position to ±0.05m when it stops at each floor (at 0.0, 4.0 and 8.0m)  
6. Do not allowing the lift to reach its limits of travel (-0.5m or 8.5m) as equipment damage will occur.  
 
Figure 1: Lift configuration  
The lift   
• The lift is as shown in Figure 1. It is comprised of a lift with doors, the winch, a position sensor, 4 call buttons and 3 in-lift buttons. • The door control input is used to open and close the lift doors. (+1 for open, 0 for close)  • The winch control input is used to raise or lower the lift at 0.5 m/s. (+1 for raise, -1 for lower, 0 for stop) {Ignore acceleration and deceleration}. • The position sensor measures the location of the lift to 0.01m resolution. (Its range is -0.5 to 8.5 m) • The door ajar sensor measures the amount the doors are open to 0.01m resolution. (Its range is 0.0 to 1.0 m) • The 4 call buttons allow passengers to call the lift to their floor. (Up only on floor 1, up and down on floor 2, and down only on floor 3) • The 3 level buttons in the lift allow passengers to enter the floor they wish to travel to.  
Implementation  
You are required to implement a real time control program in C to execute on a window compatible PC, using the cygwin or windows environment. You will be provided with ‘LiftSim.exe’, a separate program which you run at the same time as your control program. This program will simulate the lift hardware (buttons etc) and the movement of the lift, based on your control.  
You will be provided with the header file ‘lift.h’ and the source file ‘liftint.c’ which provides a set of subroutines that interface with the lift simulation program. [Look for these files on the USQ Study Desk] A summary of the function of each subroutine is provided below. You should incorporate these files in your program compilation

real time systems

Answer in Detail

Solved by qualified expert

Get Access to This Answer

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

15 More Pages to Come in This Document. Get access to the complete answer.

MyAssignmenthelp.com is the best assignment help provider serving thousands of students in New York City, Boston, Washington D.C. and Chicago. With a team of qualified and experienced online assignment experts, we deal with all types of assignment writing tasks. Our popular assignment help services include marketing assignment help, auditing assignment help, finance assignment help, statistics assignment help, help with law assignments. We guarantee that students, who decide to buy assignments online, get work worth their money and time.

More real time systems: Questions & Answers

Q

MTADs

The Operational Concept Document (OCD) is used to:  a. describe the characteristics of the Mission System and Support System from an  operational perspective;  b. facilitate an understanding of the overall system goals for both the Mission  System and Support System;  c ...

View Answer
Q

Global Economic Crisis

Question to be worked on: Why do you think that GE has come to prefer joint ventures in recent years? Do you think that the global economic crisis of 2008-2009 might have impacted upon this preference in any way? If so, how? our answer should demonstrate: (i) An understanding of the course material ...

View Answer
Q

Project Management

This is a practical assignment that relates to the content of Topic 8 Learning Module and associated materials and is intended to help you: ï‚· Consolidate your understanding of quality and quality management processes. ï‚· Identify and review the performance of some of the processes within ...

View Answer
Q

Project Management

In the competitive business environment, leading organisations are steadily embracing project management as a way to control spending and improve results (Project Management Institute (YEAR).  Being able to deliver projects on time and within budget often determines whether an organisation surv ...

View Answer

Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the content removal request.

Choose Our Best Expert to Help You

5% Cashback

On APP - grab it while it lasts!

Download app now (or) Scan the QR code

*Offer eligible for first 3 orders ordered through app!

screener
ribbon
callback request mobile
Have any Query?