e012036.PDF

(2874 KB) Pobierz
GENERAL INTEREST
Speed Controller
Duet (2)
part 2: construction, programming and the power units
Design by B. Stuurman
Part 1 presented an overview of the system. In part 2, we deal with the
construction of the SpeedControl unit, user programming with a PC (via
the RS232 interface) and finally the construction of the two power units:
SpeedPower 1 and SpeedPower 2.
36
Elektor Electronics
2/2001
855738050.604.png 855738050.714.png 855738050.825.png 855738050.936.png
GENERAL INTEREST
COMPONENTS LIST
IN
0V
+4-6V
red
D4 = high-efficiency-LED yellow
D5 = high-efficiency-LED green
D6,D7 = BAT85
T1,T5 = BC547
T2,T3,T4 = BC557
IC1 =ST62T60BB6, programmed,
order code 000070-41 (see Readers
Services-page)
T2
R13
RxD
HOEK1
R12
TxD
R5
Resistors:
R1,R4,R8,R13 = 10k
R2 = 100k
C1
D5
R6
R11
D4
R8
R7
R2
R1
R10
R3,R7 = 2k 2
R5,R6,R9-R12 = 1k
D3
T1
R3
R9
R4
D2
PWM
R15
BZ1
C5
R14,R15 = 560
P1 = multiturn preset, vertical
mounting (e.g., Bourns 3386W)
T3
0V
C4
T5
R14
X1
S1
000070-1
C3
Miscellaneous:
S1 = pushbutton, make contact
X1 = 4MHz quartz crystal
Bz 1 = AC buzzer
Ferrite suppressor coil
PCB:
- in combination with SpeedPower1:
order code 000070-5 ;
- in combination with SpeedPower2:
order code 000070-4
(see Readers Services-page).
T4
C2
F/B
P1
HOEK3
Capacitors:
C1 = 220pF ceramic, lead pitch 2.5
mm
C2 = 100 µ F 16V, radial
C3 = 100nF
C4,C5 = 18pF ceramic
Semiconductors:
D1 =zener diode 2V3
D2,D3 = high-efficiency-LED (3 mm)
SpeedControl
construction
needle inserted into the connection
for the reset signal at the IC socket.
Slowly increase the applied voltage.
The reset signal should remain Low
until around 3.7 V, where it should
immediately go High. From around
3.75 V onwards, it should track the
supply voltage. If this is all OK, you
Figure 4. SpeedControl printed circuit board
layout (scale 1:1)
The printed circuit board for the
SpeedControl unit is shown in Fig-
ure 4 . For economic reasons, this
board is only available in combina-
tion with one of the two SpeedPower
boards (see the Components List), so
the first task is to saw apart the two
boards (if you so desire).
If you work calmly and carefully with
a fine-tipped soldering iron and keep
to the components identified in the
Components List, you
shouldn’t have any prob-
lems assembling the cir-
cuit board. A servo exten-
sion cable that has been
cut in two can be used for
the connecting cable. It is
a good idea to fit a ferrite
toroidal core onto the
cable to the receiver, since
this will isolate the circuit
from high frequency sig-
nals from the receiver, and
the remaining length of
the cable will not degrade
signal reception.
When everything is fin-
ished, wait a bit before
placing the microcon-
troller in its socket. First
connect the SpeedControl
to an adjustable power
supply with a range of
0–6 V, and connect a volt-
meter between 0 V and a
Figure 5. Fully assembled SpeedControl unit.
2/2001
Elektor Electronics
37
855738050.001.png 855738050.066.png 855738050.077.png 855738050.088.png 855738050.099.png 855738050.110.png 855738050.121.png 855738050.132.png 855738050.143.png 855738050.154.png 855738050.165.png 855738050.176.png 855738050.187.png 855738050.198.png 855738050.209.png 855738050.220.png 855738050.231.png 855738050.242.png 855738050.253.png 855738050.264.png 855738050.275.png 855738050.286.png 855738050.297.png 855738050.308.png 855738050.318.png 855738050.329.png 855738050.340.png 855738050.351.png 855738050.362.png 855738050.373.png 855738050.384.png 855738050.395.png 855738050.406.png 855738050.417.png 855738050.428.png 855738050.439.png 855738050.450.png 855738050.461.png 855738050.472.png 855738050.483.png 855738050.494.png 855738050.505.png 855738050.516.png 855738050.527.png 855738050.538.png 855738050.549.png 855738050.560.png 855738050.571.png 855738050.582.png 855738050.593.png 855738050.605.png 855738050.616.png 855738050.627.png 855738050.638.png 855738050.649.png 855738050.660.png 855738050.671.png 855738050.682.png 855738050.693.png 855738050.704.png 855738050.715.png 855738050.726.png 855738050.737.png 855738050.748.png 855738050.759.png 855738050.770.png 855738050.781.png 855738050.792.png 855738050.803.png 855738050.814.png 855738050.826.png 855738050.837.png 855738050.848.png 855738050.859.png 855738050.870.png 855738050.881.png 855738050.892.png 855738050.903.png 855738050.914.png 855738050.925.png 855738050.937.png 855738050.948.png 855738050.959.png 855738050.970.png 855738050.981.png 855738050.992.png 855738050.1003.png 855738050.1014.png 855738050.1025.png 855738050.1036.png 855738050.002.png 855738050.013.png 855738050.024.png 855738050.035.png 855738050.046.png 855738050.057.png 855738050.062.png 855738050.063.png 855738050.064.png 855738050.065.png 855738050.067.png 855738050.068.png 855738050.069.png 855738050.070.png 855738050.071.png 855738050.072.png 855738050.073.png 855738050.074.png 855738050.075.png 855738050.076.png 855738050.078.png 855738050.079.png 855738050.080.png 855738050.081.png 855738050.082.png 855738050.083.png 855738050.084.png 855738050.085.png 855738050.086.png 855738050.087.png 855738050.089.png 855738050.090.png 855738050.091.png 855738050.092.png 855738050.093.png 855738050.094.png 855738050.095.png 855738050.096.png 855738050.097.png 855738050.098.png 855738050.100.png 855738050.101.png 855738050.102.png 855738050.103.png 855738050.104.png 855738050.105.png 855738050.106.png 855738050.107.png 855738050.108.png 855738050.109.png 855738050.111.png 855738050.112.png 855738050.113.png 855738050.114.png 855738050.115.png 855738050.116.png 855738050.117.png 855738050.118.png 855738050.119.png 855738050.120.png 855738050.122.png 855738050.123.png 855738050.124.png 855738050.125.png 855738050.126.png 855738050.127.png 855738050.128.png 855738050.129.png 855738050.130.png 855738050.131.png 855738050.133.png 855738050.134.png 855738050.135.png 855738050.136.png 855738050.137.png 855738050.138.png 855738050.139.png 855738050.140.png 855738050.141.png 855738050.142.png 855738050.144.png 855738050.145.png 855738050.146.png 855738050.147.png 855738050.148.png 855738050.149.png 855738050.150.png 855738050.151.png 855738050.152.png 855738050.153.png 855738050.155.png 855738050.156.png 855738050.157.png 855738050.158.png 855738050.159.png 855738050.160.png 855738050.161.png 855738050.162.png 855738050.163.png 855738050.164.png 855738050.166.png 855738050.167.png 855738050.168.png 855738050.169.png 855738050.170.png 855738050.171.png 855738050.172.png 855738050.173.png 855738050.174.png 855738050.175.png 855738050.177.png 855738050.178.png 855738050.179.png 855738050.180.png 855738050.181.png 855738050.182.png 855738050.183.png 855738050.184.png 855738050.185.png 855738050.186.png 855738050.188.png 855738050.189.png 855738050.190.png 855738050.191.png 855738050.192.png 855738050.193.png 855738050.194.png 855738050.195.png 855738050.196.png 855738050.197.png 855738050.199.png 855738050.200.png 855738050.201.png 855738050.202.png 855738050.203.png 855738050.204.png 855738050.205.png 855738050.206.png 855738050.207.png 855738050.208.png 855738050.210.png 855738050.211.png 855738050.212.png 855738050.213.png 855738050.214.png 855738050.215.png 855738050.216.png 855738050.217.png 855738050.218.png 855738050.219.png 855738050.221.png 855738050.222.png 855738050.223.png 855738050.224.png 855738050.225.png 855738050.226.png 855738050.227.png 855738050.228.png 855738050.229.png 855738050.230.png 855738050.232.png 855738050.233.png 855738050.234.png 855738050.235.png 855738050.236.png 855738050.237.png 855738050.238.png 855738050.239.png 855738050.240.png 855738050.241.png 855738050.243.png 855738050.244.png 855738050.245.png 855738050.246.png 855738050.247.png 855738050.248.png 855738050.249.png 855738050.250.png 855738050.251.png 855738050.252.png 855738050.254.png 855738050.255.png 855738050.256.png 855738050.257.png 855738050.258.png 855738050.259.png 855738050.260.png 855738050.261.png 855738050.262.png 855738050.263.png 855738050.265.png 855738050.266.png 855738050.267.png 855738050.268.png 855738050.269.png 855738050.270.png 855738050.271.png 855738050.272.png 855738050.273.png 855738050.274.png 855738050.276.png 855738050.277.png 855738050.278.png 855738050.279.png 855738050.280.png 855738050.281.png 855738050.282.png 855738050.283.png 855738050.284.png 855738050.285.png 855738050.287.png 855738050.288.png 855738050.289.png 855738050.290.png 855738050.291.png 855738050.292.png 855738050.293.png 855738050.294.png 855738050.295.png 855738050.296.png 855738050.298.png 855738050.299.png 855738050.300.png 855738050.301.png 855738050.302.png 855738050.303.png 855738050.304.png 855738050.305.png 855738050.306.png 855738050.307.png 855738050.309.png 855738050.310.png 855738050.311.png 855738050.312.png
 
GENERAL INTEREST
on until the voltage again drops
below the set-point value. In gen-
eral, the cutoff voltage is referenced
to the full-load battery voltage, for
which a value of 0.7 V per NiCd cell
is used (Sub-C, 1500–2000 mAh).
brake [parameter] The ‘brake’ com-
mand is intended for electric gliders
with folding propellers that are fitted
with a SpeedPower 2 unit. As soon
as the control stick (or the trim) is set
to the ‘reverse’ position, the brake
FET is activated after a set time
delay. ‘Reverse’ to ‘forward’ always
has priority.
curve (linear) This switch command
alternates between a linear and an
exponential power curve. In the latter
case, the amount of power supplied
to the motor is a better match to the
position of the control stick.
beep (high) This sets the volume of
the beep to ‘loud’ or ‘soft’.
freq [parameter] (2 kHz) This allows
the frequency of the PWM signal to
be set to four different values.
fail [parameter] (1 s) The combina-
tion of this command and the ‘safe’
command forms the ‘fail-safe’ provi-
sion of the SpeedControl. The ‘fail’
command can be used to specify the
maximum interval allowed for receiv-
ing no pulses (or bad pulses) before
reducing the motor power to zero.
header
4p
1
2
3
4
5
S OUT
6
7
8
9
S IN
GND
9-way sub-D socket (female) solder
connector; attach shell after assembly
Remove pin and enlarge hole to 1.4-mm
D9-connector
000070 - 2 - 13
4-pin header, solder connections.
Finish with heat-shrink tubing.
Figure 6. RS232 cable for communicating with a PC.
can insert the microcontroller in its socket.
The ready-made circuit board for the Speed-
Control is shown in Figure 5 .
then restarted via Speed.ht.
In order to enter the programming
mode, you must set the trimpot to
the ‘program’ position and then
switch on the power while pressing
the pushbutton. The SpeedControl
unit will then announce itself with
the message ‘command?’ on the PC
monitor. Now you can enter com-
mands. If an incorrect command or
incorrect parameter is entered, a
beep is generated and a message
appears on the screen. You can exit
this situation by pressing the Escape
key. If you type the command ‘?’ fol-
lowed by the Enter key, the com-
mand set is displayed as illustrated
in Figure 7 . Only lower-case letters
may be used for entering commands.
If the parameter is omitted, the cur-
rently active setting is displayed.
Programming
Before going any further, it’s helpful if you
first match the SpeedControl to the transmit-
ter using the three-point timing setup, and in
particular the setup described in Example 2
of the first part of this article. Once this has
been done, you can test the operation of the
‘forw/back’ output.
After this test, the receiver and the Speed-
Control can be switched off. Set trimpot P1 to
the ‘speed’ position and hold the pushbutton
down while switching on the power. Now
you can test the operation of the trimpot. Its
behaviour should be essentially the same as
that of the control stick of the transmitter.
If no programming has been carried out,
default values are used. The microcontroller
copies these value from the ROM to the EEP-
ROM when it is first started up. A ‘virgin’
EEPROM cell contains either 00h or FFh.
After the values have been copied, the ‘test
cell’ contains 08h, so the program knows that
the EEPROM has already been written. In the
descriptions of the commands, the default
values are shown in parentheses.
A special cable is needed to allow the Speed-
Control to communicate with a PC. The
schematic of this cable is shown in Figure 6 .
The three loopback connections trick the
RS232 interface into being able to function
with only three leads (‘gnd’, ‘in’ and ‘out’). In
addition, you will need a terminal emulator,
such as the Windows accessory HyperTermi-
nal program. If you don’t use Windows, an
‘old-timer’ communications program, such as
ProComm, is perfectly usable. Set the proto-
col parameters to 19200 baud, 7 data bits, no
parity and 2 stop bits. With HyperTerminal,
you can save these settings on the desktop
under the name ‘Speed.ht’ (for example). In
our case, the new settings took effect only
after HyperTerminal had been stopped and
Commands
reptest (on) This switch command
enables or disables testing the repe-
tition interval (pulse rate). Disable
this test only if the repetition inter-
val of the transmitter is highly unsta-
ble. Note that this command dis-
ables the test, so to restore the orig-
inal setting, the command must be
issued twice. This applies to all
switch commands!
cutoff [parameter] This command is
used to set or disable the cutoff volt-
age. This is indispensable if the sup-
ply voltage for the receiver, servos
and SpeedControl is taken from the
BEC of a power unit, so that there is
no separate battery for the receiver.
When the supply voltage drops
below the set-point value, the motor
voltage is switched off. The power
supply to the motor can be restored
by putting the control stick in the
neutral position, and it will remain
Figure 7. The SpeedControl
command set.
38
Elektor Electronics
2/2001
855738050.313.png 855738050.314.png 855738050.315.png 855738050.316.png
GENERAL INTEREST
safe (resume) The options for this
command are ‘resume’ and ‘go neu-
tral’. If the motor power has been set
to zero in response to a ‘fail’ condi-
tion and the ‘resume’ option is
selected, normal operation will be
resumed as soon as control pulses
are again received. If the ‘go neutral’
option is selected, the control stick
must first be set to the neutral posi-
tion before normal operation is
resumed.
log (off) If ‘log’ is active, bad pulses
are recorded in the ‘logbook’. This is
a 16-bit counter that provides an
indication of the reliability of the link.
The logging function costs a lot of
extra time in the controller, so it
should normally be disabled.
IC3
L4940V5
+5V
BEC
+7V2 / 12V
C3
100n
R4
R5
R6
C1
C2
+M
10µ
100n
16V
Re1
re1
D1
STPS
3045CT
D2
C4
Re2
47µ
16V
BAT
85
re2
–M
IC1
IC2
8
6
R2
470
T2
PWM
1
7
2
7
2
R3
470
T3
R8
F/B
4
T1
R1
680
6
4
5
3
R7
0V
BC547
2x
C5
5
3
IRL2203N
HCPL2630
TC4426CPA
22n
BE C
0 V
0V
Diagnostic commands
000070 - 2 - 15
Figure 8. Schematic diagram of the SpeedPower 1.
wd (on) This can be used to enable
or disable the digital microcon-
troller’s watchdog timer. If the
watchdog times out, the microcon-
troller is reset. When the watchdog
is disabled, the command processor
in the main program loop is enabled
and we can examine all memory
locations in the microcontroller and
modify them as desired.
mem [parameter] (off) This com-
mand, followed by a hexadecimal
address, causes the content of the
selected memory location to be dis-
played on the screen, updated
approximately three times per sec-
ond (exit with the Escape key).
put [parameter] The parameter byte
is written to the memory location
specified by the ‘mem’ command.
SpeedPower 1
The schematic diagram of the SpeedPower 1
unit, which has forward/reverse capability, is
shown in Figure 8 . The 5-V voltage regulator
(IC3), which also supplies power to the BEC,
is a low-drop type that can supply 1.5 A. With
page [parameter] 0 = EEPROM
page 0, 1 = EEPROM page 1, 2 =
RAM page 2.
The diagnostic commands can be
used to restore the default values.
This is done as follows. First enter
‘mem 00’ to select memory address
00h. Next, enter ‘page 0’ to select
EEPROM page 0, and then enter ‘put
00’ to write the byte 00h to that
address. Complete each entry with
the Enter key. When the SpeedCon-
trol is again switched on, the default
values will again be written to the
EEPROM.
GAT2
000070-3
HOEK3
IC3
C3
D1
T2
T3
C5
+7,2V / 12V
BEC 5V
C1
R8
M+
PWM
R4
R2
R7
F/B
D2
C2
R6
RE1
0V
M-
R5
R3
R1
0V
BEC 0V
C4
T1
RE2
HOEK1
GAT1
COMPONENTNS LIST
SpeedPower 1
Semiconductors:
D1 = STPS3045CT
D2 = BAT85
T1 = BC547
T2,T3 = IRL2203N
IC1 = HCPL2630
IC2 = TC4426CPA
IC3 = L4940V5
Resistors:
R1 = 680
R2,R3 = 470
R4,R5 = 2k 2
R6 = 1
R7 = 100k
R8 = 15
Miscellaneous:
Re1, Re2 = relay, Fujitsu 51ND06-N
(Conrad Electronics #505099-11)
PC1-PC9 = solder pin
PCB, order code 000070-5 (in
combination with SpeedControl –
see Readers Services page)
Capacitors:
C1 = 10µF 16V radial
C2,C3 = 100nF
C4 = 47µF 16V radial
C5 = 22nF
Figure 9. Printed circuit board layout for the
SpeedPower 1.
2/2001
Elektor Electronics
39
855738050.317.png 855738050.319.png 855738050.320.png 855738050.321.png 855738050.322.png 855738050.323.png 855738050.324.png 855738050.325.png 855738050.326.png 855738050.327.png 855738050.328.png 855738050.330.png 855738050.331.png 855738050.332.png 855738050.333.png 855738050.334.png 855738050.335.png 855738050.336.png 855738050.337.png 855738050.338.png 855738050.339.png 855738050.341.png 855738050.342.png 855738050.343.png 855738050.344.png 855738050.345.png 855738050.346.png 855738050.347.png 855738050.348.png 855738050.349.png 855738050.350.png 855738050.352.png 855738050.353.png 855738050.354.png 855738050.355.png 855738050.356.png 855738050.357.png 855738050.358.png 855738050.359.png 855738050.360.png 855738050.361.png 855738050.363.png 855738050.364.png 855738050.365.png 855738050.366.png 855738050.367.png 855738050.368.png 855738050.369.png 855738050.370.png 855738050.371.png 855738050.372.png 855738050.374.png 855738050.375.png 855738050.376.png 855738050.377.png 855738050.378.png 855738050.379.png 855738050.380.png 855738050.381.png 855738050.382.png 855738050.383.png 855738050.385.png 855738050.386.png 855738050.387.png 855738050.388.png 855738050.389.png 855738050.390.png 855738050.391.png 855738050.392.png 855738050.393.png 855738050.394.png 855738050.396.png 855738050.397.png 855738050.398.png 855738050.399.png 855738050.400.png 855738050.401.png 855738050.402.png 855738050.403.png 855738050.404.png 855738050.405.png 855738050.407.png 855738050.408.png 855738050.409.png 855738050.410.png 855738050.411.png 855738050.412.png 855738050.413.png 855738050.414.png 855738050.415.png 855738050.416.png 855738050.418.png 855738050.419.png 855738050.420.png 855738050.421.png 855738050.422.png 855738050.423.png 855738050.424.png 855738050.425.png 855738050.426.png 855738050.427.png 855738050.429.png 855738050.430.png 855738050.431.png 855738050.432.png 855738050.433.png 855738050.434.png 855738050.435.png 855738050.436.png 855738050.437.png 855738050.438.png 855738050.440.png 855738050.441.png 855738050.442.png 855738050.443.png 855738050.444.png 855738050.445.png 855738050.446.png 855738050.447.png 855738050.448.png 855738050.449.png 855738050.451.png 855738050.452.png 855738050.453.png 855738050.454.png 855738050.455.png 855738050.456.png 855738050.457.png 855738050.458.png 855738050.459.png 855738050.460.png 855738050.462.png 855738050.463.png 855738050.464.png 855738050.465.png 855738050.466.png 855738050.467.png 855738050.468.png 855738050.469.png 855738050.470.png 855738050.471.png 855738050.473.png 855738050.474.png 855738050.475.png 855738050.476.png 855738050.477.png 855738050.478.png 855738050.479.png 855738050.480.png 855738050.481.png 855738050.482.png 855738050.484.png 855738050.485.png 855738050.486.png 855738050.487.png 855738050.488.png 855738050.489.png 855738050.490.png 855738050.491.png 855738050.492.png 855738050.493.png 855738050.495.png 855738050.496.png 855738050.497.png 855738050.498.png 855738050.499.png 855738050.500.png 855738050.501.png 855738050.502.png 855738050.503.png 855738050.504.png 855738050.506.png 855738050.507.png 855738050.508.png 855738050.509.png 855738050.510.png 855738050.511.png 855738050.512.png 855738050.513.png 855738050.514.png 855738050.515.png 855738050.517.png 855738050.518.png 855738050.519.png 855738050.520.png 855738050.521.png 855738050.522.png 855738050.523.png 855738050.524.png 855738050.525.png 855738050.526.png 855738050.528.png 855738050.529.png 855738050.530.png 855738050.531.png 855738050.532.png 855738050.533.png 855738050.534.png 855738050.535.png 855738050.536.png 855738050.537.png 855738050.539.png 855738050.540.png 855738050.541.png 855738050.542.png 855738050.543.png 855738050.544.png 855738050.545.png 855738050.546.png 855738050.547.png 855738050.548.png 855738050.550.png 855738050.551.png 855738050.552.png 855738050.553.png 855738050.554.png 855738050.555.png 855738050.556.png 855738050.557.png 855738050.558.png 855738050.559.png 855738050.561.png 855738050.562.png 855738050.563.png 855738050.564.png 855738050.565.png 855738050.566.png 855738050.567.png 855738050.568.png 855738050.569.png 855738050.570.png 855738050.572.png 855738050.573.png 855738050.574.png 855738050.575.png 855738050.576.png 855738050.577.png 855738050.578.png 855738050.579.png 855738050.580.png 855738050.581.png 855738050.583.png 855738050.584.png 855738050.585.png 855738050.586.png 855738050.587.png 855738050.588.png 855738050.589.png 855738050.590.png 855738050.591.png 855738050.592.png 855738050.594.png 855738050.595.png 855738050.596.png 855738050.597.png 855738050.598.png 855738050.599.png 855738050.600.png 855738050.601.png 855738050.602.png 855738050.603.png 855738050.606.png 855738050.607.png 855738050.608.png 855738050.609.png 855738050.610.png 855738050.611.png 855738050.612.png 855738050.613.png 855738050.614.png 855738050.615.png 855738050.617.png 855738050.618.png 855738050.619.png 855738050.620.png 855738050.621.png 855738050.622.png 855738050.623.png 855738050.624.png 855738050.625.png 855738050.626.png 855738050.628.png 855738050.629.png 855738050.630.png 855738050.631.png 855738050.632.png 855738050.633.png 855738050.634.png 855738050.635.png 855738050.636.png 855738050.637.png 855738050.639.png 855738050.640.png 855738050.641.png 855738050.642.png 855738050.643.png 855738050.644.png 855738050.645.png 855738050.646.png 855738050.647.png 855738050.648.png 855738050.650.png 855738050.651.png 855738050.652.png 855738050.653.png 855738050.654.png 855738050.655.png 855738050.656.png 855738050.657.png 855738050.658.png 855738050.659.png 855738050.661.png 855738050.662.png 855738050.663.png 855738050.664.png 855738050.665.png 855738050.666.png 855738050.667.png 855738050.668.png 855738050.669.png 855738050.670.png 855738050.672.png 855738050.673.png 855738050.674.png 855738050.675.png 855738050.676.png 855738050.677.png 855738050.678.png 855738050.679.png 855738050.680.png 855738050.681.png 855738050.683.png 855738050.684.png 855738050.685.png 855738050.686.png 855738050.687.png 855738050.688.png 855738050.689.png 855738050.690.png 855738050.691.png 855738050.692.png 855738050.694.png 855738050.695.png 855738050.696.png 855738050.697.png 855738050.698.png 855738050.699.png 855738050.700.png 855738050.701.png 855738050.702.png 855738050.703.png 855738050.705.png 855738050.706.png 855738050.707.png 855738050.708.png 855738050.709.png 855738050.710.png 855738050.711.png 855738050.712.png 855738050.713.png
 
GENERAL INTEREST
two standard servos, the average current
consumption from the BEC is around 150 to
250 mA, but if reception is lost and the servos
start to jitter, the current consumption can
rise to as much as 1.2 A, and the receiver
must continue to work reliably under these
conditions. The PWM and ‘for/back’ signals
are electrically isolated by a dual digital opto-
coupler (IC1). IC2 is a dual inverting driver for
power MOSFETs. Each output can source or
sink 1.5 A, and the voltage can range from 0 V
on the ground lead (pin 3) to the supply volt-
age (pin 6). The inputs are TTL compatible.
One driver output (pin 7) is used to control
two power MOSFETs wired in parallel (T2 &
T3), while the other output controls a switch-
ing transistor (T1) that activates the relay. A
pair of Schottky diodes in a dual package is
connected across the MOSFET outputs to
handle flyback currents, along with the ‘snub-
ber’ network (R8 & C5) that protects the
MOSFETs. The circuit is designed such that
the motor cannot run in the absence of an
input signal.
Figure 9 shows the printed circuit board for
the SpeedPower 1. This is supplied in combi-
nation with the SpeedControl circuit board,
and it can be separated from the latter board
if desired. The same remarks apply to the
assembly of this board as for the SpeedPower
board. The current-carrying tracks are laid
out extra wide, and if necessary they can be
IC3
L4940V5
+5V
BEC
+7V2 / 12V
C5
R6
R3
R5
R8
R9
D3
C1
+ M
47µ
16V
100n
4V7
R11
C4
T2
D4
100n
T1
STPS
3045CT
MTP50P03HDL
D2
BC
–M
547
BAT85
R7
IC1
IC2
8
6
T3
R1
470
PWM
1
7
2
7
2
T4
R10
R2
470
F/B
4
D1
6
4
5
3
BAT85
R4
0V
C2
2x
C3
5
3
IRL2203N
HCPL2630
TC4428CPA
47µ
16V
22n
BE C
0V
0V
000070 - 2 - 16
Figure 10. Schematic diagram of the SpeedPower 2.
electrically ‘beefed up’ by soldering
lengths of copper wire on top.
Finally, fasten the interconnecting
cables and BEC cable. If the distance
between the power unit and the
receiver is greater than 20 cm, it is a
good idea to fit a ferrite toroidal core
on the BEC cable, close to the
receiver.
the SpeedPower 1 unit; it has an
inverting and a non-inverting stage.
When ‘for/back’ is not active, output
pin 6 of the optocoupler (IC1) is
High, which blocks diode D1. The
‘PWM’ signal reaches the non-invert-
ing driver, which controls the power
MOSFETs, via the inverting driver
and diode D2. When ‘for/back’ is
active, output pin 6 of the optocou-
pler is Low, so that diode D1 con-
ducts. Input pin 4 of the optocoupler
remains Low, and consequently also
the gates of T2 and T3.
The base of T3 is connected to a
fixed voltage of 3 V. When ‘for/back’ is
Low, the emitter of T1 is connected
+
M+
M-
0V
SpeedPower 2
D3
HOEK2
C3
R9
R10
BEC 5V
Figure 10 shows the schematic dia-
gram of the SpeedPower 2 unit,
which includes a brake FET. The
power MOSFET driver IC2 is a dif-
ferent type than the driver used in
D4
T3
T4
C2
PW M
T2
C5
R3
R8
R1
R4
F/B
T1
R6
000070-2
R11
0V
R7
D2
BEC 0V
D1
R2
C1
C4
R5
HOEK4
IC3
COMPONENTS LIST
SpeedPower 2
Semiconductors:
D1,D2 = BAT85
D3 = zener diode 4V7
D4 = STPS3045CT
T1 = BC547
T2 = MTP50P03HDL
T3,T4 = IRL2203N
IC1 = HCPL2630
IC2 = TC4428CPA
IC3 = L4940V5
Resistors:
R1,R2,R3 = 470
R4 = 330
R5,R6 = 2k 2
R7 = 39
R8,R11 = 1
R9 = 560
R10 = 15
Miscellaneous:
PC1-PC9 = solder pin
PCB, order code 000070-4 (in
combination with SpeedControl –
see Readers Services page)
Capacitors:
C1,C4 = 100nF
C2,C5 = 47µF 16V radial
C3 = 22nF
Figure 11. Printed circuit board layout for the
SpeedPower 2.
40
Elektor Electronics
2/2001
855738050.716.png 855738050.717.png 855738050.718.png 855738050.719.png 855738050.720.png 855738050.721.png 855738050.722.png 855738050.723.png 855738050.724.png 855738050.725.png 855738050.727.png 855738050.728.png 855738050.729.png 855738050.730.png 855738050.731.png 855738050.732.png 855738050.733.png 855738050.734.png 855738050.735.png 855738050.736.png 855738050.738.png 855738050.739.png 855738050.740.png 855738050.741.png 855738050.742.png 855738050.743.png 855738050.744.png 855738050.745.png 855738050.746.png 855738050.747.png 855738050.749.png 855738050.750.png 855738050.751.png 855738050.752.png 855738050.753.png 855738050.754.png 855738050.755.png 855738050.756.png 855738050.757.png 855738050.758.png 855738050.760.png 855738050.761.png 855738050.762.png 855738050.763.png 855738050.764.png 855738050.765.png 855738050.766.png 855738050.767.png 855738050.768.png 855738050.769.png 855738050.771.png 855738050.772.png 855738050.773.png 855738050.774.png 855738050.775.png 855738050.776.png 855738050.777.png 855738050.778.png 855738050.779.png 855738050.780.png 855738050.782.png 855738050.783.png 855738050.784.png 855738050.785.png 855738050.786.png 855738050.787.png 855738050.788.png 855738050.789.png 855738050.790.png 855738050.791.png 855738050.793.png 855738050.794.png 855738050.795.png 855738050.796.png 855738050.797.png 855738050.798.png 855738050.799.png 855738050.800.png 855738050.801.png 855738050.802.png 855738050.804.png 855738050.805.png 855738050.806.png 855738050.807.png 855738050.808.png 855738050.809.png 855738050.810.png 855738050.811.png 855738050.812.png 855738050.813.png 855738050.815.png 855738050.816.png 855738050.817.png 855738050.818.png 855738050.819.png 855738050.820.png 855738050.821.png 855738050.822.png 855738050.823.png 855738050.824.png 855738050.827.png 855738050.828.png 855738050.829.png 855738050.830.png 855738050.831.png 855738050.832.png 855738050.833.png 855738050.834.png 855738050.835.png 855738050.836.png 855738050.838.png 855738050.839.png 855738050.840.png 855738050.841.png 855738050.842.png 855738050.843.png 855738050.844.png 855738050.845.png 855738050.846.png 855738050.847.png 855738050.849.png 855738050.850.png 855738050.851.png 855738050.852.png 855738050.853.png 855738050.854.png 855738050.855.png 855738050.856.png 855738050.857.png 855738050.858.png 855738050.860.png 855738050.861.png 855738050.862.png 855738050.863.png 855738050.864.png 855738050.865.png 855738050.866.png 855738050.867.png 855738050.868.png 855738050.869.png 855738050.871.png 855738050.872.png 855738050.873.png 855738050.874.png 855738050.875.png 855738050.876.png 855738050.877.png 855738050.878.png 855738050.879.png 855738050.880.png 855738050.882.png 855738050.883.png 855738050.884.png 855738050.885.png 855738050.886.png 855738050.887.png 855738050.888.png 855738050.889.png 855738050.890.png 855738050.891.png 855738050.893.png 855738050.894.png 855738050.895.png 855738050.896.png 855738050.897.png 855738050.898.png 855738050.899.png 855738050.900.png 855738050.901.png 855738050.902.png 855738050.904.png 855738050.905.png 855738050.906.png 855738050.907.png 855738050.908.png 855738050.909.png 855738050.910.png 855738050.911.png 855738050.912.png 855738050.913.png 855738050.915.png 855738050.916.png 855738050.917.png 855738050.918.png 855738050.919.png 855738050.920.png 855738050.921.png 855738050.922.png 855738050.923.png 855738050.924.png 855738050.926.png 855738050.927.png 855738050.928.png 855738050.929.png 855738050.930.png 855738050.931.png 855738050.932.png 855738050.933.png 855738050.934.png 855738050.935.png 855738050.938.png 855738050.939.png 855738050.940.png 855738050.941.png 855738050.942.png 855738050.943.png 855738050.944.png 855738050.945.png 855738050.946.png 855738050.947.png 855738050.949.png 855738050.950.png 855738050.951.png 855738050.952.png 855738050.953.png 855738050.954.png 855738050.955.png 855738050.956.png 855738050.957.png 855738050.958.png 855738050.960.png 855738050.961.png 855738050.962.png 855738050.963.png 855738050.964.png 855738050.965.png 855738050.966.png 855738050.967.png 855738050.968.png 855738050.969.png 855738050.971.png 855738050.972.png 855738050.973.png 855738050.974.png 855738050.975.png 855738050.976.png 855738050.977.png 855738050.978.png 855738050.979.png 855738050.980.png 855738050.982.png 855738050.983.png 855738050.984.png 855738050.985.png 855738050.986.png 855738050.987.png 855738050.988.png 855738050.989.png 855738050.990.png 855738050.991.png 855738050.993.png 855738050.994.png 855738050.995.png 855738050.996.png 855738050.997.png 855738050.998.png 855738050.999.png 855738050.1000.png 855738050.1001.png 855738050.1002.png 855738050.1004.png 855738050.1005.png 855738050.1006.png 855738050.1007.png 855738050.1008.png 855738050.1009.png 855738050.1010.png 855738050.1011.png 855738050.1012.png 855738050.1013.png 855738050.1015.png 855738050.1016.png 855738050.1017.png 855738050.1018.png 855738050.1019.png 855738050.1020.png 855738050.1021.png 855738050.1022.png 855738050.1023.png 855738050.1024.png 855738050.1026.png 855738050.1027.png 855738050.1028.png 855738050.1029.png 855738050.1030.png 855738050.1031.png 855738050.1032.png 855738050.1033.png 855738050.1034.png 855738050.1035.png 855738050.1037.png 855738050.1038.png 855738050.1039.png 855738050.1040.png 855738050.1041.png 855738050.1042.png 855738050.1043.png 855738050.1044.png 855738050.1045.png 855738050.1046.png 855738050.003.png 855738050.004.png 855738050.005.png 855738050.006.png 855738050.007.png 855738050.008.png 855738050.009.png 855738050.010.png 855738050.011.png 855738050.012.png 855738050.014.png 855738050.015.png 855738050.016.png 855738050.017.png 855738050.018.png 855738050.019.png 855738050.020.png 855738050.021.png 855738050.022.png 855738050.023.png 855738050.025.png 855738050.026.png 855738050.027.png 855738050.028.png 855738050.029.png 855738050.030.png 855738050.031.png 855738050.032.png 855738050.033.png 855738050.034.png 855738050.036.png 855738050.037.png 855738050.038.png 855738050.039.png 855738050.040.png 855738050.041.png 855738050.042.png 855738050.043.png 855738050.044.png 855738050.045.png 855738050.047.png 855738050.048.png 855738050.049.png 855738050.050.png 855738050.051.png 855738050.052.png 855738050.053.png 855738050.054.png 855738050.055.png 855738050.056.png 855738050.058.png 855738050.059.png 855738050.060.png 855738050.061.png
 
Zgłoś jeśli naruszono regulamin