ΣSigmaStudio Ask AI Русский Log in

Fourier transforms, cross-correlation, in SigmaStudio?

SigmaDSP & SigmaStudio Dan_GasData Sep 12, 2014 00:00 8 replies Original on forum ↗
Subscribe
Dan_GasData Question
Sep 12, 2014 00:00

We are looking to implement some signal processing on a DSP and are considering the ADAU1701 with SigmaStudio.

I've been playing around with SigmaStudio trying to replicate the functions that we are currently doing via LabVIEW. Most of it seems easy enough until I get to performing cross-correlations, fourier transforms or similar mathematics. Am I looking in the wrong place or are these not supported by SigmaStudio? They seem like fairly fundamental DSP tasks so I'll be surprised if SigmaStudio can't do them.

If they are not supported, can anyone suggest an alternative DSP or software package that will let me implement them?

Audio Signal Processors

cross-correlation

sigmastudio

SigmaDSP Audio Processors

adau1701

fourier transform

Show More

ADIApproved Reply
Sep 12, 2014 00:00

HI:

You could consider the 145x or a Sharc for the processing you are trying to do. You see, life is very different when you try running things with a big processor with lots of MIPS (such as with a PC using Labview) than at runtime with an embedded processor. Can you explain more about your application, perhaps we can point you to a different processor. Definatively not with the 1701 I'm afraid.

Please comment.

Miguel

Dan_GasData Reply
Sep 15, 2014 00:00

Thanks for your reply Miguel.

The specific tasks we are wanting to implement are:

Generating a sine wave output (1KHz minimum, but the higher frequency the better).

Generating a 10Hz saw wave output.

Performing lock-in detection with a received signal and the generated sine wave (i.e. multiply the two signals and then filter them with a butterworth filter).

Cross-correlate this with a known pulse shape.

Measure the peak-peak amplitude of the locked-in waveform at the position coming out of the cross-correlation.

ADIApproved Reply
Sep 15, 2014 00:00

Hi Again:

All of those tasks you mention can be made with the 1701.

You can generate the sine wave @ 1kHz or higher (up to FS/2), if you use 44.1kHz FS then you can go up to ~20+KHz.

Using the same type of sources in the library you can generat the 10Hz Saw Wave.

You can multiply and filter both signals.

You can create "synthesize" or enter through "I2S" your known pulse shape using the FIR filter.

Then measured the peak amplitued using a peak envelope.

Seems doable.

What's your application if I may ask?

I suggest you get an evaluation board (1701 mini), download SigmaStudio and do some experimentation. We can work on problems/concerns from there.

Regards

Miguiel

Dan_GasData Reply
Sep 15, 2014 00:00

The application is to control a laser with the generated signals and then process the detected optical signal. Its for a spectroscopy system.

I've already got a sample 1701 on the way and I've been playing with Sigma Studio. I just couldn't figure out how to do the cross-correlation. I'll have another look at it.

Dan

Dan_GasData Reply
Sep 15, 2014 00:00

I've had another play around with Sigma Studio.

Please can you elaborate a bit more on "You can create "synthesize" or enter through "I2S" your known pulse shape using the FIR filter." I've created an FIR filter and set the table values to represent the desired waveform. Is that what you mean?

Is there a way to measure the peak at a given point along the waveform (e.g. the 100th sample)?

Dan

KJBob Reply
Sep 19, 2014 00:00

Hello Dan,

It's not exactly what you need, but the discussion at How to extract maximum value from "Max and Hold" for calculation? shows a project that searches for and holds the maximum value an input waveform achieves between zero crossings. It demonstrates the sort of calculations that SigmaStudio can do. Although SigmaDSPs are optimized for streaming audio, they are finding use in other applications.

Best regards,

Bob

Dan_GasData Reply
Sep 19, 2014 00:00

Thanks Bob.

I think that has pointed me in the right direction to perform the cross-correlation that I need. My eval board should turn up soon then I will be able to test it out.

Dan

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin