Beruflich Dokumente
Kultur Dokumente
An electronic pocket calculator with a liquid-crystal display (LCD) seven-segment display that can
perform arithmetic operations
Contents
1Design
o 1.1Input
o 1.2Display output
o 1.3Memory
o 1.4Power source
o 1.5Key layout
2Internal workings
o 2.1Example
2.1.1Numeric representation
3Calculators compared to computers
4History
o 4.1Precursors to the electronic calculator
o 4.2Development of electronic calculators
o 4.31970s to mid-1980s
4.3.1Pocket calculators
4.3.2Programmable calculators
4.3.3Technical improvements
4.3.4Mass market phase
o 4.4Mid-1980s to present
5Use in education
6See also
7References
o 7.1Sources
8Further reading
9External links
Design
Input
Electronic calculators contain a keyboard with buttons for digits and arithmetical operations;
some even contain "00" and "000" buttons to make larger or smaller numbers easier to enter.
Most basic calculators assign only one digit or operation on each button; however, in more
specific calculators, a button can perform multi-function working with key combinations.
Display output
Calculators usually have liquid-crystal displays (LCD) as output in place of historical light-
emitting diode (LED) displays and vacuum fluorescent displays (VFD); details are provided in
the section Technical improvements.
Large-sized figures are often used to improve readability; while using decimal
separator (usually a point rather than a comma) instead of or in addition to vulgar fractions.
Various symbols for function commands may also be shown on the display. Fractions such as
1
⁄3 are displayed as decimal approximations, for example rounded to 0.33333333. Also, some
fractions (such as 1⁄7, which is 0.14285714285714; to 14 significant figures) can be difficult to
recognize in decimal form; as a result, many scientific calculators are able to work in vulgar
fractions or mixed numbers.
Memory
Calculators also have the ability to store numbers into computer memory. Basic calculators
usually store only one number at a time; more specific types are able to store many numbers
represented in variables. The variables can also be used for constructing formulas. Some
models have the ability to extend memory capacity to store more numbers; the
extended memory address is termed an array index.
Power source
Power sources of calculators are: batteries, solar cells or mains electricity (for old models),
turning on with a switch or button. Some models even have no turn-off button but they provide
some way to put off (for example, leaving no operation for a moment, covering solar
cell exposure, or closing their lid). Crank-powered calculators were also common in the early
computer era.
Key layout
The following keys are common to most pocket calculators. While the arrangement of the digits
is standard, the positions of other keys vary from model to model; the illustration is an example.
Usual basic pocket calculator layout
MC MR M− M+
C ± % √
7 8 9 ÷
4 5 6 ×
1 2 3 −
0 . = +
MC or CM Memory Clear
MR, RM, or
Memory Recall
MRC
M− Memory Subtraction
M+ Memory Addition
C or AC All Clear
Clear (last) Entry; sometimes called CE/C: a first press clears the last entry (CE), a
CE
second press clears all (C)
÷ Division
× Multiplication
− Subtraction
+ Addition
. Decimal point
√ Square root
= Result
Internal workings
Unit Function
When a calculator is powered on, it scans the keypad waiting to pick up
Scanning (Polling) unit
an electrical signal when a key is pressed.
Encoder unit Converts the numbers and functions into binary code.
They are number stores where numbers are stored temporarily while
X register and Y register doing calculations. All numbers go into the X register first; the number
in the X register is shown on the display.
The function for the calculation is stored here until the calculator needs
Flag register
it.
The store where numbers can be stored by the user. User memory
User memory (RAM)
contents can be changed or erased by the user.
Arithmetic logic The ALU executes all arithmetic and logic instructions, and provides the
unit (ALU) results in binary coded form.
Clock rate of a processor chip refers to the frequency at which the central processing
unit (CPU) is running. It is used as an indicator of the processor's speed, and is measured
in clock cycles per second or the SI unit hertz (Hz). For basic calculators, the speed can vary
from a few hundred hertz to the kilohertz range.
Example
A basic explanation as to how calculations are performed in a simple four-function calculator:
To perform the calculation 25 + 9, one presses keys in the following sequence on most
calculators: 2 5 + 9 = .
When 2 5 is entered, it is picked up by the scanning unit; the number 25 is
encoded and sent to the X register;
Next, when the + key is pressed, the "addition" instruction is also encoded and
sent to the flag or the status register;
The second number 9 is encoded and sent to the X register. This "pushes" (shifts)
the first number out into the Y register;
When the = key is pressed, a "message" (signal) from the flag or status
register tells the permanent or non-volatile memory that the operation to be done is
"addition";
The numbers in the X and Y registers are then loaded into the ALU and the
calculation is carried out following instructions from the permanent or non-volatile
memory;
The answer, 34 is sent (shifted) back to the X register. From there, it is converted
by the binary decoder unit into a decimal number (usually binary-coded decimal),
and then shown on the display panel.
Other functions are usually performed using repeated additions or subtractions.
Numeric representation
Main article: Binary-coded decimal
Most pocket calculators do all their calculations in BCD rather than a floating-point
representation. BCD is common in electronic systems where a numeric value is to be
displayed, especially in systems consisting solely of digital logic, and not containing a
microprocessor. By employing BCD, the manipulation of numerical data for display can be
greatly simplified by treating each digit as a separate single sub-circuit. This matches much
more closely the physical reality of display hardware—a designer might choose to use a
series of separate identical seven-segment displays to build a metering circuit, for
example. If the numeric quantity were stored and manipulated as pure binary, interfacing to
such a display would require complex circuitry. Therefore, in cases where the calculations
are relatively simple, working throughout with BCD can lead to a simpler overall system
than converting to and from binary.
The same argument applies when hardware of this type uses an embedded microcontroller
or other small processor. Often, smaller code results when representing numbers internally
in BCD format, since a conversion from or to binary representation can be expensive on
such limited processors. For these applications, some small processors feature BCD
arithmetic modes, which assist when writing routines that manipulate BCD quantities.[3][4]
Where calculators have added functions (such as square root, or trigonometric functions),
software algorithms are required to produce high precision results. Sometimes significant
design effort is needed to fit all the desired functions in the limited memory space available
in the calculator chip, with acceptable calculation time.[5]
The fundamental difference between a calculator and computer is that a computer can
be programmed in a way that allows the program to take different branches according to
intermediate results, while calculators are pre-designed with specific functions (such
as addition, multiplication, and logarithms) built in. The distinction is not clear-cut: some
devices classed as programmable calculators have programming functions, sometimes
with support for programming languages (such as RPL or TI-BASIC).
For instance, instead of a hardware multiplier, a calculator might implement floating
point mathematics with code in read-only memory (ROM), and compute trigonometric
functionswith the CORDIC algorithm because CORDIC does not require much
multiplication. Bit serial logic designs are more common in calculators whereas bit
parallel designs dominate general-purpose computers, because a bit serial design
minimizes chip complexity, but takes many more clock cycles. This distinction blurs with
high-end calculators, which use processor chips associated with computer and embedded
systems design, more so the Z80, MC68000, and ARM architectures, and some custom
designs specialized for the calculator market.
History
Precursors to the electronic calculator
Main article: Mechanical calculator
See also: Human computer
The first known tools used to aid arithmetic calculations were: bones (used to tally items),
pebbles, and counting boards, and the abacus, known to have been used
by Sumeriansand Egyptians before 2000 BC.[6] Except for the Antikythera mechanism (an
"out of the time" astronomical device), development of computing tools arrived near the
start of the 17th century: the geometric-military
compass (by Galileo), logarithms and Napier bones (by Napier), and the slide
rule (by Edmund Gunter).
In 1642, the Renaissance saw the invention of the mechanical calculator (by Wilhelm
Schickard[7] and several decades later Blaise Pascal[8]), a device that was at times
somewhat over-promoted as being able to perform all four arithmetic operations with
minimal human intervention.[9] Pascal's calculator could add and subtract two numbers
directly and thus, if the tedium could be borne, multiply and divide by repetition.
Schickard's machine, constructed several decades earlier, used a clever set of
mechanised multiplication tables to ease the process of multiplication and division with the
adding machine as a means of completing this operation. (Because they were different
inventions with different aims a debate about whether Pascal or Schickard should be
credited as the "inventor" of the adding machine (or calculating machine) is probably
pointless.[10]) Schickard and Pascal were followed by Gottfried Leibniz who spent forty
years designing a four-operation mechanical calculator, the stepped reckoner, inventing in
the process his leibniz wheel, but who couldn't design a fully operational machine.[11] There
were also five unsuccessful attempts to design a calculating clock in the 17th century.[12]
The 18th century saw the arrival of some notable improvements, first by Poleni with the
first fully functional calculating clock and four-operation machine, but these machines were
almost always one of the kind. Luigi Torchi invented the first direct multiplication machine
in 1834: this was also the second key-driven machine in the world, following that of James
White (1822).[13] It was not until the 19th century and the Industrial Revolution that real
developments began to occur. Although machines capable of performing all four arithmetic
functions existed prior to the 19th century, the refinement of manufacturing and fabrication
processes during the eve of the industrial revolution made large scale production of more
compact and modern units possible. The Arithmometer, invented in 1820 as a four-
operation mechanical calculator, was released to production in 1851 as an adding machine
and became the first commercially successful unit; forty years later, by 1890, about 2,500
arithmometers had been sold[14] plus a few hundreds more from two arithmometer clone
makers (Burkhardt, Germany, 1878 and Layton, UK, 1883) and Felt and Tarrant, the only
other competitor in true commercial production, had sold 100 comptometers.[15]
It wasn't until 1902 that the familiar push-button user interface was developed, with the
introduction of the Dalton Adding Machine, developed by James L. Dalton in the United
States.
In 1921, Edith Clarke invented the "Clarke calculator", a simple graph-based calculator for
solving line equations involving hyperbolic functions. This allowed electrical engineers to
simplify calculations for inductance and capacitance in power transmission lines.[16]
The Curta calculator was developed in 1948 and, although costly, became popular for its
portability. This purely mechanical hand-held device could do addition, subtraction,
multiplication and division. By the early 1970s electronic pocket calculators ended
manufacture of mechanical calculators, although the Curta remains a popular collectable
item.
Development of electronic calculators