Hello Guest it is April 19, 2024, 05:47:49 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 »
4171
Hi,
this is probably a bit off topic but here goes.....

I have stated that a VFD  often requires line reactors, essentially high inductance filters to accommodate the current pulses that occur in the rectifier/capacitor input circuit.
I have attached two pics, one of the rectifier/capacitor circuit (representative) and its output voltage. Note the ripple on the DC. The second pic is the Fast Fourier Transform (FFT)
of the output voltage waveform.  Note the spectral components at the 2nd, 4th, 8th and 10th harmonics. Low order harmonics like this require a highly inductive filter because of the low
frequencies involved.

I have also stated that a phase controlled bridge such as OP is using is noisy and requires line filters capable of filtering higher frequencies. Accordingly I have attached another two pics,
the first a circuit of a phase controlled bridge rectifier (representative). Note that the gate drive voltage sources are low voltage pulses to turn the SCRs on. The output voltage of the bridge
is also shown. Now look at the second pic being the FFT of the output voltage. Note how the harmonic distortion extends all the way out to over 100kHz.....noisy as hell!

Craig

4172
General Mach Discussion / Re: Mach3 Windows 10 update -- don't do it
« on: June 30, 2018, 12:59:05 AM »
Hi,
at the current time there are about six manufacturers of external motion controllers that work with Mach4, that is to say thaey have a plugin that
is compatible with Mach4 and their board. Most of thise boards also have a plugin for Mach3  as well. If you are lucky enough to have one of
those boards then 'yes the same controller will work with either Mach3 OR mMach4'. If you have a yet different
controller then 'no, your Mach3 controller cannot be used with Mach4'

Craig

4173
HiCON Motion Controller / Re: Following Error
« on: June 30, 2018, 12:47:49 AM »
Hi,
sure do, feedback control and all the maths that go with it are pretty close to the high water mark as far as my expertise and
education go. It is very much a challenge to get involved in it all over again, a welcome challenge. I thank you for the
opportunity to do so.

Craig

4174
HiCON Motion Controller / Re: Following Error
« on: June 30, 2018, 12:12:27 AM »
Hi Lou,

Quote
I understand that I don’t need to give the 7766 any encoder info at all but if I do then the DRO’S in Mach4 will display the actual machine position based on encoder input as opposed the commanded position. Just seems there has to be some value in that.
Sorry to burst your bubble but Mach is not a feedback controller. The Hicon unit does not routinely relay information back to Mach. If it were to do so the communication lag
would mean the DROs would always be out of date. Mach can read an MPG or encoder and display it in a DRO provided you don't mind it being a tenth of a second out of date.

Hooking the encoders to the 7766 is for the 7766's benefit only. The 7766 can use that to close a loop in realtime whereas Mach cannot, its way way WAY TO SLOW!
A communication loop in Mach3 is of the order of 25ms one way! Mach4 can do a lot better than that, about 10ms as default and you can push it to probably less than 5ms
but that is still to slow for genuine feedback control.

Just to give you some background:  a feedback loop has a refresh rate (sometimes called bandwidth and various other terms). So every so often the control loops get a measurement
of the current error between commanded position verses actual position. Lets say that happens 100 times a second, ie every 10 ms.

The Nyquist sampling theorem assures us that the maximum frequency signal that can be represented by a 100 sample/second stream is half that or 50Hz.  As a control engineer you
yawn, yes its theoretically possible to represent a 50 Hz signal with 100 sample/second but you get no 'discrimination', that is to say the fideility is very poor. You might get fair
representation of a 5 Hz signal with 100 samples per second, but even that would be very grainy or poor resolution. A feedback control loop with a 100 Hz refresh rate will have
at best a 5Hz bandwidth, ie it will be as slow as a wet week! And even a 5Hz bandwidth is pretty sketchy and grainy.....

A servo loop will have refresh rates of the order of 20kHz, for a Nyquist rate of 10 kHz, and an acceleration loop bandwidth of about 1kHz and a position loop bandwidth of about 100Hz.
Thus you can see Mach3 with a refresh rate of about 25 per second and even Mach4 at 100 per second is a long LONG way short of the speed necessary for a high fideility closed loop
control system.

I do understand the inclination to use the activation that you paid for and especially doing what is politic as far as 'her indoors' is concerned..... I would try the method I have outlined
given that it is mainly keystrokes and maybe a bit of wiring. Using the scope feature will teach you stuff in one afternoon that 100 books/videos/forum posts will never do.
Once you have that knowledge/understanding under your belt THEN try using the 7766 to close the loop, either with or without the closed loop stepper drive. That experience based
understanding of feedback control will allow you to dial in the 7766 really well, maybe as good as the stepper and its even remotely possible you could do better. Without that knowledge
you may find as many others have found that PID loop tuning is a Black Art never to be mastered!

Years ago at University I studied this stuff. We had whole labs set up with various servo systems and all manner of measuring and test gear. We were required to do certain experiments
but were encouraged to do a whole lot more than that. Basically we could fiddle with things as much as we liked....all of it adding to the intuitive understanding of feedback control.
Add that intuitive understanding to the mathematics, and there was a s*********t load of that....

Craig

