QuantAsylum Products

What's New: Recent Blog Posts


by admin on Saturday, February 28, 2015 11:41 AM
We’ve had an ongoing background project which is best described as a QA400 on steroids. It features:

Modern ADCs and DACs Fully differential inputs with 1X, 0.1X and 0.01X gain settings AC or DC coupling on inputs Switchable 600 ohm or 100K ohm input impedance Fully differential output 10Vpp single-ended inputs/output, or 20Vpp differential High current headphone amp Switchable output impedance on headphone amp (1 ohm/50 ohm) Offset bias generation on headphone output (12-bit DAC spanning +/-10V gives ~5 mV resolution) Internal loopback switching Much larger audio buffer, which should permit ASIO support Up to 768Ksps/24 bit User-designed plug-in boards for the input signal path The above are subject to change, of course. The release date isn’t known at this point. The price will be several multiples over the QA400. And the QA400 will continue to exist for a long time. Both will run the exact same version of software.

The product is complex....

A Quick and Dirty Interpreter

by admin on Wednesday, November 05, 2014 8:53 PM
We had a need recently to verify the number of pulses in a data stream were correct. The pulses were driving a stepper motor, which added a bit of a twist because the stepper could jump from microstepping to full stepping once a certain speed had been reached. How could we be sure the precise number of pulses had been emitted by the FPGA? By using a custom interpreter, of course. It took about 15 minutes to modify an existing interpreter to do the trick.

Below you can see the output of the interpreter. The rules and code are very simple: Just count and display how many pulses are on the screen. In the case below, it’s easy to confirm the count is correct.



Why do I need a Mixed Signal Oscilloscope?

by admin on Thursday, May 29, 2014 7:58 PM
Introduction We get mails from people wondering how a mixed-signal oscilloscope differs from a regular oscilloscope, or perhaps wondering why an MSO is better than regular scope + a logic analyzer. And depending on the type of work you do, there might not be any difference. You might not need to look into the analog and digital realms at the same time. Some days you are studying why a switching supply isn’t working as expected, and then the next you are working on a SPI problem. And the two domains never intersect.

But for those that spend time working on complex mixed signal problems, a mixed signal scope lets you see things that you otherwise can’t see with separate tools because it shows you the analog and digital domains aligned in time. We recently found ourselves confronted with a problem that was not making sense and decided to write it up as a case study. We fixed the problem in the FGPA fairly quickly once we saw the bigger picture. It would have been nearly impossible to do so with just a logic...

Connecting to QuantAsylum Devices from C++

by admin on Saturday, March 22, 2014 11:10 AM

Generally, when we post articles on writing code to control your QuantAsylum hardware, the language of choice is C#. C# is a managed language, meaning there is an entity that is actively managing memory in the background. VisualBasic is also a managed language. C++ as offered by Microsoft has two flavors: Managed and unmanaged.

Managed C++ allows the developer to worry less about memory management if they want to. But more importantly, it fits into a larger framework Microsoft has built in which mirrors the framework available to C# and Visual Basic. This means the developer has access to rich run-time libraries that are very well thought out, sophisticated syntax for selecting data, and tool flows that all work the same. Overall, it allows the developer to reap all the benefits of a more modern language and infrastructure while still sticking with what they know.

Unmanaged C++ is how things have been done for the last 20 years, and there are countless apps written in (unmanaged)...

QuantAsylum Connection Manager

by admin on Saturday, March 15, 2014 11:42 AM
Controlling QuantAsylum products from code you have written is simple, and it’s about to get even easier if you are trying to control a device that resides on the same machine.  The previous way of doing things is still required if you are going to connect to your device over the internet. But most of the use cases our customers require don’t require a truly remote connection, and thus the shortcuts below should be helpful.

Architecture Background Below you see a simple picture of how the different pieces co-exist. The QA Application is how you interact with the hardware. It is the screen of the oscilloscope or power supply that runs on your PC. And of course, the QA Hardware is the physical box that captures the different signals required. And the QA application and QA hardware connect over USB.

The User Application can be written by anyone. What is important is how the user application connects to the QuantAsylum application. Historically, applications have relied on GPIB, which is a popular (albeit...

Power Quality Analysis with the QA100

by admin on Sunday, March 09, 2014 11:03 AM
Overview Note: 16-Mar-2014: The Power Quality Analyzer app is located here

We’re finishing up a free application for the QA100 that will let you turn your scope into a single-phase power quality analyzer and recorder. A power quality analyzer allows you to look at the short and long-term quality of AC power, and also gives insight into how a load consumes that power. These tools are useful to those trying to diagnose power quality problems or to those working on advanced consumer electronics that might be concerned with power factor correction and the Energy Star (or other) power factor requirements for consumer electronics.

To use the application, you need a QA100 oscilloscope. You will also need a differential probe and current clamp suitable for the power you wish to measure. DO NOT ATTEMPT TO USE THE QA100 on line voltages without a differential probe. See the manual for why this isn’t a good idea if it’s not...

QA400 IMD Measurements

by admin on Tuesday, October 08, 2013 12:23 AM
Intro We will look into adding the ability to make automatic IMD (Inter-Modulation Distortion) measurements on the QA400 at some point in the future. Part of the reason we’ve held back is that there are a lot of variations that are possible in IMD measurements and it’s not yet clear if a subset will do the trick and get us 90% of the way there or not. This post will look at the types of IMD measurements, and show how these basic measurements can be made on the QA400 today.

The purpose of IMD measurements is to characterize the non-linearity of an amplifier while its being subjected to more than one tone. This is the “intermodulation” part of the Inter-Modulation Distortion Tests. THD, or Total Harmonic Distortion, is concerned with the amplifier’s ability to render a single tone.

Any amplifier that has non-linearities will “mix” two or more tones. Mixing is the process of multiplying two waveforms together. The result, in the simplest terms, is that you produce a resulting waveform that bears no...

QA100: Expanded Logic Channels and HW Triggering on I2C

by admin on Saturday, April 06, 2013 11:36 AM
We’re finalizing some new features for the QA100 that will soon be available as a pre-release. We’re posting this here to invite any comments or feedback.  In short, we’ve added the ability for the QA100 to now function as a single 8-bit analog scope with 24-bits of logic analyzer. The default mode to date has been two 10-bit analog channels and 12 bits of logic. Additionally, we’ve added in the ability to trigger on I2C transactions in hardware. This means you can program in an expected address, read or write, ACK, a single data byte and another ACK, and if those all match, then a trigger will occur in hardware. This means you can hang the QA100 off a busy I2C bus and trigger on a transaction that targets a specific part on your board. The HW capture is clocked at 30 MHz, meaning I2C buses at even 400 KHz aren’t a problem. Currently, there’s not any HW filtering, so noise on the bus clock line can cause problems. Because we’re running at 30 MHz, however, there’s the opportunity to add in some oversampling and...

Melt the noise away….

by admin on Tuesday, March 12, 2013 8:35 PM
An email from DM shared an app note from AKM on enhancing the dynamic range by using stereo channels to sample the same signal, and then averaging the acquired signal to reduce the noise. In the app note, experimental results are shown in which they first used the L+R channel to sample the same signal and improve the noise by 3 dB.  Next, the experiment was repeated by adding another converter, and  they used 8 ADCs sampling the same signal, with each of the 8 ADC outputs averaged to give the improved resultant output.

This works due to the nature of noise. Below in red, you see the distribution of 100,000 normal random numbers. In blue, you see the distribution of another 100K points, except this time they were generated by averaging two normal random numbers. And finally, with the green trace, you see the result of averaging 8 normal random numbers. The key point to understand here is that as you average more and more noise samples, the result...

Extending the QA400 Noise Floor with a Pre-amp

by admin on Thursday, February 28, 2013 10:53 PM
From the previous post on the Apple iPod, we saw the QA400 had a noise floor that had a few dB of margin to the latest iPod Nano. But it is possible to improve that? It certainly is. And the easiest way to do that is with an external low-noise pre-amp.

Pre-amps are easy to add externally. Internally, they can be a bit more difficult to build-in to the product if you are looking to keep the cost reasonable. As you push deeper into the noise floor, the power supplies must get cleaner, the internal shielding needs to improve, and of course relays are required to route the audio into or around the pre-amp on. If you leave it on all the time, then you reduce the maximum signal you can cope with. Additionally, extremely low noise pre-amps can have some difficulty coping with large signals and high slew rates. The QA400 seeks to strike a balance by offering a dynamic range tailored to span from just below the noise floor of very good consumer and pro audio equipment, up to and including the levels generally encountered...