Jump to content

Setun

From Wikipedia, the free encyclopedia
Setun
A photo of a Setun computer in 1959.
DeveloperSergei Sobolev and Nikolay Brusentsov at Moscow State University
ManufacturerKazan Mathematical plant
Release date1959; 66 years ago (1959)
Lifespan1959–1965
Units sold50
SuccessorSetun-70

Setun (Russian: Сетунь) was a computer developed in 1958 at Moscow State University. It was built under the leadership of Sergei Sobolev and Nikolay Brusentsov. It was the first modern ternary computer, using the balanced ternary numeral system and three-valued ternary logic instead of the two-valued binary logic prevalent in other computers.[1][2][3]

Overview

[edit]

The computer was built to fulfill the needs of Moscow State University. It was manufactured at the Kazan Mathematical plant. Fifty computers were built from 1959 until 1965, when production was halted. The characteristic operating memory consisted of 81 words of memory, each word composed of 18 trits (ternary digits) with additional 1944 words on magnetic drum (total of about 7 KB).[4] Between 1965 and 1970, a regular binary computer was used at Moscow State University to replace it. Although this replacement binary computer performed equally well, it was 2.5 times the cost of the Setun.[5]

In 1970, a new ternary computer architecture, the Setun-70, was developed. Edsger W. Dijkstra's ideas of structured programming were implemented in the hardware of this computer. The short instructions set was developed and implemented by Nikolay Brusentsov independently from RISC architecture principles.[5]

The Setun-70 hardware architecture was transformed into the Dialogue System of Structured Programming (DSSP). DSSP emulates the "Setun 70" architecture on binary computers, thus it fulfills the advantages of structured programming. DSSP programming language has similar syntax to the Forth programming language but has a different sequence of base instructions, especially conditional jump instructions. DSSP was developed by Nikolay Brusentsov and doctoral students in the 1980s at Moscow State University. A 32-bit version was implemented in 1989.

History

[edit]

Initiation of the project

[edit]

The Setun project was initiated by Sergei Sobolev, in order to develop a small computer for use at the Moscow University after the planned transfer of the M-2 computer to the university got canceled in 1953. In 1956, He organized a series of seminars analyzing the disadvantages of existing computers and various plans for technical implementation, which was attended by staff of the Moscow University, the Institute of Atomic Energe, and other institutes of the Academy of Sciences, including Shura-Bura, Konstantin Adolfovich Semendaev, and Zhogolev. On one of these seminars on April 23, 1956, Nikolay Petrovich Brusentsov was appointed as the executive designer and supervisor of the project.[6][7]

At the time, Brusentsov was a graduate (equivalent to a master degree, See Education in Russia, Traditional model) at Moscow University, graduated from the Moscow Energy Institute. Before appointing Brusentsov as the executive designer of Setun computer, Sobolev transferred Brusentsov to the Mechanics-Mathematics department and sent him to Gutenmakher's laboratory at the Institute for Precision Mechanics to gain relevant experience. To Brusentsov, this is an invaluable experience. In the lab, he had access to the lab's computers and their supporting documentations, which Brusentsov found being "technically weak". Brusentsov then decided to use a trinary number system.

Setun computer

[edit]

Sobolev continued to support the project both by finding assistants and participating in the discussion. In 1956, Brusentsov started the design with four engineers and five technicians plus himself. The whole team worked in a 60-square-meter room with laboratory tables, where they designed and assembled the machine by hand. Zhogolev worked as the main programmer, and together with him, Brusentsov developed the computer architecture of Setun. In 1958, the team growed into a 20-person team, and the first model of the Setun computer was assembled. The name Setun comes from a river near the University.[5][6]

After the first model of Setun was built, the Kazan Mathematical Machines Factory was decreed by the Soviet Cabinet of Ministers to mass-produce the Setun computers. However, the leadership at the Kazan plant was not interested in large-scale computer production. The second model built in the factory was sent back because the plant managers and officials maintained that the computer was not yet reliable. The team was forced to manually adjust the second model. On November 30, 1961, the director of the Kazan factory was forced to sign an act which ended the attempts to cease the production of the Setun computer. The computers were then produced at the rate of 15-20 machines anually until 1965, when the plant refused to continue the production as the sold price of the computer was too low.

While Setun attracted significant interest from abroad, the Ministrey of Foreign Trade never filled the orders received. Only 50 Setun computers are manufractured, 30 of which was used in the higher education institutions inside the Soviet Union.[5][6]

Setun-70 computer

[edit]

Between 1961 and 1968, Brusentsov and Zhogolev developed Setun-70, the next generation of Setun computer with a new architecture. It was designed for effective software development, in which the trinary system played a key role. Both addresses and operations are in syllables, where each syllable's length equals to 6 trits (about 9.5 bits). Algebraic expressions of operands by syllables replace the instructions as words in the traditional design, as the instruction set is updated to allow more variance of operand length[5]. The algebra is supplemented by testing, control, and input-output operations. The user can add operations on their own without reducing the computer's performance, thus providing the ideal conditions for structured programming. Brusentsov claimed that the programming time on Setun-70 is reduced by five to tenfold with unprecedented reliability, clarity, compactness and speed.

The functioning algorithm of Setun-70 was comprehensively described in expanded Algol-60.

End of the Setun project

[edit]

The new university rector considered Brusentsov's research and computer design a pseudo-science. After the Setun-70 project, Brusentsov's lab was relocated from the Computer Center at Moscow University to an attic in a student dormitory, and the original prototype of the Setun computer was destroyed. The Setun-70 model was took to the new attic laboratory and was used as a basis for developing the educational computer system Master Work Station.

Adoption and application

[edit]

Thanks to the simplicity and naturalness of its architecture, as well as a well-designed programming system that included the following interpreters—IP-2 (floating-point, 8 decimal digits), IP-3 (floating-point, 6 decimal digits), IP-4 (complex numbers, 8 decimal digits), IP-5 (floating-point, 12 decimal digits)—plus the POLIZ autocode with its operating system and standard subroutine library (floating-point, 6 decimal digits), the Setun computers were quickly mastered by users in universities, industrial plants, and research institutes. They proved to be an effective tool for solving practically important problems across a wide range of fields, from scientific modeling and engineering calculations to weather forecasting and enterprise management optimization[8].

At user seminars on the Setun computers—held at Moscow State University (1965), the Lyudinovo Diesel-Locomotive Plant (1968), and Irkutsk Polytechnic Institute (1969)—dozens of reports were presented on successful real-world applications for the national economy. Owing to its balanced ternary code, Setun turned out to be a truly universal, easily programmable, and highly efficient computing instrument. It earned a strong reputation, notably as an educational tool for teaching computational mathematics in more than thirty universities. At the Zhukovsky Air Force Engineering Academy, Setun even became the platform for the first automated computer-based learning system.[9]

Critics

[edit]

Brain Hayes argues in his article Third Base that Brusentsov did not realize the theoretical advantage of the base 3 system[10]:

Unfortunately, Setun did not realize the potential of base 3 to reduce component counts. Each trit was stored in a pair of magnetic cores, wired in tandem so that they had three stable states. A pair of cores could have held two binary bits, which amounts to more information than a single trit, and so the ternary advantage was squandered.

Trinary compared to binary

[edit]

Balanced trinary systems and trinary computers are not unprecedented in history. Thomas Fowler built a mechanical computer in 1840 using balanced trinary system. [11] The balanced trinary representation of numbers and its related arithmetics was applied in number theory back to Leonhard Euler[12] and was briefly discussed by Claude Shannon in his paper a symmetric notation of numbers published in 1950. [13]

Despite the trinary design never become massively produced, there have been discussions on the advantages of the trinary system over the binary system, and great interest was present on the trinary and more generally on the multi-valued logic systems in the academy.[14]

Advantages

[edit]

Brusentsov found the trinary number system superior over the binary number system: it allowed him to create very simple and reliable elements, plus he needed seven times fewer elements than the Gutenmakher's computers. The power source requirements were also signficantly reduced because a smaller amount of magnetic rods and diodes was used. He also found the natural number-coding system used in the trinary system superior over the direct, reciprocal and supplementary number coding used in the binary system. He maintains that the trinary system is superior to binary in most aspects, published several papers advocating the trinary system during 1985-2014.

The symmetic nature of balanced trinary logic allows for natural representation of negative numbers.

The trinary system is also more efficient from an information theory persepctive. Donald Knuth wrote in his book The art of Computer Programming that "Perhaps the symmetric properties and simple arithmetic of this number system will prove to be quite important some day,"[15] noting that,

The complexity of arithmetic circuitry for balanced ternary arithmetic is not much greater than it is for the binary system, and a given number requires only as many digit positions for its representation."[15]

In the paper The Prospects for Multivalued Logic: A Technology and Applications View, Kenneth C. Smith argued that multi-valued logic is a solution to the interconnection problem in digital systems. [16]In particular, Douglas W.Jones suggests that the trinary system will reduce the number of interconnection wires by . [17]

Disadvantages

[edit]

