Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dsp]

DSP stands for Digital Signal Processing or Digital Signal Processor.

1
vote
2answers
77 views

increase the ADC resolution using oversampling [duplicate]

To increase the ADC resolution, oversampling technique can be used which must be followed by decimation (average) method. Oversampling is just take several samples within time period. Unlike the ...
3
votes
4answers
774 views

Is there an efficient way for synchronising audio events real-time with LEDs using an MCU?

I'm working on a project in which LED lights synchronise with audio events. I'm not referring to reactive LED projects that read the ADC from audio amplitude or spectrum, but about having some ...
0
votes
1answer
72 views

Translating/reverse engineering firmware commands

I'm trying to build my own Hi-Fi system. So, I recently ordered this Japanese DSP that's able to process Dolby audio. I was all excited until the part had arrived and I found something in the ...
0
votes
0answers
78 views

Time delay using IIR filters

I am trying to implement a cardioid pattern with two microphones. I was reading this paper titled "Digital Filter Array Optimization for Directivity Pattern". The link to download the paper is this. ...
0
votes
1answer
95 views

PLDs, DSPs, MCUs, MPUs and SoCs Typical Application [closed]

PLDs, DSPs, MCUs, MPUs and SoCs are all embedded devices, they can be programmed / configured to achieve a specific application. I've worked with MCUs and FPGAs in the past and realized that they are ...
0
votes
0answers
54 views

Amplitude-Frequency spectrum

I am tasked to find the amplitude of the first harmonic of a square wave. I did a time domain fourier series and plot a frequency spectrum I also did a frequency domain fourier series and plot a ...
0
votes
1answer
37 views

Discrepancy in my dB SPL calculations

Having read through this post I tried an experiment. I connected a Extech sound level calibrator to a Type 4189 microphone. The output sensitivity of the microphone is 50 mV/Pa,-26 dB ± 1.5 dB re ...
0
votes
2answers
27 views

Load vs LDAC pins

Alright, so I'm using a TLV5628 Octal 8 bit DAC with my stm32f4-Nucleo and I'm kind of confused about the difference between LDAC and Load. I am also trying to figure out the clock rate and I might ...
2
votes
3answers
110 views

FIR Filter on Cortex M0

Is it possible to implement basic DSP (such as an FIR Filter) on a Cortex M0 or is the architecture too limited?
0
votes
2answers
97 views

Hardware audio mixing [closed]

I'm having a hard time trying to understand some basic sound engineering concepts. From https://en.wikipedia.org/wiki/Original_Chip_Set#Paula: Paula has four DMA-driven 8-bit PCM sample sound ...
1
vote
1answer
35 views

Continuous, frequency-domain digital equalizer

I'm facing a real case of DSP application. I have a basic knowledge of digital filtering and telecommunication issues. The input of my "black-box" is a digital audio signal (say a common WAV file, ...
1
vote
1answer
161 views

DSP Library not working in MPLAB X

I have to make a digital filter with a dsPIC30F4011 (I'm completely new to microcontrollers). I was reading the documentation about the DSP Library to figure out how to use it. I created a simple C ...
1
vote
3answers
60 views

Inherent DC Bias in ADC sampling

I was just simulating the quantization behavior of ADCs of different bits, on data sampled by a 24-bit ADC. What I noticed that as we go towards ADCs with less bits a DC bias in the signal becomes ...
1
vote
2answers
64 views

Signal Strength to ADC quantisation levels

According to the excellent site of AB4OJ, the Icom 7300 in summary has a 14bit analogue to digital converter with a 1.5 volt peak to peak input (LTC2208-14). I make this to be 91.5uV per quantisation ...
-2
votes
2answers
70 views

dsPIC33E ADC to FFT help

I am sampling an audio range signal with a bandwidth of 3100Hz and then applying a FFT using the DSP library example from Microchip to determine the most dominant frequency of the signal. On the last ...
2
votes
2answers
119 views

What is the easiest way to add noise to a circuit?

I'd like to have a sinousid wave with some noise. Then use that signal as input for an arduino, visualize that signal in Matlab and use a simple filter (moving average, for example) to remove the ...
1
vote
2answers
252 views

When is proper to use <= or = assigments in Verilog

I have not clear at all this part of Verilog when using <= or when = I have some always blocks that make some adds, subtracts and multiplies an example is like this: ...
12
votes
3answers
2k views

What is the “Nyquist” rate for sampling the derivative of a signal?

Background: I'm sampling the current through a capacitor. The signal of interest is the voltage across the capacitor. I will digitally integrate the current measurement to obtain the voltage. ...
0
votes
1answer
35 views

Can I2S tdm interface send more channels with less sampling frequency?

We have a arm SoC(system on chip) connected with I2S to a DSP (digital signal processor). SoC and DSP both support 48khz, 8 channel and 16bits in TDM mode. Is it possible to use this interface to ...
0
votes
1answer
49 views

Running DSPIC33FJ64GP802 at high temperature

Has anyone run this part to its rated temperature of 150 Celsius? We are able to run up to and beyond this temperature, but if power is cycled the part will not start reliably. We have tried running ...
2
votes
2answers
136 views

Digital Audio Effects Design [closed]

I've recently graduated university with an MEng degree in Electrical and Electronic Engineering. As a third year project, I've used an ST-Microelectronics ARM Cortex-M4 based Nucleo microcontroller ...
0
votes
0answers
30 views

External assembler function for digital signal processor

I need to create external function on TMS320C5515 Fixed-Point Digital Signal Processor around BFXTR command. I need to write some value directly into memory. I ...
0
votes
1answer
377 views

To convert Volts in dB SPL confusion

I wanted to convert volts into dB SPL. Thankfully, I found this article convert Volts into dB SPL While trying to understand why he was adding the mic sensitivity along with 94 dB SPL, I found ...
1
vote
2answers
71 views

Configuring Frequency Bandwidth and Input Signal for Bandpass filter circuit

How do I set and configure the frequency bandwidth I want the filter to output to a device? I am using a physical passive bandpass filter which I intend to take the signal in and filter it and output ...
0
votes
1answer
123 views

Signal processing of an IVQ-3005 Radar Module

I'm going to use that module for detecting range, velocity and angle, for that radar. https://www.innosent.de/fileadmin/media/dokumente/datasheets/180222_Datenblatt_IVQ-3005.pdf So I have read a lot ...
1
vote
0answers
331 views

Wrong FFT result when using rfft function on STM32F4

I'm trying to use rfft function in STM32F407G and I am getting wrong results when I compare it with an online fft calculator . I give a sample input as {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,...
3
votes
3answers
161 views

How does playback rate of an arbitrary waveform generator determine frequency content of that signal?

I'm trying to clear up some conceptual confusion I have about digital signal processing. Say I have a 1000 point digital signal (stored in the memory of my arbitrary waveform generator "AWG"), and I ...
0
votes
1answer
539 views

Question about Bluetooth Version 5.0 and Version 4.1 hardware backwards compatibility

I am reading some general information about Bluetooth 5.0 improvements here: https://www.itechtics.com/bluetooth-4-vs-bluetooth-5-feature-comparison/ It says clearly that Bluetooth 5.0 is not ...
1
vote
3answers
99 views

Low frequency present on sampled waveform

I am trying to sample a 50kHz sinewave @ 200 ksps using a 16-bit ADS8517 ADC. I am having a problem in that there is a lower frequency signal present on my input signal as shown: I have scoped the ...
0
votes
1answer
132 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, ...
2
votes
4answers
165 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
143 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
162 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
123 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
95 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
62 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 ...
3
votes
1answer
107 views

Understanding digital filters, specifically their effects on time domain information, how to preserve the waveform of a signal being filtered?

According to Steven W. Smith, in his book: The Scientist and Engineer's Guide to Digital Signal Processing, when designing a digital filter, "Good performance in the time domain results in poor ...
0
votes
1answer
335 views

3 phase BLDC sinusoidal drive using PWM controller and/or DSP?

My background is mechanical engineering (robotics). I apologize in advance. I have a sensitive torque ripple (Vibrations) application and would like to use sinusoidal drive to run a 3 phase BLDC ...
0
votes
2answers
574 views

How has this Daikin control signal been encoded?

I just installed a Daikin split system (AC/Heat Pump) and would like to control it remotely. There are similar units available which can be controlled with an IR remote, but mine does not support this ...
2
votes
0answers
457 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
125 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 ...
0
votes
1answer
346 views

Anti-Aliasing Filter example

I need help in solving the below question. Bandwidth of the signal is 1KHz. Use a 12-bit ADC with SNR of 78dB for sampling. the sampling frequency is 12KHz. Choose suitable filter order and cut-off ...
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
95 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 ...
2
votes
1answer
100 views

Are digital signal processors categorised in ASIPs?

Reading Wikipedia, it seems like DSPs use short instruction sets specialized for digital signal processing with hardware designed to specifically accelerate these instructions (e.g. multiplying, ...
0
votes
2answers
304 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 ...