Supercon 2024: A Hacker’s Guide To Analog Design In A Digital World

A black and white slide with the Supercon 8 logo in the top left, the text, "Nanik Adnani" and "A Hacker's Guide to Analog Design in a Digital World" is in the bottom left. To the right is a circularly cropped image of An image of a college student in glasses and a cap sitting with a black camera in his lap.

We often think of analog computing as a relic of the past, room-sized monstrosities filled with vacuum tubes doing their best to calculate Monte Carlo simulations or orbital velocities. Analog isn’t as dead as it might seem though, and analog mix signal design engineer [Nanik Adnani] gave us a crash course on analog circuits at Supercon 2024.

For those of us less familiar with analog circuits, [Adnani] helpfully offered a definition of analog circuit design as “the design of electronics that create or manipulate continuously variable signals.” It turns out, that even our nice, clean digital signals are actually more analog by the time they interact with the real world. This comes down to various factors like substrate losses, conductors, impedance, and even capacitance. Given the difference in scale between a logic gate and the actual pins the signal comes out of from an integrated circuit, it becomes clear that the amount of current the pin can handle versus the logic gate inside the chip is quite different. In order to bridge the gap, chips use a physical interface, or PHY, which happens to be an analog interface which allows the logic on the chip to communicate off the chip.

[Adnani] explained how every digital protocol in common usage requires some degree of analog circuits including LoRa, USB, CAN, etc. Most chips handling these protocols have a separate analog team designing the analog circuit which requires slightly different metal layer design, so while determining the exact function of an analog circuit can be difficult to determine from an X-ray of the chip, finding where they are compared to the digital components is quite simple.

A walker with wheels and a plastic seat. In a basket under the seat is a white box with a brass latch. A blue water bottle sits next to it. Wires come out of the box and go up to the handles of the walker and to the water bottle (actually a water gun) and RGB lighting on the front of the walker.Like with most things we hackers delve into, the best way to learn is by doing after picking up a few basics, and [Adnani] reiterates this throughout his talk. One of the more unexpected examples was his grandmother’s tricked-out walker. It has RGB lighting, a water gun, and a car horn. The car horn required a PHY to step things up from the 40 mA from the microcontroller to the 8 A required to drive the horn.

Some other examples from the talk are this PHY for storing data on a cassette by [Zack Nelson], a guitar pedal [Adnani] designed himself for tape out, and analog bird circuits by [Kelly Heaton]. Analog still has a well-known place in music for various components as well.

The last piece of course, is how do you learn analog circuits when everyone around you lives in the digital realm? [Adnani] recommends starting by hitting the books as internet posts can often be a game of telephone, and getting the values wrong on capacitors or the like is a lot more problematic in an analog circuit. Some of his suggestions are as follows (~13 min into the video):

  • Design of Analog CMOS Circuits – start here
  • Sedra and Smith – if you like math
  • The Art of Electronics – board level design
  • CMOS Circuit Design, Layout, and Simulation – trying to tapeout a chip
  • Analog Integrated Circuit Design – advanced concepts

[Adnani] says, “I had one professor tell me that all you really need is the first four or five chapters of Design of Analog CMOS Integrated Circuits by Behzad Rezavi and then you can start building things.” If videos work better for you better, then [Adnani] recommends checking out [Moritz Klein], [Carsten Wulff], and [Ali Hajimiri] who all have robust offerings on the subject.

At the end of the day, you won’t really learn it until you try to build something, so get a box of components and start tinkering. Simulation can also be beneficial, so [Adnani] recommends trying out your circuits in LTspice for discrete simulations and Ngspice if you want to tape out. While taping out a design for a few hundred bucks seems pricey, it’s a lot cheaper than a university course in many regions of the world. [Adnani] ends with an exhortation that if a humble undergraduate can do analog work, then any hacker can too, so maybe give it a whirl on your next project!

9 thoughts on “Supercon 2024: A Hacker’s Guide To Analog Design In A Digital World

      1. Some are the same people.
        However there is no gatekeeper for ‘hacker’.
        Especially when times are weird, weirds will claim the ‘Hacker’ title without doing the work.

        ‘Analog’ is a deep subject and the math is hairy.
        Lots of innumerates among self described ‘Hackers’.

        Also: lots of innumerates among undergraduates…
        Just not in the Engineering school (for long).

        You can’t even take Circuits 1 without DiffEq.
        No ‘calc for business majors’ mouth breathers in the room.

  1. If you want to learn analog design, start by learning differential equations, Laplace transform and transfer functions. Otherwise you’re tryharding the same way as in high school physics where you’re told to memorize some bullshit equations and ask no questions instead of simply understanding how Newton and others came upon them and derived them from math fundamentals.

    1. I have terrible memory though, I can’t remember all the billion sinX d/dx = cosX formulae

      Any advice for me? I’m not particularly interested in analog design, I just want to get better at math and have a broader toolset to solve problems

      1. Unless you’re studying medicine (MD=’memorized degree’), if you find yourself memorizing, you are doing it wrong.

        Take/pass the physics/calc sequence.
        It’s not easy, but so what?

        Nothing that comes after it is easy either, but the people that never get it are blind.

    2. You can learn to design analog circuits by learning things by rote, but you won’t have as deep an understanding of why things work they way they do. That lack of understanding can be very limiting. But for the non-paid hacker who is in it for the love of making things but not so much the love of understanding things, learning by rote can be enough to have an enjoyable hobby.

Leave a Reply to HaHaCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.