Tuesday, November 24, 2026

Redesigned Power board for easier wiring and to further block any battery draining when the system is unplugged from the building for long periods

NORMAL MODE HAS THE IBM 1130 HOOKED TO BUILDING POWER AT ALL TIMES

The Virtual 2315 Cartridge Facility (V2315CF) is designed to hook to an IBM 1130 computer which is plugged into the building power mains at all times. A utility outlet inside the 1130 system provides access to 120V AC at all times, often used to power an oscilloscope while an engineer is diagnosing hardware failures.

The V2315CF substitutes mini 2315 cartridges for the full sized IBM 2315 Disk Cartridge that slides into the internal 2310 disk drive. Rather than reading and writing data from the 14" magnetic platter inside the 2315 cartridge, the V2315CF accesses a file on a microSD card inside the mini cartridge. It holds that data in RAM while the 1130 system reads and writes to it. When the user switches off the disk drive, the data is written back from RAM into the microSD card so that all changes during the current session are saved just as they would be had a 2315 cartridge been used in an unmodified 1130 system.

There was a risk that an abrupt power down of the 1130 before the user turned off the disk drive would lose any changes from the current session since it wouldn't have written the RAM back to the microSD card. Further, a power failure in the building might occur, leading tot he same loss. Other situations where a power supply in the 1130 fails would similarly threaten the persistence of data written to the disk drive. 

To protect against the loss of data in those situations, I designed the V2315CF to keep a 12V lead acid battery charged and ready. If power drops for any reason while the V2315CF believes a cartridge is loaded and being used, the system will switch over to the battery and trigger itself to perform a quick write of the RAM contents out to the microSD card. 

The utility outlet is connected to a smart battery charger which maintains the 12V battery at full charge as long as the building power is available. A relay timer switches the V2315CF components over to the battery as soon as the 12V supply from the 1130 drops, keeping the battery connected for about 40 seconds which is plenty of time to save the current sessions version of the cartridge back to the microSD card. 

ISSUES WHEN THE 1130 IS DISCONNECTED FROM THE BUILDING FOR LONG PERIODS

I found that when I was away from the workshop for many days, the battery was being drained because the 1130 is not plugged into the wall when I am not there, so the battery charger was not topping up the battery. In fact, the voltage drops over time because of two things draining power when the building is not connected.

The timer relay that connects the battery to the V2315CF for 40 seconds must be powered from the battery in order to remain active for the 40 seconds. It is pulling 5 to 10 ma from the battery continuously when the system is not on. 

The smart/trickle charger is also draining the battery when it is not connected to 120V, as when the 1130 system is disconnected from wall power. I believe this is in the range of 10 to 20ma. 

Since the battery only has a 7.2 amp-hour capacity, the battery would be fully drained in ten days with a 30 ma drain, but even after four or five days its voltage drops enough to cause problems when the 1130 is first powered up. The timer relay oscillates and the V2315CF won't come up. 

IMPROVED DESIGN DISCONNECTS THE BATTERY WHEN UNHOOKED FROM BUILDING

I wanted to stop both of those drains if I don't see 120V on the utility outlet, which means that the 1130 is disconnected from the wall, the building power has failed, or some malfunction has occurred with the utility power source in the 1130. This cannot occur during the 40 seconds when the system is properly responding to an unexpected power drop and doing its write of RAM to the mini cartridge. 

I have a circuit that monitors the 120V coming from the utility outlet. When that drops, the circuit continues to keep the battery connected for about 90 seconds, then disconnects the negative terminal of the battery from the rest of the circuitry. This isolates the battery so that the only loss of power will be from internal draining that can't be avoided with these types of batteries, but blocks the 30ma of demand that would otherwise be imposed on the battery.

I REDESIGNED THE POWER PCB TO ACCOMODATE THIS AND TO MAKE WIRING EASIER

I added another ten screw terminals to the board, to that every wire in the power system goes directly to one point. It eliminates the junctions that I soldered together to bond multiple wires since the previous version of the board didn't have enough terminals. 


The board is off to be fabricated at JLCPCB and the components for the new disconnect circuit - a MOSFET, an optoisolator, a CD4093 Schmitt Trigger, and some timing components - are on order from Digikey. Once it arrives I will update the two V2315CF installations I have built. 

Finding issues while testing, leading to rebuild of the main cable between 1130 and Virtual 2315 Cartridge Facility

FINDING THAT A READ FROM THE V2315CF HANGS, NEVER GETS DATA

I did a test with the Virtual 2315 Cartridge Facility (V2315CF) where I issued an XIO instruction asking to read a sector from the virtual disk into memory of the IBM 1130, but the read never finished. Looking at the signals with the logic analyzer, I saw that the -Read Data and -Read Clock lines didn't deliver any data, which is why the disk controller logic of the 1130 was hanging waiting on the first data bit. 

The oscilloscope shows a clean signal coming out of the V2315CF main unit, but a flatline as the signal entered the 1130 logic circuits at compartment C1 of logic gate A. These are two of five signals that pass through my new Signal Conditioner board which is installed in the path of the signals. Other signals coming through that board on other channels are working perfectly - for example, the -Sector Marker signal is clean and perfect. 

The first signal I watched, -Read Clock, was clean going out of the V2315CF. The second signal, -Read Data, had a weird ringing up at the five volt level. I chose to believe that the way I hooked up the ground wires of the five intercepted signal was introducing crosstalk from the first signal, based on the relative timing of the two.  I took a shortcut that I shouldn't have. 


Each of the signals in the main cable are a pair of twisted wires, with one hooked to ground and the other carrying the signal. Routing the signal to my board involved cutting the signal carrying wire, then soldering a new twisted wire segment to each side. Each of the new twisted wire segments has a ground wire twisted with the signal wire. 

Rather than cutting each of the five signal's ground wires and hooking that to the ground wires of the new segments, I tied all the ground wires of the 5x2 new segments to one of the ground wires in the main cable, a ground for a specific signal. I think it would be better to have the ground wire of each of the five signals tied to the ground wires of its two new segments.

REBUILDING THE MAIN SIGNAL CABLE FROM THE IBM 1130 TO THE V2315CF

I removed the cable and brought it to the workbench, unwrapping all the covering. I gathered the two ground wires of each input and output segment together, located the ground wire in the main cable for that signal and cut it, then soldered the four wires together. I repeated this for each of the five signals. New wrapping was then applied after testing the cable. 


STILL NEED TO DETERMINE WHY THE SIGNALS GOING INTO THE 1130 WERE DEAD

The input signals I see on the scope are perfect for the Schmitt Trigger functionality of the Signal Conditioner board. Each channel should be producing a very clean logic signal going into the 1130. It could be that the particulars of the circuit that these feed require some adjustment to the pullup resistor or output transistor for the channel, or something could be wrong with the channel on the Signal Conditioner board. Experimenting needed. 


Saturday, November 21, 2026

Built temporary version of Signal Driver board for Virtual 2315 Cartridge Facility for testing

WAITING ON PCBS AND PARTS FOR NEW BOARD

The design for a board that accepts signals generated by the IBM 1130 disk controller logic and redrives them cleanly to the 74LVC244 receiver chips in the Virtual 2315 Cartridge Facility (V2315CF) was completed and is in the fab now being produced. The parts orders were placed for the components as well. 

TEMPORARY VERSION COULD BE BUILT USING SIGNAL CONDITIONER PCB BLANK

Because the circuit is close enough to the Signal Conditioner board that I already built to take signals coming from the V2315CF and condition them just before they enter the 1130 circuits, I realized that I could slightly modify the PCB blank I have for the Signal Conditioner to make the new circuit for testing. 

This would require the removal of the pullup resistor on the output transistor, a change in the values of the two resistors on the operational amplifier, and a change in the reference voltage source. I could use a simple voltage divider, a pair of resistors, to output 1.6V as the reference. 

NOT ENOUGH COMPONENTS IN HOUSE, HAD TO SCROUNGE FOR ALTERNATIVES

I discovered that I did not have enough of the operational amplifier and MOSFET chips on hand to build even a single channel on the temporary board. I had all the rest, but this was a snag that blocked me from early testing.

I hunted through my parts to find a substitute for both. The operational amplifier wasn't that critical, however the challenge was finding one with the same footprint and pin assignment. I didn't have any surface mount N channel MOSFETs, but did have a through hole part.

The op amp I selected, an LM365, has a 8 pin package with different pin arrangements, whereas the original part is a five lead SOT-23 package. This would require fancy wire jumpers and an insecure attachment to the PCB. I clipped the extraneous pins off the new op amp before putting it down on the board, finding two pads that roughly lined up so that there was solder to hold it in place, then added small wire jumpers between the pins and the pads on the PCB. 

The MOSFET I selected, a 2N7000, came in a TO-92 plastic package. I bent the leads and tack soldered them on the board to put in in place of the surface mount original from the design. It is quite insecure but I hope it will hold together long enough to do some testing.

I added a 470 ohm resistor from the output pad on the board where the 2.5V reference voltage source chip originally was installed. This works with the 1K resistor from the 5V regulator to generate roughly 1.6V to the negative input terminals of the op amps, providing the offset needed to cause the Schmitt Trigger levels to be approximately 2.2V going up and 0.55V going down. 

Ugly hack to use substitute parts

ORDERED ADDITIONAL COMPONENTS TO MAKE THE SIGNAL CONDITIONER BOARD

Because I was short on op-amp and MOSFET parts, I wouldn't be able to build the second Signal Conditioner board necessary for the second installation of my V2315CF. I found that the chip I had used, AD8605, was now out of stock and not available until late January. I hunted through substitutes and found that the NCS20166 has the same pin assignments, footprint, and was sufficiently alike that I could use that for the Signal Driver and the second Signal Conditioner boards. 

WORKSHOP UNAFFECTED BY FLOODING, ACCESS RESTORED

The flood waters receded enough to easily reach my workshop and verify that it was untouched by the rising waters. I am back in there working to the extent that my family and other obligations permit.

Friday, November 20, 2026

Method to insert the Signal Driver board into the Virtual 2315 Cartridge Facility

WAITING FOR PCB AND PARTS TO BUILD SIGNAL DRIVER BOARD

There are seven signals coming from the 1130 that need to be conditioned and driven into the Virtual 2315 Cartridge Facility (V2315CF). A few of them operate in two different ways depending on whether the V2315CF is running in virtual or real mode. In real mode, the signal from the 1130 is electrically connected to the signal wire running out to the IBM 2310 internal disk drive in the 1130 system. Additionally, the V2315CF snoops on that signal so that it can stay in sync or shadow what the 2310 disk is doing. In virtual mode, the 1130 signal only runs to the V2315CF. This produces very different impedance and voltage levels based on the mode. 

I designed a Schmitt Trigger circuit to clean up signals coming from the IBM 1130's Solid Logic Technology (SLT) circuitry that has to be detected by the V2315CF. Because of the challenges of impedance matching and ensuring adequate signal swing from an SLT output to a modern 74LVC244 receiver chip as installed on the V2315CF, I chose to put this new circuit in the signal line. 

This circuit has an open collector output so that the terminator board can implement the appropriate impedance for signals entering the V2315CF. It is set to switch the output to logic 0 only when the input signal voltage drops below 0.55V and won't switch back to logic 1 until the input voltage rises to 2.2V. Any movement between 0.55 and 2.2V will not change the output signal at all; this hysteresis is what cleans up the incoming signal from the 1130. 

SIGNAL PATH FOR THE V2315CF

Signals run in and out of the IBM 1130's SLT circuits situated in compartment C1 of logic gate A of the system, going over twisted wire pairs in a cable that originally was plugged directly into the SLT circuits in the rear of the 2310 disk drive. The cable is plugged into the 2310 Interface Board of the V2315CF instead of the disk drive. 

A cable of twisted wire pairs runs from the SLT circuits of the 2310 disk drive to the 2310 Interface Board. Both the 1130 to 2310 Interface Board cable and the 2310 to 2310 Interface Board cable end with an SLT card connector, which is a 12 row by 2 column female connector. 

On the 2310 Interface Board, the signals from both cables are routed to a pair of ribbon cables which carry those signals up to the main unit of the V2315CF. The signals that the V2315CF will read are hooked to a 74LVC244 receiver chip, while the signals coming out of the V215CF are hooked to a SN75451 chip which has open collector outputs. The ribbon cables run to a connector board that plugs into the V2315CF. 

All the signals on the ribbon cables have the potential to have termination resistors applied to them. A PCB plugs into the rear of the V2315CF where there are spots for a pullup and a pulldown resistor for each signal line. The pullup goes to +5V and the pulldown is to ground. 

On the DEC computers for which George Wiley designed the RK-05 Emulator that I based the V2315CF on, each signal has a 178 ohm pullup and a 383 ohm pulldown, implementing a voltage of about 3.4V when the SN75451 is not conducting and 0V when the open collector is active. The impedance is around 121 ohms since the DEC bus is based on that value. 

To match the ribbon cables, however, the impedance should be closer to 100 ohms. Changing the resistors to 169 ohms pullup and 249 ohm pulldown, the impedance is around 100 ohms and the idle voltage is about 3V, which is the nominal logic high voltage for SLT circuits. 

The connector board with the ribbon cables that run between the 2310 Interface Board and the V2315CF main unit routes these to the backplane of the V2315CF main unit which has two connectors each with 18 columns and 2 rows, labeled A and B. 

There are a few special signals that connect to the 2310 Interface Board which don't come from the 1130 or the 2310 twisted wire cables. These are directly wired to their destinations, but then run over the ribbon cables to the V2315CF main unit. 

HANDY POINT TO INTERCEPT SIGNALS ON THE CABLE CONNECTOR BOARD

The connector board for the V2315CF main unit is pretty simple. It has two ribbon cable connectors and the male fingers to plug into the 18x2 backplane connectors A and B. Traces run between ribbon and backplane connectors. It also features holes that allow wires to be soldered to each of the signals, which is a very handy feature I exploit. These holds are close to the fingers of the backplane connectors. 

Ribbon cable connector pins are inputs, bottom holes are outputs

If I cut the trace on the connector board that connects the ribbon cable pin to the backplane finger for a given signal, then I can fit the Signal Driver board into the circuit. Tack soldering a wire to the ribbon cable connector pin for a given signal provides access to the input for a channel of the Signal Driver board. The output of that channel can be soldered into the holes for the signal thus driving that signal into the 74LVC244 circuit of the V2315CF. 

The work all takes place on the underside of the connector board. I worked out where to capture the inputs of the seven signals, where to cut their traces on the board and where to solder in the output wires for those signals. 


The view above is of the underside of the PCB, produced by viewing the gerber files for the connector board because I don't have the original PCB design files for the board. I numbered the signals assigned to the seven channels of the new Signal Driver board:

  1. -Write_Data_Clock_L which is the mixed clock and data pulses during a write to the disk
  2. -Access_10_20_Mil Step determines whether we move the disk arm 1 or 2 steps
  3. -Access_Rev_Direction determines whether the disk arm moves toward cylinder 0 or 202
  4. -Access_Go requests that the disk move the arm the amount and direction set above
  5. -Head_Select choses whether the head accesses the upper or lower surface of the disk platter
  6. -Read_Gate activates a read operation for a given sector of the disk
  7. -Write_Gate activates a write operation for a given sector of the disk

Thursday, November 19, 2026

Developed a complementary Schmitt Trigger device for signals from the 1130 to the Virtual 2315 Cartridge Facility

THE ORIGINAL SLEDGEHAMMER PRODUCED PERFECT SIGNALS - I WAS INSPIRED

The Signal Conditioner board I built uses a Schmitt Trigger design with very wide hysteresis so that bouncing signals, undershoots and other consequences of the difficult to control signal path are hammered into submission, giving me clean signals that feed into the IBM 1130 logic circuits. I am sitting around in my home watching the incessant rain, seeing most of the local roads flooded around me so that traveling outside is foolhardy. I had plenty of time on my hands.

I thought about the tweaking and adjusting I have been doing for signals going the other direction - produced by the 1130 logic circuits and received in the FPGA of the Virtual 2315 Cartridge Facility (V2315CF). One devilish complication is that the V2315CF operates in two modes. One mode makes use of the internal 2310 disk drive of the 1130 to move the disk arm and to produce the sector and index marker pulses that delineate the four sectors/slices as the disk rotates. The other mode completely emulates the 2310, generating the timing pulses and pretending to move the disk arm with fidelity to the timing of the real disk drive. 

This means that sometimes a signal is produced by Solid Logic Technology (SLT) circuits in the 2310 and routed to the 1130 SLT circuits, with the V2315CF simply watching the signals so that it can stay in sync with where the disk arm has moved. Other times, the signal is generated by the FPGA and sent to the 1130. 

Since SLT logic is a version of Diode Transistor Logic with lots of peculiarities, interfacing it with modern technology like the 74LVC244 receiver chips and 75451 open collector drivers is not straightforward. Then, the impedance of the signal paths is a huge mess, consisting of many different segments of travel with their own impedance and signal transfer characteristics. There are twisted wire pairs, ribbon cables, wire warp wiring, traces on various boards, pins and connectors. 

A NEW SLEDGEHAMMER COULD RESOLVE SIGNALS IN THE REVERSE DIRECTION

I could use a similar design to deal with the signals coming into the V2315CF. The hysteresis would allow me to recognize the state of signals and produce a modern clean signal for the FPGA to sample. In particular, when the V2315CF is in its real mode, making use of the 2310 disk drive to create many signals, I simply bridge the 2310 signal to the outgoing wires to the 1130, but also watch them in the V2315CF for the purposes of staying synchronized. 

Thus, the SLT logic of the 1130 produces signals that the SLT logic of the 2310 are designed to receive properly, and the new board could clean those up to work well with the FPGA. All the signal path characteristics between the 2310 and the 1130 are already handled by the IBM designers, so that will work as it did before the V2315CF was inserted into the path. 

In the virtual mode, where the 2310 is not producing the signals, the 75451 chip and terminator resistors in the V2315CF are responsible for detecting the signals coming from the 1130, without the 2310 circuits connected to them. This changes the impedance and other factors, which made it a challenge to find termination values that worked for both modes. 

Since the V2315CF needs the incoming signals to work properly in either mode, the sledgehammer design can handle either wiring path and produce exactly the same signals going into the FPGA. There are a few minor changes from the sledgehammer (Signal Conditioner) board I used for signals from FPGA to 1130.

CHANGES FOR THE REVERSE DIRECTION SIGNAL CONDITIONING

The original Signal Conditioning board creates a 0 or 3V signal compatible with SLT input gates. The new board, which I will call a Signal Driver board, has to produce signals that are compatible with a 74LVS244 receiver chip. I also modified the thresholds so that it switches on when the signal reaches 2.2V on the way up and won't switch back off until the signal drops below 0.65V on the way down towards zero. 

Changing the thresholds requires a different reference voltage, which meant a different chip that produces 1.6V instead of the 2.5V used in the original board. Then the two resistors on the op amp are changed to achieve the thresholds. The op amp swings dramatically between the 0 and 5V rails at the thresholds. 

The op amp output is buffered by a MOSFET so that the op amp is not loaded down at all. The MOSFET then drives an open collector transistor circuit. The terminator resistors establish the pullup for that open collector output. 

Finally, there are seven signals that come from the 1130 that I need to handle with the board, but the original Signal Conditioner is a five channel board. I expanded to seven channels.

WHIPPED UP A PCB DESIGN AND SENT IT OFF TO THE FAB

I completed the Signal Driver board and uploaded it to JLCPCB.com where it is being produced. I also created a Digikey order for the extra components to go on the board. I did order extras of some of the parts for the Signal Conditioner board, since the price was cheaper that way. However, others such as the unique resistor values for the Signal Driver board had to be ordered. I also needed the new voltage reference chip and the seven pin headers to accommodate the additional channels. 



Time in workshop limited by two waves of flooding in the space coast of Florida

HOME AND WORKSHOP IN BREVARD COUNTY ALONG THE COAST

My home is in Satellite Beach, a bit south of Cape Canaveral and one of the beach communities around Melbourne Florida. My workshop is nearby in Indian Harbour Beach, also on the coast. 

EXTREME RAINFALL AND FLOODING EVENTS BACK TO BACK

Last week we had a "thousand year" level of rain (0.1% of occurring in any year), resulting in substantial flooding in the area and closure of roads, schools, businesses and government. Once again this week, we are having the same level of unprecedented rainfall leading to similar flooding levels. The Saint Johns river that is on the mainland to the west of us has exceeded its highest every recorded level, yet we have two full days of rain to come. 

Both my home and my workshop are at local high points that have not flooded, but the roads nearby are impacted which makes it impractical for me to travel between them. Otherwise I would be proceeding with the debugging and other wrap-up work on the Virtual 2315 Cartridge Facility. 




Last week, the floods caused a few water mains to lift underground and break, resulting in zero water pressure for the Melbourne area. We were without water for a couple of days and under a boil-water notice until the safety of the water could be determined. Hopefully that won't happen again, but we have filled one bathtub to have water to flush toilets. Our bottled water supplies are good as well. 

This is apparently the result of the very strong El Nino weather pattern in the oceans. It blocked any hurricanes from coming to Florida this year, which is a big plus, but it is also creating conditions where heavy bands of rain come in from the Atlantic and stall right over the coastline, unable to move west and therefore dumping all of their moisture in one area. I guess we get the rain amounts that a hurricane would have brought, just without the high winds and other damage. 

EXPECT TO BE BACK IN THE SHOP BEFORE THE END OF THE WEEKEND

Based on when the rains are forecast to stop, water levels should drop enough to let me safely drive to the shop before Monday. The moisture soaked clouds should be moving north along the coast, ending up passing up the east coast of the US over the coming week but leaving me alone. 

Wednesday, November 18, 2026

Refined Virtual 2315 Cartridge Facility power system to stop battery drain

POWER SYSTEM HAS 12V BATTERY AND TRICKLE CHARGER

The power system for the Virtual 2315 Cartridge Facility (V2315CF) is designed to detect when the IBM 1130 drops power and to ensure the V2315CF has about 40 seconds of power available to write back the contents of the RAM to the mini cartridge's microSD card. This ensures that any data written to the virtual cartridge is preserved after power drops. 

A motorcycle battery is maintained at 12V by a smart trickle charger that is hooked to the 1130's utility outlet. This should feed 120V to the charger at all times when the 1130 is plugged into the wall and building power is on. A detection circuit in the V2315CF will turn on a timer when the 12V rail of the 1130 switches off, connecting the battery to the V2315CF rather than the 12V rail for the planned 40 seconds. It also notifies the Raspberry Pi PICO in the V2315CF so that if a virtual cartridge was in use and is not marked read-only, the unit will do an emergency unload of the data back to the cartridge. 

DISCOVERED ISSUE WHEN I WAS AWAY FROM THE SHOP FOR SEVERAL DAYS

When I returned to the shop after several days and powered the 1130 on, the timer began ticking away, connecting and disconnecting the battery to the V2315CF. I discovered that the battery had drained down to less than 3V. Once it was charged up, the system resumed its normal operation.

CAUSE - DRAIN FROM THE BATTERY IF THE SMART CHARGER IS NOT PLUGGED IN

The smart charger I used will pull power from the battery when it is not powered by 120V, since it is designed to be used while building power is applied. In a museum setting, I can't guarantee that the 1130 might not be unplugged for a long enough duration to have the charger drain the battery.

SOLUTION IS A RELAY TO DISCONNECT THE CHARGER WHEN 120V NOT PRESENT

The simple solution is to switch the charger to the battery through a relay, which is powered by the 120V utility output that is also powering the charger. When 120V is not present, the charger is isolated from the battery and the drain is eliminated. The only drain on the battery is internal drain that any lead-acid battery has when sitting unused for long durations, much longer than the period causing my problems.