First, wear your dust mask. Who knows where these machines have been?

  • Gork@lemm.ee
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    1 year ago

    Analog computers are pretty cool, yet underrated tech. Although they aren’t very flexible compared to digital computers in the range of what they can do, they do their specific use case very well.

    Need to solve a partial differential equation in real time? Don’t bother with iterative algorithms, that’s fool’s math, playa. Just hook it up to an analog computer specifically designed to solve that PDE type, rig up some wires for the input and output to your oscilloscope for real time mathz.

    • towerful@programming.dev
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 year ago

      The old firing computers from WW2 are cool as hell.
      Not just analog, but mechanical analog.
      They take 25 inputs, some of which come directly from the spotter scope things, some from the ship itself, and then controls the guns directly.
      It’s all cams, gears, reciprocating whatsits and stuff.
      And because it’s analog, there is no quantisation, rounding errors, floating point errors. It’s continuously and instantly calculated.
      Very cool stuff.
      https://youtu.be/s1i-dnAH9Y4

      • WaterWaiver@aussie.zone
        link
        fedilink
        English
        arrow-up
        14
        ·
        edit-2
        1 year ago

        Very pretty stuff. I particularly recommend Ken Shirriff’s Reverse-engineering the mechanical Bendix Central Air Data Computer:

        He goes into detail about how non-linear equations are implemented using shaped cam gears (and how such functions can be difference-encoded against linear forms). It’s insane.

        And because it’s analog, there is no quantisation, rounding errors, floating point errors.

        Eh, I’d say that runout and stiction are their own demons with potentially more bias than those error types :) Not to mention temperature sensitivity – hot days will give different answers to the equations!

        • towerful@programming.dev
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          Eh, I’d say that runout and stiction are their own demons with potentially more bias than those error types :) Not to mention temperature sensitivity – hot days will give different answers to the equations!

          Ha, oh yeh. Good point.
          A bit of dirt throwing off the calculations.

      • BearOfaTime@lemm.ee
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        Wow, thanks for the link.

        The older I get, the more I appreciate things like this, what is basically 19th century mechanical engineering, and what those geniuses were able to do with it. Like fly planes through WWII.

        • towerful@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Yeh, it’s crazy right?
          This is all just fancy wheels, turned around, odd shaped, made to fit together better.
          And the understanding of mathematics, geometry and mechanics makes this massive apparatus of intricately connected pieces - which are relatively easy to understand in isolation - into this thing that can point a gun to be able to hit a moving target.

          World War 2 was horrendous. But some of the tech developed is jaw-dropping.
          Since then, it’s grown exponentially. We are standing on the shoulders of giants!

          • evranch@lemmy.ca
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 year ago

            The craziest thing to me is they didn’t have any sort of CAD, 3d printing or other rapid prototyping tech. Most of these things wouldn’t work if made from a cheap sample material either, due to the torque they needed to handle. So really the only option was to put a ton of effort into design, make a few prototypes and start manufacturing. Iterative design could take years to get results back from users.

            The classic example to me is the square bale knotter. A collection of cast iron sector gears, cams, jackshafts, blades and hooks with grippers, flung through their complex cycle in 1/4 second in dirty field conditions. Using arbitrary twine and tension, variable drive speed and a product that can vary from 10lbs to 80lbs per volume. For tens of thousands of cycles with minimal maintenance aside from pumping grease into the grease points.

            And mine is still working perfectly today after 60 years or more! This year it didn’t miss one single knot of thousands. Incredible engineering.

            • BearOfaTime@lemm.ee
              link
              fedilink
              English
              arrow-up
              3
              ·
              edit-2
              1 year ago

              Part of the suction solution was to simply over-engineer things, which is why old anything mechanical is seriously robust.

              Looking at cars, an A-arm from a 1950’s vehicle can easily weigh 2x-5x more than in a similar new vehicle.

              • evranch@lemmy.ca
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year ago

                Good point. I run a lot of old equipment and compared to what new stuff could handle, I absolutely abuse it.

                My flatbed “1-ton” F350 used to be a grain truck. 1 ton of grain wouldn’t even fill half the box.

                I can put 4 round bales on the deck, well over 2 tons, and the overload spring pack isn’t even touching the mounts yet. It was overbuilt, all right.

      • frezik@midwest.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        IIRC, when they were looking at refitting the Iowa class ships in the late 70s/early 80s, they found that while they could make the mechanical fire control computers smaller, they couldn’t make them any more accurate.

        • towerful@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          I mean, that’s 40 years ago.
          I can understand that their mechanical abilities had peaked, and weren’t able to improve on it.
          It would be curious to test that against a modern CNCd mechanical analog firing computer, and then test THAT against a modern 128-bit fixed/floating point computer.
          I imagine the computer would win

    • TimeSquirrel@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year ago

      “CuriousMarc” on YouTube has a couple videos where he takes apart and restores an electromechanical navigation computer from an old soviet Soyuz capsule. It could show you exactly where in your orbit you were and calculate rendezvous and reentry burns, all with just a shitload of gears and things. It was incredible.

      • WaterWaiver@aussie.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Are FPGAs particularly suited to solving PDEs? I just did a search and there seem to be some papers discussing implementing various PDE solving algorithms on FPGAs, but I’m not sure if it’s a task uniquely suited to them.

        • MonkderZweite@feddit.ch
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Probably not especially. But aren’t they basically wires burnt in circuit, made programmable via (UV?) light.

          • anlumo@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 year ago

            They’re still digital (a wire is either 0 or 1), which isn’t more useful for this than a regular CPU.

            What they do excel in is doing stuff in parallel, because there is no linear list of instructions, everything can happen at the same time (unless you specifically block something until a certain signal is sent).

          • WaterWaiver@aussie.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 year ago

            No. Modern FPGAs do not use any UV light or have any windows. For storage they use flash memory (same as what’s used in MicroSD cards, USB sticks and SSDs). Some (most?) require you to provide this yourself externally.

            Old EPROM (not EEPROM) storage had windows and needed UV to erase, but that’s decades old. I’m not sure if FPGA was common nomenclature back then (PAL/GAL/CPLD were probably the market).

          • WHYAREWEALLCAPS@kbin.social
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Maybe you’re thinking of EPROMs? I can’t think of anything else that you’d need UV light for. Even then the UV was used to erase them, not write.

            • frezik@midwest.social
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              Modern FPGAs don’t use UV light, but maybe earlier ones did? As you say, EEPROMs used UV for erasing before writing again.

            • MonkderZweite@feddit.ch
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              1 year ago

              …now i’m getting confused. Those chips with the round window in the center, what were they again?

    • kalkulat@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Ur so right! Diffy-Q has its uses, but analog was too advanced for us to grok so we had to settle for it. Newton ‘discovered’ gravity, and calculus, then found out how useful calc was!

      Non-linear? Hella faster! Nature went with analog long ago. No analog, no music!

    • hglman
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Tbf, the pinball machine is not really the same as an analog computer, it uses relays in the same way that a modern computer uses a transistor. There is no continuously variable part, just lots of on/offs.