|

Subscribe
Recommend
|
A Miniature High-Rate Speed Control with Brake
Many designs for high-rate speed controls have been published. Most
require two 8-pin integrated circuits (ICs) or one 14-pin IC. Many designs
suitable for home construction are fairly large (some as large as 2" square).
Many do not include a brake. The design in this article addresses many
of these shortcomings. Some of the ideas from this design are derived from
designs published in various European magazines. Many of these use surface
mount technology (SMT) construction, which most modellers (myself included)
do not have the facilities to work with. This design uses standard off-the-shelf
components, and does not use a microprocessor, meaning that you
don't need any special equipment to build it.
Specifications
This control has the following specifications:
-
Size: 1.4"L x 1.2"W x 0.7"H (3.6cm x 3.0cm x 1.5cm).
-
Weight: approximately 0.6 oz (17g) without motor and battery leads.
-
Current: 30A continuous, 45A intermittent (higher with better MOSFETs).
-
Voltage Loss: 150mV @ 20A (with four IRFZ40 MOSFETs).
-
Solid state soft-brake when throttle is off.
-
Arming switch.
-
No power-on glitch.*
-
Throttle stays off when transmitter is off.
-
7 to 12 cell operation.
-
Cost to build: approximately $40 Cdn.
*Caution: One time when this control can and will
turn on unexpectedly is if you arm the control while the receiver
is off or disconnected (i.e. there is no power to Z1). Always turn
on your receiver before arming the control.
The Circuit
The circuit begins with a buffer, consisting of C1, R1, and Q1. This provides
some isolation between the receiver and the rest of the circuit, and makes
circuit operation somewhat independent of the model of receiver (although
you may have to adjust R8 if you change receiver types). R2, R3, and C2
form an integrator, which produces an output voltage proportional to the
pulse width of the input signal. This output voltage varies from approximately
1.15V for a 1ms input to 1.45V for a 2ms input (at 50 pulses per second).
Z1A, together with R4 through R8, and C3, form a 2.5kHz triangle wave
generator. R8 adjusts the upper and lower bounds of the triangle wave (it
also affects the frequency, but within the range over which R8 must be
adjusted, this is not significant). When properly adjusted, the triangle
wave (which appears across C3) will oscillate between about 1.2V and 1.4V.
This covers the middle 2/3 of the range that the integrator voltage covers.
Z1B is used as a comparator, which compares the integrator voltage with
the triangle wave. When the integrator voltage is above the voltage of
the triangle wave, the output of Z1B is high; when it is below, it is low.
At zero throttle, the integrator voltage (1.15V) is always below the triangle
wave voltage (1.2V to 1.4V), so Z1B remains low. At full throttle, the
integrator voltage (1.45V) is always above the triangle wave voltage, so
Z1B remains high. At half throttle, the integrator voltage (1.3V) is above
the triangle wave voltage half the time, so Z1B is high half the time and
low half the time.
When Z1B is low, MOSFETs Q2 through Q5 are turned off via R12 through
R15. When Z1B is high, the MOSFETs are turned on via R9 and R12 through
R15. The arming switch, S1, disconnects R9 from Z1B, and since it's output
is an open collector, it will not go high (R10 ensures that it does not
float high, and also provides some protection against damaging the MOSFETs).
|
|
ESC Schematic.
Click to enlarge.
|
D1, C4, R11, and Q6 form the brake. Whenever Z1B is high, C4 is quickly
discharged through R9 and D1. When Z1B is low, C4 is slowly charged through
R11. This charging occurs so slowly that it will not get very far before
the next time Z1B goes high. Only when Z1B does not go high for about 50ms
(i.e. the throttle has been off for 50ms) does C4 make any significant
progress. When C4 does charge fully (the lower side reaches close to 0V),
the P-channel MOSFET Q6 is turned on, effectively shorting out the motor,
and acting as a brake. Notice that this can't happen as long as the throttle
is on even a little bit, so there is no danger of Q6 and Q2/3/4/5 being
on at the same time. Because Q6's on-resistance is about 0.2 to 0.3Ω,
the brake is somewhat gentle, but more than adequate to stop a wind-milling
propeller.
The circuit as originally designed used inexpensive IRFZ40 MOSFETs,
which have an on-resistance of 0.028Ω at 10V, but work fine as low
as 7V (i.e. 7 cells, under load) in practice. The Modifications
section later in this article suggests several possible lower resistance
replacements.
Construction
The circuit is best built on a printed circuit board. Refer to my article
on the subject, Making
Excellent Printed Circuit Boards.
|
|
Copper side. Actual size is 1.4" x 1.2" (3.6cm x 3.0cm).
|
There are a few things to note in the construction. The leads to the receiver
(a replacement servo lead) are connected directly to the pads on the bottom
of the board (on the right side in the PCB layout shown above). Typically,
the CH- lead is brown or black, the SIG lead is white, yellow, or orange,
and the CH+ lead is red. The arming switch, S1, is connected with two short
lengths of wire to the two holes marked S1 in the component placement diagram
below.
|
|
Component placement diagram.
|
Begin by installing all the resistors and capacitors. The resistors should
be installed standing on end (except R12 to R15, which lay flat).
Be sure to orient C2 correctly, with the
negative side closest to the edge of the board. Install D1 and Q1, again
making sure to orient them correctly (the negative side of D1 will have
a band on it). Install the jumper that will end up underneath Z1, and then
install a socket for Z1.
Connect the receiver lead and arming switch as described above.
Connect 12 or 14 gauge wire to the MOTOR+, MOTOR-, BATT+, and BATT-
traces on the board. For each wire, strip off enough insulation that you
can solder the wire along the whole length of the trace, since the trace
alone is not heavy enough to carry the full motor current. The MOTOR+ and
BATT+ wires can actually be a single length of wire, with 1.4" of insulation
stripped off the middle.
Install the MOSFETs. The four N-channel MOSFETs are installed with their
tabs towards the MOTOR- side of the board, while the P-channel MOSFET is
installed with it's tab towards the MOTOR+ side of the board. Before soldering
the centre lead of each MOSFET, bend it over towards the MOTOR- trace.
Each MOSFET's centre lead should overlap well onto the next lower-numbered
MOSFET's centre lead. Solder the centre leads to the copper trace, and
to each other and the MOTOR- wire. Be careful not to overheat the MOSFETs
while soldering.
Testing
Double check your work, making sure there are no solder bridges, and that
you didn't make a mistake copying the circuit board layout. Check that
all the components are in place, but do not insert Z1 into its socket yet.
Connect a 7 to 12 cell motor battery to the BATT+ and BATT- leads, and
use a volt meter to ensure that there are no high voltages on the servo
leads (you don't want to fry your receiver because of a wiring error).
Disconnect the power, insert Z1 into its socket, plug the servo lead
into the appropriate receiver channel, connect the motor battery, and connect
a 12V automotive lamp to the MOTOR+ and MOTOR- leads. Move the transmitter
throttle stick to off, turn on your transmitter, then your receiver, and
then the arming switch. The lamp may or may not light. If it does
light, use a small screwdriver to turn R8 counter-clockwise until the lamp
goes out. If it does not light, turn R8 clockwise until it does,
and then counter-clockwise again until it goes out.
Turn everything off, disconnect the motor battery, and hook up a motor
(with a suitable propeller). Don't forget to install a diode across the
motor terminals, with the banded end connected to the positive terminal
of the motor (the diagram shows the easy-to-obtain 1N4004, but a Schottky
diode would be better). Make sure the motor is firmly fastened to something
and that the propeller can swing freely. Turn everything back on in the
following order: throttle stick to off, transmitter on, receiver
on, arming switch on. If you've adjusted everything using the light bulb
as described above, the motor may be completely off, humming a bit, or
turning slowly. Adjust R8 so that with the throttle stick set to off, the
motor is not running, but with the stick advanced one or two clicks, it
begins to hum. Keep clear of the propeller while making the adjustments.
When the motor first starts, it will emit a high-pitched whine. This is
simply the motor armature oscillating at the speed control's 2500Hz
rate and is quite normal.
When everything is adjusted so that the motor starts at the right point,
try moving the throttle stick slowly to full power. Pay attention to the
motor speed. It should speed up as you move the throttle stick, but it
should stop getting faster before you reach full on. Once you reach
full on, move the throttle trim forward to confirm that the motor won't
go any faster.
If you find that you can push the throttle stick all the way forward,
and still get more speed by pushing the trim forward, then you may need
to replace R5 with a 120kΩ resistor to narrow the throttle range to match
your radio.
Installation
Installation is straightforward. Hook up everything as you did while testing.
Install the arming switch in an appropriate place (I prefer the left side
of the fuselage, just ahead of the leading edge of the wing, with forwards
being ON). Make sure that the bottom of the circuit does not touch anything
metallic. To prevent corrosion, I sprayed the bottom of the board with
clear lacquer. Keep the motor and battery leads as short as possible. Also
make sure your motor is equipped with a diode, and suppression capacitors
(I use one 0.1µF capacitor across the motor terminals, and one 0.047µF
capacitor between each terminal and the motor case; do not use electrolytic
capacitors).
|
|
|
|
Completed ESC installed in my Great Planes Spectra.
|
Be sure to use a fuse. The best place to install the fuse is in the
BATT+ lead (i.e. between the speed control and the battery). I use two
12 gauge female spade connectors, soldered at right angles to the wire,
as a fuse holder.
Before flying with this control, do a range check. With the motor
off, you should get the same range as without the control (for most
radios, this is 100ft (30m) with the antenna down; check your manufacturer's
recommendations). With the motor on, you should get at least 85% of the
range you got with the motor off. If you do not pass this range check,
do not fly!
Modifications
This control is very versatile, and several modifications can be made
to it. Here are some ideas.
If you don't require a brake, you can omit D1, R11, C4, and Q6.
If you'd like to build a smaller speed control, perhaps for Speed
400 applications, you can use fewer MOSFETs. For instance, a single IRFZ40
MOSFET is suitable for a Speed 400 sport plane drawing up to 10A. In that
case, you can omit Q3, Q4, and Q5, and then bend Q2 over to lay flat on
the board. If you're using a brake, Q6 can be bent over to lay down on
top of Q2. This arrangement greatly reduces the thickness of the control.
To achieve a lower on-resistance and/or fewer MOSFETs, you can substitute
some of the newer logic-level low resistance MOSFETs for Q2 through Q5,
such as the IRLZ44N (0.025Ω @ 5V) SMP60N03-10L (0.010Ω @ 5V), IRL2203N
(0.010Ω @ 4.5V) or IRL3803 (0.009Ω @ 4.5V). This can double or
triple the current carrying capacity of the control, or produce a 20A
control with a single MOSFET. Using logic-level MOSFETs also allows
the control to run on as few as four cells.
By replacing R9 with a 1.2kΩ resistor, you can use the control
with up to 14 cells. Please note that most logic-level MOSFETs cannot
handle being switched by over 12 cells, so you must use regular
MOSFETs such as the IRFZ40.
Parts List
The following table lists all the parts needed, along with Radio Shack®
part numbers for those components that are available there.
|
Part
|
Description
|
Radio Shack®
|
|
R1,R10
|
1M ¼W
|
271-1356
|
|
R2
|
220k ¼W
|
271-1350
|
|
R3
|
33k ¼W
|
271-1341
|
|
R4
|
22k ¼W
|
271-1339
|
|
R5
|
100k ¼W
|
271-1347
|
|
R6,R9
|
1k ¼W
|
271-1321
|
|
R7
|
68k ¼W
|
|
|
R8
|
10k trimmer
|
271-282
|
|
R11
|
470k ¼W
|
271-1354
|
|
R12-R15
|
100Ω ¼W
|
271-1311
|
|
C1,C3
|
22nF (0.022µF)
|
|
|
C2
|
2.2µF tantalum
|
272-1435
|
|
C4,C5
|
0.1µF
|
272-109
|
|
D1
|
1N914 or 1N4148
|
276-1122
|
|
Q1
|
2N3904, 2N4401, or equiv.
|
276-2016
|
|
Z1
|
LM393 dual comparator
|
|
|
Q2-Q5
|
IRFZ40, IRFZ44, ECG2395, SMP50N06-25
|
|
|
Q6
|
IRF9530 or IRF9540
|
|
|
S1
|
SPST miniature toggle switch
or miniature slide switch
|
275-624
275-406
|
Parts not available at Radio Shack can be ordered from electronic
supply houses such as Sayal
Electronics or Digikey.
Also see the Modifications
section earlier in this article for other MOSFETs you can use for Q2 through
Q5.
I'd Like to Hear from You
If you build this circuit (or not), let me know what you think. If you
have problems, I may be able to help you, but be sure to supply a detailed
description. I can be reached at stefan@capable.ca.
Other R/C Electronic Projects
If you are interested in building more of your own R/C equipment, you may
also want to look at these articles:
Other Articles of Interest
If you found this article useful, you may also be interested in:
Frequently Asked Questions
Q: Can this speed control be used in an R/C car or boat?
A: Yes it can, so long as your car's or boat's
specifications (specifically, number of cells, and maximum current)
don't exceed the speed control's limits (see the specifications at the top of the article). Also note
that this speed control has no reverse (see the next question), which
may or may not matter to you.
Q: Can this speed control be modified to have reverse as well?
A: The short answer is "no".
A speed control with reverse needs four times as many MOSFETs, arranged
in an H pattern, with the motor in the middle. It also needs a way to
know when to switch into reverse somewhere in the throttle range.
Basically, it makes for a much more complicated design.
Please don't ask me to design one. As a model airplane flyer, I have
no need for reverse.
One way you can achieve reverse is to use a separate channel to
control a reversing relay. This has the drawback of requiring a
separate channel, and there's also nothing to keep you from switching
into reverse while you're at full throttle.
Q: Does this speed control work with the XYZ motor?
A: A speed control has no idea what motor is connected to
it, and it doesn't really care. As long as the motor is a brushed
direct-current one (DC), and the battery input voltage and maximum
current drawn don't fall outside the speed control's
specifications, it will work. It's not the
particular motor that matters, but how you are using it. To estimate
the current requirements for your motor, battery, gearbox (if used),
and propeller combination, use a program like
MotoCalc.
Q: Will you be designing a brushless speed control?
A: No. I like the challenge of designing analog circuitry.
Although it would be theoretically possible to design an analog
brushless speed control, it would be very complex, and likely
impractically large. It would probably also cost more than buying a
good modern ESC like those by
Castle Creations.
Q: I built this speed control, and it works, but why is the throttle
response sluggish?
A: With this design, response to throttle
changes is not instantaneous. For example, going from off to
full-throttle takes about one second. This is because it takes time
for the integrator (R2, R3, and C2) to respond to changes in the pulse
width from the receiver. Replacing C2 with a 1µF capacitor will
result in faster response, but noisier operation.
Q: Why does the speed change when I move the rudder,
aileron, or elevator?
A: Moving other controls, such as the rudder, will momentarily
affect the throttle setting by a few percent. This is because during
the movement of a control stick, the time between throttle pulses can
vary, and the integrator is thrown off by this. This effect is
minimal though.
If the throttle level changes a lot during control
movements, it's likely you have a binding control surface which is
causing high current drain from the BEC or receiver battery, which can
adversely affect the operation of the ESC.
Q: I built your circuit, and it doesn't work. Can you help me?
A: Maybe.
I'm providing the information to build this project because I
like to share my work.
I can't provide detailed troubleshooting, since I only do this as a hobby,
and my hobby time is limited.
However, if you've built this circuit, and you send me a detailed
description of the way in which it doesn't work, I might have an idea or
two to help you fix it. There are no guarantees though.
Q: Can you send me the parts, or build me a completed circuit?
A: Unfortunately not.
As I mentioned in the previous answer, I only do this as a hobby, and I
don't have the time to collect and mail parts or build circuits for others.
Even if you were to pay me to build one, it would cost far
more than just going out and buying an equivalent commercial product.
Homemade electronics cost more than mass produced products if you
factor in the time it takes for construction.
|
|
|
|
|
Buy Stefan a coffee!
If you've found this article
useful, consider leaving a donation
to help support
Stefan's Electric R/C Web Site.
|
|
|
|
|
Last updated Monday June 25, 2007.
|
E-mail Stefan
|
|
|
|
Disclaimer:
Although every effort has been made to ensure accuracy and
reliability, the information on this web page is presented without
warranty of any kind, and Stefan Vorkoetter assumes no liability for direct or
consequential damages caused by its use.
It is up to you, the reader, to determine the suitability of, and
assume responsibility for, the use of this information.
Copyright:
All materials on this web site, including the text, images, and HTML
mark-up, are Copyright © 2008 by Stefan Vorkoetter unless
otherwise noted. All rights reserved. Unauthorized duplication
prohibited. You may link to this site or pages within it, but
you may not link directly to images on this site, and you may
not copy any material from this site to another web site or
other publication without express written permission. You may make
copies for your own personal use.
|
|