FPGA Based Power Analyser (4K) with FFT, CORDIC, Embedded Processor and Matlab GUI: PART 1:ADC & FFT

  Переглядів 9,817

Visual Electric

Visual Electric

День тому

In part 1 of 2 of this video series, we will begin the build of an FPGA based Power Analyser to measure the Voltage and Current Input at Power Frequency PLUS the Harmonics. I am using the Cyclone 5 starter kit, which has a Cyclone 5 FPGA and the LTC2308 ADC on board. To design a power analyser we will use a pair of FFT MegaFunctions in Quartus. The frequency domain outputs contain the fundamental 50 Hz PLUS the harmonics. We use the CORDIC algorithm to determine the other necessary component for Complex Power - the phase. A Nios embedded processor is added to the project to help us output the information as a UART message. A graphical user interface in Matlab will help visualise the power analyser output.
This is a complex project but it will help us understand how a full system can be pieced together using MegaFunctions and Verilog glue logic. The agenda for this video (part 1) is below.
1. Understand the high level architecture
2. Write ADC SPI interface code for the LTC2308.
3. Interface to a pair of FFTs.
In Part 2 of this series, we will do the following:
4. Use the CORDIC algorithm to determine the phase of the Voltage and Current
5. Implement a NIOS embedded processor and use a write master to write our information into its memory scope. The processor can them access this memory and print them out as UART messages.
6. A Matlab GUI will be developed to read these UART messages and visualise our power analyser waveforms.

КОМЕНТАРІ: 11
@zainkhushall8546
@zainkhushall8546 3 роки тому
incredibly informative. Thanks
@nevilleweasley2644
@nevilleweasley2644 3 роки тому
Concepts clearing tutorial..Thanks
@NikMit-cn6ux
@NikMit-cn6ux 2 місяці тому
Hi, could you let me know if you are using the nios/e or nios/f processor for this project?
@LongPham-bg8um
@LongPham-bg8um 6 місяців тому
Thanks for the great video tutorial. Do you have a github repo for the code in this video by any chance?
@119jojo
@119jojo 3 роки тому
Your video has helped me a lot with a problem I had, however I would also like to ask you how you made the animation of minute 0:55, I ask you why I have to make a similar animation for the final delivery of my graduation work and it would help me much to know how you did it, in advance thanks for your videos
@VisualElectric_
@VisualElectric_ 3 роки тому
Thanks for your comment. The animation is done with Adobe After Effects.
@AungMyoSan-fq7mb
@AungMyoSan-fq7mb 5 місяців тому
Thanks! I am student. I have question. Outputs of FFT core are complex values. These values are represented in binary 2nd complement form? For calculation of amplitude and phase of signal are used equations A^2=(Re)^2+(Im)^2 and F=atan(Re/Im). These calculation procedure is right?
@VisualElectric_
@VisualElectric_ 5 місяців тому
Yes, but best to use atan2 rather than atan, with the imaginary on top -> atan2(Im/Re). atan will only give you a pi/2 to -pi/2 range, but atan2 gives you the full 4 quadrant pi to -pi range.
@AungMyoSan-fq7mb
@AungMyoSan-fq7mb 5 місяців тому
@@VisualElectric_ thanks you!
@mohammedmostefabelhadjmost417
@mohammedmostefabelhadjmost417 2 роки тому
hello bro. i need your email please
XDC 2019 | Everything Wrong With FPGAs - Ben Widawsky
1:03:20
X.Org Foundation
Переглядів 11 тис.
NCOs are everywhere - here's how to make one using an FPGA
28:54
Visual Electric
Переглядів 10 тис.
How to Use an Oscilloscope - Mega Guide
18:53
Keysight Labs
Переглядів 151 тис.
FPGA Pins Explained!
14:10
Altium Academy
Переглядів 35 тис.
Driving a VGA Display?! Getting started with an FPGA! (TinyFPGA)
11:26
GreatScott!
Переглядів 479 тис.
How LoRa Modulation really works - long range communication using chirps
27:38
LUT-based Sine-wave in VHDL for Power Electronics converters with FPGA
22:07
Apple ХОЧЕТ, чтобы iPhone ЛОМАЛИСЬ чаще?
0:47
ÉЖИ АКСЁНОВ
Переглядів 212 тис.
Хомяк может разблокировать АЙФОН
0:14
Собиратель новостей
Переглядів 1,2 млн
Fiber kablo
0:15
Elektrik-Elektronik
Переглядів 479 тис.