Spark-Concepts / xPro-V5

xPro-V5 CNC Motion Control System Documentation and User Information
42 stars 19 forks source link

Holding current issue #150

Closed nyarurato closed 2 years ago

nyarurato commented 2 years ago

I try new firmware "April 2022 Firmware". It seems holding current is strange. Below is the table of measurement result for holding current on $140=1.8. It applied after $RST=*. I think the holding current is DC current, so I measured the current at an angle where the current flows through the coil on one side only.

Parameter Holding current (A)
150=0.1 0.2
150=0.3 0.6
150=0.5 1.0
150=0.7 1.3
150=1.0 1.7
150=1.2 2.1
150=1.5 2.8
150=1.7 3.1

This result indicates that holding current setting may have been changed to a ratio setting of drive current setting. I have checked the firmware source code and there does not appear to be anything wrong. However, it is old source code so I am not sure if it is correct now. (If anyone from SparkConcepts sees this, please update the source code! I'd like to check it ) https://github.com/Spark-Concepts/xPro-V5-Firmware/blob/main/CNCxPROv5_20210708/src/Motors/TrinamicDriver.cpp#L196-L215

Spark-Concepts commented 2 years ago

We are actively working with Trinamic to figure out what's going on with this - definitely strange behavior

Spark-Concepts commented 2 years ago

Please resume communication on this issue here: https://github.com/Spark-Concepts/xPro-V5/issues/121#issuecomment-1208771628

I will post updates once I have a better answers