Questions tagged [dsp]

DSP stands for Digital Signal Processing or Digital Signal Processor.

Filter by
Sorted by
Tagged with
0
votes
1answer
148 views

dspic30f4011 crystal oscillator configuration confusion

I am using a dspic30f4011 controller. I am confused about the oscillator frequency. According to the datasheet, it can support 4 to 10 MHZ. I have 8 MHZ and 11.0529 M HZ crystal oscillator. I know, ...
9
votes
2answers
7k views

How to select frequency resolution and window size in FFT?

I am doing spectrum analysis of a time varying signal with frequency changing from 200Hz to 10kHz. I am using the FFT for analyzing the frequency component in the signal. My questions are: How to ...
2
votes
2answers
5k views

Uniform Linear Array (ULA) beamwidth and angular resolution using FFT

I have a four element uniform linear array receiver and I want to know what will be the angular resolution if I perform perform Fast Fourier Transform (FFT) over antenna elements. As I think that it ...
11
votes
6answers
45k views

Code example for FIR/IIR filters in VHDL?

I'm trying to get started with DSP in my Spartan-3 board. I made a AC97 board with a chip from an old motherboard, and so far I got it to do ADC, multiply the samples for a number <1 (decrease ...
2
votes
4answers
171 views

Is it possible to use a single ADC single S&H MCU for active power measurement?

