Virtual AGC

From Project Apollo - NASSP
Revision as of 01:13, 13 January 2008 by imported>Irnenginer
Jump to navigation Jump to search

Ron Burkey's Virtual AGC code simulates the hardware of the real Apollo Guidance Computer, and can run the same software as was used on a real Apollo mission. This is a separate open source project which is linked into Project Apollo.

The Virtual AGC or vAGC uses software that is believed to have flown on actual missions. Most missions in Project Apollo use Colossus 1A (rev249) otherwise known as Colossus249. It is believed that this software was used for the Apollo 9 mission.

Original Documentation

Some original Apollo-era documentation which may be useful for understanding the operation of the Virtual AGC and the Colossus and Luminary software:

Pre Launch and Service Programs

Programs 00-09 are reserved for Prelaunch and Service programs.

Program 00: CMC Idling also known as "POOH" in astronaut terminology. This is a default state for the AGC. It indicates to the crew the AGC is not engaged in any routines or programs that require crew consideration. It maintains the GNCS in a condition where manual attitude maneuvers can be made by the crew with minimal concern. Finally, it maintains the CMC in a condition of readiness for entry into other programs. Whenever you are not engaged in other programs the AGC should into this state called "Go the POOH"

Program 01: Prelaunch Initialization. This program sets up the CMC and GNCS for preparation for launch. It torques the Stable Member for launch orientation based on the spacecraft position and launch azimuth. This program then automatically starts Program 02.

Program 02: Prelaunch Gyro-compassing. The IMU senses the rotation of the earth while the spacecraft is on the pad. Therefore, this program maintains the IMU id the launch configuration. It also provides the capability to change the launch azimuth due to a change in liftoff time. Lastly, it provides a backup to manually key in that liftoff has occurred.

Program 03: Prelaunch Optical Verification of Gyro Compassing. This program provides a method to verify the Alignment of the Stable Member.

Program 06: CMC Power down. When the CMC is powered down this program puts the AGC in standby. When in standby mode only the Mission clock is updated.

Boost Programs

Programs 10-19 are used in the boost phase.

Program 11: Earth Orbit Insertion Monitor. While the Saturn Rocket uses its own guidance system, the CMC can monitor launch parameters and provide and indication, through the FDAI error needles that the launch is on course. The program is automatically started by Program 02 or by astronaut input.

Program 17: TPI Search. This program is more associated with rendezvous then with boost though it is in the boost group. This program calculates the parameters for the transfer phase to intercept another spacecraft called "Transfer Phase Initiation".

Coast Programs

Programs 20-29 are for navigation. Primarily for tracking other spacecraft, locating and tracking ground targets, and navigating during the transit to to and from the moon.

Program 20: Rendezvous Navigation.

Alignment Programs

Programs 51-54 are used for IMU alignment.

Program 51: IMU Orientation

Program 52: IMU Realign

Verb/Noun Basics

The Verb/Noun provides much of the command and parameter interface to the AGC. Astronaut commands and information about values in the display registers are given thru verbs and nouns.

Verbs

There are 40 normal verbs. These verbs correspond to simple actions. They are split into 4 groups display, monitor, load, and executives.

Display verbs allow display of Noun fields. Typically they are used by programs for displaying information, using Verb 05 and 06. The astronaut can use these verbs to display a Noun at almost any time, but it is important to know that some noun may not be valid in all modes. Monitor verbs are the same as display verbs with the exception that monitor verbs continually update the registers every time step(about 1 per sec).

Load verbs are used by the astronaut to load values into nouns. Load verbs are used to change values displayed during programs that require astronaut input.

Executive Verbs are direct user interface and testing. Examples are Verb 37 for starting a program and Verb 35 for testing the panel lights.

The remaining 60 verbs are called extended verbs. These verbs hold a wide range of actions, both actions requested by the astronaut and requested by the AGC. By this I mean that some verbs are entered by the astronaut to be performed by the AGC and other are displayed by the AGC for action by the astronaut. In addition, some verbs are only used during specific programs, most notably Program 20.

There are also “flashing verbs”. This is when the Verb/Noun Line of the DSKY is flashing. This indicates to the astronaut that the AGC is waiting for a response. Flashing verbs occur during programs and some extended verbs.

Nouns

Like Verbs, nouns are split between two major types. The first 40 are normal nouns. These nouns contain information that is singular in nature. To out another way, the information contained in those nouns do not have different scaling, or display a single item. Two best examples are Noun 20, which contain the CDU angles all in .01 degrees, and Noun 36 containing the CMC mission time in hrs, min, secs.

The remaining nouns are called mixed. Mixed nouns can contain information where each register contains related but independent information. All mixed nouns relate to programs and extended verbs and should not be edited outside of there programs. An example of a missed noun is Noun 40, used during burns. Register 1 shows time to/from ignition of burn/ Register 2 indicates velocity to be gained. And register 3 indicates velocity gained.

Registers

The registers are the three lines under the Verb/Noun Line. The data that is shown in the registers are determined from the current Noun. The registers show data in English units, such as feet/sec, Nautical miles. There are 29 scaling/units used in the registers through the nouns. One interesting aspect to the AGC is that while the display information is in English units the AGC math is all done in metric units. There are many nouns that display octal numbers. Most of these are used for setting DAP parameters, indicating star numbers, and other options. Octal numbers are indicated with the lack of a sign indication in the register.

Entering Registers

When entering data into a register, remember to always enter it using the same scaling and precision that the register is displayed in. When entering scaled numbers always enter a +/- before the number, and always add leading zeros so that all digits are filled in the register. When entering octal numbers always omit the sign. Octal registers do not require leading zeros when entered.


External Links


This article is a stub. You can help Project Apollo - NASSP by expanding it.