How to configure a brushed DC motor

How to configure a brushed DC motor

Problem

I have a rotatory brushed DC motor with a certain feedback device but I don't know how to properly configure it and tune it. What is the right process that I need to follow?

Clarifications and checkings

  • This article describes (step by step) the manual process of configuring a rotatory brushed DC motor with a feedback device with very optimal performance. A more automatic way of doing this configuration could be by using the Configuration Wizard with all the implications that this might have.
  • This step by step process assumes that your motor does not have a brake. If you do have one, ensure that you have configured it correctly like it is shown in the following article before proceeding with any configuration: How to configure the brake of your motor.
  • This step by step process assumes that neither the motor or the power stage of the drive is damaged. Please, if you are not sure of this, follow the instructions in the How to know if the motor phases or the power stage of the drive are damaged article in order to verify it.
  • This step by step process assumes that your feedback device is working properly and no noise is coupled to the feedback lines. Please ensure that you have checked this by following the step process described in How to know if the feedback device is working properly.
  • This step by step process assumes that there is no digital input mapped to the "Motor Enable" functionality of the drive. If that is the case, ensure to have the digital input ON (if active high, otherwise OFF) in all the steps that involve movement during the configuration or otherwise those steps will fail.

Steps

  • Once you have connected to the drive, go to the Actuator window and set the right parameters for the Motor Type, Position sensor and Velocity sensor. Your window should look like the following (in the case of digital encoder as feedback device):

  • Then, you need to go to the Motor window in order to input all the motor data from its datasheet (it should all be in there). The parameters that you need to input mandatory are: torque constant, continuous current, peak current (if known) and max permissible speed. The inductance and the resistance can be obtained in latter steps with the system identification included in the torque tuning stage and the rated torque can be determined by the product of torque constant and continuous current. An example of motor parameters could be the following:

  • The next step is to configure the feedback device in your system if you happen to have one. In this example, this would mean to configure encoder feedback in the Digital Encoder window. At first, this includes to set the Encoder type, the Sensor resolution and the Noise filter. The first 2 you can get directly by taking a look at the datasheet of the encoder and the third on you can determine it through the checking procedure that is explained in the article How to know if the feedback device is working properly. Finally, the Polarity can be determined either with the Auto identify tool or through the manual procedure explained in the article How to calibrate the polarity of your feedback device manually. An example of how to do it with the Auto identify tool is shown in the following pictures:
 
  • After having properly configured the feedback device, it is time to move to the Limits window. In that window, make sure that your position, velocity and torque limits are properly set accordingly to your system. Make sure that the position limits match your stroke of movement (if you have a certain limited position range for movement), that the velocity/acceleration limits are correct and that the minimum and maximum force limits match the peak force value. An example could be the following:

  • After having set the Limits correctly, make sure that the Protections parameters are set up correctly as well. Adjust the voltage range to your application's and make sure that the maximum system current is equal or higher than the peak current.

    • Related Articles

    • How DC bus voltage is related to speed and torque in DC, BLDC and BLAC motors?

      Three important variables of any driver design are the bus voltage to be used, the maximum torque and speed requested. These variables are not independent and are mutually connected. This means that depending on the provided bus voltage, the maximum ...
    • How to configure a linear actuator

      Problem I have a linear actuator (combination of rotatory brushed DC + gearbox that transforms into linear movement) with a certain type of feedback device but I don't know how to properly configure it and tune it. What is the right process that I ...
    • How to configure the brake of your motor

      Problem I have a brake in my application and I don't know how to configure its enabling/disabling from the software point of view according to my requirements. What steps do I need to follow? Steps The first step that needs to be done is to assign a ...
    • How to configure a rotatory brushless motor with resolver feedback

      Problem I have a rotatory brushless motor with resolver as feedback but I don't know how to properly configure it and tune it. What is the right process that I need to follow? Clarifications and checkings This step by step process assumes that your ...
    • How to use the sensorless wizard to configure a motor to run in sensorless mode

      Problem In this How-to guide, we explain how to start up a BLAC motor in sensorless mode making use of the sensorless wizard of MotionLab. This manual has been written and verified using the following version: MotionLab 2.13.2.662 This guide assumes ...