Central Computer For Aircraft Saab 37, Viggen: Formerly of Datasaab and Ericsson AB
Central Computer For Aircraft Saab 37, Viggen: Formerly of Datasaab and Ericsson AB
Central Computer For Aircraft Saab 37, Viggen: Formerly of Datasaab and Ericsson AB
Bengt Jiewertz
Formerly of Datasaab and Ericsson AB
Abstract: In the beginning of the 1960s it was decided that the multipurpose attack/fighter
Saab 37 Viggen should be designed as a single seat aircraft. A central computer
and a head-up display made it possible to dispense with the need for a human
navigator. The computer was the central computing and integrating unit for all
electronic equipment to support the pilot. This computer, CK37 used in the Saab
AJ37, was the first airborne computer in the world to use integrated circuits
(first generation ICs). Almost 200 computers were delivered 1970 -1978. The
function was reliable and the computers were still in operation, with upgrades, at
the early beginning of 2000`s.
1. Background
In the early twentieth century there were twelve Swedish companies involved in the
manufacture of aircraft. They had, however, no support from the Swedish Defence
Department. Later, in 1932, Parliament decided that Sweden should be self-sufficient in the
supply of military aircraft. The company Saab (Svenska Aeroplan AktieBolaget) was
established in 1937 and was contracted by the Swedish Air Force to deliver military aircraft.
Three types of propeller aircraft were successively delivered. The international tension grew
after the Second World War and the Saab technical ability and capacity was used for new
advanced developments. From 1950 four new subsonic jet aircrafts were delivered. The most
famous one was the fighter Saab 29 “Tunnan”. In total 661 Saab 29 were delivered in the
period 1950-1956 and made the Swedish Air Force the fourth largest in the world. From 1960,
three military supersonic aircraft were delivered. These were the Saab 35 Draken, the
multipurpose Saab 37 Viggen and Saab 39 Gripen. Saab has produced 14 different types of
military aircraft plus four civil types.
Extensive calculations of aerodynamic and material strength problems are necessary in the
development of an advanced aircraft. Saab started early to use simulators and calculation
machines. An analogue electronic simulating machine SEDA (Saab Electronic Differential
Analyser) was used from 1956 for problems in the missile and aircraft design. The first
electronic tube computer in Sweden was BESK (Binär Elektronisk Sekvens Kalkylator). Very
soon after this computer’s introduction Saab became one of its biggest users. However, this
computing capacity was not enough and Saab built its own advanced copy. This was used
from 1957 and was the second powerful electronic computer in Sweden.
2
In 1957 the Royal Swedish Air Force (later Air Material Department, FMV) authorised
Saab to make a preliminary study of an advanced robot for “attacks against harbours and
establishments on the other side of the Baltic Sea”. Part of the navigation system was a
computer. A preliminary report discussed requirements on speed, compact design and low
power consumption, which could be realised with transistors, ferrite core memory and
converters for analogue signals. The project, however, was closed in 1959 in favour of a
new aircraft project which was the multipurpose Saab 37 Viggen.
2. A Central Computer
An important advantage of using a computer was the flexibility of programs and also that
constants and tactical behaviour could be changed easily. The program functions could be
developed in successive editions during the whole period up to serial delivery. Later these
advantages were to prove much more important than was expected at the time of decision.
The interaction between pilot and machine also came to be a very important area of
development.
Figure 2, Computer Saab SANK/D2 with strip reader, punch, digital display and the
operator.
The computer was like a spider in the web and its function confused many designers.
An early proposal of possible functions of a computer and its author were considered as
“a danger for system 37”. It was a pioneering exercise in conjunction with other equipment
suppliers to develop this new electronic system. Most of the electronic equipment and
instruments were of analogue type. Part of the job was to specify all signals, both analogue
and digital, to and from the computer. Saab was designated as the main supplier of the system
and earlier suppliers of electronic equipment got a changed role. Finally the computer was
given the name CK37 (Central Kalkylator).
A new way to test parts of the system programs was early introduced through connecting the
SANK/D2 computer, 2.2, to an analogue computer in a hybrid simulation. An important part
of the development of hardware and software was to determine computer speed, instruction
types and memory size. The speed was determined by the requirement that the entire program
should be executed within max 100 milliseconds. The memory sizes became a compromise
between cost, physical size and the volume of the program. Several times the program code
had to be optimised to fit into memory and time. The System Department prepared flow-
charts, program blocks and programming. A special assembler with interpreter were
developed and used. The computer programs were also tested in realtime simulation in a
prototype CK37 connected to the analogue computer SEDA.
Later on the whole electronic system, computer and co-operating equipment, was connected
in a “System Simulator” configuration on the ground, where the whole system, “flight
mission”, performance could be checked before flight. A program co-ordination function was
established to keep track of all variables, names, routines, instructions, archives and changes.
Many new administrative routines had to be introduced. System reliability was calculated as
MTBF (Mean-Time-Between-Failures). This work resulted in a total electronic system
reliability of the same order as the basic aircraft. The system architecture and related routines
were then transferred and improved from the attack version, Saab AJ37, to the fighter version,
Saab JA37, and also to the next generation, the Saab JAS39 Gripen.
3. Computer development
The hardware development interacted with program development and changed requirements
from ground and flights tests. Several specifications and design approaches were
demonstrated and discussed at meetings with people from the Swedish Air Force, Saab
System Department and Electronic Production Department. One of the earlier computer
specifications, Appendix 1, could not be accepted, especially because of the size.
Figure 3, Circuit unit with aluminium beam and components soldered between two circuit
cards. Several circuit units are mounted in a frame with interwiring. A final computer unit
consists of several frames, some of them fitted with connectors. Four computer units formed
an operational computer for installation in the aircraft.
6
The Swedish Air Force wanted to check the Saab design and arranged to obtain information
about a computer from Hughes Aircraft. This was very compact and used welded
components, not the new integrated circuits. It was considered, however, that this computer
did not fit the proposed system of AJ37. In 1962 the Air Force expanded the development
order to also cover the manufacture of 5 prototypes for different types of test. A specification
of these prototypes is shown in Appendix 2.
The first prototype was finished in the middle of 1963 for test of function margins and
programs. The other four prototypes were ready for tests in 1964, one for system test, one for
simulations, one for a special test rack and one for environmental test. From 1965 one
prototype was checked in operation during flight tests in the aircraft Saab Lansen 32 alfa. This
was possibly the first flight in the world of a computer with the first generation of IC´s.
It was a big step for a circuit designer to change from transistor to IC-design. The work
became easier and faster. It was no longer necessary to use detailed calculations as for
transistor circuits. The MLE´s were smart and it was easy to build large computer blocks with
the new design rules, figure 5. We had good relations with Fairchild who used our
experiences and made changes to the MLE to better fit our building of computer blocks.
The navigation programs included a large number of multiplications so we studied different
methods and decided to use the two-shift multiplication. This resulted in a time of 23.8
microseconds at a cost of a number of extra MLE. We noticed about the same figures for
addition, volume and power in an American computer journal, which compared different
military computers. Our multiplication time, however, was about 50% lower, thanks to the
two-shift method used.
Figure 4, Interior of one of the first MLE, which reached Saab in 1961, enclosed in a TO5
capsule with 7 connections. The chip is 2x2 millimetre.
Figure 5, MLE symbols (on a sticker), placed on a drawing, are interconnected to a computer
block. The schematics show both logic and electric function.
8
The computer was a real computing centre for all co-operating electronic equipment such as
air data, reference platform, airframe mounted accelerometer unit, radio altimeter, navigation
equipment and the attack radar. Computer inputs also came from a data panel and panels for
navigation, weapons, radar and test. Output signals went to the head-up display, radar display,
and other displays in the cockpit. All programs and input/output variables had to be repeated
10-60 times per second to keep track of the aircraft’s position. The computer contributed also
in an overall electronic system test before take-off. The number of system variables was about
700 in about 30 program blocks.
The 10 prototype computers were delivered between 1965 and 1968. Specification data of the
computer are shown in Appendix 3. They were used in aircraft Saab Lansen 32 alfa and
gamma and in the Viggen 37-3. A careful notation of the prototype reliability indicated at the
end of 1967 an MTBF of 1000 hours (calculated 1200) during ground operation. Component
reliability and soldering reliability were also satisfactory and indicated that an MTBF during
flight operation of more than the required 200 hours could be reached.
Saab started the co-operation with Honeywell in 1963. First task was to specify the
interconnecting signals. Next step was to inspect the electrical and mechanical design, service
actions and spare parts to get similarity to the other CK37 units.
9
A number of different failures occurred during function test of separate memories and
together with CK37 units. Sufficient earlier design tests had evidently not been made before
final and environmental test. The memory contained a large number of components. MTBF
calculations gave a larger figure than a coincidence memory. The ground loader and tester
unit was clumsy and difficult to handle. The problems caused delays in delivery of biax
memories from Honeywell. Time for flight test came closer and restrictions in the use of the
memory unit had to be specified. New failures during flight and in ground system tests were
observed.
FMV had followed the problems with the biax memory. The parallell design of a coincidence
memory at Saab resulted in good performance in ground and aircraft tests. Biax memory
work was stopped in 1967. Honeywell had promised a biax memory, twice as fast, half as
expensive and with half the volume compared to the coincidence memory. The experiences
resulted in, half as fast and double in price and volume.
Figure 6, A ring-shaped and a square ferrite core, with a size around one millimetre.
4. Results
FFV Aerotec in Arboga then took over the maintenance work in a central repair and test shop.
Faulty units from all air bases were transported to this place were also a number of
modifications were made. The memory was increased (with semiconductors) and an extra
microprocessor was included to incorporate programs for newer weapons. The aircraft AJ37
Viggen with the computer was still in active service in the very early twenty-first century.
FFV Aerotec in Arboga has been in charge of central maintenance of all CK37 units from
1983, when the Saab guarantee ended. Each computer unit with a failure in flight or ground
operation was examined at the FFV repair shop. Measures for each unit as repair type,
modification, test without remark, none action, program loading of memory unit and cassation
was noted in FMV-F-DIDAS material failure lists. Component failures from repair actions in
the four CK37 units during the10 years of computer operation from 1983 to 1992 are shown
in Appendix 4 together with the Saab predicted values. The predicted component failures
account for about 25% of the total computer failure frequency, solders and contacts for 50%
and the rest spread out on different components. The summary for 1992 shows a somewhat
lower figure for semiconductor components. An integrated circuit with around 25 transistors
has about the same failure figure as a single transistor. Solders and contacts show a
remarkably lower figure. This lower frequency of catastrophic failures has a direct effect on
computer failures in operation. The FFV summary of failures per year, during the 10-year
period, together with the Saab prediction, is shown in Appendix 5. The table shows that the
number of catastrophic failures is about 5 times lower than predicted 25 years earlier. Other
types of remark such as wrong maintenance test without remark, reloading etc have been
noted by FFV and have contributed to a somewhat higher frequency of remarks during
computer operation.
In summary it can be seen that component reliability has been better than predicted. It was
also beneficial that the early integrated circuits were more reliable than predicted. Component
manufacturers were selected critically based upon Saab’s own specification, tests and
measurements. The mechanical design and manufacturing also contributed to a minimisation
of faulty soldering joints.
11
and reliability of the computer were not fulfilled and FMV had to be design responsible
instead of Saab. This was the second computer for the Viggen aircraft to be manufactured at
the Datasaab production unit in Linköping. First delivery and flight was in 1979. The
manufacturing of 100 units ended 1985.
Some data of the two computers D6/37 and CD107 are shown in Appendix 6.
Appendix 1
One of the first specifications from the beginning of 1960 included:
Task: Sight calculation for three robots and bombing attacks.
Navigation, including Decca-support, according to different alternatives and
the remaining flight distance. Standard programs as trigonometric functions
and self test.
Memory: Programs 2048 word, constants 512 words. Word length 20 bits. Ferrite core
memory with a cycle time of 6 microsec.
Instructions: 21 basic. Short instructions 7.2 and multiplication 23.2 microsec
Signals: 42 in- and 42 outsignals of digital and analogue type with converter.
Size: 8 separate units, 98 kg, 300 watt.
Most of the communicating equipment was analogue. Conversion with adaptation of all
signals utilised over 40 % of the total computer volume. The electronic design was based
upon germanium transistors, welded together with resistor and capacitor (as in the SANK-
design) and moulded in plastic to withstand vibrations. The necessary mechanical support of
components and cabling required most of the space and weight. One part of the computer, the
arithmetic unit, was built and run, satisfactorily, in environmental tests. The computer size
and all cabling to and from the computer choked the aircraft designers, and could not be
accepted.
Appendix 2
A specification from the beginning of 1963 defined the first five prototype design and
requirements:
Task: Defined requirement on speed, memory size, word length and type of
instructions. Test and program loading from ground equipment.
Memory: 8192 word, 26 bits, cycle time 2.8 microsec.
Instructions: Length 13 resp. 26 bits, 48 basic instructions. Short instruction 5.6 long
23.8 microsec. Clock frequency 2,860 MHz.
Signals: 45 in and out, both analogues and digital.
Size: 75 kg. 600 watts. 5 units, memory, logic, power and 2 in/out units.
The manufacturing and final delivery test was made at Datasaab Production Department. All
solders, about 50.000, were made by licensed people and 100 % checked through magnifying
glass. All components, including almost 3000 integrated circuits (Fairchild) per computer,
were 100% inspection tested. Plessey in England was supplier of the core memory. Computer
programs treated the layout of cabling in order to facilitate the production. This again was
pioneering work.
13
Appendix 3
A specification from 1964 defines the 10 later prototypes:
Task: Computing speed about 200.000 instructions per second with fixed point
arithmetic.
Memory: 8192 words, 28 bits with 2 parity bits (about 25 kbyte). Variable part 1536
words, the rest write protected. Cycle time 2,8 microsec. The biax memory
had a similar specification.
Instructions: 48 basic. Add/subtract 5,6, jump 4,2, multiplication 23,8 and divide 44,8
microsec.
Interrupt: 6 priority graded internal signals for jump to special programs.
Special circuits handled power off and on. A priority signal initiated a memory stop sequence
when a power off occurred. Memory information was stored, memory cycling stopped and
circuit voltages could decrease. Memory started when all voltages had reached nominal values
after power on at the stop address. Some circuits were changed after experiences from circuit
and prototype tests. A few new MLE types from Fairchild (with SGS Fairchild in Italy as
second source), also analogue, could be used.
Component type and number Saab prediction 1968 FFV summary 1992
Appendix 6
The design of the Datasaab computer prototype D6/37 took account of experience gained
from the commercial minicomputer D5/30 and 10 years of technical development with respect
to CK37. The memory was 128 kbyte, a ferrite core memory, with 32 bits. Computing speed
about 700,000 (more than 3 times CK37) instruction per second with floating point arithmetic.
The components consisted of thick-film-hybrids with individual components and gold type of
wiring enclosed in glass and ceramic. The components were mounted on two circuit cards
with air-cooling. MTBF during flight operation was 1100 hours. The design made it possible
for a mean time of 15 minutes to repair a component. Total weight was 31.4kg exclusive of a
unit for adaptation of in/out signals. The prototype was subject to different prolonged
environmental tests with positive results. The computer and test results fulfilled the FMV
requirements.
The Singer-Kearfott prototype CD107 also had a core memory of 128 kbyte with a word
length of 16/32 bits. Calculation speed was 500,000 instructions per second with floating
point arithmetic. All components, mainly flat types, were mounted on 41 circuit cards/units,
connected to a common motherboard. Some memory components, thick-film-hybrids, were
manufactured by Saab. 40 analogue and 700 digital signals could be handled but the
adaptation was outside the computer. Total final weight was 26 kg and the power
consumption 585 watts. The memory was increased during the 1980´s to 240 kbyte with a
semiconductor memory in order to handle new weapons for the aircraft.
References:
The text is compiled and translated from parts of the following books:
- Flygteknik under 100 år, ISBN 91-631-4255-4, 2003, abstract
- TEMA D21, Datasaab, ISBN 91- 972464-09, 1994, authors V. Wentzel, B. Jiewertz
- TEMA FLYG, Datasaab, ISBN 91-972464-17, 1995, authors TJ Hallberg, J Tufvesson,
- B Sjöberg, D Folkesson, B Jiewertz, S Lindqvist, B Hällberg, R Bergström, B Knutsson and
V Wentzel.