Teaser__1.png

Commission 3rd party motors with ctrlX DRIVE

Drives_Uwe
Community Moderator
Community Moderator

Introduction

In the following we show to you how to commission 3rd party motors with ctrlX DRIVE.

The possible solutions are to control: 

  • Asynchronous motors without encoder in open loop over U/f control for simple, non-demanding and non-dynamic applications
  • Asynchronous motors without encoder in open loop over SVC control for medium demanding and medium dynamic applications
  • Synchronous motors without encoder in open loop over SVC control for medium demanding and medium dynamic applications
  • Asynchronous or synchronous motors with encoder in closed loop over FOC control for demanding and high dynamic applications

 

If the motors are linear or rotatory doesn´t matter.

All the functions and screen shots are based on:

  • ctrlX DRIVE Engineering version 01V10
  • Runtime / Firmware version of drive AXS-V0302  or
  • Runtime / Firmware version of drive AXS-V0208

Prerequisites

A connection to the ctrlX DRIVE has been successfully establi-shed, the device is correctly wired and 24 V are successfully put on. As well the engineering tool ctrlX DRIVE Engineering has been started.

Mind that additional prerequisite like minimum inductance of
motor in relation to chosen converter or inverter size depending on the later-on used PWM frequency has been checked.

Similar, that the chosen encoder or linear scale, if using closed loop control, is been able to be evaluated with the used hardware and firmware (runtime) version.

1. Principle commissioning of 3rd party motors

1.1. Prior settings

Before starting the sequence for principle commissioning of 3rd party motors the prior settings for

  • Encoder
  • Operation modes
  • Drive Halt
  • Limitations
  • Drive control method

should be adjusted according to the later operation or use.

1.1.1. Encoder settings

Drives_Uwe_1-1620047586251.png

Fig. 1.: Encoder settings

1.1.2. Operation modes settings

The operation mode should be selected like the later use is planned.

Mind, that, if operating a motor without encoder, operation modes requesting an encoder (like position control mode) are not possible.

Drives_Uwe_2-1620047586262.png

Fig. 2.: Selection of operation modes

1.1.3. Drive Halt settings

Set the drive halt acceleration according to your application. Jerk is recommended to be set to “0”.

Drives_Uwe_3-1620047586272.png

Fig. 3.: Drive Halt settings

1.1.4. Torque/force limitation settings

Check the limitation settings to protect the mechanics or the drive package.

Drives_Uwe_4-1620047586289.png

Fig. 4.: Limitation settings

1.1.5. Drive control method settings

The drive control method should be set according to the later usage.

Drives_Uwe_5-1620047586300.png

Fig. 5.: Selection of “Control method”

Drives_Uwe_6-1620047586313.png

Fig. 6.: Selection of “Motor operation configuration”

1.2. Initial commissioning sequence of 3rd party motors

Underneath the node “Motor” and “Motor type” in the project tree a sequence for “Initial motor commissioning” can be started.

Drives_Uwe_7-1620047586329.png

Fig. 7.: Start “Initial motor commissioning”

1.2.1. Motor data

In step 1 select the type of motor present and if encoder, temperature sensor or brake is present. Depending on this selection, the number of steps for commissioning is been adjusted.

Drives_Uwe_8-1620047586338.png

Fig. 8.: Step 1: Selection of motor type and encoder, temperature sensor or brake, if present

In step 2 enter the data for the motor provided by the motor manufacturer.

Drives_Uwe_9-1620047586346.png

Fig. 9.: Step 2: Motor data input (1)

Drives_Uwe_10-1620047586355.png

Fig. 10.: Step 2: Motor data input (2) (advanced data)

Then press the button “Calculate motor control parameters”!

Drives_Uwe_11-1620047586363.png

Fig. 11.: Step 2: “Calculate motor control parameter” (only possible in “OM”)

1.2.2. Encoder data (if present)

Next step is to enter the motor encoder data.

Drives_Uwe_12-1620047586370.png

Fig. 12.: Step 3: Parameterization of motor encoder

The mechanical attachment of the motor encoder to the motor has to be parameterized.

Drives_Uwe_13-1620047586379.png

Fig. 13.: Step 4: Mechanical attachment of motor encoder

1.2.3. Temperature monitoring / Temperature sensor

The parameters for temperature monitoring of the motor have to be set. If no temperature sensor is used, at least the temperature model data have to be parameterized. The effective behavior can be checked in the motor temperature model.

Drives_Uwe_14-1620047586392.png

Fig. 14.: Setting motor temperature monitoring

Drives_Uwe_15-1620047586397.png

Fig. 15.: Step 5: Setting motor temperature model parameters

Drives_Uwe_16-1620047586405.png

Fig. 16.: Motor temperature model behavior

1.2.4. Brake (if present)

If a brake is present enter the relevant data!

