GithubHelp home page GithubHelp logo

gustavowd / freepmu Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 2.0 109.95 MB

The FreePMU project delivers an open source Phasor Measurement Unit (PMU) for power system analysis based on the STM32F769 Discovery kit and an instrumentation PCB. Its characteristics are low cost, open architecture and open source code. FreePMU measures fundamental and harmonic synchrophasors as well as the signal frequency for a three-phase distribution circuit.

C 98.08% HTML 1.48% C++ 0.01% Assembly 0.25% Pascal 0.01% Python 0.19%
pmu stm32f769

freepmu's Introduction

FreePMU

A Low-Cost, Open Architecture, Synchronized Harmonic Phasor Measurement Unit.

The FreePMU project delivers an open source Phasor Measurement Unit (PMU) for power system analysis based on the STM32F769 Discovery kit and an instrumentation PCB. Its characteristics are low cost, open architecture and open source code. FreePMU measures fundamental and harmonic synchrophasors as well as the signal frequency for a three-phase distribution circuit.

Prototype

pmu

Publications

SEGER, P. V. H.; MORETO, MIGUEL; GRANDO, F. L.; LAZZARETTI, A. E.; DENARDIN, G. W.; PASTRO, C. R. Power System Monitoring Through Low-Voltage Distribution Network Using freePMU. IEEE Transactions on Industry Applications, v. 58, n. 3, p. 3153-3163, 2022.

SEGER, P. V. H.; MORETO, MIGUEL; GRANDO, F. L.; LAZZARETTI, A. E.; DENARDIN, G. W.; PASTRO, C. R. Monitoring Low Voltage Electrical Networks Using Low Cost PMUs: a Case Study. IEEE International Conference on Environment and Electrical Engineering and IEEE Industrial and Commercial Power Systems Europe, 2020, Madrid.

GRANDO, F. L.; DENARDIN, G. W.; MORETO, M.; LAZZARETTI, A. E.; VIEIRA NETO, H. A method for synchronized harmonic phasor measurement based on hardware-enhanced Fast Fourier Transform. International Transactions on Electrical Energy Systems, v. 30, p. 1-19, 2020.

Configurations

The PMU code has several possible configurations. These settings can be configured in the main.h file.

  1. Set the PMU identification number for the communication with PDC

#define PMUID 0x0001

  1. Set the utility nominal frequency (50 or 60Hz)

#define NOMINAL_FREQ 60

  1. Set the utility nominal voltage (127 or 220V)

#define NOMINAL_VOLTAGE 127

  1. Define if harmonics are enable or not

#define ENABLE_HARMONICS 1

  1. Set if the oversamling will be used or not (0 or 1)

#define OVERSAMPLING 1

  1. Define the GPS baudrate

#define GPS_BAUDRATE 115200

  1. Set this define to 1 for simulate GPS time stamp and PPS

#define SIMULATED_GPS 0

  1. Defines if the GPS will provide the 30 pulses per second or not (if not defined, GPS will provide 1 pulse per second)

#define PPS_30_HZ

  1. Defines if the measure data will be based on peak or RMS values (possible values are RMS_GAIN or PEAK_GAIN)

#define PEAK_OR_RMS RMS_GAIN

  1. Set the transport protocol to communicate with the PDC (TCP_PMU or UDP_PMU)

#define TRANSPORT_PROTOCOL TCP_PMU

  1. Several gains for the fit curves (depends on the instrumentation board)

For better performance, such gains must be defined through a calibration process

Interface video

Watch the interface video

Connections

Connections

Used GPS GPS

Used voltage transformer

voltage transformer

freepmu's People

Contributors

cristianpastro avatar flaviogrando avatar gustavowd avatar miguelmoreto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

iicsys

freepmu's Issues

Python FreePMU data receiver

When performing tests with PMUs closed together in the same network usually it is not necessary to install a PDC to obtain the measured data. Thus, a python script that receives de PMU data frames and stores them in a file (like CSV or another format) would be very handy in those situations where there is no need to leave the PMUs acquiring data for a long time.

About screen

It should be nice to add an "About" screen, showing the the firmware release version and features, logos of UTFPR and UFSC and the main developers.

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.