Automotive Math and Motor Control Library Set Fact SheetMost motor control applications use basic...

2
OVERVIEW Most motor control applications use basic mathematical functions. Some applications also use motor control specific functions, such as the space vector modulation, DC bus ripple elimination or decoupling, or even advanced motor control functions, such as the BEMF tracking observer. All of these functions are used as the building blocks for complex motor control algorithms, independently based on motor type or hardware environment. TARGET APPLICATIONS } Motor/actuator control } Advanced motor control } General mathematical The automotive math and motor control libraries are a precompiled, off-the-shelf software libraries that contain the motor control algorithm building blocks. It consists of five groups of functions: } Basic mathematical functions (MLIB) } General trigonometric and basic functions (GFLIB) } General digital filters functions (GDFLIB) } General motor control functions (GMCLIB) } Advanced motor control functions (AMCLIB) These five groups of functions form the layered architecture. It keeps the effectiveness and size of the library optimized while fully benefiting from the advanced features of the target core. LIBRARY FEATURES } Production-ready, pre-compiled object code and production-ready source code variants } Independent of target platform peripherals } Developed according SPICE Level 3, ISO 9001/TS16949 } Assembly-optimized layered architecture } Three major arithmetic functions supported in single installation package } MATLAB ® /Simulink ® models for all functions Three variants of the library are available: } Free-of-charge evaluation object-code version } Production-ready object-code version } Production-ready source-code version The automotive math and motor control library set is a collection of production-ready, easy-to-use, off-the-shelf, software libraries used to create motor control algorithms. Automotive Math and Motor Control Library Set

Transcript of Automotive Math and Motor Control Library Set Fact SheetMost motor control applications use basic...

Page 1: Automotive Math and Motor Control Library Set Fact SheetMost motor control applications use basic mathematical functions. Some applications also use motor control specific functions,

OVERVIEW

Most motor control applications use basic mathematical functions. Some applications also use motor control specific functions, such as the space vector modulation, DC bus ripple elimination or decoupling, or even advanced motor control functions, such as the BEMF tracking observer. All of these functions are used as the building blocks for complex motor control algorithms, independently based on motor type or hardware environment.

TARGET APPLICATIONS

} Motor/actuator control

} Advanced motor control

} General mathematical

The automotive math and motor control libraries are a precompiled, off-the-shelf software libraries that contain the motor control algorithm building blocks. It consists of five groups of functions:

} Basic mathematical functions (MLIB)

} General trigonometric and basic functions (GFLIB)

} General digital filters functions (GDFLIB)

} General motor control functions (GMCLIB)

} Advanced motor control functions (AMCLIB)

These five groups of functions form the layered architecture. It keeps the effectiveness and size of the library optimized while fully benefiting from the advanced features of the target core.

LIBRARY FEATURES

} Production-ready, pre-compiled object code and production-ready source code variants

} Independent of target platform peripherals

} Developed according SPICE Level 3, ISO 9001/TS16949

} Assembly-optimized layered architecture

} Three major arithmetic functions supported in single installation package

} MATLAB®/Simulink® models for all functions

Three variants of the library are available:

} Free-of-charge evaluation object-code version

} Production-ready object-code version

} Production-ready source-code version

The automotive math and motor control library set is a collection of production-ready, easy-to-use, off-the-shelf, software libraries used to create motor control algorithms.

Automotive Math and MotorControl Library Set

Page 2: Automotive Math and Motor Control Library Set Fact SheetMost motor control applications use basic mathematical functions. Some applications also use motor control specific functions,

www.nxp.com/AutoMCLib

NXP, the NXP logo and CodeWarrior are trademarks of NXP B.V. All other product or service names are the property of their respective owners. ARM is a registered trademark of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. All rights reserved. The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. © 2016 NXP B.V.

Document Number: AMAMOCLSFS REV 4

All variants are delivered with extensive documentation and MATLAB®/Simulink® models for computer-based algorithm modeling.

KEY BENEFITS

} Enable rapid development of motor control applications

} Provide access to advanced motor control algorithms by including the library with user applications

} Significantly reduce the development time of production-ready applications

} Enable effective utilization of the core specific features, such as the SPE/LSP signal processing extensions

SUPPORTED DEVICES

} MPC560xB MCU

} MPC560xP MCU

} MPC564xL MCU

} MPC567xF MCU

} MPC567xK MCU

} MPC574xC MCU

} MPC574xG MCU

} MPC574xP MCU

} MPC574xR MCU

} MPC577xC MCU

} MPC577xK MCU

} MPC577xM MCU

} MC9S12ZVM MCU

} S32K14x MCU

} KEA MCU

SUPPORTED COMPILERS

} CodeWarrior® Eclipse IDE

} Green Hills MULTI® Software

} WindRiver® Diab

} Cosmic Software

} IAR for ARM®

} GCC

– S32DS for ARM-based MCUs

– S32DS for MCUs based on Power Architecture® technology

AUTOMOTIVE MATH AND MOTOR CONTROL LIBRARY SET

PMSM FIELD-ORIENTED CONTROL

PMSM MOTOR CONTROL DEMONSTRATOR

uDQReq.s32Arg1iDQErr.s32Arg1iDQReqZC.s32Arg1iDQReq.s32Arg1iDQErr.s32Arg2iDQReqZC.s32Arg2iDQReq.s32Arg2

elimDcbRip

wRotElErrwRotElReq

wRotElReqRamp

uAlBeReq.s32Arg1

uAlBeReqDCB.s32Arg1

pwm32.s32Arg1pwm32.s32Arg1pwm32.s32Arg1uDQReq.s32Arg2

thRotElSyst.s32Arg1

thRotElSyst.s32Arg2

iAlBeFbck.s32Arg1

iDQFbck.s32Arg1

iDQFbck.s32Arg 2

iAbcFbck.s32Arg1iAbcFbck.s32Arg2iAbcFbck.s32Arg3iAlBeFbck.s32Arg2

thRotElEnc

thRotElRes

wRotElEnc

wRotElRes

uAlBeReq.s32Arg2

uAlBeReqDCB.s32Arg2

GFLIB_ControllerPIrAWdAxisPI

GFLIB_ControllerPIrAWspeedPI

GFLIB_ControllerPIrAWqAxisPI

GFLIB_Sin

GFLIB_Cos

GMCLIB_Park GMCLIB_ElimDcBusRip

GMCLIB_SvmStd

GDFLIB_FilterIIR1qAxisZC

GFLIB_RampspeedRamp

GDFLIB_FilterIIR1dAxisZC

GMCLIB_ParkInv GMCLIB_ClarkInv

3-phase current reconstruction

ADC_Measure2Ph()

POSPE_GetPositionEl Enc()

POSPE_GetPositionEl Res()

POSPE_Get Speed ElEnc()

POSPE_Get Speed ElRes()

w

q

w

q

Flex

PW

MA

DC

#A

#B

eTim

erA

DC

#A

#B

adc

pospe Enc

pospe Res

Fast Current Loop100 ms

Slow-Speed Loop2 ms

PMSM FIELD-ORIENTED CONTROL