4175
HiCON Motion Controller / Re: Following Error
« on: June 29, 2018, 10:24:00 PM »
Hi,
the scope software is a part of the tuning software and it derives its data from the closed loop stepper drive. No closed loop stepper drive...no scope.

If you use the 7766 as the loop closing device, and contrary to simplicity sake retained the closed loop drives so you can use the scope, the scope would display
the error between the stepper drive input and the stepper encoder, ie it would NOT tell you anything about the dynamics of the 7766 nor would it be able to display the commanded input to
the 7766.

If you wish to use the software scope then the 7766 has to be open loop, ie just a command generator.  If it has dynamics of its own then the scope wont help you tune much as part of the tuning effort
is not observable.

An ordinary scope wont help you either as one input to the scope would be the encoder output which as you know is two signals in phase quadrature. Likewise the input to the control loop,
if the 7766 even makes it available is step/direction. Step/direction is similar to Delta modulation familiar to most communication engineers. A Delta de-modulator would be simple enough
to build. The encoder output would have to be converted to step/direction and that result feed through another Delta de-modulator.

How's you electronics? It is possible but there would be quite an effort to produce signals that could usefully be displayed on a scope.

I still think your best alternative is let the stepper driver close the loop, not the 7766. Either will work but one alternative lets you use the diagnostic smarts built in whereas to other
alternative does not.

Running the 7766 in open loop manner will be easy, after all everyone who has bought one but who has not bought the closed loop activation HAS to run open loop!
If you do run open loop the encoders don't have to be plugged into the 7766 AT ALL! All in all it should be a simpler wiring than what you have at the moment.

Craig.

4176
HiCON Motion Controller / Re: Following Error
« on: June 29, 2018, 09:08:32 PM »
Hi,
right at the beginning of this thread you asked about following error, how it affected your setup and why it seemed to trip out to early.

The software scope in the tuning/setup software that accompanies your closed loop stepper drivers is by far  the best way to answer your question.
I you chose to close the loop with the 7766 then that opportunity is gone and you'll have to  do the 'by guess and by God' method.

Craig

4177
HiCON Motion Controller / Re: Following Error
« on: June 29, 2018, 08:52:18 PM »
Hi,
to OP: still cant work out why you persist on using the 7766 to close the loop, the stepper/drive are a matched pair and will do better than the 7766.
Additionally if you use the closed loop stepper drive you'll have the software driven scope to tune your setup whereas you wont with the 7766.

Craig

4178
HiCON Motion Controller / Re: Following Error
« on: June 29, 2018, 08:48:26 PM »
Hi,

Both DMM and Delta are genuine AC servos but have a separate but matching drive, not built in like Clearpath. They are Step/Direction like Clearpath.

DMM= Dynamic Motor Motion

A DMM 60V servo drive $138
A DMM 200W servo      $137
Total                           $275

Clearpath CPM-SDSK-2331S-RLS (193W cont) $333

And if you want to get more power then you'll have to go to the SDHP series:
Clearpath CPM-SDHP-3421P-ELN  (350W cont)     $618

Whereas the DMM offering:
A DMM 60V servo drive   $138
A DMM 400W servo        $147
Total                             $285

So for a 350W/400W servo the clearpath offering is over twice the DMM equivalent.

The DMM have 16bit  absolute encoders whereas Clearpaths have 6000 count incrementals, and 16bit absolute beats 6000 count incremental any day of the week.

Make no mistake that Clearpaths are good, and they play the marketing card very well capturing customers who want to upgrade from steppers
but they are in fact nothing special. All good AC servos can claim all and more than Clearpath and for cheaper too.

Craig

4179
HiCON Motion Controller / Re: Following Error
« on: June 29, 2018, 07:14:24 PM »
Hi,

Quote
why not just use clearpath servo the feedback is built in no need to add a option board to the hilcon 

Clearpath  servos are expensive, very good certainly but represent anywhere between an extra 50% to 200% increase over DMM and/or Delta servos for the same power
AND DMM and Delta have way better encoders and electronic gearing.

The extra cost of servos is still considerably more than the activation fee of the HiCon. OP howver alredy has closed loop steppers and matching drivers so the HiCon activation is not
strictly required.

Having said that given that OP has both Hicon activation and some plain non-feedback stepper drivers there is the possibility for OP to experiment with the two ways of closing
the loop. That experimentation will markedly improve the prospect of arriving at an optimum solution.

Craig

4180
Hi,
hopefully the attached pic may help.

In operation we want the error between the commanded position and the actual (encoder) position to be as small as we can, ie
small following error. The error (small) is amplified by the three gain blocks, P, I and D. In order that the current be maximized to the servo for maximum
acceleration and speed then the combined gains must be as big as we can make them because the input to the blocks is so small.

The G320 manual tells us to tune you turn the I down to zero, and then turn up a little D, then some P until it starts getting a bit unstable. Then dial in some
more D and then a little more P. You keep repeating it until you get the GREATEST amount of P gain you can AND still be stable.

This is the trick to tuning...you are trying to maximize the Proportional gain and use the minimum amount of Differential gain to keep it stable
AND then add a little I gain to get acceptable steady state error following.

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 »