set at 1/4 to 1/5 of the output PWM
frequency. Refer to Figure 4.
Figure 3. FG Signal Conditioning Functional Block Diagram
referred to as FG, or frequency
generator. The ac signal from this
FG circuit provides motor RPM
feedback to close the phase-lock-
loop (PLL). Physically , the FG sys-
tem consists of two parts:
1. A winding which is typically a
serpentine trace on the motor
module printed circuit board
(PCB)
2. A multiple-pole ring magnet
attached to the rotor which
rotates in close proximity to the
serpentine winding on the PCB
The ring magnet pole-pairs cutting
the serpentine PCB traces induce
a variable reluctance ac signal in
the FG winding with some integer
number of cycles per rotor revolu-
tion. This integer count is called the
FG count, which is determined by
the number of serpentines in the
PCB trace, and plays a role in de-
termining the actual RPM based
C1
R2
Winding
FG
C2
R1
FGS Buffer
FGOut
FGIn–
FGSOut
FGIn+
FG Amp
+
–
on the internal reference frequen-
cy to the PLL.
When used with the TPIC43T01
controller, the FG winding is elec-
trically biased to a common-mode
dc level and the ac output signal is
connected differentially to an am-
plifier to gain up the signal level.
This amplified signal is then fed to
a comparator circuit with zero-
crossing detection and one-sided
hysteresis (see Figure 3). Selec-
tion of the external gain setting
resistors and a filter capacitor are
important to achieving low RPM
ripple.
An external filter must be included
in the FG feedback circuit to atten-
uate noise picked up by the speed
sense traces. The filter compo-
nents should be selected such that
FGOut frequency (fSPEED) is cen-
tered in the pass band of the filter.
The zero crossing point should be
FG Winding Design
Choosing the number of FG wind-
ings is required in setting the
motor’s RPM. The TPIC43T01
support software provides a func-
tion which allows the user to enter
three parameters and the desired
motor RPM is calculated. Those
three parameters are:
1. Crystal oscillator frequency,
fCRYSTAL
2. Selected internal divide-down
to set PLL reference frequency
3. An FG winding count or
number of FG cycles per
motor revolution, FG#
The formula for RPM calculation is:
MotorRPM
+
ƒCRYSTAL ×60
PLLdivider ×FG#(RPM)
+ 180mV
Band-Gap
1/2 VDD
1/2 VDD
Q
R
S
Op-Amp +
–
Comp
+
–
Comp
+
–
Buffer
FG COMPARATOR