This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

moto ware proj_lab01

Other Parts Discussed in Thread: DRV8301-69M-KIT, MOTORWARE

//! \brief Defines full scale value for the IQ30 variable of Voltage inside the system
//! \brief All voltages are converted into (pu) based on the ratio to this value
//! \brief WARNING: this value MUST be larger than the maximum value of any voltage calculated inside the control system otherwise the value can saturate and roll-over, causing an inaccurate value
//! \brief WARNING: this value is OFTEN greater than the maximum measured ADC value, especially with high Bemf motors operating at higher than rated speeds
//! \brief WARNING: if you know the value of your Bemf constant, and you know you are operating at a multiple speed due to field weakening, be sure to set this value higher than the expected Bemf voltage
//! \brief It is recommended to start with a value ~3x greater than the USER_ADC_FULL_SCALE_VOLTAGE_V and increase to 4-5x if scenarios where a Bemf calculation may exceed these limits
#define USER_IQ_FULL_SCALE_VOLTAGE_V (450.0) // 450.0 Example for hvmtr typical usage

//! \brief Defines the maximum voltage at the input to the AD converter
//! \brief The value that will be represtented by the maximum ADC input (3.3V) and conversion (0FFFh)
//! \brief Hardware dependent, this should be based on the voltage sensing and scaling to the ADC input
#define USER_ADC_FULL_SCALE_VOLTAGE_V (409.6) // 409.6 hvmtrkit_r1p1 voltage scaling

我用的是DRV8301-69m-kit   ,最大60v    ,proj-lab01      这个定义正确吗?

  • ZAIWU,

    我认为你导入的工程出错了,这个例程不是这个板子的。

    你导入工程的时候应该正确到下面的路径:

    C:\ti\motorware\motorware_1_01_00_08\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5

    请仔细阅读InstaSPIN的user guide,里面都有详细的说明。

    Eric