586,361 active members*
3,534 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    93

    Question Closed loop spindle controll VFD with m5i20

    I need help with config hal files for closed loop spindle controll in bouth direction ( CW/ CCW ) with mesa m5i20 card.

    I need 0- 10 Volt output and one output bit for CCW ( it could be on Parallel port too )

    My encoder has 1024 lines ( 4096 count/ rev)

    How to add logic ? If S<=240rpm than gear reduction 1:4 ,if S>240rpm than gear reduction 1:1 ( 2 couplings )

    3 question:

    Can i made closed loop with C6-variable speed controll (cnc4pc board )?

    reading encoder impulses on mesa m5i20 card + PID calculations + C6-variable speed output


    Regards
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2008
    Posts
    644
    Quote Originally Posted by visky View Post
    I need help with config hal files for closed loop spindle controll in bouth direction ( CW/ CCW ) with mesa m5i20 card.

    I need 0- 10 Volt output and one output bit for CCW ( it could be on Parallel port too )

    My encoder has 1024 lines ( 4096 count/ rev)

    How to add logic ? If S<=240rpm than gear reduction 1:4 ,if S>240rpm than gear reduction 1:1 ( 2 couplings )

    3 question:

    Can i made closed loop with C6-variable speed controll (cnc4pc board )?

    reading encoder impulses on mesa m5i20 card + PID calculations + C6-variable speed output


    Regards
    The C6 should work, Since its a frequency operated device you can run it from a spare
    stepgenerator output. to do this you would:

    1. Set the stepgenerator in velocity mode
    2. Set a step pulse width thats OK for the C6 (say 10 uSec)
    3. Set the stepgen scale so that its settable directly in RPM
    4. Set up a velocity PID loop: Command is commanded spindle speed, feedback is velocity from encoder, output is velocity command for stepgen. You may be able to use the stepgens dir signal as well if you have signed spindle speeds

    Note that for velocity PID loops you set FF0 to 1 (if the inputs and outputs are "normalized" to RPM) since this just copies the input command to the output, so feed forward does most of the work. Then you add a small proportional and perhaps intergral terms to close the loop


    Also any of the analog daughtercards would work as well (7I33,7I48,7I47S,7I49,7I83)

  3. #3
    Join Date
    Jan 2007
    Posts
    93

    Smile

    I get my C6 board working. At now i only get around 5V max output, spindle encoder work as well,

    The only question is if i wright link PID to output? Would PID calculation work?

    Do i have to made any modifications.

    Regards
    Attached Files Attached Files

Similar Threads

  1. Replies: 0
    Last Post: 03-13-2012, 11:15 PM
  2. Closed Loop Vector Drive for Spindle Motor
    By vishnu in forum Uncategorised MetalWorking Machines
    Replies: 0
    Last Post: 04-27-2011, 11:22 AM
  3. can any AC spindle motor be used with closed loop velocity control?
    By Mike Braddock in forum Servo Motors / Drives
    Replies: 6
    Last Post: 09-10-2008, 02:40 AM
  4. question on closed loop vs open loop (servo systems)
    By boonie in forum Servo Motors / Drives
    Replies: 20
    Last Post: 11-09-2007, 07:30 PM
  5. Closed Loop Driver vs. Closed Loop Computer
    By ojibberish in forum Gecko Drives
    Replies: 3
    Last Post: 06-08-2004, 05:30 PM

Posting Permissions

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