AN2514 Freescale Semiconductor / Motorola, AN2514 Datasheet - Page 5

no-image

AN2514

Manufacturer Part Number
AN2514
Description
3-Phase Sine Wave Generator TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Configuration Order
Detailed Function Description
3-Phase Sine Wave
Generator – Top
(3Sin_top)
and 3-Phase Sine
Wave Generator –
Bottom
(3Sin_bottom)
MOTOROLA
NOTE:
The CPU configures the TPU as follows.
A CPU routine that configures the TPU can be generated automatically using
the MPC500_Quick_Start Graphical Configuration Tool.
The 3Sin_top and 3Sin_bottom TPU functions work together to generate a 6-
channel, 3-phase PWM signal, with dead-time between the top and bottom
channels. In order to charge the bootstrap transistors, the PWM signals start to
run 1.6ms after their initialization (at 20MHz TCR1 clock). The functions
generate signals corresponding to an amplitude of 0 (50% duty-cycle) until the
first reload values are processed.
The CPU controls the PWM output by setting the TPU parameters. The Stator
Reference Voltage Vector Amplitude Ampl, the Stator Reference Voltage
Vector angle Theta (32-bit) and the angle increment dTheta (32-bit), can be
adjusted during run time. The PWM period T and the prescaler – the number of
3-Phase Sine Wave Generator TPU Function Set (3Sin)
1. Disables the channels by clearing the two channel priority bits on each
2. Selects the channel functions on all used channels by writing the
3. Initializes function parameters. The parameters T, prescaler, DT, MPW,
4. Issues an HSR (Host Service Request) type %10 to one of the
5. Enables servicing by assigning high, middle or low priority to the channel
Freescale Semiconductor, Inc.
For More Information On This Product,
channel used (not necessary after reset).
function numbers to the channel function select bits.
Theta_H, Theta_L and sync_presc_addr must be set before
initialization. 32 cosine table values must be set. If a 3Sin_sync channel
or a 3Sin_res channel is used, then its parameters must also be set
before initialization.
3Sin_bottom channels to initialize all PWM channels. Issues an HSR
type %10 to the 3Sin_sync channels, 3Sin_res channels and 3Sin_fault
channel, if used.
priority bits. All PWM channels must be assigned the same priority to
ensure correct operation. The CPU must ensure that the 3Sin_sync or
3Sin_res channels are initialized after the initialization of the PWM
channels:
assign a priority to the PWM channels to enable their initialization
if a Synchronization Signal or a Resolver Reference Signal channel
is used, wait until the HSR bits are cleared to indicate that
initialization of the PWM channels has completed and
assign a priority to the 3Sin_sync or 3Sin_res channels to enable
their initialization
Go to: www.freescale.com
Detailed Function Description
AN2514/D
5

Related parts for AN2514