Skip to content

Constant rpm ("governor") mode? Control over number of turns? #136

@se-pi

Description

@se-pi

Hey!
New to this project, I have actually an application that needs a significant modification. Hope you can help me figuring out if it is feasible with this FW. This is not going to be a R/C model application.

Ideally, I want to have fine control over the actual rpm of a motor that the ESC should hold at a certain value under changing load, in a broad range of speeds, and with good control over the number of turns. I can imagine this being controlled either via PWM, as usual, or via speed proportional to the frequency of the control signal, so that I can count pulses and thereby revolutions.

In the end, I want to have three or four motors running synchronously and turning all the same number of turns, under probably dramatically differing load, so the motors need to be able to provide some torque while turning slowly or even standing still. I'd like to avoid mounting a hall sensor to every motor and feeding that into an external feedback loop, as every ESC has that information already.

The final application is supposed to be a rope machine, if that helps understanding the scenario. As the strands are wound, the counter torque on every motor will increase with every turn. All the strands need to be twisted the same number of turns (that might turn out to need tweaking, but it is my first assumption).

Recap of requirements:

  • control signal translates to a constant turn rate
  • high torque needed
  • control over number of turns
  • soft start
  • stretch goal: no missing steps, or automatic stop when a certain torque is exceeded. I'm not sure yet, if that is possible without external current monitoring. I will study the linked schematics of common ESCs and try to figure that out.

I have this set of four ESCs and brushless motors, which is advertised as running this firmware, and the three beeps they make on power-up give reason to believe that it is the case. I haven't seen it in the compatibility sheet, nor any photos of the ESCs. They are not as easily programmable, as the testpoints are scattered around the PCB, which is covered in shrinkwrap.
I'll see if I can reach the manufacturer and get their source.

I have programmed AVRs with assembler over 10 years ago, so I'm a bit rusty. Are there resources that help understanding the sourcecode, like flow graphs or the like, and the motor control principle in general?

Looking forward to any hints!
Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions