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 > Granite Devices


Granite Devices Discuss about servo & stepper drives made by Granevices and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-01-2010, 10:57 AM
 
Join Date: Dec 2009
Location: USA
Posts: 17
jnnewton is on a distinguished road
VSD-E disable and recovery

This is a cross post, as is also posted in router section, anyone who can please remove it from that section, as this one is more appropriate.

I have the vsd-e drives from granite devices. I have the motors moving fine, but have some issues with the other functions.

I want to set up Opto-in 4 for disable / clear fault, but i cannot make the input change state.
If I put it in non-inverted, the drive is always enabled. Even if i jumper the 5V output to this, it is still enabled. I am unable to disable the drive.
If i put it in inverted, it is always disabled. This is how i plan to run the drive, but If i put it in this configuration, I cannot enable it.

Also, I am unsure how to disable the Error recovery function. The last thing I want to happen after a fault, is the motor to move. Anyone know how to disable this? I set the velocity limit for error recovery all the way down to 1, but this can't be the correct way. It still moves, just very slow.

Additional information: If I apply 5V to Opto-In 4 while connected to gdtool, I get a communication error, I believe this is due to the shared function of pin 9 (opto-in 4), however, I would think that this would apply in spi mode, where I am using pwm. Not sure.

Last edited by jnnewton; 10-01-2010 at 12:16 PM.
Reply With Quote

  #2   Ban this user!
Old 10-04-2010, 01:46 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

The disable signal in opto-in 4 should work. Please check:
1. Drive doesn't go into SPI mode: make sure input mode is not set to "Force SPI" (GDtool->General settings).
2. USB cable is not plugged when powering up
3. There is 3-5V applied between IO_COM and IN4. Connecting one jumper from 5V alone won't work, IO_COM would need to be connected to GND.

There is an alternative firmware for VSD-E/XE-160 that disables error recovery move. Please find attached firmware file.
Attached Files
File Type: zip vsde_specialdisable5.zip‎ (32.0 KB, 28 views)
Reply With Quote

  #3   Ban this user!
Old 10-04-2010, 08:49 PM
 
Join Date: Dec 2009
Location: USA
Posts: 17
jnnewton is on a distinguished road

Ok, I had the cable plugged in when trying the disable function, without it, disable works just fine.

I have one more question. When trying to tune the axis, with the following error limit set very high to avoid following error limits, and the gains set low to avoid overcurrent errors, the output just drops off, following error increases, however, no corrective action is taken.

Attached is a plot of this. There is no error or fault from the drive.
Attached Files
File Type: pdf velocity_lost.pdf‎ (21.0 KB, 44 views)
Reply With Quote

  #4   Ban this user!
Old 10-05-2010, 05:19 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

The graph looks a bit weird. Can you post your GDtool saved settings file for checking?

About overcurrents: they never happen when drive is properly tuned (proper torque PI gains and fault current limit is set to 2-5A higher than peak current).
Reply With Quote

  #5   Ban this user!
Old 10-05-2010, 09:02 AM
 
Join Date: Dec 2009
Location: USA
Posts: 17
jnnewton is on a distinguished road

Attached is the settings file. This is what is used to create the graph I posted. It doesn't cause any errors / faults. And if the drive doesn't get disabled and re-enabled, it will run in the opposite direction (as can be seen in the plot), but will not run in the forward direction after that drop in velocity occurs. If the drive is disabled and re-enabled, it will then run in that forward (problematic) direction. Thanks for all the help.
Attached Files
File Type: zip RRVF.zip‎ (901 Bytes, 23 views)
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-05-2010, 09:56 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

Thank you. There is at least one problem: Current fault limit is only 10mA higher than your peak current setting, so no wonder you easily get overcurrent faults. Try setting fault limit to at least 13000mA.

If this doesn't solve the problem, then please also do set of step tests while one or more of following additional signals are selected:
-Torque target value
-Torque achieved value
-Output voltage amplitude

This will help seeing what drive does during the odd behavior.
Reply With Quote

  #7   Ban this user!
Old 10-05-2010, 09:59 AM
 
Join Date: Dec 2009
Location: USA
Posts: 17
jnnewton is on a distinguished road

I do not get overcurrent faults.
I don't get faults.

The max limit i believe is 10A (10000mA). I can lower the peak, but I never see the overcurrent fault.

I will try to re-run with the signals you suggest.
Reply With Quote

  #8   Ban this user!
Old 11-02-2010, 01:56 PM
 
Join Date: Dec 2009
Location: USA
Posts: 17
jnnewton is on a distinguished road

attached are a couple of plots.
one is with the torques, and you cannot see the velocity (scaling), so the other shows just the velocity.

From what i can tell, i am achieving the torque commanded, but no speed results (i need more torque). The question I have is why does the drive only command the continuous torque and not venture into the peak torque area to get the axis moving?
Attached Files
File Type: pdf all signals.pdf‎ (22.5 KB, 25 views)
File Type: pdf no_move.pdf‎ (20.8 KB, 20 views)
Reply With Quote

  #9   Ban this user!
Old 11-02-2010, 02:43 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

Ok, it's a bit clearer now.

The error is probably either in "motor settings" page or motor wiring. Did you run "Test motor configuration"?

BTW, it's always better to use AC servo mode rather than BLDC. AC runs smoother on BLDC motors, too.
Reply With Quote

  #10   Ban this user!
Old 11-03-2010, 04:43 AM
 
Join Date: Dec 2009
Location: USA
Posts: 17
jnnewton is on a distinguished road

I did run test motor configuration, and if i remember correctly, it said that the encoder counts were correct for a 4 pole motor, however, the motor I have says 3 pole pairs, which lead me to choose 6 poles. the current limits were taken from the motor makers information (3.89A continuous / 15A peak), as well as the thermal time constant (660s). The top speed of the motor seems correct, as well as the current demand on the plot for those numbers. Maybe I should try the 4 poles like it said.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-03-2010, 12:24 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

Ok,

Here is another test to see if motor config is correct:
1. Disconnect motor shaft from load
2. Set drive in torque mode
3. Once set, motor shaft should be easy to rotate, like there was no power
4. Go to event log and enter moveabs 10000. This gives a torque command.
5. Motor should start spinning fast. If it doesn't something is wrong (test if motor shaft feels locked and tell me if that happens).

Please let me know the results.
Reply With Quote

  #12   Ban this user!
Old 11-06-2010, 09:36 PM
 
Join Date: Dec 2009
Location: USA
Posts: 17
jnnewton is on a distinguished road

ok,
I ran the motor test, both on ac and bldc, and both ways it tells me it found 2170 which is correct for a 4 pole motor. I then ran the moveabs command with both 4 pole and 6 pole setting. On the 4 pole setting, the motor started to move and then locked. With a 6 pole setting, the motor spun up to a very high speed. So, I believe the motor is ok with the 6 pole setting, even though the test configuration seems to think 4 poles is correct.

I did some more tests, with some different gains and current limits. Attached are a couple of these plots. Maybe they will provide some insight. Both are from the 6 pole setting.
Attached Files
File Type: pdf following error torque and voltage.pdf‎ (23.5 KB, 21 views)
File Type: pdf torque and voltage 1.pdf‎ (23.2 KB, 17 views)
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
Need Help!- 565 pll clock recovery circuit vinodquilon General Electronics Discussion 0 01-11-2010 12:09 PM
Need Help!- Tailstock position recovery kkungfu Mori lathes 0 06-17-2009 12:33 AM
tool changer recovery peakeng Daewoo/Doosan 2 03-06-2009 01:58 PM
Metal Recovery Technology zoulume Metal Finishing and Plating 1 12-12-2007 10:15 AM
coolant recovery vacuum? cncatj General Metal Working Machines 7 03-03-2007 06:44 PM




All times are GMT -5. The time now is 06:15 AM.





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