Other Parts Discussed in Thread: LAUNCHXL-F280025C, DRV8323
Hello
We are using BOOSTXL-DRV8323RS with LAUNCHXL-F280025C
We followed Universal Motor Control Project and Lab User’s Guide and set the motorVars_M1.flagEnableRunAndIdentify to 1
We are faced with moduleOverCurrent fault 1
We have not connected motor or hall sensor to DRV8323
Our offset values set in user_mtr.h and data in expressions have a mismatch can you clarify it too
Thank you in advance
user_mtr.h
#elif defined(BSXL8323RS_REVA)
//! \brief Defines the nominal DC bus voltage, V
//!
#define USER_M1_NOMINAL_DC_BUS_VOLTAGE_V (24.0f)
//! \brief Defines the maximum voltage at the AD converter
#define USER_M1_ADC_FULL_SCALE_VOLTAGE_V (57.52845691f)
//! \brief Defines the analog voltage filter pole location, Hz
#define USER_M1_VOLTAGE_FILTER_POLE_Hz (680.4839141f) // 47nF
//! \brief Defines the maximum current at the AD converter
#define USER_M1_ADC_FULL_SCALE_CURRENT_A (47.14285714f) // gain=10
//! \brief ADC current offsets for dc-link
// the dc-link offset current for BSXL8323RS_REVA
#define USER_M1_IDC_OFFSET_A (USER_M1_ADC_FULL_SCALE_CURRENT_A / 2.0f)
//! \brief ADC current offsets for A, B, and C phases
#define USER_M1_IDC_OFFSET_AD (2048.0f)
#define USER_M1_IDC_OFFSET_AD_MAX (USER_M1_IDC_OFFSET_AD + 100.0f)
#define USER_M1_IDC_OFFSET_AD_MIN (USER_M1_IDC_OFFSET_AD - 100.0f)
//! \brief ADC current offsets for A, B, and C phases
#define USER_M1_IA_OFFSET_AD (2030.99646f)
#define USER_M1_IB_OFFSET_AD (2016.76001f)
#define USER_M1_IC_OFFSET_AD (2007.99329f)
//! \brief ADC voltage offsets for A, B, and C phases
#define USER_M1_VA_OFFSET_SF (0.498977453f)
#define USER_M1_VB_OFFSET_SF (0.497419506f)
#define USER_M1_VC_OFFSET_SF (0.500700474f)
//! \brief DC bus over voltage threshold
#define USER_M1_OVER_VOLTAGE_FAULT_V (54.5f)
//! \brief DC bus over voltage threshold
#define USER_M1_OVER_VOLTAGE_NORM_V (52.5f)
//! \brief DC bus under voltage threshold
#define USER_M1_UNDER_VOLTAGE_FAULT_V (8.0f)
//! \brief DC bus under voltage threshold
#define USER_M1_UNDER_VOLTAGE_NORM_V (10.0f)
//! \brief motor lost phase current threshold
#define USER_M1_LOST_PHASE_CURRENT_A (0.2f)
//! \brief motor unbalance ratio percent threshold
#define USER_M1_UNBALANCE_RATIO (0.2f)
//! \brief motor over load power threshold
#define USER_M1_OVER_LOAD_POWER_W (150.0f)
//! \brief motor stall current threshold
#define USER_M1_STALL_CURRENT_A (10.0f)
//! \brief motor fault check current threshold
#define USER_M1_FAULT_CHECK_CURRENT_A (0.2f)
//! \brief motor failed maximum speed threshold
#define USER_M1_FAIL_SPEED_MAX_HZ (1500.0f)
//! \brief motor failed minimum speed threshold
#define USER_M1_FAIL_SPEED_MIN_HZ (5.0f)
//! \brief Defines the number of failed torque
//!
#define USER_M1_TORQUE_FAILED_SET (0.000001f)
// end of BSXL8323RS_REVA










