AN1948_D Freescale Semiconductor / Motorola, AN1948_D Datasheet

no-image

AN1948_D

Manufacturer Part Number
AN1948_D
Description
Real Time Development of MC Applications using the PC Master Software Visualization Tool
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
© Motorola, Inc., 2002. All rights reserved.
Real Time Development of
MC Applications using the
PC Master Software
Visualization Tool
The PC Master Software Visualization Tool
Simplifies the Development of Motor Control
Applications in Real Time.
Radim Visinka
1.
2.
This Application Note describes the development of motor
control applications using the PC master software
visualization tool. It is a software tool for development and
debugging of embedded applications in real time. It permits
the reading, modification and visualization of arbitrary
variables or parameters of a target application.
The application note discusses the common difficulties
faced in the development of a motor control application. It
presents the basic features of the PC master software tool.
The examples illustrate the usage of the tool for the
development of motor control applications.
The motor control application represents a real-time
embedded application with a number of system variables
and control parameters. It processes both analog and digital
inputs and generates mostly digital control outputs that
control a power stage of the drive. A number of application
variables need to be observed and evaluated in real time in
order to optimally develop, set up, and tune the control
algorithm.
Introduction
Development of Motor Control
Applications
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
1.
2.
3.
4.
5.
6.
3.1 PC Master Software Introduction ... 2
3.2 PC Master Software Features ......... 3
4.1 Visualization of Measured
4.2 Visualization of Calculated
4.3 Setting Controllers, Tuning
4.4 On-line Setting of Application
Applications .............................. 1
Visualization Tool..................... 2
Applications Using PC Master
Software .................................... 6
Variables ......................................... 6
Variables ......................................... 8
Applications .................................... 9
Parameters and Variables.............. 11
Introduction .............................. 1
Development of Motor Control
The PC Master Software
Development of Motor Control
Conclusion .............................. 12
References .............................. 13
Contents
(Motorola Order Number)
Order by AN1948/D
Rev. 0, 9/02

Related parts for AN1948_D

AN1948_D Summary of contents

Page 1

Freescale Semiconductor, Inc. Real Time Development of MC Applications using the PC Master Software Visualization Tool The PC Master Software Visualization Tool Simplifies the Development of Motor Control Applications in Real Time. Radim Visinka 1. Introduction This Application Note describes ...

Page 2

... PC Master Software Introduction PC master software was designed to make the development of motor control applications easier. It provides the debugging, diagnostic and demonstration tools needed for the development of real-time algorithms and applications. PC master software runs on a PC, connected to the target processor via an RS232 serial interface. A small program, resident on the target processor, communicates with the PC master software ...

Page 3

Freescale Semiconductor, Inc. Figure 3-1. PC Master Software in Connection with Motor Drive 3.2 PC Master Software Features PC master software provides access to the target processor memory via an SCI communication. The communication protocol on the base level reads/writes ...

Page 4

Freescale Semiconductor, Inc. The PC Master Software Visualization Tool Main PC master software window Control page Control page Variable window Scope window Help page Figure 3-2. PC Master Software Window 4 Real Time Development using the PC Master Software For ...

Page 5

Freescale Semiconductor, Inc. The Control Page enables control of the application created in HTML easy to create all the desired functionality. The individual components of the control page are linked to the appropriate variables of ...

Page 6

Freescale Semiconductor, Inc. Development of Motor Control Applications Using PC Master Software The Help Page enables the display of additional information the user might be interested in. For example, there can be a block diagram of the application, description of ...

Page 7

Freescale Semiconductor, Inc Bus Voltage T1 D1 PWM_T1 Phase PWM_T2 sense R_sense sense GND Figure 4-1. Shunt Resistors Current Sensors The Recorder enables the observation and reconstruction of the phase current measured by the ADC. ...

Page 8

Freescale Semiconductor, Inc. Development of Motor Control Applications Using PC Master Software Figure 4-2. Visualization of Phase Currents and DC-Bus Voltage Using the Recorder 4.2 Visualization of Calculated Variables During development of control algorithms it is necessary to visualize calculated ...

Page 9

Freescale Semiconductor, Inc. Figure 4-3. Visualization of Phase Current, Flux Linkage and Position Reference Using Scope 4.3 Setting Controllers, Tuning Applications Almost any motor control application utilizes controllers. Controllers are used for control of variables of both the motor control ...

Page 10

Freescale Semiconductor, Inc. Development of Motor Control Applications Using PC Master Software Processor required - actual Figure 4-4. Block Diagram of the Speed Controller set-up parameters of the controller Figure 4-5. Tuning the Speed Controller Using PC Master Software 10 ...

Page 11

Freescale Semiconductor, Inc. The speed controller is a Proportional-Integrational type (PI controller) that evaluates the required speed ( ) and the actual speed ( required desired output duty cycle. The Scope window shows the required speed and the actual speed ...

Page 12

Freescale Semiconductor, Inc. Conclusion Figure 4-7. Stimulation of Desired Speed 5. Conclusion PC master software puts into the developer’s hands a tool that enables development of user’s applications much faster and efficiently. It enables you “to see” into the target ...

Page 13

Freescale Semiconductor, Inc. 6. References The following materials were used to produce this paper: [1] 3-Phase SR Sensorless Motor Control Using DSP56F80x, AN1932/D, Motorola [2] Connecting Motorola Motor Controllers to the Internet, Motorola [3] PC Master Software Communication Protocol Specification, ...

Page 14

Freescale Semiconductor, Inc. References 14 Real Time Development using the PC Master Software For More Information On This Product, Go to: www.freescale.com MOTOROLA ...

Page 15

Freescale Semiconductor, Inc. MOTOROLA Real Time Development using the PC Master Software For More Information On This Product, Go to: www.freescale.com References 15 ...

Page 16

Freescale Semiconductor, Inc. Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability ...

Related keywords