Difference between revisions of "Servo motor torque mode test"
From Granite Devices Knowledge Wiki
[checked revision] | [checked revision] |
(Created page with "= Main idea = The servo motor torque mode test is a test to verify that basic parameters and wiring are correct. The target is to rotate/move the motor in torque mode in a con...") |
|||
Line 1: | Line 1: | ||
− | = Main idea = | + | == Main idea == |
− | The servo motor torque mode test is a | + | The servo motor torque mode test is a method to verify that basic parameters and wiring are correct. The target is to rotate/move the motor in torque mode in a continuous manner. |
== Assumptions == | == Assumptions == | ||
* All wiring are triple checked and [[Tuning torque controller | torque tuning]] is done properly. | * All wiring are triple checked and [[Tuning torque controller | torque tuning]] is done properly. | ||
− | * The motor is free to move/rotate, and no harm can happen from a long continuous movement. | + | ** Refer to the product user guidebook for detailed wiring instructions. |
+ | ** Pay special attention to encoder operating voltage (VCC) and GND wiring. Wiring VCC and GND erroneously may damage the encoder. | ||
+ | * The motor is free to move/rotate, and no harm nor damages can happen from a long continuous movement. | ||
+ | |||
+ | {{damage|Don't use [http://en.wikipedia.org/wiki/Ethernet_crossover_cable crossover] cables in SimpleMotion V2 system}} | ||
== Steps == | == Steps == | ||
+ | # Read [[Servo tuning basics | servo tuning basics]] to get understanding how servo motors work. | ||
# Set the drive in Torque mode from [[Granity | Granity]]. | # Set the drive in Torque mode from [[Granity | Granity]]. | ||
− | # | + | # Follow the [[Tuning torque controller | torque controller tuning instructions]]. |
+ | # Increase the target setpoint to get the motor moving. | ||
+ | ## Go to Granity/Testing tab. | ||
+ | ## Make sure that the setpoint is zero and the drive is enabled and ready. | ||
+ | ## Set the [TSP1] Target setpoint 1 to 500. | ||
+ | ## Increase the target setpoint slowly by clicking the "Increment by TSP1" button and checking whether the motor moves of not. | ||
+ | ## If the motor moves in a continuous manner, all parameters and wiring are correct. | ||
+ | |||
+ | == Troubleshooting == | ||
+ | In most cases, the motor halts after a short movement if the feedback resolution is incorrect, or if it's direction is reversed. | ||
+ | |||
+ | * Check wiring, especially logic and motor voltages, Enable, and STO. | ||
+ | * Check FBI Invert feedback direction checkbox in Granity/Machine tab, and repeat the steps above. | ||
+ | ** This inverts the encoder direction without the need for rewiring. | ||
+ | * Check the motor pole count and encoder resolution from their datasheets. | ||
+ | * Move the motor by known angle/distance, and check the position feedback reading from Granity/Testing tab. | ||
+ | ** The position feedback value is always in CPR (counts per revolution). From this, the correct PPR can be calculated for one revolution (PPR = CPR/4). | ||
+ | |||
+ | == Further reading == | ||
+ | After the torque mode is configured and the motor can be controlled in torque mode properly, velocity and/or position modes can be tuned. Please refer to their respective instruction pages for further details. | ||
+ | * [[Tuning velocity controller]] | ||
+ | * [[Tuning position controller]] | ||
+ | |||
+ | == Other motor types == | ||
+ | * For linear motors, please refer to [[Configuring linear servo motor|linear motor configuration instructions]]. | ||
+ | * For stepping motors, please refer to [[Using stepping motor with IONI|stepping motor configuration instructions]]. | ||
+ | |||
+ | [[Category:Work_in_progress_pages]] |
Revision as of 12:33, 21 August 2017
Main idea
The servo motor torque mode test is a method to verify that basic parameters and wiring are correct. The target is to rotate/move the motor in torque mode in a continuous manner.
Assumptions
- All wiring are triple checked and torque tuning is done properly.
- Refer to the product user guidebook for detailed wiring instructions.
- Pay special attention to encoder operating voltage (VCC) and GND wiring. Wiring VCC and GND erroneously may damage the encoder.
- The motor is free to move/rotate, and no harm nor damages can happen from a long continuous movement.
Don't use crossover cables in SimpleMotion V2 system |
Steps
- Read servo tuning basics to get understanding how servo motors work.
- Set the drive in Torque mode from Granity.
- Follow the torque controller tuning instructions.
- Increase the target setpoint to get the motor moving.
- Go to Granity/Testing tab.
- Make sure that the setpoint is zero and the drive is enabled and ready.
- Set the [TSP1] Target setpoint 1 to 500.
- Increase the target setpoint slowly by clicking the "Increment by TSP1" button and checking whether the motor moves of not.
- If the motor moves in a continuous manner, all parameters and wiring are correct.
Troubleshooting
In most cases, the motor halts after a short movement if the feedback resolution is incorrect, or if it's direction is reversed.
- Check wiring, especially logic and motor voltages, Enable, and STO.
- Check FBI Invert feedback direction checkbox in Granity/Machine tab, and repeat the steps above.
- This inverts the encoder direction without the need for rewiring.
- Check the motor pole count and encoder resolution from their datasheets.
- Move the motor by known angle/distance, and check the position feedback reading from Granity/Testing tab.
- The position feedback value is always in CPR (counts per revolution). From this, the correct PPR can be calculated for one revolution (PPR = CPR/4).
Further reading
After the torque mode is configured and the motor can be controlled in torque mode properly, velocity and/or position modes can be tuned. Please refer to their respective instruction pages for further details.
Other motor types
- For linear motors, please refer to linear motor configuration instructions.
- For stepping motors, please refer to stepping motor configuration instructions.