Hope the SSD does not fail after 32768 or 40000 hours of operation.
Hope the SSD does not fail after 32768 or 40000 hours of operation.
They are big TLA+/formal specification fans (the article predates TLA+'s rise) with well resourced and antagonistic Q/A engineers.
That hard drive will have been ordered, custom, and the controller verified by hand I imagine.
I’m sure the same happened here.
For a TLDR, this answer [1] is great.
My favorite excerpt: The Shuttle software consists of ca. 420,000 lines. The total bug count hovers around 1. At one point around 1996, they built 11 versions of the code with a total of 17 bugs.
[0] https://www.fastcompany.com/28121/they-write-right-stuff
[1] https://space.stackexchange.com/questions/9260/how-often-if-...
Edit: oh you found it
JWST does not use a typical flash-based SSD. The mass storage is all SDRAM. There are layers of error correction and scrubbing to handle bit flips.
Maybe they should have chosen a HDD drive? Cosmic particles can flip bits on an SDD, can't they?
I don't know that that is the primary reason HDD's have been avoided. But any moving part is another source of failure so my guess is the HDD's life is not as long.
As far as I'm aware I don't know of any spacecraft that has flown a HDD (but there certainly could be). However, some early spacecraft did use tape drives. Hubble originally used tape drives and was replaced with solid state memory during one of the servicing missions.
I would guess they just use RAID, do round-trip data verification before writes succeed, and then reinitialize and scrub any storage module behaving improperly.
For bits stored on SSDs which already rely on error correction, if they were willing to make custom hardware rather than use something off-the-shelf, they could add more chips and scale up the error correcting code to deal with more errors.
The real hazard with SSDs is leaving them unpowered. I know of a story of several systems purchased a decade before they were needed and by the time they were used the boot drives were corrupted.
TL;DL — it uses reaction/momentum wheels to change orientation, and it uses non-mechanical gyroscopes to detect changes in orientation.
https://www.universetoday.com/143152/spacecraft-gyroscopes-a...
Apparently, light travelling along a fiber optic cable will travel a slightly different distance when the device has angular momentum. That is COOL.
But, aside from the laser/fibre-optic tech, there are also MEMS [2] gyroscopes also — which is almost nanotech IMO — which are used as sensors in modern phones/tablets, and also on drones (to assist with navigation), plus various other robotics uses, and more.
MEMS gyros — often with an accelerometer (aka IMU / inertial measurement unit) and maybe a magnetometer (compass) — can be bought from folk such as Adafruit [3], SparkFun, etc. (I've got a few different ones myself), and hooked up to e.g. an Arduino or similar MCU (or indeed anything else that speaks can speak the appropriate protocol, e.g. I2C/SPI/etc depending on the board in question).
Hmm, just looked for a good image of how a MEMS gyro works, and didn't come up with what I was looking for / recall seeing before (I'm a bit pushed for time), but there's a diagram on this WP page [4].
Edit: ah, here's a better diagram [5]
[1] https://www.triplem.com.au/story/flat-earthers-spend-20-000-...
[2] https://en.wikipedia.org/wiki/Microelectromechanical_systems
[3] https://www.adafruit.com/category/521
[4] https://en.wikipedia.org/wiki/Vibrating_structure_gyroscope#...
[5] https://www.researchgate.net/figure/Block-diagram-of-the-MEM...
The others are interesting and informative. I am gonna buy me a few parts to play with.
Thanks!
I still think MEMS sensors are very cool and extremely convenient/cheap for what you get.
I've done some projects myself with MPU6050 and some with its 9-axis "bigger brother" the MPU9250 (same as 6050, but with added 3-axis magnetometer/compass). I've also used the LSM9DS1 — another 9-axis IMU, just a different chip.
— Yeah, definitely amazing tech for the price. Cheap as chips! /me gets coat.
Ingenuity, the Mars helicopter/drone, apparently includes a bunch of off-the-shelf kit like this — IIRC I think a bunch of the parts are made by SparkFun. I don't recall any specifics though.
They are pretty awesome. Once got some data that seemed to be bad out of one and realized that the entire error was exactly accounted for by the Coriolis effect from the rotation of the earth.
- Long lead time to test and certify hardware.
- Higher reliability requirements (e.g. must work non-stop for 10 years)
- Must be able to operate in a higher radiation environment with little to no cooling. In a vacuum, and in zero gravity, cooling works very differently to how it does on Earth.
- These missions often take a decade or more to come together, and changing requirements throughout that process is hard, costly, and risky, so often they stay the same from the beginning.
Notably, SpaceX are bucking this trend a bit with their avionics which just runs on standard Linux machines rather than specialist machines or with a realtime OS, but they have mission lengths measured in minutes to hours, not decades.
The onboard storage is basically a buffer, they beam everything back to earth.
Presumably they could operate in a reduced mode where it does live transmission of the data when it's in contact with Earth?
[1] "JWST can produce up to 57 GB each day (although that amount is dependent on what observations are scheduled)."
https://astroscale.com/astroscale-u-s-enters-the-geo-satelli...
So, it would be __really__ hard for astronauts to swap an SSD.
Because the landing part was the hardest and take more delta V than actually getting to JWST. Not to mention going back from moon surface.
You don't want to fire any thrusters in its direction to avoid damaging the sunshield or the mirrors, but of course to slow down at it you would need to do that at some point.
If the SSD failed and a constant connection to Earth cannot be maintained, the more realistic solution would probably be to launch a satellite to a high orbit to maintain permanent connectivity with JWST which can act as a store-and-forward relay, effectively replacing the SSD without having to actually go to the telescope.