Close

Hack Chat Transcript, Part 1

A event log for Software Defined Instrumentation Hack Chat

Is that an electronics lab in your pocket?

dan-maloneyDan Maloney 04/27/2022 at 20:030 Comments

Dan Maloney11:58 AM
Hi Ben, welcome aboard. And good early morning to you as well ;-)

Dan Maloney11:58 AM
We'll get started in just a minute

Ben Nizette11:59 AM
Thanks Dan! No worries, it's still dark out but my coffee's darker. We're good here!

Dan Maloney12:00 PM
OK, folks, let's get started. I'm Dan, I'll be modding today along with Dusan as we welcome Ben Nizette to talk about software-defined instrumentation!

Myself joined  the room.12:00 PM

Dusan Petrovic12:00 PM
Hello and welcome everyone!

Moaddeli joined  the room.12:00 PM

Dan Maloney12:00 PM
Hi Ben! Can you start us off with a little about yourself and how you got where you are?

Ben Nizette12:01 PM
Yes no worries! So these days I'm a Product Manager for Liquid Instruments, focusing on the Moku:Go, our education and maker product.

Dan Maloney12:01 PM
(And a sincere thanks for joining us from Australia, where it's still oh-dark-thirty-ish)

Ben Nizette12:01 PM
Before that though, I’m an Electronics and Software nerd, I’ve been sticking LEDs in power points for literally as long as I can remember. I kind of forgot to stop studying so ended up with two degrees (BEng and BSc) and four majors (EE, MechE, CompSci and Theoretical Physics). And I still wasn’t done, I started lecturing Embedded Systems and a few other courses at the ANU too, I did that for about 5 years.

Ben Nizette12:02 PM
Apart from inhaling solder fumes, I also enjoy outdoors stuff like paragliding, hiking etc. Not mountain biking anymore, too many scars from that already!

Ben Nizette12:02 PM
And yes I'm based in Canberra, Australia

hexum06412:02 PM
Tnx all

Dan Maloney12:02 PM
Are the scars from biking or from school?

Ben Nizette12:03 PM
Haha mostly biking but, yennow, I did say I was a nerd too and we all know how those go in high school!

irishutopia joined  the room.12:04 PM

Ben Nizette12:04 PM
Back at Uni though, while I was studying, I was also running a business doing electronic product design, mostly for start-up companies. I ended up making nearly 30 products in that time, before deciding to settle down and join one of those companies full time. That was Liquid Instruments!

Randy joined  the room.12:04 PM

Randy12:05 PM
How would you characterize the difference between the Go:Moku and the Analog Discovery devices?

Dan Maloney12:06 PM
I'd love to hear more about that freelance design stuff, but I guess my first question is: what are the trade-offs that you have to accept when you're rolling multiple instruments into a virtual platform?

Ben Nizette12:06 PM
I reckon AD2 is kind of like Windows XP. Everyone gets it cheap or free, it has good market penetration because at the time it launched there wasn't a lot of competition. It does the business, but people don't generally really *like* it. We're more like a Mac device. We provide a great user experience, we work every time, and we offer more power to the professionals who use it

Ben Nizette12:07 PM
I reckon Red Pitaya is the Linux of that analogy and given the audience, perhaps pitching myself as Mac isn't quite right

Ben Nizette12:07 PM
but you get the idea!

Dan Maloney12:09 PM
Say what you will about Macs, but you've got to admit that Apple product design is top-notch...

Ben Nizette12:09 PM
@Dan Maloney Yes trade-offs! The main one is that you have a single analog front end for everything. Really that is the biggest issue when you're talking about RF and SpecAn type applications and you don't have a mixer, so are limited to 10s or 100s of MHz. Traditional SDI (like AD2) is also limited by the performance of the PC and the link to the PC. Moku does its SDI on an FPGA inside of the device itself which means the performance is as good or better than most "normal" stuff

Randy12:09 PM
Thanks, looking for info to convince the powers that be that Go:Moku is a better choice to go with.

RichardCollins12:10 PM
I am reading the Moku data logger specs. It won't go under 10 sps? Is that flexibility? And no bit size mentioned.

https://www.liquidinstruments.com/products/integrated-instruments/data-logger-mokugo/

MS-BOSS12:11 PM
Product design may be top notch, but its technical qualities are certainly not :)

Ben Nizette12:11 PM
@Randy It's more expensive than AD2, there's no getting away from that. But with instruments like PID Control, Filter Boxes and a Lock-In Amplifier it's a lot more capable. Would you use those? Donno, but as an example, our modulating WaveGen, Filter Box and LIA together can form a full single sideband ham radio, everything other than the antenna and amp, and no AD2 can do that!

Ben Nizette12:12 PM
@RichardCollins at this price point the DL is usually used at very high rates to record the results of experiments, rather than e.g. recording environmental stuff. It's also got enough memory to store 100sps for months, but yes, that's on the todo list :-)

Randy12:12 PM
That is a major advantage, for sure, and something you should be trumpeting more. I suspect a lot of kick the tire people don't realize that.

RichardCollins12:13 PM
@Ben Nizette I am not really sure what the price point is, I looked at this before but it seemed very expensive, aimed at students, and lots of built in limitations and "to do" items. Not quite ready for users. Is that too far off?

Ben Nizette12:14 PM
@Randy indeed, we're working on that too! LI has been around for a few years not but we're only just starting to move out of the research lab and in to a more mass market place, and there's no doubt our product team (me!) and the marketing folk have a big pile of work ahead of us

anfractuosity12:15 PM
I assume your software runs on linux out of interest?

Nicolas Tremblay joined  the room.12:15 PM

Ben Nizette12:15 PM
@RichardCollins Starts at $599 but hey, there are always TODO things. That's the great thing about SDI, you can update it on the fly just as the rest of your software packages get regular updates. $599 is a lot for students to throw in their backpacks, but in the education space you can think of this more as replacing the half-dozen boxes typically on a lab bench station, starting over $2k

Myself12:15 PM
The config/client software says it's Windows/Mac only; have you had any luck running it under WINE?

RichardCollins12:16 PM
@anfractuosity Good question. If it were completely software defined, is it also open.

Ben Nizette12:17 PM
@anfractuosity @Myself yes we run that under WINE but the proper Linux version isn't far off, the UI is all QT and all our underlying libraries run on Linux. In fact the Moku runs Linux onboard, runs those libraries on board, and that's how we do our our REST APIs

Mark J Hughes12:17 PM
@Ben Nizette -- Didn't the Ligo experiment only use something ridiculously small like 10 bits of precision?

Dan Maloney12:17 PM
Hi Mark!

Mark J Hughes12:17 PM
Hi Dan!

Mark J Hughes12:17 PM
I'm a little late :)

RichardCollins12:18 PM
@Ben Nizette Thanks for clarifying. It is hard to read your site. I work mostly with camera data streams and SDR radio type things. And having a BIG hard drive for logging the data is my biggest headache.

Ben Nizette12:19 PM
@Mark J Hughes That's a good question, I honestly don't know! Quite probably though, the precision on ligo came from an awesome phasemeter, basically a PLL, and that is much less limited by the quantisation noise. The Mokus actually have a phasemeter as well that uses basically the same architecture as the ligo one, it's exactly the same architecture as the one that will be sent to space on the space-based version of ligo, which is kind of cool

Mark J Hughes12:19 PM
Also -- Hi Ben!

Myself12:20 PM
The concept of SDI seems like it's ripe for sneaky tricks like adding noise to an ADC measurement to get extra bits of precision by averaging over a long period. Are there other techniques like that which become practical here, which would make the instrument more capable than its plain hardware specs would imply?

Ben Nizette12:21 PM
@Mark J Hughes There's a cool video here showing that phasemeter in action, my colleague breaths gently on some optic fibre and the heat from his breath expands the fibre enough to cause a huge response on the PM. PM isn't on Go yet, but it will come

Mark J Hughes12:21 PM
Going back in the chat a little I see some comparisons going on. I'd like to offer my two cents. I have the Keysight EDUX1052G, The Tektronix MDO3104, the AD and the MokuGo. And they all have strengths and weaknesses and target different markets.

Mark J Hughes12:22 PM
There's no one in their right mind that would compare the MDO3104 to the EDUX1052G, they're way different price points and way different functionality. But comparing the MokuGo and the AD2 is a bit more reasonable.

Mark J Hughes12:23 PM
Until you get into a classroom.

Randy12:23 PM
Mark, it would be great if you could run a "shoot out" between those instruments and publish some comparison results.

Ben Nizette12:23 PM
@Myself 100% mate! Our Moku:Pro for example uses a frequency domain blending technique to combine input data streams from both a 10-bit 5GSa/s ADC and an 18-bit 10MSa/s ADC to provide something that's super precise at low frequencies and still runs crazy fast; low noise everywhere. Similarly in the last software update we improved the noise floor of our SpecAn by something like 100x by changing the way we did dither

Mark J Hughes12:23 PM
Randy! That's on my calendar actually!

Mark J Hughes12:23 PM
I missed a window of opportunity a couple months back, now I'm waiting for my schedule to relax to get that done!

Mark J Hughes12:23 PM
Anyways -- back to the comparison.

Ben Nizette12:24 PM
Sounds good! I just did a trade show alongside AD2 and Red Pitaya and yeah, we're all friends, all targeting different folk

Mark J Hughes12:24 PM
One issue I have with the AD2 in the classroom is it's lack of case & lack of included options would make me seriously question how long it'd last in a high school.

Mark J Hughes12:24 PM
Cheetos on a PCB are a problem.

Mark J Hughes12:25 PM
But if you think about the people who are going to use the LI and the AD2 -- it's going to be the entry-level folk.

Mark J Hughes12:25 PM
No one is going to do BER tests on a 12GBps PAM4 SERDES link with those tools.

Ben Nizette12:25 PM
@Mark J Hughes That was one of my design requirements, yeah. It's been designed so a student can attach any part of a Go to any *other* part of a Go and it won't blow up. You can short anything, connect anything, we're trying to make it tough enough that you can set assignments on it without worrying that folk will blow it up and lose the grade

Mark J Hughes12:25 PM
They're going to be doing educational type labs -- maybe some into circuit design.

Randy12:26 PM
Instead of spec comparisons, I am hoping to do some experimental comparisons for EMC training purposes between the AD2 and the Go:Moku (as soon as I get my hands on one), this fall.

Mark J Hughes12:26 PM
Randy -- email me at markjarrodhughes@gmail.com and we can continue offline. I can likely carry out most of what you want to know.

Randy12:26 PM
Got it.

Ben Nizette12:26 PM
@Randy Cool, do reach out outside this chat if you need, we've got a number of unis running power and EMC labs and I'd be happy to hook you up there too

Mark J Hughes12:27 PM
And Ben -- that is sooooo huge that you did that.

Mark J Hughes12:27 PM
Kids are little destroyers of worlds.

Ben Nizette12:27 PM
Lol yeah as a lecturer in a past life, I know the pain first hand!

Dan Maloney12:27 PM
"as soon as I get my hands on one" -- good point, how is the chip shortage impacting LI?

Mark J Hughes12:28 PM
And it's often not intentional -- just for them, at first, it's overwhelming -- all new stuff. There's too much to keep track of.

Ben Nizette12:29 PM
@Dan Maloney We're not immune, not at all, but we've been fairly lucky so far. We've got stock of all models of Go for immediate delivery right now and good visibility for the next several months.

Ben Nizette12:29 PM
Still, we were just quoted $2600ea for a $17 WiFi chip for another design the other day, so yea, the world's nuts..

Mark J Hughes12:29 PM
That's just mean.

Ben Nizette12:30 PM
Mate if I had a time machine, stuff investing in bitcoin or apple, just buy a bunch of power load switches in 2019 and buy an island in 2022

Randy12:30 PM
Kids are also little creators of worlds, which is even more important. They will come up with things never dreamed of in "heaven and earth", which is why they need to access items like this.

Mark J Hughes12:30 PM
Ben -- what skills do you consider essential for newbies and EE students new to the profession? Can they be taught with the MokuGo?

Mark J Hughes12:31 PM
Very true Randy!

Ben Nizette12:32 PM
@Randy Yep that's the other side of the coin. I love teaching with the Moku because it allows students to use the right tool for the job. Sure the SpecAn on Go runs to 30MHz, but it's a proper RTSA so they can examine tiny side bands on their local radio stations, then use the LIA to demodulate and listen to them. And the filter boxes to bandpass that station out and look at the modulated signal in the time domain before demodulation. There's something for everyone

Myself12:33 PM
Help me understand that; the FM broadcast band in the US starts at 88 MHz, how is a 30 MHz instrument going to see that?

Myself12:33 PM
Or are we talking mediumwave AM around 1 MHz?

Ben Nizette12:34 PM
@Mark J Hughes They can definitely be taught with Moku:Go. In fact our first product, Moku:Lab, was $5k and found a surprising niche with (rich!) educators because it was so easy to teach *concepts* without spending time teaching the position of knobs. All students know how to zoom in on a screen but it takes time to learn what Volts/Div means (and we all know that most students just mash that autoscale anyway)

Ben Nizette12:34 PM
@Myself AM radio is a good one, but actually the LIA is sensitive enough that we can pick FM stations out of the higher nyquist zones, if you're not too far from the transmitter

Ben Nizette12:34 PM
(that is, you can demodulate the aliased signal)

Randy12:34 PM
Actually, with tools like this, I think skills that are necessary, but AREN'T being taught in schools can be illustrated. For instance, too many students come out of school thinking that resistors, capacitors and inductors are just that. But use a frequency sweep on those three devices and plot the impedance vs frequency and you soon realize that the schematic you draw is NOT the schematic that is on the circuit board.

Mark J Hughes12:35 PM
Great point Randy.

Ben Nizette12:35 PM
Love that Randy, couldn't agree more (of course!)

Ben Nizette12:36 PM
Combining those last few responses, teaching kids that antialiasing filters aren't brick walls and you can actually see aliased FM radio stations in a 30MHz instrument is a good lesson in itself

RichardCollins12:38 PM
So you are kind of making up the instruments, and making up lesson plans (sort of) and hoping it all works out?

Mark J Hughes12:39 PM
It's pretty common to get lesson plans with instruments.

Mark J Hughes12:39 PM
Vernier does a pretty good job of that.

Ben Nizette12:40 PM
@RichardCollins We develop lesson plans ourselves, but more commonly with partner universities around the world. And some of those use the instruments as they are, some of them are used to inform the future development of instruments

Mark J Hughes12:40 PM
Something else I'll point out about bit-depth. A couple years back I put a 24-bit ADC on an inclinometer that could, at best, probably produce 16 bits of precision. I had to stop around bit 11/12, because even on a granite slab on a neoprene blanket, on a concrete slab in the ground floor, I couldn't help but pick up people walking around within about 15 feet, and cars at the road several hundred feet away. Point is that a lot of the precision we pay for in instruments we never get to use.

anfractuosity12:40 PM
what's the sample rate out of interest of the ADC. Also sorry if this has already been asked does it support streaming over USB/... so you can use the pcs memory for v. large captures

Ben Nizette12:40 PM
@RichardCollins Again that's the great thing about SDI, if an educator needs a new feature, we can potentially provide that for the next semester as a software update without anyone spending any more cash

Randy12:41 PM
That is an excellent point, because it helps to point out that it is not always required to have a particular measurement device to make a "good enough" measurement, but rather, you need to have the right measurement technique. And using simple instruments to do illustrate sophisticated measurements an educational goal for students and professionals.

Ben Nizette12:41 PM
@Mark J Hughes Yes, I used a Atmel XMega a few years ago that had a "12bit 1MSa/s" ADC. But by the time you actually got to 1MSa/s the effective number of bits was like 4

RichardCollins12:42 PM
@Ben Nizette But the particular students leave and don't learn that. It sounds all rather "bleeding edge". Lots of wasted time trying things out, with no particular goals or framework.

Ben Nizette12:42 PM
@anfractuosity 125MSa/s. No live streaming on the data logger yet, we're focussing on standalone operation, but again, SDI :-)

Myself12:42 PM
So that's an interesting point, is the FPGA HDL open for hacking, or does the instrument only support its baked-in functions until the mothership provides a bitstream update?

Discussions