Delta Tau PMAC2 PCI User Manual Page 54

  • Download
  • Add to my manuals
  • Print
  • Page
    / 101
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 53
PMAC2 User Manual
46 Setting Up PMAC2 Commutation (Direct PWM or Sine Wave)
64*
o
o
360
360%HEZ
Offset =
The offset computed here should be rounded to the nearest integer.
In our example, this comes to:
hex011667.1064
o
360
o
60
64
o
o
360
360%
o
60
Offset
Β
====
The test showed that the hall-effect sensors were in the reversed direction, not standard, so bit 22 is set to
one. With bit 23 (a value of 8 in the first hex digit) set to 1 to specify hall effect sensing, the first two hex
digits of Ix81 become $CB. If Flag register 1 at address $C000 were used for the hall-effect inputs, Ix81
would be set to $CBC000.
The description of Ix81 in the Software Reference shows the common values of offsets used, for all the
cases where the zero point in the hall-effect cycle is at a 0
o
, 60
o
, 120
o
, 180
o
, -120
o
, or -60
o
point -- where
manufacturers generally align the sensors.
Note:
Ix75 is not used for the phase position offset in this method. It can be used to store
the final correction based off fine phasing.
Overall Procedure Summary
The full phase reference then consists of the following steps:
Do a rough phase reference using the hall-effect sensors as specified by Ix81, either automatically on
power-up/reset if Ix80=1, or on the $ command if Ix80=0.
Do a homing search move on the motor, using the index pulse as part of the home trigger.
Wait for the motor to settle in-position (following error less than Ix27) at the home position using the
motor in-position status bit – suggested M-variable Mx40 – [WHILE(M140=0)...]
Force the motor phase position register to the pre-determined value at this point with a command like
Mx71=Ix75.
PLC-Based Hall-Effect Reference
Alternately a power-on PLC program could be used to do the hall-effect phasing. This is useful if extra
error trapping is desired, or if sensors of a different format are used.
A program based on the results of the example table would be:
OPEN PLC 1 CLEAR
IF (M128&7=2) ; Hall Effect State 1 (0 to -60 deg)?
M171=I171/-12 ; Set phase angle to -30 deg
P170=1 ; Phasing OK flag
ENDIF
IF (M128&7=6) ; Hall Effect State 2 (-60 to -120 deg)?
M171=I171*-3/12 ; Set phase angle to -90 deg
P170=1 ; Phasing OK flag
ENDIF
IF (M128&7=4) ; Hall Effect State 3 (-120 to -180 deg)?
M171=I171*-5/12 ; Set phase angle to -150 deg
P170=1 ; Phasing OK flag
ENDIF
IF (M128&7=5) ; Hall Effect State 4 (180 to 120 deg)?
M171=I171*5/12 ; Set phase angle to 150 deg
P170=1 ; Phasing OK flag
ENDIF
IF (M128&7=1) ; Hall Effect State 5 (120 to 60 deg)?
Page view 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 100 101

Comments to this Manuals

No comments