Douglas W.Jones made a series of computations and designs algorithms of trinary system on his homepage under the name the Trenary Manifesto, including fast trinary addition, multiplication, and division. It turns out that much of the improved efficiency in the interconnection and digit representation is balanced out by requiring more gates in the computations. For example, the trinary addition, while achieving the same computational speed as binary addition, requires more logic.[18]

Meanwhile, many have suggested that trinary circuits are hard to develop, especially when most modern digital flows are binary. [19][20]

In the paper Comparison of Binary and Multivalued ICs According to VLSI Criteria written by Daniel Etiemble & Michel Israël, the authors compared binary and multivalued integrated circuits by examining their performance in detail, and discovered that while the design of multivalued circuits are valid and useful, they have not surpassed the binary circuits. They wrote in the conclusion that [19]

Multi-valued circuits and two-valued circuits must not be seen as competitors. If they are seen as such, then two-valued circuits have already won.

See also

[edit]

References

[edit]
  1. ^ Weatherby, Leif. "Hegel 2.0 | Leif Weatherby". cabinetmagazine.org.
  2. ^ "Глава 2. Киберразнообразие". DataArt IT Museum.
  3. ^ "The Setun Computer". December 29, 2014.
  4. ^ "ЭВМ Сетунь" [Setun computer]. Russian Virtual Computer Museum (in Russian). Retrieved September 20, 2016.
  5. ^ a b c d e Brousentsov, N. P.; Maslov, S. P.; Ramil Alvarez, J.; Zhogolev, E. A. "Development of ternary computers at Moscow State University". Russian Virtual Computer Museum. Retrieved January 19, 2015.
  6. ^ a b c "Pioneers of Soviet Computing | SIGCIS". www.sigcis.org. Retrieved 2025-05-26.
  7. ^ Prokhorov, Sergei (June 2020). "Sergei Sobolev - the eminent mathematician, founder of Russian computer science". 2020 International Conference Engineering Technologies and Computer Science (EnT). IEEE. pp. 104–108. doi:10.1109/EnT48576.2020.00026. ISBN 978-1-7281-8090-8.
  8. ^ Брусенцов, Н.П. (1972). "Электромагнитные цифровые устройства с однопроводной передачей трехзначных сигналов". Наука: 242–244.
  9. ^ "Троичные ЭВМ "Сетунь" и "Сетунь 70"". www.computer-museum.ru. Retrieved 2025-05-27.
  10. ^ Hayes, Brian (2001). "Computing Science: Third Base". American Scientist. 89 (6): 490–494. doi:10.1511/2001.40.490. ISSN 0003-0996. JSTOR 27857554.
  11. ^ McKay, John; Vass, Pamela. "Thomas Fowler". Archived from the original on 31 May 2007.
  12. ^ Andrews, George E. (2007). "Euler's "De Partitio numerorum"". Bulletin of the American Mathematical Society. New Series. 44 (4): 561–573. doi:10.1090/S0273-0979-07-01180-9. MR 2338365.
  13. ^ Shannon, C. E. (February 1950). "A Symmetrical Notation for Numbers". The American Mathematical Monthly. 57 (2): 90–93. doi:10.1080/00029890.1950.11999490. ISSN 0002-9890.
  14. ^ Dubrova, Elena. Multiple-Valued Logic in VLSI: Challenges and Opportunities. S2CID 17070721. Retrieved 2025-05-27.
  15. ^ a b Knuth, Donald (1997). The art of Computer Programming. Vol. 2. Addison-Wesley. pp. 195–213. ISBN 0-201-89684-2.
  16. ^ Smith (September 1981). "The Prospects for Multivalued Logic: A Technology and Applications View". IEEE Transactions on Computers. C-30 (9): 619–634. doi:10.1109/tc.1981.1675860. ISSN 0018-9340.
  17. ^ Jones, Douglas (April 1, 2012). "Douglas W. Jones on Ternary Computing". homepage.cs.uiowa.edu. Retrieved 2025-05-27.
  18. ^ Jones, Douglas (April 1, 2012). "Douglas W. Jones on Ternary Computing". homepage.cs.uiowa.edu. Retrieved 2025-05-27.
  19. ^ a b Etiemble, D.; Israel, M. (April 1988). "Comparison of binary and multivalued ICs according to VLSI criteria". Computer. 21 (4): 28–42. doi:10.1109/2.49. ISSN 0018-9162.
  20. ^ Nair, Ravi; Smith, Scott; Di, Jia (2015-09-11). "Delay Insensitive Ternary CMOS Logic for Secure Hardware". Journal of Low Power Electronics and Applications. 5 (3): 183–215. doi:10.3390/jlpea5030183. ISSN 2079-9268.