Analog Engineer’s Pocket Reference Needs A Big Pocket

We always admire when companies produce useful tools or documentation that aren’t specific to their products. For example, consider LTSpice. Sure, it has the company’s models baked in. But there’s no reason you can’t use it for anything. Thanks! We were interested to see Texas Instrument’s fifth edition of the “Analog Engineer’s Pocket Reference” is still freely available. While we aren’t sure a book with nearly 200 pages in it is a “pocket reference,” we do think you’ll enjoy it, even if you don’t want to use TI’s offerings. This book has been around for 50 years, but it is updated periodically, and this version is the fifth iteration.

The book has several sections ranging from conversion between units and color codes to amplifier noise calculations and understanding ADC settling times. Want to know more about PCB microstrips? Page 85.

Continue reading “Analog Engineer’s Pocket Reference Needs A Big Pocket”

A set of solderless breadboards with op amps and their functions annotated

Op-Amp Challenge: Virtual Ball-in-a-Box Responds To Your Motions

With the incredible variety of projects submitted to our Op-Amp Contest, you’d almost forget that operational amplifiers were originally invented to perform mathematical operations, specifically inside analog computers. One popular “Hello World” kind of program for these computers is the “ball-in-a-box”, in which the computer simulates what happens when you drop a bouncy ball into a rigid box. [wlf647] has recreated this program using a handful of op amps and a classic display, and added a twist by making the system sensitive to gravity.

All the physics simulation work is performed by a set of TL072 JFET input op amps. Four are configured as integrators that simulate the motion of the ball in the X and Y directions, while four others serve as comparators that detect the ball’s collisions with the edges of the box and give it a push in the opposite direction. Three more op amps are connected to form a quadrature oscillator, which makes a set of sine and cosine waves that draw a circle representing the ball.

A miniature CRT viewfinder showing a small circleThe simulator’s output signals are connected to a tiny viewfinder CRT as well as a speaker that makes a sound whenever the ball hits one of the screen’s edges. This makes for a great ball-in-box display already, but what really makes this build special is the addition of an analog MEMS accelerometer that modifies the gravity vector in the simulation.

If you tilt or shake the sensor, the virtual box experiences a similar motion, which gives the simulation a beautiful live connection to the real world. You can see the result in a demo video [wlf647] recently posted.

The whole setup is currently sitting on a solderless breadboard, but [wlf647] is planning to integrate everything onto a PCB small enough to mount on the viewfinder, turning it into a self-contained motion simulator. Analog computers are perfect for this kind of work, and while they may seem old-fashioned, new ones are still being developed.

Front and back views of a square, purple PCB with op amps and BNC outputs

Op Amp Contest: Generate Spirograph Shapes Using Only Op Amps And Math

If you’re a child of the ’80s or ’90s, chances are you’ve spent hours tracing out intricate patterns using the pens and gears of a Spirograph kit. Simple as those parts may be, they’re actually a very clever technique for plotting mathematical functions called hypotrochoids and epitrochoids. [Craig] has spent some time analyzing these functions, and realized you can also implement them with analog circuits. He used this knowledge to design a device called Op Art which generates Spirograph shapes on your oscilloscope using just a handful of op amps.

A spirograph shape shown on an oscilloscope screenTo draw either a hypotrochoid or an epitrochoid, you need to generate sine and cosine waves of various frequencies, and then add them with a certain scaling factor. Generating sines and cosines is not so hard to do with op amps, but making an adjustable oscillator that reliably churns out matching sine and cosine waves over a large frequency range turned out to be tricky. After a bit of experimentation, [Craig] discovered that a phase-shift oscillator was the right topology, not only for its adjustability but also because it generates sine, cosine and inverted sine terms that all come in handy when drawing various Spirograph shapes. Continue reading “Op Amp Contest: Generate Spirograph Shapes Using Only Op Amps And Math”

An electronic neuron implemented on a purple neuron-shaped PCB

Hackaday Prize 2023: Explore The Basics Of Neuroscience With This Electronic Neuron

Brains are the most complex systems in the universe, but their basic building blocks are surprisingly simple — the complexity arises from billions of neurons, axons and synapses working together. Simulating an entire brain therefore requires vast computing resources, but if it’s just a few cells you’re interested in, you don’t need much: a handful of op-amps and transistors will do the job, as [Sebastian Billaudelle] has demonstrated. He has designed an electronic neuron called Lu.i that does everything a real neuron does, in a convenient package suitable for educational use.

[Sebastian]’s neuron implements what’s known as the leaky integrate-and-fire model, first proposed by [Louis Lapicque] as a simple model for a neuron’s behavior. Basically, the neuron acts as an integrator that stores all incoming charge in a capacitor and generates a spiky output signal once its voltage reaches a certain threshold level. The capacitor is slowly discharged however, which means the neuron will only “fire” when it gets a strong enough input signal.

Two neuron-shaped PCBs exchanging signalsA couple of MCP6004 op-amps implement this model, with an LM339 comparator acting as the threshold detector. The neuron’s inputs are generated by electronic synapses made from logic-level MOSFETS. These circuits route signals between different neurons and can be manually set to either source or sink current, thereby increasing or decreasing the neuron’s voltage level.

All of this is built onto a neat purple PCB in the shape of a nerve cell, with external connections on the tips of its dendrites. The neuron’s internal state is made visible by an LED bar graph, giving the user an immediate feel for what’s going on inside the network. Multiple neurons can be connected together to form reasonably complex networks that can implement things like oscillators or logic functions, examples of which are shown on the project’s GitHub page.

The Lu.i project is a great way to teach the basics of neuroscience, turning dry differential equations into a neat display of signals racing around a network. Neurons are fascinating things that we’re learning more about every day, enabling things like brain-computer interfaces and neuromorphic computing.

Ask Hackaday: Split Rail Op Amp Power Supply

Water cooler talk at the office usually centers around movies, sports, or life events. Not at Hackaday. We have the oddest conversations and, this week, we are asking for your help. It is no secret that we have a special badge each year for Supercon. Have you ever wondered where those badges come from? Sometimes we do too. We can’t tell you what the badge is going to be for Supercon 2023, but here’s a chance for you to contribute to its design.

What I can tell you is that at least part of the badge is analog. Part, too, is digital. So we were discussing a seemingly simple question: How do we best generate a bipolar power source for the op amps on a badge? Like all design requests, this one is unreasonable. We want:

  • Ideally, we’d like a circuit to give us +/- 9 V to +/- 12 V at moderately low current, say in the tens of milliamps. Actual values TBD.
  • Low noise: analog circuitry, remember?
  • Lightweight: it is going on a badge
  • Battery operated: the badge thing again
  • Cheap: we only have a couple bucks in the budget for power
  • Available in quantity: we’ll need ~600 of these

Continue reading “Ask Hackaday: Split Rail Op Amp Power Supply”

Analog Anoraks: The Op Amp Contest Starts Now!

We thought it was time to give the analog side of Hackaday their chance to shine, and what’s the quintessential analog IC? The op amp! Whether you’re doing tricky signal conditioning, analog computations like it’s 1960, or just making music sound good, op amps are at the heart of many designs. This contest, starting right now, is your chance to show off what you can do with a good op amp, or a few.

And for everyone else, here’s your chance to dip your toes into the warm analog waters. Whether you’ve always wanted to build a Chua’s chaos circuit or just to listen to music, there’s probably an op-amp project that will fit your personal bill. All you have to do to enter is set up a project on Hackaday.io, and use the pull-down menu to enter. We welcome shows of op-amp bravado, naturally, but we’re also stoked to see your simple projects that might help our digital friends leave their world of black and white, and enter into the shades of grey.

Thanks to Digi-Key, our sponsor for the challenge, there are three $150 shopping sprees on the line for the winners. And as always, there are some honorable mention categories to help whet your analog whistle, and to give us an excuse to feature a lot of great projects. You’ve got until June 6, to get your entry in, but these aren’t necessarily simple builds, so get going now.

Continue reading “Analog Anoraks: The Op Amp Contest Starts Now!”

From Nanoamps To Gigahertz: The World’s Most Extreme Op Amps

The operational amplifier, or op amp, is one of the most basic building blocks used in analog circuits. Ever since single-chip op amps were introduced in the 1960s, thousands of different types have been developed, some more successful than others. Ask an experienced analog designer to name a few op amps, and they’ll likely mention the LM324, the TL072, the NE5534, the LM358, and of course the granddaddy of all, the uA741.

If those part numbers don’t mean anything to you, all you need to know is that these are generic components that you can buy anywhere and that will do just fine in the most common applications. You can buy fancier op amps that improve on some spec or another, sometimes by orders of magnitude. But how far can you really push the concept of an operational amplifier? Today we’ll show you some op amps that go way beyond these typical “jellybean” components.

Before we start, let’s define what exactly we mean when we say “operational amplifier”. We’re looking for integrated op amps, meaning a single physical component, that have a differential high-impedance voltage input, a single-ended voltage output, DC coupling, and high gain meant to be used in a feedback configuration. We’re excluding anything made from discrete components, as well as less-general circuits like fixed-gain amplifiers and operational transconductance amplifiers (OTAs).

Continue reading “From Nanoamps To Gigahertz: The World’s Most Extreme Op Amps”