Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Other Engineering Expert

1.  Match the entries in the left column with those ie downn the right Column, E.g. if entry #2 in the left column matches entry #C in the right column, write down C in the shaded box in row 2.

649_Match column A and B.jpg

2. Consider the following state transition diagram for a finite state machine. The circles represent the states, and are labeled A through D. The arrows represent transitions between states. The input is represented by x and the output is y. Assume that the variable "PortA" provides the input value x, and that the output value is written to the variable "PortB".

Write the appropriate C code to implement this state transition diagram. Hint: Use the C construct "Struct" or arrays. Be sure to include comments to describe your code.

2129_State Transition Diagram.jpg

3.

a) What to the terms in the acronym "PID" Controller mean?

b) Suppose the gain k controls the proportional gain in a PID controller. State what happens to the response function when the gain is very low, and the gain is very high.

c) Why do we add the "I" and "D" terms to a controller? How does that change the response function?

4. Consider two wheels joined by an axle as shown in the following figure. This is a top view. The radius of each wheel is 4/pi centimeters (pi = 3.14159). The objective is to start at Position A and end at Position B. This involves traveling North for 8 cm, then turning right, and then traveling East for 4 cm. You can assume a hard turn, ie Wheel 2 is stationary when performing the right turn.

2422_Top view of wheels.jpg

Assume that the wheels are driven by one stepper motor each. The state transition diagram for one stepper motor is shown below. Each transition moves the wheel by 18 degrees, ie each step is 18 degrees.

665_Transition Diagram.jpg

a) Draw a flow chart indicating the commands to be sent to the stepper motor for each wheel.

b) Write the C code in order to implement the movement from Position A to Position B.

5. You have been hired by a company to develop a Virtual Reality headset that will display streaming video. Briefly describe your design by addressing the following requirements:

(1) Latency. What types of latency will you consider?

(2) Bandwidth. Assume 30 frames per second and image size of 100x100 pixels, at 3 bytes per pixel, uncompressed.

(3) What factors will affect the latency of your system? Mention at least two factors.

(4) How will you improve the latency of your system? Suggest at least one possibility.

Your entire answer to this question should not exceed one page.

6. You are given the following list of tasks that need to be run. There is no synchronization between these tasks.

Process

Execution Time

Period

P1

1

4

P2

5

25

P3

5

50

P4

4

40

Determine whether this system is schedulable. (Hint: use the Rate Monotonic theorem).

Also assume that n (2^(1/n) - 1) c= In(2) = 0.69 for your calculation. What is the CPU utilization in this case?

7. A printer needs to be shared between 4 threads. Use semaphores to design a solution to this problem. Use Wait and Signal commands, and describe how your solution works.

8. Three threads, Thread', Thread2 and Thread3 need to be synchronized. Whichever thread gets to a certain point (synchronization point) of the main code will wait for the other threads to finish. Only when all three threads have arrived will the execution of the main code continue beyond the synchronization point. Use semaphores (signal and wait) to design a solution to this problem.

a) Describe the meaning of the semaphores you will use.

b) Create a table showing the states of the different semaphores you have chosen, and the order in which the different threads arrive at the synchronization point.

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M91785873

Have any Question?


Related Questions in Other Engineering

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Q 1a discontinuity is found fully developed from the toe to

Q. 1 A discontinuity is found fully developed from the toe to the bench surface on a 15 m high slope, slope angle 65°. The discontinuity (frictional angle 32° and cohesion 20 kN/m2) is planar and its strike is parallel t ...

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

Engineering analysis homework -for every problem provide

Engineering Analysis Homework - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Write a script that solves the problem. For (c), show results of the evaluation of every ind ...

Engineering materials term paper assignment -conduct a

ENGINEERING MATERIALS TERM PAPER ASSIGNMENT - Conduct a thorough literature search and write a 15-20 page technical review paper on the evolution of the engineering materials used in the manufacturing of any one of the f ...

Assignment 11 what is the purpose of ore reserve and

ASSIGNMENT 1 1. What is the purpose of ore reserve and resource estimation? Why are resource and reserve estimates important to the mining industry? 2. What is meant by ore? What is meant by the term waste? How is the di ...

1 online discussion forum - post your proposed topic and

1. Online Discussion forum - Post your proposed topic and chosen data set as well as a short plan for the project. This is required for approval of the topic. As discussed, students must select unique topics, therefore i ...

Mine safety amp environmental engineeringpart 1 questions1

Mine Safety & Environmental Engineering Part 1. Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the following terms ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As