ME 454 HW 4
What is the angular resolution of a 2000 CPR incremental encoder, assuming it has quadrature? Provide answer in degrees with three decimal places.
0.045
What is the angular resolution of a potentiometer reading angles from 0 to 90 degrees full sweep, changing 0 to 5 volts full sweep, connected to a 10-bit ADC whose full-scale range is 0 to 5 volts? Provide answer in degrees with three decimal places.
0.088
Perform the following bitwise operation: 15 ^ 5 Give your answer in decimal form.
10
What is the angular resolution of this encoder? Provide answer in degrees with two decimal places.
11.25
Assume an Arduino can measure 50,000 transitions per second (it can). What is the fastest RPM that can be measured on a 5500 CPR incremental encoder, assuming it has quadrature? Note: Transition = (HIGH to LOW) or (LOW to HIGH) on either channel A or B. Provide answer in RPM without decimal places.
136
Perform the following bitwise operation: 15 | 5 Give your answer in decimal form.
15
How many positions could result in ambiguous measurements during transitions? (i.e. there could be undetermined intermediate values during the transition). Circle these locations on the figure. Note: Transition = From one discrete position to another discrete position Provide answer as a positive integer.
16
Perform the following bitwise operation: 15 << 5 Give your answer in decimal form. Assume the number of bits is sufficient to contain any overflow.
480
How many bits does this disk use? Provide answer as a positive integer.
5
Perform the following bitwise operation: 15 & 5 Give your answer in decimal form.
5
Which of the above switches (list them all) could be used by itself (no other switches in the circuit) with a simple battery, with a human activating the switch, to control the velocity of a motor that ONLY moves in one rotational direction, and only at full speed or stopped (assuming switch motion can be stopped halfway through the switch throw)? I II III IV
ALL
Would the above 2000 CPR incremental encoder with quadrature be better or worse, in terms of resolution, than a potentiometer reading angles from 0 to 90 degrees full sweep, changing 0 to 5 volts full sweep, connected to a 10-bit ADC whose full-scale range is 0 to 5 volts? Encoder is better Potentiometer is better
Encoder is better
What coding does this disk use? Natural binary or Gray code? Natural binary Gray
Natural binary
Classify the type of each switch (i.e., is it an SPST, DPST, etc.), and whether it is NO or NC (omit for double throws). Answers should be in these formats: I II III IV
SPST, NO DPDT SPDT SPST, NC
Three students are arguing about how to set up their circuit. They have only one 12V power supply, but their circuit requires 5V. The students do not want to overload the circuit, and they each have a different element that they want to use to get the required 5V. Which student is making the BEST argument? Use a voltage regulator with 5V output! Use a resistor that has a voltage drop of 7V! Use an operational amplifier with a gain of 0.42!
Use a voltage regulator with 5V output!
Which of the above switches (list them all) could be used by itself (no other switches in the circuit) to control the velocity of a motor that moves in EITHER rotational direction, i.e. full forward, off, or full reverse? Again, assume a human input, a simple battery, and that the switch motion can be stopped halfway through the switch throw. I II III IV
II
