Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by karanbanthia

  1. K

    Error for automatic generation of DSP instruction

    __builtin_add() works perfectly as per the code that i have posted in the old microchip c30 compiler but not in xc16 compiler. xc16 compiler instead suggests to use __builtin_addab() which is not suitable for my code. What other option do I have?
  2. K

    Error for automatic generation of DSP instruction

    Hi all, I have the following line of code perfectly working in Microchip C30 compiler but gives an error in Microchip xc16 compiler saying volatile register int accuA asm("A"); accuA = __builtin_add(accuA,(*ptempDest).real+(*ptempSource2).real,0); where ptempDest and ptempSource2 are...
  3. K

    [SOLVED] MC34063 problem. Switches off in every cycle

    Hello all, Thank you for your suggestions. Turns out that since it is a switching regulator, it switches OFF completely when the output voltage is more than what it is designed for which is exactly what I dont want. I have shifted my design to MC34166 which is a PWM controlled DC-DC...
  4. K

    [SOLVED] Problem with Efcient computation of the DFT of a 2N-point real sequence

    Here is the link which helped me solve the problem: https://simon.rozman.si/computers/dsp/dftreal Regards, Karan M. Banthia
  5. K

    [SOLVED] Problem with Efcient computation of the DFT of a 2N-point real sequence

    Hi Klaus, Tried windowing as well. It only reduces the spectrum leakage (what it is meant to do). In case no windowing is performed, even though the input signal is non-integer multiples, leakage will be more but it wont cause aliasing around Fs/4. In my results, aliasing is present around...
  6. K

    [SOLVED] Problem with Efcient computation of the DFT of a 2N-point real sequence

    Hi Klaus, My input frequency will keep on varying, while sampling freq and number of samples will be const. As per theroy, FFT needs minimum number of samples of each freq. which is satisfied since all the cycle are repeated multiple time in the acquired time frame, so that should not be an...
  7. K

    [SOLVED] Problem with Efcient computation of the DFT of a 2N-point real sequence

    Hi all, I am trying to compute 2N-point DFT of 2Z-point real valued input signal from N-point FFT, but I am getting mirror image in the first half of the spectrum as well. Below is my MATLAB code Input signal consists of frequencies: 40, 400 and 800Hz. Sampling freq. is 3072Hz. Method...
  8. K

    [SOLVED] MC34063 problem. Switches off in every cycle

    Hi Brain, I have attached the top and bottom side of my PCB containing the switching regulator. Also, I have attached my schematic (calibration resistors values are different) and layout pic. This is the third time, I have used this IC. We generally tend to check only the ripple...
  9. K

    [SOLVED] MC34063 problem. Switches off in every cycle

    Hi Brian, I increased the Ct to 540pf (270+270pf parallel) and the same problem exists with the reduced switching frequency. Attached is its screenshot. Regards, Karan
  10. K

    [SOLVED] MC34063 problem. Switches off in every cycle

    I tried increasing the inductor value from 220uH upto 600uH but it has no effect. It turns out that as per calculations, 40uH is the minimum inductor value required, above that it doesn't matter until the current is within limit.
  11. K

    [SOLVED] MC34063 problem. Switches off in every cycle

    Hi Brian, I had used the MC34063A universal calculator for calculating the components and parameter values. I cross-checked those and all the calculations seems to be fine. I am using switching frequency as 100 KHz. Attached is the screenshot of calculations. I tried increasing Ct to...
  12. K

    [SOLVED] MC34063 problem. Switches off in every cycle

    Hi All, I am using MC34063A in step down configuration, but it switches OFF during every cycle. Following are the parameters for which it is designed: Vin - 9 to 12V Vout - 5V I max - 0.3A Rsc - 0.36 ohms L - 47uH 1.6A Ct - 270pf I have tried reducing the current limit resistor (Rsc), but...
  13. K

    [SOLVED] How to normalize signal for correlation

    Hello all, I am using dsPIC30f4011 for signal processing and programming the same using MPLAB C30 compiler. I am scanning two signals simultaneously using ADC in signed fractional format. When I use VectorCorrelate to find cross-correlation between them, it gives me a Math Error...
  14. K

    [SOLVED] Wrong Amplitude After FFT Calculation!

    I tried flat-top as well as rectangular window too... nothing seems to help me out! What might be the reason that I am getting variable amplitude at different frequencies even though my amplitude is constant?
  15. K

    [SOLVED] Wrong Amplitude After FFT Calculation!

    Hello all, I am not able to get the correct amplitude of input signal from DFT. My sampling frequency is 128Hz and I am take 128 Samples and computing 128-point FFT. I also have a simulated sine wave generator which I am using as input. When I vary the input frequency, FFT detects...

Part and Inventory Search

Back
Top