ST7FMC1K2B3 STMICROELECTRONICS [STMicroelectronics], ST7FMC1K2B3 Datasheet - Page 159

no-image

ST7FMC1K2B3

Manufacturer Part Number
ST7FMC1K2B3
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
MOTOR CONTROLLER (Cont’d)
10.6.6.9 Sampling block
For a full digital solution, the phase comparator
output sampling frequency is the frequency of the
PWM signal applied to the switches and the sam-
pling for the Z event detection in sensorless mode
is done at the end of the off time of this PWM sig-
nal to avoid to have to re-create a virtual ground
because when the PWM signal is off, the star point
is at ground due to the free-wheeling diode. That’s
why, the sampling for Z event detection is done by
default during the OFF-state of the PWM signal
and therefore at the PWM frequency.
In current mode, this PWM signal is generated by
a combination of the output of the measurement
window generator (SA[3:0] bits), the output of the
current comparator and a minimum OFF time set
by the OT[3:0] bits for system stabilisation.
In voltage mode, this PWM signal is generated by
the 12-bit PWM generator signal in the compare U
register with still a minimum OFF time required if
the sampling is done at the end of the OFF time of
the PWM signal for system stabilisation. The PWM
signal is put OFF as soon as the current feedback
reaches the current input limitation. This can add
an OFF time to the one programmed with the 12-
bit Timer.
For D event detection in sensorless mode, no spe-
cific PWM configuration is needed and the sam-
pling frequency (f
independent from the PWM signal.
In sensor mode, the D event detection is not need-
ed as the MCIA, MCIB and MCIC pins are the dig-
ital signals coming from the hall sensors so no
specific PWM configuration is needed and the
sampling for the Z detection event is done at
f
nal.
In sensorless mode, if a virtual ground is created
by the addition of an external circuit, sampling for
the Z event detection can be completely independ-
ent from the PWM signal applied to the switches.
Setting the SPLG bit in the MCRC register allows a
sampling frequency of f
independent from the PWM signal after getting the
D (end of demagnetisation) event. This means that
the sampling order is given whatever the PWM
signal (during the ON time or the OFF time). As
soon as the SPLG bit is set in the MCRC register,
the minimum OFF time needed for the PWM signal
in current mode is set to 0µs and a true 100% duty
SCF
, completely independent from the PWM sig-
SCF,
see
SCF
Table
for Z event detection
82) is completely
cycle can be set in the 12-bit PWM generator com-
pare register in voltage mode.
Specific applications can require sampling for the
Z event detection only during the ON time of the
PWM signal. This can happen when the PWM sig-
nal is applied only on the low side switches for Z
event detection. In this case, during the OFF time
of the PWM signal, the phase voltage is tied to the
application voltage V and no back-EMF signal can
be seen. During the ON time of the PWM signal,
the phase voltage can be compared to the neutral
point voltage and the Z event can be detected.
Therefore, it is possible to add a programmable
delay before sampling (which is normally done
when the PWM signal is switched ON) to perform
the sampling during the ON time of the PWM sig-
nal. This delay is set with the DS [3:0] bits in the
MCONF register.
Table 33. Delay length before sampling
Note: Times are indicated for 4 MHz f
As soon as a delay is set in the DS[3:0] bits, the
minimum OFF time for the PWM signal is no long-
er required and it is automatically set to 0µs in cur-
rent mode in the internal sampling clock and a true
100% duty cycle can be set in the 12-bit PWM
generator compare U register if needed.
DS3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
DS2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
DS1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
ST7MC1xx/ST7MC2xx
DS0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
No delay added.
Delay added to
sample at Ton
Sample during
32.5
37.5
12.5 µs
17.5 µs
22.5 µs
27.5 µs
2.5 µs
7.5 µs
30
35
10 µs
15 µs
20 µs
25 µs
PERIPH
5 µs
Toff
μs
μs
μs
μs
159/309
1

Related parts for ST7FMC1K2B3