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

  The address assigned to one device is 7ca416

The address bus of a computer has 16 address lines, A15_0 If the address assigned to one device is 7CA416 and the address decoder for that device ignores lines A8 and A9, what are all the addresses to that the device will respond.

  Feasibility analysis

What is meant by the feasibility analysis? Explain how that experience relates to one or more of feasibility tests for technical, operational, schedule, or economic feasibility.

  Explain the fundamentals of object oriented programming

With down a brief introduction, explain the fundamentals of Object Oriented programming and its differences from procedural programming.

  Binary hypercube and a barrel shifter

Consider an illiacmesh (8*8) ,a binary hypercube and a barrel shifter, all with the 64 nodes labelled n0,n1…n63.all network links are bidirectional.

  What are the advantages of the osi reference model

Using the layers of the OSI model as a reference, explain and sketch how repeaters, hubs, bridges, switches, routers, and gateways function in forwarding packets from one host to another through each device respectively.

  Why appropriate organizational culture is needed

Company X is going to expand its information system. To do this, it is going to select and purchase new hardware and software and re-train its employees. The problem-solving team has been built and has specified hardware, software and staff-traini..

  Calculate average time in a linear search

Calculate average time in a linear search

  Suppose it would take 100 hours in execution

For a certain program, 1% of the code accounts for 50% of the execution time. evaluate the following strategies with respect to programming time and execution time.

  How to research the development technologies

how to Research the development technologies below and type up a sum,mary of them.

  Evaluating the wireless nics

Describe whether this is still true today, and state the factors which are moving wireless NICs into the more dominant role, if any.

  Write program that computes the cost of a long distance call

Write program that computes the cost of a long distance call

  Modify an instance of the class polygon

suppose you are participating in a big project that deals with points in a two-dimensional plain

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