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

  How various entries in the page table

How various bits in each page table entry? Assume that each page table entry includes a valid/invalid bit.

  Make a class named student

design a class named ShowStudent that instantiates a Student object from th eclass and then display all the vlaues associated with the Student. Save as ShowStudent.java

  The difference between roles and groups

The difference between roles and groups

  Write down a c program that has a declaration in main()

Modify this restaurant() function to alter the address in message. usage the expression *menu rather than *(menu + i) to retrieve the correct element.

  How may a project manager be sure

How can a project manager be sure that he or she has selected the correct metrics to assess project performances? Give three examples.

  Explain a subclass of jpanel called mycolorchooser

Declare a subclass of JPanel known as MyColorChooser that provides three JSlider objects and three JTextField objects. Each JSlider represents values from 0 to 255 for the red, green and blue parts of a color.

  Calculating the overall class average

It is now the end of the semester and Alberta would like to have a program which inputs each student`s test scores and outputs average score for every students and the overall class average.

  Why systems need to be updated or upgraded

How could a customer relationship management system advance strategies of the payer organization.

  Imagine we want to add to the sterling class

a penny may be further divided into halfpennies and farthings -> farthing worth 1/4 of a penny. There was a halfpenny coin, farthing coin, halffarthing coin.

  In short describe the situation inside your company

It is likely that your organization uses various decision-support programs, as in  programs that automate production, programs for resource optimization, and so on.

  Generate a database for the gps law firm

Generate a database for the GPS Law firm

  Define creating an exam object using java

define Creating an Exam Object using Java

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