MCU-Based Experimental Glider with GPS Receiver

When Jens Altenburg found a design for a compass-controlled glider in a 1930s paperback, he was inspired to make his own self-controlled model aircraft (see Photo 1)

Photo 1: This is the cover of an old paperback with the description of the compass-controlled glider. The model aircraft had a so-called “canard” configuration―a very modern design concept. Some highly sophisticated fighter planes are based on the same principle. (Photo used with permission of Ravensburger.)

Photo 1: This is the cover of an old paperback with the description of the compass-controlled glider. The model aircraft had a so-called “canard” configuration―a very modern design concept. Some highly sophisticated fighter planes are based on the same principle. (Photo used with permission of Ravensburger.)

His excellent article about his high-altitude, low-cost (HALO) experimental glider appears in Circuit Cellar’s April issue. The MCU-based glider includes a micro-GPs receiver and sensors and can climb to a preprogrammed altitude and find its way back home to a given coordinate.

Altenburg, a professor at the University of Applied Sciences Bingen in Germany, added more than a few twists to the 80-year-old plan. An essential design tool was the Reflex-XTR flight simulation software he used to trim his 3-D glider plan and conduct simulated flights.

Jens also researched other early autopilots, including the one used by the Fiesler Fi 103R German V-1 flying bomb. Known as buzz bombs during World War II, these rough predecessors of the cruise missile were launched against London after D-Day. Fortunately, they were vulnerable to anti-aircraft fire, but their autopilots were nonetheless mechanical engineering masterpieces (see Figure 1)

“Equipped with a compass, a single-axis gyro, and a barometric pressure sensor, the Fiesler Fi 103R German V-1 flying bomb flew without additional control,” Altenburg says. “The compass monitored the flying direction in general, the barometer controlled the altitude, and the gyro responded to short-duration disturbances (e.g., wind gusts).”

Figure 1: These are the main components of the Fieseler Fi 103R German V-1 flying bomb. The flight controller was designed as a mechanical computer with a magnetic compass and barometric pressure sensor for input. Short-time disturbances were damped with the main gyro (gimbal mounted) and two auxiliary gyros (fixed in one axis). The “mechanical” computer was pneumatically powered. The propeller log on top of the bomb measured the distance to the target.

Figure 1: These are the main components of the Fieseler Fi 103R German V-1 flying bomb. The flight controller was designed as a mechanical computer with a magnetic compass and barometric pressure sensor for input. Short-time disturbances were damped with the main gyro (gimbal mounted) and two auxiliary gyros (fixed in one axis). The “mechanical” computer was pneumatically powered. The propeller log on top of the bomb measured the distance to the target.

Altenburg adapted some of the V-1′s ideas into the flight control system for his 21st century autopilot glider. “All the Fi 103R board system’s electromechanical components received an electronic counterpart,” he says. “I replaced the mechanical gyros, the barometer, and the magnetic compass with MEMS. But it’s 2014, so I extended the electronics with a telemetry system and a GPS sensor.” (See Figure 2)

Figure 2: This is the flight controller’s block structure. The main function blocks are GPS, CPU, and power. GPS data is processed as a control signal for the servomotor.

Figure 2: This is the flight controller’s block structure. The main function blocks are GPS, CPU, and power. GPS data is processed as a control signal for the servomotor.

His article includes a detailed description of his glider’s flight-controller hardware, including the following:

Highly sophisticated electronics are always more sensitive to noise, power loss, and so forth. As discussed in the first sections of this article, a glider can be controlled by only a magnetic compass, some coils, and a battery. What else had to be done?

I divided the electronic system into different boards. The main board contains only the CPU and the GPS sensor. I thought that would be sufficient for basic functions. The magnetic and pressure sensor can be connected in case of extra missions. The telemetry unit is also a separate PCB.

Figure 3 shows the main board. Power is provided by a CR2032 lithium coin-cell battery. Two low-dropout linear regulators support the hardware with 1.8 and 2.7 V. The 1.8-V line is only for the GPS sensor. The second power supply provides the CPU with a stable voltage. The 2.7 V is the lowest voltage for the CPU’s internal ADC.

