• Generality
  • Details
  • PSU

Let us start from the HP-25 basic schematic published by HP in the Nov. 1975 HP Journal edition and see HPJournalwhat we can discover.

1) First the machine used a 12 digit display (8 LED anodes scanned by an Anode driver, and 12 'digits' scanned by a Cathode driver, the latter being used also to scan the keyboard's 7 columns.

2) It used a new microprocessor named 'Arithmetic an Control Timing (ACT), instead of 2 chips in the Classic series.

3) It had 2 ROM chips (one being included in the Anode driver chip) and one RAM chip to store data and programs.

4) It had more (8) internal registers than the Classics.

5) It could hold 2 'return addresses' thus handling 2 subroutine calls at the microcode level.

6) Its Power Unit used 3 voltages built from the 2 NiCd (2 x 1.2V) : Vss= +6V, Vgg= -12V for the MOS chips and a new Vdisp= 4V used by the display.

Comparing this arrangement with the HP-35, 45, 55, 65, there are no TTL source clock and thus no need to transform it into a MOS clock, in a special chip.

The ACT is building itself the 2 phase clock for the PMOS chips (MOS technology requires a 2 phase clocking strategy to avoid clock skew problems).

The bus is also simplified : 4 lines : the clock's 2 phases, the Sync line and a new line names Isa multiplexing addresses and data on the system time word.

The Power on logic is also included in the ACT and only a few analog elements (4 resistors - only 2 are shown on the HP sketch, 2 capacitors, 1 inductor) are needed along with the 5 chips : ACT (PMOS), ROM1 (PMOS), RAM (PMOS) ROM0 and Anode driver (PMOS) and Cathode driver (bipolar).

The box named 'Power Supply' had a lot of analog elements, as in the older generation.

I started with these data to conduct the retro analysis of the series.

Obviously a few real machines on my bench spoke more, when 'questioned' a little bit.

Note that there is -this time- no big help like the US Patent 4,001,5692, for the HP-45 (with an object and source ROM listing, keyed in by Eric Smith in 1995).

There are 2 patents related to the HP-25, one is #3,987,290, 0ct 19, 1976, granted to Peter D. Dickinson for a "Calculator apparatus for displaying data in engineering notation", the other is #4,177,520 for a 'Calculator apparatus having a single-step key for displaying and executing program steps and displaying the result', granted to Randall B. Neff.

The latter had a partial ROM listing (4 pages and a half) but no electrical description.

The way the ACT was operating was deduced by analogy to the couple C&T + A&R and by the study of the signals coming out of it.

Two previous study were priceless. Tom NAPIER described back in 1978 the machine time word of the HP-67 (the Woodstock Masterpiece) and commented part of the ROM, and Eric SMITH wrote 'NonPareil' a ROM image emulator for the Classic and Woodstock.

The HP 25 and Woodstock instruction set is not completely new. In fact, it is an extension of the HP-35’s set. It is now completly deciphered and I wrote emulator of the HP-67 is running faithfully the ROM image code (with the operations of the card reader).

As far as the HP-21 and HP-25 are concerned I will comment in this series a portion of it (with a ROM image emulator).

All the electrical signals coming out the system show a real ressemblance with the older generation as the PMOS technology was kept.

But sometimes big differences appear driven by the fast pace of technology evolution. As a result of the integration level progress, we have here one chip for the processor and much more ROM states to store a much complex firmware.

The need for more room implied a larger address 'space'. That's why we have here 12bits instead of 10 in the Classic series and a new instruction set (an extension to be exact) to make 'programmability' easier.

The 65 and 55 were programmable and they use the instruction set of the 35.

But with the Woodstocks, HP introduced a real computed “goto” presented as the key of a programmable calculator (partial content of register A is taken as the next microprogram address).

The Woodstock have also the instruction “delayed rom x” which was meant to ease system programmation but not obviously disassembling.

At a memory address, a Woodstock disassembler does not know statically to which rom the code belongs since a "delayed rom X" could be encountered earlier. Only a 'test run' can gather all the information.

Fortunately, I have sourced and will comment a complete assembly code with labels.

But let's start with the hardware. Here is the full schematic of a HP-25 (sorry the CAD version is late).

HP25 Schematic

There are 3 chips in the HP-21 (ACT , Anode Driver + ROM, Cathode Driver) and 5 in the HP-25 (one extra ROM and the RAM chip).

The ACT is the heart of the system. It is a complete micro calculator on a chip, with a sequencer (as in the C&T circuit) and an ALU. It needs 2 voltages : Vgg (-12V) and Vss (6V).

It provides for the rest of the system the following signals,
- 2 phase clock (phi1 and phi2),
- POR (Power on Reset)
- SYNC (Address word are on ISA bus)
- ISA (Address, Data and Display bus).

The ACT's system counter is used to scan the keyboard (columns lines) ; the rows being scanned by the Cathode driver.

An important point: the bridge between the ACT (points A1-A9) side and the Cathode driver side (B2 to B9) is made by the keyboard itself (see photo 1).

HP25 PCBs

From Bottom to top :
- the keyboard PCB (2 pieces heat staked),
- the LED PCB,
- the Main PCB.

Connector B = the 9 pins named B1 to B9 on the schematic :
B1 is linked with A2 (see PSU schematic),
B8 linked to A1 (Vss),
B2 to B9 are linked to the keyboard 7 rows.

Connector A = the 9 pins named A1 to A9 on the schematic :
- A1 is Vss linked to B8,
- A2 is wired to the ON/OFF switch, and if ON, A2 and A9 are linked to B1,
- A3 to A8 are linked to the keyboard 5 columns.

I have reproduced below (Fig 3) the PSU's schematic already published on this site.

Part numbers and connector pin naming are coherent with the present work (at least I tried).

Note on photo 1, the big 8.2 Ohm Carbon Composition resistor and the rectifier diode D7.

The 2 battery contacts are also visible.
When the ON/OFF switch is open (OFF), a circuit exists to charge the 2 NiCD : D7 > R4 > A2 > NiCD > Gnd.
When the machine is ON, another circuit provides current directly to the system : D7 > A9 > B1.

When the calculator is turned to the programming mode (PRGM) on the HP25 or to the DEG mode on the HP-21, Vss is brought via B1 to A3 (ACT's flag 2).

 

HP25_KBDOn photo 2 the keyboard of a HP25 is shown :
- front and back (the 2 pictures on the right),
- and also the heat staked sandwich being separated, on the left.

On these left pictures, the keyboard PCB (front view) is very similar to that of the HP-35.

The “Cricket” keyboard with the famous "tactile feedback" is still there. A curved strip of metal is raised at key location to form a 'hump' right over a printed-circuit running underneath

Pressing the key, will depress the 'hump' and snap the metal down making contact.

The strips are spot welded to the circuit board and a matrix of traces (rows and columns) is organized.

Keyboard scanning is done by the ACT for the columns (using the system master counter) and by the Cathode Driver for the rows (while scanning a row at a time).

The “Debouncing” action is still handled by the firmware.

The 2 calculators used only 3 voltages:

- Vss @ 6V DC,
- Vgg @ -12V DC and
- Vdisp @ 4V DC for the display circuits.

HP25_PSU

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The DCDC converter has already been discussed on this site. It is a simple blocking oscillator based on 2 NPN transistors:
- one Q2 on the schematic is forming the blocking oscillator (winding B and A and capacitor C1),
- the other Q3 being with the Zener diode D1 the regulator circuit.

This part is rather standard in HP calculators.

The battery charger is more rock and roll.

A simple transformer (10 V AC) is providing current to a diode D7 and a resistor R4 which is connected to the positive pole of the 2 NiCD battery cell.
The charging current is around 125 mA., from point A2 to gound through the NiCD.

Note that the batteries are forming a clamping circuit, keeping A2 @2.5 DC.

If HP project leaders asked for a cheap charger, they sure got it with this one!

It worked and sometimes still works, but prey for a good contacts at battery connectors, which happen to be the weakest part of the machine's PSU when age comes with corrosion etc ....

If the circuit through the NiCd is open, the clamping effect no longer exist bringing point A2 to a higher -and possibly fatal- potential.

The PCB layout around the 2 NiCd batteries can be divided in 4 parts (see photo 3) :

- the ACT side with the ACT (U1), the ROM (U2), and the RAM (U3) chip,
- the display side (left), with the Cathode (U5) and Anode Drivers with ROM (U4) and the 12 LED PCB that plugs in the 12 pins connector,
- the PSU side (bottom) the DC-DC converter (17 discrete components),
- and top the rectifier diode D7 and the 2W, 8.2 Ohm R4 resistor that form together the current source to charge the batteries (the 10V AC connector is the 2 golden ring plug near the cathode driver). Note that the protective diode D8 is mounted only in the HP-25.

 

HO25_LAYOUT

Now, the whole story in details.