Coder Social home page Coder Social logo

phasor_fpga's Introduction

FPGA Based Phasor Measurement Unit

The aim of this project is to provide an FPGA implementation of the Phasor Estimation algorithm in this paper: https://ieeexplore.ieee.org/document/6547769

This algorithm should be very suitable for FPGA implementation, due to it consisting of mostly MAC instructions followed by a single arctan.

The design currently has a Q-SPI flash memory to store the coefficient library for the LES algorithm, with the rest of the main algorithm to be implemented in the Xilinx S6 FPGA.

The STM32 is to act as a communications controller, and provide supervision for the system. The STM32 also has an external SPI flash memory which will hold the ROM image for the FPGA, and double as an in-system software update buffer (i.e. upload new firmware over Ethernet to the flash, then reprogram off the flash.)

A Q-SPI PSRAM memory is also added to the FPGA to form a circular buffer for samples. When some trigger condition is met, this will form the center point of the sample collection window, with the intent that the samples will be uploaded to a server for post analysis. i.e. effectively a fault recorder.

Progress

20 - 6 - 2020

  • All interfaces on PCB tested, all devices communicate correctly and samples from the ADC looking good (see plot in sigrok directory).
  • Ethernet interface (w5500) connects, gets DHCP & DNS lookups correctly.
  • Time for some FPGA dev...

The first PCB prototype, see the pdf for details: https://github.com/harvie256/phasor_fpga/blob/master/FPGA_PMU_PCB/fpga_pmu_pcb_board.pdf

Alt text

phasor_fpga's People

Contributors

harvie256 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.