Space News
space history and artifacts articles

Messages
space history discussion forums

Sightings
worldwide astronaut appearances

Resources
selected space history documents

  collectSPACE: Messages
  Mercury - Gemini - Apollo
  Don Eyles' LM guidance computer tales

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Don Eyles' LM guidance computer tales
DR Oakes
Member

Posts: 16
From: Poplarville
Registered: Jan 2017

posted 07-14-2017 06:48 PM     Click Here to See the Profile for DR Oakes   Click Here to Email DR Oakes     Edit/Delete Message   Reply w/Quote
Have many of you read this Tales From The Lunar Module Guidance Computer:
The Apollo 11 mission succeeded in landing on the moon despite two computer-related problems that affected the Lunar Module during the powered descent. An uncorrected problem in the rendezvous radar interface stole approximately 13% of the computer's duty cycle, resulting in five program alarms and software restarts. In a less well-known problem, caused by erroneous data, the thrust of the LM's descent engine fluctuated wildly because the throttle control algorithm was only marginally stable. The explanation of these problems provides an opportunity to describe the operating system of the Apollo flight computers and the lunar landing guidance software.
It made me wonder, what if the coders had tweaked the software to be perfect, would Apollo 11 Eagle have crashed, or at least have had a descent abort?

Anyone have other ideas of what could have caused a failed attempt?

indy91
Member

Posts: 15
From: Germany
Registered: Feb 2016

posted 07-16-2017 04:16 AM     Click Here to See the Profile for indy91     Edit/Delete Message   Reply w/Quote
The throttle-command routine of the LGC actually accounted for three different types of lags/delays. First the time between reading accelerometers and issuing throttle commands. This is due to AGC not being all that fast. Second the dynamic delay of the engine. This is the number they got wrong and was 0.2 seconds on Apollo 11 and was corrected to 0.08 seconds for Apollo 14. Thirdly the Descent Engine Control Assembly (DECA) converts the digital throttle commands from the computer to a voltage for the throttle actuator. And this voltages can only ramp up and down at about 85% thrust per second.

I can tell you exactly what happens if neither the engine or DECA would have any delay. The throttle oscillations become catastrophic. I know because I have simulated this. I am one of the developers of Project Apollo - NASSP (http://nassp.sourceforge.net), an open source project to simulate the vehicles of the Apollo program. And we are using the Virtual AGC emulator (https://www.ibiblio.org/apollo/) for our simulation. The Apollo 11 source code is available through this emulator, so we are using 100% identical software as compared to the flown Apollo 11 mission. Don Eyles himself actually supplied the source code for most Lunar Guidance Computer (LGC) software versions to the Virtual AGC project.

So, when we first tried the Apollo 11 lunar landing, we did get catastrophic throttle oscillations in Program 66 (Rate-of-Descent landing mode). The first delay I mentioned above is simulated in the emulator, so it is accounted for. As the next step we added the throttle lag in our simulated DECA and that fixed most of the oscillations. So even without simulating the actual delay of the engine response (which was 0.075 seconds), we can get a fairly stable behavior. As compared to the graphs on Don Eyles website we still get slightly higher oscillations, but it is not a problem for landing. We haven't yet added the throttle delay of the engine itself, since we get decent results without it. Here is a video of the simulated Apollo 11 landing I made a while back: https://www.youtube.com/watch?v=sHaS6sYJsMg The video shows an automatic landing, which uses a different throttle algorithm and does not have any throttle oscillation. The video was recorded before the DECA delay was implemented that made Program 66 with the semi-automatic landing mode work. P66 is what all flown missions used to land, including Apollo 11.

We do have the ability to modify AGC versions. So what I will try is change the THROTLAG variable which is 0.2 seconds in the Apollo 11 AGC version and change it to the even more wrong 0.3 seconds. If the oscillations are still managable then we can conclude that even when accounting for the whole 0.3 seconds the throttle would still be stable enough to land. If the throttle fluctuation becomes catastrophic, then we need to also simulate the delay of the engine itself to come to a conclusion. Maybe I will record another video showing the throttle behavior with and without simulating the DECA and descent engine delays. But I will certainly report back what happens when the computer accounts for 0.3 second engine delay.

DR Oakes
Member

Posts: 16
From: Poplarville
Registered: Jan 2017

posted 07-16-2017 02:21 PM     Click Here to See the Profile for DR Oakes   Click Here to Email DR Oakes     Edit/Delete Message   Reply w/Quote
Thanks! Amazing work you are doing! Please post your results when you run them!

indy91
Member

Posts: 15
From: Germany
Registered: Feb 2016

posted 07-17-2017 06:30 AM     Click Here to See the Profile for indy91     Edit/Delete Message   Reply w/Quote
So I have tried the landing with the full, assumed 0.3 seconds engine delay compensated. The oscillation has gotten much worse. It's now cycling between 10% thrust (the minimum possible) and 50%.

One of the important parts of the semi-automatic Rate-of-Descent (ROD) landing mode is that you need to be able to judge your altitude rate. Either from the computer display on the DSKY or direct Landing Radar measurements on the tape meters. With the knowledge of the altitude rate you can then adjust this rate with a switch, incrementing or decrementing the altitude by 1 feet per second with each switch actuation. This capability is severly degraded with oscillations this high. Due to the low gravity the cycling between 10% and 50% throttle doesn't immediately make you crash into the surface though. The altitude rate is cycling between about 1 and 5 feet per second. I levelled off at about 50 feet and then mostly had to judge my descent by looking outside, doing only a few adjustments with the ROD switch. I did not have to use manual throttle for the landing, 1-5 ft/s descent rate is in the acceptable margin. So I was able to land in the ROD mode despite the large oscillations, with a bit of trouble, but all in all still fairly safely.

If the Apollo 11 astronauts had encountered this situation then they might have opted to use manual throttle instead of using the computer controlled auto throttle mode. And as Don Eyles said in his "LM Tales", with the previous alarms they would have lost some confidence in the computer and might have aborted anyway.

There are (at least) two more effects that our simulation currently doesn't consider. First, as I mentioned in my previous post, the actual engine delay of about 0.075 seconds is not simulated. This delay would of course have reduced the oscillations, because it is closer to the 0.3 seconds estimate. So the throttle oscillation due to the wrong estimate would have been smaller. The other effect is "IMU bob", which was also mentioned in the article by Don Eyles. The IMU is not at the center of gravity of the LM and with large attitude rates your IMU therefore measures an acceleration. We also do not currently simulate this effect. Apollo 11 might have gotten the maximum throttle oscillation possible (10% to 100%) due to this. Just before the landing you wouldn't command large attitude rates anyway, but initially in Program 66 this can cause big issues. So the "IMU bob" effect makes an abort even more likely.

DR Oakes
Member

Posts: 16
From: Poplarville
Registered: Jan 2017

posted 07-24-2017 07:06 PM     Click Here to See the Profile for DR Oakes   Click Here to Email DR Oakes     Edit/Delete Message   Reply w/Quote
That's a lot to digest, hope I can wrap my small lil' brain around this info. Thanks much!

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The Source for Space History & Artifacts

Copyright 2020 collectSPACE.com All rights reserved.


Ultimate Bulletin Board 5.47a





advertisement