EEVblog Electronics Community Forum

EEVblog => EEVblog Specific => Topic started by: EEVblog on July 05, 2016, 04:17:45 am

Title: EEVblog #896 - Space Electronics
Post by: EEVblog on July 05, 2016, 04:17:45 am
Dave talks with Karsten Becker from PT Scientists about the electronics on board the Audi Quattro Lunar Rover, and space electronics in general.
Radiation, thermal design, camera systems, power supplies and more.

https://www.youtube.com/watch?v=nJLOZDPTp3I (https://www.youtube.com/watch?v=nJLOZDPTp3I)
Title: Re: EEVblog #896 - Space Electronics
Post by: igendel on July 05, 2016, 11:21:03 am
Thanks for this great video, very interesting (even though these guys compete against the X-Prize team from my own country  ;) ).

Speaking of the moon... for anyone interested in the Apollo program and the history of manned space missions in general, I recommend reading Michael Collins' "Carrying the Fire". I just read it myself a couple of weeks ago. It's brilliantly written (I actually burst into laughter a couple of times) with tons of interesting stuff, including some details that were mentioned in this video.
Title: Re: EEVblog #896 - Space Electronics
Post by: EEVblog on July 05, 2016, 11:47:28 am
Speaking of the moon... for anyone interested in the Apollo program and the history of manned space missions in general, I recommend reading Michael Collins' "Carrying the Fire".

Bugger, no Kindle edition  :(
Title: Re: EEVblog #896 - Space Electronics
Post by: igendel on July 05, 2016, 01:30:43 pm
Bugger, no Kindle edition  :(

(In the voice of John Bender, scolding Brian:) Show Mike some respect!  ;D
Title: Re: EEVblog #896 - Space Electronics
Post by: Ravenghost on July 05, 2016, 05:12:32 pm
Dave!
What micro are they using in the motor drivers? I know it's been mentioned that it's ATmega but i'm curious to find which one specifically.
Title: Re: EEVblog #896 - Space Electronics
Post by: BobC on July 06, 2016, 11:31:11 pm
I really miss working on low-budget space electronics.  Talk about writing software for an all-too-real world that's out of this world!

Using distributed microcontrollers really is the way to go for far more than just power management reasons.

First, it is important to know that "rad-hard" does NOT mean "radiation proof"!  Only shielding can make anything rad-proof, the more the merrier, except when you start needing a larger booster to lift the extra mass.  So most space electronics uses only the absolute minimum shielding in the fewest possible places to get the "weaker" components to have lifetimes that are long enough.  And that shielding is optimized to use the lowest mass of material that provides the minimum needed radiation stopping power: Oddly enough, lead is rarely used, if ever. 

Most space electronics (all of it on nano-budget systems) is pretty much "hanging in the radiation breeze".

All electronics in space will exhibit significant rates of "hits" from radiation (there's no easy way to shield against cosmic rays).  There are several flavors of hits that exhibit different physics within the chip (if a PN junction is hit, or an insulation layer, or the metalization, or any combination) and different effects from those hits.  The effects range from flipping a bit for an instant, to getting a bit "stuck", all the way to creating a dead short between VCC and GND.  There are two basic mechanisms available to detect hits, and just one primary way to recover from them.

The simplest detection method is a hardware watchdog timer: If a hit in any way affects how the main software runs, eventually it will either "go insane" or be detected by the BIST (Built-In Self-Test) code.  Either will cause the watchdog timer to trip, thus resetting the processor.  However, in space we always cycle power, and never rely on the reset logic (which can itself get hits).

The other method (the most important one) is to monitor the current used.  It is easy to see when a short is occurring, and to temporarily cut power long before the chip sees any significant thermal rise or damage.  Radiation deposits energy into places in the silicon where it isn't wanted, and turning off power for a short while is the best way to let that energy dissipate and the damage done to "heal".

So, what makes a circuit "rad-hard"?  Basically, it is the total dose below which the chip will continue to recover from hits.  All chips in a radiation field will eventually fail: Rad-hard chips simply take longer to reach the point where it doesn't recover after a power cycle.  Both COTS and rad-hard chips will see similar radiation effects while in use: You pay extra to get chips that can endure it longer.

What you have in space are chips that will randomly freak out, especially the processors and memory.  They do this as a normal part of operating in a radiation field.  This is where the software design gets fun.  How do you cope with a processor that may randomly get its power cycled when passing through the Van Allen Belts?

First, you need fast detection, so you don't try to operate with a failing chip.  A current detector will typically trip within 1-5ms, and the BIST loop operates on a 10ms-100ms cycle.  The power-down time after a hit is typically 10ms-100ms.  In one system I worked on, we used a 25ms off time, but with rapid re-detection to go right back into power off up to three more times (100ms total) if the hit hasn't resolved.

What next? Well, since your mission software is not running during a hit, it is vital to get back to full operation as fast as possible.  And that means booting must be as close to instantaneous as possible, but it must include checking the critical parts of RAM and FLASH for errors.  Of course, you have no idea when the next hit will arrive, so it is also vital that the most important code run first, as soon as the startup code has verified the processor and memory work "well enough" to run the most critical computations.

But, perversely, even though you are running the most important code first and quickly, it must not need to run all that often, say at 1 Hz or so, so that the system will perform correctly even when in the most intense radiation fields.

It should seem clear that there is no time to boot a conventional OS to run critical functions: While many space systems do use POSIX-like RTOSes, they are run on processors that do lots of relatively unimportant work (such as bulk data processing).  The most vital tasks are generally farmed out to microcontrollers.

There is another important reason to use microcontrollers, other than for isolating vital software routines:  Radiation incidents are proportional to the silicon area.  A general-purpose processor (GPP) can easily use a square inch of silicon for the processor, flash and ram.  A typical microcontroller uses about 1-5% of that area.  So you would expect a GPP to see hit rates that are 20x that seen by a microcontroller, just based on area alone.

So, would you care to take a guess as to how much shielding is needed to improve the hit rate for a GPP to match that of a microcontroller?  As much as 30% of the mass in some commercial communication satellites is shielding.  But when you add shielding, you need to make the station-keeping motor more powerful and store more fuel, and the satellite frame (called the "bus") also has to get larger and stronger.  Which is why some satellites weigh as much as a school bus, instead of a Fiat.

Now let's step back and look at the big picture.  Let's say you can't afford ANY specialty rad-hard components, yet you have to pass through the Van Allen belts to get where you are going (such as to the moon or GEO). What do you do?

First, you keep as much as possible TURNED OFF when passing through high radiation fields.  Especially the GPPs.

Second, you go through the high radiation areas as fast as possible (minimize time): Pair the smallest possible satellite with the biggest booster you can afford and the straightest course you can handle.

Third, you add redundancy: Have multiple redundant processors for the most important tasks.  If you do it right, you use voting circuits that are implemented using discrete or "jelly-bean" logic.  Some of these simple devices are inherently rad-hard, so careful circuit design (and shopping) pays off!

Fourth, make the software in each microcontroller "run light without overbyte". In one system I built, the system was able to reliably perform its critical functions in a radiation environment that caused 5 power cycles per second!  And that system had microcontrollers clocked at only 4 MHz.  I would love to do that project again using 20 MHz AVRs!

-BobC
Title: Re: EEVblog #896 - Space Electronics
Post by: EEVblog on July 07, 2016, 03:49:12 am
Dave!
What micro are they using in the motor drivers? I know it's been mentioned that it's ATmega but i'm curious to find which one specifically.

Not sure, sorry.
Title: Re: EEVblog #896 - Space Electronics
Post by: Fungus on July 07, 2016, 07:59:44 am
Dave!
What micro are they using in the motor drivers? I know it's been mentioned that it's ATmega but i'm curious to find which one specifically.

Not sure, sorry.

Their web site only lists one rad-tolerant ATmega: http://www.atmel.com/products/rad-hard/rad-tolerant-devices/default.aspx (http://www.atmel.com/products/rad-hard/rad-tolerant-devices/default.aspx)

That narrows it down a bit.  :popcorn:


Title: Re: EEVblog #896 - Space Electronics
Post by: ajawamnet on July 07, 2016, 05:56:03 pm
single event upset - Altera has some mitigation of this:
https://www.altera.com/support/quality-and-reliability/seu.html (https://www.altera.com/support/quality-and-reliability/seu.html)
https://en.wikipedia.org/wiki/Single_event_upset (https://en.wikipedia.org/wiki/Single_event_upset)

Also - outgassing or TML (total mass loss). This is important for most orbital stuff. For instance you can't use standard nylon/plastic connectors.
https://outgassing.nasa.gov/ (https://outgassing.nasa.gov/)
Typ we use LCP
http://www.glenair.com/interconnects/mildtl38999/pdf/a/guidelines_for_space_grade.pdf (http://www.glenair.com/interconnects/mildtl38999/pdf/a/guidelines_for_space_grade.pdf)

No Loctite... or most stuff that Mouser, Digiley and others sell.

For conformal coating - use arathane: http://krayden.com/arathane-5750-lv/ (http://krayden.com/arathane-5750-lv/)
Bitch with arathane - like any urathane-based coating it will produce nasty fumes -  isocyanate. Been there, done that.
http://www.paryleneengineering.com/pdf/conformal_coating_removal_techiques.pdf (http://www.paryleneengineering.com/pdf/conformal_coating_removal_techiques.pdf)

Note where it states:
This is the one area you DO NOT want to use the thermal or burn through technique. Polyurethane’s will emit a toxic gas that
in time will cause great damage to your employees.

I've done quite a bit of commercial and gov satellite hardware dev in the past year. Amazing how much crap comes off in a vac chamber...

Also - for quite some time, ESA didn't dig FPGA's so much - link to a recent workshop:
https://indico.esa.int/indico/event/130/ (https://indico.esa.int/indico/event/130/)

Oh - and another interesting thing - watch using electrolytic caps.  This was kida covered in an old EEVblog:
https://www.eevblog.com/forum/beginners/does-an-electrolytic-capacitor-work-in-vacuum/ (https://www.eevblog.com/forum/beginners/does-an-electrolytic-capacitor-work-in-vacuum/)

Most of the stuff my client launches try to avoid them...
http://www.exxelia.com/all-products/capacitors/ceramic-capacitors/capacitors-for-space-applications/ (http://www.exxelia.com/all-products/capacitors/ceramic-capacitors/capacitors-for-space-applications/)

Interesting thing on Al Poly caps:
https://nepp.nasa.gov/files/20389/09_005_GSFC_Williams_Liu%20APC%20Final%20Report.pdf (https://nepp.nasa.gov/files/20389/09_005_GSFC_Williams_Liu%20APC%20Final%20Report.pdf)

http://www.avx.com/docs/techinfo/PolymerGuidelines.pdf (http://www.avx.com/docs/techinfo/PolymerGuidelines.pdf)


Space ain't easy...