Changes for page 07 Adjustments

Last modified by Iris on 2025/07/24 11:03

From version 18.1
edited by Stone Wu
on 2022/09/23 14:44
Change comment: There is no comment for this version
To version 21.2
edited by Karen
on 2023/05/15 14:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.Karen
Content
... ... @@ -184,7 +184,7 @@
184 184  
185 185  The default current loop gain of the servo drive has ensured sufficient responsiveness. Generally, no adjustment is required. Only the position loop gain, speed loop gain and other auxiliary gains need to be adjusted.
186 186  
187 -This servo drive has two sets of gain parameters for position loop and speed loop. The user can switch the two sets of gain parameters according to the setting value of P02-07 the 2nd gain switching mode. The parameters are are below.
187 +This servo drive has two sets of gain parameters for position loop and speed loop. The user can switch the two sets of gain parameters according to the setting value of P02-07 the 2nd gain switching mode. The parameters are below.
188 188  
189 189  (% class="table-bordered" %)
190 190  |=(% scope="row" style="text-align: center; vertical-align: middle; width: 450px;" %)**Function code**|=(% style="text-align: center; vertical-align: middle; width: 751px;" %)**Name**
... ... @@ -342,6 +342,890 @@
342 342  
343 343  Table 7-10 Torque feedforward parameters
344 344  
345 +== **Model Tracking Control Function** ==
346 +
347 +Model tracking control is suitable for position control mode, which adds a model loop outside the three loops. In the model loop, new position commands, speed feedforward and torque feedforward and other control quantities are generated according to the user's response requirements to the system and the ideal motor control model. Applying these control quantities to the actual control loop can significantly improve the response performance and positioning performance of the position control, the design block diagram is as follows:
348 +
349 +(% style="text-align:center" %)
350 +(((
351 +(% class="wikigeneratedid img-thumbnail" style="display:inline-block" %)
352 +[[**Figure 7-7 Block Diagram of Model Tracking Control Design**>>image:20230515-7.png||id="20230515-7.png"]]
353 +)))
354 +
355 +The usage method and conditions of model tracking control:
356 +
357 +~1. Correctly set the inertia ratio of the system P3-1, which can be obtained by monitoring the real-time load inertia ratio of U0-20.
358 +
359 +2. Set the load rigidity level P3-2, set an appropriate value, it does not need to set a high rigidity level (recommended value 17~~21 under rigid load).
360 +
361 +3. Set P2-20=1 to enable the function of model tracking control.
362 +
363 +4. Adjust the P2-21 model tracking control gain from small to large, and gradually increase in steps of 1000 until the responsiveness of the system meets the actual demand. The responsiveness of the system is mainly determined by this parameter.
364 +
365 +5. After the responsiveness meets the requirements, user can adjust the parameters appropriately to increase the load rigidity level P3-2.
366 +
367 +(% class="box infomessage" %)
368 +(((
369 +**✎Note**: Model tracking control is only available in position mode, and cannot be used in other modes.
370 +
371 +(% class="table-bordered" %)
372 +|=(% scope="row" style="text-align: center; vertical-align: middle; width: 120px;" %)**Function code**|=(% style="text-align: center; vertical-align: middle; width: 163px;" %)**Name**|=(% style="text-align: center; vertical-align: middle; width: 122px;" %)(((
373 +**Setting method**
374 +)))|=(% style="text-align: center; vertical-align: middle; width: 128px;" %)(((
375 +**Effective time**
376 +)))|=(% style="text-align: center; vertical-align: middle; width: 103px;" %)**Default value**|=(% style="text-align: center; vertical-align: middle; width: 107px;" %)**Range**|=(% style="text-align: center; vertical-align: middle; width: 321px;" %)**Definition**|=(% style="text-align: center; vertical-align: middle;" %)**Unit**
377 +|=(% style="text-align: center; vertical-align: middle; width: 120px;" %)P2-20|(% style="text-align:center; vertical-align:middle; width:163px" %)Model tracking control function|(% style="text-align:center; vertical-align:middle; width:122px" %)(((
378 +Shutdown setting
379 +)))|(% style="text-align:center; vertical-align:middle; width:128px" %)(((
380 +Effective immediately
381 +)))|(% style="text-align:center; vertical-align:middle; width:103px" %)0|(% style="text-align:center; vertical-align:middle; width:107px" %)0 to 1|When the function code is set to 1, enable the model tracking control function.|
382 +|=(% style="text-align: center; vertical-align: middle; width: 120px;" %)P2-21|(% style="text-align:center; vertical-align:middle; width:163px" %)Model tracking  control gain|(% style="text-align:center; vertical-align:middle; width:122px" %)(((
383 +Shutdown setting
384 +)))|(((
385 +Effective immediately
386 +)))|(% style="text-align:center; vertical-align:middle; width:103px" %)1000|(% style="text-align:center; vertical-align:middle; width:107px" %)200 to 20000|(% rowspan="2" %)(% style="width:321px" %)Increasing the model tracking control gain can improve the position response performance of the model loop. If the gain is too high, it may cause overshoot behavior. The gain compensation affects the damping ratio of the model loop, and the damping ratio becomes larger as the gain compensation becomes larger.|(% style="text-align:center; vertical-align:middle" %)0.1/s
387 +
388 +|=(% style="text-align: center; vertical-align: middle; width: 120px;" %)P2-22|(% style="text-align:center; vertical-align:middle; width:163px" %)Model tracking control gain compensation|Shutdown setting|(((
389 +Effective immediately
390 +)))|1000|(% style="text-align:center; vertical-align:middle; width:107px" %)500 to 2000|(% style="text-align:center; vertical-align:middle" %)0.10%
391 +
392 +(% class="table-bordered" %)
393 +|=(% scope="row" style="text-align: center; vertical-align: middle; width: 120px;" %)**Function code**|=(% style="text-align: center; vertical-align: middle; width: 163px;" %)**Name**|=(% style="text-align: center; vertical-align: middle; width: 122px;" %)(((
394 +**Setting method**
395 +)))|=(% style="text-align: center; vertical-align: middle; width: 128px;" %)(((
396 +**Effective time**
397 +)))|=(% style="text-align: center; vertical-align: middle; width: 103px;" %)**Default value**|=(% style="text-align: center; vertical-align: middle; width: 107px;" %)**Range**|=(% style="text-align: center; vertical-align: middle; width: 321px;" %)**Definition**|=(% style="text-align: center; vertical-align: middle;" %)**Unit**
398 +|=(% style="text-align: center; vertical-align: middle; width: 120px;" %)P2-23|(% style="text-align:center; vertical-align:middle; width:163px" %)Model tracking control forward rotation bias|(((
399 +Operation setting
400 +)))|(((
401 +Effective immediately
402 +)))|(% style="text-align:center; vertical-align:middle; width:103px" %)1000|(% style="text-align:center; vertical-align:middle; width:107px" %)0 to 10000|(% rowspan="2" %)(% style="width:321px" %)Torque feedforward size in the positive and reverse direction under model tracking control|(% style="text-align:center; vertical-align:middle" %)0.10%
403 +|=(% style="text-align: center; vertical-align: middle; width: 120px;" %)P2-24|(% style="text-align:center; vertical-align:middle; width:163px" %)Model tracking control reverses rotation bias|(((
404 +Operation setting
405 +)))|(((
406 +Effective immediately
407 +)))|1000|(% style="text-align:center; vertical-align:middle; width:107px" %)0 to 10000|0.10%
408 +|=(% style="text-align: center; vertical-align: middle; width: 120px;" %)P2-25|(% style="text-align:center; vertical-align:middle; width:163px" %)Model tracking control speed feedforward compensation|Operation setting|(((
409 +Effective immediately
410 +)))|(% style="text-align:center; vertical-align:middle; width:103px" %)1000|(% style="text-align:center; vertical-align:middle; width:107px" %)0 to 10000|(% style="width:321px" %)The size of the speed feedforward under model tracking control|(% style="text-align:center; vertical-align:middle" %)0.10%
411 +
412 +Please refer to the following for an example of the procedure of adjusting servo gain.
413 +
414 +|**Step**|** Content**
415 +|1|Please try to set the correct load inertia ratio parameter P3-1.
416 +|2|If the automatic adjustment mode is used (P3-3 is set to 0), please set the basic rigidity level parameter P3-2. If in manual adjustment mode (P3-3 is set to 1), please set the gain P2-1~~P2-3 related to the position loop and speed loop and the torque filter time constant P4-4. The setting principle is mainly no vibration and overshoot.
417 +|3|Turn on the model tracking function, set P2-20 to 1.
418 +|4|Increase the model tracking gain P2-21 within the range of no overshoot and vibration occurring.
419 +|5|If the rigidity level of step 2 is set relatively low, user can properly increase the rigidity level P3-2.
420 +|6|When overshoot occurs, or the responses of forward rotation and reverse rotation are different, user can fine-tune through model tracking control forward bias P2-23, model tracking control reverse bias P2-24, model tracking control speed feedforward compensation P2 -25.
421 +
422 +== **Gain switching** ==
423 +
424 +Gain switching function:
425 +
426 +●Switch to a lower gain in the motor stationary (servo enabled)state to suppress vibration;
427 +
428 +●Switch to a higher gain in the motor stationary state to shorten the positioning time;
429 +
430 +●Switch to a higher gain in the motor running state to get better command tracking performance;
431 +
432 +●Switch different gain settings by external signals depending on the load connected.
433 +
434 +(1) Gain switching parameter setting
435 +
436 +①When P02-07=0
437 +
438 +Fixed use of the first gain (using P02-01~~P02-03), and the switching of P/PI (proportional/proportional integral) control could be realized through DI function 10 (GAIN-SEL, gain switching).
439 +
440 +(% style="text-align:center" %)
441 +[[image:20230515-8.png]]
442 +
443 +② When P02-07=1
444 +
445 +The switching conditions can be set through parameter P02-08 to realize switching between the first gain (P02-01~~P02-03) and the second gain (P02-04~~P02-06).
446 +
447 +(% style="text-align:center" %)
448 +[[image:20230515-9.png]]
449 +
450 +Figure 7-9 Flow chart of gain switching when P02-07=1
451 +
452 +|(% style="width:72px" %)**P02-08**|(% style="width:146px" %)**Content**|**Diagram**
453 +|(% style="width:72px" %)0|(% style="width:146px" %)Fixed use of the first gain|~-~-
454 +|(% style="width:72px" %)1|(% style="width:146px" %)Switching with DI|~-~-
455 +|(% style="width:72px" %)(((
456 +
457 +
458 +
459 +
460 +
461 +
462 +2
463 +)))|(% style="width:146px" %)(((
464 +
465 +
466 +
467 +
468 +
469 +
470 +Large torque command
471 +)))|[[image:image-20230515140641-1.png]]
472 +|(% style="width:72px" %)(((
473 +
474 +
475 +
476 +
477 +
478 +
479 +
480 +3
481 +)))|(% style="width:146px" %)Large actual torque|[[image:image-20230515140641-2.png]]
482 +|(% style="width:72px" %)(((
483 +
484 +
485 +
486 +
487 +
488 +
489 +4
490 +)))|(% style="width:146px" %)(((
491 +
492 +
493 +
494 +
495 +
496 +
497 +Large speed command
498 +)))|[[image:image-20230515140641-3.png]]
499 +
500 +|(% style="width:74px" %)**P02-08**|(% style="width:176px" %)**Content**|**Diagram**
501 +|(% style="width:74px" %)(((
502 +
503 +
504 +
505 +
506 +
507 +5
508 +)))|(% style="width:176px" %)(((
509 +
510 +
511 +
512 +
513 +
514 +Fast actual speed
515 +)))|(((
516 +
517 +
518 +[[image:image-20230515140641-4.png]]
519 +)))
520 +|(% style="width:74px" %)(((
521 +
522 +
523 +
524 +
525 +
526 +
527 +
528 +6
529 +)))|(% style="width:176px" %)(((
530 +
531 +
532 +
533 +
534 +
535 +
536 +
537 +Speed command change rate is large
538 +)))|[[image:image-20230515140641-5.png]]
539 +|(% style="width:74px" %)(((
540 +
541 +
542 +
543 +
544 +
545 +
546 +7
547 +
548 +
549 +)))|(% style="width:176px" %)(((
550 +
551 +
552 +
553 +
554 +
555 +
556 +Large position deviation
557 +)))|[[image:image-20230515140641-6.png]]
558 +|(% style="width:74px" %)(((
559 +
560 +
561 +
562 +
563 +
564 +8
565 +)))|(% style="width:176px" %)(((
566 +
567 +
568 +
569 +
570 +
571 +Position command
572 +)))|[[image:image-20230515140641-7.png]]
573 +
574 +|(% style="width:73px" %)(((
575 +
576 +
577 +
578 +
579 +
580 +
581 +9
582 +)))|(% style="width:154px" %)(((
583 +
584 +
585 +
586 +
587 +
588 +
589 +Positioning completed
590 +)))|[[image:image-20230515140641-8.png]]
591 +|(% style="width:73px" %)(((
592 +
593 +
594 +10
595 +
596 +
597 +)))|(% style="width:154px" %)(((
598 +
599 +
600 +Position command + actual speed
601 +)))|(((
602 +
603 +
604 +Refer to the chart below
605 +)))
606 +
607 +(% style="text-align:center" %)
608 +[[image:20230515-10.png]]
609 +
610 +Figure 7-10 P02-08=10 Position command + actual speed gain description
611 +
612 +(2) Description of related parameters
613 +
614 +|(% rowspan="2" style="width:68px" %)
615 +**P02-07**|(% style="width:150px" %)**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
616 +|(% style="width:150px" %)The second gain switching mode|Operation setting|Effective immediately|0|0 to 1|Gain control|
617 +|(% colspan="8" %)(((
618 +Set the switching mode of the second gain.
619 +
620 +|**Setting value**|**Function**
621 +|0|(((
622 +The first gain is used by default. Switching using DI function 10 (GAIN-SEL, gain switching):
623 +
624 +DI logic invalid: PI control;
625 +
626 +DI logic valid: PI control.
627 +)))
628 +|1|The first gain and the second gain are switched by the setting value of P02-08.
629 +)))
630 +
631 +|(% rowspan="2" %)
632 +**P02-08**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
633 +|Gain switching condition selection|Operation setting|Effective immediately|0|0 to 10|Gain control|
634 +|(% colspan="8" %)(((
635 +Set the conditions for gain switching.
636 +
637 +|Setting value|Gain switching conditions|Details
638 +|0|The default is the first gain|Fixed use of the first gain
639 +|1|Switch by DI port|(((
640 +Use DI function 10 (GAIN-SEL, gain switching);
641 +
642 +DI logic is invalid: the first gain (P02-01~~P02-03);
643 +
644 +DI logic is valid: the second gain (P02-04~~P02-06).
645 +)))
646 +|2|Large torque command|(((
647 +In the previous first gain, when the absolute value of torque command is greater than (grade + hysteresis), the second gain is switched;
648 +
649 +In the previous second gain, when the absolute value of torque command is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned.
650 +
651 +
652 +)))
653 +|3|Large actual torque|(((
654 +In the previous first gain, when the absolute value of actual torque is greater than ( grade + hysteresis ), the second gain is switched;
655 +
656 +In the previous second gain, when the absolute value of actual torque is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
657 +
658 +
659 +)))
660 +|4|Large speed command|(((
661 +In the previous first gain, when the absolute value of speed command is greater than (grade + hysteresis), the second gain is switched;
662 +
663 +In the previous second gain, when the absolute value of speed command is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
664 +
665 +
666 +)))
667 +|5|Large actual speed|(((
668 +In the previous first gain, when the absolute value of actual speed is greater than (grade + hysteresis), the second gain is switched;
669 +
670 +In the previous second gain, when the absolute value of actual speed is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
671 +
672 +
673 +)))
674 +|(((
675 +
676 +
677 +6
678 +)))|(((
679 +
680 +
681 +Large rate of change in speed command
682 +)))|(((
683 +In the previous first gain, when the absolute value of the rate of change in speed command is greater than (grade + hysteresis), the second gain is switched;
684 +
685 +In the previous second gain, switch to the first gain when the absolute value of the rate of change in speed command is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
686 +
687 +
688 +)))
689 +|(((
690 +
691 +
692 +7
693 +)))|(((
694 +
695 +
696 +Large position deviation
697 +)))|(((
698 +In the previous first gain, when the absolute value of position deviation is greater than (grade + hysteresis), the second gain is switched;
699 +
700 +In the previous second gain, switch to the first gain when the absolute value of position deviation is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
701 +)))
702 +|8|Position command|(((
703 +In the previous first gain, if the position command is not 0, switch to the second gain;
704 +
705 +In the previous second gain, if the position command is 0 and the duration is greater than [P02-13], the first gain is returned.
706 +)))
707 +|(((
708 +
709 +
710 +9
711 +)))|(((
712 +
713 +
714 +Positioning complete
715 +)))|(((
716 +In the previous first gain, if the positioning is not completed, the second gain is switched; In the previous second gain, if the positioning is not completed and the duration is greater than [P02-13], the first gain is returned.
717 +
718 +
719 +)))
720 +|(((
721 +
722 +
723 +10
724 +)))|(((
725 +
726 +
727 +Position command + actual speed
728 +)))|(((
729 +In the previous first gain, if the position command is not 0, the second gain is switched;
730 +
731 +In the previous second gain, if the position command is 0, the duration is greater than [P02-13] and the absolute value of actual speed is less than ( grade - hysteresis).
732 +
733 +
734 +)))
735 +
736 +
737 +)))
738 +
739 +|(% rowspan="2" %)
740 +**P02-13**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
741 +|Delay Time for Gain Switching|Operation setting|Effective immediately|20|0 to 10000|Gain control|0.1ms
742 +|(% colspan="8" %)(((
743 +The duration of the switching condition required for the second gain to switch back to the first gain.
744 +
745 +[[image:image-20230515140953-9.png]]
746 +
747 +**✎**Note: This parameter is only valid when the second gain is switched back to the first gain.
748 +)))
749 +
750 +|(% rowspan="2" %)
751 +**P02-14**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
752 +|Gain switching grade|Operation setting|Effective immediately|50|0 to 20000|Gain control|According to the switching conditions
753 +|(% colspan="8" %)(((
754 +Set the grade of the gain condition. The generation of the actual switching action is affected by the two conditions of grade and hysteresis.
755 +
756 +[[image:image-20230515140953-10.png]]
757 +)))
758 +
759 +|(% rowspan="2" %)
760 +**P02-15**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
761 +|Gain switching hysteresis|Operation setting|Effective immediately|20|0 to 20000|Gain control|According to the switching conditions
762 +|(% colspan="8" %)(((
763 +Set the hysteresis to meet the gain switching condition.
764 +
765 +[[image:image-20230515140953-11.png]]
766 +)))
767 +
768 +|(% rowspan="2" %)
769 +**P02-16**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
770 +|Position loop gain switching time|Operation setting|Effective immediately|30|0 to 10000|Gain control|0.1ms
771 +|(% colspan="8" %)(((
772 +Set the time for switching from the first position loop (P02-01) to the second position loop (P02-04) in the position control mode.
773 +
774 +[[image:image-20230515140953-12.png]]
775 +
776 +If P02-04≤P02-01, then P02-16 is invalid, and the second gain is switched from the first gain immediately.
777 +)))
778 +
779 +
780 +
781 +== **Model Tracking Control Function** ==
782 +
783 +Model tracking control is suitable for position control mode, which adds a model loop outside the three loop. In the model loop, new position commands, speed feedforward and torque feedforward and other control quantities are generated according to the user's response requirements to the system and the ideal motor control model. Applying these control quantities to the actual control loop can significantly improve the response performance and positioning performance of the position control, the design block diagram is as follows:
784 +
785 +(% style="text-align:center" %)
786 +[[image:20230515-7.png]]
787 +
788 +The usage method and conditions of model tracking control:
789 +
790 +~1. Correctly set the inertia ratio of the system P3-1, which can be obtained by monitoring the real-time load inertia ratio of U0-20.
791 +
792 +2. Set the load rigidity level P3-2, set an appropriate value, it is not need to set a high rigidity level (recommended value 17~~21 under rigid load).
793 +
794 +3. Set P2-20=1 to enable the function of model tracking control.
795 +
796 +4. Adjust the P2-21 model tracking control gain from small to large, and gradually increase in steps of 1000 until the responsiveness of the system meets the actual demand. The responsiveness of the system is mainly determined by this parameter.
797 +
798 +5. After the responsiveness meets the requirements, user can adjust the parameters appropriately to increase the load rigidity level P3-2.
799 +
800 +**✎Note**: Model tracking control is only available in position mode, and cannot be used in other modes.
801 +
802 +|**Function code**|**Name**|(((
803 +**Setting**
804 +
805 +**method**
806 +)))|(((
807 +**Effective**
808 +
809 +**time**
810 +)))|**Default**|**Range**|**Definition**|**Unit**
811 +|P2-20|Model tracking control function|Shutdown setting|(((
812 +Effective
813 +
814 +immediately
815 +)))|0|0 to 1|When the function code is set to 1, enable the model tracking control function.|
816 +|P2-21|Model tracking control gain|Shutdown setting|(((
817 +Effective
818 +
819 +immediately
820 +)))|1000|200 to 20000|(% rowspan="2" %)Increasing the model tracking control gain can improve the position response performance of the model loop. If the gain is too high, it may cause overshoot behavior. The gain compensation affects the damping ratio of the model loop, and the damping ratio becomes larger as the gain compensation becomes larger.|0.1/s
821 +|P2-22|Model tracking control gain compensation|Shutdown setting|(((
822 +Effective
823 +
824 +immediately
825 +)))|1000|500 to 2000|0.10%
826 +
827 +|**Function code**|**Name**|(((
828 +**Setting**
829 +
830 +**method**
831 +)))|(((
832 +**Effective**
833 +
834 +**time**
835 +)))|**Default**|**Range**|**Definition**|**Unit**
836 +|P2-23|Model tracking control forward rotation bias|(((
837 +Operation
838 +
839 +setting
840 +)))|(((
841 +Effective
842 +
843 +immediately
844 +)))|1000|0 to 10000|(% rowspan="2" %)Torque feedforward size in the positive and reverse direction under model tracking control|0.10%
845 +|P2-24|Model tracking control reverses rotation bias|(((
846 +Operation
847 +
848 +setting
849 +)))|(((
850 +Effective
851 +
852 +immediately
853 +)))|1000|0 to 10000|0.10%
854 +|P2-25|Model tracking control speed feedforward compensation|Operation setting|(((
855 +Effective
856 +
857 +immediately
858 +)))|1000|0 to 10000|The size of the speed feedforward under model tracking control|0.10%
859 +
860 +Please refer to the following for an example of the procedure of adjusting servo gain.
861 +
862 +|**Step**|**Content**
863 +|1|Please try to set the correct load inertia ratio parameter P3-1.
864 +|2|If the automatic adjustment mode is used (P3-3 is set to 0), please set the basic rigidity level parameter P3-2. If in manual adjustment mode (P3-3 is set to 1), please set the gain P2-1~~P2-3 related to the position loop and speed loop and the torque filter time constant P4-4. The setting principle is mainly no vibration and overshoot.
865 +|3|Turn on the model tracking function, set P2-20 to 1.
866 +|4|Increase the model tracking gain P2-21 within the range of no overshoot and vibration occur.
867 +|5|If the rigidity level of step 2 is set relatively low, user can properly increase the rigidity level P3-2.
868 +|6|When overshoot occurs, or the responses of forward rotation and reverse rotation are different, user can fine-tune through model tracking control forward bias P2-23, model tracking control reverse bias P2-24, model tracking control speed feedforward compensation P2 -25.
869 +
870 +== **Gain switching** ==
871 +
872 +Gain switching function:
873 +
874 +●Switch to a lower gain in the motor stationary (servo enabled)state to suppress vibration;
875 +
876 +●Switch to a higher gain in the motor stationary state to shorten the positioning time;
877 +
878 +●Switch to a higher gain in the motor running state to get better command tracking performance;
879 +
880 +●Switch different gain settings by external signals depending on the load connected.
881 +
882 +(1) Gain switching parameter setting
883 +
884 +①When P02-07=0
885 +
886 +Fixed use of the first gain (using P02-01~~P02-03), and the switching of P/PI (proportional/proportional integral) control could be realized through DI function 10 (GAIN-SEL, gain switching).
887 +
888 +(% style="text-align:center" %)
889 +[[image:20230515-8.png]]
890 +
891 +② When P02-07=1
892 +
893 +The switching conditions can be set through parameter P02-08 to realize switching between the first gain (P02-01~~P02-03) and the second gain (P02-04~~P02-06).
894 +
895 +(% style="text-align:center" %)
896 +[[image:20230515-9.png]]
897 +
898 +Figure 7-9 Flow chart of gain switching when P02-07=1
899 +
900 +|(% style="width:72px" %)**P02-08**|(% style="width:146px" %)**Content**|**Diagram**
901 +|(% style="width:72px" %)0|(% style="width:146px" %)Fixed use of the first gain|~-~-
902 +|(% style="width:72px" %)1|(% style="width:146px" %)Switching with DI|~-~-
903 +|(% style="width:72px" %)(((
904 +
905 +
906 +
907 +
908 +
909 +
910 +2
911 +)))|(% style="width:146px" %)(((
912 +
913 +
914 +
915 +
916 +
917 +
918 +Large torque command
919 +)))|[[image:image-20230515140641-1.png]]
920 +|(% style="width:72px" %)(((
921 +
922 +
923 +
924 +
925 +
926 +
927 +
928 +3
929 +)))|(% style="width:146px" %)Large actual torque|[[image:image-20230515140641-2.png]]
930 +|(% style="width:72px" %)(((
931 +
932 +
933 +
934 +
935 +
936 +
937 +4
938 +)))|(% style="width:146px" %)(((
939 +
940 +
941 +
942 +
943 +
944 +
945 +Large speed command
946 +)))|[[image:image-20230515140641-3.png]]
947 +
948 +|(% style="width:74px" %)**P02-08**|(% style="width:176px" %)**Content**|**Diagram**
949 +|(% style="width:74px" %)(((
950 +
951 +
952 +
953 +
954 +
955 +5
956 +)))|(% style="width:176px" %)(((
957 +
958 +
959 +
960 +
961 +
962 +Fast actual speed
963 +)))|(((
964 +
965 +
966 +[[image:image-20230515140641-4.png]]
967 +)))
968 +|(% style="width:74px" %)(((
969 +
970 +
971 +
972 +
973 +
974 +
975 +
976 +6
977 +)))|(% style="width:176px" %)(((
978 +
979 +
980 +
981 +
982 +
983 +
984 +
985 +Speed command change rate is large
986 +)))|[[image:image-20230515140641-5.png]]
987 +|(% style="width:74px" %)(((
988 +
989 +
990 +
991 +
992 +
993 +
994 +7
995 +
996 +
997 +)))|(% style="width:176px" %)(((
998 +
999 +
1000 +
1001 +
1002 +
1003 +
1004 +Large position deviation
1005 +)))|[[image:image-20230515140641-6.png]]
1006 +|(% style="width:74px" %)(((
1007 +
1008 +
1009 +
1010 +
1011 +
1012 +8
1013 +)))|(% style="width:176px" %)(((
1014 +
1015 +
1016 +
1017 +
1018 +
1019 +Position command
1020 +)))|[[image:image-20230515140641-7.png]]
1021 +
1022 +|(% style="width:73px" %)(((
1023 +
1024 +
1025 +
1026 +
1027 +
1028 +
1029 +9
1030 +)))|(% style="width:154px" %)(((
1031 +
1032 +
1033 +
1034 +
1035 +
1036 +
1037 +Positioning completed
1038 +)))|[[image:image-20230515140641-8.png]]
1039 +|(% style="width:73px" %)(((
1040 +
1041 +
1042 +10
1043 +
1044 +
1045 +)))|(% style="width:154px" %)(((
1046 +
1047 +
1048 +Position command + actual speed
1049 +)))|(((
1050 +
1051 +
1052 +Refer to the chart below
1053 +)))
1054 +
1055 +(% style="text-align:center" %)
1056 +[[image:20230515-10.png]]
1057 +
1058 +Figure 7-10 P02-08=10 Position command + actual speed gain description
1059 +
1060 +(2) Description of related parameters
1061 +
1062 +|(% rowspan="2" style="width:68px" %)
1063 +**P02-07**|(% style="width:150px" %)**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
1064 +|(% style="width:150px" %)The second gain switching mode|Operation setting|Effective immediately|0|0 to 1|Gain control|
1065 +|(% colspan="8" %)(((
1066 +Set the switching mode of the second gain.
1067 +
1068 +|**Setting value**|**Function**
1069 +|0|(((
1070 +The first gain is used by default. Switching using DI function 10 (GAIN-SEL, gain switching):
1071 +
1072 +DI logic invalid: PI control;
1073 +
1074 +DI logic valid: PI control.
1075 +)))
1076 +|1|The first gain and the second gain are switched by the setting value of P02-08.
1077 +)))
1078 +
1079 +|(% rowspan="2" %)
1080 +**P02-08**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
1081 +|Gain switching condition selection|Operation setting|Effective immediately|0|0 to 10|Gain control|
1082 +|(% colspan="8" %)(((
1083 +Set the conditions for gain switching.
1084 +
1085 +|Setting value|Gain switching conditions|Details
1086 +|0|The default is the first gain|Fixed use of the first gain
1087 +|1|Switch by DI port|(((
1088 +Use DI function 10 (GAIN-SEL, gain switching);
1089 +
1090 +DI logic is invalid: the first gain (P02-01~~P02-03);
1091 +
1092 +DI logic is valid: the second gain (P02-04~~P02-06).
1093 +)))
1094 +|2|Large torque command|(((
1095 +In the previous first gain, when the absolute value of torque command is greater than (grade + hysteresis), the second gain is switched;
1096 +
1097 +In the previous second gain, when the absolute value of torque command is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned.
1098 +
1099 +
1100 +)))
1101 +|3|Large actual torque|(((
1102 +In the previous first gain, when the absolute value of actual torque is greater than ( grade + hysteresis ), the second gain is switched;
1103 +
1104 +In the previous second gain, when the absolute value of actual torque is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
1105 +
1106 +
1107 +)))
1108 +|4|Large speed command|(((
1109 +In the previous first gain, when the absolute value of speed command is greater than (grade + hysteresis), the second gain is switched;
1110 +
1111 +In the previous second gain, when the absolute value of speed command is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
1112 +
1113 +
1114 +)))
1115 +|5|Large actual speed|(((
1116 +In the previous first gain, when the absolute value of actual speed is greater than (grade + hysteresis), the second gain is switched;
1117 +
1118 +In the previous second gain, when the absolute value of actual speed is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
1119 +
1120 +
1121 +)))
1122 +|(((
1123 +
1124 +
1125 +6
1126 +)))|(((
1127 +
1128 +
1129 +Large rate of change in speed command
1130 +)))|(((
1131 +In the previous first gain, when the absolute value of the rate of change in speed command is greater than (grade + hysteresis), the second gain is switched;
1132 +
1133 +In the previous second gain, switch to the first gain when the absolute value of the rate of change in speed command is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
1134 +
1135 +
1136 +)))
1137 +|(((
1138 +
1139 +
1140 +7
1141 +)))|(((
1142 +
1143 +
1144 +Large position deviation
1145 +)))|(((
1146 +In the previous first gain, when the absolute value of position deviation is greater than (grade + hysteresis), the second gain is switched;
1147 +
1148 +In the previous second gain, switch to the first gain when the absolute value of position deviation is less than the value of (grade - hysteresis) and the duration is greater than [P02-13], the first gain is returned .
1149 +)))
1150 +|8|Position command|(((
1151 +In the previous first gain, if the position command is not 0, switch to the second gain;
1152 +
1153 +In the previous second gain, if the position command is 0 and the duration is greater than [P02-13], the first gain is returned.
1154 +)))
1155 +|(((
1156 +
1157 +
1158 +9
1159 +)))|(((
1160 +
1161 +
1162 +Positioning complete
1163 +)))|(((
1164 +In the previous first gain, if the positioning is not completed, the second gain is switched; In the previous second gain, if the positioning is not completed and the duration is greater than [P02-13], the first gain is returned.
1165 +
1166 +
1167 +)))
1168 +|(((
1169 +
1170 +
1171 +10
1172 +)))|(((
1173 +
1174 +
1175 +Position command + actual speed
1176 +)))|(((
1177 +In the previous first gain, if the position command is not 0, the second gain is switched;
1178 +
1179 +In the previous second gain, if the position command is 0, the duration is greater than [P02-13] and the absolute value of actual speed is less than ( grade - hysteresis).
1180 +
1181 +
1182 +)))
1183 +
1184 +
1185 +)))
1186 +
1187 +|(% rowspan="2" %)
1188 +**P02-13**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
1189 +|Delay Time for Gain Switching|Operation setting|Effective immediately|20|0 to 10000|Gain control|0.1ms
1190 +|(% colspan="8" %)(((
1191 +The duration of the switching condition required for the second gain to switch back to the first gain.
1192 +
1193 +[[image:image-20230515140953-9.png]]
1194 +
1195 +**✎**Note: This parameter is only valid when the second gain is switched back to the first gain.
1196 +)))
1197 +
1198 +|(% rowspan="2" %)
1199 +**P02-14**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
1200 +|Gain switching grade|Operation setting|Effective immediately|50|0 to 20000|Gain control|According to the switching conditions
1201 +|(% colspan="8" %)(((
1202 +Set the grade of the gain condition. The generation of the actual switching action is affected by the two conditions of grade and hysteresis.
1203 +
1204 +[[image:image-20230515140953-10.png]]
1205 +)))
1206 +
1207 +|(% rowspan="2" %)
1208 +**P02-15**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
1209 +|Gain switching hysteresis|Operation setting|Effective immediately|20|0 to 20000|Gain control|According to the switching conditions
1210 +|(% colspan="8" %)(((
1211 +Set the hysteresis to meet the gain switching condition.
1212 +
1213 +[[image:image-20230515140953-11.png]]
1214 +)))
1215 +
1216 +|(% rowspan="2" %)
1217 +**P02-16**|**Parameter name**|**Setting method**|**Effective time**|**Default**|**Set range**|**Application category**|**Unit**
1218 +|Position loop gain switching time|Operation setting|Effective immediately|30|0 to 10000|Gain control|0.1ms
1219 +|(% colspan="8" %)(((
1220 +Set the time for switching from the first position loop (P02-01) to the second position loop (P02-04) in the position control mode.
1221 +
1222 +[[image:image-20230515140953-12.png]]
1223 +
1224 +If P02-04≤P02-01, then P02-16 is invalid, and the second gain is switched from the first gain immediately.
1225 +)))
1226 +
1227 +
1228 +
345 345  = **Mechanical resonance suppression** =
346 346  
347 347  == Mechanical resonance suppression methods ==
20230515-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +10.3 KB
Content
20230515-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +9.9 KB
Content
20230515-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +21.5 KB
Content
20230515-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +18.7 KB
Content
image-20230515140641-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +23.1 KB
Content
image-20230515140641-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +11.9 KB
Content
image-20230515140641-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +12.8 KB
Content
image-20230515140641-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +11.0 KB
Content
image-20230515140641-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +20.5 KB
Content
image-20230515140641-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +18.1 KB
Content
image-20230515140641-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +10.4 KB
Content
image-20230515140641-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +11.4 KB
Content
image-20230515140953-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +23.7 KB
Content
image-20230515140953-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +23.1 KB
Content
image-20230515140953-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +14.5 KB
Content
image-20230515140953-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Karen
Size
... ... @@ -1,0 +1,1 @@
1 +24.4 KB
Content