It is extremely important for the entire system to save power. Consequently, the servomotor has a separate power switch (Q1). As long as rudder movement isn’t necessary, the servomotor is powered off. The servomotor’s gear has enough drag to hold the rudder position without electrical power. The servomotor’s control signal is exactly the same as usually needed. It has a 1.1-to-2.1-ms pulse time range with about a 20-ms period. Two connectors (JP9 and JP10) are available for the extension boards (compass and telemetry)..

I used an STMicroelectronics LSM303DLM, which is a sensor module with a three-axis magnetometer and three-axis accelerometer. The sensor is connected by an I2C bus. The Bosch Sensortec BMP085 pressure sensor uses the same bus.

For telemetry, I applied an AXSEM AX5043 IC, which is a complete, narrow-band transceiver for multiple standards. The IC has an excellent link budget, which is the difference between output power in Transmit mode and input sensitivity in Receive mode. The higher the budget, the longer the transmission distance.

The AX5043 is also optimized for battery-powered applications. For modest demands, a standard crystal (X1, 16-MHz) is used for clock generation. In case of higher requirements, a temperature-compensated crystal oscillator (TCXO) is recommended.

The main board’s hardware with a CPU and a GPS sensor is shown. A CR2032 lithium coin-cell battery supplies the power. Two regulators provide 1.8  and 2.7 V for the GPS and the CPU. The main outputs are the servomotor’s signal and power switch.

Figure 3: The main board’s hardware with a CPU and a GPS sensor is shown. A CR2032 lithium coin-cell battery supplies the power. Two regulators provide 1.8 and 2.7 V for the GPS and the CPU. The main outputs are the servomotor’s signal and power switch.

Altenburg’s article also walks readers through the mathematical calculations needed to provide longitude, latitude, and course data to support navigation and the CPU’s most important sensor— the u-blox Fastrax UC430 GPS. He also discusses his experience using the Renesas Electronics R5F100AA microcontroller to equip the prototype board. (Altenburg’s glider won honorable mention in the 2012 Renesas RL78 Green Energy Challenge, see Photos 2 and 3).

The full article is in the April issue, now available for download by members or single-issue purchase.

One of the final steps is mounting the servomotor for rudder control. Thin cords connect the servomotor horn and the rudder. Two metal springs balance mechanical tolerances.

Photo 2: One of the final steps is mounting the servomotor for rudder control. Thin cords connect the servomotor horn and the rudder. Two metal springs balance mechanical tolerances.

Photo 2: This is the well-equipped high-altitude low-cost (HALO) experimental glider.

Photo 3: This is the well-equipped high-altitude low-cost (HALO) experimental glider.

Q&A: Scott Potter (Engineering a Way To Clean Solar Mirrors)

Designer and technology executive Scott Potter won first prize in the 2012 RL78 Green Energy Challenge, presented by Renesas Electronics in partnership with Circuit Cellar and Elektor magazines. The global contest called on participants to develop green energy designs utilizing Renesas’s RL78 microcontrollers. Scott won with his solar-powered electrostatic cleaning robot, which removes dust and debris from the tracking mirrors of large-scale concentrating solar power plants.—Mary Wilson, Managing Editor

Scott Potter

MARY: Where do you live and what is your current occupation?

SCOTT: I live in Los Gatos, CA, and I’m a senior director at Jasper Wireless, a company providing machine-to-machine (M2M) data communications services. I have been with Jasper since the beginning in 2005 when the company started with four people and a plan. Now Jasper is approaching 150 employees and we are a global company. I have served many roles at Jasper, working on location technology, device middleware, back-end reporting, and front-end software.

My other job is as an inventor at Taft Instruments. We are just now forming around the technology I developed for the RL78 design challenge. We are finding there is a big need for this solution in the solar industry, which is poised for tremendous growth in the next few years.

MARY: How did you first become interested in embedded electrical design? What is your educational background?

SCOTT: I started working for my father at his startup in the basement of our home in Long Island when I was a teenager (child labor laws were more lax back then). We were doing embedded electronics design along with mechanical modeling and prototyping. I learned from the best and it has stuck with me all these years. I went on to get a BSEE from Tufts University and I toyed with the idea of business school, but it never gripped me like engineering.

MARY: Why did you enter the 2012 Renesas RL78 Green Energy Challenge? What about its focus appealed to you?

SCOTT: The green energy design challenge came along at the perfect time. I had been working on the cleaning robot for a few months when I saw the challenge. The microcontroller I had originally picked was turning out to be not a great choice, and the challenge made me take a look at the RL78. The part was perfect, and the challenge gave me a goal to work toward.

MARY: How did the idea of designing a robot to clean solar-tracking mirrors (i.e., heliostats) for solar power plants come to you?

SCOTT: I can’t say it came to me all at once. I have participated in solar technology development sporadically throughout my career, and I have always tried to stay abreast of the latest developments. After the lessons learned from the parabolic trough concentrators, the move to high-concentration concentrating solar power (CSP) plants, which more efficiently convert solar power to electrical power, struck me as the right thing to do.

The high-concentration CSP plant utilizes hundreds of thousands of mirrors spread over many acres. The mirrors reflect sunlight onto a centrally located tower, which creates intense heat that drives a steam turbine generator.

The efficiency gains from the higher temperatures will make this the dominant technology for utility scale power generation. But there is a high maintenance cost associated with all of those mirror surfaces, especially in environments where water is scarce. A number of people have realized this and proposed various solutions to keeping the surfaces clean. Unfortunately, none of the proposed solutions will work well at the scale of a large utility plant.

I experimented with quite a few waterless cleaning techniques before coming back to electrostatics. It was my wife, Dia, who reminded me that NASA had been cleaning dust off panels on space missions for years using electrostatic principles. She convinced me to stop working with the forced-air concept I was doing at the time and switch to electrostatics. It was definitely the right choice.

MARY: What does the system do? What problems does it solve for power plants? How is the device different from what is already available for the task of cleaning heliostats?

SCOTT: Our patent-pending device is unique in many ways. It is completely autonomous, requiring no external power or water. The installation time is less than 10 s per heliostat, after which the device will remain attached and operating maintenance free for the life of the plant. We borrowed a marketing term from the military for this: “Set it and forget it.”

Most of the competing products have a long installation time and require some external wiring and maintenance. These can be logistical problems in a field of hundreds of thousands of mirrors.

Our device is also unique in that it cleans continuously. This prevents accumulation of organic materials on the surface, which can mix with dew and make a bio-film on the surface. That film bakes on and requires vigorous scrubbing to remove. We also have a feature to handle the dew, or frost, if it’s present.

MARY: What were some of your design challenges along the way and how did you address them?

SCOTT: They were numerous. The first challenge was the power source. It is important that this device be entirely self-powered to avoid having to install any wiring. I had to find a solar-panel configuration that provided enough power at the right voltage levels. I started with lower voltages and had a lot of trouble with the boost converters.

I also couldn’t use any battery storage because of the life requirement. This means that everything has to operate intermittently, gracefully shutting down when the sun fades and then coming up where it left off when the sun returns.

The next challenge was the mechanical drive. This had to grip the mirror tightly enough to resist a stream of water from a cleaning hose (infrequent cleaning with water will probably still be performed). And it had to do this with no power applied.

Another big challenge was the high-voltage electronics. It turns out there is little off-the-shelf technology available for the kind of high-voltage circuitry I needed. Large line output power transformers (LOPTs) for old cathode ray tubes (CRTs) are too large and expensive.

Some of the resonant high-voltage circuits used for cold cathode fluorescent lighting (CCFL) can be used as building blocks, but I had to come up with quite a few innovations to be able to control this voltage to perform the cleaning task. I had more than a few scorched breadboards before arriving at the current design, which is very small, light, and powerful.

MARY: You recently formed Taft Instruments (click here for Taft website). Who are the players in the company and what services does it provide?

SCOTT: We formed Taft instruments to commercialize this cleaning technology. We have been very fortunate to attract a very talented team that has made tremendous progress promoting the company in industry and attracting investment.

We have Steve Gluck and Gary Valinoti, both highly respected Wall Street executives who have galvanized the company and provided opportunities I could never have imagined. They are now recruiting the rest of the team and we are talking to some extremely qualified people. And of course my wife, Dia, is making numerous contributions that she will probably never get credit for.

MARY: How’s business? How would you describe the market for your product and the potential for growth and reach (both domestically and globally)?

SCOTT: We are not at the commercial deployment stage just yet. Our immediate focus is on the field trials we are starting with a number of industry players and the US Department of Energy National Laboratories. We fully expect the trials to be successful and for our large-scale rollouts to begin in about a year.

The market potential for this is tremendous. I’m not sure anyone fully realizes yet the global transformation that is about to take place. Now that the “grid parity” point is near (the point where the cost of solar power is competitive with fossil fuels), solar will become one of the fastest-growing markets we have seen in a century.

Entire national energy pictures will change from single-digit percentages to being dominated by solar. It is a very exciting time in the solar industry, and we are very happy to be part of it.

MARY: Are you individually—or is your company—developing any new designs? If so, can you tell us something about them?

SCOTT: Yes. I can’t say much, but we are working on some very interesting new technologies that will improve on the electrostatic cleaning principles. This technology will vastly expand the base that we can work with.

MARY: You describe yourself as a “serial entrepreneur” with a strong technical background in electronics, software, hardware, and systems design. That combination of skills comes in handy when establishing a new business. But it also helped you land your day job eight years ago as Director of Location Technology at Jasper Wireless. What do you see as future key trends in M2M communications?

SCOTT: M2M has really taken off since we began in 2005. Back then, there were only a few applications people had envisioned taking wireless. That list has exploded, and some analysts are predicting volumes of M2M endpoints that exceed the human population by tenfold!

We have seen large growth in a number of different verticals over the years, the most apparent one right now being automotive, with all the car companies providing connected services. Jasper is uniquely positioned to offer a global solution to these companies through our carrier partners.

MARY: Over the years, you have gained expertise in areas ranging from embedded electronics and wireless, to applications of the global positioning and geographic information systems (GPS and GIS). What do you enjoy most and what are some career highlights? Is one your involvement in the development of a GPS for the New York fire department’s recovery operations after the collapse of the World Trade Center?

SCOTT: What I enjoy most is working with motivated teams to create compelling products and services. One of my proudest moments was when our team at Links Point rose to the 9/11 challenge. At the time, I was a founder and the chief technology officer of Links Point, which provided GPS and location mapping.

When the request came from the New York fire department for a solution to locating remains at the recovery site, the team dedicated themselves to providing a solution no first responder had ever had access to previously. And we did that in record time. We had to come up with a proposal in a half-day and implement it within three days. You have to realize that GPS and PDAs were very new at the time and there were a lot of technical challenges. We also had to compete with some other companies that were proposing more accurate surveying equipment, such as laser ranging.

Our product, a PDA with a GPS attachment, won out in the end. The advantages of our handheld devices were that they were rugged and that firefighters could easily carry them into Ground Zero. We got the opportunity and honor of serving the  FDNY because of the extreme talent, dedication, and professionalism of my team. I would like to mention them: Jerry Kochman, Bill Campbell, Murray Levine, Dave Mooney, and Lucas Hjelle.

MARY: What is the most important piece of advice you would give to someone trying to make a marketable product of his or her design for an electrical device?

SCOTT: Whatever the device, make sure you are passionate about it and committed to seeing it come through. There is a quote that Dia framed for me hanging in my lab—this is attributed to Goethe, but there is some question about that. Anyway, the quote is very inspirational:

“Until one is committed, there is hesitancy, the chance to draw back. Concerning all acts of initiative (and creation), there is one elementary truth that ignorance of which kills countless ideas and splendid plans: that the moment one definitely commits oneself, then Providence moves too. All sorts of things occur to help one that would never otherwise have occurred. A whole stream of events issues from the decision, raising in one’s favor all manner of unforeseen incidents and meetings and material assistance, which no man could have dreamed would have come his way. Whatever you can do, or dream you can do, begin it. Boldness has genius, power, and magic in it. Begin it now.” I

Editor’s note: For more details, schematics, and a video of Scott Potter’s solar-powered electrostatic cleaning robot, click here.

RL78 Challenge Winner’s Workspace in Lewisville, TX

Lewisville, TX-based electrical engineer Michael Hamilton has been a busy man. During the past 10 years, he created two companies: A&D Technologies, which supplies wireless temperature and humidity controllers, and Point & Track, which provides data-gathering apps and other business intelligence tools. And in his spare time, he designed a cloud electrofusion machine for welding 0.5″ to 2″ polyethylene fittings. It  won Second Prize in the 2012 Renesas RL78 Green Energy Challenge.

In an interview slated for publication in Circuit Cellar 273 (April 2013), Hamilton describes some of his projects, shares details about his first microcontroller design, and more.

