Hello Guest it is April 26, 2024, 01:56:37 AM

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 »
1641
Mach4 General Discussion / Re: Slow stepper speeds
« on: March 13, 2020, 08:18:04 PM »
Hi,
I agree with Steve, use the highest voltage power supply your divers will tolerate. Geckos have a superb reputation for
reliability, if they say 80V...then use 80V.

What model steppers do you have? In particular do you know the inductance? It is a little understood fact that the inductance
of a stepper determines how badly the torque will degrade with stepper speed.

Most stepper manufacturers make high holding torque (desirable) steppers but with commensurately high inductance (highly
undesirable) because they can make them cheaply and thereby appeal to first time buyers.

If you absolutely require the fastest possible axis speed then you will probably have to replace your steppers with the
LOWEST POSSIBLE inductance. This might mean that a (say) 300 oz.in stepper of 1mH inductance is a better choice
than a 600Oz.in stepper but 6.8mH because the smaller stepper will still have useful torque at 1000rpm whereas the bigger
one stalled at 300 rpm.

Craig

1642
Mach4 General Discussion / Re: Mesa FPGA cards
« on: March 13, 2020, 07:37:34 PM »
Hi,

Quote
Just out of curiosity would the use of windows embedded instead of the regular windows versions offer a performance increase or is it just a stripped down version that is still not real time capable.

I use Windows 7 Embedded (Standard) on my machine PC. Windows Embedded allow you to load, or not load chunks of code. For instance
you have no need of multimedia capabilities when designing and building a Point of Sale PC so why bother loading it?.

I would recommend 'The Professionals Guide to Windows Embedded Standard 7 by Sean Liming', Chapter 8 'Realtime Support'
and the references contained therein do a masterly job of explaining why Windows is unsuited to realtime use.

The essential idea is that 'Windows Embedded does not  change Windows essential DNA'. Windows makes HUGELY EXTENSIVE
use of the CPU's interrupt system, it uses it to schedule threads and all manner of things in a multilevel priority scheme.
You can't turn them off nor can you (materially) alter the priority WITHOUT crashing Windows.

Thus when an app like Mach4 demands service it must always defer to higher priority tasks determined by Windows, to do otherwise
is to crash it. Therefore Mach (3 or 4), and in fact ALL Windows PC based CNC software solutions, must have a buffer so that
when Windows skives off to do some important (to Windows) task meaning Mach4 is paused the buffer allows the motion controller
a queue of motion data to consume. We just have to hope the Mach4 again receives CPU service BEFORE the motion buffer is drained
otherwise you motion controller 'runs out of data' and the machine stops.

You might think that this fundamental difference between realtime (example: LinuxCNC) and buffered (example: Mach4) puts
the Windows solutions at a disadvantage. There is a modicum of truth to that.

However when you are standing at the machine operating it there is virtually NO DESCERNABLE difference between them.
One time that you might notice a difference is if you hit <FeedHold>, with Mach the machine will continue to operate for the duration
of the buffer, commonly around 200ms, whereas LinuxCNC would stop, to all intents and purposes, instantly.

The other time  where LinuxCNC shines is the ability of the software to enact closed loop control over servos whereas Mach4 cannot do so
directly. Having said that you may have noticed a recent development in AC servo technology called 'dual sensing'.
For example Delta A2 series servos. The servo drive monitors the servo mounted encoder as all  servos drives must do but can in
addition monitor a second encoder, like a linear scale, and incorporate that into its position loop as well. Thus my Mach4/ESS solution
could now enclose a linear scale 'just like the realtime boys' by use of such a servo and drive. They cost about $50 more than
the regular B2 series (160,000 count encoder) servos I have just bought! Ho hum, I wish I'd done a little more research before I
bought them....not that I need dual sensing....its just I want to brag....and do what my mother recommended I did not for the sake of
my eyesight! LOL

Craig

1643
Mach4 General Discussion / Re: Mesa FPGA cards
« on: March 13, 2020, 06:23:38 PM »
Hi,

Quote
There used to be a beast called Windows RT, but as best I know it no longer exists.

There is still such a beast, I don't know about RT, its been a long time since I've seen any reference to it, but there is
Interval Zero.

They have some superb videos on their website about how they enact realtime processing on a Windows PC, highly
recommended.

The idea is that one core of a multicore processor runs a realtime scheduler while the rest of the cores runs Windows normally.
There is a rather slick data exchange between the realtime thread and Windows but at no time can Windows interfere or stop the
realtime thread.

I investigated purchasing it some years ago, it was going to cost $16000AUD for the software tools and then there is still
the per machine runtime license. The price stooped me cold!

In recent times Interval Zero have partnered with Kingstar and they have used the realitme core to enact EtherCat, a realtime
Ethernet communication protocol that works with Mach4. This is to my knowledge, the fisrt attempt anyone has  made to
'make Windows realtime' and thence use it as a CNC solution.

Note this idea of a realtime core does not make Mach4 suddenly realtime, Mach4 is still a Windows app and requires a Winodws
environment replete with the scheduling delays that characterize Windows. What a realtime core can do how ever is run a
smaller realtime program like EtherCat. All very clever!!!

Smurph seemed very impressed with the ease of which the Interval Zero realtime core could be grafted into an existing
Windows PC. The video banner of this forum is of a Matsurra VMC making a part running Mach4/EtherCat by Kingstar/Interval Zero.

It has rather taken us adrift from OP's question regarding the suitability of Mach4 for realtime closed loop control of
servos, then answer is no.



Craig

