Skip to content

Artisan control of Phidget DCC10xx missing an essential command #626

Description

@bravowren

Describe the bug

I understand that Artisan only supports basic functions on Phidget DC Motor Controllers (DCC10xx)- velocity, acceleration, & sleep. But motors drawing more than 2A can not be controlled from Artisan using these commands. This is because these Phidget controllers have a default setting that limits their current output, even though they are rated at much higher current.

The DCC1000 (max 25A) has a default current limit set to 2A as seen in the Phidgets Control Panel.
The DCC1003 (max 4A each motor) also has a default setting of 2A according to Phidget tech support, though the MacOS Phidgets Control Panel does not show this slider and the WIN Phidgets Control Panel shows it at 0A.

I was able to reliably start the drum motor on my Cormorant CR600 roaster using either DCC1000/1003 from the Phidgets Control Panel only if I increased the current limit to 2.5A or greater. At the default setting of 2A on the DCC1000, it would only start intermittently, though about 90% of the time it would not start and you could hear it laboring. This was without any beans in the drum, which would have increased the starting torque required and the subsequent current draw. The DCC1003 would not start up the motor at the default setting from the control panel.

To Reproduce

I was unable to start the same motor using the max "vel" command from Artisan, because I had no ability to increase the current limit on the DCC10xx.

Even though the operating current of my motor is right below the limit threshold, startup torque on these gear motors requires higher draw for a few ms, which triggers the sensitive Phidget current limiter.

(BTW Artisan "vel" command worked perfectly on the same setup with with a lower load, as observed viewing the output PWM duty cycle).

Request

Marko, is it possible to add the SetCurrentLimit API command? My understanding is that it only needs to be sent once at the beginning of a session. I'm happy to send you a controller for testing if you need it.

Setup
Phidgets DCC1000 (v211)
Phidgets DCC1002 (v110)
Cormorant CR600 roaster: 14V 1.8A drum motor (starting torque >2A)

  • Artisan Version v2.4.5
  • Artisan Build 6c69312
    MacOS 10.15.7
    Win 10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions