|
|
Power Functions™
presentation Article written in collaboration
with Didier Enjary

February
2009 update: Richard Forster-Pearson sent me schematics and photos of the Power Functions lights.
July 2008
update: Brian Davis opened a XL motor, his photos details the dual stage planetary gear reduction.
January 2008: LEGO release the
infra-red protocol used by Power Functions
Here is the notice accompanying
the document:
Last year we introduced a range
of products using our new electronic building system:
LEGO Power Functions. This new electronic building
system will open up a lot of possibilities now and
in the future. One of the new things we offer now
is modular remote control. In the process of designing
the Power Functions RC system we did a mapping of
different RC functionalities. This mapping formed
the basis of the Power Functions RC protocol and
most of this is built into the Power Functions RC
Receiver. The RC Handset launched now provides direct
'bang-bang' control, but the RC Receiver supports
much more functionality like PWM speed control and
single pin operation.
Now that the Power Functions elements are available
at the LEGO Shop online we have decided to release
the Power Functions RC protocol as open source.
Please feel free to use any information from
the protocol document for personal, non-commercial
use only, provided you keep intact copyright, trademarks
and other proprietary rights of the LEGO Company
- have fun.
Gaute Munch, Technology Product Manager, LEGO
Company |
October 2009: LEGO release update
1.1 of the infra-red protocol used by Power Functions
Here is the notice accompanying
the document:
The
LEGO Group has released a new version of the LEGO
Power Functions RC Receiver (identified by a short
blink on the green LED when power is connected). The new version of the RC Receiver supports
all functionality of the LPF RC protocol and we
have added a command to access the extra address
space.
We are hereby offering you an updated version
of the LPF RC protocol documentation. Please feel free to use any information from
the protocol document for personal, non-commercial
use only, provided you keep intact copyright, trademarks
and other proprietary rights of the LEGO Group.
Gaute Munch, The
LEGO Group
Additional
notes:
- The new
version of the RC Receiver supports all functionality
of the LPF RC protocol including ‘single pin
mode’.
- The product
code is the same #8884 – the new item number
is 4566735.
- Orders
through LEGO shop online for #8884 will provide
the new version.
|
LEGO Power Functions RC
Version 1.1
(PDF, 340kb)
For reference
purpose, previous 1.0 version (PDF, 400kb) |
Power Functions is the new electric
building system by the LEGO company released in
2007 in TECHNIC and Creator sets. The Power Functions
family is composed of remote control (RC) elements,
motors and a brand new type of electrical plug and
wire. Let us introduce the family members. |

|
The battery box powers the system. A green light
indicate that the power is on. The orange control
switch can be pushed in either side driving a motor
in either direction. In the middle position power
is turned off. The plug is of female type and in
the whole system, female plugs are the feeding plugs
just like the domestic AC plugs are. The battery
box needs to be filled with 6 AA-size batteries. |
The motors are internally highly geared down,
turning slowly and delivering high torque. See the
technical measurements in the second
part of this presentation, and in the 9V
motors comparison page. They receive power through
an attached cable. There are two types of motors
: a medium one and an XL one.
|

|
The medium motor fits both studded and studless
elements as shown in the illustration. It is 6L
long and 3L wide and tall. |

|
The XL motor is studless only and its diameter
is 5L wide. |
The RC handset and receiver work
together, the handset sending IR signals to the
receiver. The RC system has 4 channels and you will
find channel selectors on both the remote and receiver.
They need to be set on the same channel. If needed
you can control several receivers from a single
handset by moving channel selector. |

|
The receiver has two outputs, red and blue coded,
corresponding to the two control buttons on the
handset. This way you can independently control
up to 8 different functions in your models. Just
like the motors, the receiver is powered through
a cable. As the battery box, the outputs plugs are
of the female type. |

|
The RC handset also include two small black direction
switches on each side of the channel selector, below
each control buttons. They allow you to flip the
direction of the corresponding output. The handset
has to be filled with 3 AAA-size batteries. |

|
The Power Functions plug is of a new type. It
has 4 connections giving new possibilities for the
future. An extension wire (available early 2008)
gives to Power Functions compatibility with the
existing 9V electrical system and with NXT. |
Power Functions LDraw and LeoCAD parts

I have modelled all 2007 Power Functions devices.
Files necessary to model your constructions are available here
below.
Warning:
These parts are not yet official, parts number, origin, orientation
might change when these parts become official, so use this at
your own risk! Check often LDraw
Parts Tracker for improved versions.
Working
with Stone Gray colors
The Power Functions parts use several gray colors
that are relatively new. Older LDraw software programs either
need some configuration or do not support them at all. Here
is a few tips and tricks.
Color definition:
Color
name |
LDraw
color number |
RGB value |
Approaching
old color name |
LDraw
color number |
RGB value |
Stone_Gray |
71 |
#A3A2A4 |
Gray |
7 |
#C1C2C1 |
Dark_Stone_Gray |
72 |
#635F61 |
Dark_Gray |
8 |
#635F52 |
Light_Stone
|
151 |
#E5E4DE |
Light_Gray |
503 |
#E6E3DA |
These colors are defined in ldconfig.ldr
(more details here).
Make sure that the latest version of this file is present in
your LDraw folder. Hopefully all LDraw programs should use this
file as color definition, unfortunately many older programs
do not.
MLCad: MLCad needs some
configuration to use Stone Gray colors. To do so, load this
file in MLCad, select a brick and click on the "M"
button of the color bar. Press the "Save as default colors"
and you will be able to use Stone Gray colors. MLCad will save
these colors in the header of all files you create after that.
LDView: LDView will display
Stone Gray colors as soon as ldconfig.ldr
file is present in your LDraw folder.
LDGlite: Place this
file in the folder containing LDGlite program.
L3P (and also L3PAO
and LPub that use it): L3P
doesn't accept directly the Stone Gray colors. The only way
is to convert your file to use 24 bit color codes (or to directly
use custom 24 bit colors when you create your model, but that's
tedious at best). This conversion can be automated thanks to
Jim Devona's PreL3P utility.
Download LDraw
parts
I have created 3 versions of the LDraw Power
Functions parts kit for your convenience, choose the one that
best fits your needs. In addition if for some reason you need
the old mockup parts they are still available here (try not
to mix up these old part with the newer ones as there are a
few dimension and position discrepancies).
-
-
Old Gray Colors version:
All Stone colors were changed to their older equivalent
(7 and 8). You may use this version if you don't want to
mess up with any configuration, or if you use programs that
don't work with 24 bit colors. The price to pay is that
colors obtained are not exact (especially the old Dark Gray
has a distinct yellowish shade).
Usage:
- Unzip the kit in your LDraw folder.
- Launch MLCad
- Do a File/Scan parts and accept when prompted for file
list write.
Download Unofficial
LeoCAD parts for Power Functions
(150k). Usage:
- Unzip leocadpf.zip somewhere
- Start from a fresh LeoCAD 0.75 installation
- Launch LeoCAD
- Launch File > Pieces library manager
- In this window, File > Load update, and select cleanuppf.lup
you just unzipped (this will remove the old Power Functions
parts if needed, avoids to get them twice)
- then File > Load update, and select updatpf.lup
- When update is complete, close and re-launch LeoCAD.
All Power Functions parts should now be available.

Power Functions gallery
Images courtesy of The LEGO Company.

Power Functions working

.

|
The
backbone of PF is a 4-wire cable ended by a new
stackable connector. This connector is keyed so
it is always plugged the right way.
Signal
name |
Description |
+9V |
Power
supply |
0V
(Ground) |
C1 |
Control
signals |
C2 |
Power
lines carry supply voltage from the battery box
to all devices that need it, such as the remote
control receiver. Note that since all devices that
have input and output plug pass through power lines,
devices can be daisy chained.
Control
signals may be outputs (the remote receiver creates
C1/C2 according to IR commands) or inputs (the motor
takes power from C1/C2 and turns according to their
state). |
The table and diagram
below show the how the system works.
IR command |
Remote
control outputs |
Motor |
C1 |
C2 |
Forward |
+9V |
0V |
Turns
CW |
Reverse |
0V |
9V |
Turns
CCW |
Stop |
0V |
0V |
Brake |
Power Functions motors compared to old 9V motor
  
We
compare here PF motors only with regular 9V mini-motor in its
two versions: the 71427 produced from 1997 to 2002 and the 43362
motor produced from 2002 to 2006. Externally identical these
motors differ mainly in the weight, 43362 motor is much lighter.
All
the tests below are performed with motors directly connected
to a laboratory power supply.

|
PF
regular has a weight comparable to 9V motors. XL is
much more heavy, something to expect from such a powerful
thing. |

|
Volume
of the bounding box of the motor |

|
PF
XL turns slowly, giving it an impressive torque. Once
again, PF regular is similar to 9V motors. |

|
A
weak point of PF motors: their no-load current is high,
denoting internal friction. They are not well suited
to low power applications such as solar panel supply.
71427 was exceptionally good for that. |

|
Maximum
torque delivered by the motors (motor is blocked). PF
regular provides twice the torque of 9V motors, while
PF XL outdoes its rivals with an axle twisting torque! |

|
High
torque comes with a price, current consumption. Note
that the high stalled current of XL motor exceeds maximum
current delivered by the PF remote receiver (800mA)
and of its own internal protection. Maximum torque is
only obtained with direct battery connection for a short
time. |

|
Maximum
mechanical power is delivered when load halves its no-load
rotation speed. PF motors easily outdo their elders
here… |

|
…but
with a reduced efficiency.
Efficiency
is the ratio between delivered mechanical power and
electrical power provided. Note that the best efficiency
is obtained when load decreases rotation speed by 1/4 |

|
Ratio
of mechanical power by motor weight. |

|
Ratio
of mechanical power by motor volume. |
Conclusions
are clear: PF motors outperform their elders (sometimes with
huge difference) in all respects except energy efficiency.
PF motors power curves when connected to IR
remote receiver
Since
motor driver inside remote receiver has some dropout and current
limitation, charts above don’t tell the whole story. The two
curves below show the mechanical power of PF motors driven by
the remote receiver. These characteristics were measured at
9V (alkaline batteries voltage) and 7.2V (NiMH rechargeable
batteries voltage).

|