Difference between revisions of "ESCs"

From RobotCombatWiki
Jump to navigation Jump to search
(Editing and more considerations)
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Electronic Speed Controllers''', or '''ESCs''', are circuits that let you control motor speed and direction remotely, using a signal from the radio receiver. One circuit board may have one or more motor controllers, and some small ESCs are integrated with a receiver to minimize size and weight for small bots.
+
'''Electronic Speed Controllers''', or '''ESCs''', are circuits that let you control [[Motors|motor]] speed and direction remotely, using a signal from the radio receiver. One circuit board may have one or more motor controllers, and some small ESCs are integrated with a receiver to minimize size and weight for small bots. They are called "Electronic" speed controllers to distinguish from an obsolete electro-mechanical type which were used in RC models long ago (1980s?).
  
 
[[File:Scorpion_Mini.jpg|thumb|Scorpion Mini ESC by RobotPower]]
 
[[File:Scorpion_Mini.jpg|thumb|Scorpion Mini ESC by RobotPower]]
Line 7: Line 7:
  
 
There are two completely different types.
 
There are two completely different types.
*'''Regular, or Brushed ESCs''' only drive brushed DC motors.
+
*'''Brushed ESCs''' only drive brushed DC motors.
 
*'''Brushless ESCs''' only drive brushless motors.
 
*'''Brushless ESCs''' only drive brushless motors.
*'''Hybrid controllers''' there are some ESCs like some from [https://home.castlecreations.com/ Castle Creations] that can be set to either brushed or brushless mode.
+
*'''Hybrid controllers''', like some from [https://home.castlecreations.com/ Castle Creations], can be set to either brushed or brushless mode.  
 +
<br>
 +
=Selecting an ESC=
 +
[[File:BotBitzESC.png|thumb|ESC by BotBitz]]
  
=Selecting an ESC=
+
'''Note''': Beginners may be quickly overwhelmed at the selection of ESCs available. It is convenient to choose ESCs that are specifically sold for use in combat robotics. A wide range of other ESCs are available for model hobby purposes, but you must select carefully. When in doubt, ask other builders.
'''Note''': Beginners may be quickly overwhelmed at the selection of ESCs available. It is most convenient by far to choose ESCs that are specifically sold for use in combat robotics. A wide range of other ESCs are available for model hobby purposes, but you must select carefully.
 
  
ESCs may be judged by:
+
Considerations in selecting a suitable ESC include:
*'''Voltage''' of the battery (and by extension, the motors). Never operate an ESC on a voltage greater than its highest rating.
+
*'''Output type''' - Suitable for brushed (or brushless) [[Motors]] if used with a brushed (or brushless) motor.
*'''Current''', which along with voltage determines how much power can be delivered to the motors. An ESCs should be rated higher than the stall current of the motor(s) connected to it; several times higher, if possible.
+
*'''Safety''' - An ESC must stop running the motor if it stops receiving commands; otherwise, this could result in a runaway bot, or a bot that can't stop its weapon or prevent self-damage.
*'''Cooling''', since combat robotics is extremely demanding on its circuits even though most matches are only a few minutes long. An underrated or low-quality ESC will stop working or burn out if it is driven beyond its capacity to stay cool.
+
*'''Battery Voltage''' - ESCs are rated for a maximum voltage. Exceeding this voltage may lead to immediate failure of the ESC.
*'''Size''' as all things in robot combat, the physical size of the ESC is a consideration when choosing one for a specific bot. This is especially true in small insect-class robots where every gram counts.
+
*'''Continuous Current''' - An ESC should be able to provide the anticipated current requirement of the motor it controls for the full length of a match. An ESC that cannot provide the required current for the required time will stop working or burn out from thermal overload. Note that cheap ESCs often advertise high current ratings that they can't output for more than a few seconds.
*'''Features''' of ESCs include:
+
*'''Peak Current''' - If a motor is brought to a stop ("stalled"), it can demand a much more current than normal. Motors should be geared or clutched to avoid stalling, but combat damage can increase loading. Estimate the peak current your motor may require and select an ESC that will not be damaged by that current level. Try to be aware of your motors while driving, and shut off the power if a motor is jammed to preserve the ESC and wiring. Again, be wary of current ratings given for inexpensive hobby ESCs.
**Channel mixing, which lets you operate multiple drive motors with just one control stick, even with the simplest radio transmitters.
+
*'''Size / Weight''' - Physical size and weight of a component is always a consideration when choosing components for combat robots.. This is especially true in small insect-class robots where every gram counts.
**Reversible: If you are using the ESC to operate any motor that has to spin both ways (drive wheels, for example), the ESC must be "reversible" — that is, capable of bidirectional operation.
+
*'''Sensor Capabilities''' - Advanced builders may want to use [[motors]] with shaft sensors and matching ESCs to better control speed, acceleration, or torque, making the bot easier to operate with precision. These units are more costly and usually require programming to achieve the desired performance.
**Tuning settings, which may help you better control the bot or make the most out of your motors.
+
*'''Additional Features'''
**Battery monitoring and protection, which shuts off the motor to save the battery from destruction due to overuse.
+
**[[Battery_eliminator_circuit_(BEC)|Battery Elimination Circuit (BEC)]] - this takes the voltage from the battery down to a lower level that is more typically used in receivers and servos which eliminates the need for a second receiver battery. BECs on speed controllers typically don't provide a lot of current so if you are driving a servo you should consider a stand alone BEC.
 +
**Channel Mixing - Lets you operate multiple drive motors with just one control stick, even with the simplest radio transmitters. Applicable only to dual-channel ESCs that can control two motors.
 +
**Reversible - If you are using the ESC to operate any motor that has to spin both ways (drive wheels, for example), the ESC must be "reversible" — that is, capable of bidirectional operation.
 +
**Battery Monitoring and Protection - Shuts off the motor to save the battery from damage due to excessive discharge. Consider if you want your ESC to cut off power to your motor and leave you vulnerable late in a match -- it may be worth risking battery damage to keep fighting!
 +
**Tuning Settings - May help you better control the bot or make the most out of your motors. Potentially useful for brushless ESCs.
 
**The ability to reflash (reprogram) the ESC; see below.
 
**The ability to reflash (reprogram) the ESC; see below.
  
Line 29: Line 35:
 
'''Warning: Advanced Topic'''. Beginners can ignore this section.
 
'''Warning: Advanced Topic'''. Beginners can ignore this section.
  
We've reached a time in history (and in hobbies) where it seems like every small device is run most cheaply by a tiny computer chip. As a result, ESCs have become very similar and operate according to the same sort of built-in programming, or firmware. Reflashing the firmware changes how the ESC works, and therefore how the motor is driven and powered.
+
We've reached a time in history (and in hobbies) where it seems like every small device is run most cheaply by a tiny computer chip, including ESCs. They operate according to built-in programming, or firmware. Reflashing the firmware changes how the ESC works, and therefore how the motor is driven and powered.
  
 
'''BLHeli'''[https://github.com/bitdump/BLHeli] is a free and popular replacement firmware package. It's used along with a program on your computer called '''BLHeliSuite''' to reprogram brushless ESCs and adjust exactly how the motor is controlled. One common reason to do this is to take brushless ESCs made for other purposes, and make them fit for robot combat.
 
'''BLHeli'''[https://github.com/bitdump/BLHeli] is a free and popular replacement firmware package. It's used along with a program on your computer called '''BLHeliSuite''' to reprogram brushless ESCs and adjust exactly how the motor is controlled. One common reason to do this is to take brushless ESCs made for other purposes, and make them fit for robot combat.

Revision as of 02:53, 25 March 2022

Electronic Speed Controllers, or ESCs, are circuits that let you control motor speed and direction remotely, using a signal from the radio receiver. One circuit board may have one or more motor controllers, and some small ESCs are integrated with a receiver to minimize size and weight for small bots. They are called "Electronic" speed controllers to distinguish from an obsolete electro-mechanical type which were used in RC models long ago (1980s?).

Scorpion Mini ESC by RobotPower

How ESCs work

An ESC plugs into the receiver. It changes the pulses that would have moved a servo, and makes them into a variable motor voltage instead. ESCs have a connection to draw power from the battery, and another to attach to the motor(s).

There are two completely different types.

  • Brushed ESCs only drive brushed DC motors.
  • Brushless ESCs only drive brushless motors.
  • Hybrid controllers, like some from Castle Creations, can be set to either brushed or brushless mode.


Selecting an ESC

ESC by BotBitz

Note: Beginners may be quickly overwhelmed at the selection of ESCs available. It is convenient to choose ESCs that are specifically sold for use in combat robotics. A wide range of other ESCs are available for model hobby purposes, but you must select carefully. When in doubt, ask other builders.

Considerations in selecting a suitable ESC include:

  • Output type - Suitable for brushed (or brushless) Motors if used with a brushed (or brushless) motor.
  • Safety - An ESC must stop running the motor if it stops receiving commands; otherwise, this could result in a runaway bot, or a bot that can't stop its weapon or prevent self-damage.
  • Battery Voltage - ESCs are rated for a maximum voltage. Exceeding this voltage may lead to immediate failure of the ESC.
  • Continuous Current - An ESC should be able to provide the anticipated current requirement of the motor it controls for the full length of a match. An ESC that cannot provide the required current for the required time will stop working or burn out from thermal overload. Note that cheap ESCs often advertise high current ratings that they can't output for more than a few seconds.
  • Peak Current - If a motor is brought to a stop ("stalled"), it can demand a much more current than normal. Motors should be geared or clutched to avoid stalling, but combat damage can increase loading. Estimate the peak current your motor may require and select an ESC that will not be damaged by that current level. Try to be aware of your motors while driving, and shut off the power if a motor is jammed to preserve the ESC and wiring. Again, be wary of current ratings given for inexpensive hobby ESCs.
  • Size / Weight - Physical size and weight of a component is always a consideration when choosing components for combat robots.. This is especially true in small insect-class robots where every gram counts.
  • Sensor Capabilities - Advanced builders may want to use motors with shaft sensors and matching ESCs to better control speed, acceleration, or torque, making the bot easier to operate with precision. These units are more costly and usually require programming to achieve the desired performance.
  • Additional Features
    • Battery Elimination Circuit (BEC) - this takes the voltage from the battery down to a lower level that is more typically used in receivers and servos which eliminates the need for a second receiver battery. BECs on speed controllers typically don't provide a lot of current so if you are driving a servo you should consider a stand alone BEC.
    • Channel Mixing - Lets you operate multiple drive motors with just one control stick, even with the simplest radio transmitters. Applicable only to dual-channel ESCs that can control two motors.
    • Reversible - If you are using the ESC to operate any motor that has to spin both ways (drive wheels, for example), the ESC must be "reversible" — that is, capable of bidirectional operation.
    • Battery Monitoring and Protection - Shuts off the motor to save the battery from damage due to excessive discharge. Consider if you want your ESC to cut off power to your motor and leave you vulnerable late in a match -- it may be worth risking battery damage to keep fighting!
    • Tuning Settings - May help you better control the bot or make the most out of your motors. Potentially useful for brushless ESCs.
    • The ability to reflash (reprogram) the ESC; see below.

Reflashing ESCs

Warning: Advanced Topic. Beginners can ignore this section.

We've reached a time in history (and in hobbies) where it seems like every small device is run most cheaply by a tiny computer chip, including ESCs. They operate according to built-in programming, or firmware. Reflashing the firmware changes how the ESC works, and therefore how the motor is driven and powered.

BLHeli[1] is a free and popular replacement firmware package. It's used along with a program on your computer called BLHeliSuite to reprogram brushless ESCs and adjust exactly how the motor is controlled. One common reason to do this is to take brushless ESCs made for other purposes, and make them fit for robot combat.

It may be possible to reflash the firmware on an ESC meant for other uses to make it reversible. Here are some examples of ESCs that could be repurposed for robot combat.

  • ESCs for car and truck applications have reversing ability, unless they have the very simplest of radio controls.
  • ESCs designed for airplane flight are often intended to spin a propeller one way only. To save weight, airplane ESCs may also have smaller, lighter heat sinks intended for air cooled operation.
  • ESCs made for quadcopter/drone applications are normally brushless and non-reversible, but can often be modified by reflashing.
  • ESCs for boat duty may not be able to reverse, and some are designed to be water cooled and have no heat sink at all.