6/26/2008

A sigh of relief

Filed under: — Dan @ 2:10 pm on

The Newport-Bermuda 2008 boats are away, and the mad crunch is over. I am finally digging out of accumulated service work, and can start producing blog entries again! We have some exciting developments here at Ockam that I will be writing about in upcoming blogs. I also have a half-completed entry about electrical noise that I’ll be posting soon. Stay tuned!

Comments (0)

4/25/2008

Seeing at night

Filed under: — Dan @ 11:19 am on

Most of us don’t do a whole bunch of night sailing, except for the occasional distance race or when trying to make good distance on a cruise. Sailing at night opens up a whole bunch of new issues, and since we don’t get much practice doing, the solutions aren’t always obvious.

One tremendous issue is the visibility (of lack thereof). People rarely realize how dependent they are on sight as the primary sense until it is taken away by darkness. We key so much of our world to sight, and being deprived of that sense interferes with our ability to operate normally. It’s at best annoying, and at worst, terrifying.

Being able to see your instruments helps alleviate some of that terror. You can at least be reassured by the same numbers that you see while sailing during the day, and compare your situation against that. Any aircraft pilot will tell you that no matter what you think you feel while flying, the instruments rarely lie. Your body might tell you that you’re in a slow ascent, but the instruments will tell you for certain if that’s true. Basing your decision off a gut feeling while flying can easily get you killed.

For instruments to be visible in the dark, some sort of lighting is required. On old analog type displays, there was often a dimable incandescent bulb inside the unit that provided a nice dull glow. Some analog instruments also had luminescent paint to augment the visibility. Most digital instruments (ours included) use LEDs for back lighting.

The problem with instrument back lighting is that your eyes adapt to the dark, but the lighting level typically doesn’t change unless you control it. Human eyes reach one plateau of dark adaptation around 9 minutes, and another hours later. Instrument lighting levels at one point in the cycle may be completely wrong for a later point. Fortunately, it is possible to control the system lighting level (see "Set Light Level") and the lighting level for individual disaplays (see "Remote displays commands: @Jn" section) on the Ockam system. Note that the system light level will control the maximum brightness of all the displays, while the individual display control can dim individual displays down from the system maximum.

Another problem is wavelength perception. The human vision sytem perceives some wavelengths of light as brighter than others. Two light sources of identical physical luminosity but different wavelengths are perceived as having different brightnesses. Pure red light appears to be dimmer than other colors, but that’s not the reason that most night lighting is red. Most night lighting is red because that’s what was used in photography dark rooms (remember those?). Red light was used in dark rooms because black and white film had poor response in the red part of the spectrum, so being exposed to red light would not ruin developing photographs like other colors of light. Red lighting for night use came into common use during World War 2, but the reasoning behind it was not well understood - they just did it that way because it worked in the dark room. It was serendipity that the human eye didn’t change dark adaptation as quickly when exposed to red light.

All displays on the Ockam system now use red back lighting. Some of the older Matryx displays have a green backlight. The Matryx displays with green backlights can be converted to red back lighting if desired however. The green back light shouldn’t interfere too badly with night vision, as the Matryx displays can be individually dimmed lower than the system lighting level.

Comments (0)

4/17/2008

Amiga computers

Filed under: — Dan @ 10:34 am on

Hi everyone! It’s a busy time of year for the marine industry in the northern hemisphere. All the boats are coming out of their winter hibernation, and all the regattas are running. Things are heating up here, as evidenced by our shipping activity and our web statistics.

Speaking of web statistics, I couldn’t help but notice that we had 13 hits from an Amiga computer! If whoever used that computer to look at our web site drops me a line at dan@ockam.com, I’ll try to send you a little goody in the mail.

I’m working on a few ideas for blog entries (high update GPS units, ultrasonic wind sensors), but if anyone has any particular subject they would like to read more about, drop me a line.

Comments (0)

4/4/2008

Weather by phone

Filed under: — Dan @ 4:04 pm on

