Phidget DC Motor.lvlib:DCMotorSetCurrentRegulatorGain.vi

Depending on power supply voltage and motor coil inductance, current through the motor can change relatively slowly or extremely rapidly. A physically larger DC Motor will typically have a lower inductance, requiring a higher current regulator gain. A higher power supply voltage will result in motor current changing more rapidly, requiring a higher current regulator gain. If the current regulator gain is too small, spikes in current will occur, causing large variations in torque, and possibly damaging the motor controller. If the current regulator gain is too high, the current will jitter, causing the motor to sound 'rough', especially when changing directions.

As a rule of thumb, we recommend setting this value as follows:

Phidget DC Motor.lvlib:DCMotorSetCurrentRegulatorGain.vi

cu64

Device In

Device # Identification

cerrcodeclst

error in (no error)

error in can accept error information wired from VIs previously called.

cdbl

Current Regulator Gain

The current regulator gain value

1060_0 (ver: 100, 110) DC Motor Controller: Unsupported

1064_0 (ver: 100, 101, 102) DC Motor Controller: Unsupported

1064_1 (ver: 102) DC Motor Controller: Unsupported

1065_0 (ver: 100, 101) DC Motor Controller: Unsupported

1065_1 (ver: 100, 101) DC Motor Controller: Unsupported

DCC1000_0 (ver: 115) DC Motor Controller: Min: 1 Max: 100Val: 10

DCC1000_0 (ver: 204, 205, 206) DC Motor Controller: Min: 1 Max: 100Val: 10

DCC1000_0 (ver: 210, 211, 220) DC Motor Controller: Min: 1 Max: 100Val: 10

DCC1001_0 (ver: 114, 116, 117) DC Motor Controller: Val: 10

DCC1001_0 (ver: 120, 130) DC Motor Controller: Val: 10

DCC1002_0 (ver: 100, 101, 102) DC Motor Controller: Val: 10

DCC1002_0 (ver: 111, 120) DC Motor Controller: Val: 10

DCC1003_0 (ver: 100, 101, 102) DC Motor Controller: Val: 10

DCC1003_0 (ver: 110, 120) DC Motor Controller: Val: 10

iu64

Device Out

Same as Device In

ierrcodeclst

error out

error out passes error or warning information out of a VI to be used by other VIs.