CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-15-2011, 07:44 AM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road
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" ●
Reply With Quote

  #2   Ban this user!
Old 11-15-2011, 11:01 AM
 
Join Date: Apr 2004
Location: VA, USA
Posts: 75
morestuff is on a distinguished road

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
Reply With Quote

  #3   Ban this user!
Old 11-15-2011, 04:30 PM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

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" ●
Reply With Quote

  #4   Ban this user!
Old 11-16-2011, 12:54 AM
 
Join Date: Apr 2004
Location: VA, USA
Posts: 75
morestuff is on a distinguished road

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
Reply With Quote

  #5   Ban this user!
Old 11-16-2011, 09:38 AM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

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" ●
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-21-2012, 08:44 AM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

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" ●

Last edited by PEU; 05-21-2012 at 09:29 AM.
Reply With Quote

  #7   Ban this user!
Old 05-21-2012, 02:34 PM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

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
Reply With Quote

  #8   Ban this user!
Old 05-21-2012, 03:04 PM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

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" ●
Reply With Quote

  #9   Ban this user!
Old 05-21-2012, 03:16 PM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

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
Reply With Quote

  #10   Ban this user!
Old 05-21-2012, 03:24 PM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

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" ●
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-21-2012, 04:01 PM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

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
Reply With Quote

  #12   Ban this user!
Old 05-21-2012, 05:27 PM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

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" ●
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed controlling my maxon drive with my g540. Flateric Gecko Drives 2 08-30-2011 08:18 PM
G540 Spindle speed output voltage problem georgef8 Gecko Drives 5 09-22-2009 10:18 AM
Y axis Wobbles kolias DIY-CNC Router Table Machines 5 08-26-2009 10:12 PM
Has Anyone used G540 to control spindle speed on the X2? Waldermac Benchtop Machines 3 07-01-2009 01:27 PM
G540 and a Sherline variable speed motor cmanning Benchtop Machines 5 06-18-2009 07:17 AM




All times are GMT -5. The time now is 04:27 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361