Skip to content

Commit

Permalink
Agora a PMU com harmônicas opera como 4 PMUs separadas, uma para as f…
Browse files Browse the repository at this point in the history
…undamentais e as outras 3 para as harmônicas de cada fase.
  • Loading branch information
gustavowd committed Apr 7, 2021
1 parent 58725ee commit 1ba18b3
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 79 deletions.
4 changes: 0 additions & 4 deletions STM32F769_EWizard/Inc/frameDataQ.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
/* Elemento da fila. */
struct frameDataElement {
#if (ENABLE_HARMONICS == 1)
#if (OPENPDC_COMPATIBILITY == 1)
unsigned char ucData[132];
#else
unsigned char ucData[320];
#endif
#else
unsigned char ucData[128];
#endif
Expand Down
3 changes: 0 additions & 3 deletions STM32F769_EWizard/Inc/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@
// Set this define to 1 for simulate GPS time stamp and PPS
#define SIMULATED_GPS 0

// If this define is enable, only sends harmonics of phase R
#define OPENPDC_COMPATIBILITY 1

// Defines for 50 or 60Hz in the SOC time stamp
#define FRACAO_DE_SEGUNDO_INIT 0
#if (NOMINAL_FREQ == 60)
Expand Down
Loading

0 comments on commit 1ba18b3

Please sign in to comment.