1644
Mach4 General Discussion / Re: Mesa FPGA cards
« on: March 13, 2020, 05:05:34 PM »
Hi,

Quote
Command and control messages are outside of the PVT queue and I was implying that the servo loop correction would operate through command and control messages, not the Mach4 PVT queue.

Good point, and is this just exactly what NFS has exploited to enact software controlled THC released some months ago? Using
the concept of an override axis a servo/stepper can be adjusted in near realtime 'around' its nominal trajectory be offered up by
the motion buffer. The apparent bandwidth of that setup is about 10Hz-20Hz and is adequate for all but the most demanding
(dynamically speaking) THC loops but is still a factor of five short of the bandwidth required for effective servo control.

Quote
Ideally the motion control would have a processor capable of closing the loop inside the motion control, but as far as I know, only the Vital Systems Hicon family and the CS Labs CSMIO/A offer closed loop within the motion controller.

Yes, I would agree. This was my intent to inform OP that Mach4, not withstanding the much improved command/control loop frequency,
is not suitable as a positional feedback controller. That capability would have to be provided by the FPGA on the Mesa board.
I'm unfamiliar with those boards but was not aware that they had feedback capability.

Craig

1645
General Mach Discussion / Re: Question on Novum V2 BOB
« on: March 13, 2020, 04:45:38 PM »
Hi,
if you have bought a genuine Mach3 license I would suggest send tweakie a PM, he may relent.
The reason that the company is blacklisted is because they routinely peddle pirate Mach3 licenses.
The expectation that you are going to get help on the forum funded by the company (NFS) who are being
ripped off by Novum is not realistic.

Do yourself a favor and buy a decent controller, a US or European made one. I personally recommend an Ethernet SmoothStepper
but others will equally recommend any of the UC100, UC300, UC400 series by CNCDrive or 57CNC by PoKeys.
Chinese controllers seldom work as advertised and you'll find that if you want help China might as well be in another galaxy,
they just don't seem to care about their prey, sorry, customers once they have bought their board.

Craig

1646
Mach4 General Discussion / Re: Mesa FPGA cards
« on: March 13, 2020, 04:28:24 PM »
Hi,

Quote
I think the depth of the motion queue does not delay command and control messages

Motion commands are issued by the trajectory planner in the form of PVT data which is queued. Even if Mach was instantly
updated by Ethernet about the position of the servo it would still have to issue trajectory commands and ergo the buffering
delay.

Closed loop control bandwidth is highly dependent on the 'around the loop' communication delay. If you have a buffering
delay of 100ms, given the Nyquist sampling theorem, the best possible closed loop bandwidth would be 5 Hz. Any control
engineer will tell you that the discrimination of a control loop running at the Nyquist frequency is rubbish, you will get
only fair discrimination at 1/10th the Nyquist rate, in our example 0.5Hz.

Half a Hz bandwidth might be adequate for a temperature control loop with a temperature time constant of 5 seconds but
it will fail miserably trying to control a servo.

Adequate servo control for CNC axis purposes requires an absolute minimum position bandwidth of 100Hz, 250 to 500Hz is
the common norm for entry level servos and 1000 to 5000Hz  for the latest and greatest servos.

Mach4 is not a realtime control system, and that is because the operating system on which it runs (Windows) is not realtime
capable.

Linux distros with R(eal) T(ime) E(xentsions) is realtime with a quite respectable jitter of 2us-4us on common PC hardware.
Windows can't manage that.

Craig

1647
Mach4 General Discussion / Re: Mesa FPGA cards
« on: March 13, 2020, 03:38:55 PM »
Hi,
Quote
or in the software of the Mach4 plug-in running on  the computer. Using the plug-in software would likely be the easier approach.

Really? What about the buffering delay between Mach4 and the motion controller? The ESS has a default setting of 180ms buffer.
All Mach4 controllers require a buffer. You cannot close loop control a servo with that sort of delay.

It is certainly possible for the FPGA to present Mach4 with the current encoder count for a DRO for instance, but that is not closed loop
control.

Craig

1648
Hi,
if this is a new build then I would recommend Mach4. All development on Mach3 ceased six years ago, if you are going
to invest several thousand dollars on machine hardware it doesn't make sense to use obsolete software.

I use an Ethernet SmoothStepper by Warp9. It has arguably the best and most complete Mach4 plugin and realtime
features of any of the Mach4 controllers.

I use two single port bi-directional breakout boards. They have no opto-isolation, relays nor PWM outputs, I add those
features as I require. This results in best flexibility and lowest cost but requires you be prepared to make a few
simple electronic additions to the boards.

If you prefer a 'ready to rock and roll' breakout board with all three ESS ports fully developed then the MB03 by
CNCRoom is recommended.

Craig

1649
Mach4 General Discussion / Re: Mesa FPGA cards
« on: March 13, 2020, 01:12:49 AM »
Hi,
Quote
So I hope that Mach4 is able to handle the closed loop signals from the linear encoders.


No, Mach4 is not a feedback  controller because it is buffered. That is to say that Mach4 is not realtime and must therefore buffer motion commands and as a consequence the 'around the loop delay' precludes realtime feedback.

Those devices that do offer feedback control to Mach4 (Hicon suitably activated and CSMIO/A) the feedback loop is handled by the
motion controller with realtime hardware under the supervision of Mach.

If you wish to have realtime linear encoder feedback YOU MUUST enact it within the FPGA of the Mesa board.

Craig

1650
Mach4 General Discussion / Re: Mesa FPGA cards
« on: March 13, 2020, 01:11:14 AM »
Hi,
sounds like a great project.

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 »