Final Lab Report
Final Lab Report
Date: 12/18/2017
1.0 Abstract
This project explored the use and application of an encoder, which was used in this project to
measure the rotational speed of three motors at different voltage levels, in order to recreate the
Torque - Speed curves of each respective motor while hoisting up masses. The encoder was
attached to the end of an 81:1 custom gearbox where a pulley was used to pull up increasing
masses. The motors were individually attached to the other end of the gearbox and were tested at
four different voltage levels each. This resulted in voltage measurements correlating to the
rotational speed of the motors. Current was measured using a simple multimeter. With the
speed and current measurements, the power and efficiency curves within the Torque - Speed
curves were then derived for the motors at each voltage level.
1
3.0 Procedures
3.1 Voltage Levels Used
In this experiment, the Torque - Speed curves were created by holding the voltage constant.
Tests were done at 6V, 8V, 10V, and 12V. This allows us to see how, or if, the torque speed
curve changes at different voltage levels. Voltage was supplied by using a power supply at the
stations within the ITLL.
3.2 Motors Used
Three different motors were used in the experiment. One motor was checked out from Dan in
the ITLL while the other two were bought from SparkFun. The checked out motor had unknown
specs and is labeled Motor 1 throughout this report. Motor 2 and Motor 3 were bought and the
specifications were known and compared to the results from the experiment. Figure 2 shows
each motor used in this project.
Figure 2: From left to right: Motor 1, Motor 2, Motor 3
3.3 Encoder
A rotary encoder was used to measure the speed of the shaft in rotations per minute (RPM).
The encoder used in the experiment has a PPR (pulses per revolution) of 1024. This means there
exist 1024 ‘ticks’ for only one revolution of the shaft. This is very precise and allows for
accurate measurements at low speeds. The maximum RPM the encoder can measure is 6000
RPM. Because of this limitation, a gear box was made to slow down the shaft output of the
motor.
3.4 Data Acquisition
In order to read data from the encoder, a data acquisition instrument needed to be used. In this
experiment the USB-6009 National Instruments DAQ was used. These are the same DAQs given
to the group in previous lab experiments. The MATLAB data acquisition application was used to
record and save the data from the encoder.
3.5 Gearbox
In order to slow down the motor without changing the voltage input, a gearbox was made
to slow the output shaft. The motor was coupled with the lego shaft which connected to a
2
gearbox that geared down the motor 81:1. This allows for a motor spinning faster than 6000
RPM to be read successfully by the encoder.
3.6 Pulley System
To apply the torque to the shaft, a simple pulley system was used. At the end of the gear box,
a lego shaft connected to the encoder. On this shaft a circular lego piece was placed which was
able to wind up a cable that had a mass attached at the end. The radius of the circle was
measured and a weight was hung from it. This a simple way to apply a rotary torque to a shaft.
The gearbox helped slow down the motor which in turn allows enough cable to be wound up.
The data was captured over three seconds, so there had to be enough time for the data to be
captured and for the mass to not reach the end of the cable.
3.7 Testing Apparatus
The above systems were combined into one testing apparatus. The motor was connected to a
lego shaft by a coupler. The shaft entered the gearbox, increasing the ratio to 81:1. The output of
the gearbox was also a lego shaft where the pulley system was placed. The shaft continued and
was connected to the encoder shaft by another coupling. This is a full summary of the apparatus
used in the experiment. Figure 3 shows a picture of the lego apparatus and all its parts.
The slope of this line is the rotations per second. A simple conversion is used to get RPM.
The time axis window is very small in the graph. As stated before, the more PPR, the more
pulses exist. The axis is edited to be so small as to allow the viewer to visually see the pulses
over time.
4.2 Torque, Speed, and Current
4
The current was measured from a multimeter and a weight was hung from the pulley, giving
us three data values. At each increment of mass, the current and speed were measured while
keeping a constant voltage. Figures 6-8 show the scatter plot of each point at each applied torque,
for each motor at 10V.
Figures 6-8: Speed and Current plot comparison across all three motors.
Using another MATLAB script allowed us to plot linear lines formed by the current and RPM
points. With no torque applied, the values of no load speed and no load current are measured. As
more torque is applied to the motor, the slower the motor will spin. It can be seen that RPM
lowers in value as more weight was added to the pulley (a linear line with a negative slope.) It
can also be seen that as more voltage is applied, the faster the motor will spin overall. Figure 9
shows the current and speed lines at each voltage level.
Eventually, the motor would stop spinning which is known as the stall torque. Current,
however, has an opposite relationship. As more torque is applied, the motor has to ‘try’ harder to
move the shaft. More power is needed so more current is supplied. We can see an increase in
current with increase in torque (a linear line with a positive slope.) At the point of stall torque,
the stall current is also known. Once these four values are known, they are inputs to the
5
MATLAB script mentioned in the introduction/background information section. The Torque -
Speed curve of each motor at 10V is shown below in Figures 10-12.
Figures 10-12: Torque - Speed Curve comparison between each motor
It can be seen that Motor 1 spun slower than Motors 2 and 3. However, Motor 1 was a truly
arbitrary motor; the specs were unknown. Motors 2 and 3 had internal gear boxes, which were
accounted for, and may have resulted in faster speeds. Motor 1 may have had an internal gear
box, but it cannot be certain. Table 1 compares the four values of interest.
Motor, 10V No Load Speed No Load Current Stall Current Stall Torque
Motor 2 is shown the have the highest stall torque. This is somewhat surprising as it is the
smallest motor in size. Motor 2 spins much faster than expected. It had an internal gear box of
100:1 times a gear box made of legos of 3:1. This is what most likely led to the RPM being so
high. Different specs were seen at different voltages and these tables can be found in the
Appendix section.
6
Speed-Torque 6 V 8 V 10 V 12 V
By taking the mean and standard deviation from the columns of data, the spread of data can be
approximated for the measurements, given a specific voltage. Figure 13 displays this data in the
form of a bar graph with error bars. As we can see, the variation in the data increases as voltage
increases. This is likely due to the fact that the system that was built and used for testing data
would vibrate more violently as voltage increased.
7
The mean and standard deviation can also be taken across the rows. This would show how the
measured data varies with respect to each motor. As shown in Figure 14, the data varies much
more with motor 1 than motors 2 or 3. This is likely due to the fact that more Lego gears were
used to gear down motor 1 than the other motors.
Overall, the measurements taken from motors 2 and 3 seems to be fairly precise, while motor 1
was far less reliable. This, however, does not mean that the data is accurate, as it only displays
the fact that the data taken fits a line well. In order to record more accurate data, a system made
of properly machined gears, shafts, and couplings should be used, as the efficiency of the Lego
gearbox is probably pretty low.
6.0 Conclusion
In this project, the Torque - Speed curves were created using three different motors, each at
four different voltage levels: 6V, 8V, 10V, and 12V. Each motor was hooked up to a gearbox
and pulley system to pull up incrementally increasing masses until each motor reached its stall
point or until the maximum mass available (1kg) was reached. An encoder was used to measure
how fast each motor spun in RPM while they pulled up the masses. A DAQ USB-6009 and
MATLAB data acquisition application were used to record and save the data collected from the
encoder. Current was measured using a multimeter each time a mass was hoisted up. The data
for both motor speed and current were then fitted, using linear regression, to obtain the
approximate speed and current lines in the Torque - Speed curves. From there, the power and
efficiency curves were plotted using their respective equations. At 10V, it has been shown that
Motor 2 had the highest no load speed, stall current, and stall torque of 185,540 RPM, 1631.6
8
mA, and 1.23 Nm respectively, and Motor 3 had the lowest no load current of 37 mA. A similar
trend has been observed the other voltages as seen in the Appendix.
7.0 Appendix
7.1 Spec Tables
Motor, 6V No Load Speed No Load Current Stall Current Stall Torque
Motor, 8V No Load Speed No Load Current Stall Current Stall Torque
Motor, 10V No Load Speed No Load Current Stall Current Stall Torque
Motor, 12V No Load Speed No Load Current Stall Current Stall Torque