Hello Guest it is April 18, 2024, 06:27:44 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - joeaverage

Pages: « 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 »
801
Hi,
I would still use microstepping, say 1/5, 1/8, 1/10, or 1/16, to get advantage of the smoothness of motion, but when you consider your machines
'actual' resolution, calculate it as if you are using 1/2 steps, while the 'theoretical' resolution would be 1/5 or 1/8 or whatever provided there was zero load
on the stepper.

In short what you have done by implementing 1/10 th stepping is good, you get the smoothness that you want but the actual resolution will be 10um,
not 2um as you previously calculated. Still 10um is pretty damn good for any machine!

Craig

802
Hi Steve,

Quote
If you are micro stepping you do not get the full torque if you only displace the shaft a small fraction of a full step. This is why the full enhanced resolution is not available in the real world. If your load required very low torque, then you could get closer to the ideal target location. Microstepping can offer significant advantages in some light duty instruments such as telescopes, but does not gain you much resolution for a router or milling machine.

Very nicely and concisely  worded.

Craig

803
Hi,
one of the few advantages of closed loop steppers is increased resolution.

As I posted earlier open loop steppers can reliably step in 1/2 steps, ie 0.90 per pulse, but even with microstepping cannot reliably achieve any higher resolution.
With a closed loop stepper however the feedback to the drive will allow the drive to alter the A and B currents UNTIL the rotor shifts to it desired position as measured by the feedback
encoder. Thus the drive could be commanded to shift the rotor by 1/10th of a step, ie 0.180 and the drive will alter the A & B currents until 0.180 has been achieved.

Craig

804
Hi,

Quote
increase the pulse number 10 times, the resolution of motion with 300 pulse and 3000 pulse for 1 turn can not be same i think

Does not work, it would be nice but anything beyond 1/2 stepping, that is 400 pulses/rev does NOT result in increased resolution.

Let say that you have set 10 microsteps per full step, ie 2000 pulse per rev, and the current location of the rotor is at fullstep position 0.
The current in the A winding is max, say 1A, and the current in the B winding is 0A. If the driver gets a pulse it will alter the currents to:
A will reduce by 1/10th, ie 0.9A and the B winding will increase to 0.1A. The rotor would like to assume a postion 1/10th of one fullstep (1.80)
or 0.180, but the torque available to make that move is the difference between the holding torque at position 0 verses the torque at position 0.1
and that is ONLY 1/10th of the RATED holding torque. It is highly probable that the load will exceed the available torque and the rotor WILL NOT move as you had hoped.

If the drive gets a second pulse, now the A current will be 0.8A and the B current will be 0.2A. The torque from position 0 to position 0.2 is 2/10ths of the holding torque, again
probably not enough to overcome the load.

If the drive gets yet another pulse then A=0.7A and B=0.3A and the torque from 0 to 0.3 is 3/10ths which may or may not be enough to cause the rotor to move.

So you can see because of the very much reduced torque between each partial steps  the rotor will probably not move, until some indefinite number of steps
have accumulated until the is sufficient torque to overcome the load and then the rotor will move a number of microsteps and once. This is not ideal. You'd want
the rotor to move exactly 1/10th a full step at each pulse, but you may get three, four or five pulses where the rotor does not move, then all of a sudden it will, and
catch up.

If you were using 1/2 stepping most drives apply A=1A and B=1A for a torque from position 0 to position 0.5, ie 1/2 a step of 1.41 times the holding
torque and surely the rotor will move.

For this reason 1/2 stepping, ie 400 pulse per rev is the highest reliable resolution you can get from a two phase stepper.

Craig

805
General Mach Discussion / Re: Looking for help with a spindle motor.
« on: February 22, 2022, 02:34:42 PM »
Hi,
Mach3's parallel port has by default a kernel frequency of 25kHz. With a well behaved PC you might be able to increase that to 45kHz or maybe 65kHz, or with an extremely
well sorted PC 100kHz.

The kernel frequency is the maximum pulse rate the parallel port can produce. In the case of a default installation that is 25kHz. Lets also guess that your servo requires 10,000
pulses to turn one revolution. At a max pulse rate of 25kHz then the servo could rotate only 2.5 revolutions per second or 150 rpm. As you can see the kernel frequency limits what the servo can do.

What is the encoder resolution of your servo? Is it programmable, ie have 'electronic gearing'. If so you need to set it to about 500 pulse per revolution. The at 25kHz pulse input:
25,000 / 50 =50, so the servo could do 50 revolutions per second or 3000rpm.

According to the manual the lowest resolution you can get with the servo is 1600 pulse/rev. With a pulse rate of 25kHz:
25000 /1600 =15.625 revs/sec or 937 rpm. With a default parallel port installation this is as fast as you could expect  for a Step/Direction driven servo.

You either have to increase the kernel frequency to 65kHz or more, possible but commonly fraught with difficulties, PCs just don't like it OR get an external motion controller like a UC100 (max frequency 100kHz)\
or an ESS (max frequency 4MHz).

Craig


806
Hi,

Quote
So the correct approach in microstepping should be adjusting it to a lowest value which is enough for the required movement precision, 2 micron is what i adjusted it for today,

Close, but not quite. Increasing microstepping does not increase resolution, its nice to think it would but in practice 1/2 stepping is the highest practical and reliable resolution. You might
get an increase at 1/4 stepping but it will not be consistent. This derives from the fact the the differential torque between microsteps diminishes rapidly with increasing microstepping, and
consequently there is insufficient torque to step one micro step, but there is enough to step 1/2 step, and sometimes enuogh to step 1/4 step, but not enough to step 1/8 step.

The true value of microstepping is increased smoothness of motion. Microstepping was first proposed and implemented by astronomers whom were wishing to acieve a smoother motion from
the steppers in their telescope mounts. Microstepping, to some reasonable value, will reduce or eliminate mid-band resonance, which plagues steppers. Microstepping beyond that value it pointless,
you gain little extra 'smoothness', no extra resolution and an increased signal rate. In practice microstepping of 1/8, 1/10, and 1/16 are the maximum practical microstep regimes.

Craig

807
Mach4 General Discussion / Re: Mach4/Uc100 problem with jogging
« on: February 21, 2022, 03:06:53 PM »
Hi,
I am not familiar with the UC100, however all motion controller plugins should be in the Mach4Hobby/Plugins folder.
There you should see the plugin, it will be of type '.M4PW', but also there should be a signature file  of the same name but of type '.sig'.
Are both of those files present?

Craig

808
Hi,

Quote
u mean instead of g28 it should code g92?

No, I just mean that these are two codes that can produce unexpected excursions of the machine, and often not recognised if you are reading code trying to determine a fault.

Craig

809
Hi,

Quote
yes u are right about ess and mach4 but as it seems this looks like mach4 related to me because its the one which shifts the zero point by 400mm,

I've been using Mach4 for seven years, and other users for as long and longer. If there were such a fault in Mach4 do you not think that it would have been detected by now?

One possibility is an extraneous g28 in the Gcode. I have seen some post processors that include g28's which will result in large unexpected excursions by the machine.
It possibility is an extraneous g92.

Craig.

810
Hi,

Quote
i remember adjusting it as the highest it can get so maybe mach4 and ess can not catch the required pulse number when fro increased.

Mach produces numeric data so is in no way limited by FeedRate or otherwise. The ESS has a max output frequency of 4MHz so it too is very unlikely to be pulse rate
limited. Your BoB however may be pulse rate limited and almost certainly the steppers drivers will have some  max input pulse rate.

Mai I suggest that you reduce the microstepping such that the pulse rate at max axis speed is 100kHz or less.

Craig

Pages: « 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 »