Sunday, July 22, 2018

WxService Update Available

WxService ow4j180316


  • Modified WxMonitor display to make the wind vector easier to read, and display peak wind speed as red dots, while the average speed is still a blue vector. The direction is now a white line on a gray background. 

Wednesday, May 30, 2018

WeatherBug Personal Weather Stations Phased Out

WeatherBug was purchased by EarthNetworks, and the personal weather stations WeatherBug Backyard system has been phased out. 1-Wire Weather Service for Java has not deleted support for reporting in this format, but there is no longer any reason to attempt it.

If your 1-Wire system is reporting errors while attempting to send weather data to http://data.backyard2.weatherbug.com/data/livedata.aspx, you can remove the weatherbug formatter from wxservice.formatter.task.names and apply your changes.

For more information, see Changes to the WeatherBug Backyard/Earth Networks PWS Program, and What Happened to WeatherBug?

1-Wire Weather Service for Java includes support for CWOP NOAA MADIS, so you can migrate your backyard reporting over there if you wish. Most of the default settings are already configured, so all you need to do is obtain a station ID as described here, and configure your station ID, latitude & longitude, and add the aprs formatter to the formatter task names.

Changes to the WeatherBug Backyard/Earth Networks PWS ProgramChanges to the WeatherBug Backyard/Earth Networks PWS Program

Sunday, December 10, 2017

WxService Update Available

WxService ow4j171209

  • Modified WxMonitor wind vector display to clean up a problem I've had since day one with 'crawly' wind direction display. The problem is, even when I retain precision and round properly, trying to display a short direction indicator line on the outer circle, the graphics resolution simply isn't good enough to draw a line with the proper slope and length. When I draw a line at the full radius, the problem goes away, because the resolution error is spread out along the full length of the line, instead of a short line segment. This is easiest to visualize if you imagine a two-pixel length line. The length and slope errors become overwhelming. When the line is thousands of pixels long, the length and slope errors are usually negligible. 
  • Changed the way WxMonitor displays UI updates. The monitor will now 'animate' each sensor update, instead of coalescing them. This improves the behavior for historical markers, such as the wind vector memory. It is also entertaining to watch the last 12 hours of data being animated when first starting WxMonitor. 
  • Modified the default command line behavior. The backlog default is now set to 12-hours, and the polling interval default is 5 seconds. If these values are acceptable to you, there's no need to specify anything on the startup command except for which weather server you want to connect to.

Thursday, November 23, 2017

WxService Update Available

WxService ow4j171123

  • Simplified sensor data module, and moved domain-specific 'timeout' into the Weather Underground formatter, where it is actually needed. Basically code cleanup. 
This change will not affect normal operation of anyone's weather station; I just wanted to do some code maintenance. 

Monday, August 7, 2017

Kohler SV730 V-Twin Ignition Adventure

This may not be an engineering article, but maybe it will be helpful to someone else with this issue.

I started my lawnmower, and backed it partway out the garage, when the engine died. That's strange, I thought. It never did that before. It restarted right up. It ran okay, but it sounded funny. Like a one-cylinder lawnmower engine, except this is a V-twin. A miss doesn't sound too bad on a two cylinder engine, if it's a consistent miss.

I drove it out on my driveway, popped the hood, and pulled off the left spark plug wire. The engine kept running like nothing happened. The sound was the same, and the RPM didn't change. So I put the left spark plug wire back on, and pulled the right one. Bam! The engine died instantly.

Okay, so maybe we have a bad spark plug. I removed the left one. It looked pretty good, but it was a bit moist with raw gas. Consistent with no spark. So I swapped it out with the right side, and restarted the engine. Same thing. When I pulled off the right spark wire, the engine died. The problem stayed with the cylinder; it didn't follow the spark plug.

Now I'm worried, because I don't want a major engine failure here. I hope it's something simple (and inexpensive). I pulled the left spark plug out, connected the spark wire, held the plug against the cylinder head and cranked the engine. No spark. I did the same thing on the other side. Spark. Well, something's wrong with the left side ignition. What? I could have been shocked or injured? Back off, I'm a trained engineer!

To find out what I'm dealing with, I pull off the blower shroud -- something I've never done before on this engine. There are two little electronic ignition modules under there. They're held on by two bolts each, and they look identical. So I unplugged the wiring harness from each one, and swapped them, left for right. Then I put it all back together and restarted the engine. See if you can guess what happened.

That's right, it was still only hitting on one cylinder, but now the left cylinder was the good side. One of the ignition modules had gone bad.

Kohler MDI Conversion Kit
So, for the first time in all of this, I dug up the service manual and looked up the part number. I got online, and found several places that carry the part. This is where it gets interesting (in case it wasn't interesting up until now). The part pictured doesn't look anything like the part I was holding in my hand. Furthermore, they are only available in pairs, and the description is "MDI conversion kit". (MDI := Magneto Digital Ignition -- what makes it digital?)

Kohler DSAI Module
It seems the part in my hand is a variable timing ignition module (DSAI := Digital Speed Advance Ignition) that advances the spark at higher RPMs. But they have been fraught with problems, and after several revisions, Kohler finally discontinued them. After much research, I finally found the tech bulletin where they describe the problem. I can't tell if the conversion kit still features a spark advance, or how much difference it makes to have a spark advance. At $100.00, I don't consider this an inexpensive fix, but it could have been worse.

I've always loved this engine, so I hope it runs as well with the conversion kit, as it did before. I also hope the parts get here before Saturday, so I can mow next week. My yard looks awful.

So, how was your Saturday?

Saturday, November 5, 2016

That Phat Tube Sound

I worked as a chief engineer for several radio stations in the late '70s and early '80s. At that time, there was still a lot of tube electronics in service, given that industrial grade electronics can be expected to last 30 or 40 years, if it is well-maintained. And it was only recently that solid state technology made it into high powered transmitters. Given that a 50KW transmitter could cost $250,000.00, there's a strong incentive to make it last.

I had occasion to work on much more powerful tube amps than most hi-fi hobbyists were able to. Our 1KW blowtorch, a Gates BC-1T had a 1200 watt push-pull audio power amp, modulating the final RF stage of the transmitter. Frequency response, noise and distortion were all very good. Replace the modulator transformer with an 8-ohm transformer, and it could have driven a loudspeaker to ear-shattering hi-fi loudness.

The amplifier consisted of four 807 drivers (pictured lower rear), and two 833A finals, operating in class AB push-pull (V42 & V43, rear). The two knobs at the front adjust the bias idle current.

Anyway, during my tenure as a broadcast engineer, I had occasion to build numerous audio amplifiers. Line amps, voltage controlled amps, headphone amps, studio monitor amps. They were all solid state amps, because I wanted them to be, well, modern. And being an audiophile, they all measured and sounded great, if I do say so myself. I was especially proud of my studio monitor power amps.

So, fast forward to 2016. I thought it would be a fun idea to build a little hi-fi amp from two 50C5s and two 12AV6s, having spent most of my childhood listening to the radio on All-American-5 radios made from those tubes. As you know, the AA5 radios were the culmination of reducto absurdum, in terms of building a radio from the least number of parts.

AA5 radios had no power transformer, and got their high voltage rectified directly from the AC power line. When the filter caps were new, they got maybe 150 volts. So the tubes barely had enough voltage to operate adequately. The filaments were connected in series, so the voltages added up to 121 volts. And because of all the rampant hum, the output transformer and speaker were specifically designed for poor low frequency response. The 50C5s were operated in full pentode mode, single-ended, cathode bias, at 10% distortion. They put out maybe 1 watt (while using about 50).

Well, you get the idea. What about building a nice, ultra-linear power amplifier using two 50C5s and two 12AV6s? Two 12AV6s are identical to a 12AX7, if you ignore the extra diodes in the 12AV6. I could put those four tubes in series, and power the filaments right off the power line (at 124 volts -- close enough). And I could get a power transformer to run the B+ safely, with a true ground reference, and full wave rectifiers, i.e., a safe and decent power supply. Yes, I would use silicon rectifiers for power.

But after studying this out, I came to realize why no sane person designs with tubes anymore. There are so many constraints, and extra considerations to construct a high quality tube amplifier, that it isn't worth it. First of all, my series-connected heaters would have caused terrible hum problems, and there's no way I could have fixed that, without resorting to a DC filament supply. Now, things are starting to get weird. Not only that, but getting an output transformer that would provide the correct taps for 50C5 ultra-linear operation would be difficult. I can't even find out what percentage tap is optimal for a 50C5. I guess nobody has ever attempted it.

It would have been a fun project, but I could design a really great transistor amplifier for less cost and less effort. And if I wanted "tube sound", I could build an amplifier with field-effect transistors. They're basically just like tubes, but without the filaments, and they can run at safer voltages.

Wednesday, October 19, 2016

WxService Update Available

WxService ow4j161019

  • Fixed a problem with reporting to CWOP
My weather server spontaneously started having problems reporting to cwop.aprs.net:14580, after about 4 years of continuous service. Evidently the CWOP servers have been made more "strict", and sloppy formatting is no longer tolerated. I implemented the CWOP protocol from this documentation, and I am pretty sure I followed it to the letter. Nevertheless, either this has changed quietly in the meantime, or I never had it right. Anyway, it's working now. 

(Download...)