Showing posts with label power usage. Show all posts
Showing posts with label power usage. Show all posts

CANBoat Design part III - Choosing the server hardware

The server that CANBoat runs on was always designed to run 24 by 7. This means that it must be reliable and use little power. Power usage adds up over longer periods. Something that uses 3W will use 6 Ah @ 12 V per day. So every Watt counts!

For a long while I thought that I would end up with some form of embedded ARM board running Linux. I bought a number of ARM based systems to run field tests.

However as I started to develop software it soon turned out that the criteria list contained three items, not two:
  • Power usage - as low as possible IN REAL LIFE.
  • Connectivity - USB 2.0 Host, Ethernet, Wifi.
  • Up-to-date Linux kernel with distribution that provides lots of packages.

I was surprised to find that in practice a small x86 server based on the AMD Geode ran with almost as little power as an ARM board. Unlike the ARM boards it had all the I/O that I wanted. Furthermore it was cheap and reliable to procure. You can get cheap ARM boards based on commercial items such as routers but these usually have a very short lifetime as manufacturers continuously drive down prices by bringing out new hardware. Embedded systems are usually a lot more expensive.

The clincher was that most ARM board manufacturers have a hard time keeping up with the Linux distributions, so they usually run out-of-date kernels and weak distributions. Support for FTDI serial converters was not a given, and these are used in many devices such as the Actisense NGT-1. I had to backport many fixes for the FTDI serial converters to the older Linux kernels to get reliable serial USB connections. Not Good.

So in the end I decided on low power x86. The PC Engines ALIX 2d.13 has exactly the interfaces I needed, but is available in a range of different systems. They run about € 100 / $ 140 which is still very reasonable. It runs a very nice mini Debian release named Voyage Linux with a kernel that is new enough to run stuff like the FTDI interfaces reliably. As it is just a pruned Debian release getting an additional package is just an apt-get away. The processor is a 500 MHz AMD LX800 which is plenty fast for Linux server needs.

Basics of Electrical units and quantities

I'm sick and tired of stories in the general boating press by confused writers that mix up electrical numbers and quantities.

This is probably because electrical units are a bit different than the units used for length, speed and distance.

Here's my feeble attempt at clarifying this apparently confusing matter. I shall compare electrical current to water current flowing in a circular pipe, which seems appropriate in our nautical environment.

Some theory first

Let's start with the three most familiar units:

  • Voltage - The eagerness with which electrons want to flow from A to B. In our comparison, this is equivalent to the water pressure in a pipe.
  • Current - The magnitude (amount) of electrical charge passing through the conductor per unit of time. In our comparison, this is equivalent to the discharge of a river or pipe. Discharge is usually measured in cubic meters per second, likewise electrical current is measured in coulombs per second. An electrical current of 1 ampere is defined as 1 coulomb per second. This is important to note: current is a derived quantity. One coulomb is just a large bunch of electrons, about 6.241 x 1018 of them.
  • Electrical energy - The thing that we have electricity on a boat for anyway. Electrical power is what makes the appliance (winch, coffee maker, light bulb) work. In our comparison, it is the amount of power that a turbine could transfer from the water in the pipe. This is a product of the discharge and the pressure. Likewise, in an electrical circuit the power is the product of the voltage and the current. In units: volt times ampere equals watt (V * A = W). (Note to fellow engineers: I know it should be U * I = P, but let's not further complicate matters.)

Note that although voltage and current are used so often, they are NOT basic units such as volume and length are. In particular voltage is defined as the total energy required to move an electric charge from A to B divided by the magnitude of the charge. Current is also a derived value. In electricity, the basic unit is charge measured in coulombs.

The confusion grows when we start talking capacity. In particular the capacity of our electrical charge containers, more commonly known as a battery. Given what I stated above you'd think that we'd measure battery capacity in coulombs: how many electrons does it take. Unfortunately, historically we have used ampere hours. One ampere hour (Ah) is a current of 1 ampere during 1 hour (3600 seconds). Since 1 ampere is 1 coulomb per second, 1 Ah is 3600 coulombs.

Likewise the total amount of power used over a number of hours defines how much must be recharged, or bought from an electricity company. Historically this is measured in (kilo)watthours. 1.2 kWh = 1200 Wh = 1200 watts for an hour. If this power had to be supplied by a typical 12 V battery bank this would be (V * A = W, therefore A = W / V, therefore Ah = Wh / V) 1200/12 = 100 Ah.

Typical Errors

Taking one article from a Dutch magazine "Zeilen", let's discuss what they do wrong. The article "Geen beweging, toch stroom" (No movement, still current) in the May 2010 issue discusses fuel cells, and shows a few typical examples.

The first small error is a sentence where the author discusses a Gas generator ... with a capacity between 1.5 and 2.2 kWh ... Now kWh is the amount of power delivered over a particular amount of time. Generators are sized in terms of power, e.g. (kilo)watts -- not kilo watt hours.

Then he goes on to discuss the admittedly confusing (but correct) wording used by EFOY fuel cells. EFOY rates their equipment by the amount of watt hours they can deliver per day (24 hours). Admittedly, this would be better expressed in simple Watts. The author writes this as follows: There are five models from 600 to 2200 Watt/h per day, a rather strange and misleading denomination. You should divide the number by 24 to arrive at the true performance. For an EFOY 2200 this coumes down to a maximum current of 7.5 Ah at 12 volt. Ouch: it should be Watt hour, not Watt per hour (Watt/h). It should also be 7.5 A (amps) not 7.5 Ah (amp hours).

Anyway, on to the next section where he claims that the Protonex M-250C fuel cell delivers 250 Watt per hour. Guess he means 250 Watt...

And the last one: The Italian company Acta delivers fuel cells with a capacity of 100, 200 or 1000 Watt during eight hours. Again, Watts per hour is meaningless.

Guess it's no wonder that many boaters are confused about electricity with magazines feeding them mis-information like this.

Choosing an Eco Flat TV

We're not very avid TV watchers on board, but we do like to watch a movie now and then. And, of course, our children like watching various cartoons and movies a lot.

So we needed a TV. About a year ago I started paying attention to see which ones would be applicable to our low power envelope. At that time it was hard to obtain facts about flat TV power consumption except in general terms. Luckily the increased awareness amongst the public and the reaction towards that from suppliers has benefited us here. Technologically the trend towards using LED backlights has helped.

As developments go quickly I delayed buying a TV for as long as I could. Now that the deadline for me delivering equipment is almost upon us I had to choose. To be honest, I still don't like LCD TVs as much as I do plasma in terms of visual smoothness. They are often 'harder' in showing up digital artifacts, both moiré and compression.

In the end the choice was narrowed down to the one with both the highest potential for power saving and the lowest advertised power usage in the size (32") that we were looking for. The Sharp LC-32LE600E has an official power use of 60W. In practice, running it at the visual settings that we liked best it turned out to use even less at 30 to 37 W. Pretty cool for such a big display - in more ways than one.

Are Eco Ethernet switches Greener?

There was a recent discussion on Panbo where some people proposed that Ethernet, and more specifically using the IP protocol with a 100BASE-TX or 1000BASE-T physical layer. I am still sceptical of that for several reasons. One of them is that an IP stack rules out using small micro controllers, or requires extra hardware. This drives up the cost of the minimal hardware node. A zigbee or bluetooth based system is much more low-end friendly and has the added benefit of needing no wires.

Ethernet does have a role on-board in tying together both navigation hardware with high speed sensors, such as RADAR scanners and in enabling the interface between on-board computers, Wifi and mobile internet modems and whatever other gadgets turn up on board.

So I've taken the power meter to use again to measure what Ethernet costs us in terms of Watts. Less, much less, than I feared -- if you're careful. There is an interesting trend visible in the past year where many manufacturers are advertising green or eco friendly devices.

The devices that I tested were three "older" devices that carry no green or eco label: a Linksys WRT-54G access point with built-in 4 port 100BASE-TX Fast Ethernet switch, a newer Linksys WRT-54Gv2 access point also with a 4 port Fast Ethernet switch, a Sitecom LN-113 8 port Fast Ethernet switch. I also tested two eco 5 port Gigabit Ethernet switches from D-Link (DGS-1005D) and Netgear (GS105). I used the power adapters that came with the Gigabit switches as these were the newest and most efficient. The cable lengths were mixed: two that were about 5 m and two that were about 10-15 m.

DeviceLoad 0Load 4Load 3 + 1GB
Linksys WRT54g v73.0 W4.1 WN/A
Linksys WRT54gV2 1.9 W2.8 WN/A
Sitecom LN-113 v20.0 W1.2 WN/A
Netgear GS1050.1 W0.6 W1.0 W
D-Link DGS-1005D0.1 W0.6 W1.0 W

The test results show that four active ethernet ports will cost you 0.9 to 1.2 W per port if you use just any old ethernet switch. You can save power by using a new eco switch and tying any Gigabit capable ports to 100 MBit. A Gigabit port seems to use 0,5 W per port.

To answer my own question: Yes they are -- if you're careful to slow the ports to 100 MBit if that is fast enough for your requirements.

For our modest Ethernet network on board our new ship I'll be using the Netgear GS105 as that has a 12V supply (the D-Link has a 5 V stabilised power input) so it is easier to integrate. All ports will be run at 100 MBit speed to reduce power consumption.

Airmar PB200 WeatherStation power usage

I've measured actual power usage for the expensive but all-encompassing-all-but-dancing-and-singing Airmar PB200 WeatherStation NMEA 2000 sensor.

It is officially stated as a 13 LEN device which means that it could use up to 13 * 50 = 650 mA @ 12 V = 7 W, but it actually only uses 2.5 W, e.g. 4 to 5 LEN. That's OK for a sensor that does all of the following:
  • GPS (WAAS, EGNOS) (it even claims to do GLONASS according to its PGN 12029)
  • Heading (rate stabilised)
  • Pitch & Roll
  • Wind direction and speed
  • Temperature
  • Air pressure

Apple 30" Cinema HD Display power usage

Now that I've got the power meter out, I've started measuring more stuff than what's going onto the boat. Maybe having actual figures will help somebody out there.

For instance, my Apple 30" display at the office uses up to 150W according to Apple. The actual consumption figures that I've measured are:

SettingQualityPower
0%On the dim side, but still pretty good51 W
50 %Normal office use75 W
100 %Good for use with indirect sunshine114 W

Simrad/Lowrance NMEA2000 network power usage

Third in what is turning out to be a small series on power usage. This time I figured I'd benchmark the power usage of all the navigation equipment that I have collected so far for the new boat.

Again measured using a Voltcraft 3000 at the 230V AC, so the actual figures are too high by 10-20% when using a direct 12V DC source. Since I am going to use a 24 V to 12 V DC/DC converter that will probably have the same sort of efficiency as the AC/DC converter that I am using now, I figure these measurements are good enough for me personally.

DevicePowerCumulative
Lowrance HDS-8 (backlight @ 6)6.3W6.3W
Simrad IS20 Wind wand0.9W7.2W
Airmar DST800 depth/speed/temp sensor1.0W8.3W
Lowrance EP-65R fluid level sensor0.4W8.7W
Navico NAIS-300 AIS-B (receive mode)7.3W16.0W
Simrad RC42 compass0.9W16.9W
Simrad IS20 Graphic display0.8W17.7W
Simrad IS20 Multi display0.6W18.3W
Simrad IS20 Wind display1.0W19.3W
Simrad AC42 course computer2.5W21.8W
Simrad AP24 auto pilot controller0.8W22.6W
Airmar P319 sonar (depth) sensor1.4W24.0W

As always there are some small surprises here:
  1. The chartplotter only uses 25% of the power envelope
  2. NMEA2000 nodes seem to use at least 0.4W.
  3. The NAIS-300 uses more power than I'd thought it would. Being able to shut it down completely is something to be considered.
Note to self (and reader): this is on the benchtop, the following is still missing:
  • RF300 rudder feedback (should be neglible)
  • Hydraulic pump (e.g. using the autopilot as opposed to just having it in standby)
  • VHF #1
  • Simrad WR20 remote
  • Broadband RADAR sensor
  • Ethernet switch

Lowrance HDS 8 power usage

Finally had a chance to hook up parts of the new NMEA 2000 kit to the power meter.

Running standalone (with no external sensors) the new Lowrance HDS 8 uses the following amount of power:

Standby ('off')0.4 W
Booting (display 100% backlight)14 W
Standby5.0 W
Chart display (brightness = 1, backlight off)5.0 W
brightness = 25.0 W (usable at night)
brightness = 3 5.1 W
brightness = 55.7 W (usable in cloudy day)
brightness = 88.9 W
brightness = 1013.3 W (max, very bright even in sun)

Enabling the sonar added 2 to 3 Watt. In fact the sensor usage is the only difference between Standby and running with the backlight very low or off.

This was all measured at the wall plug using a laptop AC to 12 V DC converter and a Voltcraft Energy Check 3000. Actual power use measured at the DC input should be about 15% lower still.

All in all I am extremely satisfied with this new plotter -- Excellent functionality, great NMEA 2000 interfacing, great screen, cheap charts, all for a very reasonable price. I got mine from JG Tech in the UK.

Apple 24" LED Cinema Display power usage

Yesterday I was trundling the isles of Office Center, and noticed that power usage is now getting more attention of office/home TFT display manufacturers. Good!

In particular they had a LG 22" display that only used 22 Watt at full backlight. It was not very bright, but it was fine for office or home use.

As they had a power meter attached, the power claim of 50% reduction was easily verified. At full backlight usage hovered around the 21 W mark. It also showed that it only used 11 Watt at the lowest backlight setting, where it was still somewhat visible.

They had one of the new 24" Apple LED Cinema Displays. An employee asked whether I had any questions, so I asked whether it was OK to move the power meter to the Apple displays to check out how much power they were using. Lo and behold the manager turned up, said yes sure. We set the meter up with the Apple display. The results were:

SettingQualityPower
0%backlight off or almost off; not watchable11 W
20 %Normal office use20 W
40 %About as bright as the LG at 100%30 W
100 %Very bright88 W

I was amazed by the range actually. Certainly in that store the picture was usable at 20-30 W, meaning you can easily save quite a lot of energy by turning your screen down a bit.