Skip to content

Commit

Permalink
Calib
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed May 8, 2023
1 parent b7cf3ee commit 91d45af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Mk2_3phase_RFdatalog_temp/calibration.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// powerCal is the RECIPROCAL of the power conversion rate. A good value
// to start with is therefore 1/20 = 0.05 (Watts per ADC-step squared)
//
inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.05000F, 0.05000F, 0.05000F };
inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.05587F, 0.05660F, 0.05462F };
//
// f_phaseCal is used to alter the phase of the voltage waveform relative to the current waveform.
// The algorithm interpolates between the most recent pair of voltage samples according to the value of f_phaseCal.
Expand Down
2 changes: 1 addition & 1 deletion cal_CTx_v_meter/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Polarities polarityConfirmedOfLastSampleV[NO_OF_PHASES]; /**< for zero-crossing
// powerCal is the RECIPR0CAL of the power conversion rate. A good value
// to start with is therefore 1/20 = 0.05 (Watts per ADC-step squared)
//
inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.05000F, 0.05000F, 0.05000F };
inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.05587F, 0.05660F, 0.05462F };

// f_phaseCal is used to alter the phase of the voltage waveform relative to the
// current waveform. The algorithm interpolates between the most recent pair
Expand Down

0 comments on commit 91d45af

Please sign in to comment.