https://spectrum.ieee.org/try-this-new-analog-computer [ ] IEEE.orgIEEE Xplore Digital LibraryIEEE StandardsMore Sites Sign InJoin IEEE The January 2024 issue of IEEE Spectrum is here! Download PDF | Close bar Try This Brand New Analog Computer Share FOR THE TECHNOLOGY INSIDER Search: [ ] Explore by topic AerospaceArtificial IntelligenceBiomedicalClimate TechComputing Consumer ElectronicsEnergyHistory of TechnologyRoboticsSemiconductors TelecommunicationsTransportation IEEE Spectrum FOR THE TECHNOLOGY INSIDER Topics AerospaceArtificial IntelligenceBiomedicalClimate TechComputing Consumer ElectronicsEnergyHistory of TechnologyRoboticsSemiconductors TelecommunicationsTransportation Sections FeaturesNewsOpinionCareersDIYEngineering Resources More NewslettersPodcastsSpecial ReportsCollectionsExplainersTop Programming LanguagesRobots Guide /IEEE Job Site / For IEEE Members Current IssueMagazine ArchiveThe InstituteThe Institute Archive For IEEE Members Current IssueMagazine ArchiveThe InstituteThe Institute Archive IEEE Spectrum About UsContact UsReprints & Permissions /Advertising / Follow IEEE Spectrum Support IEEE Spectrum IEEE Spectrum is the flagship publication of the IEEE -- the world's largest professional organization devoted to engineering and applied sciences. Our articles, podcasts, and infographics inform our readers about developments in technology, engineering, and science. Join IEEE Subscribe About IEEEContact & SupportAccessibilityNondiscrimination PolicyTerms IEEE Privacy PolicyCookie Preferences (c) Copyright 2023 IEEE -- All rights reserved. A not-for-profit organization, IEEE is the world's largest technical professional organization dedicated to advancing technology for the benefit of humanity. Enjoy more free content and benefits by creating an account Saving articles to read later requires an IEEE Spectrum account The Institute content is only available for members Downloading full PDF issues is exclusive for IEEE Members Access to Spectrum's Digital Edition is exclusive for IEEE Members Following topics is a feature exclusive for IEEE Members Adding your response to an article requires an IEEE Spectrum account Create an account to access more content and features on IEEE Spectrum, including the ability to save articles to read later, download Spectrum Collections, and participate in conversations with readers and editors. For more exclusive content and features, consider Joining IEEE. Join the world's largest professional organization devoted to engineering and applied sciences and get access to all of Spectrum's articles, archives, PDF downloads, and other benefits. Learn more - CREATE AN ACCOUNTSIGN IN JOIN IEEESIGN IN Close Access Thousands of Articles -- Completely Free Create an account and get exclusive content and features: Save articles, download collections, and talk to tech insiders -- all free! For full access and benefits, join IEEE as a paying member. CREATE AN ACCOUNTSIGN IN DIYTopicMagazineHands OnTypeJanuary 2024 Try This Brand New Analog Computer The THAT machine is designed to encourage you to go beyond digital Stephen Cass 28 Dec 2023 4 min read A hand adjusts a knob on a panel with spaghetti wiring. A ribbon cable links it to a small display. Just as with NASA's Apollo simulators, an analog computer handles the physics of a lunar landing, while a digital computer displays data. James Provost anabridanalog computingelectronic kitshybrid computinglunar lander type:departments Once upon a time, if you cracked open the pages of IEEE Spectrum you could spot full-page advertisements for analog computers, boasting of their ease of use and even--in the case of one model built into a cart with wheels--their portability. Engineers connected potentiometers and op-amps to set up representations of knotty differential equations and read the solutions as varying output voltages. But then digital computers conquered all, making analog computing as obsolete as radio coherers, mechanical televisions, and punched cards. Almost. Like other written-off technologies that have seen comebacks such as vinyl records, Nixie tubes, and airships, analog computers have their adherents striving for a revival. In 2017, Yannis Tsividis wrote a feature article for Spectrum describing his research at Columbia University into the possibilities of digital-analog hybrid computer chips. The digital element offers ease of use, while the analog element provides energy-efficient solutions to many real-world types of problems. When the article was published, I thought it made some compelling points, but as a casual experimenter I didn't really have a good on-ramp to analog computing. That changed last year when I saw that startup Anabrid was offering a brand-new analog machine, the US $513 THAT. Anabrid's main gig is developing hybrid analog-digital chips of the sort pioneered by Tsividis. It's THAT is intended to raise awareness of the possibilities of modern analog computing. THAT is an acronym for The Analog Thing, and it's a small open-source machine composed largely of discrete op-amp integrated circuits. The THAT is smaller than the industrial-grade machines of yore, with just eight potentiometers for setting parameters and five integrators, along with a collection of supporting summers, inverters, comparators and so on. But the THAT is not just a cut-down toy. Multiple THATs can be chained together if more processing power is required, and a hybrid connection port is provided to make it easier to interface a THAT with a digital computer. The components required for digital-analog hybrid computing. The analog computer is a panel with many socket at the top and two rows of knobs at the bottom.The THAT analog computer [left] has sockets for connecting various components, such as integrators, that correspond to mathematical operations. I displayed its outputs using an LCD screen [top right], protoboard interface [middle right] and Arduino Uno [bottom right].James Provost Like the analog computers that once graced the advertisements in Spectrum, the THAT is programmed by wiring up elements that perform mathematical functions with short patch cables. You need to provide your own way to display the THAT's output voltages--for me it felt only appropriate to hook up an old analog oscilloscope that I'd cadged from my older brother some time ago on general principles. It was time to try some computing. As it's been a minute since I last took down Erwin Kreyszig's Advanced Engineering Mathematics to ponder differential equations, I was glad to see that the THAT's accompanying manual is chock-full of examples and patch diagrams. Soon I was watching Euler spirals and simulations of neural spiking bloom into phosphorescent life, observing their evolution as I twisted potentiometers to adjust parameters. It felt only appropriate to hook up an old analog oscilloscope I'd cadged from my older brother. But I wanted to test out the hybrid approach. The natural choice was to build on Anabrid's demo patch for a lunar-lander game: starting above the surface with a limited amount of fuel, a spacecraft is in grip of the moon's gravity. The player must control the spacecraft's engine throttle by turning a potentiometer so that the spacecraft lands before the fuel runs out. With an oscilloscope, the game lacks a certain visual elan, with the fuel and altitude readings displayed as two horizontal lines. And a critical element of any lunar-lander game is also missing--determining whether or not the spacecraft's speed at the moment of landing results in a graceful touchdown or a fresh crater. But these deficiencies could be addressed digitally. A block diagram showing how analog computing elements are connected. On the left are the differential equations that model the flight of the lunar lander in their textbook form. On the right is how they are encoded into the elements provided by the THAT, such as integrators and comparators. The numbers inside circles refer to the potentiometers used to set the values of parameters.James Provost For my digital computer and graphics display, I dug out an Arduino Uno and a small LCD touchscreen shield. The LCD display uses nearly all the pins on a regular Arduino Uno, but two analog inputs remained available to read the voltages representing altitude and fuel. This did entail sacrificing some precision. Internally, the THAT represents quantities using a range between -10 and +10 volts. That full range would curdle the analog-to-digital convertors built into most microcontroller boards, so the THAT compresses and shifts that range for the hybrid port. There, voltages vary between 0 V and 3.3 V. The Arduino Uno operates at 5 V, and reads with 10-bit precision, so the altitude and fuel level end up approximated as numbers between 0 and 675. But that's tolerable, given that my LCD has only 320 vertical pixels at most to display the spacecraft's location above the surface. I made up an Arduino protoboard with connectors for the LCD shield and a ribbon cable running to the THAT's hybrid port. It is possible to exert some active control of the THAT via the hybrid port, for example, commanding it to reset to its initial conditions and solving an equation. However, with only two analog inputs available after accommodating the LCD shield, I was using the Arduino as a purely passive display. I wrote a program to display the lunar surface and the player's spacecraft in classic vector-like style. Fuel is displayed as a dwindling horizontal bar. Speed is computed and displayed by sampling the spacecraft's altitude about 10 times per second and dividing the change in altitude by the time interval between measurements. When the altitude reaches zero, the speed is checked and the player is told if they landed safely, damaged their spacecraft, or were destroyed on impact. The program then waits until the THAT is reset for another attempt. Somewhat to my surprise, my hybrid contraption worked smoothly. Spacecraft rose and fell on the display in accordance with the laws of physics encoded in the THAT's nest of wiring, and lived or died depending on my skill with the throttle. As an intro to a form of computing now alien to nearly all engineers, the THAT is about as well designed an on-ramp as you could wish for. Now it's time to take down Kreyszig and start exploring my own physics models! This article appears in the January 2024 print issue as "A Brand New Analog Computer." From Your Site Articles * 1964 Ad Flashback: When Analog Computers Walked the Earth > * Optical Algorithm Simplifies Analog AI Training > * Not Your Father's Analog Computer > anabridanalog computingelectronic kitshybrid computinglunar lander type:departments Stephen Cass Stephen Cass is the special projects editor at IEEE Spectrum. He currently helms Spectrum's Hands On column, and is also responsible for interactive projects such as the Top Programming Languages app. He has a bachelor's degree in experimental physics from Trinity College Dublin. The Conversation (0) A circuit board with wires plugged into it is laying on top of an open laptop The InstituteTopicMagazineTypeCareersNews IEEE Receives Grant to Develop Lesson Plans On Semiconductors 3h 3 min read Video Friday: More Happy Holidays! RoboticsTopicTypeNewsHumanoid Robots Video Friday: More Happy Holidays! 5h 2 min read An illustration of a speedometer with the number "7" on the dial. TelecommunicationsTopicMagazineTypeFeatureComputingSpecial Reports January 2024 Wi-Fi 7 Signals the Industry's New Priority: Stability 6h 4 min read Related Stories CareersTopicMagazineTypeTransportationProfileJanuary 2024 From Cleaning Offices to Designing EV Charging Stations DIYTopicDecember 2023MagazineHands OnType Build Your Own Hi-fi Ear Defenders CareersTopicDecember 2023MagazineTypeRoboticsProfile Imagineer Morgan Pope Uses Electromagnetism to Spark Emotions