2022年2月13日日曜日

A 1-meter-diameter small transmitting loop for 7 MHz: part 5

Moving to a multi-turn loop

I have been hesitant to implement a multi-turn transmitting loop due to the reported measurements and experience of W8JI, who worked on the commercially-available MFJ loop antenna. His comments can be found here: https://forums.qrz.com/index.php?threads/magnetic-loops.241400/page-3#post-1961567

However, when evaluating such assertions as "multi-turn loops increase loss", it is always important to consider the assumptions underlying those assertions, and whether those assumptions hold for a specific case.

In my case, a multi-turn loop is beginning to look like the best option. My assumptions are as follows:

  1. The loop antenna should be 1 meter in diameter and should operate at 7 MHz.
  2. The loop antenna should be feasible for me to construct physically. For the loop conductor, thick copper tube (10 cm diameter) is not available for purchase locally. Even if it were available, I lack the equipment to solder or braze these tubes together.
  3. The loop antenna should be as lightweight as possible to enable easy setup and dismantling, and possible transport for field use. This means that the loop antenna should not be made of heavy, rigid materials. This also implies that the loop antenna may be subject to small shape deformations over time due to transport and repeated setup and dismantling.
  4. Transmitter power will be 5 watts.

Until now, the strategy for this project was to use a single-turn loop, and to construct a thick copper tube piecewise, by: (1) changing the tube cross section from circular to square; (2) conceptually separating the four sides of the square-cross-section tube with a small air gap, yielding four flat copper sheets; (3) purchasing flat copper sheets and gluing them onto the surface of a square-cross-section plastic former; and (4) electrically joining several such tubes together to form a large loop (an octagon, or a square), by soldering the flat copper sheets together.

However, as described in the last post (http://qrp-gaijin.blogspot.com/2022/02/a-1-meter-diameter-small-transmitting.html), small deformations in the cross-sectional shape of a 10-cm-diameter tube can cause unacceptably high losses in a single-turn, 1-meter-diameter loop at 7 MHz. Hand-assembly of such a copper tube will not yield a perfectly-shaped cross-section, and will contain small distortions, which may increase over time. Removing such distortions, and preventing distortions over time, would require more rigid and heavy materials, and more thorough and solid construction techniques, all of which go against the project assumptions for my case.

Overcoming objections to a multi-turn loop

An alternative is to construct a multi-turn loop. W8JI's objections to a multi-turn loop are as follows (https://forums.qrz.com/index.php?threads/magnetic-loops.241400/page-3#post-1961567):

Three things kill the small loop's efficiency when it is multiple turns. The first is turn-to-turn capacitance. The turn-to-turn capacitance adds circulating currents across each turn of the loop, and this seriously de-Q's the system by increasing I^2 R losses.

The second problem was air. In order to not arc, the turns needed spaced. This means for a given volume of area more of it is useless air. The same amount of material in a thin single tube occupying the same area would have much more surface area and less resistance.

The final problem was current bunching or pushing, just like occurs in an inductor or even in a single conductor (skin effect). Current tends to push out from the most concentrated area of magnetic fields, and a larger amount of current flows in a smaller area of surface. There was a lot less of this effect in a round tube compared to a flat strip (like the AEA loop), and multiple turns made it act more like a flat strip.

 Examining these objections in turn:

  1. Yes, coil self-capacitance will cause circulating currents "across" the turns instead of "along" the turns as desired. It is open for debate whether or not the concept of "turn-to-turn capacitance" is actually valid, because attempts to explain coil self-capacitance that are based on "turn-to-turn capacitance" generally fail (see e.g. https://www.g3ynh.info/zdocs/magnetics/appendix/self-res.html, which asserts that "The inter-turn capacitance approach is found to have no predictive power").

    If some form of inter-turn capacitance actually exists and can be explained by "capacitors" formed by opposing faces of adjacent turns, then this capacitance can likely be reduced by (1) increasing the turn spacing, hence increasing the distance between the "plates" of each "inter-turn capacitor", and hence reducing the "inter-turn capacitance"; and (2) using a thin strip conductor to minimize the conductor surface area between turns, so that any "capacitor plates" formed by adjacent turns have very small surface area (along the thin edge of the strip conductor).

    Conclusion: This concern is valid, and can be mitigated.

  2. Yes, it is true that turns must be spaced, introducing "useless air" into the volume of the loop. It is also true that "The same amount of material in a thin single tube occupying the same area would have much more surface area and less resistance."

    However, as described above, when the tube diameter approaches 10 cm, then avoiding deformations become critical to ensure low RF resistance along the tube. A perfect 10-cm-diameter single tube would be ideal, but is difficult to obtain and more difficult to construct.

    While useless air does increase the total volume required for the loop antenna, it is not a critical requirement in my case. For a commercially-sold antenna like the MFJ loop, which must be shipped to customers via post, it is understandable that minimising volume was a concern.

    Furthermore, the RF resistance -- including skin effect and proximity effect -- can be computed and analyzed by Finite-Element Methods, using the FEMM software. It is not necessary to rely on general statements about conductor geometry and resistance; it is instead possible, and much better, to compute and visualise the current distribution and the RF resistance, to evaluate a specific conductor configuration and also to distort the shape of that conductor configuration to test the effects of the distortion.

    Conclusion: Useless space caused by multiple turns can be tolerated. The specific RF resistance can be computed in FEMM.

  3. Yes, multiple turns will cause a skin-effect-like proximity effect; the current in the turns will not be exactly equal.

    But we can easily compute the actual current distribution in either FEMM (which accounts only for magnetic effects, like proximity effects and skin effect) or in NEC-based Method-of-Moments simulators (which account for full electromagnetic field effects between wires, including both electric-field and magnetic-field effects, but which does not include proximity effects and skin effects on the surface of a single conductor).

    Conclusion: The actual distribution of RF current can be computed, and its effect on efficiency evaluated, in FEMM or NEC.

Simulation results of RF resistance of multiple turns in series

A future post may examine the simulations in detail, but here are some preliminary impressions:

  1. Analytically, a square-shaped loop antenna with 4 turns (in series) has a radiation resistance at 7 MHz of 148 milliohms. For an intuitive explanation of why series turns increase the radiation resistance, see https://owenduffy.net/blog/?p=16986 -- each turn carries the same current (since all are in series), and because the turns are physically arranged to drive this same current around the perimeter of the antenna, the result is increased current flowing around the loop antenna's perimeter, and hence increased radiation. Turns in parallel do not (contrary to some mistaken information online) cause a similar increase in radiation resistance due to the available current dividing simply itself among the turns, leading to no increase in current around the loop; again, see https://owenduffy.net/blog/?p=16986 for details.
  2. 4nec2 simulations of a 4-turn square loop with 1-meter sides yield a radiation resistance of 170 milliohms. This is in reasonable agreement with the analytical value. This was measured as the real part of feedpoint impedance at the highest-current point in the antenna, in free space, with wire loss set to zero, so that the only resistive component of the feedpoint impedance is the radiation resistance. The reactive part of the feedpoint impedance was zero, since the antenna was adjusted with a capacitance to be resonant at 7 MHz.



    Due to the potential for calculation inaccuracies of the NEC-2 engine with small loops, the simulation was re-run with a double-precision port (by VK3DIP; see http://www.yagicad.com/Projects/mininec.htm) of the MININEC simulator, which uses a completely different implementation of the Method-of-Moments simulation and which therefore provides a valuable second opinion for sanity-checking the NEC-2 results. MININEC is also reported to be able to measure much smaller loops with high accuracy; the report at https://archive.org/details/DTIC_ADA181682, p. 51, Section 3.2  asserts that MININEC with single-precision floating point calculations can accurately model loops as small as 0.01 wavelengths in circumference -- which is much smaller than loop under investigation, which is about 0.10 wavelengths in circumference. The MININEC results, run with shorter segment lengths (46 segments per meter, or about 2.17 cm per segment), yielded a radiation resistance of 167.78 milliohms (measured at the feedpoint which was located at the wire segment with maximum current), which agrees well with the NEC-2 reported result of 170 milliiohms. The following is an excerpt of the MININEC output, run in free space with no resistive losses.

    ********************    SOURCE DATA     ********************
    PULSE 359       VOLTAGE = (1,0J)
                   CURRENT = (5.960077 , -0.000552131 J)
                   IMPEDANCE = (0.1677831 , 1.554313E-05 J)
                   POWER = 2.980038 WATTS
     
    ---------- POWER BUDGET ---------
    TOTAL POWER = 2.980038 WATTS
    RADIATED POWER= 2.980038 WATTS
    TOTAL LOSS= 0 WATTS

     EFFICIENCY = 100.000 %

    The following is another excerpt from the MININEC output, showing that the feedpoint location (pulse 359) is the segment of maximum-current, which is where the radiation resistance should be measured as the real part of the feedpoint impedance.

    WIRE NO. 9:
    PULSE         REAL          IMAGINARY     MAGNITUDE     PHASE
     NO.          (AMPS)        (AMPS)        (AMPS)        (DEGREES)
    J            5.945504       -0.0007043754 5.945504      -0.006787942
    345          5.94675        -0.0006978156  5.94675      -0.006723317
    346          5.94794        -0.0006914593  5.94794      -0.006660743
    347          5.949186       -0.0006847983  5.949186     -0.006595197
    348          5.950457       -0.0006779634  5.950457     -0.006527976
    349          5.951738       -0.0006709474  5.951738     -0.006459031
    350          5.953006       -0.0006637438  5.953006     -0.006388322
    351          5.954234       -0.000656331   5.954234     -0.006315673
    352          5.955411       -0.0006486758  5.955411     -0.006240776
    353          5.95651        -0.0006407233  5.95651      -0.006163129
    354          5.957508       -0.0006323904  5.957508     -0.006081956
    355          5.95838        -0.0006235364  5.95838      -0.005995925
    356          5.959102       -0.0006139791  5.959102     -0.005903307
    357          5.959646       -0.0006028565  5.959646     -0.005795837
    358          5.959982       -0.0005922992  5.959982     -0.005694018
    359          5.960077       -0.000552131   5.960077     -0.00530778
    360          5.95989        -0.0005934233  5.95989      -0.005704913
    361          5.959375       -0.0006051083  5.959375     -0.00581775
    362          5.958478       -0.0006173661  5.958478     -0.005936494
    363          5.957143       -0.0006280719  5.957143     -0.006040793
    364          5.95532        -0.0006380953  5.95532      -0.006139076
    365          5.953004       -0.0006476296  5.953004     -0.00623323
    366          5.950294       -0.0006568312  5.950294     -0.006324671
    367          5.947456       -0.0006658013  5.947456     -0.006414105
    368          5.944841       -0.0006746035  5.944841     -0.006501761

  3. FEMM simulations of the RF resistance of 4 turns in series, with 1 meter diameter, yielded 130 milliohms for a perfectly-aligned series of turns, or 137 milliohms for a slightly-misaligned (by a few millimeters) series of turns.

    The following image shows a conceptual diagram (not to scale) of the perfectly-aligned loop geometry. Four exactly identical loops are placed exactly above one another at exactly the same spacing, and the RF resistance is computed assuming the turns are in series.

    The following image shows the computed RF resistance and the flux density for a perfectly-aligned, 4-turn loop (four turns of copper in series, each 0.1mm thick and 100mm wide, placed exactly vertically above one another, with 15mm spacing between turns).


    The following image shows a conceptual diagram (not to scale) of the misaligned loop geometry. Four loops with slightly differing tilted cross-sectional profiles are approximately above one another at approximately the same spacing, and the RF resistance is computed assuming the turns are in series. This misalignment can capture some of the effects of distorted turns that are not exactly spaced and not exactly in line with one another. (Due to restrictions in the FEMM software, it is not possible to simulate distortions that alter the tilt within one turn, because FEMM only allows definition of a single cross-sectional profile for each turn, that is then uniformly rotated about the vertical axis.)



    The following image shows the computed RF resistance and the flux density for misaligned conductors. The top and bottom ends of each conductor's cross-sectional profile have been slightly displaced in the x direction by a few millimeters, so that the turns are not exactly aligned with one another.



    This simulation assumes a round loop shape -- a circle of 1 meter diameter, not a square with 1-meter sides -- and so a square loop shape will have slightly higher conductor resistance. This could be approximated by making the round loop diameter slightly larger in FEMM, so that the total conductor length of the 4 round loops corresponds to the total conductor length of 4 square loops.
  4. From the above point 3, we see that small distortions in the geometry of the multi-turn loop do cause variations in RF resistance of several milliohms. However, unlike the single-turn loop, the multi-turn loop has higher radiation resistance. Therefore, the effect of several added milliohms of Rloss is insignificant. For example, using the figures above, the perfectly-aligned loop has an efficiency of Rrad/(Rrad+Rloss) = 148/(148+130) = ~53%, and the misaligned loop has an efficiency of 148/(148+137) = ~52%.

    As stated above, the Rloss is actually higher due to the longer conductor path required for a square loop perimeter, but nevertheless it can be seen that the higher radiation resistance of the multi-turn loop makes it much more forgiving of milliohm-level increases in loss resistance caused by distortions or misalignments of the loop geometry.

    The price we pay for this higher radiation resistance is the increased volume of the multi-turn antenna, needed due to the inter-turn spacing.

A rough sketch of how the multi-turn loop might be implemented looks as follows.

A tuning capacitor will be connected between the open ends of the loop. 4nec2 simulations of a similar loop indicate that, depending on the turn spacing and conductor diameter, the loop may become self-resonant below 7 MHz, which would make operation at or above 7 MHz impossible. 4nec2 simulations (using the NEC-2 engine) can only serve as a guideline here, since NEC-2 only models round conductors, but the actual antenna will use a flat strip conductor. The actual self-resonance of the structure as constructed with a flat strip will need to be measured in practice.

Spiral winding: a possible (but lossy) alternative

An alternative to winding the turns in a solenoidal coil is to wind the turns into a flat spiral coil, with all the turns lying in a plane and with later turns being nested inside of earlier turns. This has the advantage of reducing the physical volume required for the antenna. The disadvantage is increased losses due to proximity effect and possibly due to inter-turn capacitance.

The current distribution and RF resistance of spiral-wound (concentrically-wound) turns can be simulated in FEMM by modeling each turn to lie inside of the previous turns. Conceptually, this would look like the following diagram, where 4 strip conductors are placed concentrically.

FEMM can then simulate the RF resistance, assuming the turns are connected in series. The result is an RF resistance of 250.57 milliohms -- almost twice as high as the 130-137 milliohms of the solenoidally-wound loop. Note that the simulation shown below uses perfectly-aligned conductors. No test was performed with misaligned conductors.

The reason for this high RF resistance is the proximity effect: with turns placed in proximity and carrying identical current flowing in the same direction, the current flows influence each other and cause redistribution of current, under-utilization of the conductor, and an increase in the RF resistance.

Furthermore, if we accept that the opposing faces of adjacent turns form "capacitors" that contribute to "inter-turn capacitance", then the spiral-wound configuration -- in stark contrast to the solenoidally-wound configuration -- has very large surface areas from adjacent turns that face one another, potentially increasing the "inter-turn capacitance" (if the concept itself is in fact valid), and hence potentially increasing unwanted current flow "across" turns (via capacitance, i.e. displacement current) instead of the desired current flow "along" the turns. Unfortunately, when FEMM simulates proximity effect and RF resistance, it cannot account for electric field effects like capacitance. Therefore, the effect of "inter-turn capacitance" cannot be seen in FEMM. It can, however, be seen in NEC-2-based simulations, but in NEC-2, proximity effects and skin effect are not modeled, and all wires are assumed to be round, not flat. Synthesizing results from both simulators will give the best insight -- but the preliminary result is clear: spiral winding is lossier than solenoidal winding.

Self-resonance, capacitor current, and capacitor loss

An interesting aspect of a nearly-self-resonant antenna is that the required resonating capacitance is very small. This makes it feasible to construct a high-quality variable capacitor rather easily. Furthermore, the current flowing through the capacitor is quite low, making losses in the capacitor far less significant. Most of the current flows through the nearly-self-resonant structure, and little of the current flows through the capacitor. In the limiting case of self-resonance, no current flows through the capacitor, and all of the current flows through interior of the self-resonant structure. However, there is a disadvantage -- at or near self-resonance, we can expect that the entire structure will be very sensitive to detuning by its surroundings. Environmental changes such as people walking near the loop; the addition of moisture due to rain; or strong winds that change the loop's orientation relative to its surroundings or that cause fluttering of the individual turns or of the feedline may change the loop's self-capacitance and change the loop's tuning.

Future work

Good agreement was established between the MININEC results and the NEC-2 results for a loop approximately 0.10-wavelengths in circumference. This is very encouraging, because the single-precision MININEC was validated to return valid results for much smaller loops down to 0.01 wavelengths; the double-precision port by VK3DIP can likely simulate even smaller loops. Future work can conduct further MININEC simulations of the radiation resistance of multi-turn loops with smaller loop diameters and with more turns.

2022年2月11日金曜日

A 1-meter-diameter small transmitting loop for 7 MHz: part 4

Abstract

This post describes the results of Finite-Element-Method simulations (using the software package FEMM) of the RF resistance at 7 MHz of various conductor shapes for use in a small transmitting loop antenna. The conclusion – already known from past theoretical literature, and verified here by simulation – is that a large-diameter, round-cross-section tubular conductor can be replaced with a square-cross-section conductor whose cross-sectional width and height correspond to the tube’s diameter, with negligible change in RF resistance. A new finding is that electrically isolating the four flat faces of the square-cross-section conductor from each other has negligible effect only if the four faces are perfectly aligned to form a perfectly-square cross-section; if, however, the four sides are slightly misaligned to form a distorted approximation of a square, then the RF resistance significantly increases due to uneven distribution among the isolated faces of the RF current which cannot redistribute itself due to the inter-face isolation. Electrically connecting the four flat faces of the square-cross-section conductor may, depending on the conductivity of the connecting material, reduce the RF resistance, by allowing current redistribution and compensating for an imperfect shape of the square cross-section. However, using tin (solder) as a connecting material was found to offer no benefit over leaving the faces disconnected.

Background: Round-cross-section vs. Square-cross-section conductors

As mentioned in a previous post (http://qrp-gaijin.blogspot.com/2017/09/a-1-meter-diameter-small-transmitting.html), H. A. Wheeler’s 1955 article  "Skin Resistance of a Transmission-Line Conductor of Polygon Cross Section" already established that:

If a conductor cross section is any straight-sided polygon that can be circumscribed on a circle, it is found to have the same skin resistance as a conductor whose cross section is this circle. For example, a square wire has the same resistance as a round wire of the same radius, though the square perimeter is 4/pi times as great.
To verify this, a number of Finite-Element-Method computer simulations were performed with the FEMM software.

Analytically computed, the RF resistance Rloss at 7 MHz of a 3.14 meter length (corresponding to a loop antenna of 1 meter diameter) of round copper conductor having 10 cm diameter is 6.81 milliohms, as can be verified by the formulas and calculator at https://chemandy.com/calculators/round-wire-ac-resistance-calculator.htm. The identical result can also be found by assuming an equal current distribution along the entire conductor surface area (as will be the case if the conductor has a round cross-section and is not influenced by the magnetic fields of nearby conductors) and computing the RF sheet resistance of the conductor (https://www.microwaves101.com/encyclopedias/sheet-resistance) using the spreadsheet at https://www.microwaves101.com/uploads/RF-Sheet-Resistance-Rev-7.xls. Using that spreadsheet, the skin depth is computed as 24.60 microns, the surface resistivity per square for a conductor of 5 skin depths thickness is 0.685 milliohms, and for a sheet conductor of 3.14 meters length and 0.314 meters width, the number of squares on that sheet is 10 (3.14m / 0.314m), so the total RF sheet resistance is 10 squares * 0.685 milliohms/square = 6.85 milliohms, which is essentially identical to the previously-computed result of 6.81 milliohms.

Analytically computed, the radiation resistance Rrad of a single-turn, 1 meter diameter loop antenna is approximately 5.7 milliohms, using the approximate formula 31171*(A/lambda^2)^2 (reference:  https://www.ece.mcmaster.ca/faculty/nikolova/antenna_dload/current_lectures/L12_Loop.pdf). Various small-loop calculators also return this same value of radiation resistance for a 1 meter diameter loop (reference: https://owenduffy.net/blog/?p=1693).

Therefore, assuming no other losses, the efficiency is Rrad / (Rrad + Rloss) = 5.7 / (5.7 + 6.85) = ~45%. However, the very low Rrad means that milliohm-level increases in Rloss can have a large effect on efficiency. For example, if Rloss increases by 5 milliohms, then the efficiency drops to 5.7 / (5.7 + 11.85) = ~32%. If Rloss increases by 10 milliohms, the efficiency drops to 5.7 / (5.7 + 16.85) = ~25%.

Given this background, the following FEM simulations were performed.

Simulated RF resistance of a solid, round-cross-section copper conductor

For this first simulation, a solid copper conductor was modeled. FEMM allows modeling a cross-sectional slice of the conductor, which is then effectively rotated about the Z axis to form a loop conductor. The complex impedance of the conductor can be computed at a given frequency, and the real part of the impedance gives the resistive losses. It is also possible to plot the flux density and current density, although this data is not extensively used in this article. We focus mainly on the computed resistive loss at 7 MHz, which includes skin effects and also proximity effects.

Conditions: Mesh resolution was set to 4 microns in a 200-micron-thickness shell at the outer edge of the copper conductor. Higher resolution was not possible due to memory limitations. Mesh resolution was set to automatic (coarser resolution) in the interior of the copper conductor, and in the air region exterior to the conductor. Simulation domain consisted of 3955864 Nodes and 7911456 Elements.

The following image shows the entire simulation domain. The circle in the middle represents the round cross-section of the conductor, which is placed at a distance (radius) of 50 cm from the central vertical axis. The simulation then effectively rotates this cross section around the vertical axis, forming a loop conductor 1 meter in diameter. The several semi-circles at the edge of the problem domain represent the boundary conditions, which were automatically generated by FEMM.

The following images zoom in successively closer to the copper conductor, showing how the problem has been configured with the highest simulation density near the surface of the conductor, to capture skin effects.

 

 

Result: RF resistance of 527.96 milliohms was computed. This is an implausible result and is too high. Examination of the simulated current density shows very high current density in the interior of the conductor, which we know analytically to be incorrect. This incorrectly-computed interior current flow, probably computed inaccurately due to the coarse mesh resolution in the interior conductor region, reduces the computed current flow in the outer shell region (which should actually be carrying all of the current), which ultimately leads to a wrong overall current density and a wrong RF resistance value. 

Simulated RF resistance of a hollow, round-cross-section copper conductor

For this next simulation, the interior region of the conductor was replaced with non-conducting air, to prevent any current flow in this region. The only conductive region is the 200-micron copper shell, forming a thin-wall conductor. Since the skin depth at 7 MHz is ~25 microns, the 200-micron shell thickness covers more than 5 skin depths, which is generally considered sufficient for practically minimum RF resistance. 

Conditions: Mesh resolution was set to 5 microns in the 200-micron-thick copper shell. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 2546258 Nodes and 5092242 Elements.

Result: RF resistance of 7.18 milliohms computed. This is in good agreement with the analytical result of 6.85 milliohms. The RF current is concentrated in the outer-most layers of the thin shell, as expected.

Simulated RF resistance of a thinner-shelled, round-cross-section copper conductor

For this next simulation, the copper shell thickness was reduced from 200 microns to 100 microns. This corresponds to only four skin depths at 7 MHz, not the typically-recommended 5 skin depths.

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 3553075 Nodes and 7105877 Elements.

Result: RF resistance of 7.19 milliohms was computed. This is again in good agreement with the analytical result of 6.85 milliohms. The reduction in shell thickness from 200 microns to 100 microns results in only a negligible change in RF resistance.

Simulated RF resistance of a thin-shelled, almost perfectly square-cross-section copper conductor

For this next simulation, the copper shell shape was changed from round to almost perfectly square. Width was 100.1 mm and height was 100.4 mm. The extra height is to accommodate inserting an isolating air gap between the flat faces, for the next simulation. Shell thickness was 100 microns. To avoid computation errors and unrealistically high current crowding at sharp corners, the 90-degree corners  of the square cross section were changed into rounded curves to smooth out the current flow to more realistic values (since perfectly sharp corners do not exist in physical conductors).

The following image shows the square-cross-section conductor.

The following image shows how the sharp corners of the conductor have been rounded, to avoid simulation anomalies.

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4601765 Nodes and 9203200 Elements.

Result: RF resistance of 7.09 milliohms was computed. The change of conductor cross section from round to square results in only a negligible change in RF resistance. The value is still in good agreement with the analytical result of 6.85 milliohms.

Simulated RF resistance of a thin-shelled, almost perfectly square-cross-section copper conductor with isolated walls

For this next simulation, the four faces or walls of the square-cross-section conductor were disconnected from each other by inserting small air gaps at each corner. Because the current ideally should flow longitudinally along each face and along the circumference of the loop, the air gaps – which are in line with the current flow – should theoretically not hinder the current flow and should not change the RF resistance. The air gaps only prevent the current from flowing cross-wise from one face to another adjoining face. However, normally we would expect that current need not flow cross-wise from one face to another face.

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4595785 Nodes and 9191231 Elements.

The following image shows how an air gap has been inserted between adjoining sides of the square-cross-section conductor.

Result: RF resistance of 7.27 milliohms was computed. The change of isolating the adjoining conductor faces by insertion of air gaps (in line with the direction of the current flow) results in only a negligible change in RF resistance. The value is still in good agreement with the analytical result of 6.85 milliohms.

Simulated RF resistance of a thin-shelled, distorted square-cross-section copper conductor with isolated walls

For this next simulation, the four isolated faces or walls of the square-cross-section conductor were distorted from the perfect square shape by randomly moving each end of each edge by a few millimeters in the x and y directions. A real physical construction of such a square-cross-section conductor may have small imperfections in the square cross-sectional shape, and the purpose of this simulation was to see if these imperfections would cause an increase in RF resistance.

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4521864 Nodes and 9043451 Elements.

The following image shows the distorted, approximately-square cross-section of the conductor, with the adjacent sides still disconnected by an air gap.

Result: RF resistance of 12.27 milliohms was computed. This is a significant increase in RF resistance. A perfectly square cross-sectional shape leads to perfectly balanced current distribution among four faces, even if those faces are electrically isolated from one another. However, a distorted cross-sectional shape leads to a poorer current distribution among the faces, which, due to the inter-face isolation, can no longer redistribute itself more evenly among the faces. The resulting poor current distribution reduces the amount of the conductor that is used to carry current, hence increasing the RF resistance.

Simulated RF resistance of a thin-shelled, distorted square-cross-section copper conductor with thin copper connectors between adjoining walls

For this next simulation, the isolated faces of the distorted square-cross-section conductor were connected with each other. The hope is that by electrically connecting the isolated and misaligned faces, the poor current distribution – caused by the distorted shape and misaligned faces – can somewhat balance itself out again if the current is allowed to flow cross-wise from one misaligned face onto an adjoining misaligned face. The air gaps between the corners of the faces were bridged with a copper conductor. Again, sharp edges were changed to round edges to prevent simulation anomalies. 

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4824805 Nodes and 9649327 Elements.

The following image shows how the air gaps at the corners of the misaligned sides have been bridged with a copper conductor.

 

Result: RF resistance of 8.12 milliohms was computed. This is lower than the 12.27 milliohms of the distorted conductor with disconnected faces. Therefore, we can conclude that connecting the misaligned faces to allow cross-wise current flow between adjacent misaligned faces does improve the current distribution and does reduce the RF resistance. However, the resulting RF resistance of this misaligned and connected square-cross-section conductor is still higher than the 7.09 milliohms of the perfectly-aligned and connected square-cross-sectional conductor. So even with inter-face connections, the distortion of the cross-sectional shape still has a small, detrimental effect on the RF resistance.

Simulated RF resistance of a thin-shelled, distorted square-cross-section copper conductor with thin stainless steel connectors between adjoining walls

For this next simulation, the copper conductors that bridge the gaps between the misaligned faces were replaced with stainless steel conductors. The background to this idea is that in a physical construction of a square-cross-section conductor, the four flat faces (flat sheets of copper) can be laid separately on the outside of a square-cross-section plastic tube. This leaves four air gaps at the corners, with each gap running along the length of the square tube, and with each gap separating the the edges of two adjoining flat copper sheets. These air gaps can then be soldered for electrical connectivity. However, the electrical resistance of solder is higher than that of copper. For simulation purposes, it could be appropriate to use tin as a conductor to simulate the higher resistance of solder. However, the FEMM software does not offer tin as part of its material library. As a subsitute, 304 stainless steel (which is provided with the default FEMM material library, with conductivity specified as 1.45 MS/m) was used as a connecting material in the simulation. Steel has a much higher resistance than copper or tin, and so should provide an upper bound on the RF resistance. The expectation was that since the connecting material’s area is so small compared to the main copper conductors’ area, the impact on RF resistance should be negligible. 

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4825265 Nodes and 9650247 Elements.

The following image shows how the connecting corner conductor, that bridges the gap between the misaligned vertical conductor and misaligned horizontal conductor, has been changed to a steel conductor, while the main conducting areas are still configured as copper.


Result: RF resistance of 32.41 milliohms was computed. This is contrary to expectation and seems unusually high. Introducing the stainless steel connectors has actually increased the RF resistance far above the RF resistance that occurs when the faces are left unconnected. The presence of stainless steel seems to be worse than no connection at all.

Examination of the current density showed extremely high current concentration in the stainless steel regions. The cause appeared to be the insufficient thickness (100 microns) of the stainless steel conductor. 100 micron thickness covers 4 skin depths of copper at 7 MHz, but it covers less than 1 skin depth in stainless steel at 7 MHz, because the skin depth of stainless steel at 7 MHz is approximately 161 microns. To cover 5 skin depths in stainless steel requires approximately 805 microns of thickness, so another simulation was run with thicker stainless steel connectors.

Simulated RF resistance of a thin-shelled, distorted square-cross-section copper conductor with thick stainless steel connectors between adjoining walls

For this next simulation, the thickness of the conductor thickness in the stainless steel connecting areas was increased to approximately 900 microns, to cover 5 skin depths in stainless steel at 7 MHz. After thickening the connectors, the sharp corners were rounded. Copper conductors were left at 100 microns thickness. The expectation was that the current flow in the steel areas should be essentially maximal, due to the 5-skin-depth thickness, and that the overall impact on RF resistance should be small, since the circumferential length (around the conductor’s cross-sectional perimeter) occupied by the steel connectors is small compared to the circumferential length occupied by the copper conducting surfaces.

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell. Mesh resolution was set to 30 microns in the approximately 900-micron-thick stainless steel connecting areas, to encompass 4 to 5 skin depths of stainless steel at 7 MHz. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4825560 Nodes and 9063542 Elements.

Results: RF resistance of 29.65 milliohms was computed. This is only a small improvement over the previous RF resistance (with thinner steel connectors) of 32.41 milliohms. Therefore, the thickness of the stainless steel connectors does not seem to be the primary cause of the increased RF resistance.

One explanation may be that the very presence of the stainless steel itself is causing the increased RF resistance. An anecdotal report that stainless steel greatly increases RF resistance can be found here: https://www.eham.net/community/smf/index.php/topic,83113.0.html.

Another alternative explanation may be that the simulation resolution in the stainless steel area (30 microns) is too coarse to compute an accurate resistance. It is not possible, in the above simulation, to increase the simulation resolution in the thick stainless steel areas, because then the mesh size exceeds the available memory. To investigate this hypothesis further, it should be possible to run a separate simulation with a thin-shelled (5 skin depths) stainless steel conductor, once with 3 micron resolution, and once with 30 micron resolution. The mesh size can be minimized to fit within available memory by reducing the conductor diameter as necessary. Then, the RF resistance can be compared between the 3-micron-resolution run and the 30-micron-resolution run. If the computed RF resistance is significantly different, this indicates that a 30-micron resolution is too coarse.

Simulated RF resistance of a thin-shelled, distorted square-cross-section copper conductor with thin aluminum connectors between adjoining walls

For this next simulation, the connecting areas were changed from stainless steel to aluminum (which is provided with the default FEMM material library, with conductivity specified as 24.59 MS/m). The problem geometry was copied from the previous test case with thin copper connectors, meaning that all conductors and connectors were set to 100 micron thickness and sharp corners were rounded in the same way as in the previous test case with thin copper connectors. 100 micron thickness should be enough to cover 3 skin depths in aluminum at 7 MHz.

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell and in the 100-micron-thick aluminum connectors. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4825560 Nodes and 9650835 Elements.

Result: RF resistance of 9.71 milliohms was computed. This is higher than the 8.12 milliohms RF resistance when using thin copper connectors, but lower than the 29.65 milliohms RF resistance when using thick stainless steel connectors. It is also lower than the 12.27 milliohms RF resistance when the faces are disconnected from one another.


Simulated RF resistance of a thin-shelled, distorted square-cross-section copper conductor with thin tin connectors between adjoining walls

For this next simulation, the connecting areas were changed from aluminum to tin, to simulate the resistance of ordinary solder. The FEMM default material library does not provide a tin material. Examination of other default FEMM material library entries for copper, aluminum, and stainless steel revealed that the only parameter that is necessary to define a new material is the material's conductivity in MS/m. The conductivity of tin is 8.7 MS/m, and a new FEMM material was created with this conductivity, leaving all other material parameters as-is. The problem geometry was copied from the previous test case with thin copper connectors, meaning that all conductors and connectors were set to 100 micron thickness and sharp corners were rounded in the same way as in the previous test case with thin copper connectors. A 100 micron thickness covers slightly more than one skin depth (64.49 microns) of tin at 7 MHz.

Conditions: Mesh resolution was set to 3 microns in the 100-micron-thick copper shell and in the 100-micron-thick tin connectors. Mesh resolution was set to automatic (coarser resolution) in the air region exterior to the conductor. Simulation domain consisted of 4825560 Nodes and 9650835 Elements.

Result: RF resistance of 12.84 milliohms was computed. This is higher than the RF resistance when using copper or aluminum connectors, but is lower than the RF resistance when using thick stainless steel connectors. However,  the RF resistance is actually higher than the 12.27 milliohms obtained when the faces are disconnected from one another. Even higher total RF resistance would be expected if the resistivity of the solder is actually higher than that of tin,as for example shown in the resistivity table at https://owenduffy.net/antenna/conductors/loss.htm

Summary of simulated RF resistance values

The following FEM simulation results were obtained for the RF resistance of a 10 cm diameter conductor of various configurations. These should be compared with the analytical result of 6.85 milliohms RF resistance at 7 MHz for a solid round conductor with 10 cm diameter. 

  • Solid 10 cm round conductor: 527.96 milliohms (wrong result)
  • Hollow 10 cm round conductor with 200 micron shell: 7.18 milliohms
  • Hollow 10 cm round conductor with 100 micron shell: 7.19 milliohms
  • Hollow 10 cm square conductor with 100 micron shell: 7.09 milliohms
  • Hollow 10 cm square conductor with disconnected 100 micron shell: 7.27 milliohms
  • Hollow 10 cm square conductor with disconnected and misaligned 100 micron shell: 12.27 milliohms
  • Hollow 10 cm square conductor with misaligned 100 micron shell connected by thin copper connectors: 8.12 milliohms
  • Hollow 10 cm square conductor with misaligned 100 micron shell connected by thin stainless steel connectors: 32.41 milliohms
  • Hollow 10 cm square conductor with misaligned 100 micron shell connected by thick stainless steel connectors: 29.65 milliohms
  • Hollow 10 cm square conductor with misaligned 100 micron shell connected by thin aluminum connectors: 9.71 milliohms 
  • Hollow 10 cm square conductor with misaligned 100 micron shell connected by thin tin connectors: 12.84 milliohms

Conclusions

For a 1-meter-diameter loop antenna at 7 MHz, the low radiation resistance of 5.7 milliohms requires a correspondingly low-loss conductor to achieve reasonable efficiency. With a 10 cm diameter conductor, a square-cross-section conductor – which in some respects is easier to fabricate than a round-cross-section conductor – can provide sufficiently low RF resistance.

However, small details of the conductor geometry can cause significant changes in the overall RF resistance. This is important because fabricating a 10 cm-wide square-cross-section conductor by hand, by separately assembling several flat sheets of copper, will inevitably lead to small misalignment among the faces and distortions from the ideal, perfectly-shaped, square cross-section.

If the flat sides of the square cross-section conductor are galvanically isolated from one another, then small misalignment, on the order of a few millimeters, of the flat sides of the square-cross-section conductor can lead to significant increases of RF resistance.

If the misaligned flat sides of the square-cross-section conductor are connected to each other with copper, the RF resistance decreases to acceptable levels (only slightly above that of the perfectly-aligned case) because the current is allowed to flow cross-wise from one misaligned face to an adjoining misaligned face, which will improve current distribution and reduce the conductor’s RF resistance.

However, if the misaligned flat sides of the square-cross-section conductor are connected to each other with low-conductivity stainless steel, the RF resistance significantly increases to unacceptably high levels -- higher than if the faces were left unconnected.

If an aluminum conductor is used to connect the misaligned flat sides, then the RF resistance lies between that of copper connectors and that of stainless steel connectors.

If a tin conductor is used to connect the misaligned flat sides, then the RF resistance is comparably high to the case where the flat sides are left disconnected.

Therefore, the material used to connect the misaligned flat sides of the square-cross-section conductor will have an influence on the overall RF resistance. In practice, tin solder, with a resistivity similar to that of tin, will be the most likely material used to connect the faces. In the above simulations, using tin solder to connect misaligned faces was found to have no benefit over leaving the misaligned faces disconnected

Further studies with varying amounts of misalignment would be needed to clarify whether there are any cases where soldering misaligned faces would bring any benefit, but the current results suggest there will be minimal, if any, benefit. 

A likely more beneficial strategy would consist of two points. First, attempt to avoid misalignment of the cross-sectional shape from a perfect square or perfect circle; this can be done with a rigid former and/or with thick copper that is less subject to deformation, but both of these measures increase the weight and the difficulty of working with the materials. Second, avoid separating the faces in the first place, by avoiding the use of four separate copper sheets to form four separated flat faces of one tube, and instead rolling a continuous copper sheet into a large-diameter tube. This again is more difficult to construct (since a single and large copper sheet must be rolled to yield a perfectly circular or square cross-sectional shape), but likely will yield the lowest RF resistance for the conductor. This roll-up construction would still leave one unconnected seam along the tube's length. The effect of this seam is likely minimal, but a simulation should be performed to confirm this.

2021年3月28日日曜日

3D printing, self-repair, and self-replication: RepRap


 A "RepRap" 3D printer is a pretty amazing thing. Nowadays, 3D printers are widely and cheaply available, but ten years ago, this was not the case. One of the driving forces behind the advances in consumer-level 3D printing has been the RepRap project at https://reprap.org.

A RepRep machine is a rapid prototyping machine that can manufacture a significant portion of its own parts. This means that a RepRap printer can, to a large extent, repair itself, by printing new plastic parts to replace its own plastic parts, such as gears, that can wear out over time. Similarly, a RepRap 3D printer can, to a large extent, replicate itself, by printing out all of the plastic parts needed to build another copy of the printer. In contrast, modern 3D printers, in their quest for compactness and reliability, have moved away from the self-replicating aspect of the RepRap vision. Modern 3D printers use many custom-manufactured parts (such as smaller, more precise, and more reliable gears, or custom-molded metal structural parts), that cannot be printed by the 3D printer itself. The result is higher reliability, smaller size, lower cost, and improved user-friendliness.

So modern 3D printers are closer to black-box appliances that are not designed for extensive user maintenance and modification. In stark contrast, a RepRap machine at its core not only allows, but also requires extensive maintenance and modification by the user. RepRap printers are therefore less user-friendly as appliances, but they also offer endless opportunity for modification and improvement.

A RepRap 3D printer can be a very fun hobby for a DIY-minded person, so I plan to describe my adventures in 3D printing here on my blog.

Nine years ago: the Portabee 3D printer

Nine years ago, the company Romscraj released the Portabee 3D printer: https://reprap.org/forum/read.php?188,133194,133194#msg-133194 . Its key sales point was its portability: the print bed could be detached or reattached in seconds with a clever clip mechanism. In the detached state, the entire printer could fit inside of a laptop bag. And this printer was a RepRap, meaning it could reproduce all of its own plastic parts, making it easy to build another copy of the printer, or to improve the original printer design. After reading several positive reviews about the Portabee, I bought the printer.

There is a Wiki page at https://reprap.org/wiki/Portabee, where I am trying to collect all relevant information about this interesting little 3D printer.

I didn't have much time to use the Portabee after I purchased it, so it sat idle for several years. Only recently have I started to use it heavily.

Fast forward nine years: a printer in need of maintenance

One of the problems I immediately encountered with the Portabee was that the 3D-printed plastic gears on the extruder -- the geared mechanism that uses a stepper motor to push plastic filament into the hot end, where it gets melted and extruded out of a thin nozzle -- were prone to breaking. Within one month of the original purchase, the first plastic drive gear broke, and the supplier provided me with a replacement.

Now, nine years later, when I was powering up the printer again, I could see that the plastic extruder gears did not fit together perfectly, which caused undue stress on the gears. Every time I operated the printer, bits of the plastic drive gear would break off, leaving small chips of broken plastic on the print bed. I could tell that it was only a matter of time before the gears broke again.

The solution, of course, is to use the 3D printer to print replacement parts for itself. The problem was that I was still a novice to 3D printing. My first attempts to print the replacement drive gear came out horribly deformed. Below, the left gear in blue is the original broken gear from 9 years ago. The right two gears were my first attempts at printing replacements.

I quickly learned that effective use of a 3D printer requires understanding at least the fundamentals of the physical processes being used. In this case, by observing the printer in operation, I could see that when printing the small and detailed teeth of the gear, the lower layers of plastic did not have enough time to cool before the next layer of molten plastic was deposited on top of them. The result was overheating and a mess of molten plastic where the gear teeth should have been.

There are many ways to solve this problem:

  1. Use a cooling fan to blow air over the printed part and cause the molten plastic to cool more quickly. I didn't have a cooling fan, so this was not an option.

  2. Greatly reduce the print speed. In practice, this resulted in too little plastic being extruded and very fragile appearance of the gear teeth. Probably, at extremely slow printing speeds, the gears' movement is not accurate enough to ensure a constant flow of molten plastic filament.

    Imagine trying to squeeze toothpaste out of the tube at a rate of 1 cm/second. This is feasible with a good flow rate. On the other hand, if you try to greatly reduce the extrusion rate by a factor of 100, you would need to squeeze toothpaste out at a rate of 0.1 mm/second. This is extremely difficult, because even slightly inaccurate movements of your hands, or even slight deformations of the tube, will cause unwanted variations in the flow rate. I suspect a similar issue occurs at extremely slow print speeds.

  3. Print at full speed, but print multiple copies of the gear on the print bed. All copies are built up simultaneously from the lowest Z-layer to the highest Z-layer. This means that each Z-layer takes more time to print. This increased printing time allows each individual copy of the gear to cool down enough before the next layer of plastic is laid on top of it.

    The disadvantage of this approach is that, when moving the hot nozzle from one printed item to another, a so-called "retraction" is performed, which reverses the motion of the extruder gears to withdraw the plastic filament from the nozzle and prevent unwanted oozing of molten plastic.

    The use of retraction (due to the rapid reversal of motor direction) caused visibly more wear on my already-disintegrating drive gear. Furthermore, after a retraction, the next act of extruding filament may not extrude enough, which leads again to fragile-looking gear teeth with insufficient plastic material. This might be fixed by adjusting retraction parameters in software.

  4. Print the gear at full speed, but at the same time print a very tall cylindrical wall (a "skirt") around the gear, some distance away from the gear. For each layer, after the small gear teeth are printed, then during the printing of the long cylindrical wall, the small gear teeth have time to cool, before the next layer of molten plastic is printed on top of them.

    This approach used fewer retractions, resulting in less stress on the motor gears, better flow of plastic, and an overall improved and sturdy appearance of the gear teeth.

The self-repairing printer

Shortly after figuring out how to successfully print good-looking replacement gears, the drive gear again broke. So I was forced to replace the original gear with the self-printed replacement. I was hesitant and unsure if the printed replacement would really fit and would really work properly.

Fortunately, it did fit, well enough to keep the printer running. 

Here's a picture of the original extruder. The weak drive gear, printed 9 years ago by the manufacturer when I bought the printer, is the smaller 9-tooth gear attached to the motor.

Then, one day soon thereafter, the drive gear broke:


The key to a self-repairing 3D printer is to print enough replacement parts before the printer breaks. Here were the as of yet untested replacement parts that I was able to print before the breakage.

The holes in the replacement parts unfortunately were a bit too small to fit the motor shaft -- a common problem in 3D printing. This was fixed by reaming the hole with a screwdriver, as I don't have a proper reamer. After that, I was able to fit the replacement drive gear on the motor shaft.

Then, I could confirm that the replacement drive gear more-or-less meshed correctly with the larger 53-tooth driven gear.

After the gear replacement, the printer could again print. The first self-repair was successful!

Other self-repairs: broken extruder block, broken driven gear

Soon thereafter, the extruder block -- the complex-shaped part that holds the extruder motor and drives the filament forward -- also broke. The long arm that supports the motor had become warped and finally cracked. I suspect that this warping was one of the root causes of why the drive gear and driven gear did not mesh well, which caused the drive gear to weaken and break.

The design of the extruder block (see image below) uses a fairly thin and long support arm to hold the extruder motor in place. The extruder motor may become hot, as it is in constant motion during a print to feed the filament. If the heat from the motor becomes excessive, this heat may cause the plastic support arm on the extruder block to soften and warp, which in turn can cause the gear alignment to suffer, which in turn can cause inappropriate stress on the extruder gears and on the extruder block itself.

I didn't have a replacement extruder block, as I hadn't printed one yet. So, I had to repair the cracked extruder block with some super-glue. I used rubber bands to hold the part together tightly, and allowed the glued part to dry overnight. Fortunately, this worked well enough, and the next day I could then print a replacement extruder block.

The below image shows the original extruder block (left), and the new printed replacement (right).

Finally, a few days after replacing the extruder block, the large 53-tooth driven gear also broke. Fortunately, I had already predicted this scenario, and had already printed several replacements.

Here is an image of the new extruder in action: most of the original extruder parts (originally printed in blue plastic) have been replaced with new, self-printed parts (now printed in white plastic). Also, the below images shows even more replacement parts being printed, in preparation for the next time that these high-usage parts break.

Replacing the heating element

Recently, the hot end has no longer been able to reach the high temperatures (185 degrees) required for melting the plastic filament. I suspect that the heating element is no longer able to heat up properly, since it is 9 years old. 

Modern ceramic heating elements seems to be easily available in a standardized 6 mm-diameter size. However, the hole in my heater block only seems to accommodate a heating element of less than 5 mm diameter. The current heating element is a wire-wound resistor. Due to the size difference, I probably cannot use a modern 6 mm ceramic heater, and instead need to find a less than 5 mm diameter wire-wound resistor.

Replacing the hot end 

Eventually, I will need to replace the hot end completely, because it accepts 3 mm diameter plastic filament, which was a widespread standard 9 years ago. Now, most filaments are available in 1.75 mm diameter, so I will need to upgrade to a new 1.75 mm hot end when my old supply of 3 mm diameter filament runs out.

This will require reworking the mounting mechanics for the hot end, as the new hot end will be a different shape than the old hot end. Reworking the mechanics will be done, of course, by using the printer itself to print new parts in the appropriate redesigned shapes. This again underscores the self-repairing, self-modifying nature of RepRap 3D printers.

Replacing the electronics board

Recently, the printer has sometimes been acting strangely, after the electronics board was exposed to rain. Sometimes, the Y-axis motor (which slides the printed bed back and forth) only buzzes instead of properly moving the bed. I could trace this fault to an unusually low Vref voltage on the DRV8811 driver chip that drives the Y-axis stepper motor. In modern 3D printer control boards, often the driver chips are modular so they can be replaced easily by unplugging the old driver and plugging in a new driver. In my old electronics board (a so-called gen6.d board that came with the Portabee printer), the motor driver chips are soldered onto the board itself and cannot be replaced without replacing the whole board.

It turns out that the exact gen6.d board used in my Portabee printer is no longer available for purchase, at least as far as I could see. But fortunately, control boards for 3D printers are quite standardized these days and are available cheaply. The basic options are either a RAMPS 1.4 board plus a controlling Arduino board (a 2-board solution), or an all-in-one single-board solution like an MKS GEN board, which I think uses the same basic architecture, just packaged more neatly into a single board. Either solution provides connectors for controlling five stepper motors (three for each of the X, Y, and Z axes, and up to two extruder motors), limit switches for each of the axes, the hot end (including the heating element, the thermistor to detect the temperature, and a cooling fan), and a heated bed (including the heater and the thermistor). 

Carefully checking all of the connections on my Portabee has convinced me that a modern replacement board (like RAMPS 1.4 or MKS GEN) will provide all the required connectors to control all of the hardware on my Portabee printer. The only exception is that I have 2 Z-axis motors, whereas most controller boards only provide one connector for a Z-axis motor -- but two Z-axis motors can be connected either in parallel or in series to a single connector.

The below image shows the old gen6.d control board connected to all of the 3D printer hardware.

The below image shows the old gen6.d control board disconnected from all of the printer hardware.

Disconnected from the controller board, the printer somehow seems much simpler -- it's just a bunch of stepper motors, switches, heaters, and thermistors, all tied together into a simple but sturdy physical structure with 3D-printed parts and common hardware like steel rods, threaded rods, linear bearings, nuts, bolts, belts, etc.

To replace the electronics, the only thing left to do is to buy a new replacement board, and plug all the existing hardware into the new replacement board. Some caution will be required with the order of the stepper motor wires, as modern control boards seem to require the stepper wires to be connected in a different order than on my older control board. I may also need to make some of the wires slightly longer to accommodate the new connector positions on the new control board.

Conclusion

Out of necessity, I have been replacing many parts of my old 3D printer, with self-printed replacement parts. This is an educational and fun experience. Eventually, I should have enough spare parts and enough knowledge to build a complete replica of the original printer. And I expect to continue to improve the printer design by printing out modified, improved parts, to accommodate for example a new hot end.