JET BD-920N Lathe: MESA Anything IO 7I92TF Upgrade

For more than 10 years (nearly 15) I have been using this small 9×20 lathe, marketed by Jet tool company, and it has served me well, certainly earned multiple times its cost. Years back I converted it to closed-loop (0.001/0.01 mm resolution glass-scales, spindle encoder) operation, so it can do the very precise and tiny work I do without any problems. Many people may consider this lathe inferior to the big brands and expensive machinery, but well, you need to buy a machine that fits your needs, rather than just something that is expensive and heavy and has little practical use. This lathe at least can run automatically, with CNC control, machining microwave resonant cavities, antennas, all kinds of fine-thread screws and stuff with no effort, once you have written good code to control it.

The motion controller so far is based on two parallel ports, running LinuxCNC software on an old Ubuntu PC. Ubuntu 8.04 released in 2008! Finally time for some upgrade. With more recent LinuxCNC versions, and new (used) PC, it is much preferred to let the time-critical tasks be done by external hardware, namely, the step generation for the stepper motors, and the encoder counting. Both of these tasks have been working to my satisfaction on the old parallel port based real-time system (30 µs base thread, 1 ms servo thread), but the encoder counting for 3 encoders was at the limit, and fast moves or vibration of the Z axis (long axis) sometimes cause skipped steps, leading to loss of dimension reference. Needs a faster counter to capture all of the glass scale encoder transitions – something that can’t be done over the parallel port.

After some research, I settled for a Mesa 7I92TF, because this card can easily substitute two parallel ports, without any need to review the circuit and cables, and will work much faster and independent of the PC running LinuxCNC – at least independent for 1 millisecond at a time. A long time for real-time Linux, and easy to achieve without much bother.

Received the Mesa card from a dealer in Portugal, sure the tax, customs and intermediate tradesman were ripping me off – a cards just costing USD 109, sold for nearly 200 EUR here… but at least, it works! Connection to the host PC is by Ethernet, using UDP protocol.

To modify the pinout to the existing cables, I had to alter the Mesa software, fortunately, the source code is available, and even the programming tools for the FPGA – the 7I92TF uses a China-made EFINIX FPGA, available free of charge.

By default, the 7I92TF only supports one encoder, but easily changed in the software, and because I have already signal conditioning circuitry installed, no need to by even more expensive add-on cards for the Mesa.

Here are the major changes, just used an existing, similar configuration, then changed the number of step generators (only need two) and encoders (need 3).

A quick bench test, and working very well – we have three encoder counts.

The software integration to the existing HAL (LinuxCNC configuration) was easily done – just change the parallel port pins to the Mesa pins, some other minor changes to load the Mesa driver, etc. – within less than 1 hour, all done.

The old stepper drivers and interface board still working fine. Just moved the parallel cables to the inside of the case – and connected the two DB25 headers to the Mesa card. For the pin header – luckily, had a ribbon cable to DB25 adapter in my collected, probably, since childhood days when I disassembled electronic scrap to scavenge some parts – finally that part is getting some 2nd use.

Final function test on the lathe – all working. Z axis moved in and out as quickly as I could, certainly would be losing counts on the parallel port encoder counter, but not here. The Mesa seems to count even the fastest moves without skipping a step.

Also assume that the system will have very good noise immunity – no more parallel cables and galvanic connection of the driver and PC, just an (isolated-by-default) Ethernet cable, that’s it!

Tool Grinding Machine Saacke UW II NC: Fixing the Berger Lahr NI 3426 stepper control

According to my experience, failures of electronic devices have three main causes, 1, highly complex systems with inherent reliability issues because of all too many parts – these systems can only function with regular maintenance and repair, 2, high power circuits that run hot or otherwise stressful conditions, eventually, parts will fail, 3, bad design or insufficient design margin to reach lifetime expectations; even the best-designed system will eventually fail unless it is a very low power dissipation system of very low complexity (say, a telephone relais or a light switch).

Surely, for machine tools the life time expectations have been subject to change over the decade. 100 years back, a good metal working machine was made to last 100+ years, a major capital investment, and the complexity of such machines was kept low, heavy castings, and the machining done with conventional tools that had very little productivity overall – surely no comparison to the human-operated hand tools when it comes to machining metal, but also no comparison to nowadays high performance machinery. With the Saacke – a machine of quite some complexity with certainly over 1000 components, consisting of an estimated 30000+ single parts in total, 1000+ meters of wires, etc., the motors and controls have certainly held up to expectation after nearly 40 years, but the eventual failure of the NI 3426 can likely be traced to a combination of factors 2 and 3, say, the motor switching contactor selecting the Y-Z drive in combination with DC currents of 5 Amps, high inductance coils, difficult timing requirements of switching (only open or close the contactor after full decay of motor current), along with aging semiconductors and semiconductors of low design marking (e.g., C-E break-down voltage 125 V or the RCA 41013 used on the D190 current drive board, vs. 90 V operating voltage). It must have been some cost-performance evaluation at the time, along with the limitations of control systems for 4-axis control at the time, for Saacke to decide to select a single drive-two motors topology, and use one of the infeed controllers to drive either the Y or Z axis, rather than to provide drive systems and control for Y and Z individually.

A big advantage of the industrial electronics used here is their accessibility and serviceability, basically, all that would be needed are two new D190 assemblies, and you could bring back the machine to service within less than 20 minutes downtime, if you had certain Berger Lahr spare parts in stock. Barely a few hours if you had to pick them up at some Berger Lahr warehouse if you are in the South-West corner of Germany.

Their is ample free spaces in the case used to guide air through it with a big fan, keeping everything cool. The old engineers know that there is a direct correlation between operating temperature and lifetime of semiconductors!

There are the five identical current regulator cards, D190.

The “test points” for the current at the back panel – all the supply voltages, motor connections, and digital controls are routed through that panel, easily accessible for test.

Surely, Berger Lahr has long been renamed and sold to Schneider Electric, and they even don’t respond to enquires of private individuals, nor offer any service documentation for legacy equipment, as much as I can say, is a supercilious company now that has no time to devote to service of legacy products. Anyway, we are an electronics repair shop here, and fortunately, some paper documents came with the Saacke machine, including, a schematic of the D190 board – without part numbers, but at least, identifying the location of parts on the board, and a detail functional description of the circuit.

Q12, BC237B, a typical 80s NPN small signal transistor, Q16, BC251B, a small signal PNP failed, along with the power transistors, a Texas Instruments PT1132 and a RCA 41031. Also checked the Q14 transistor, PT1131, a rather rare transistor, but it seems to be just a typical fast NPN medium power transistor, nothing too special, and, it is working!

Doing some further research, also desoldered the good power transistors from the boards, and check the current gains:
PT1132, hfe: one has 30, one has 25 (anyway, these transistors are good, no need to replace)
PT1131, hfe: one has 46, one has 21
RCA 41031: one has 33, one 109(!) current gain.

Definitely, we need to use replacement that have reasonably high current gain, say, at least 20, sufficient breakdown voltage, say, more than 150 Volts, and roughly 10 Amps current carrying capacity.

The BUX41 is indeed a good choice for these, and, because these are used even by Berger Lahr on some of their newer boards, surely valid replacements. It is not quite clear why they used a combination of the RCA 41013 and PT1132 in the first place – could be because of gain, voltage ratings, or switching time considerations.

To get some BUX41 is rather easy, but prices are in the range of 5 to 15 EUR a piece, well above what I am willing to spend on a repair attempt, given that I need 8 pieces (no intention to re-use the working power transistors, because they may eventually fail or may have suffered some damage.

A kind reader of the earlier post pointed me to the “Tesla”-made devices, KUX41N, these would really be a good choice, but I would have to buy them from outside Germany, and there is no easy way to order them from Germany.

In some past project I have used power transistors of Tesla brand, and these really held up well, heavy duty cases, strong wires. They didn’t save on copper when making these.

The cheapest I could find were some BUX41 on Aliexpress. It says real but looks fake (the vendor even removed the “ST” logo on the picture”), anyway, let’s order a few.

After short waiting time, an envelope arrived with the “BUX41” transistors, and following good habbit, I had ordered 10 pieces, 8 for the repair job, 1 spare, and, one for fake analysis. These may or may not be original BUX41 dies, but it is good practice to have a look inside these to check at least the silicon area (sometimes there are just very tiny transistors inside that won’t be able to deliver the current), the heat conduction pad (sometimes absent), and the wire bonding (sometimes lousy). In my case, the BUX41 looked quite good inside.

Solid bonding wire, a strong heat conduction bag, solid case. Only the marking comes off easily, and the cases look polished/ground with sandpaper on the top.

So these must have been some generic high-power higher-voltage higher-gain NPN transistors that were then labeled BUX41.

When doing gain tests, 6 came out as 35-45, 3 as ~25, not bad. Used the higher gain transistors for the upper section of the H bridge, having the transformer driver.

Further testing the Aliexpress BUX41, I pulled out my old Harrison Laboratories 6209A 320 Volts D.C. Power Supply. With the base floating, not conduction up to the maximum voltage, roughly 325 V over the E-C junction. Also checked the RCA 41013 (good parts), and these break down at ~140 VDC.

With some fresh heat conduction paste, all the transistors mounted and soldered to the D190.

The small signal transistors, even found an original BC251B in my collection, but no BC237B – replaced it by a BC547B.

With the transistors installed, I checked all the transistors and diodes with a diode tester, to check the voltage drop, and compared it to a good assembly. Also checked all the voltages at the electrolytic caps, with the diode tester. Good practice to check for shorts.

Next, I connected the circuit to a power supply (+12 V, -8 V are needed) – the circuit is operating fine, the H bridge switching properly. Then I dared to install it back to the Berger Lahr drive, and powered it on.

One of the largest stepper motors ever on my workbench, it starts to turn. Repair success!

Also left it switched-on and turning for some hours, temperature is low. Regulated the current to ~3 Amps, plenty enough for that motor unless you need maximum torque.

Tool Grinding Machine Saacke UW II NC: getting the axis drives turning

Now with the tool grinder placed at its final location, time to have some more study of the electronics. Objective is, to get the drivers turning in the XYZA directions again, and then to determine the path forward. Surely overall intention is to replace the existing PEP control computer by a LinuxCNC-based motion control system, so I can control the machine with ordinary G code and use macros and such to easily do any kinds of grinding cycles without relying on computing technology of the 80s. Also, the affordable technology at the time has been limited to one axis or two axis simultaneous movement, but we are targeting 4 axis (at least 3 axis simultaneous movement. For the Saacke machine, the Y and Z axis were controlled by an independent, TTL logic based “infeed control”, with parameters set by a number of BCD switches at the front panel. Pretty useful for recurring tasks, but hard to program special features just by BCD switches, and, of course, each grinding cycle needs to be set again by hand – you can keep the settings in a notebook but there is no way to just load a program by clicking a button. If you make one mistake on the BCD switch, rotary switch, etc., the machine will likely crash in the old days…

First of all, we need to get power to the electronics, and there is some unreliable start-up condition to the circuits controlling the mains power to the axis drivers and control section. That power is switched through contacts of the K38 contactor, which is turned on if the voltage monitoring contactor K123 is actuated, and the K124 safety contactor is actuated. K124 state depends on the limit switches of the axis, if any of these normally-closed switches opens, power to the drives is immediately cut off, so even in case of some control system malfunction, the power will be interrupted safety. There are nice slide rails, except for the Y axis, where the limits can be set by an Allen key, so that you can limit, say, the X travel to within reasonably safe limits if there are any particular fixtures mounted on the table.

The K123 contactor is actuated if all current signals (closed contacts of the X and A axis drive controls, K400 and K401 relais) and the control voltage (nominal 24 V) is good, but it also has a feature that it will not re-actuate if tripped, by the 3-4 contact pair. So, if there is any fault with motor current or control voltage, even once, the machine will stay in that state until it is power-cycled by the operator (after correcting the error, hopefully).

However, at initial switch-on of the main switch, surely there won’t be any good control voltage, and with the trip function, K123 needs a current path to switch-on at initial power-up, which is done by the K10 time relais. This device closes a contact and actuates K123 for just one second, when powered on, then, opens and stays open until the next power cycle.

It is a little dated version of still available devices from Dold Mechatronics, AI983N.7100. The inner circuit is some simple monoflop circuit, some capacitor, a relais – and, a transformer.

Turns out, there is no voltage on the transformer secondary – the primary winding is open circuit. Heavy glued to the circuit board – these devices are made to be in a vibrating factory environment, but the circuit board is of pretty ordinary quality, not through-plated.

After a quick repair – fortunately had a similar print transformer in stock – and replacement of the electrolytic capacitor, K10 is working fine, and the drives are now powering-on normally each time the mains switch is set to “ON”.

With power now established firmly, to the axis motors. The Y and Z axis (Y is moving the spindle up and down, Z is moving the spindle forth and back – similar logic to a horizontal milling machine) is driven by two independent stepper motors.

These are pretty sizeable Berger Lahr RDM51117/50 frame size 110×110 (NEMA size 42) motors, pretty expensive back in their days, and some of the strongest stepper motor available in the market.

Current rating is about 5 Amp per coil, 500 steps full step, 1000 steps half step.

Because of the lack of computing power and also lack of immediate need, there are two motors, but only one drive! The drive used for infeed automatic control is selected by some switches, including rapid functions. The current is turned off during switch events, surely, never unplug or cut the current of a stepper motor while energized – it will likely damage the driver transistor.

The drives are “Quintronic” NI series drives, very solid built.

Made in Western Germany – probably all hand assembled, and with one dedicated logic control board, and 5 D190 current control boards (one per coil) – powered by a 90 Volts DC supply, rated at 750 VA.

However, before being able to tests these, need to get control signals (TTL level) from the LinuxCNC PC to the old control system (running on 24 V HV-TL, respectively, open collector inputs).

Copying some circuitry I found in the Saacke old interface, using 7406 and 7407 open collector, some resistors, and a high-voltage tolerant LM311 comparator, soldered together a small interface board providing two step and two direction signal conversion. These also connect to some counters for the A and X axis at the front panel that I may use later as an auxiliary display.

In order to select the Y or Z axis controls, I also re-wired some of the feed selector circuitry to two small Finder relais, driven by a small control board.

The control boards – no schematic even needed, just a TTL relais driver, so there is double isolation – the PC TTL level with its own ground and 5/24V rail driving a small relais, which in turn uses the 24 V control voltage of the Saacke machine to actuate the Finder relais. With such industrial controls, contactors, motors, chopper-based drives, etc., it is very critical to use low impedance noise-insensitive circuits, rather than just the thinnest unshielded wire, common power supplies, etc.

The Y and Z motors are switched to the driver by Siemens contactors K200 and K201, which need to carry the 5 Amps DC at a very low resistance, say, 0.1 Ohms, to not upset the current regulator. Coil resistance of the steppers is barely 0.5 Ohms. Generally, I would consider this a problematic setup, firstly, because the contactor resistance may not be held to these very low resistances over time, also, there is no precise timing of the current-off signal to the drives, and the switching (happens at the same time, but may be milliseconds or 10s of milliseconds misaligned). So, there may be some arcing in the contactors, etc., and eventually the contactors or the drives may fail. Upon closer examination, indeed, a different, newer Berger Lahr drive is in the cabinet, compared to the X and A drives. Likely, it had failed, and then been replaced by a unit from a different machine (still has a label corresponding to the “X” axis – the table traverse).

Next, the control circuit – the drives are controlled by common step and direction pulse signals, originating from a rather large card with some TTL logic on it.

For convenience, I added the new small control/level converter boards to one of the old control cards, with a temporary DB15 connector to cable it to the PC.

Next up, confirmation of the phase currents. The cables of the stepper motor DC supply are fortunately routed such that a simple clamp-on current meter can be used to probe the current of each motor phase without any need to disconnect cables.

The X driver had one phase at only 3 Amps of current, rather than 5 Amps, strange – the motor was still working normally. Fortunately, I have the manual and schematics (at least the schematics without values and part numbers of the circuit elements) of the D190 current regulator boards of Berger Lahr company, so it was easy to find the culprit. A tantalum cap, not shorted, but soldered with incorrect polarity. Very likely this problem existed since manufacture, and slipped through Berger Lahr’s quality control system. Maybe the tests for quality were done at a lower current, say 3 Amps, because the reversed tantalum acted like a voltage limiter at about 3.5 Volts.

Easy fix, replaced by a multilayer cap.

The current input is normally operated at 5 Volts, and a trimpot is used to adjust the phase current of each coil.

Unfortunately, the Y/Z driver has some problems, keeping unstable current regulation on two phases, and after a short time and trying to adjust it, blew the fuse on two of the phases.

The D190 current control cards apparently used several types of transistors, I tried to collect what I can about these, some are very rare PT1132 transistors, other expensive NTE386, some use BUX41 and PT1132 in mixed (PT1132 for the upper transistor of the H-bridges, BUX41 for the lower). Nowadays, we would design that with MOSFETs and some high side drivers, easy enough.

The PT1132 seem to be related to BD245 or similar, or BUxxx series transistors, like, BU426.

Surely, we need NPN transistors with reasonably high gain, to avoid overloading the high-side drive circuit, and rather high voltage resistance (because of the 90 VDC), and fast switching – because the transistors won’t be able to sustain the linear load region to the 0.5 Ohms coil resistance for any length of time.

Later, it seems, Berger Lahr used BUX41 a lot, 200 V, 15 Amp NPN.

Yet, another type of BUX41…

NTE386 devices, very solid devices, but expensive, more than 20 EUR a piece!!

Finally, I would like independent motors and controls for both Y and Z, to avoid complicated switching and programming, and surely no full-current switching between driver and motor – surely retire the K200 and K201 contactors.

The are some options,

(1) Repair the Berger Lahr D190 cards – will surely repair these after sourcing some BUX41, but this will need to wait for some winter days and less busy times. Even consider to modify the H bridge on the card, by using MOSFETs and modern drivers. The drivers I have have combinations of PT1132 with BUX41, and PT1132 with RCA 41013 (equivalent to BDY58, NPN 125 V – 10 Amp, current gain of at least 20).

(2) Replace the 5-phase steppers by some NEMA42 bipolar steppers, with conventional microstep drivers – easy to maintain and repair going forwards. Then I would have some spare control cards from the former YZ driver, should any cards of the X and A axis drivers fail.

(3) Consider using more modern drive topologies like AC servos with encoders for the Y and Z axis, even for all axis, one I have figured out necessary adaptions of drive geometry (shaft diameters, case diameters).

With all the troubles of the design and state of the Y and Z drives, the X and A axes are working very well, even with the dated drivers and motors. 1000 steps per revolution results in about 3 mikron per step, and the speed of the table can easily reach 500 mm/min and more (mostly limited by the maximum step speed of a LinuxCNC real time step generator over parallel port) – given that it has a ball screw and roller ways, the mechanics would certainly tolerate more without any problem. Also confirmed the very smooth action of the table, mechanically no problem at all with the machine. Also the Y and Z axis – mechanically – are very sound. Cleaned all the screws, guideways etc., from the black dust and grease (better not use grease on grinding machines, but some CLP or HLP 46 oil).

Tool Grinding Machine Saacke UW II NC: a few basic repairs

The next big task, moving the Saacke from the entrance area of my house, to the workshop building. Fortunately, there are no stairs and steps, essentially, flat ground, but moving a large 300 kg electric cabinet, and a 700 kg machine, it is no easy task if you don’t have the right tools

Eventually, with the help of a friend and a pallet jack, maneuvered it to the location, but getting the pallet our from underneath a the machine, difficult. In a large factory, you just lift it up by crane of forklift, pull out the pallet, and let it down slowly. Also, you could build a tripod or gantry, and use a hoist to lift it up, but it is all pretty dangerous and labor-intensive, because I don’t keep all kinds of structural steel here.

Eventually, I managed to tilt the machine enough with a small hydraulic car jack, put two heavy flat steel bars underneath (70×15 mm), and lifted it up on some wooden support alongside the pallet, just suspended about 5 mm above. This way, I could pull out the pallet, and then lower the machine done bit by bit, by tilting it, and lowering the support 1.5 cm at a time, to avoid undue tilting. Take care that the whole thing doesn’t shift, and keep you fingers and feet clear at all times!!!

Eventually, after about 2 hours, the machine is at its final place. I will probably screw it down with three bolts, so it won’t move after setting it exactly (I mean very exactly) level. It makes it much easier to work on an exactly level machine, because you can use an electronic level to adjust angles pretty accurately. The seller did take great care of packaging the cables and plugs, glad these were not damaged in transit, because fixing these plugs normally means to completely newly wiring them, and while they are still widely available, these industrial plugs don’t come cheap.

Now, to some basic repairs, to fix the damages inflicted on the machine during transport.

First thing, a wheel of the electric cabinet (which has 3 doors, so to open the doors, you need to move around the cabinet. One wheel completely broke, probably someone hit it onto some wall when loading the truck. Rather than buying 4 all new wheels for such old machine, I try to fix what I can from stock I have, rather than buying ready-made parts. After all, that’s one of the purposes to have a workshop rather than a warehouse full of spare parts.

I cut-off a piece of a 35 year old rod of polyamide that I had around since my childhood time, once found at a scrapyard… then some machining on the lathe, and, a very study wheel is ready and mounted!

The fan of the table (X axis) drive, it really got damaged severely, fortunately, except some wire damage, the motor cover prevented further damage to the drive system, coupling, and, the very expensive ball screw that drives the table.

Most of these fans have their connectors at the outside, but the original one had been cabled to the inside of the cover. At least, I found a good replacement fan 112 m3/h nominal air capacity, run directly from 230 VAC mains.

Some disassembly of the connector, to get the wires exposed, some drilling.

Some soldering, shrink tubing has glue inside.

Still some need to adjust the cooling covers, but finally, got all the cables mounted and fiddled through. Also removed a few spoons full of grinding dust, and other dust.

Both the X and A (rotary) axis drives have new coolers.

Looking good, but the drives don’t even get that hot.

Next thing up for repair, the cover of the table.

Really terribly bent, taking it off was no easy task, drilling out one of the screws and taking great care not to damage the table.

To straighten it out, it took some patience, a vice, a polymer hammer, some pieces of wood.

Bending carefully, hammering it with quite some force, it is no thin metal but a pretty solid sheet. Amazing how crudely the carrier handled the shipment.

Some more knocking and bending.

Eventually, cleaned the plate and mounting surfaces with engine cleaner, still having some old cans around, but ordinary petroleum also works, and doesn’t attack plastic.

One great addition to the machine – a very nice German-made adjustable high-precision grinding vice, gifted to me by a relative. The vice has some little rust, but I will give it a good polish before using it on the grinding machine.

Tool Grinding Machine SAACKE UW II NC: “the small one” arrived

Over the last several month the electronic workshop has suffered from little work with test equipment repair, I think, we have an economic crisis – nobody seems to be interested in keeping their old equipment going, if even the new equipment is idle. More time to spend with traveling and other tasks, including, finally getting a new tool grinder.

For the fabrication of microwave components, like, mechanical filters, test antennas, etc., I am using custom-made tools of HSS (high speed cutting steel), mostly the parts are made of brass of Ni-Cu(-Zn) alloys, so HSS tools are superior for precision machining, compared to, for example carbide tools that don’t hold a sharp edge well.

Usually, we are considering small cutters here, 6, 8, 12 mm diameters. A radius tool, for example, for internal turning or single-edge milling.

…precise angles must be kept to keep the cutting edge going.

Also, for very tiny pieces, with complicated internal features, single point cutters don’t work well, so I need to resort to strong, custom made step cutters. Note that the shapes are calculated according to electric requirements, but the practical fabrication needs tests and adjustments, and eventually, repeatability, to get good results. Otherwise, the parts will randomly scatter in performance and it is hard to make a set of, for example, 3 pieces, without making 10 pieces scrap, with all the wasted time for machining and, especially, testing.

These tools can be cut by hand on a so-called cutter grinder, earlier introduced by Deckel company of Munich, model “SO”, but now available as import from China, at quite reasonable quality and cost (still, about EUR 1000).

While this little marvel is working very well, it demands outmost focus and consideration when grinding cutters, and is very time consuming to use. Re-grinding tools reproducibly takes practically the same effort than just making a new tool – all angles have to be set again, and all at the same risk of error and misoperation.

In effect, I have been using tools even when a little bit blunt, at a loss of surface quality, burrs (which are extremely bad, because we cannot polish these electric precision parts without destroying the precision, and burrs do show up in refection coefficients and gains).

A solution – we need to get computers and controls involved, in short, CNC. Buying a good CNC tool grinder, 4 axis to also be able to cut and re-sharpen gear cutters or mill cutters, will set you back at least 100 kEUR, including various expensive software options and difficulty in keeping it going without a service contract.

So I have been shopping around for a more affordable option – buying a solid heavy mechanical machine suitable for retrofit (for example, adding a new motion controller – using LinuxCNC on my other machines, fixing some electronics, replacing some or all of the drives and axis motors; but using all the existing mechanical system, the existing grinding spindle, etc.). This search has been underway since last year August, and after finding a machine, even paying, the seller damaged it so badly in his warehouse that he returned the money, still, no machine for me. Eventually, I found this very interesting machine, Made in Germany in the 80s, based on one of the best and solid designs of a manual machine, the SAACKE UW II. The main features are (hardened) roll-bearing supported long table with ball screw, tapered roller bearing A axis (heavy enough for milling), and prismatic cross-slide (trapezoidal screw) on wide-spaced support, along with a 1 mm-per-turn Z adjustment (high precision worm gear).

The introduction of the machine, considered by SAACKE as “the SMALL one”, no less than 80000 DM in 1985… probably equivalent to 90 kEUR today.

The 1 kW spindle is by far enough for the purpose, the machine can also cut very large milling cutters, flat grinding and round grinding (also tapered grinding) is all easily possible because of the 900×140 mm table.

Having found the machine at a reputable dealer in December 2023, it took several month until I could actually buy it, eventually, got it for very reasonable money, just about 2 EUR per kg, shipment included!

It arrived on two pallets, well secured and packaged. But with some parts sticking out. Already in phone conversation with the seller we had the concern of damage, but there was no practical way to transport it here at reasonable effort, rather than just giving it to a commercial carrier on pallets. Surely, I would always suggest you have your machines point-to-point delivered, even drive the truck yourself.

The transport took more than a week, and the carrier probably loaded and unloaded it several times from the truck, eventually, inflicting various damages to the machine. Fortunately, they didn’t drop it altogether.

A broken fan, a completely broken and ripped-off side plate, a broken roller, etc.

Quite some effort to disassemble the parts, find replacements, etc. – commercially, hard to fix, but we are talking about a major retrofit and modification anyway, so we can do it step-by-step in the evening and on (rainy) weekends, not counting all the hours.

One great plus of this machines are the full manuals, even of the motor drivers (using Berger Lahr 51117/50 stepper motors, really big ones!). For some control boards, and the PEP computer (the old brain of this machine), at least connection diagrams.

The main electrics of this machine, very nicely made in a general control cabinet, with all high quality contactors and fuses.

The cabling and connectors are all of the highest quality, costly, heavy duty German-made design.

The old control boards, in a nice rack. I am planning to use the existing motors for the table and A axis, the cross-slide and Z (which has one shared driver), haven’t made a decision yet, will just get it working for test reasons I believe.

The feed of cross-slide and Z is done by a feed control system rather than the 2-axis control (table X and rotary A axis that is controlled by the computer, coordinated motion to cut spiral flute cutters).

Soon will power it up. Just a note – this machine didn’t have ground connected, but wired as PEN connection, with a N-PE bridge. So it needed some testing of isolation (which it easily passed), and has already grounded 220 VAC and 24 VDC control voltages (adjusted the tap to get the voltages down a bit – design for 220 V, but I am getting about 230-233 VAC here). So if you get into such adventures with old machines, please make sure to contact someone knowledgeable about electric systems, don’t just plug it in!

Next up will by a study of the motors and drivers, some cleaning, some tests of the mechanics (have some precision granite square here to check for any wear/perpendicularity, and a high precision encoder to check the A axis).

A good “Springerle” recipe

A good recipe for “Springerle”, a traditional German Xmas cookie, there are many around but this time I took precise records to ensure consistent results.

My intention was to make somewhat smaller Springerle quickly, and the key point is a slight anis smell, some anis seeds, and nicely developed “foot” of each cookie.

The results turned out very well, and in the meantime, all have been consumed.

The “foot” is clearly visible, so are the anis seeds.

The recipe is adapted from an old book, a famous general cooking book of Ms. Paula Horn, but it is lacking some precise measures and temperatures.

Apart from the recipe, you will also need a roller, similar to this one.

250 g of Eggs, (weight includes the shell)
500 g of powdered sugar

Combine and beat it very thoroughly to a creamy mass.

Mix in 500 g of freshly sifted flour, mixed with 3 g of powdered anis, and 1 g of sodium bicarbonate dissolved in about 10 mL of warm water.

Rest the dough for 30 minutes, then roll it to about 1 cm thickness. Don’t add too much flour when rolling.

Then uniformly push in the carved roller to leave impressions. Cut to rectangular pieces and put them on a non-stick paper, lightly sprinkled with anis seeds. Keep these 18-24 hours at room temperature so that the cookies dry, on an flat surface, so the cookies won’t deform.

Then bake without touching the cookies first, 18 minutes at 150°C upper/lower heat should be just fine. The final cookies were about 8 mm thick, before baking. Thicker cookies may take longer, just ensure that they stay white, only the edges can turn very lightly brown. Don’t worry about the ammonia smell.

Once they come out of the oven, they may still be a little soft, don’t touch them yet.

After letting them rest for 2 weeks, they should be pretty hard, but delicious.

NE555 Watchdog Timer: the ESP32 needs some oversight

The readily available ESP32-DevKitC boards have served me well in many application, but there are some issues with one of the circuits that is up all throughout the year in my house to record moisture and temperature levels. Occasionally, like, every few month, this ESP32 gets stuck, so the web server running on that ESP32 is not responding anymore, and the logging of the data will stop (red marked portions in the plot).

The root cause of that relates to the current pulses drawn by the WLAN circuits of the ESP32, and despite connecting a good USB power supply, proper cables, and capacitors, it seems that there are occasional issues that I haven’t been able to solve be capacitors, better power supply, or software restart-features. I added the later, but the ESP32 freezes to a level that any software reset triggered by the code won’t work. Shortly disabling the power converter on the ESP32-DevKitC (of the on-board 3.3 V regulator – its EN/enable pin is pulled high by a resistor) will restore the function and get the circuit started again.

As I am not always around watching this circuit, I added a good old trusted NE555 timer, which will send a reset pulse (by pulling the EN signal low through a Schottky diode), and the capacitor is shorted by the small MOSFET, as long as the ESP32 is sending a pulse (this is send every 10 seconds approximately, for a few milliseconds) — if the ESP32 gets stuck, there won’t be any pulses, and the NE555 will then reboot the ESP32 every other minute by cycling the power to the ESP32.

A new Honigkuchen recipe

A new recipe for delicious christmas cookies, called, “Honigkuchen”, say, honey cookies:

Prepare a mixure of 250 g wheat flour, 100 g rye wholegrain flower, 15 g christmas spices (anis, cinnamon, etc.), add,

300 g of honey – heat so that it is fully liquid but don’t boil

2.5 g potash (potassium carbonate), 5 g hirschhornsalz (ammonium bicarbonate) – dissolve these salts in about 10 mL of warm water (don’t worry if it doesn’t all full dissolve), add to the mixture.

Mix and kneed to a thorough dough, let it rest about 2 days at room temperature, well covered.

For cookies about 8 mm thick, then bake at 175°C for 15 minutes.

For a glossy surface you can paint them with condensed milk before baking.

Earlier recipe, here: Christmas Time: Honigkuchen (honey based cookies)

Bauhaus VoltoLux LED Lamp: a early failure sickness finally subsided

Some of the ceilings in my house have LED lights installed in false ceilings, a total of 45 led lamps of the same kind (GU10, 4 Watt reflector LEDs). These are of regular quality, sourced from Bauhaus, a normally trustworthy outlet. But certainly these LED lights cannot be trusted at all. Of the 45 pieces installed, already 4 failed in the first year – occasional use. And another one just failed recently.

The advantages claimed are various, long lifetime, rugged, etc., but Bauhaus doesn’t say that you need to buy 10% more lamps than you need, just to replace the early failing lights. Not even to mention about the effort or replacement, etc.

All of the LEDs are 25360318 with frosted front, 10 LED chips per piece. The failure mode is normally intermittent, so the LED will come on for a little, then go off, it may also come on after a little while, unpredictable.

As it turns out, these LEDs are actually repairable, but removing the front glass disc (frosted diffusor), which is done by heating it for a little while with hot air at about 200°C. The front disc seems to have fixed with some epoxy glue.

Poking around, it becomes clear that the failure more is a broken interface between one of the LED chips, and the aluminum heat-conducting round board they have been soldered to. So, either the design has some flaw, or there are thermal issues or solder/flux issues when manufacturing. Shock or vibration effects can be excluded, because these lights have ever since the renovation been mounted in the ceiling, with no touch or vibration.

To fix it, I just re-flowed the solder, after applying a little flux, and the issue went away. Now you can close the light again, using epoxy glue, and it may provide some further service. No statistics yet on the lifetime of repaired LEDs.

In any case, buyer beware of any of the praised LED lamps, many may fail on you well before their expected lifetime ends, better keep all receipts, so that you can have them replaced by the Bauhaus hardware store, or wherever you prefer to buy your lighting supplies.

HP 4192A LF Impedance Analyzer: another visit to the workshop

The analyzer, I had fixed it 3.5 years back, see HP 4192A LF Impedance Analyer, the instrument has been back to very good shape, and since then been operated at an university overseas. Recently, I got the message that repair is needed, the instrument didn’t start up.

I tried hard to fix it remotely, because of the significant size and shipment cost, and the general risk of shipping such precision gear around the world. But to no avail, the failure seemed to complex to repair by remote instructions.

First difficulty, to get the instrument shipped to Germany, and to get it through customs – quite a task that took several hours, personal appearance at the customs office, and some paperwork, along with a small fee.

Following the old rule, to check the powers supply first, it was quickly seen that there is a short on the -15 rail, and systematically unplugging the assemblies, quickly found the short on the A3 assembly plug, which is also powering the A1 assembly – the location of the actual fault.

Smell and eye are the best methods… to find easy faults.

Once you know the location, easily seen – the burned inductor. I replaced it by a 4.7 µH inductor I had around, and fitted a new capacitor (tantalum cap).

The NEC-branded cap was dead-short.

Now, the instrument powered up, at least the power supply, but no further sign of life. Checked around the CPU board, and strangely, even the first test showed, no clock! the CPU clock is derived from the A3 master oscillator, by a divider chain – and probing there, no signal on the 1 MHZ or 100 kHz lines either.

The diver chain uses various divide-by-2, 74C74 flip-flops.

Hard to see, but to determine the defective chip, I cut the clock pin at the 74C74, because the clock was low. So I was not sure if the clock generator/amplifier was defective, or just overloaded by the 74C74.

With no 74S74 (guaranteed to run at 75 MHz, typically up to 115 MHz clock) at hand, I replaced it by a 74F74 (which easily handles the 40 MHz clock).

Interestingly, both 74S74 (HP part 1820-0693) had failed. Maybe both were suffering from some transient when the power supply sorted. We may never find out.

Finally, I noticed some unreliable switch-on characteristics that could be traced to some flaky resistors on the power supply board – this board had corrosion issues that damaged some resistors.

A little box of replaced parts… not too many.

Finally, put the instrument to a 24 hours tests, and also run some calibration of DC bias, which had drifted a little. Otherwise all well in spec and well tuned.

Packing it all up: this time, a package to Saudi-Arabia. The instrument wrapped in bubble wrap, then a layer of styrofoam, then a wooded box re-inforced with metal parts and screws, and a cardboard layer all around (without cardboard, DHL will rank it as “special handling”, at a significant additional charge).

After about 2 weeks, the instrument safely arrived in Saudi, and it is indeed working again. Recipient is happy, me too!

SimonsDialogs – A wild collection of random thoughts, observations and learnings. Presented by Simon.