![PMD Atlas Compact Скачать руководство пользователя страница 141](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420141.webp)
Atlas® Digital Amplifier Complete Technical Reference
141
6
SetFOC
buffered
F6
h
GetFOC
F7
h
Syntax
SetFOC
loop
parameter value
GetFOC
loop
parameter
Motor Types
Arguments
Name
Instance
Encoding
loop
Direct(d)
0
Quadrature(q)
1
Both(d and q)
2
parameter
Proportional Gain (KpDQ)
0
Integral Gain (KiDQ)
1
Integral Sum Limit (ILimitDQ)
2
Type
Range/Scaling
value
unsigned 16 bits
see below
Packet
Structure
Description
Set/GetFOC
is used to configure the operating parameters of the FOC-Current control. See
for more information on how each
parameter
is used in the current loop processing. The
value
written/read is always an unsigned 16-bit value, with the parameter-specific scaling shown below:
A setting of 64 for
KpDQ
corresponds to a gain of 1. That is, an error signal of 30% maximum current will cause
the proportional contribution of the current loop output to be 30% of maximum output.
Brushless DC
Microstepping
SetFOC
checksum
F6
h
15
8 7
0
First data word
write
0
loop
parameter
15
12 11
8 7
0
Second data word
write
value
15
0
GetFOC
checksum
F7
h
15
8 7
0
First data word
write
0
loop
parameter
15
12 11
8 7
0
Second data word
read
value
15
0
Parameter
Range
Scaling Units
Proportional Gain (KpDQ)
0 to 2^15–1
1/64
gain
Integral Gain (KiDQ)
0 to 2^15–1
1/256
gain/cycles
Integral Sum Limit (ILimitDQ)
0 to 2^15–1
1/100
% current * cycles