User Tools

Site Tools


getting_started:tutorials:oneaxis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
getting_started:tutorials:oneaxis [2019/04/25 14:19] – [Part 3: Test Application] grafgetting_started:tutorials:oneaxis [2019/10/08 14:46] – [Theoretical Background] graf
Line 5: Line 5:
 Navigate to the directory ''simple-motor-control'' where you can find the code. Navigate to the directory ''simple-motor-control'' where you can find the code.
  
-=====Part 1: Theoretical Background=====+=====Theoretical Background=====
  
-The motors position is measured by an encoder. After differentiating this signal we obtain the velocity.+A motor position is measured by an encoder. After differentiating this signal we obtain the velocity. The input of the velocity controller is the difference between reference and measured velocity. Additionally, the feed forward velocity is added. The output of this controller is an acceleration. This value is then multiplied by the inertia and divided by the motor constant, in order to obtain a current reference value to control the motor.
  
 [{{ oneAxis_controlLoop.jpg?688 | //Control loop//}}] [{{ oneAxis_controlLoop.jpg?688 | //Control loop//}}]
Line 17: Line 17:
 D is the damping factor and we choose it as 0.9. D is the damping factor and we choose it as 0.9.
  
-The input of the velocity controller is the difference between reference and measured velocity. Additionally, the feed forward velocity is added. The output of this controller is an acceleration. This value is then multiplied by the inertia and divided by the motor constant, in order to obtain a current reference value to control the motor.+
  
 =====Part 2: Experimental Setup===== =====Part 2: Experimental Setup=====
getting_started/tutorials/oneaxis.txt · Last modified: 2023/04/13 11:29 by ursgraf