I have a MCU equipped with a single ADC and a single S&H (Sample and Hold) circuit. The board where the MCU is placed has several inputs (let's say 3 x currents, 3 x voltages). The MCU is ...
1
vote
1answer
151 views

Recognize blowing or clapping hands with microphone sensor(Arduino Uno) [closed]

I want to recognize between blowing or clapping hands with microphone sensor(Arduino Uno) and than with DSP to know which gesture is made. I took a lot of samples but when clapping there is no ...
-1
votes
2answers
2k views

Very big matrix multiplication in FPGA

I'm working with convolutional neural networks and I have written a code to make the convolution of two 3x3 matrices. This is my code: https://www.edaplayground.com/x/6G7h Now I want to make the ...
1
vote
1answer
169 views

Signal Processing of a raw EMG signal

I am a student. I acquired EMG signal (sampled at 1KHz) by using dry electrodes. At first, it was all noisy. I then applied a Notch Filter (@50Hz) and the signal looks better but still not great. Any ...
6
votes
3answers
1k views

Were mask ROMs with stock contents ever sold? or why not?

To clarify: did any of the mask ROM or discrete IC vendors make and sell ROMS (or effective ROMs optimized by giant Karnaugh map) with fixed non-proprietary contents that could be used in building a ...
0
votes
1answer
128 views

why DSP is required for over current numerical relays

Is DSP really required for over current numerical relay. If we have processor with 16 bits ADC, frequency in MHz and some KB RAM, then also we can achieve over current protection with good accuracy ...
-2
votes
1answer
48 views

encrypted flash of DSP [closed]

when programming the flash of DSP by accident i encrypt the flash content. is there any way to decrypt flash of a DSP? the flash was encrypted.
3
votes
1answer
114 views

Finding specifications for digital signal processors (DSPs) for given audio application [closed]

I'm finding difficulties choosing an adequate processor solution for my application from my null experience with DSP: 8ch 24-bit @11025Hz I2S TDM Input Beamforming + ASNR MSS Multi-source selection ...
1
vote
1answer
98 views

What's wrong with my IIR filter?

I'm using C language to implepement a simple 4th order lowpass IIR filter. I used ellip on matlab to get my coefficients,more specifically ellip(4,0.25,10,0.25). This is the frequency response on ...
1
vote
0answers
66 views

Non equal phase currents at nominal speed vector control Permanent magnet synchronous motor

I working on my implementation of vector control for PMSM. I'm having close loops over speed, current in d axis(flux loop), current in q axis(torque loop). I'm using MATLAB/Simulink for vector control ...
0
votes
2answers
323 views

AXI interface of an FFT core expecting more data than it should

I am working with the FFT v9.0 core from Xilinx. The FFT is configured to use the Radix-4 Burst I/O architecture. When I reach the last element of my signal, I set ...
66
votes
6answers
178k views

What is the relation between FFT length and frequency resolution?

If I have sampled a signal using proper sampling methods (Nyquist, filtering, etc) how do I relate the length of my FFT to the resulting frequency resolution I can obtain? Like if I have a 2,000 Hz ...
4
votes
6answers
6k views

Why do we need transforms (Fourier, Laplace, Z and wavelet etc.) for a signal to analyse?

Why do we need transforms (Fourier, Laplace, Z and wavelet etc.) for a signal to analyse? Is it necessary for practical calculations and analysis?
2
votes
0answers
495 views

FIR Lattice Filters

In DSP, sometimes the so-called Lattice Filters are use, having a structure like on this picture: I wonder what the advantages of the Lattice structure are, compared to other FIR filter types and ...
0
votes
0answers
126 views

How to change step pulses into PWM pulse synchronously?

I am driving a stepper motor using microstepping techniques. For the input signals to the driver, step and dir are used. More than 100,000 steps/second speed is target. The PWM frequency is below ...
18
votes
8answers
6k views

Writing DSP algorithms directly in C or assembly? [closed]

I m working on a DSP project(IIR filtering) on an Analog Devices digital signal processor(BF706) with the compiler suite coming with it, CrossCore Studio. It has some examples for simple DSP stuff ...
0
votes
2answers
96 views

Displaying data in engineering units on desktop [closed]

Suppose I have 100 numbers of DSPs whose ADCs are converting analog data into digitals ones. The data may be current,voltage, frequency etc. Now DSP deals with counts only it does not understand ...
0
votes
1answer
2k views

Difference between a Kalman filter and a linear quadratic regulator?

May someone, in simple terms, describe to me the difference between a Kalman filter and a linear quadratic regulator? If possible, please use an analogy or maybe even a visual demonstration of the ...
0
votes
2answers
296 views

Implementation time of Linear Feedback Shift Register (LFSR)

From implementation point of view, how much time will pseudorandom number generation by Linear Feedback Shift Register (LFSR) take when implemented on, for example, Digital Signal Processor? Seed is ...
0
votes
1answer
278 views

Pulse Oximeter signal processing

I'm trying to make a pulse oximeter using IR Light,Red Led and a Light to frequency converter with STM32L4 Controller and Timer Input Capture. The wavelength input of both the lights gives a similar ...
0
votes
3answers
423 views

Scrambler with all zeros on input

Several communications standards use LFSR-based self-synchronizing (multiplicative) scramblers that are never reset to an initial state after initial power on. For example, 10GBASE-R Ethernet ...
2
votes
2answers
74 views

Can somebody explain discrete time frequency

I am an analog guy learning DSP, and I am a bit confused by discrete time frequency. What units is discrete time frequency k measured in? I have read that k is the index of the frequency and not the ...
4
votes
1answer
324 views

256-point FFT, but only need 5-6 frequencies, is there a better way?

Due to the constraints of my system, I have a 256pt FFT. However, I only care about the energy at 5 or 6 of the 256 bins. 256pt FFT is still faster than 5 or 6 specific DFTs, but it seems wasteful ...
0
votes
3answers
329 views

Audio DSP for hobbyists

I'm several years away from finishing an EE degree and have yet to get any exposure to DSP. The few texts I've cracked open pre-suppose a level of sophistication i'm not at yet. Is there some stepping ...
2
votes
3answers
2k views

FSK demodulation using DSP

Especifically talking, I need to demodulate a low frequency FSK signal( betwen 120 and 140 kHz ). I already have a circuit of antenna that receive the signal and I already can sample it, but I still ...
0
votes
3answers
758 views

How to detect the fundamental frequency of a human singing voice signal

I want to make a digital hardware chip that can input a human voice, (singing simple wordless long notes) and output a square wave that is the same frequency as the fundamental frequency of the voice. ...
1
vote
0answers
62 views

dsPIC33EP512GP502 -> ADPCM?

It seems that ADPCM is all but non-existant anymore. But I'd like to use this to compress six high-quality audio channels into a smaller bit-stream with little overhead. There seems to be a dsPIC G....
3
votes
1answer
1k views

How calculate three phase kilowatt hour from time sampled data of voltage and current of each phase

My problem is I want to calculate three phase kilo watt hour from time sampled data of current and voltages. My doubts 1) How can I calculate the kilowatt hour from time sampled data? Is it any ...
1
vote
1answer
90 views

Is it 'normal' to use a DSP's internal timers to generate lower speed clock signals for audio codec sampling?

I'm currently working on a project that features a Blackfin BF592 processor (datasheet). I'm trying to interface this DSP with a stereo audio codec (datasheet). Originally, I assumed that this audio ...
4
votes
1answer
317 views

Can Blackfin DSPs boot from 'any type' of SPI external flash?

So I'm working on a project that contains a Blackfin processor, specifically the BF592 datasheet One thing that confuses me is how exactly the boot up process will work. During development, I plan on ...
3
votes
4answers
237 views

On what condition does Harmonic components of power generated in 50/60 Hz Grid Generators depend on?

I have power-recording data from 11 countries (USA-60Hz mains frequency / other nation 50Hz). These data were collected using a audio recorder (in a computer) connected directly to the power mains via ...
0
votes
2answers
182 views

Hardware needs for minimal DVI processing with precise timing requirements

I'm looking to make something I can put between a video/audio source (DVI/DP) and a 240hz monitor that can, with precise timing, replace single frames with a solid color. (the application is around ...
3
votes
2answers
243 views

Generating 48kHz clock for DSP

I'm working on a Microblaze-based system. I'm using FSL to shuttle data directly from an AC'97 controller core to my custom DSP core. The FSL buses are clocked at the 125MHz system clock. The DSP ...
0
votes
1answer
98 views

DT/CT Domain Signal Periodicity

An interesting thing about a few unique DT signals is that although they may be periodic in the DT domain, they are aperiodic in the CT domain. One example of such a signal is: $$x[n]=\cos\left(\frac\...
1
vote
2answers
118 views

Number of samples (n) and number of data points (N)

I have a question: I am doing some research on the FFT and had an inquiry. If I have a fixed number of samples per period, what is the effect of increasing my data points, say from 128 to 256? I know ...
0
votes
2answers
126 views

Is it 'ok' to use a switched power supply to power a processor core?

I'm currently working on a project which features an Analog Devices Blackfin DSP Digikey link. This DSP requires 1.3V to power the core. I plan on having my project be battery powered, thus I'm ...
2
votes
3answers
943 views

FFT Using Pic Microcontroller [closed]

Good Evening, I am fairly unfamiliar with DSP and want to engage in a project. I wish to perform a FFT on the source current going into a non-linear load and observe its harmonic content on an LCD. ...
0
votes
1answer
104 views

Derivation of discrete-time steady-state and transient response

My discrete-time signals textbook (Oppenheim) jumps through the derivation of steady-state and transient LTI system response to a complex exponential input- $$y[n]=y_{SS}[n]+y_t[n]$$ It says, given ...
0
votes
2answers
121 views

How to DSP filter a signal that has a variable time base?

I am measuring frequency on a microcontroller by measuring the time between pulses on an input. DSP filter theory requires the time base of an input signal to be regular, e.g. IIR and FIR filters. ...
2
votes
4answers
3k views

Different ways of using DSP slices in Spartan 6 FPGA

I am reading the Spartan 6 DSP slice user guide, and I need to use the DSP slice in a project of mine. I stumbled upon this question, which basically suggests 3 ways of using the DSP slices ...
2
votes
1answer
1k views

Comparison between FMCW radar modulation techniques

In designing a Frequency modulated continuous wave (FMCW) radar system for target detection, there is a possibility of choosing the modulation technique amongst triangle or saw-tooth modulation. What ...
1
vote
1answer
223 views

Problems with implementation of a band-stop filter on an MCU (dsPIC) using fixed-point arithmetic

I'm trying to implement a band-stop (notch) filter on a microcontroller dsPIC33EP64GS506 to filter out a 100 Hz component from ...
0
votes
1answer
39 views

DSP board TMDX5505EZDSP potentiometers and switches

I have to do a project for school that is an audio effects processor but I'm not experienced with dsp. I'm using the Texas Instruments TMDX5505EZDSP. I've programmed some audio effects based on some ...
0
votes
1answer
90 views

DT Ramp Signal Summation Notation Help?

I cannot understand how the summation range has changed via substitution of m. EDIT: Full problem with solution (for context):
2
votes
2answers
187 views

Convert PID parameters to Q15 format

I have calculated the transfer function of my system to apply a PID to it. With MATLAB and the PID Tuner tool I got the Kp, Ki ...
5
votes
2answers
2k views

Low-end DSP vs High-end MCU

I'm currently working on a Guitar DSP project, based on STM32F407VGT6 but as I progress I come to conclusion that I'm gonna need a bigger unit (with SDRAM). The question that is ringing in my head is ...