586,000 active members*
4,862 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Gecko Drives > G540 > 0-10v > VFD > Spindle Speed Wobbles
Results 1 to 18 of 18
  1. #1
    Join Date
    May 2005
    Posts
    925

    Question G540 > 0-10v > VFD > Spindle Speed Wobbles

    I have a G540 all wired up and working connected to a VFD, PWM freq set to 50hz and 5% and mach3 calibrated to issue the correct speed via M3 commands.

    Voltage is feed to the G540 using a 7812 regulator (user manual states 12v is allowed) and as expected input reference voltage is stable.


    The problem I´m seeing is that the motor speed display at the VFD wobbles about 100RPM and I see this replicated at the true speed from the index pulse in mach3.

    Is there a way to smooth this?

    When I did my own analog PWM to 0-10v converter I just increased the frequency and the wobbling was gone or was less than 5rpm.

    Any idea would be appreciated. Thanks!


    Pablo
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  2. #2
    Join Date
    Apr 2004
    Posts
    135
    The 50 Hz update rate is not cast in stone. The G540 uses
    a low pass filter to smooth the PWM, so a faster PWM
    frequency could be used. It is likely that 100 Hz will result
    in less wobble at the expense of slightly poorer linearity.

    Steve Stallings

  3. #3
    Join Date
    May 2005
    Posts
    925
    Thanks for the reply Steve.

    Tried 100hz at mach3 and the wobbling remains, I wonder if there anything else I can do.
    Since the machine is a small lathe I don't have problem with a little nonlinearity, but I do need steady speed for any 0-10v that goes to the VFD.

    When I used your pmdx126+pmdx107+geckos 203v it worked like a charm, but for this machine, this combo is out of budget.

    Thanks!


    Pablo
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  4. #4
    Join Date
    Apr 2004
    Posts
    135
    Pablo,

    Is the 12 volts being used to provide the reference to
    the G540 totally isolated from the main power supply for
    the G540 and from the power mains? Normally the G540
    gets its reference from the VFD and this is fully isolated
    because the signal paths in the G540 are optoisolated.

    Can you use a battery powered (totally isolated) voltmeter
    to measure the analog voltage going to the VFD?

    Is it stable?

    What percentage of the target RPM is the 100 RPM wobble?

    Regards,
    Steve Stallings

  5. #5
    Join Date
    May 2005
    Posts
    925
    The 12 V comes from a completelly separate winding in the custom made transformer for the driver, the 7812 heatsink is electrically isolated from the cabinet ground.

    I had to use this supply because the VFD does not provide 10V reference, only 24V.

    Yesterday I checked the voltage going to the VFD and it wobbled too, did not write it down, I recall about 0.3~0.5V but to be sure will recheck tomorrow.

    I will also check with a couple of AA bateries to feed voltage to the VFD to rule out problems there (I highly doubt there are any problem at the vfd)

    Thanks for the debug session Steve!
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  6. #6
    Join Date
    May 2005
    Posts
    925
    Last year I abandoned the idea and used a pot to solve the problem, now I´m back at it with a lot more debugging done:

    To Steve Suggestions:

    Now I set up a 10v reference power supply, its only purpose is to provide a reference voltage. Simple circuit: separate winding from power transformer, rectifier bridge, cap,7810,cap output.
    Also tested the VFD with a "variable" (***) power supply and it does not wobble at all when connected this way.

    I think I pinpointed the problem:

    If I disconnect the g540 output going to the VFD and put a multimeter there, the reading is what you should expect, mach3 top speed is 1500 rpm and output is 10v, speed is 750rpm and output is 5v, so there is a direct correlation as one would expect.

    Problem arises when I connect the output to the VFD, now 1500rpm (should be 10v) becomes 6.8ish volts and its linear all the way down. I suspect the VFD load (impedance=10K according to manufacturer local representative) cannot be handled by the g540 output.

    Can this be the problem? I thought of a voltage follower to solve this, but I´m fully open to suggestions.

    but (***)

    The 0-10v where made possible with just a 10k linear potentiometer working as a voltage divider from a fixed 12v supply, this kinda confirms that the VFD needs very low current to work, otherwise the pot race would melt in an instant.


    Thanks!!


    Pablo
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  7. #7
    Join Date
    Mar 2007
    Posts
    2083
    Hi Pablo,

    I think I'd first try powering the G540 analogue VFD circuit from a
    9V pp3 battery and only connect the G540's terminals 7 & 8 to the VFD

    if that works try powering the G540 from the VFD
    either using a dropper resistor and 12V zenner diode or a 12V regulator IC to
    reduce the VFD 24V output to the 12V needed

    may be the problem is leakage currents flowing from the VFD via capacitive
    coupling between your transformer secondary winding and the earthed core or the primary winding

    John

  8. #8
    Join Date
    May 2005
    Posts
    925
    Quote Originally Posted by john_100 View Post
    Hi Pablo,

    I think I'd first try powering the G540 analogue VFD circuit from a
    9V pp3 battery and only connect the G540's terminals 7 & 8 to the VFD

    if that works try powering the G540 from the VFD
    either using a dropper resistor and 12V zenner diode or a 12V regulator IC to
    reduce the VFD 24V output to the 12V needed

    may be the problem is leakage currents flowing from the VFD via capacitive
    coupling between your transformer secondary winding and the earthed core or the primary winding

    John

    I will not have time with the setup until tomorrow, will check with a 9v battery if that solves something, it should

    At some point in the dubugging of this setup I tought of using the regulator on the VFD 24v output but it slipped away in my memory, thanks for suggesting it, this should work since there would be complete isolation from the gecko supply. Im sure I have a buck converter sample somewhere to do this more efficiently, but if not a 7810 and little heatsink will do.


    Pablo
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  9. #9
    Join Date
    Mar 2007
    Posts
    2083
    Hi Pablo ,

    I've had a look a the G540 manual but could not find
    the current thats required to power the VFD dive circuit
    but I imagine its only a few mA

    John

    ps don't forget to insulate the test battery as I expect
    the VFD terminals are live

  10. #10
    Join Date
    May 2005
    Posts
    925
    Quote Originally Posted by john_100 View Post
    Hi Pablo ,

    I've had a look a the G540 manual but could not find
    the current thats required to power the VFD dive circuit
    but I imagine its only a few mA

    John

    ps don't forget to insulate the test battery as I expect
    the VFD terminals are live
    The VFD requires very little current, I used a 10K pot alone as a divider for a 12v PSU and it worked fine for many minutes that lasted the test.
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  11. #11
    Join Date
    Mar 2007
    Posts
    2083
    Hi Pablo ,

    its the supply current for the G540's frequency to voltage converter I was looking for

    It will depend on how simple the converter is a simple op-amp based circuit or an IC like the LM2917

    the control current into the motors VFD is probably 100uA to 1mA ??

    John

  12. #12
    Join Date
    May 2005
    Posts
    925
    I just finished routing/drilling/soldering a small pcb for a TI PTN78000w point of load step down regulator, these are really nice devices, add a Vset resistor and a cap and you are good to go!

    Tomorrow I will test it and post results, also will test the 9v idea you proposed.


    Pablo
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  13. #13
    Join Date
    Mar 2007
    Posts
    2083
    Hi Pablo ,

    I've just had a look at the PTN78000w data sheet
    its a lot easier than building a switching regulator from its component parts

    John

  14. #14
    Join Date
    Feb 2007
    Posts
    966
    Is it a Hitachi VFD ? I found they are harder to drive than the ACtech i usually use. I needed a high current op-amp, the 358 didn't cut it.
    Put a 470 uF cap right at the VFD 0-10V terminals.

    You could also make a differental driver/reciever, that would eliminate the ground effect.

  15. #15
    Join Date
    May 2005
    Posts
    925
    Im totally frustrated, again I installed a pot and called it a day... :drowning:

    No its not hitachi, but its sold as a 2nd brand by the local hitachi representative.

    The inverter is a rebranding of the INVT CHE100 0.75Kw (http://platforma.astor.com.pl/files/getfile/id/4040) figure 4.9 of section 4.2.2 are the terminals I have.

    the minute I hook up the output of the G540 to the inverter the properly regulated tension of the g540 goes down, no matter how I provide the reference voltage.

    This battle is not over, but this little lathe needs to be shown next week and I cannot lose more time with this issue.

    I do have an extra g540/inverter and motor, I will make a test bed and try to solve this puzzle.

    Thanks for the suggestions, I really appreciate the help.


    Pablo
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

  16. #16
    Join Date
    Mar 2007
    Posts
    2083
    Hi Pablo ,

    have you had the second G540 and inverter working?

    if you have , I'd test the other G540 with the spare inverter just to make sure the G540 is OK
    then the spare G540 and INVT CHE100 0.75Kw

    John


    PS just looked at the manual
    when you connected the G540 and your 12V psu to the motor drive

    did you connect the 0 - 10V control voltage to the AI 1 or AI 2 input ?

  17. #17
    Join Date
    Feb 2007
    Posts
    966
    See if there is current flowing between the 2 grounds

    Connect a mA meter (or a small light bulb) between the common on the 540 and the common on the VFD. There should be no current.

  18. #18
    Join Date
    May 2005
    Posts
    925
    Quote Originally Posted by john_100 View Post
    Hi Pablo ,

    have you had the second G540 and inverter working?

    if you have , I'd test the other G540 with the spare inverter just to make sure the G540 is OK
    then the spare G540 and INVT CHE100 0.75Kw

    John


    PS just looked at the manual
    when you connected the G540 and your 12V psu to the motor drive

    did you connect the 0 - 10V control voltage to the AI 1 or AI 2 input ?
    No, I said I have all the parts to make a test bed, but right now I don't have the time to do it, but I need to do it, maybe next week.


    Quote Originally Posted by Larken View Post
    See if there is current flowing between the 2 grounds

    Connect a mA meter (or a small light bulb) between the common on the 540 and the common on the VFD. There should be no current.
    I will be able to do this in the test bed, the lathe I was working on, goes to a trade show next week, we need to show it, even if the speed control is manually controlled. After the show I will have time to test with the test bed more comfortably.

    Thanks again!


    Pablo
    ● Distribuidor Syil en Argentina ● "www.syil.com.ar" ●

Similar Threads

  1. Has Anyone used G540 to control spindle speed on the X2?
    By Waldermac in forum Benchtop Machines
    Replies: 5
    Last Post: 02-08-2018, 03:46 PM
  2. Speed controlling my maxon drive with my g540.
    By Flateric in forum Gecko Drives
    Replies: 2
    Last Post: 08-31-2011, 02:18 AM
  3. G540 Spindle speed output voltage problem
    By georgef8 in forum Gecko Drives
    Replies: 5
    Last Post: 09-22-2009, 04:18 PM
  4. Y axis Wobbles
    By kolias in forum DIY CNC Router Table Machines
    Replies: 5
    Last Post: 08-27-2009, 04:12 AM
  5. G540 and a Sherline variable speed motor
    By cmanning in forum Benchtop Machines
    Replies: 5
    Last Post: 06-18-2009, 01:17 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
  •