Many people are familiar with weather reports through a variety of media. We all supplement our day-to-day weather awareness with forecasts from the newspaper and TV news. The Internet has become a very popular way to get sailing weather, as it delivers the right information at the right time. And as always, The Weather Channel and NOAA Weather Radio are big favorites with sailors. But how many people get weather information through the phone? Not many, I would venture. However, this is a fast and easy way to raise your weather awareness while out on the water, simply using any cell phone. While you can frequently get detailed weather data using wireless web browsing, it’s not always available due to limited time, limited hardware, or poor signal strength. The information here applies to the United States, although many other countries have similar systems in place for public weather information.

One way of obtaining current weather information is through the FAA/NWS METAR network. Almost every airport in the United States has an automated weather station now (called either ASOS or AWOS). Every airport that has an automated station also has a voice line to call for automated weather information. In highly populated areas, such as Long Island Sound, there are many airports near the usual sailing areas, so it’s easy to get a good mental picture of the weather conditions over a wide area. You may be able to see things like the sea breeze filling in, or an expected wind change starting to work through the area. There are a few important limitations to note when using the METAR reports. First, the observations are only reported once an hour some time in the ten minutes preceding the top of the hour. Second, airports are infrequently sited directly on the water, so there is typically some difference from the airport observations and conditions on the water. Third, these observations are from automated weather stations that are following reporting algorithms created for aviation, so they may not tell you exactly what you’re accustomed to hearing.

Another method of getting weather information by telephone is through the NOAA National Data Buoy Center Dial-A-Buoy program. This automated information line gives you the current conditions from the network of oceanographic data buoys maintained by NOAA NDBC. It can also provide the current NWS marine forecast for that location. Location is selected by one of two methods: you either need to know the buoy ID, or the approximate latitude and longitude in degrees and minutes. The buoy ID number can be found by clicking on the map on the front page of the NOAA NDBC; there are instructions on the Dial-A-Buoy page to enter buoy IDs with letters. It may be handy to have a small list of local buoys when calling the Dial-A-Buoy line. Otherwise, entering the lat/lon may not give you the buoy you wanted. The major drawback to getting data from the NDBC is the poor spatial resolution. There are not many data buoys out there, so the one closest to you may be some distance away. However, they are frequently located away from land, so you will see less of any land effect than if you check the airports. You also get sea state information from many of the buoys.

A third method of getting information is through the PORTS network. The PORTS network is limited to only 15 areas right now, but these areas also happen to have a lot of sailing activity. Some areas only have a few stations, but most have several. The availability of information varies by PORTS station; the web site details what is reported from each station. In addition to meteorological data, water data is also reported for most stations.

This list is by no means comprehensive. There are many automated information systems available for call-in access. The outlets listed here are a good start, and cover a large area of the United States. While checking out the web links here, click around to see what other weather and oceanographic resources are provided by the US government - maybe you can find something interesting!

Comments (0)

3/31/2008

What are these polars anyway?

Filed under: — Dan @ 1:46 pm on

Ever hear someone talking about hitting their targets at the post-race party, and wonder why they were shooting at people? They’re not trying to shoot the competition, they’re just using polar plots of the boat’s performance to judge how they are performing against the boat’s potential in the conditions.

Many people are familiar with polars as the table and graph documents that detail the boat’s performance in a variety of wind speeds at wind angles from dead downwind all the way up to in irons (at least the good polars cover this range). It’s not very convenient to whip out some sheets of paper while racing, so the better instrument systems (Ockam included) can compute and display polar performance information on the fly. This may seem like overkill to win a race, but all the best racing programs use polars. To paraphrase a recent sailing forum post: "How do you recognize people who use polars? They’re standing up front with the trophy in their hand."

I’ll not go into the nitty-gritty details of plotting polars - that’s covered pretty well elsewhere. However, there are a few important details that are worth noting.

First, everyone should be aware that polars use true wind angles and speeds. This is what the boat "sees" as the basis for its speed, as true wind is independent of the boat’s motion through the water (unlike apparent).

Almost all polar sets, or at least the initial model runs, assume optimal conditions. This means that there is no accommodation for bad sails, bad trim, bad driving, bad weather, or bad luck. If you have old sails, it should be pretty obvious that you will not be reaching your polar targets. For those people inexperienced with the use of polars, it may not be as obvious that bad weather will also prevent you from reaching your polar targets. If you have to reef, or if you are pounding through waves, the boat will not be driving to its potential speed for the given wind speed.

A boat isn’t precluded from having more than one polar file. Many high-end programs will have the initial prediction file from the designer as a basis for starting measurement, and then also build a file from observed performance. One aside: building a polar file from observed performance can be difficult since it’s hard to winnow out bad data. Performance analysis is typically done off the boat much after the race, so it can be hard to determine when the boat is responsible for a particular data point, or if an external factor is at work (e.g., bad helming, collision avoidance, weather, etc.). A good alternative polar file built from observed data can provide a way to compensate for weather and sea state. It takes a lot of concerted effort by the person doing the analysis and a large data set in a wide range of environmental conditions to provide a good foundation for analysis. Some boats also have multiple rig or sail configurations that strongly affect performance, and require separate polar files for different configurations. The Ockam system has always allowed for the use of several polar files. On the 001 CPU with 037 Performance Index, there was a hardware switch to set the desired polar file. On the T1 CPU, the polar file can be selected with a software command.

Another detail that should be obvious, but really isn’t: you need good instruments to use polars effectively. Your instruments must measure the boat and its environment accurately and precisely to give you a good idea of the actual performance. This means that you must have instruments with reproducible results, and must have any measurement errors corrected (i.e, calibrate the instruments). The more astute reader will have realized that since true wind is the basis for polar performance, then good calibration of the instrument system is a must. Some instrument systems have no capability for calibration, and are completely unsuitable for using polars. Imagine driving a car with a speedometer that worked differently each time you drove - bad instruments are like that. It’s pretty impossible to know how well you’re doing from day to day if you don’t have reproducible results.

It may not be completely obvious, but GPS-based SOG should NOT be substituted for speed through the water! "Why?" you ask… SOG does not take into account any current. Those of you who have sailed in foul current (such as The Race in Long Island Sound) know how frustrating it is to trim the sails perfectly in good wind, only to make 1.0 knot headway over the ground. Now imagine if your polar performance was based off SOG. Assuming you have decent wind speed and a good point of sail, the polar performance would show you making some paltry low percentage of your expected performance! There would be much gnashing of teeth, since it seems like you’re doing everything correctly and not making any speed. However, if you use speed through the water, it will at least show that you are making the best speed through the water possible for the wind conditions. The Race is an extreme example, but it illustrates the point that current can significantly affect your speed over ground, thus rendering SOG a poor indicator of performance.

Resolving wind speed and angle to predicted performance can be a problem if you have a very coarsely granulated polar file. In the past, the Ockam system required very strict data ranges to provide polar information through the 037 Performance Index. Wind angles had to be provided from dead downwind (180 degrees), all the way up to extreme pinching (ideally around 15 degrees) in 2 degree increments. Winds speeds were provided from 0 to 25 knots in 0.5 knot increments. These rather strict requirements were due to the limited processing power of electronics back then. Remember when 33 MHz processors with 16-bit busses were the leading edge for PCs? More powerful processors have opened the door to better functionality; the more powerful processor in the Ockam T1 has loosened the requirements for the polar files. It can interpolate values with far less data points than before. However, the polar file shouldn’t be too sparse on data points if any sort of accuracy is desired. Data points every 10 degrees and 5 knots are a good minimum standard for the T1 processor, but higher data resolution is always better. Areas of the performance plot that have large changes in a small region should have data point higher resolution to capture the predictions accurately.

For most instances of simple performance comparisons, polar plots that cover the range from close-hauled to dead down wind will suffice. When using VMC sailing and Wally, having more information past close-hauled becomes important. VMC sailing becomes especially important when going to a mark that is not directly in line with the wind (typically some sort of distance race). It becomes even more important if the wind is shifting over time, such as is found in almost every distance race. The performance information for the region above close-hauled allows computation of the possible VMC benefit of sailing both above and below the rhumbline. This allows comparison of the distance advantages between sailing on a conventional rhumbline course and sailing off the rhumbline (either above or below) at the fastest VMC speed. Without the data above close-hauled, possible advantageous sailing is eliminated from the calculus of the fastest route! That would be like only allowing your trimmers to adjust sails while on only one tack, and hobble you from your possible best performance.

Sailing with polar performance comparison can induce a lot of headache, and has a pretty steep learning curve. Many people simply don’t have the time to fully comprehend all the nuances of using the performance analysis with their instrument systems. However, many of the more common functions can be easily incorporated into the tactician’s tool kit with a little study and practice.

Comments (0)

3/25/2008

Free domestic shipping for Ockam U manuals

Filed under: — Dan @ 3:41 pm on

I resisted using the blog as an advertising tool as long as I could, but I figured this is as good a place as any to let people know about our deal for the Ockam U manual.

When you order the Ockam U manual through our web store, enter the coupon code BANDGSUX BANDGSTINX at checkout to receive free shipping within the US. For those customers outside the US, this coupon code will take off the equivalent charge from your order.

That’s it: just a short and sweet message for a special online-only deal!

EDIT: I changed the coupon code, as the original was not very nice. My grandparents would be appalled at such language!

Comments (0)

3/17/2008

Expedition update v5.2.2

Filed under: — Dan @ 3:54 pm on

For those of you out there that use Expedition to fulfill your racing software needs, there is an update available that addresses a funny bug when communicating to the Ockam system (especially T1 processors). It seems that during the background housekeeping that goes on during a graceful software shutdown, Expedition can send commands that set all the calibrations to 0.00, causing some math headaches (multiplication by zero, for instance) when the system runs without Expedition. This usually manifests as ridiculously high windspeeds, or absurdly low boat speeds. A reset of the T1 processor returns the system to normal operation.

We believe that this problem only affected Expedition installs newer than v5.1, but if you are experiencing these symptoms, try updating your Expedition installation to resolve the issue, especially if you are using AutoCal tables in Expedition. I have personally only spoken with four separate boats having this issue, so I do not believe the problem to be widespread. As usual, only the earlier adopters felt the growing pains.

Many thanks to Nick White for his quick and capable resolution for Expedition!

Comments (0)

3/11/2008

Troubleshooting a load cell

Filed under: — Dan @ 3:57 pm on

Alas, the plight of the ignoble load cell: doomed to ride for eternity at the point of a knife, dunked in salt water ever and anon, but expected to work flawlessly.

Load cells are a tremendous help when tuning the rig for different conditions. They are especially important on fractional rigs, where it can be hard to judge the headstay tension based on the backstay (unless you have done your math ahead of time). Load cells are also used frequently on larger yachts to judge rig tension all around, as it would be pretty difficult to use your typical Loos gauge on 3/4" PBO.

On land, load cells are pretty much indestructible. They are used widely in industrial and transportation applications with nary a problem. However, put them in the marine environment, and forget about that eternal reliability, especially when put on a yacht. Load cells, especially load pins, have some important considerations that are frequently ignored, leading to failure.

The load cell is basically a Wheatstone bridge. The actual configuration of the measured circuit can vary, but they are all essentially the same. Bending stress on the special printed circuit causes a change in resistance in one or more legs of the circuit. This change in resistance unbalances the Wheatstone bridge, and this is measured by the amplifier. The amplifier then converts the measurement into something usable by external devices, typically in RS-232 or NMEA 0183 format.

One of the most frequent failures I have seen involves the cabling. A well-sealed cable keeps out salt water and prevents infiltration into the electronics. Once this cable is damaged, ether through a nicked sheathing or a pulled-away seal, failure is sure to follow in short order. Salt water will wick throughout the wire by capillary action, and will also seep into the actual sensing portion of the load cell. As we all know, salt water and electronics don’t mix. I have received items back where the entire cable has corroded inside the sheathing due to one nick in the rubber.

Another common failure has to do with the way that the load pin is constructed. Many of them have a preferential strain direction due to the internal configuration of the individual strain gauge circuits. The preferential direction is usually indicated by an arrow etched on one end of the pin. If the pin is mounted in such a way that the strain is applied in a different direction than indicated, the printed circuit foil inside is either ripped off its mounting, or simply tears and breaks continuity. Either way, you end up with a non-functioning load pin.

Load cells are also susceptible to lightning damage. They are mounted to the mast and rigging, which are almost always made of a conductive material. This forms a large antenna on the boat, which can lead to damage to the load pin through induced current by a nearby "splash" strike - the lightning doesn’t even have to directly hit the boat! It’s usually pretty obvious when this happens, as there are a few other things on the boat that stop working as well. However, I have been on at least one boat that had a load pin fail due to lightning, but left everything else intact.

There are also the typical bug-a-boos of electronics: weak connections, bad power, et cetera. If the amplifier isn’t powered, or if wires aren’t connected, chances are that the load pin won’t work.

A load pin can be connected to the Ockam system through a variety of interfaces: the older 066, the newer 067, or the T2 (among others). Read the individual manual sections in these links for some
troubleshooting information specific to the interface; some of these
troubleshooting items are repeated below.

If a load pin is connected to an Ockam system, and it doesn’t seem to work, here are a few things to try:

  • Check that the interface is sending data on the expected tag. It is possible to change the data tag on many Ockam load cell interfaces. If the display is set to look at the wrong data tag, then you will not see data. Also check that the data tag is not used by another interface on the system (for instance, a position interface).
  • If connected to a T2, check that switch S3 is set to accept load cell data.
  • On the T2 and e-Series (square box) interfaces, check that the data input light is blinking as though data is being periodically transmitted. If not, the signal cable or power cable for the amplifier box may be loose or disconnected.
  • Check that the amplifier box is configured correctly. The Diverse Yacht Services load pin amplifier (the yachting world’s de facto standard for many years) has two internal rotary switches that need to be configured correctly. Refer to the documentation included with the amplifier for the correct settings.
  • Check that the load pin is zeroed. With no tension on the backstay, the forestay load pin should read right around zero. If not, try re-zeroing the amplifier.
  • Check the resistance on the unloaded pin. There are five wires from the load pin. One wire is connected to the shield and can be disregarded. The resistance between any two of the remaining wires should be 350 Ohms. The resistance should be the same for all possible pair combinations. If it is significantly different than 350 Ohms, then the pin is damaged and must be sent in for repair.
Beyond this, it can get complicated. Don’t hesitate to contact us if you have a load pin problem on your boat that you can’t resolve.

Comments (0)

3/4/2008

Happiness is a dry bum

Filed under: — Dan @ 11:25 am on

For those of you who have raised children, you know how much a wet diaper can irritate a baby’s bottom. Changing the diaper is one of the "baby care triumvirate" when trying to soothe a little one (aside from feeding and nap time). Think of all those times that you have sat on the rail during a race and had a wet bum - it gets pretty uncomfortable after a while.

Likewise, wet electronics are unhappy. Marine electronics are surrounded by water, so it’s especially difficult to keep everything dry, but it’s worth the effort. It’s highly recommended to keep the CPU and interfaces in a sheltered location to prevent any contact with water. Special attention should be paid to the location of the interfaces by the mast. Many boats douse the spinnaker through the forward hatch, so it’s possible to get water on the interfaces if they aren’t sheltered properly. The CPU is usually safely located behind the nav station or in a similar location, so exposure to water isn’t usually a concern. All bus and sensor cables should be routed away from water where possible. This means that cables shouldn’t be run through the bilge (except possibly depth and speed transducers, because there’s not much choice). The displays are typically pretty immune to water, so they aren’t as much of a concern, although they also have some special considerations.

The mounting angle of some displays can cause water to accumulate along the bottom edge of the bezel near the glass. This isn’t a problem in the short term, but water shouldn’t be allowed to stand there for long periods. If you have an older display with a weak gasket seal, you may find yourself with a failed display once the water seeps in and corrodes the electronics.

Another issue that typically crops up in the spring and fall is the presence of condensation or misting inside the unit. This usually happens when there is a small amount of moisture trapped inside the display. The more extreme temperature cycles found in the spring and fall (warm days followed by cold nights) will really show the tiniest amount of trapped moisture. This moisture is easily removed from the Ockam displays. All displays (005, 007, and 044) have a blue plug on the rear of the unit. This plug contains desiccant that removes moisture from the inside of the display. The desiccant does need to be recharged every once in a while, but this can be very easily accomplished.

If there is a lot of condensation, you may also want to remove the display from the boat and bring it indoors. After removing the desiccator plug, place the display on the windowsill with the glass facing out towards the sun. This will help drive the moisture out of the enclosure. Then take the desiccator plug and place it in a WARM, not hot, oven. I find that a toaster oven at the lowest setting works pretty well. Leave the desiccator in the warm oven for 1-2 hours. Let the desiccator cool to room temperature before replacing it in the display, and then put the display back on the boat. DO NOT UNDER ANY CIRCUMSTANCES PUT THE DISPLAY IN AN OVEN - IT WILL MELT!!!

If you are doing this on one display, you might as well do it on as many displays as you can. This way, you know that you have dried out the interior of the display, and recharged the desiccator plug. It’s just one less thing to worry about. You may even consider adding it to your commissioning/decommissioning routine.

Comments (0)

2/28/2008

The cost of environmental responsibility

Filed under: — Dan @ 9:55 am on

We all want to be green. It doesn’t make much sense to throw toxic trash all around your house, so why would it make sense to do it out in the open? Lately, there have been more and more laws to help enforce this idea. I would have to say many are a good idea. However, there are also many effects these laws have on our society that could not have been easily foreseen.

Take for instance, the EU legislation called the "Reduction of Hazardous Substances Directive", or "RoHS" for short. The Wikipedia page has some pretty comprehensive information on this. RoHS is intended to reduce the exposure of industry workers, consumers, and the environment to six hazardous substances used in electronics manufacturing. Remember the big flap-doodle about not being able to smoke in European bars and pubs because of the hazard it presented to the staff? RoHS was part of that suite of legislation to improve the environment and the workplace.

In the USA, we are obviously not beholden to the laws of the EU (except in matters where we’ve signed and ratified a treaty, thus superseding the Constitution). So how can this possible affect us? It turns out all the electronics suppliers that sell in the US also sell in Europe, so they must follow these rules. And to add to the pressure and confusion, Japan and China have decided to enact their own versions of RoHS.

This caused the electronics parts manufacturers to re-tool their processes to eliminate the use of the six hazardous substances: lead, mercury, cadmium, hexavalent chromium, polybrominated biphenyls, and polybrominated diphenyl ether. This would seem simple, except that electronics manufacturing is a very mature industry, with many well-established techniques and processes. Some items have been manufactured using the same materials and methods for nearly 100 years. Much of that prior technique is now void, as many of the replacement materials behave very differently. New solders, fluxes, printing inks, and fireproofing materials had to be developed, along with the techniques to use them in a production environment.

Most parts manufacturers are also completely converting their production to RoHS compliant methods. This makes sense when you think about it. If a separate line was created to do the RoHS compliant parts, then two production lines would have to be maintained, increasing production cost. It could be pretty difficult to determine if a new product were to be produced on only the leaded line, the RoHS line, or both. Also, the issue of cross-contamination comes up when running two lines, since it is pretty difficult to tell if something has one of the banned substances just by looking at it - it usually requires chemical testing or X-ray fluorescence. The possibility of a production problem increases greatly with two lines, so most parts manufacturers are simply stopping their leaded lines.

What does this mean for us and the consumer? Many parts that we have used for many years are no longer available, and those that are still available have some significant changes. In the best cases, the leaded part number is simply discontinued, with a RoHS compliant part number created in its place; all else about the part is identical. In some cases, there are replacement parts that are RoHS compliant in different packaging. The different packaging requires a little "magic" to get the part to fit on the circuit board, if it can fit at all. In other cases, the parts manufacturer has stopped making the part entirely due to low demand or high production costs.

For many discontinued items, we have a supply on hand that should last for a few years at current levels of demand. For a few parts, we can get them, but at greatly increased cost (+500% is not uncommon), and greatly reduced quantities. So far, there have been only one or two parts that we cannot get anymore, but this will become a more common problem as time goes on.

Ultimately, this will mean that it will become economically unfeasible for us to support repairs on some older products. The good news is that we have successors to these products, and a stock of refurbished items to replace failures without too much financial stress.

Comments (0)