Drives_Uwe_17-1620047586410.png

Fig. 17.: Step 5: Brake settings

1.2.5. Validity check of motor parameters

In the next step, the plausibility of the motor and encoder settings are checked. Press the button “Validity check of motor and encoder parameterization”!

Drives_Uwe_18-1620047586418.png

Fig. 18.: Step 6: Validity check of motor and encoder parameterization (1)

If in operation mode “OM” and “Ab”, the drive is changing to “AF” and performing some movements.

Drives_Uwe_19-1620047586427.png

Fig. 19.: Step 6: Validity check of motor and encoder parameterization (2)

If principle setting of motor data and encoder are correct, the command is executed successfully. If not, the original parameters have to be changed to correct values.

1.2.6. Determining motor data

The motor data are identified via the drive. Select the method and press button “Automatic identification of the motor data”!

Drives_Uwe_20-1620047586433.png

Fig. 20.: Step 7: “Automatic identification of the motor data” (1)

If in operation mode “OM” and “Ab”, the drive is changing to “AF” and performing some movements.

Drives_Uwe_21-1620047586440.png

Fig. 21.: Step 7: “Automatic identification of the motor data” (2)

Motor resistance and inductance parameters are changed to the measured values in the background.

1.2.7. Commutation setting (if synchronous motor is operated with encoder)

Synchronous motors, if operated with encoders or linear scales, need to determine their commutation (alignment of electric field to magnetic field). For most synchronous motor, except on ironless linear motors, the suitable method is to do this commutation routine using the so-called “Saturation method”. For ironless linear motors the “Sine-wave” method is to be chosen.

Select the proper method!

Drives_Uwe_22-1620047586449.png

Fig. 22.: Step 8: Commutation method setting

With the start value "0" for "Amplitude", the motor-specific values for "Amplitude" and "Frequency" are automatically determined. If in operation mode (OM) and “Ab”, check the “Initial commissioning mode” and then press button “Determine commutation offset”!

Drives_Uwe_23-1620047586459.png

Fig. 23.: Step 9: Commutation settings (1)

Some current is applied and the commutation offset determined. If routine was successful, uncheck the “Initial commissioning mode” again!

Drives_Uwe_24-1620047586470.png

Fig. 24.: Commutation settings (2)

1.2.8. Limitation settings

Next step is to check and eventually correct the limitation figures both for speed and torque/force.

Drives_Uwe_25-1620047586477.png

Fig. 25.: Step 10: Limitation settings

1.2.9. Homing (set absolute reference of encoder 1)(if needed)

Then the axis should be homed using the drive-controlled homing procedure or the absolute reference should be set.

 

Drives_Uwe_26-1620047586489.png

Fig. 26.: Step 11: Homing or Set absolute position

1.2.10. First movements

Finally the motor should be moved using the “Easy Startup” mode.

Drives_Uwe_27-1620047586498.png

Fig. 27.: Step 12: Start “Easy startup” mode

Drives_Uwe_28-1620047586509.png

Fig. 28.: Step 12: Enable the motor

Enter a proper speed for jogging! Then start jogging in the desired direction!

Drives_Uwe_29-1620047586519.png

Fig. 29.: Step 12: Input proper speed

Drives_Uwe_30-1620047586529.png

Fig. 30.: Step 12: Jog in desired direction

If everything is fine, finish the commissioning sequence of 3rd party motors.

Drives_Uwe_31-1620047586539.png

Fig. 31.: Step 12: Finish commissioning sequence for 3rd party motors

1.3. Check of regulation loops and their behavior

Now follow the routine for first setup to set the limitations and directions correctly, autotune and check the regulation loops. The positioning behavior should be checked as well. See:

  1.   1st setup and execute initial movements
          -  video 1
          video 2
          -  blog entry         
     
  2.   Autotuning
           -  video
           -  blog entry
  3.   Check positioning movements
           -  video
           -  blog entry

1.3.1. Check of current loop (not possible in open loop control)

Check and adjust the settings, if needed, by obtaining frequency response diagram.
The bandwidth at -3 dB should be higher than 1000 Hz in dynamic servo axis, in more simple applications like handling 500 Hz may be sufficient.

1.3.2. Check of velocity loop

Check and adjust the settings, if needed, by obtaining frequency response diagram. Especially the filters may be set to suppress resonances in the mechanics. Mind that this filter settings is not possible in U/f control.

The usual stability limits for regulation loops should be adjusted:

In closed loop frequency diagram (blue line diagram):

  • Bandwidth is measured at amplitude – 3dB in
  • Amplitude shouldn´t exceed + 5dB line
  • At higher frequencies than bandwidth amplitude shouldn´t get positive again à indication for resonance causing vibration

Recommendation for phase margin measured at 0 dB of open loop frequency diagram (purple line diagram, cursor 1)

  • 40° to 70° for good command response behavior
  • 20° to 50° for good load response behavior
  • 40° to 60° for well balanced

Recommendation for amplitude margin measured at 0 dB of open loop frequency diagram (purple line diagram, cursor 2)

  • Minimum + 5dB
  • Usually at least + 10dB for well balanced loop settings

Drives_Uwe_5-1620051695619.png

Fig. 37.: Frequency response of velocity loop (not possible to obtain with axes operated in open loop (without encoders))

The usual behavior for step responses should be adjusted

  • Overshoot not exceeding 1,4 times the command value
  • No vibration visible at coming to commanded speed

Drives_Uwe_6-1620051695621.png

Fig. 38.: Step response

1.3.3. Check of position loop (not possible in open loop control)

Drives_Uwe_7-1620051695636.png

Fig. 39.: Position loop settings

Drives_Uwe_8-1620051695639.png

Fig. 40.: Frequency response of position loop

If running a typical cycle the maximum model deviation is shown. With some safety margin (factor 1,5 to 2,0) the monitoring window should be keyed in!

The velocity loop monitoring should always be active.

Drives_Uwe_9-1620051695646.png

Fig. 41.: Loop monitoring

1.4. Further settings

1.4.1. Error reaction settings

The error reaction settings should be set according to the application!

Drives_Uwe_10-1620051695659.png

Fig. 42.: Error reaction settings

1.4.2. Status message settings

The status message settings should be set according to the application!

Drives_Uwe_11-1620051695678.png

Fig. 43.: Status message settings

 

2. Specialties for control of 3rd party motors in open loop

2.1. Asynchronous motors using U/f control

For simple, non-demanding and non-dynamic open loop applications (no encoder required) asynchronous motors maybe controlled over U/f control.
As a prerequisite the encoder settings should be set to "No encoder".
All operation modes should be set to “Velocity control”.

The control method has to be set to “Open-loop drive control”!

Drives_Uwe_14-1620051695703.png

Fig. 44.: Drive control overview

Eventually the maximum stator frequency slope should be limited.

Drives_Uwe_15-1620051695714.png

Fig. 45.: Settings in “Motor operation configuration”

Then the “Initial motor commissioning” should be started. Choose “Asynchronous motor” and follow the steps!

Set “search mode” only, if needed, e.g. if motor could still be running if applying the drive enable signal.

2.2. Asynchronous motors using SVC control

For medium demanding and medium dynamic open loop applications (no encoder required) asynchronous motors maybe controlled over SVC control.
As a prerequisite the encoder settings should be set to "No encoder".
All operation modes should be set to “Velocity control”.

The control method has to be set to “Closed-loop drive control”!

Drives_Uwe_27-1620051695847.png

Fig. 46.: Drive control overview

The Motor mode – motor control should automatically be set to “sensorless” (SVC: sensorless vector control).

Drives_Uwe_28-1620051695866.png

Fig. 47.: Settings in “Motor operation configuration”

Then the “Initial motor commissioning” should be started. Choose “Asynchronous motor” and follow the steps!

2.3. Synchronous motors using SVC control

For all open loop applications (no encoder required) synchronous motors have to be controlled over SVC control. This is suitable for medium demanding and medium dynamic applications.

As a prerequisite the encoder settings should be set to "No encoder".
All operation modes should be set to “Velocity control”.

The control method has to be set to “Closed-loop drive control”! and the "Motor mode – motor control" should automatically be set to “sensorless” (SVC: sensorless vector control).

Then the “Initial motor commissioning” should be started! As motor category the “Standard synchronous motor” has to be selected!

As Flux-generating current, limit value, 2- to 3-times the motor current at standstill is recommended to enter. The nominal and maximum figures should be known from the motor manufacturer.

 

3. Specialties for control of 3rd party motors in closed loop (FOC control)

3.1. Asynchronous motors

As a prerequisite the encoder settings should be selected according to the application.

Drives_Uwe_18-1620055710434.png

Fig. 48.: Parameter settings of encoder for synchronous motor in FOC control

The operation modes should be set according to later use!
The control method has to be set to “Closed-loop drive control”!

Drives_Uwe_4-1620055265338.png

Fig. 49.: Drive control overview

The Motor mode – motor control should be set to “with encoder” (FOC: field oriented control).

Drives_Uwe_5-1620055265352.png

Fig. 50.: Settings in “Motor operation configuration”

Then the “Initial motor commissioning” should be started! As motor category the “Asynchronous motor” has to be selected!

3.2. Synchronous motors

As a prerequisite the encoder settings should be selected according to the application.
The operation modes should be set according to later use!

The control method has to be set to “Closed-loop drive control”!
The Motor mode – motor control should be set to “with encoder” (FOC: field oriented control).

Then the “Initial motor commissioning” should be started! As motor category the “Standard synchronous motor” has to be selected!

Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist