| 1 | = Motor Selection = |
| 2 | == 1. Define the problem. == |
| 3 | Typically, you have the following overarching constraints and requirements in FRC: |
| 4 | |
| 5 | // |
| 6 | |
| 7 | '''Constraints:''' |
| 8 | * 40A (max) breaker per motor output |
| 9 | * 120A breaker total (including other mechanisms) |
| 10 | * mass budget |
| 11 | * space |
| 12 | |
| 13 | '''Requirements''' |
| 14 | * mechanical power - combination of factors, including |
| 15 | * speed - how fast would you like to be able to accomplish the task? |
| 16 | * distance - what is the range of the mechanism? |
| 17 | |
| 18 | On this page, we'll ignore mass and space constraints. |
| 19 | |
| 20 | ---- |
| 21 | From physics, power is equivalently defined by the following: \\ |
| 22 | {{{ |
| 23 | #!div style="border:1pt dotted; color:blue; text-align:center; font-size:120%;" |
| 24 | P = W/t = Fd/t = Fv |
| 25 | }}} |
| 26 | where W = work, F = force, d = distance, t = time, and v = (average) velocity. |
| 27 | |
| 28 | 1. Figure out the force ''required'' by your system. |
| 29 | 2. From your design, determine how fast you want the mechanism to actuate. |
| 30 | 3. As an elimination tool, any motor combination with a total output power less than your requirement will '''not''' do the job (depending on efficiency), those motors. You can either |
| 31 | * reduce the speed |
| 32 | * increase the number of motors |
| 33 | 4. Make sure there is some margin for the inefficiency of the system, the gearing, and other unaccounted factors. |
| 34 | * Efficiency is higher for directly directly systems, and for simply gearboxes. |
| 35 | * Efficiency lowers for gearboxes with a lot of contact points, such as planetary gearboxes. |
| 36 | * Efficiency can be as low as 40-50% for poorly designed worm gears. |
| 37 | |
| 38 | From here on, your {{{effective power}}} is your {{{required power}}} * {{{efficiency}}}. (Likewise, {{{required power}}} = {{{effective power}}} / {{{efficiency}}}.) |
| 39 | |
| 40 | {{{ |
| 41 | #!div style="border:1pt solid; color:green; text-align:left; font-size:100%;" |
| 42 | {{{ |
| 43 | #!div style="color:green; text-align:center; font-size:130%;" |
| 44 | Case Study: Lifting a Robot |
| 45 | }}} |
| 46 | Throughout this page, the situation of lifting a 134.885 lb (600 N) robot up 1 ft by using a grappling hook mechanism will be used as a case study to show how the process works. All other constraints apply here. |
| 47 | |
| 48 | The reaction force is gravity, so our power is dependent on how fast we want to lift the robot. Lifting a 600 N robot at various speeds: |
| 49 | |
| 50 | {{{#!th align=center |
| 51 | '''Speed (m/s)''' |
| 52 | }}} |
| 53 | {{{#!th align=center |
| 54 | '''Speed (ft/s)''' |
| 55 | }}} |
| 56 | {{{#!th align=center |
| 57 | '''Required Power (W)''' |
| 58 | }}} |
| 59 | |---------------- |
| 60 | {{{#!td align=center |
| 61 | 0.25 |
| 62 | }}} |
| 63 | {{{#!td align=center |
| 64 | 0.82 |
| 65 | }}} |
| 66 | {{{#!td align=center |
| 67 | 150 |
| 68 | }}} |
| 69 | |---------------- |
| 70 | {{{#!td align=center |
| 71 | 0.50 |
| 72 | }}} |
| 73 | {{{#!td align=center |
| 74 | 1.64 |
| 75 | }}} |
| 76 | {{{#!td align=center |
| 77 | 300 |
| 78 | }}} |
| 79 | |---------------- |
| 80 | {{{#!td align=center |
| 81 | 1.00 |
| 82 | }}} |
| 83 | {{{#!td align=center |
| 84 | 3.28 |
| 85 | }}} |
| 86 | {{{#!td align=center |
| 87 | 600 |
| 88 | }}} |
| 89 | |
| 90 | Suppose we wanted to lift at 1 m/s (3.28 ft/s) so that the robot would climb up in about 1/3 of a second. We need a minimum of 600 W, not counting inefficiency, in order to do this. Looking at the max power ratings on several common FRC motors: |
| 91 | {{{#!th align=center |
| 92 | '''Motor''' |
| 93 | }}} |
| 94 | {{{#!th align=center |
| 95 | '''Maximum Power'''\\ |
| 96 | (at different RPM) |
| 97 | }}} |
| 98 | |---------------- |
| 99 | {{{#!td align=center |
| 100 | CIM |
| 101 | }}} |
| 102 | {{{#!td align=center |
| 103 | 337 W |
| 104 | }}} |
| 105 | |---------------- |
| 106 | {{{#!td align=center |
| 107 | Mini-CIM |
| 108 | }}} |
| 109 | {{{#!td align=center |
| 110 | 230 W |
| 111 | }}} |
| 112 | |---------------- |
| 113 | {{{#!td align=center |
| 114 | 775pro |
| 115 | }}} |
| 116 | {{{#!td align=center |
| 117 | 347 W |
| 118 | }}} |
| 119 | |
| 120 | We see that there is no one motor that gives enough power to do this. (It is impossible to get that linear speed with any FRC motor, regardless of gearing, against this force.) |
| 121 | |
| 122 | We could |
| 123 | 1. gear 2 motors together, or |
| 124 | 2. decrease the desired speed. |
| 125 | |
| 126 | '''1. More Motors'''\\ |
| 127 | 2 CIM's, 3 mini-CIM's, or 2 775pro's would each have enough power to achieve that speed. |
| 128 | |
| 129 | Suppose we gear 2 CIM's together with a gearbox. Their theoretical combined power is 674 W, which is '''theoretically''' enough to achieve that speed, since it's more than the required 600 W. |
| 130 | |
| 131 | Considering potential inefficiency, this 2-CIM combination can only accommodate at least a 90% efficiency at the max power. Any lower, and the motor may not be sufficient. |
| 132 | |
| 133 | Suppose that we've decided irrevocably to use a worm gearing. Since for this situation we will need multiple motors, let's assume an efficiency of 40% (worm gears can be inefficient, plus motors' powers don't quite add efficiently either). From above, our |
| 134 | {{{required power}}} is 600 W / 40% = 1500 W from motors. (By the way, this is a huge number.) |
| 135 | |
| 136 | In order for this (admittedly, extreme in many regards) case to work, we'd need to combine the outputs of at least 5 CIM motors together. |
| 137 | |
| 138 | '''2. Speed Decrease'''\\ |
| 139 | Instead, we could rationalize that 3.28 ft/s is a really fast speed to climb up a foot. |
| 140 | |
| 141 | Let's assume we want to use a 775pro due to other reasons (perhaps mass budget issues). What is the maximum speed that we can achieve with the 775pro? |
| 142 | |
| 143 | v = P/F = (347 W) / (600 N) = 0.58 m/s or 1.9 ft/s |
| 144 | |
| 145 | Is 1.9 ft/s fast enough? '''Definitely.''' Even with an efficiency of 50%, is 0.95 ft/s fast enough? '''Probably.''' |
| 146 | |
| 147 | }}} |