mirror of https://github.com/rusefi/bldc.git
Measure flux linkage at 25 kHz when sampling in both zero vectors
This commit is contained in:
parent
bcf83af123
commit
adfe4a736e
|
@ -1818,7 +1818,11 @@ int conf_general_detect_apply_all_foc(float max_power_loss,
|
|||
#ifdef HW_HAS_DUAL_MOTORS
|
||||
mcconf->foc_f_zv = 25000.0;
|
||||
#else
|
||||
mcconf->foc_f_zv = 40000.0;
|
||||
if (mcconf->foc_control_sample_mode == FOC_CONTROL_SAMPLE_MODE_V0_V7) {
|
||||
mcconf->foc_f_zv = 25000.0;
|
||||
} else {
|
||||
mcconf->foc_f_zv = 40000.0;
|
||||
}
|
||||
#endif
|
||||
mc_interface_set_configuration(mcconf);
|
||||
|
||||
|
|
Loading…
Reference in New Issue