-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring up complete motor controller yamcan definition
Added support for signal ID offset
- Loading branch information
1 parent
b7efd8e
commit cc98f96
Showing
11 changed files
with
1,418 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
251 changes: 248 additions & 3 deletions
251
network/definition/data/components/pm100dx/pm100dx-message.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,254 @@ | ||
messages: | ||
|
||
temps1: | ||
cycleTimeMs: 100 | ||
description: PM100DXR Temperatures 1 | ||
idOffset: 0xA0 | ||
lengthBytes: 8 | ||
signals: | ||
tempModuleA: | ||
tempModuleB: | ||
tempModuleC: | ||
tempGateDriver: | ||
|
||
temps2: | ||
cycleTimeMs: 100 | ||
description: PM100DXR Temperatures 2 | ||
idOffset: 0xA1 | ||
lengthBytes: 8 | ||
signals: | ||
controlBoardTemp: | ||
rtdTemp1: | ||
rtdTemp2: | ||
rtdTemp3: | ||
|
||
temps3AndTorqueShudder: | ||
cycleTimeMs: 100 | ||
description: PM100DXR Temperatures 3 & Torque Shudder | ||
idOffset: 0xA2 | ||
lengthBytes: 8 | ||
signals: | ||
rtdTemp4: | ||
rtdTemp5: | ||
motorTemp: | ||
torqueShudder: | ||
|
||
analogInputVoltages: | ||
cycleTimeMs: 10 | ||
description: PM100DXR Analog Input Voltages | ||
idOffset: 0xA3 | ||
lengthBytes: 8 | ||
signals: | ||
analogInputVoltage1: | ||
analogInputVoltage2: | ||
analogInputVoltage3: | ||
analogInputVoltage4: | ||
startBit: 32 | ||
analogInputVoltage5: | ||
analogInputVoltage6: | ||
|
||
digitalInputStatus: | ||
cycleTimeMs: 10 | ||
description: PM100DXR Digital Input Status | ||
idOffset: 0xA4 | ||
lengthBytes: 8 | ||
signals: | ||
forwardSwitchStatus: | ||
reverseSwitchStatus: | ||
brakeSwitchStatus: | ||
regenDisableSwitchStatus: | ||
ignitionSwitchStatus: | ||
startSwitchStatus: | ||
valetModeStatus: | ||
digitalInput8Status: | ||
|
||
motorPositionInfo: | ||
cycleTimeMs: 10 | ||
description: PM100DXR Motor Position Information | ||
idOffset: 0xA5 | ||
lengthBytes: 8 | ||
signals: | ||
electricalMotorAngle: | ||
motorSpeed: | ||
electricalOutputFreq: | ||
deltaResolverFiltered: | ||
|
||
currentInfo: | ||
cycleTimeMs: 10 | ||
description: PM100DXR Current Info | ||
idOffset: 0xA6 | ||
lengthBytes: 8 | ||
signals: | ||
currentPhaseA: | ||
currentPhaseB: | ||
currentPhaseC: | ||
dcBusCurrent: | ||
|
||
voltageInfo: | ||
cycleTimeMs: 10 | ||
description: PM100DXR Voltage Info | ||
idOffset: 0xA7 | ||
lengthBytes: 8 | ||
signals: | ||
dcBusVoltage: | ||
outputVoltage: | ||
voltageVAB: | ||
voltageVBC: | ||
|
||
fluxInfo: | ||
cycleTimeMs: 10 | ||
description: PM100DXR Flux Info | ||
idOffset: 0xA8 | ||
lengthBytes: 8 | ||
signals: | ||
fluxCommand: | ||
fluxFeedback: | ||
idFeedback: | ||
iqFeedback: | ||
|
||
internalVoltages: | ||
cycleTimeMs: 100 | ||
description: PM100DXR Internal Voltages | ||
idOffset: 0xA9 | ||
lengthBytes: 8 | ||
signals: | ||
refVoltage1.5V: | ||
refVoltage2.5V: | ||
refVoltage5V: | ||
systemVoltage12V: | ||
|
||
internalStates: | ||
cycleTimeMs: 100 | ||
description: PM100DXR Internal States | ||
idOffset: 0xAA | ||
lengthBytes: 8 | ||
signals: | ||
vsmState: | ||
pwmFrequency: | ||
inverterState: | ||
relayStatus1: | ||
inverterRunMode: | ||
selfSensingAssistEnable: | ||
inverterActiveDischargeState: | ||
inverterCommandMode: | ||
rollingCounter: | ||
inverterEnableState: | ||
burstModelMode: | ||
startModeActive: | ||
inverterEnableLockout: | ||
directionCommand: | ||
bmsActive: | ||
bmsLimitingTorque: | ||
limitMaxSpeed: | ||
limitHotSpot: | ||
lowSpeedLimiting: | ||
coolantTemperatureLimiting: | ||
limitStallBurstModel: | ||
|
||
faultCodes: | ||
cycleTimeMs: 100 | ||
description: PM100DXR POST & Run Fault Codes | ||
idOffset: 0xAB | ||
lengthBytes: 8 | ||
signals: | ||
postHWGateFault: | ||
postHWOverCurrentFault: | ||
postAcceleratorShorted: | ||
postAcceleratorOpen: | ||
postCurrentSensorLo: | ||
postCurrentSensorHi: | ||
postModuleTempLo: | ||
postModuleTempHi: | ||
postControlPCBTempLo: | ||
postControlPCBTempHi: | ||
postGateDrivePCBTempLo: | ||
postGateDrivePCBTempHi: | ||
post5vSenseVoltageLo: | ||
post5vSenseVoltageHi: | ||
post12vSenseVoltageLo: | ||
post12vSenseVoltageHi: | ||
post2.5vSenseVoltageLo: | ||
post2.5vSenseVoltageHi: | ||
post1.5vSenseVoltageLo: | ||
post1.5vSenseVoltageHi: | ||
postDCBusVoltageHi: | ||
postDCBusVoltageLo: | ||
postPreChargeTimeOut: | ||
postPreChargeVoltageFailure: | ||
postEepromChecksumInvalid: | ||
postEepromDataOutOfRange: | ||
postEepromUpdateRequired: | ||
postHWDCBusOverVoltageDuringInit: | ||
postBrakeShorted: | ||
startBit: 30 | ||
postBrakeOpen: | ||
runMotorOverSpeedFault: | ||
runOverCurrentFault: | ||
runOverVoltageFault: | ||
runInverterOverTempFault: | ||
runAcceleratorInputShortedFault: | ||
runAcceleratorInputOpenFault: | ||
runDirectionCommandFault: | ||
runInverterResponseTimeOutFault: | ||
runHWGateFault: | ||
runHWOverCurrentFault: | ||
runUnderVoltageFault: | ||
runCanCommandMessageLostFault: | ||
runMotorOverTempFault: | ||
runBrakeInputShortedFault: | ||
startBit: 48 | ||
runBrakeInputOpenFault: | ||
runModuleAOverTempFault: | ||
runModuleBOverTempFault: | ||
runModuleCOverTempFault: | ||
runPcbOverTempFault: | ||
runGateDriveBoard1OverTempFault: | ||
runGateDriveBoard2OverTempFault: | ||
runGateDriveBoard3OverTempFault: | ||
runCurrentSensorFault: | ||
runHwDCBusOverVoltageFault: | ||
startBit: 59 | ||
runResolverNotConnected: | ||
startBit: 62 | ||
|
||
torqueAndTimerInfo: | ||
cycleTimeMs: 3 | ||
description: Torque and Timer Info | ||
idOffset: 0xAC | ||
lengthBytes: 8 | ||
signals: | ||
commandedTorque: | ||
feedbackTorque: | ||
powerOnTimer: | ||
|
||
modulationIndexAndFluxWeakeningOutputInfo: | ||
cycleTimeMs: 10 | ||
description: Modulation Index and Flux Weakening Output Info | ||
idOffset: 0xAD | ||
lengthBytes: 8 | ||
signals: | ||
modulationIndex: | ||
fluxWeakeningOutput: | ||
idCommand: | ||
iqCommand: | ||
|
||
|
||
criticalData: | ||
cycleTimeMs: 10 | ||
description: PM100DXR Critical Data | ||
cycleTimeMs: 10 | ||
id: 0x11 | ||
idOffset: 0xB0 | ||
lengthBytes: 8 | ||
signals: | ||
torqueCommand: | ||
torqueFeedback: | ||
motorSpeed: | ||
tractiveSystemVoltage: #DC bus voltage | ||
|
||
torqueCapability: | ||
cycleTimeMs: 10 | ||
description: Motor Controller Torque Capability | ||
idOffset: 0xB1 | ||
lengthBytes: 8 | ||
signals: | ||
tractiveSystemVoltage: | ||
startBit: 48 | ||
torqueCapability: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
messages: | ||
BMSB_currentLimit: | ||
signals: |
Oops, something went wrong.