libximc
2.14.27
|
Calibration settings. More...
Data Fields | |
float | CSS1_A |
Scaling factor for the analog measurements of the A winding current. | |
float | CSS1_B |
Offset for the analog measurements of the A winding current. | |
float | CSS2_A |
Scaling factor for the analog measurements of the B winding current. | |
float | CSS2_B |
Offset for the analog measurements of the B winding current. | |
float | FullCurrent_A |
Scaling factor for the analog measurements of the full current. | |
float | FullCurrent_B |
Offset for the analog measurements of the full current. |
Calibration settings.
This structure contains calibration settings. These settings are used to convert bare ADC values to winding currents in mA and the full current in mA. Parameters are grouped into pairs, XXX_A and XXX_B, representing linear equation coefficients. The first one is the slope, the second one is the constant term. Thus, XXX_Current[mA] = XXX_A[mA/ADC]*XXX_ADC_CODE[ADC] + XXX_B[mA].
float CSS1_A |
Scaling factor for the analog measurements of the A winding current.
float CSS1_B |
Offset for the analog measurements of the A winding current.
float CSS2_A |
Scaling factor for the analog measurements of the B winding current.
float CSS2_B |
Offset for the analog measurements of the B winding current.
float FullCurrent_A |
Scaling factor for the analog measurements of the full current.
float FullCurrent_B |
Offset for the analog measurements of the full current.