Embedded

View Original

398: Clocks Get into Everything

Transcript from 398: Clocks Get into Everything with Tom Anderson, Elecia White, and Christopher White.

EW (00:00:06):

Welcome to Embedded. I'm Elecia White, alongside Christopher White. This week, we are talking about invisible intangibles and how they interact with each other. And us. I'm pleased to welcome Tom Anderson back to the show.

CW (00:00:22):

Hey, Tom. How are you doing?

TA (00:00:24):

Doing great. Thank you.

EW (00:00:25):

Could you tell us about yourself as if we met at a technical conference that was for some weird reason in-person?

TA (00:00:34):

I remember that. Sure. I'm Tom Anderson. And right now I work for Keysight Technologies, although I'm not speaking for Keysight today. And before that I worked at Agilent, and HP. And I've also done a lot of hobby electronics, and lately I've been helping at Alembic, where they make basses and guitars.

CW (00:01:01):

Very nice basses.

TA (00:01:03):

Yeah.

CW (00:01:03):

Very, very nice basses.

TA (00:01:05):

Oh, they're so nice. I just tried one recently. It was absolutely amazing. It has on it what's called ghost frets. So it's a fretless bass, but it has inlays -

CW (00:01:20):

Oh, yeah.

TA (00:01:20):

- where the frets are... -

CW (00:01:22):

Yeah.

TA (00:01:22):

- that look just like the frets. So it looks like a regular fretted bass. And when you pick it up, you know where your fingers go, because there's frets.

CW (00:01:28):

That's cool.

TA (00:01:29):

Except...they're just inlayed...So when you play it's amazing and fretless.

CW (00:01:40):

See, that would just confuse me. Because you have to put them right where the frets are in that case, whereas I'm used to putting them sort of behind the frets on a fretless.

TA (00:01:47):

No, they go a little behind the frets, just like -

CW (00:01:49):

Oh, okay.

TA (00:01:49):

- on a regular bass. And I picked it up and I didn't realize it was that way.

CW (00:01:54):

Oh.

TA (00:01:54):

And I thought, "Wow, why is this bass perfectly in tune? How do they do that?" Because usually because of the 12 tone scale or whatever, they're slightly off. The 12 tones don't -

CW (00:02:07):

Right.

TA (00:02:07):

It's not a perfect...just intonation. And so it actually sounds more in tune than a regular instrument with frets.

CW (00:02:21):

I fear I've derailed our podcast already into bass talk, so we can move on to lightning round.

EW (00:02:26):

It can be bass talk. Okay, well let's do lightning round, and then maybe we'll get back to basses. Okay. Copper tape or Kapton tape?

TA (00:02:35):

Copper.

CW (00:02:36):

Favorite frequency?

TA (00:02:38):

10.7 megahertz. Actually, no. Let me pick another one. 159 kilohertz.

EW (00:02:45):

Least favorite frequency?

TA (00:02:47):

So 159 kilohertz -

EW (00:02:49):

Yeah.

TA (00:02:49):

- is magical, because that is one megaradian per second. So I can do all the math in my head.

EW (00:02:56):

Oh, alright.

TA (00:02:59):

So one microfarad is - j1Ω.

EW (00:03:02):

I can't do that math in my head. No. What is your least favorite frequency?

TA (00:03:09):

DC. Zero -

CW (00:03:10):

I knew you were gonna say DC.

TA (00:03:12):

0Hertz. Yeah. It's the worst. Yeah. So many problems.

CW (00:03:17):

Four, five, or six strings?

TA (00:03:19):

Oh, four.

EW (00:03:21):

Favorite fictional robot?

TA (00:03:23):

I'm going to go with Talos, because I don't think he's been picked yet.

EW (00:03:28):

What is Talos from?

TA (00:03:30):

Ancient Greek? He was a robot that -

CW (00:03:34):

Oh, right.

TA (00:03:35):

- defended Crete or something like that. And Jason and the Argonauts had to kick him.

EW (00:03:42):

Cool.

CW (00:03:43):

The oldest robot.

EW (00:03:44):

Yeah.

TA (00:03:45):

Yeah. I believe it's the original that people know about now. Although there were some other things you could call robots, they weren't shaped like a person or anything. They had things like little carts that would move themselves and things like that.

CW (00:04:01):

Active or passive? You can interpret that however you like.

TA (00:04:05):

Well, let's go active.

CW (00:04:07):

Okay.

EW (00:04:08):

And do you have a tip everyone should know?

TA (00:04:12):

Yes. It's a soldering tip. Keep your sponge clean.

EW (00:04:16):

Our sponge isn't clean. We haven't done -

CW (00:04:17):

We have the wire thingy.

EW (00:04:19):

Well, that's true.

TA (00:04:21):

Yeah. That's okay. Those are pretty good actually.

EW (00:04:24):

So we invited you on the show to talk about RF, radio frequencies, because that's magic, at least according to some. According to some it's the blackest of magic.

TA (00:04:41):

[Ooo].

EW (00:04:41):

Is that true?

TA (00:04:43):

Well, so, I'll tell you what I'm going to do. I think I can teach it to you really quick right now, and then you can decide. And so, are you ready?

EW (00:04:57):

Yes.

TA (00:04:58):

Okay. There'll be just a little bit of homework afterwards if you want to actually say that you know RF afterwards, but not very much. You'll get most of it right here, right now. So the problem with RF is wire. The problem is that when you draw a schematic, you have components, and those are fine with the pins.

TA (00:05:18):

And then there's wires that hook them together. And the wires on the schematic correspond typically to traces on printed circuit boards that connect the components, like where you solder things down and there's a wire. And that works pretty good until you run into the situation where there's a different voltage on each side of the wire.

TA (00:05:41):

And that can happen for a variety of reasons. One is that it takes time for a signal to go from one pin from the driver to the receiver. And that's related to the speed of light and a few other constants like what the board is made out of. But mostly it's the speed of light. And so...when you drive, say a digital signal, there's a step.

TA (00:06:11):

And so this step on one side of the wire, it's gone from say zero to three volts, but at the other side of the wire, it's still at zero volts,...because the signal hasn't gotten there yet. And so now we have a different voltage at both ends of the wire. And that is the condition for RF. That is an example of RF happening.

TA (00:06:39):

Now, if the rise time is slow on your digital signal, where the wire is sufficiently short, then there's very little delay between the driver and the receiver. And so that voltage comes up slowly enough that the voltage,...it tracks it the same. And so say you're halfway to three volts. You're at one and a half volts in the driver.

TA (00:07:09):

You're also at one and a half volts on the receiver, or maybe 1.49 volts, or something. Close enough. Okay. That is not RF. Okay. So the problem is, is when there's a wire, what do you do about that? And so in RF, they talk about transmission lines, but usually in the schematic they don't draw it any differently.

TA (00:07:31):

It just looks like a wire, but when it comes time to go to layout, there's all these rules about, "Well, what are we going to do with this transmission line," and how to handle it. And so that's just totally confusing, because now the schematic doesn't really say what you're doing anymore.

TA (00:07:51):

And when you have a question about it, the person who's the designer sort of mumbles about signal integrity or something. They don't communicate that very well. And that's a problem with our tools.

EW (00:08:09):

Okay. I'm going to stop you for a second, make sure that I understand. RF comes about because the driver and the end of the wire may not be the same voltage. There's some sort of potential between them.

EW (00:08:28):

And that will be temporary, because it will be communicated via the wire at the speed of light or thereabouts. And a wire in this case is any piece of metal. It could be the copper mask. It could be a wire. It could be an antenna.

CW (00:08:55):

Well, it isn't an antenna. That's the problem. But yes.

TA (00:08:58):

It could be an antenna, but we're going to handle those slightly differently. That's going to be our graduate school course.

EW (00:09:07):

But it's mostly about voltage potentials being transmitted from one side to another at the speed of light, because that is a constant speed. And even though it feels instantaneous to us, it's not as fast as everybody thinks.

TA (00:09:22):

That's my claim for right now. Yes.

EW (00:09:25):

Okay. Grace Hopper had those nanoseconds.

TA (00:09:30):

Right.

EW (00:09:30):

And it's the length of wire, usually they're wires, that it takes light to go a nanosecond.

CW (00:09:40):

A nanosecond.

EW (00:09:41):

A nanosecond's worth of light distance. And it's about 30 centimeters long. About a foot.

TA (00:09:47):

Yes. One nanosecond per foot is a time honored tradition of, approximately -

CW (00:09:52):

Which is why imperial units are better.

EW (00:09:57):

But it's important to think about the whole one nanosecond per foot, because when you are doing things like communicating to space, that's a lot of nanoseconds.

CW (00:10:09):

Yes.

EW (00:10:10):

Okay. Okay. RF.

CW (00:10:12):

Back on track.

EW (00:10:12):

Back on track. There's a voltage difference in the wire. I got it. Go ahead.

TA (00:10:19):

Okay. So we're going to deal with that voltage difference. But the other thing about RF is there's some jargon they use, and it can really put you off, because they use a different word for voltage actually. They talk about dBm. What the heck is dBm? And dB. They talk about dB a lot.

TA (00:10:52):

Now we're kind of used to dB from Bode plots or frequency response plots, right? So, 20 dB is a factor of 10 in voltage. But what they want to do is they want to talk about dBm,...which is a power level. So that's +10 dBm. Well, what do they mean by that?

TA (00:11:18):

Well, in RF, it turns out you need a resistor for that to make any sense. And so they use 50 ohms, because they love 50 ohms in their RF. It's their favorite resistor. And so what I always remember is that +10 dBm is two volts peak-to-peak.

TA (00:11:37):

And so when you ask somebody,..."What's the voltage coming out of this oscillator," they might say 10 dBm, or 27 dBm, or something. And you say, "Well, okay. We're not actually driving 50 ohms, but what they really mean is the voltage level as if we were driving 50 ohms. And is there a 50 ohm load or not?"

EW (00:12:03):

That is super confusing.

TA (00:12:05):

It's very confusing. It is super confusing. And it's totally legitimate to ask the RF engineer, "Well, what would that be on my scope?"

EW (00:12:14):

Oh, yes.

CW (00:12:15):

What's the origin of that? I don't -

EW (00:12:18):

Well, dBms are power according to Wikipedia.

CW (00:12:21):

Yes.

TA (00:12:22):

Yes. Yes, they are.

EW (00:12:23):

And you just mentioned 10 dBmS is two volts.

CW (00:12:26):

At 50 ohms.

TA (00:12:26):

Yeah.

EW (00:12:27):

But on Wikipedia, it's saying 526 dBmS is a black hole collision.

TA (00:12:33):

Yeah, it's -

EW (00:12:33):

And those don't seem like very many orders of magnitude apart.

CW (00:12:36):

Well, remember, it's logarithmic. 526 is quite a lot.

TA (00:12:41):

Yeah. That's a big number. A lot of zeros. So I can't justify the dBm other than to say that the test equipment, the vertical scale on it, or a power meter, or whatever, they're all historically in dBm. So I just have to apologize for that. But what you do is you practice it a little bit, and you learn P equals V squared divided by R.

CW (00:13:12):

Right.

TA (00:13:12):

And you just need to know that R is equal to 50 ohms. You can horse the math around and figure out some formula that you like. And so I just take +10 dBm, I actually remember that it's one volt from the peak to zero, or two volts peak-to-peak, into 50 ohms, and then I scale everything from that.

TA (00:13:33):

And usually they're referring to a voltage into 50 ohms, is what they really mean. But it gets thrown around a lot, and it's just totally annoying. So that's kind of the insider club jargon. They have a little more of that, but that's probably the worst offender. And so now we're two thirds of the way through RF. But we've got one more piece.

TA (00:14:00):

So you've got your Bode plots, right, which are, dB on the vertical axis. So it's 20 times the log of some ratio of voltages, typically say, vout over vN, if it's a Bode plot. And you'll see that all over the place. You'll also see it for things like the gain of amplifiers versus frequency.

TA (00:14:34):

And we take the log of the frequency, because when we do that, it's really a log-log scale, right? Because dB is a log kind of a thing and log frequency on the other axis. And there's kind of that principle that if you take enough logs, everything is a straight line. And so that's almost true, but in RF, there's a problem actually.

CW (00:14:56):

Just one? Sorry.

TA (00:15:00):

The problem is the transmission lines, which is the wire, -

CW (00:15:03):

Yes.

TA (00:15:03):

- my wire that had the problem, where there's a delay across it, if I plot what that does on a Bode plot, it doesn't make a straight line. And it will drive you crazy, because well, you can imagine an RC filter, right? It has a 3 dB point...At low frequencies, it's 0 dB, and it's a flat spot. And then it kind of...curves neatly down to 3 dB.

TA (00:15:36):

And then there's another straight line where it goes down 20 dB per decade or 60 dB per octave, nice straight lines with nice little curved segments hooking them up. And let's say instead of a resistor and a capacitor, I put in a transmission line and a capacitor, and I made that same Bode plot.

TA (00:15:55):

Well, it's not pretty anymore. And so we need some sort of a diagram that's going to make that pretty. And so...these are called Smith charts. But to me, Smith chart, that's a terrifying name, because my name is Tom Anderson, and I'm naturally afraid of Agent Smith.

EW (00:16:21):

Why didn't we ask any Matrix questions? Oh my God.

CW (00:16:27):

Sorry, Mr. Anderson.

TA (00:16:29):

And so I'm not going to call them Smith charts. I'm going to call them dollhouses -

CW (00:16:36):

Okay.

TA (00:16:36):

- for reasons that I'll go into. And so what we're going to do is we're going to make a dollhouse where transmission lines are pretty. Don't you think that's a more friendly way to do it than RF, than black magic? I think it's pretty.

EW (00:16:52):

As someone who thinks DMA should be a dry cleaning assistant, sure.

TA (00:16:58):

Okay. So I'm going to start off with some math that kind of shows sort of how it works. It's a little bit different. It's a simplified case of the math. But it's easier to understand, and it's easier to describe in words than the full-blown dollhouse. So call it a...slightly different kind of a dollhouse.

TA (00:17:28):

It's a dollhouse in the same neighborhood, but it's...a slightly different design, and sometimes it's called inversion in a circle. And so the idea is this. I can take a graph of, say, any old function, or it could be a picture of something in two dimensions. And I'm going to draw a little circle at the origin with a radius of 1.

TA (00:18:01):

So I've got a little circle sitting down there. And I'm going to take every point in my picture, and I'm going to have everything outside the circle. And I'm going to take its reciprocal or it's inverse -

EW (00:18:16):

One over.

TA (00:18:17):

One over, right? So if I'm down on the x-axis where y = 0, so I'm down on that nice horizontal line on my graph, and I go to the spot 3, then...I'm going to draw that little point at 1/3 inside the circle. And if I have something at 10, it'll be at 1/10, or I can go clear out to infinity, and it's at 0.

EW (00:18:51):

But what about the stuff between 0 and 1?

TA (00:18:54):

Well, we're going to leave that out for now.

EW (00:18:56):

Okay. Okay.

TA (00:18:57):

And so then I can go off of the axis and have some y to it. So I can step up off of my axis a little bit. And the way that I do it, the way that I invert that number is, I take...the distance from the origin to that point, which is...the sum of the squares of the x and y, is that radius.

TA (00:19:34):

And then I take one over that radius. So if I had, I don't know, say, a 3-4-5 triangle, say I would be at 3 on the x-axis and 4 on the y-axis. So that would be a 0.5 away from the center. I would go to one 1/5, but...in the arrow to my 1/5, it would be at the same angle as it was going to the 5, it just goes to 1/5 now.

TA (00:20:08):

And so that's how I got my y-axis. And so now I can draw my picture out in the XY space, and whatever I have, I can map it inside the circle. And you can still recognize the picture in there. It still looks like the big thing. It's just small and kind of curved.

TA (00:20:29):

Everything is kind of cute and curvy inside there. And you can plot it...You can write a program or something to just map all the points, and plot a bunch of them, and just try it. It works great.

TA (00:20:45):

You'll notice that things like a triangle on the outside becomes a triangle on the inside, except the lines are curved a little, or a circle on the outside becomes a circle on the inside. And so that's kind of nice. That's kind of that's a little dollhouse version of the whole plane.

EW (00:21:11):

That's why you said dollhouse. Okay. Sorry.

TA (00:21:13):

So yeah. So it's a little dollhouse. Yeah, yeah. It stores all the plane and it has all the information from the great big plane in it, except for the stuff that was inside the circle.

CW (00:21:24):

Which you've mapped over.

TA (00:21:26):

Yeah, yeah. Which I covered up. And so now one of the cool things about it is that everything that's infinity maps to the origin.

CW (00:21:38):

Right.

TA (00:21:38):

So there's a whole bunch of different kinds of infinity, right? There's all these complex numbers, or...maybe not infinity, say really big numbers...All the really big numbers are so close to the origin that they might as well be zero...And why is that handy?

TA (00:21:57):

Well, say you have a meter, an ohm meter, and you don't connect any component to it. So it's just open wires. So that's infinite resistance, right? So that's going to map to that point at zero. Now, let's say I take a capacitance meter, and I leave its wires off. It reads zero picofarads.

TA (00:22:26):

And so that's sort of an infinite impedance, but well, it was going to be a capacitor. So I'll call it minus j infinity. Well, that also maps to zero and the same with shorted inductors....or actually an open inductor. And open for inductance looks like an infinite inductor.

TA (00:22:51):

Instead of zero inductance, it looks like an infinite inductance, which is a weird thing. If you're ever using a meter that has an inductance button on it, and it goes open, they don't read infinity. Much like an ohm meter reads many ohms, an inductance reader will read many henrys.

TA (00:23:12):

And you wonder where your many henry inductor is, but you don't have one. It's just open. So that maps all these infinities into one point. And that's very nice. That's a nice feature. Now the dollhouse we're going to use for RF is slightly different.

TA (00:23:31):

Instead of just using inversion with 1/z, it uses, I don't know, (z-1)/(z+1), or you can do the reverse of (z+1)/(z-1). It just turns it upside down. And what that does is give you three interesting points on it. It takes all of the infinite points, and it puts them on the right hand side of the circle.

TA (00:23:59):

And it takes some number that people like, any number you choose, you can scale it, and puts it in the center. And people typically use 50 ohms there, or 1, depending on what they're doing. If you're mapping gain, then you typically put 1 there. And it puts 0 on the left hand side of the circle.

TA (00:24:21):

And so all of the zeros, all the complex numbers close to zero, or all the impedances close to zero, are in one point. And so that is a Smith chart. And you can go online, and you can find Smith charts, and do tutorials.

TA (00:24:41):

And what you do is you take a bunch of parts, like a little capacitor, or a little inductor, or something, different values of it, and you just plot the impedance of it, which you get through the formula. For an inductor, it's 2*pi*f times the inductance.

TA (00:25:00):

And you just plot that versus frequency on the Smith chart, and just see how everything traces out. And very quickly you can figure out, "Oh, here's what a capacitor looks like. Here's what an inductor looks like versus frequency." Much like a Bode plot, it's just, they're all circles instead of straight lines.

TA (00:25:24):

And then what you can do is start putting things in series in parallel and plotting those. And those get really cool, because if you put an inductor in series with a capacitor, it makes a little loop, a little squiggly loop. And so you can do all that.

TA (00:25:47):

And you can very quickly figure out, "Oh, well, now I know, if I add a little capacitor in series with this kind of a component, I can change its impedance at some funny frequency." And you can also do that just mathematically without it, just use a calculator. But it's much more intuitive to do it inside the little dollhouse.

TA (00:26:12):

And in fact that little house is in a lot of the datasheets for RF components. And so you'll see these circles in the datasheets with plots in them, with curved plots in them. And you wonder, "What are those for?" And those are just like Bode plots, except they're in this different kind of graph paper.

EW (00:26:37):

Okay. Let's see how much of that I got, because there was a lot there. So there's the Smith chart, which I'm looking at on Wikipedia. So definitely there's a circle thing. There's some log things going on.

EW (00:26:53):

But it's not everything starts at the center. It's everything starts on the right side. And that's where zero lives, except we're talking about inverting everything. So that's where infinity lives.

TA (00:27:06):

Right.

EW (00:27:06):

And zero lives along the outside of the circle.

TA (00:27:09):

Zero is way over to the left.

EW (00:27:12):

Zero is way over to the left.

TA (00:27:14):

Yeah. The axes, the y-axis is the outer circle around it. Now, in this case, the circle, the little dollhouse, only contains 1/2 of the plane.

EW (00:27:28):

And the reason it's a dollhouse is because there are multiple circles as we go through. And you can think of them as small versions of other things.

TA (00:27:42):

Yes...You would need really big paper to plot this...or you could use log paper also. It's just that it wouldn't be pretty, because the lines wouldn't be straight. They might be circles on the big paper, but they're very inconveniently shaped.

TA (00:28:00):

And so the advantage of the Smith chart being that everything comes out as a nice size. It fits. Even if you're making Bode plots, it's always a problem. You've got to decide how many decades you want..., and if you wanted a Bode plot to plot all the way to infinity, that would be really hard, right?

TA (00:28:23):

Because you would need an infinite-size paper, whereas this thing fits the whole plane in one circle. And so you don't even have to decide how big it is when you start...It just comes in one size fits all.

CW (00:28:36):

And if people are curious about the mathematics behind this, this is setting off lots of alarms in my brain to things I had to do, but this is all coming out of complex analysis.

CW (00:28:47):

And it's a particular case of a thing called a conformal mapping, where you're taking the plane, and doing things in the complex plane, and mapping it a different arrangement, I guess. And -

EW (00:29:04):

It's the same information.

CW (00:29:05):

It's the same information, but...the reason it's called conformal is all the angles are maintained, even though lines may become curves like Tom said with the triangles. The angles between things are still preserved.

TA (00:29:20):

Yeah.

CW (00:29:20):

So this is a particular case of that.

TA (00:29:21):

There's other applications too. For example, for similar kinds of math, if you want to draw a mirror, a round mirror, a reflective sphere, M.C. Escher has this really great drawing of himself holding up a reflective sphere, and it's the same type of math for doing that. And it's also related to perspective drawing.

CW (00:29:51):

Right. Right.

TA (00:29:51):

Because you can imagine in perspective, you kind of want things that are farther away to be smaller, and this is a mathematical way to make things that are farther away smaller in the correct way.

EW (00:30:08):

And...there is a group of different kinds of charts that are basically charts that change the domain or the coordinate system to make life easier for what you're doing. And it says, slide rules are basically charts like this, but they're moving charts.

EW (00:30:34):

I never thought about how much, I mean, I care about how information is presented, but these charts are pretty cool. A whole bunch of other charts here.

TA (00:30:42):

Yeah. If you wanted a slide rule for complex numbers, you would use a Smith chart. It'd be a good one. And in fact, you can find tutorials on exactly how to do that. It's sort of rare anymore, because people have other ways to...do arithmetic on complex numbers. You just use Python or whatever. But, yeah, Smith charts work too.

EW (00:31:07):

But the reason to use Smith charts is so that you don't have to have a computer. You can at least make an estimate of the answer.

TA (00:31:16):

Well, really the reason to use them is to make your problem pretty.

EW (00:31:23):

Pretty as in simple, or pretty as in art?

TA (00:31:27):

Well, they're the same thing, I think. They're pretty in that, well, they also match what's in the datasheet, because you have to deal with these things. Because people put them in datasheets every now and then. And they also put them in test equipment, like a vector network analyzer.

TA (00:31:43):

And the people who are doing antennas, when they talk about matching an antenna, they want to show you one of these pictures. And so you need to be able to look at their dollhouse and admire it.

EW (00:32:01):

I will be going up to the next electrical engineer I work with and say, "Show me your dollhouse."

TA (00:32:06):

Exactly. Yes. Yeah. I'm not sure this is going to take off with most of electrical engineers.

CW (00:32:11):

Alright. Alright.

TA (00:32:14):

...Yeah. But yes. Show me your Smith charts. Yes.

CW (00:32:19):

So we've got some basic stuff here. We've got when wire-like things create RF. We've got what RF people mean when they say dBm. And we've got how to sort of characterize in a visual way things that are happening with these circuits.

CW (00:32:38):

...And so the deal with wires, if I understand this correctly, is that basically whenever you have a changing voltage on a wire, given sufficient length, the differential in voltage on either side basically causes the electric field around the wire to do its way of thing and emit things, right?

EW (00:32:58):

Because of E&M.

CW (00:33:00):

Yes, because of physics. And -

TA (00:33:02):

Well, yeah -

CW (00:33:04):

So sometimes that's not desirable, and sometimes it is desirable. And so we haven't talked about either case yet, but how do I, a moron software engineer, use these tools to say, "Oh, I have a problem?"

TA (00:33:24):

Well, usually people ask me questions when their radio doesn't work. And other than that, they don't really care very much. Well, maybe EMI testing when they get a result they don't like from the range, yeah, from the FCC testing. And really the reason for the FCC testing is so you don't keep other people's radios from working.

EW (00:33:50):

But it affects more than radios. I mean -

CW (00:33:53):

Communication. Serial communications, for example.

EW (00:33:57):

But crosstalk on my ADCs -

CW (00:34:00):

Yes. Yes.

EW (00:34:00):

- is the place that I have been able to identify, "Oh, this is an RF issue," because it only happens when my radios communicate.

TA (00:34:09):

Right.

EW (00:34:10):

And my ADCs get all noisy.

TA (00:34:13):

Right. Well, a typical thing is clocks, because the clocks get into everything, like crystal oscillator type clocks used for processors.

EW (00:34:27):

Because they're going up and down all the time, and they have to travel some distance.

TA (00:34:33):

Yeah. And they tend to have a fair amount of current, because they drive a lot of different things. And so keeping the clock line short, and keeping the crystal just really prioritizing the layout of keeping that clock as close to where it needs to be as possible, and not running it anywhere where it shouldn't go, that's one of the main things you can do. More of a hardware problem there.

TA (00:35:01):

The other thing with clocks is they tend to have really fast rise times, because that's what people want. In order to have a clean edge so that you know exactly when it happens, you want it to happen quickly. And so they're pretty bad. The good news is, is that the clock oscillators themselves are a lot smaller now.

TA (00:35:25):

I just bought a little strip of some, and they're 2010s or something,...or 2020s or something. They're really small. They're almost like a little chip capacitor or something, except it's a whole clock. And so it's much easier to put it closer to the IC now, because it doesn't take up so much space.

EW (00:35:47):

So as Chris was saying, as a software engineer who's definitely not a moron, how do I know that I have a problem? You said...that people will come to you when their radios are not working or - ?

TA (00:36:00):

Oh, yes. So they refer to connectivity problems like, "I can't connect to Wi-Fi," or range problems like, "It only goes 10 feet. It's supposed to go 100 feet."

EW (00:36:12):

BLE is supposed to go all the way across my house. I'm sure of it. I read the spec.

TA (00:36:17):

Exactly. So what do you do about that? And there's a lot of different things to do. Much of it is in hardware. There's a few things in software. There's the drive strength of pins. Do you ever select the drive strength, or is that just a PIC thing?

CW (00:36:38):

No, you have to do that on micros.

EW (00:36:40):

Yeah.

TA (00:36:40):

Yeah. Okay.

CW (00:36:41):

You can. You don't have to necessarily.

EW (00:36:43):

Some micros, yeah.

TA (00:36:43):

Right. And so the stronger drive strength typically means it's going to go faster on the edge. And so you're more likely to have that condition where...you've got a different voltage on each side of the wire. And so that's something you can set. So use the weakest drive strength that works.

CW (00:37:06):

And that can also be related to your external pull-ups, right?

TA (00:37:09):

Yeah. If you don't have enough drive strength, you have to use a larger value pull-up, and it'll be slower.

EW (00:37:17):

I see. But I often do want to have some drive strength. For example, if I'm using my processor to drive my little motor, which you shouldn't do.

TA (00:37:29):

Yeah. Don't do that.

EW (00:37:32):

Or even in LED, and I am changing the frequency, because I'm PWMing it or something. And so there's reason to do it.

TA (00:37:42):

Yeah. PWMing LED..., that's a great way to make interference.

EW (00:37:48):

Really?

TA (00:37:48):

Because you've got a nice long wire going to your LED, so you can put it up in an interesting place somewhere that's interesting to the user, not buried down on the board.

TA (00:37:59):

And you have, well, 4 or 5 milliamps probably, or maybe even 20 milliamps of drive current. And you turn it on and off as fast as you can. It sounds great. Sounds like a radio to me.

EW (00:38:16):

You don't really need all that much for radio, do you? I mean, when we're talking about the basic radio circuit, I mean, it fits on a t-shirt very easily.

TA (00:38:27):

Oh, yeah. Yeah, a radio's -

CW (00:38:28):

A transmitter? Transmitter's even easier. It's much easier than a receiver is.

TA (00:38:31):

Yeah. The transmitter is really simple, and the receiver is a transmitter plus a few parts for the receiver...A receiver is about three times as much stuff as a transmitter. You can make a decent transmitter with one transistor. You can do better with more, but they work.

CW (00:39:02):

You can make a transmitter with a wire and a spark gap if you want.

TA (00:39:07):

Yeah. You could -

CW (00:39:09):

It's got zero parts.

TA (00:39:09):

Zero transistors. Yeah, yeah, yeah. You just turn your car on, and you're ready to go. Yeah...But when you do that, you take the whole spectrum.

CW (00:39:23):

Sure, sure. Who needs it?

EW (00:39:27):

I guess the reason I brought up that radio circuits are really, really easy is that -

CW (00:39:34):

It's easy to -

EW (00:39:36):

- it's easy to make an accidental radio.

CW (00:39:38):

Yes.

EW (00:39:38):

Because they are such simple circuits that if you aren't familiar with what they look like, and you put your pieces together like that, you're making a radio, whether you meant to or not.

TA (00:39:52):

Yeah. And it's easy to make an accidental antenna also. And an example of that is a slot.

TA (00:40:01):

Because if you have say a ground plane with a slot in it, and it has current going across the ground plane, and then that current has to go around the slot, that is just as good an antenna as a wire that is the same shape as the slot with that current on that wire.

EW (00:40:25):

Waaa? Okay. So -

TA (00:40:29):

Slots and wires are the same thing in RF. Yeah. It's really weird.

EW (00:40:33):

I feel like we're inverting material things now. We can't invert protons. They don't make electrons.

CW (00:40:42):

Basically edges are bad, physical edges of things.

EW (00:40:47):

Well, I mean, I'm so used to thinking, "Okay, if we're gonna have RF problems, you put a bunch of ground planes in there," and now you're telling me -

CW (00:40:53):

Well, just don't put holes in them.

TA (00:40:55):

Right. Right.

EW (00:40:56):

Don't make any cuts in them. Just make them perfect.

TA (00:40:59):

So if you want to look at somebody's board and do a little critiquing for your RF problems, what you can do is you can just ask the question, "Oh, this is a great board. Hey, is this the little clock right here?"

TA (00:41:17):

And so you...first find the clocks, and then admire the wires that are connected to them, and see that they're all nice and short, and that there's a nice capacitor nearby. And then compliment the person on how nicely they did the clocks, if they did.

TA (00:41:35):

And then you hold the board up to the light. And you see if you can see through it, where it looks kind of green, because you can kind of see a green glow through a circuit board if you hold it up to the light, unless it's all covered with the ground plane.

TA (00:41:54):

And so if you see a slot on the board, it's like, "Hey, well, how about that slot there?" And if there's wires going across the slot, that's even worse. The worst would be a clock wire going across a slot.

EW (00:42:09):

And this is for when you have multiple planes.

TA (00:42:12):

Usually, yeah. Usually. Yes. But sometimes you'll just see it on two layer boards. A good way to make a slot is,...they need to clear away the ground plane to put down an IC. If you have a ground plane on the top layer of a board, and they just cut out where all the parts are, that's a pretty common way to make a ground plane actually.

TA (00:42:35):

You end up with holes wherever there's a part on the top that needs to be soldered down. And then you'll have a clock, say, one of those parts is your processor with a clock attached to it. And so it has a wire going right across that slot.

TA (00:42:50):

And now you have a really nice radio. And so if you see that, you say, "Yeah, nice radio," and hand it back to them. So yeah, that's what you can look out for.

EW (00:43:05):

But if all of the wires and all of the changing signals are all radios, radiating RF, and slots cause RF, and wires cause RF, how does anything ever work?

TA (00:43:23):

Well, fortunately we have multi-layer boards, more than two layers. Without that we would be in a lot of trouble.

EW (00:43:32):

That's funny. Somebody was trying to convince me that everything was going to go to two-layer boards. And I was like, "I don't think so, but sure."

TA (00:43:39):

Well, you can, and you can get everything to sort of cancel out and do a great job.

TA (00:43:46):

People in consumer electronics or whatever, with two-layer boards,...they'll spin a circuit board many times, more than 30 times, and test it for all these RF problems every time, and then make some little tiny adjustment to the circuit, and do it again.

TA (00:44:11):

So it's possible to make it good. It's just, it's not likely to get first pass success unless you have really fancy CAD tools. But if your CAD tools are that fancy, you can probably also afford a ground plane. And...also you learn why you need one.

TA (00:44:32):

And so you sort of give up on the two-layer thing, unless you can route it really in one layer, and you can have one solid ground plane. That's what I do with the guitar surface-mount designs, whenever I can. There's a solid ground plane on the bottom, and everything's routed in one layer on the top along with the parts. Works great.

EW (00:44:51):

And then do you put a coating over the bottom, so that it's not just bare metal?

TA (00:44:58):

Well, a solder mask. Yeah.

EW (00:44:59):

A solder mask.

TA (00:44:59):

So it looks green.

EW (00:45:00):

Yeah. Okay. Okay.

TA (00:45:04):

Well, it looks purple, because they're OSH Park boards, but yeah.

EW (00:45:08):

Do you use OSH Park boards, working with the bass... What was the company again?

TA (00:45:15):

Oh, Alembic makes the bass instruments and guitars. And they have active electronics inside. That's sort of their specialty is, they kind of invented that...They put op amps in the guitars back in the 1960s.

TA (00:45:38):

They were actually these very exotic military ICs that no one else could get, but they found a source of them, of the rejects, actually, is what they used. And the specs were slightly off for the military application. And so they would put them in guitars. And then they're still at it 50 years later.

EW (00:46:07):

Oh, sorry. I do have more questions about antennas. Okay. I know that to make an antenna, you want it to be about the same length as a wavelength, or maybe 1/2 or 1/4, but something like that.

EW (00:46:24):

But for BLE, it's 2.4 gigahertz, is the frequency, and if I divide by the speed of light, I get that that's 12.5 centimeters. And that's not huge, but I have AirPods, and they're two centimeters long max. And I can't think that that's all antenna. So how do antennas work if they aren't what I think of as an antenna?

TA (00:46:55):

Well, the AirPods are slightly larger than that actually. I think they're 33 millimeters or something like that.

EW (00:47:03):

Yeah, that's the bottom part.

TA (00:47:05):

And then, lambda/four...for a monopole is just a little bit under that. You can make antennas a little shorter. An example of something you can do is you can put a hat on the antenna.

EW (00:47:21):

A top hat? A beret? What kind of hat?

TA (00:47:24):

Top hat. And it's usually either a ring, or a bunch of rods sticking out, or some sort of plate. And that's one way to do it. So it's like putting a capacitor on the top, and it in effect shortens the antenna. Also if the material is inside a dielectric, it slows down the speed of light. And that shortens the antenna a little bit.

EW (00:47:52):

Is that like an antenna inside of a capacitor?

TA (00:47:55):

Well, yeah, the plastic has some dielectric constant.

EW (00:47:59):

Oh.

TA (00:48:00):

Three or something. And so the speed of light is slower in the plastic. It doesn't help as much as you would hope, but it helps some. It could also be that it's a loop antenna, and loop antennas don't have any wavelength dependency at all.

EW (00:48:19):

Does a loop have to be a circle, or can it be an oval, or maybe just a square?

TA (00:48:25):

Yeah, it can be a crazy shape. Round is nice though. They're independent of wavelength.

TA (00:48:31):

I believe it is a squared f squared. So you take the area of the loop and you square it, and you multiply it by the frequency and square it, and you get an output that's proportional to those. And so a little loop works better and better at higher frequencies.

CW (00:48:48):

Right.

TA (00:48:49):

And more area is always better. And so that works pretty well. You can also tune an antenna with external parts. And so we would put it down on the Smith chart, a plot of the antenna impedance. And we would say where the impedance is real. That's where the antenna sort of resonates.

TA (00:49:21):

...The real part is the part that's going to actually do the radiating if it's a transmitter, or the receiving if it's a receiver. And so you can move that spot around by putting parts in series or in parallel with it and tune it. And so that's the thing called antenna matching. So you hear RF guys talk about matching, and that's what they're doing.

TA (00:49:52):

They're adding parts to manipulate the impedance...The one frequency that they're transmitting, they want to...change, the impedance to something that's on the real axis instead of some imaginary thing. So that is matching and tuning with external parts.

TA (00:50:12):

Now, the challenge with tuning an antenna is that you lose bandwidth when you do that.

TA (00:50:19):

And that is to say that if we want to say, change the Wi-Fi frequency, because there's some band of frequencies around 2.4 gigahertz, if we need to change that a little bit, and the antenna is too narrow a band, what happens is the signal starts to go away. Because we're no longer at a resident frequency at that different Wi-Fi frequency.

TA (00:50:43):

And so...one way to deal with it is to use a variable impedance part. So you can have an electrically-controlled antenna that's tuned with an electronically adjustable capacitor, which is usually implemented with a diode. And...that type of a diode is called a varactor.

TA (00:51:09):

And so you have a varactor tuned antenna. It's a real fancy way to do it. I actually made an FM antenna that worked that way once. And it was very compact...FM antennas, if you do your lambda calculation for a dipole, you need what, I don't know, six feet or something, right, -

CW (00:51:24):

Right.

TA (00:51:26):

- to make a dipole. And so mine was only a few inches long, but it was tuned. But it wasn't very broadband. And so I had to use varactors to tune it in. So...for every different FM station, it needed a different voltage adjustment on the antenna.

EW (00:51:49):

For BLE, we want a broader band because of frequency hopping?

TA (00:51:55):

Yeah. With BLE, yeah. We probably don't get a frequency-hopping antenna, although you could make one, I suppose. That would be pretty fancy. Maybe they did though. Who knows?

EW (00:52:10):

I don't think so.

TA (00:52:11):

They have engineers.

EW (00:52:13):

But I mean, that would be one reason why we don't want the bandwidth to be super small. We want the bandwidth to be large enough so that -

TA (00:52:21):

Yes.

EW (00:52:21):

- the antenna can work for all of the frequency hopping frequencies.

TA (00:52:23):

You would like that. Yeah. You would like it to work that way. Sure. Yeah. But who knows...Maybe you should prototype that and get a patent on it. Sounds good. Frequency-hopping antenna. It's probably already been done. Actually I know it's already been done. I actually know the patent.

EW (00:52:43):

Okay. One more question about antennas. I remember, in school, learning some of what we've been talking about, although not Smith charts. Those are pretty cool. But...I mean, there were Yagi antennas, which had a different design than the straight antenna.

EW (00:53:05):

But now there are a whole bunch of different kinds of antennas. Is it just that we're learning more about how to make them, or is it just people are making pretty things and not caring about bandwidth?

TA (00:53:17):

I like the ones that look like trees.

EW (00:53:20):

Yeah.

TA (00:53:21):

Those are really cool. And a lot of that's decorative. But you can make fractal antennas and I've seen people talk about using genetic algorithms to design them. The funny thing...is a dipole is not a particularly great design. It just happens to be the standard that everybody compares everything else to.

TA (00:53:43):

So people talk about antenna gain. What do you mean by gain? It's not an amplifier. It's an antenna. Well, what they're doing is they're comparing the signal that you get out of the antenna that you're talking about to a dipole.

TA (00:54:01):

And you're saying, "Well, is 3 dB better than a dipole? When you aim it exactly right is 3dB better than a dipole for the same size?"...Actually it could be a different size. And so that's what gain means for an antenna...As far as I know, there's no theorem that says what the limits of antenna gain are.

TA (00:54:31):

You can make a dish, and dish is pretty good. But it's extremely directional, right? So it's got a huge amount of gain in one really narrow direction. So you can think of that as sort of bandwidth, but for direction, directionality. So, if the wind blows a little bit, it stops working.

TA (00:54:55):

So that's another type of antenna, and they make synthetic aperture antennas where the antenna's really just in software.

TA (00:55:07):

Because it's really an array of things, and you use some fancy matrix math to sort of make a virtual antenna, or...I like the idea of using genetic algorithms, and that's where you see the antennas that look like little bent up paper clips.

EW (00:55:23):

Yes.

CW (00:55:23):

Yeah. I've seen some microwave boards that I think somebody posted randomly. Like, "Look at this board," and it's got all these weird things and little almost Bernoulli pipe things where things are stretching down. And then...very strange things happen.

TA (00:55:39):

Yeah. Now...a lot of those would be just microwave components -

CW (00:55:43):

Yeah. Okay. Right, right.

TA (00:55:44):

- like couplers, and splitters, and filters. And so forth. Matching networks.

CW (00:55:49):

Because you're basically existing in RF, so just different shaped wire R components?

TA (00:55:54):

Exactly. Yeah. Works great. And that's even done on the IC level, inside of ICs.

CW (00:56:03):

Right.

TA (00:56:03):

So there's software for that, design software for microwave things that help you with all those shapes.

CW (00:56:12):

So we talked earlier...You mentioned working for Alembic, helping them with stuff. What exactly do you do for them?

EW (00:56:20):

And can Christopher have a bass?

CW (00:56:22):

Yes. Yeah. Just send me a free Alembic, one of the most expensive basses known to mankind.

EW (00:56:27):

Their tagline was beyond custom, which was why I knew I couldn't afford one for you.

TA (00:56:36):

Well, they're not all terribly expensive. Well, yeah, they are. They compete with their used market.

CW (00:56:46):

Yeah. Yeah.

TA (00:56:46):

And so very often you could find a used one. Now a lot of the used ones need work, which is why they're being sold, is there's some problem with them.

TA (00:56:56):

And usually the worst problem is someone tried to repair them with a big old Weller soldering iron and messed them up, or some of them, there's just corrosion, right? Because 50-year-old electronics, it's seen a lot of things, maybe it's spent time in Hawaii or whatever.

CW (00:57:16):

Or maybe you have an active bass, and you left the nine volt battery in it for a year, and it leaked.

TA (00:57:22):

Yeah. That could happen. So, they had a lot of custom wiring inside. And so what I've been doing is making just little circuit boards for them to hold their parts down. And some of them are through-hole, and some are surface-mount. The surface-mount stuff is new for them.

TA (00:57:46):

They've typically had everything in through-hole. And so making something reliable enough in surface-mount is actually a challenge, because it's actually easier to make high-reliability circuits in through-hole than it is in surface-mount. And one of the things that you can do in surface-mount that's nice is EMI shielding.

TA (00:58:10):

So they go to a lot of trouble to have good EMI shielding. They use a lot of copper shielding and also silver paint inside, this really high quality silver paint. And they have various chunks of metal, brass plates and stuff as needed.

TA (00:58:30):

So those are all to keep things like cell phones out of the music. Another big challenge these days is lighting, because the trend in lighting on stages is -

CW (00:58:43):

Oh. Yeah.

TA (00:58:43):

- since the lights aren't hot anymore, they're now much closer to the musicians. They're just a few feet away instead of being a spotlight 50 feet away that was making all kinds of EMI.

TA (00:58:57):

But nobody cared, because it was far away. Now they're five feet away, and they're run with pulse-width modulators, and it's terrible. Have you run into of that?

CW (00:59:07):

I've not been on stage with close lights in a long time.

EW (00:59:12):

But there's also LEDs in the fretboard.

CW (00:59:16):

What?

TA (00:59:16):

Yeah, yeah. They put LEDs in the fretboard.

CW (00:59:19):

No, no. Don't do that. No, I'm not on board.

EW (00:59:22):

And on the side.

TA (00:59:23):

...What they're really for is when you're on stage, and they start the show in the dark.

CW (00:59:34):

Well, that's cool. Alright. Sure.

TA (00:59:36):

And you've got to play that first note, and you're supposed to know where it is.

CW (00:59:41):

You fret it while you're running on stage. See,...most of the live music I've played is drums, and I could do that. You're just hitting things. As long as you hit something, you're fine.

EW (00:59:51):

Is that how drums works?

CW (00:59:54):

Well, the problem with guitars is like we've been talking about RF stuff,...the design of guitar is they have these magnetic sensors embedded in them that detects movement of strings, which is basically detecting extremely minute...magnetic field changes.

CW (01:00:13):

So they're really, really good at picking up all this crap that you don't want them to pick up and then coupling it into audio.

TA (01:00:19):

Yeah. That's kind of how they work. Yeah. And so there's a couple of things to do about that. One is the idea of humbucking, where you have one pickup that doesn't have a magnet in it, is one way to do it, so that -

CW (01:00:38):

It's that bottom one there. [Talking to Elecia]

TA (01:00:39):

- it senses the external field without sensing the string.

CW (01:00:46):

And then you subtract that off.

TA (01:00:48):

And then you put that into your op amp circuit to cancel out the interference in the pickup. And so they put that whole thing in a test fixture and adjust it, because all the instruments are custom pretty much or beyond custom.

TA (01:01:14):

They all have slightly different characteristics, and they need to be tweaked in to cancel out the fields versus frequency, so you've got to get all the frequencies canceled out. So that's a challenge there. And they wind their own pickups, which is really cool.

TA (01:01:36):

So the way a pickup works is, there's a permanent magnet, and the permanent magnet magnetizes the string on the guitar. And then the string moves relative to a coil and induces a voltage across the coil. And then that voltage goes...either directly to the amplifier or through a buffer and tone circuits and then off to the amplifier

CW (01:02:06):

And the buffer and tone circuits are usually a couple of capacitors and stuff. It's very simple in some guitars.

TA (01:02:13):

Yeah. The passive ones in particular, they're very simple. The Alembic ones, they're -

CW (01:02:18):

Right. Active is more complicated.

TA (01:02:20):

They're active. The circuits are not what I would call real high complexity, but there's not a lot of room in there. And I thought, "Well, surface-mount will solve that problem. We'll be able to add all kinds of complexity." But the challenge is that these are all custom instruments.

TA (01:02:42):

And so the circuit boards are all in different places. And so if you make one circuit board, it's got to fit in all the different models that they ever make. And so they need to be pretty small. Otherwise they tend to run into each other.

CW (01:03:01):

Okay. I have one more question about -

TA (01:03:03):

Yeah.

CW (01:03:03):

- basses while I've got you here. I have several basses. Sorry. I'm apologizing to Elecia for having several. I think all of mine are active. Yes. And they all take nine-volt batteries to run the active circuitry. Although one of them takes two nine-volt batteries, and it runs at 18 volts.

CW (01:03:21):

...Why does that circuitry run at such high voltage? Is it a particular reason, or just it's a convenient battery?

TA (01:03:32):

Well, it is a common battery, and you can get it, and it's pretty lightweight for its voltage. But it doesn't have a whole lot of charge. So it is a challenge to get them to last.

TA (01:03:46):

Now they don't have a big duty cycle, so...the battery might last a few days of playing, or 20 hours, or 40 hours, or something. They actually draw a little bit more current while you're playing than if you just leave it on.

EW (01:04:08):

Just a little more?

CW (01:04:10):

Well, if you leave it plugged in and don't play -

EW (01:04:14):

Oh.

CW (01:04:14):

- they will drain.

EW (01:04:14):

Yeah.

CW (01:04:15):

If you unplug it, then it doesn't do anything. Well, it self-discharges.

TA (01:04:18):

Right. And while you're playing, it's maybe, I don't know, three or ten times as much current as not playing and just leaving it plugged in.

TA (01:04:28):

So nine volts is pretty good...With an op amp circuit, you can swing about three volts RMS, is the maximum signal you can get out of it, sort of going rail-to-rail. And now, you would like to have a good signal-to-noise ratio.

CW (01:04:56):

Okay.

TA (01:04:57):

And so...if you just hold all the strings on the bass, how much signal do you think is coming out?

CW (01:05:11):

I don't know. A couple hundred millivolts?

TA (01:05:14):

Well, that's while you're playing, right? But if you just -

CW (01:05:17):

Oh. Right.

TA (01:05:17):

That's if you bang all the strings at once. If you dampen all the strings and hold it as still as you can, how much signal is coming out?

CW (01:05:24):

Depends on if I'm pointing at my lights, my overhead lights here.

TA (01:05:29):

Yeah.

EW (01:05:29):

Or if there's something else causing a resonance.

CW (01:05:31):

Yeah.

TA (01:05:32):

You tend to get hum -

EW (01:05:33):

Yeah.

TA (01:05:34):

- and hiss, right, are the two things that you notice. So the hum you can take care of with this humbucker thing. And so that's nice to have that as a feature. The hiss, and 1/f noise, the popcorn noise, and all that, well, let's say that was one millivolt. That one millivolt then...is 60 dB below a volt.

TA (01:06:05):

And it's, let's see a factor of three, that's, what, another 10 dB or so. And so you're looking at a dynamic range between your loudest note and your softest note of 70 dB or something.

CW (01:06:22):

Which is 69 dB, more than you need for rock music.

TA (01:06:28):

Well, but when you stop playing, you would like your instrument to stop playing.

CW (01:06:33):

That's true. That's true. Okay.

EW (01:06:34):

I don't know. I've heard some of the metal. It doesn't ever stop.

TA (01:06:39):

Well, that is certainly one way to do it. And if you have inexpensive instruments, that is perhaps the preferred way to do it. But if you're making a studio instrument, your recording engineer would appreciate it if you had a signal-to-noise ratio of 90 dB, maybe, or 100 would be really good.

TA (01:07:03):

And so, well if I had three microvolts of noise, that would be 120 dB of dynamic range. And...for Alembic stuff, that's kind of what I shoot for for a minimum, is about 120 dB. And I'd really like that number to be 130 if possible.

EW (01:07:28):

That's a fair number of orders of magnitude.

TA (01:07:32):

Yeah. And it's starting to get down into the thermal limits of the physics of what you can do. To me, the limit should be the physics of it, not because my circuit isn't as great as it could be.

CW (01:07:44):

Well, and that's just what's in your hands. I mean, once it leave the bass, it's going to go into a preamp and some other stuff that also has to be very clean and expensive to be quiet. But yeah.

TA (01:07:55):

Yeah. I'm assuming that people are plugging it into a low-noise studio, -

CW (01:07:59):

Yeah.

TA (01:08:00):

- and that they want to play real soft. Because the other thing is, well, I'm comparing everything to three volts, which is like hitting all the strings as hard as you can or something, right?...That's a huge signal. And so in reality you play 20 dB less than that at least, that's your 300 millivolt number.

TA (01:08:23):

You were talking about 100 millivolts, right?...Sort of a kind of normal hitting it. And so that loses another 20 or 30 dB there. So we're really talking about 100 dB of range then. And then maybe you run it through a compressor.

CW (01:08:40):

Yeah.

TA (01:08:40):

And that boosts the noise floor as well. So yeah, it adds up.

EW (01:08:50):

Alright. Before we start asking you more questions, I think we should ask you the last one. Do you have any thoughts you'd like to leave us with, Tom?

TA (01:08:59):

I do. And that is, if you can't figure something out, you should draw more pictures. It's a really good way to figure things out. And if you don't figure it out, at least you have a picture.

CW (01:09:17):

You can hang your failures on the wall.

TA (01:09:19):

Well,...maybe you can get somebody else to look at your picture and make suggestions.

EW (01:09:24):

I totally agree with this advice.

CW (01:09:25):

Yes.

EW (01:09:25):

I can't tell you how many times drawing a picture has -

CW (01:09:28):

Oh, absolutely.

EW (01:09:30):

- shown me where my problem was.

CW (01:09:31):

Yes.

EW (01:09:32):

Our guest has been Tom Anderson, Engineer at Keysight Technologies.

CW (01:09:37):

Thanks, Tom. This was fun.

TA (01:09:39):

Thank you.

EW (01:09:40):

Thank you to Christopher for producing and co-hosting. A special thanks to Tom, because he pitched in at the last moment. And of course, thank you for listening. You can always contact us at show@embedded.fm, or hit the contact link on embedded.fm.

EW (01:09:55):

And a quote to leave you with, from Albert Einstein. "If I were not a physicist, I would probably be a musician. I often think in music, I live my daydreams in music. I see my life in terms of music."