142
Atlas® Digital Amplifier Complete Technical Reference
6
SetFOC (cont.)
buffered
F6
h
GetFOC
F7
h
Description
(cont.)
Similarly, setting
KiDQ
to 256 gives it a gain of 1; the value of the integral sum would become the integral
contribution to the output.
ILimitDQ
is used to limit the contribution of the integral sum at the output. Its effect depends on the
value of
KiDQ
. Setting
IlimitDQ
to 1000 when
KiDQ
is 10 means that the maximum contribution to the
output is 1000 x 10 = 10,000 out of 2^15 - 1 or approximately 30.5%. The units of time for the integral
sum are cycles.
The
loop
argument allows individual configuration of the parameters for the D and Q current loops.
Alternately, a
loop
of 2 can be used with
SetFOC
to set the D and Q loops with a single API command.
A
loop
of 2 is not valid for
GetFOC
.
Restrictions
Set/GetFOC
are buffered commands. All parameters set are buffered, and will not take effect until an
update is done on the current loop by sending a torque command with the
Update
bit set. The values
read by
GetFOC
are the buffered settings.
These commands are only supported in products that include digital current control, and when the
current control mode is set to FOC.
see
,
Set/GetCurrentControlMode