585,676 active members*
4,294 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2006
    Posts
    25

    Kflop with STEP/DIR output

    Hello,

    I'm using kflop with servo drives which takes STEP/DIR position input. The Kflop is set for STEP/DIR output but this seems to invalidate any PID loop parameters.
    Whatever is set in P,I,D - output allways seen 0 in step response screen and no effect.

    From Step response it looks like there is constant delay from output to actual position. Attached is proof how 2x changed velocity produces constant 2x changed position error.
    I was willing to tune it out - but P,I,D just does not work.

    What is the correct way to go in such situation?

  2. #2
    Join Date
    May 2006
    Posts
    4045

    Re: Kflop with STEP/DIR output

    Hi,

    In Step/Dir mode the Controller only commands how to move. The manner the motor actually moves entirely depends on the Drive. KFLOP only monitors how the motor moves. Thousands of counts of following error seems very large. What kind of system do you have? Where is the encoder? What is the resolution? How is the axis configured?

    If you want to have KFLOP make corrections to what the Drive is doing use Closed Loop Step Direction mode. See here.
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Aug 2006
    Posts
    25

    Re: Kflop with STEP/DIR output

    Thanks for tip. Tried "CL Step" output but it does limit pulse frequency to preset kflop max velocity and this solutin has not helped as seen in new screens. The input/output is scaled to real world mircometers with 1 encoder count= 2.22um
    The gantry has 40mm pitch leadscrew plus 20:36 timing belt reducer from motor. So 40mm==1.8 motor rev = 18000 encoder counts. Mechanics very rigid - retrofit from hi end machinery.
    The drives in question is chinese AASD-20A and motor 90ST-M04025 with 2500 line encoder. Estimated lag is 16ms. Is it realistic for such size drives?

    Would it be a way for kflop to put Output as pulse frequency? This would make drive to work as it would be in speed mode and so kflop could be tuned to close position loop?
    Attached Thumbnails Attached Thumbnails KflopSpeed3.jpg   KflopSpeed4.jpg   KflopSpeed5.jpg   KflopSpeed6.jpg  

    Servo90ST.jpg   Drive_AASD-20.jpg  

  4. #4
    Join Date
    May 2006
    Posts
    4045

    Re: Kflop with STEP/DIR output

    Hi,

    The plots show the corrections being limited to +/- 200 counts so with thousands of counts of error it isn’t doing much. I think this is caused by the huge Max Limit Output of 1e22 which is outside the expected valid range and is being rejected and ignored. Change to something more reasonable like 1e5. See the Console Screen for error messages.

    But before this I would investigate why the Drives are doing such a poor job of Following properly. I would expect them to be orders of magnitude better.
    TK
    http://dynomotion.com

  5. #5
    Join Date
    Aug 2006
    Posts
    25

    Re: Kflop with STEP/DIR output

    Hi,
    Yes, the MaxLimit did the trick. Now was able to reach +/-50um error which is +/-22 encoder counts. Could that be considered normal/typical? To me it looks reasonable and I tended to accept this.
    Surprisingly biggest effect and help gave Feed Forward values of V and A. How can this be explained? Does it tell something where and what to investigate in Drive parameters?

  6. #6
    Join Date
    May 2006
    Posts
    4045

    Re: Kflop with STEP/DIR output

    Hi,

    I don’t recall you telling us what kind of system this is, but the motion is quite aggressive. 900mm/s with 5G acceleration? So 50um of error might be acceptable.

    Looks like more A FF might be needed as there is lag during Acceleration and lead during Deceleration.

    I gain may be low as there is a small but persistent error after the move.

    I’m not familiar with your drives. Possibly high D gain without high P gain may cause a lag proportional to velocity.
    TK
    http://dynomotion.com

Similar Threads

  1. KFlop to step/dir spindle
    By macona in forum Dynomotion/Kflop/Kanalog
    Replies: 14
    Last Post: 01-14-2017, 09:06 AM
  2. Kflop Step/Dir setup for SGDA-XXAP drive
    By eng101 in forum Dynomotion/Kflop/Kanalog
    Replies: 5
    Last Post: 05-21-2016, 07:08 PM
  3. KFlop how to configure spindle as Step and Dir No output for DIR
    By vetsen in forum Dynomotion/Kflop/Kanalog
    Replies: 6
    Last Post: 10-08-2015, 07:08 PM
  4. kflop step&dir in velocity mode?
    By mmontev in forum Dynomotion/Kflop/Kanalog
    Replies: 4
    Last Post: 06-24-2013, 02:38 AM
  5. Kflop Dir / Step setup time
    By BobKinsman in forum Dynomotion/Kflop/Kanalog
    Replies: 3
    Last Post: 11-16-2012, 12:10 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •