Define the main function that repeatedly calls the motion

Assignment Help Computer Engineering
Reference no: EM1331720

A control system applies a force to an actuator proportional to the voltage of a signal coming into the control system. It is desired not to allow actuator to quiver back and forth in the presence of small corrections near zero-force point. More force is required for the actuator to move to the left (negative direction of motion) then is required for the motion to the right (positive direction of motion). Assume that the transfer function (the relationship between the voltage and the movement) of the actuator is:
? Voltage less the -0.2 volt: actuator moves 1 cm/volt in the negative direction
? Absolute value of voltage less the or equal to 0.2 volts, no motion
? Voltage greater than 0.2 volts, actuator moves 2 cm/volt in the positive direction

Write the function to compute total motion for any single signal input. Write the main function that repeatedly calls the motion calculation function using an input signal stream such as this:-10.v, -8.0v,-0.21v,-0.20v,-0.05v,1.5v,0.00v,4.5v. The main function should also take as user input an initial position of the actuator and should output a final position resulting from applying the signals of the given control system. For one test simulate the effect of the given voltages for an initial position of 1.5 cm to find the final position of the actuator.

Reference no: EM1331720

Questions Cloud

Does your company use any hr practices : Human Resource Management - training and development or labor-employee relations
Design a program that calculates the total ticket sales : The manager of a football stadium wants you to write down a program that calculates the total ticket sales after each game. There are four types of tickets box, sidelline, premium and general admission.
Limitations of qualitative and quantitative research : What is the difference between qualitative and quantitative research? How are each useful? What are their limitations?
Internal initiatives used by the government : Internal initiatives used by the government - Describe some of the internal initiatives used by the government for improving effectiveness and efficiency.
Define the main function that repeatedly calls the motion : A control system applies a force to an actuator proportional to the voltage of a signal coming into the control system. It is desired not to allow actuator to quiver back and forth in the presence of small corrections near zero-force point.
Measuring and differentiating solvency and liquidity : Explain the differences between solvency and liquidity, and how we measure them (the ratios we use).
The criminal procedure of u.s.a : What factors do you think the judge should take into consideration when trying to arrive at a decision on how to ensure the defendant's right to a public and speedy trial?
Change-management reorganization : Option for beginning the change reorganization using a series of specific steps or interventions and What are the first five interventions that can be used to begin a change-management reorganization
Find the honda corporation''s new economy strategy : Find the Honda corporation's new economy strategy.  How does Honda employ the Internet and other recent (and emerging) technologies in its product or service offerings/development and marketing efforts?

Reviews

Write a Review

Computer Engineering Questions & Answers

  What could some of the gains include

Does a new software product always give a fundamental improvement to the system where we install the new software product? What can some of the gains include.

  Give the company''s decision support system

Large organizations often link extensive reporting suites to company's Decision Support Systems, in effect creating 'Business Intelligence' (BI) applications.

  Estimating the performance of processor

Without any hardware support, context switch time is not zero. This states that the actual performance will not be as good as the ideal above.

  Determining the companys checkbook or ledger

The subcontractor says that original check was for only $10,750. Jonathan looks around office however was not able to determine the company checkbook or ledger.

  Developing the gui application

Write down a GUI application which prompts user for a number between 1 and 5. Be sure to involve error checking so that program continues to prompt the user for a number till the user's entry is between 1 and 5, inclusive.

  How many prefetches need to be outstanding

How many prefetches need to be outstanding

  What potential problems may you encounter

Your company currently has several databases and many database management applications to manage the data, including Access, Microsoft SQL, and Oracle.

  How to create a visual studio 2008 asp .net web site

If result is a positive number, display the answer in Arial font. The Label server control should also display an error message to the user if they tried to divide by zero on first Web Form.

  Which loop arrangement be best for accessing an array

Which loop arrangement be best for accessing an array.

  How to write a c function named change()

The function should find the number of quarters, dimes, nickels, and pennies in the number passed to it and write these values directly into respective variables declared in its calling function.

  Define the idea of a context as it relates to hci design

Interactive computer systems could be categorized both in terms of interaction styles and interaction paradigms. This helps us to understand the problems and potential value of any interactive system design. We must also pay attention to the conte..

  Build a lottery game application

Create a lottery game application. Generate four random numbers, each between 0 and 9 (inclusive). Allow the user to guess four numbers.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd