Questions tagged [dsp]

DSP stands for Digital Signal Processing or Digital Signal Processor.

Filter by
Sorted by
Tagged with
1
vote
2answers
213 views

The meaning of Cross and Auto Correlation Matrices

I have to make some system where I have an input signal (i) and and feedback signal (f) and from this I create a autocorrelation Matrix (ACM) where ACM = i*i and cross-correlation vector (XCV) where ...
2
votes
2answers
161 views

Signal power and perceived volume

With a couple of friends I am designing a synthesizer on an altera FPGA (cyclone II, the one on the DE2 board). We almost wrapped it up nicely but there's a problem that bugs us. The synth can ...
0
votes
1answer
869 views

Transfering audio data between two DSP's, clock sync problem

I have a system with two DSP modules. The audio is routed from DSP1 to DSP2 and then back to DSP1, which in turn immediately sends it to DAC. It's a high-quality stereo sound at 44.1KHz. This is a ...
2
votes
1answer
2k views

Barker code autocorrelation

How do you auto correlate the following Barker code? I tried to use the formula on Wikipedia's page but it did not make sense to me. +1, +1, -1, +1
3
votes
1answer
3k views

PIC32: How to use DSP Library?

I am using a Microstick II Board with the included PIC32MX250F128B and I would like to perform real-time audio processing. I use an analog input to get the input sound and a PWM output, in combination ...
1
vote
1answer
1k views

Is this DSP sinewave inverter a marketing hype?

There are some companies in my country(India) which try to sell inverters for home marketing in the name of DSP Sinewave Inverter and claim are superior to normal sinewave inverters. I am trying to ...
1
vote
2answers
125 views

IIr filter layout to formula problems

I am trying to create the formula for this layout but I have the feeling that I made a mistake. The formula that I have at the moment is: Can someone tell me if this is correct?
1
vote
1answer
1k views

HDMI microcontroller / DSP tutorial

I know a little bit about microcontrollers. I want to first say this question will be over my head but I'd like to do the project anyway... I want to have a HDMI input, add effects to the sound, then ...
1
vote
1answer
443 views

Can I connect an ADC directly to a DAC?

I'm planning to do some audio DSP soon but I would like to know if I can connect an ADC directly to a DAC without a processor in the chain. My main reason is to test preamp circuitry. I would like ...
3
votes
1answer
520 views

networking platform to meet the IEC61850 sampled value requirements

I've developed a linux based simulator of the IEC 61850 sampled value publisher, even with RT linux I still can't meet the requirement to publish a message with MTU =-1500, every 1uS on a PC platform. ...
0
votes
1answer
380 views

Poor man's equalizer with a few digital bandpass filters - how to overlap band edges

I am trying to implement an equalizer in an FPGA. It's not hifi or anything so 3 or 4 bands should cut it. So I have a low, band, and high pass filter covering the entire voice spectrum (0-4kHz in ...
2
votes
1answer
142 views

How many periods of a periodic signal are required to properly determine magnitude?

I have a pure sinusoidal test function. I am trying to determine the magnitude of the response through my circuit very soon after powering up with circuit. If I am using a 1kHz test signal, I only ...
4
votes
2answers
751 views

Development Board / Micro-controller with an onboard camera or external addon

I wanted to use a micro-controller with a camera module to be able to do some processing on the captured images. The Arduino was my choice, but since it has only 256K of Flash memory, it clearly is ...
1
vote
2answers
5k views

STM32F4 - Digital Signal Processing ( DSP )

At this website, I have read that STM32F4 microcontrollers have DSP instructions. To quote: It also implements a full set of DSP instructions I am beginning to learn embedded C programming with ...
-1
votes
1answer
103 views

FFT of first N samples of signal? [closed]

Suppose if their are M samples in x(t) out of which I compute FFT of only first N samples of x(t), then the computed X[k] does this represent frequency component of first N samples or what I am doing ...
-2
votes
2answers
270 views

Band-pass filter confusion

I'm having trouble understanding the concept of a Band-pass filter. Not, that I have the following signal (in the frequency domain): What I essentially need to do is remove the noise and only keep ...
8
votes
3answers
7k views

What can the dsPIC do which the humble PIC microcontroller cannot do?

I have not used a DSP chip as of yet. All I know is that their architecture is such that they can carry out calculations quite fast, usually within a clock cycle, they have multiply-accumulate ...
1
vote
1answer
736 views

Convert (-4 to 4v) from sensor to 0-3.3v [duplicate]

Can you show me how can I make a schematic to convert signal voltage from sensor to ADC module of DSP. Sensor : -4 to 4 voltage DSP ADC: 0 to 3.3 voltage. Thank you,
1
vote
1answer
278 views

Is there a way to build a software defined radio using the PC's DSP chip? [closed]

I'm looking to build a radio controller for a few DIY robots and was wondering if anyone knew of a way to utilize the onboard DSP in PC's as a SDR. The reasoning for this direction is I remember ...
1
vote
1answer
127 views

Digital Filtering [closed]

Lets say I have an audio signal and want to filter out anything below 100 Hertz. At first, I would think of a high-pass filter. A simple capacitor could do the job, but there are going to still be ...
2
votes
1answer
235 views

Z-Transform Initial Value Theorem

I have a small understanding of how to solve limits to infinity for regular rational equations, but I'm unsure of how to apply this to the Z-Transform initial value theorem. The equation is: \$ \lim_{...
3
votes
2answers
273 views

Dedicated digital filter

I have built a DDS (0-80MHz) with an FPGA (XC3S400) that I can program it for making almost any wave form (limited frequency by the wave form complexity). After weeks of struggling with making a ...
4
votes
1answer
1k views

How can I high pass (DSP) filter a low frequency signal without introducing lag?

I need to high pass filter a signal, and my design just isn't cutting it. The part that's making it tricky is that I can't tolerate lag. I am sampling at 20Hz, the signal I care about is 1/12 to 1/...
1
vote
1answer
184 views

What limits system clock in MCU? How high can I go?

I'd like to produce PWM outputs at f_PWM ~= 100kHz and I'd like to connect the ADC to sample at least once during each high-time interval of the PWM output. Everything in my configuration of these ...
3
votes
4answers
850 views

Microcontroller suggestion

I'm designing an analog audio amp with a 6 band analog equalizer controlled via a 7" LCD touch screen. I'm wanting to preform a real time 2048 point FFT and display it on the screen in some kind of ...
18
votes
9answers
6k views

DSP recommendation for beginners [closed]

I am considering a project involving a fair share of digital signal processing. As far as I know, the best type of IC suited for this are the Digital Signal Processors. I have never worked with them ...
1
vote
1answer
134 views

What to look for in a processor for a DSP project

I am working on a Digital Signal Processing application and I am a little lost in all the information included with giant processors that are labeled as Digital Signal Processors. I started wondering,...
9
votes
2answers
1k views

All Digital Phase Lock Loop

I'm looking to implement a phase lock in an FPGA without using any external components (other than the ADC). For simplicity locking to a simple binary pulse is adequate. The frequency of the signals ...
6
votes
3answers
8k views

What are the the advantages of a switched capacitor filter over a digital filter?

The main advantage that switched capacitor filters seem to have over digital filters is the potential to achieve a high dynamic range, since the signal does not have to be quantized. As discrete time ...
2
votes
1answer
341 views

Can't write more than one byte to the SST39SF010A Flash!

I use code composer to program the TMS320C31 DSP (through MPSD) to write to the SST39SF010A flash. I can successfully write one byte to any location of the flash by following the "Chip Erase" then "...
1
vote
1answer
2k views

Xilinx DSP48 Single Slice 18x18 Complex multiplier

I am writing a verilog code for 18x18 complex multiplier using DSP48 single slice implementation in Vertex 4. Here is my code ...
3
votes
2answers
377 views

What is the expression for an oversampled signal?

Problem: A simplified schematic of an oversampling circuit is shown below. A data sequence, \$x[n]\$, is transmitted by REG1 which is in clock domain \$C_{tx}\$. \$x[n]\$ is oversampled by REG2 in the ...
4
votes
5answers
4k views

Serial to USB converter

I have a DSP kit with a serial connection. Since, I am operating on my laptop, I do not have access to a serial port. So, I would require a Serial to USB converter How do I create a Serial to USB ...
1
vote
2answers
306 views

Resistance between data/Addr pins and GND ranges from 1k to 1M, is this normal?

After soldering a 132-pin surface mount DSP, I checked if there are short circuits or not using "GreenLee DM-110" multimeter. I found that the resistance between data or address pins and GND ranges ...
2
votes
2answers
860 views

Doing FFT of electroencephalogram signal at 200Hz - what window size to use?

I got a brainwave EEG(ElectroEncephaloGram) sensor that is continuously sending data over to my program at about 200 data points per second. Can someone suggest what window/bin size I should be using ...
5
votes
3answers
2k views

What are the origins of the window functions in DSP? Why not just use a rectangular window?

As far as I know, in DSP we wish to remove or reduce the effect of some undesired signals by separating its frequency spectrum from the spectrum of the whole signal (our main signal and the noise). ...
2
votes
1answer
682 views

Do I need a RTOS?

My hardware would have a DSP with the following characteristics: Sound generation (internal parameter will generate pure tones, white noise, filtered white noise or the sum of them). I2C ...
84
votes
6answers
47k views

What is the difference between a DSP and a standard microcontroller?

I understand that a DSP is optimized for digital signal processing, but I'm not sure how that impacts to the task of choosing an IC. Almost everything I do with a microcontroller involves the ...
1
vote
1answer
616 views

How to select a DSP chip for ECG/EMG signals

I want to select a DSP chip which I can use for some ECG/EMG signal processing. I am looking for an evaluation kit. The input signals are already in digital format (taken from phsionet.org). I am also ...
0
votes
1answer
8k views

Fundamental period of a discrete-time signal

This question comes right out of the problems section of Oppenheim's Signals & Systems 2ed textbook. I don't understand the solution to the problem. (problem #1.35) If a discrete-time complex ...
0
votes
2answers
3k views

How to know the kind of filter from the transfer function [closed]

I got that system \$x_n \to x_n-x_{n-1}\$, so \$h_n=[.....,0,1,-1,0,...]\$, with \$h_0=1\$ and \$h_1=-1\$, so the transfer function given by: $$H(\omega)=\sum_{i=-\infty}^{\infty} h_ne^{-jwn} = h_0e^{...
-1
votes
1answer
2k views

DSP with ADC DAC SPDIF IO controlled with Microcontroller via USB

I'm looking for a board to process live music (sub-millisecond latency if possible). I'm thinking of a layout like the following: So there are a few DACs and ADCs, S/PDIF inputs and outputs and a DSP ...
1
vote
2answers
153 views

DSP for single-precision control signal generation

At present I am frustrated by the limitations of fixed-point arithmetic on a microcontroller for a quadrotor aircraft. The aircraft I am experimenting with is using an ATMEGA. I got to thinking, would ...
4
votes
3answers
492 views

Reduce and clip voltage of a 5Mhz ultrasonic signal from +-50V to 0-3.3 V

I know there are a lot of posts similar to this one but some differences make it worth posting it. I’m working on a project where I have a 5MHz AC signal with the largest amplitude of +-50V. It’s an ...
0
votes
1answer
911 views

Spot beam (Coverage area) and beam width [closed]

Spot beam is simply a manifestation of my simulation model. It says that given a certain azimuth angle and an elevation angle, then what is the area of circle in space at a distance R away from the ...
3
votes
1answer
193 views

Memory interface for video output

I am designing a system where a DSP (like the TMS320VC5501) processes some video data and outputs it to a PSP screen (the ones sold on sparkfun). The issue I'm having here is designing the video ...
2
votes
1answer
3k views

Programming methods for detecting liquid drops with phototransistor

I have a simple circuit with an LED pointing at a phototransistor. There is a tube in between them that drops of liquid will drip through at random times. I am reading the voltage with an Arduino at ...
-2
votes
1answer
340 views

SQNR of 16 bit signed multiplication with MSB storing in 16 bits

I'm trying to figure out what the SQNR is if I multiply 2 16-bit signed integer values and store the result as a 16-bit signed integer, dropping the least significant bits. For example: a (16 bit ...
5
votes
2answers
2k views

How do I go about intentionally aliasing a signal, and upsampling work with audio file in MATLAB

My objective is to show the results of: How do I go about intentionally aliasing a signal? undersampling Nyquist rate sampling and oversampling I'm first going to get the MATLAB code ...
0
votes
2answers
375 views

ezDSP does not boot with programmed code

I have an ezDSP, and I can program the examples. They work just fine when I open the debugger. When I unplug the module and plug it back in, it always reverts back to the factory test code. How do I ...