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 04-11-2009, 04:30 AM
 
Join Date: May 2008
Location: UK
Posts: 21
LBodnar is on a distinguished road
How to monitor VSD-A "Ready" status?

I am developing a custom controller for VSD-A and use STEP/DIR mode to control torque.

I cannot figure out the way to monitor if VSD-A has been reset by a user in the middle of a sequence. This is required to reset the torque value in the controller to zero and re-sync drive and controller.

Suppose the controller commanded some required torque (e.g. 10) and then VSD-A has been power-cycled. It starts up in zero torque and if then controller winds down the torque to zero the drive will end up producing -10 as a result.

Any ideas? Thanks!
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 04-13-2009, 06:47 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

Have you considered using PWM input instead? It will be absolute, so you'll always know how much the commanded torque is. 50% PWM duty equals zero torque.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 04-13-2009, 06:54 PM
 
Join Date: May 2008
Location: UK
Posts: 21
LBodnar is on a distinguished road

Originally Posted by Xerxes View Post
Have you considered using PWM input instead? It will be absolute, so you'll always know how much the commanded torque is. 50% PWM duty equals zero torque.
Yes, I have tried it and the quality was not very good. I have used 10-bit 10kHz PWM and zero torque was at 490 instead of 511 and the output was jittery. I am not sure if it was caused by non-symmetrical on-off times of optocouplers or something else but it was not very encouraging from the beginning. However, I liked the fact that when PWM stopped torque was also removed. This is great safety feature which unfortunately won't work with step/dir. Oh, well...

Ideally, I want to use SPI but this still remains undocumented as far as I can see...
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 04-14-2009, 06:03 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

The precision of PWM input is more than 10 bits, it's about 14 bits. Things you can try to reduce jitter:
-Reduce "input multiplier" from GDtool, this way input becomes less sensitive
-Replace HCPL-2531 optoisolator with faster HCPL-2631
-Use lower PWM freq to get more output resolution from µC (3 to 6kHz should be best)

And about the original question: If you wish to monitor if someone resets the drive, it should be sufficient to monitor logic supply voltage as it would be the only way to reset.

I sent you some guidance about SPI to email.

Last edited by Xerxes; 04-14-2009 at 06:38 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 04-14-2009, 06:25 AM
 
Join Date: May 2008
Location: UK
Posts: 21
LBodnar is on a distinguished road

Originally Posted by Xerxes View Post
The precision of PWM input is more than 10 bits, it's about 14 bits. Things you can try to reduce jitter:
-Reduce "input multiplier" from GDtool, this way input becomes less sensitive
-Replace HCPL-2531 optoisolator with faster HCPL-2631
-Use lower PWM freq to get more output resolution from µC (3 to 6kHz should be best)

Let's see the SPI way if this doesn't work for you.
Kiitos for your support!
I have tried and did most of the tests on 3kHz PWM already and have not noticed any difference. I will try to get a faster optoisolator and see what happens.

I really want to try SPI mode control at some point.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-26-2009, 07:36 AM
 
Join Date: May 2009
Location: Bosnia
Posts: 9
brodolomac is on a distinguished road
velocity or position mode?

Hi,

I saw this video (http://video.google.com/videoplay?do...92974890836012) for VSD-A fluxeon drive and I have one question for xerxes, granitedevices or anyone.

I found comment for this video:

AC servo turning thru a mixed mode sequence: 1) Running various speeds in velocity mode 2) Homing in position mode and positioning to 180, 90 and -360 3) Running various speeds in velocity mode 4) Homing in position mode and positioning to 180 90 and -720.

My question: Is it some mistake in 3)? I think it has to be 3) Running various speeds in position mode.

I say this, because running motor at low speed with encoder resolutions < 60000 is imposible in velocity mode, only in position mode with trajectory profile update every 5-10 ms. Or I am wrong?
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 05-26-2009, 08:47 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

brodolomac,
Techically velocity mode is a modfied position controller with some optimizations for velocity control, so it works at any speed.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 05-26-2009, 09:21 AM
 
Join Date: May 2009
Location: Bosnia
Posts: 9
brodolomac is on a distinguished road

When I say velocity mode, I mean velocity closed control loop. And position mode, position closed loop. So, am I right when I say that this low speed rpm on VSD-A is actually velocity mode using position control ( you give continous position commands in short time steps to achieve velocity tracking)?
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 05-26-2009, 10:15 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

Originally Posted by brodolomac View Post
When I say velocity mode, I mean velocity closed control loop. And position mode, position closed loop. So, am I right when I say that this low speed rpm on VSD-A is actually velocity mode using position control ( you give continous position commands in short time steps to achieve velocity tracking)?
Something like that.

Apart from that VSD-E has a "real" velocity controller that doesn't use position information anywhere but user probalbly won't notice the difference since it will also work at infinitely low speeds.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 05-27-2009, 03:30 AM
 
Join Date: May 2009
Location: Bosnia
Posts: 9
brodolomac is on a distinguished road
low speed

Thanks for answering the question. If we use servo motor with 1000 ppr then the lowest angular speed that controller can measure is fs/4000. Fs is velocity control loop update frequency and let say fs=4000 Hz. Then the lowest detected speed is 1 Hz or 60 rpm and it's not infinitely low speed. Speed estimation using some interpolation or observer is only remaining possibility that I know. Does VSD-E use speed estimation?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-27-2009, 01:10 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

VSD-E control algorithm doesn't have any difficulties if speed estimation shows 0 most of time. An average is only that matters. Real minimum commandable speed is actually 0.0763 counts/sec or on 1000 ppr encoder 0.00114 rpm.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 05-28-2009, 06:32 AM
 
Join Date: May 2009
Location: Bosnia
Posts: 9
brodolomac is on a distinguished road
speed estimation

Use of averaging (filtering) reduces velocity control bandwidth by way of inserting delay in control loop. If we need fast velocity response in low speed, I'm not sure about use of averaging for speed estimate in velocity control. And again, we have to go back and use position controller for velocity control. I don't know how VSD-E works at low speed with just velocity controller. On VSD-A video I saw fast response in low speed.
Tweet this Post!Share on Facebook
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
Fanuc 6m stays in "not ready" mode hopcycle Fanuc 2 01-30-2009 08:58 AM
Need Help!- "Warco GH Univ" V "Chester Lux Mill" JQ_Quint Benchtop Machines 37 01-22-2009 11:59 AM
G320 "common" or "+5vdc" why do they vary? beezerlm Gecko Drives 3 01-12-2008 05:00 PM
"Not Ready" at startup christoph Machine Problems, Solutions , Wireless DNC, serial port 3 08-03-2007 09:55 PM
Has anyone looked at the "JET" or "Shop Fox" manual machines? boosted General Metal Working Machines 12 03-04-2007 10:33 PM




All times are GMT -5. The time now is 02:50 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