Michael Hamilton in his workspace. Check out the CNC machine and 3-D printer.

During the interview process, he also provided a details about his workspace, in which he has a variety of interesting tools ranging from a CNC machine to a MakerBot 3-D printer. Hamilton said:

I have a three-axis CNC machine and MakerBot 3-D printer. I use the CNC machine to cut out enclosures and the 3-D printer to create bezels for LCDs and also to create 3-D prototypes. These machines are extremely useful if you need to make any precise cuts or if you want to create 3-D models of future products.

Hamilton also noted:

I recently purchased a Rigol Technologies DSA-815-TG spectrum analyzer. This device is a must-have, right behind the oscilloscope. It enables you to see all the noise/interference present in a PCB design and also test it for EMI issues.

Michael Hamilton’s test bench and DSA815

He has a completely separate area for PCB work.

A separate space for PCB projects

Overall, this is an excellent setup. Hamilton clearly has a nice collection must-have EE tools and test equipment, as well as a handy CNC machine and decent desktop storage system. The separate PCB bench is a great feature that helps keep the space orderly and clean.

As for the 3-D printer, well, it’s awesome.

Design a Low-Power System in 2013

A few months ago, we listed the top design projects from the Renesas RL78 Green Energy Challenge. Today, we’re excited to announce that Circuit Cellar‘s upcoming 25th anniversary issue will include a mini-challenge featuring the RL78. In the issue, you’ll learn about a new opportunity to register for an RL78/G14 demonstration kit that you can use to build a low-power design.

Renesas RL78

The RL78/G14 demonstration kit (RDK) is a handy evaluation tool for the RL78/G14 microcontrollers. Several powerful compilers and sample projects will be offered either free-of-charge (e.g., the GNU compiler) or with a code-size-limited compiler evaluation license (e.g., IAR Systems).  Also featured will be user-friendly GUIs, including the Eclipse-based e2studio.

RL78G14 RDK KIT

  • 32-MHz RL78/G14 MCU board with integrated debugger and huge peripheral, including Wi-Fi, E Ink display, matrix LCD, audio ports, IR ports, motor control port, FET and isolated triac interfaces
  •  256-KB On-chip flash
  • USB Debugger cable
  • Four factory demos showcasing local and cloud connectivity through Wi-Fi

The CC25 anniversary issue is now available.

Electrostatic Cleaning Robot Project

How do you clean a clean-energy generating system? With a microcontroller (and a few other parts, of course). An excellent example is US designer Scott Potter’s award-winning, Renesas RL78 microcontroller-based Electrostatic Cleaning Robot system that cleans heliostats (i.e., solar-tracking mirrors) used in solar energy-harvesting systems. Renesas and Circuit Cellar magazine announced this week at DevCon 2012 in Garden Grove, CA, that Potter’s design won First Prize in the RL78 Green Energy Challenge.

This image depicts two Electrostatic Cleaning Robots set up on two heliostats. (Source: S. Potter)

The nearby image depicts two Electrostatic Cleaning Robots set up vertically in order to clean the two heliostats in a horizontal left-to-right (and vice versa) fashion.

The Electrostatic Cleaning Robot in place to clean

Potter’s design can quickly clean heliostats in Concentrating Solar Power (CSP) plants. The heliostats must be clean in order to maximize steam production, which generates power.

The robot cleaner prototype

Built around an RL78 microcontroller, the Electrostatic Cleaning Robot provides a reliable cleaning solution that’s powered entirely by photovoltaic cells. The robot traverses the surface of the mirror and uses a high-voltage AC electric field to sweep away dust and debris.

Parts and circuitry inside the robot cleaner

Object oriented C++ software, developed with the IAR Embedded Workbench and the RL78 Demonstration Kit, controls the device.

IAR Embedded Workbench IDE

The RL78 microcontroller uses the following for system control:

• 20 Digital I/Os used as system control lines

• 1 ADC monitors solar cell voltage

• 1 Interval timer provides controller time tick

• Timer array unit: 4 timers capture the width of sensor pulses

• Watchdog timer for system reliability

• Low voltage detection for reliable operation in intermittent solar conditions

• RTC used in diagnostic logs

• 1 UART used for diagnostics

• Flash memory for storing diagnostic logs

The complete project (description, schematics, diagrams, and code) is now available on the Challenge website.