Operation; Motor Control Pwm Operation - Panasonic MN103S User Manual

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

10.3 Operation

10.3.1

Motor Control PWM Operation

Waveform Mode
Waveform mode can be set by the WAVEMDn flag of the PWM mode control register (PWMMDn). When "0" is
set, triangular waves are specified and "1" is set, saw-tooth waves are specified.
Table: 10.3.1 shows the output waveform logic operation formula and output level.
Table:10.3.1 Logic Operation Formula and Output Level
Logic operation formula
Value to be compared≤Counter value
Value to be compared
When triangular waves are set, the counter counts up and down. It counts the period setting and "0" twice each at
the end of counting up and down. When saw-tooth waves are set, the counter counts up. After the counter counts
up until the period setting value, it becomes "0" at the next counting . Triangular and saw-tooth wave output fig-
ures are shown below.
Count value
max:FFFF)
(
PWM period setting
(PWMSETn)
PWM0 phase value to be
compared setting
TCMPnA)
(
PWM0 phase value to be
compared setting (TCMPnB
)
PWM0 phase value to be
compared setting (TCMPnC)
Count value
min:0000
(
)
PWMn0
NPWMn0
PWMn1
NPWMn1
PWMn2
NPWMn2
(0)
(1)
>
Counter value
WAVEMDn=0
PXDT(U, V, W)n=0
PXDTN(U, V, W)n=0
PWM count value
(2)
(3)
(4)
(5)
(6)
(7)
Figure:10.3.1 Triangular and Saw-tooth Waves
PWMn0 to 2
NPWMn0 to 2
H
L
L
H
Count value
max:FFFF)
(
PWM period setting
(PWMSETn)
PWM0 phase value to be
compared setting
TCMPnA)
(
PWM0 phase value to be
compared setting (TCMPnB
)
PWM0 phase value to be
compared setting (TCMPnC)
Count value
min:0000
(
)
PWMn0
NPWMn0
PWMn1
NPWMn1
PWMn2
NPWMn2
(0)
(8)
Motor Control PWM
WAVEMDn=0
PXDT(U, V, W)n=0
PXDTN(U, V, W)n=0
PWM count value
(1)
(2)
(3)
(4)
(5)
(6)
Operation
Chapter 10
(7)
(8)
X - 19
Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents