Skip to content

Commit

Permalink
Re-calib
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Apr 14, 2024
1 parent 63cd60d commit e6c33bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.043950F, 0.045235F, 0.042788F };
inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.042196F, 0.043512F, 0.040156F };
//
// 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 Mk2_3phase_RFdatalog_temp/config_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inline constexpr uint8_t NO_OF_PHASES{ 3 }; /**< number of phases of the main su

//--------------------------------------------------------------------------------------------------
// for users with zero-export profile, this value will be negative
inline constexpr int16_t REQUIRED_EXPORT_IN_WATTS{ 20 }; /**< when set to a negative value, this acts as a PV generator */
inline constexpr int16_t REQUIRED_EXPORT_IN_WATTS{ 0 }; /**< when set to a negative value, this acts as a PV generator */

//--------------------------------------------------------------------------------------------------
// other system constants, should match most of installations
Expand Down
2 changes: 1 addition & 1 deletion dev/cal_CTx_v_meter/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ constexpr int16_t ADCDuration{ 104 }; // Time in microseconds for one ADC conve
// 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.043950F, 0.045235F, 0.042788F };
inline constexpr float f_powerCal[NO_OF_PHASES]{ 0.042196F, 0.043512F, 0.040156F };

// 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 e6c33bc

Please sign in to comment.