MotoHawk FPGA Current Drive Profile Param Get
This block allows to read the given parameter of the referenced Profile Definition block.
Block ID
Profile Param Get
Library
MotoHawk FPGA Current Drive
Description
This block reads only one parameter of only one segment of the profile defined by a Profile Definition block. Use multiple blocks if access to more parameters and segments are required. Reading from empty segments will be ignored.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Profile Name | Alpha-numeric text, single-quote enclosed | Associates this block with Profile Definition. |
Parameter | Drop down list | Selects the parameter to be read |
Segment Number | Drop down list | Selects the segment of the given profile |
Signals
Param
This scalar output signal returns the parameter value. Based on the parameter type it can be of type bool, uint8 or real32. Output Signal Mapping lists the supported parameters together with their output ranges and helper scripts that can be used to retrieve the enumeration cell for the chosen parameters.
Output Signal Mapping
Parameter | Input Type | Valid range | Enumeration script |
---|---|---|---|
LastSegment EnableCurrentStabilization EnableFetBridgeOpenLoopMode DisableBoostOverVoltageProt BoostInhibit CntEnCondition | bool | 0 - FALSE, 1 - TRUE | N/A |
BoostFetDriverCntrl | uint8 | 0 - Disabled 1 - Boost_Lsc_Untrip 2 - Boost_Hsc_Untrip 3 - Boost_Lsc_And_Hsc_Untrip 4 - Boost_Lsc_Or_Hsc_Untrip 5 - Boost_Lsc_Untrip_Hsc_Lsc_Undrive 6 - Boost_Drive_Fet_Continuously | motohawk_fpga_current_drive_enum_BoostFetDriverCntrl |
VoltageFallType | uint8 | 0 - Regeneration 1 - Recirculation | motohawk_fpga_current_drive_enum_VoltageFallType |
VoltageRiseType | uint8 | 0 - Battery 1 - Boost | motohawk_fpga_current_drive_enum_VoltageRiseType |
SelCurrentStabilizeTimeReg | uint8 | 0 - SelectRegisterA 1 - SelectRegisterB | motohawk_fpga_current_drive_enum_SelCurrentStabilizeTimeReg |
TerminateSegOnMinOnTimeCntHit TerminateOnTriggerDeasserted TerminateOnSimultaneusTrip TerminateSegmentOnMinOffTimeCntHit TerminateOnTripLowSide TerminateOnTripHighSide TerminateOnUnTripHighSide | uint8 | 0 - Disabled 1 - JumpSegmentIdx0 2 - JumpSegmentIdx1 3 - JumpSegmentIdx2 | motohawk_fpga_current_drive_enum_TerminateSeg |
TerminateOnTimeExpire | uint8 | 0 - Segment_Next 1 - JumpSegmentIdx0 2 - JumpSegmentIdx1 3 - JumpSegmentIdx2 | motohawk_fpga_current_drive_enum_TerminateSegTime |
ADCTriggerControl | uint8 | 0 - Disabled 1 - 100k 2 - 201k 3 - 406k | motohawk_fpga_current_drive_enum_ADCTriggerControl |
LowFetDriveControl | uint8 | 0 - Disabled 1 - Low_Lsc_Untrip 2 - Low_Hsc_Untrip 3 - Low_Lsc_And_Hsc_Untrip 4 - Low_Lsc_Or_Hsc_Untrip 5 - Low_Lsc_Untrip_Hsc_Lsc_Undrive | motohawk_fpga_current_drive_enum_LowFetDriveControl |
HighFetDriveControl | uint8 | 0 - Disabled 1 - High_Lsc_Untrip 2 - High_Hsc_Untrip 3 - High_Lsc_And_Hsc_Untrip 4 - High_Lsc_Or_Hsc_Untrip 5 - High_Lsc_Untrip_Hsc_Lsc_Undrive | motohawk_fpga_current_drive_enum_HighFetDriveControl |
PWMOutputCfg | uint8 | 0 - Disabled 1 - Mios_Send_Start_Pulse 2 - Mios_Send_Start_Pulse_Unfiltered_Hside_Comparator 3 - Mios_Send_Start_Pulse_Unfiltered_Lside_Comparator 4 - Mios_Send_Unfiltered_Hside_Comparator_Signal 5 - Mios_Send_Unfiltered_Lside_Comparator_Signal 6 - Mios_Send_Start_Pulse_Filtered_Hside_Comparator 7 - Mios_Send_Start_Pulse_Filtered_Lside_Comparator 8 - Mios_Send_Filtered_Hside_Comparator_Signal 9 - Mios_Send_Filtered_Lside_Comparator_Signal | motohawk_fpga_current_drive_enum_PWMOutputCfg |
JumpSegment0 JumpSegment1 JumpSegment2 | uint8 | 0 to N-1, where N is the number of segments defined in xml profile | N/A |
LowCompFilterParam HighCompFilterParam | uint8 | 0 to 31 | N/A |
TimeDmd | real32 | 0 to 238738 [us] | N/A |
CurrentDmd CurrentHysteresis | real32 | 0 to 66000 [mA] | N/A |
MinFETOnTime | real32 | 0 to 200 [ns] | N/A |
MarginTimeOnSimultaniousTrip | real32 | 0 to 7488.914 [us] | N/A |
MaxOnTime | real32 | 0 to 464.4571429 [us] | N/A |
MinOffTime | real32 | 0 to 932.571 [us] | N/A |