ESCs

From RobotCombatWiki
Revision as of 06:21, 5 January 2024 by Chklnk (talk | contribs) (Restructure Selection/motor features; more on current)
Jump to navigation Jump to search

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 Dual motor 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).

Selecting an ESC

Dual motor 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:

Motor type

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.

Safety

An ESC must stop running the motor if it stops receiving a signal; otherwise, this could result in a runaway bot, or a bot that can't stop its weapon or prevent self-damage. If your bot doesn't "fail safe" with no signal from your transmitter, it will not qualify for competition.

Battery voltage

ESCs are rated for a maximum voltage. Exceeding this voltage may lead to immediate failure of the ESC.

Current rating

ESCs are given a current rating, for example "30A" for a 30 amp ESC. High-quality ESCs will have separate ratings for continuous current flow, and peak or maximum current flow. Cheap ESCs are often advertised by the maximum current rating, which they can output for only a few seconds. You can still use them to save money, but be conservative about their capabilities; a basic "30 amp" ESC might be fine for a motor requiring 5 amps.

Continuous current

An ESC must be able to provide the full speed motor current of the motor it controls for the full length of a match. If it can't, it will stop working or burn out from thermal overload.

Peak current

If a motor is jammed or brought to a stop ("stalled"), it will demand much more current than normal. For some applications this won't happen much, but in combat robots, it happens all the time! If you get into a pushing match, get stuck, or your motor-spun weapon strikes your opponent and comes to a dead stop, peak current will come into play.

Your motor will have a published "stall current" or "locked rotor amperage" indicating the demand that will be placed on your ESC in this situation. Select an ESC that will not be damaged by that current level, at least not immediately. 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.

Consider using belt slip, a shaft clutch, or other methods to physically avoid stalling the motor. Combat damage may of course increase loading or cause a jam even if the bot was designed to avoid it.

Size / Weight

Physical size and weight is always a consideration when choosing components for combat robots, especially in insect-class robots where every gram counts. If you allow extra mass and volume for your ESC, you can choose one with a larger heat sink which will be less likely to overheat and therefore more tolerant of overload.

Sensor capabilities

Advanced builders may want to use brushless 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 require programming or tuning 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 using a 5 volt servo in your bot 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!
  • Thermal Monitoring and Protection - Shuts off the motor to keep the ESC from being damaged by overheating.
  • 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 made for quadcopter/drone applications are normally brushless and non-reversible, but can often be modified by reflashing.
  • 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; these should be avoided or modified.
  • 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.