Control Flow; Main Processing For Sensor-Less Driving Of An Spmsm By 120-Degree Trapezoidal Wave Commutation - Renesas M16C/Tiny User Manual

Hide thumbs Also See for M16C/Tiny:
Table of Contents

Advertisement

4 Control flow

4.1 Main processing for sensor-less driving of an SPMSM
by 120-degree trapezoidal wave commutation.
Main
Set local variable ad_input=0x0000
Set local variable Ad_speed
PWMInitial processing
ad_input = 0x03ff&AD1
CalSpeedCnd processing
Ad_speed is current calculate rotation speed
No
Ad_speed< M_Start_Hz?
Yes
Rotation speed command = 0
Rotation speed command = Ad_speed
RTS
RSBJEUM0001-0101 Rev. 1.01
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rsbj

Table of Contents