Difference between revisions of "MC-Basic:axis.PositionBacklash"

From SoftMC-Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:axis.PositionBacklash}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=  
 
|SHORT FORM=  
 
None
 
None
 
|SYNTAX=
 
|SYNTAX=
<axis>.PositionBacklash = <double>
+
<''axis''>.PositionBacklash = <double>
 
|AVAILABILITY=  
 
|AVAILABILITY=  
 
4.5.33 and later
 
4.5.33 and later
Line 10: Line 11:
 
Adds a position backlash value to the PCMD value. The value will be added to the positive direction of the movement (<''axis''>.VCMD > 0), while in opposite direction the value multiplied by -1 is used. At a standstill (VCMD = 0), the previous value of the backlash is used.
 
Adds a position backlash value to the PCMD value. The value will be added to the positive direction of the movement (<''axis''>.VCMD > 0), while in opposite direction the value multiplied by -1 is used. At a standstill (VCMD = 0), the previous value of the backlash is used.
  
Differences between positive and negative applied backlash values will be smoothened by a simple alpha-filter: [[Axystems:MC-Basic:axis.PositionBacklashAlpha]].
+
Differences between positive and negative applied backlash values will be smoothed by a simple alpha-filter: [[MC-Basic:axis.PositionBacklashAlpha|'''PositionBacklashAlpha''']].
  
According to:
 
 
P = P × Alpha + <''sign''> × PositionBacklash × (1-Alpha)
 
 
where <''sign''> = -1 on VCMD <0 else equals 1.
 
  
 +
[[File:Backlash.jpg|frame|Picture showing different values of backlash compensation in different movement directions. Note the influence of PositionBacklashAlpha factor (0.9, 0.95, 0.99)|700px]]
  
 
{{Note/Important| The backlash position value is not compensated in the position feedback. Therefore, applying position backlash to a non-zero value will result the same opposite value in the position error (PE). It will look like PE is never closed.}}
 
{{Note/Important| The backlash position value is not compensated in the position feedback. Therefore, applying position backlash to a non-zero value will result the same opposite value in the position error (PE). It will look like PE is never closed.}}
  
  
{{Note/Warning| Use caution with this feature. It has not been fully tested.}}
 
  
 
|TYPE=  
 
|TYPE=  
Line 39: Line 35:
 
a1.PositionBacklash = 0.5
 
a1.PositionBacklash = 0.5
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:axis.PositionBacklashAlpha |PositionBacklashAlpha]]
+
* [[MC-Basic:axis.PositionBacklashAlpha|PositionBacklashAlpha]]
 
}}
 
}}

Latest revision as of 03:37, 20 April 2017

Language: English  • 中文(简体)‎

Adds a position backlash value to the PCMD value. The value will be added to the positive direction of the movement (<axis>.VCMD > 0), while in opposite direction the value multiplied by -1 is used. At a standstill (VCMD = 0), the previous value of the backlash is used.

Differences between positive and negative applied backlash values will be smoothed by a simple alpha-filter: PositionBacklashAlpha.


Picture showing different values of backlash compensation in different movement directions. Note the influence of PositionBacklashAlpha factor (0.9, 0.95, 0.99)
IMPORTANT.svgIMPORTANT
The backlash position value is not compensated in the position feedback. Therefore, applying position backlash to a non-zero value will result the same opposite value in the position error (PE). It will look like PE is never closed.

Short form

None

Syntax

<axis>.PositionBacklash = <double>

Availability

4.5.33 and later

Type

Double

Range

MIND ... MAXD

Units

Position user units

Default

0

Scope

Task, Terminal

Limitations

Modal only

Examples

a1.PositionBacklash = 0.5

See Also