Granite Devices now hiring into their core development team - Discover opportunity

Drive fault handling

From Granite Devices Knowledge Wiki
Jump to: navigation, search

All Granite Devices drives share similar fault handling and recovery from faults. This page describes how faults are triggered and handled.

Types of faults[edit | edit source]

A fault can be a condition measured by drive that exceeds user set, or fixed threshold, such as:

  • Operating condition out of allowed bounds, such as under voltage, over voltage, over temperature
  • Drive has measured excessive current at motor outputs, can be either
    • User adjustable over current limit (this is typically 10-100% above motor maximum current parameter Peak current limitMMC). The tolerance level is adjusted by parameter Over current toleranceFOC.
    • Short circuit (fixed limit defined by hardware, typically several times higher than drive's maximum current rating)
  • Goal faults, such as tracking error, over speed or travel beyond allowed boundaries (limit switch hit)
  • Etc

Faults are indicated by device LED blinking sequence as well as configuration tool status dialog. In Granity, it's recommended to look at Testing tab status bits and Fault location to identify the source of error.

Reaction to fault[edit | edit source]

In most fault cases drive will enter in fault state which will:

  • Disable motor control
  • Brake motor if possible (dynamically and with mechanical brake)

The purpose of reaction is to protect damage from happening to machine operator, drive or machine. All fault stops are latching, meaning that drive will wait for recovery command after fault before attempt of recovering.

Recovery from fault[edit | edit source]

Drive will start recovering from fault after clear faults command:

  • Digital signal to clear faults input (drive dependent). Sometimes this may be combined to enable signal, which meaning that rising or falling edge of enable signal will clear fault state.
  • Software command (via SimpleMotion interface). Can be triggered from configuration tool or user application.

After clear faults, drive resets the fault state and attempts to recover to the original state. This means re-enabling motor control and a new attempt to follow the actual setpoint. Fault recovery depends on control modes being used:

Torque mode
Drive attempts to continue producing torque as defined by current setpoint
Velocity mode
Drive attempts to accelerate to the target velocity as defined by current setpoint
Position mode
Drive attempts to move back to the commanded position (setpoint). Motion happens at user defined error recovery velocity Error recovery velocityCRV, which is usually set lower than than the maximum velocity limit Velocity limitCVL. If no recovery motion is desired (drive should stay at position where it faulted), then set CRV parameter to zero.

Managing faults from controller[edit | edit source]

Controller should:

  • Monitor state of drive either by monitoring the fault output signal (digital output) or polling status register of drive (through SimpleMotion)
  • When fault state is active, cease changing setpoint or set it to a value that is desired after recovery
  • Issue the clear faults command through digital input or SimpleMotion command (normally by user command or in some cases automatic)

Troubleshooting[edit | edit source]

  1. If drive will stay infinitely or too long in error recovery mode (can be identified by LEDs and configuration tool status info), it is typically caused by constantly changing setpoint value. In such case drive is chasing the varying setpoint but never reaches it (typical especially with analog or PWM setpoint mode where noise can alter the setpoint, or when controller do not cease sending new setpoint values until drive is recovered). As countermeasure try increasing Error recovery velocityCRV value or stabilize the setpoint.

In no event the Product Information or parts hereof shall be regarded as guarantee of conditions or characteristics. The Product Information or any part thereof may also not be regarded as a warranty of any kind. No liability of any kind shall be assumed by Author with respect to Product Information or any use made by you thereof, nor shall Author indemnify you against or be liable for any third party claims with respect to such information or any use thereof.

As content of this Wiki may be edited by user community, Granite Devices Oy or it's affiliates do not take any responsibility of the contents of this Wiki. Use information at your own risk. However, Granite Devices staff attempts to review all changes made to this Wiki and keep information trustworthy.

Without written consent, Granite Devices' Products or Intellectual Property shall not be used in situations or installations where living beings, material property, or immaterial property could be harmed by the operation, features or failures of Product. Products may only be used in a way where hazards like moving parts, electric shock, laser radiation, or fire can't be realized even if the content of this Wiki would suggest otherwise.