没有合适的资源?快使用搜索试试~ 我知道了~
MC9S12ZVMMCLUG芯片手册
需积分: 0 2 下载量 185 浏览量
2023-06-02
17:43:11
上传
评论
收藏 24.36MB PDF 举报
温馨提示
试读
710页
MC9S12ZVMMCLUG芯片手册
资源推荐
资源详情
资源评论
Automotive Math and Motor
Control Library Set for NXP
MC9S12ZVM devices
User's Guide
Rev. 32 — 22 September 2022 User guide
MC9S12ZVMMCLUG
NXP Semiconductors Automotive Math and Motor Control
Library Set for NXP MC9S12ZVM devices
User's Guide
Revision Date Description
1.0 23-March-2012 Initial version.
2.0 19-February-2013 Freescale CodeWarrior Eclipse IDE support added.
3.0 3-October-2013 The user guide was updated to reflect the change of the
installation process. Changed Matlab Integration chapter
(added 64-bit BAM models). Added functions precision
table. Removed floating-point functions.
4.0 25-April-2014 Added missing descriptions in some functions, formatting
changes. Added revision history table. Removed MLIB
floating-point conversion functions.
5.0 31-March-2015 The Matlab revision, used for testing, changed to Matlab
2014a.
6.0 31-July-2015 All compilers versions were increased. Number of the
significant digits of the calculated IIR1/IIR2 coefficients
in the Matlab examples for GDFLIB_IIR1/GDFLIB_IIR2
functions was increased.
7.0 30-September-
2015
Adding the chapters describing the GFLIB_SinCos
function.
8.0 31-December-
2015
The Service Release v1.1.3.
9.0 31-March-2016 Change from Freescale to NXP entity, Service release
1.1.4.
10.0 30-June-2016 The Service Release v1.1.5. Added new MLIB_RndSat_
F16F32 function. Added chapter about possible
exceptions.
11.0 31-December-
2016
The Service Release v1.1.7. Added AMCLIB_
BemfObsrvDQ and AMCLIB_TrackObsrv functions.
Software License Agreement updated.
12.0 31-March-2017 The Service Release v1.1.8. Repeated sections were
merged into a common chapters in the User Guide. This
approach was applied to all AMMCLIB functions.
13.0 31-December-
2017
The Service Release v1.1.11. Added new functions
AMCLIB_CurrentLoop, AMCLIB_FW, AMCLIB_
FWSpeedLoop, AMCLIB_SpeedLoop.
14.0 31-March-2018 The Service Release v1.1.12. Added new function
GFLIB_VMin.
15.0 30-June-2018 The Service Release v1.1.13. Added new SetState and
Init functions.
16.0 30-September-
2018
The Service Release v1.1.14. Changed implementation of
GFLIB_Ramp.
17.0 31-December-
2018
The Service Release v1.1.15. See release notes for list of
changes.
18.0 31-March-2019 The Service Release v1.1.16. See release notes for list of
changes.
19.0 30-June-2019 The Service Release v1.1.17. See release notes for list of
changes.
20.0 30-September-
2019
The Service Release v1.1.18. See release notes for list of
changes.
21.0 31-December-
2019
The Service Release v1.1.19. See release notes for list of
changes.
22.0 31-March-2020 The Service Release v1.1.20. See release notes for list of
changes.
Revision History
MC9S12ZVMMCLUG All information provided in this document is subject to legal disclaimers. © NXP B.V. 2022. All rights reserved.
User guide Rev. 32 — 22 September 2022
MC9S12ZVMMCLUG 2 / 710
NXP Semiconductors Automotive Math and Motor Control
Library Set for NXP MC9S12ZVM devices
User's Guide
Revision Date Description
23.0 30-June-2020 The Service Release v1.1.21. See release notes for list of
changes.
24.0 30-September-
2020
The Service Release v1.1.22. See release notes for list of
changes.
25.0 31-December-
2020
The Service Release v1.1.23. See release notes for list of
changes.
26.0 31-March-2021 The Service Release v1.1.24. See release notes for list of
changes.
27.0 30-June-2021 The Service Release v1.1.25. See release notes for list of
changes.
28.0 30-September-
2021
The Service Release v1.1.26. See release notes for list of
changes.
29.0 31-December-
2021
The Service Release v1.1.27. See release notes for list of
changes.
30.0 31-March-2022 The Service Release v1.1.28. See release notes for list of
changes.
31.0 30-June-2022 The Service Release v1.1.29. See release notes for list of
changes.
32.0 30-September-
2022
The Service Release v1.1.30. See release notes for list of
changes.
Revision History...continued
MC9S12ZVMMCLUG All information provided in this document is subject to legal disclaimers. © NXP B.V. 2022. All rights reserved.
User guide Rev. 32 — 22 September 2022
MC9S12ZVMMCLUG 3 / 710
NXP Semiconductors Automotive Math and Motor Control
Library Set for NXP MC9S12ZVM devices
User's Guide
1 Introduction
This document describes the Automotive Math and Motor Control Library Set for
NXPMC9S12ZVM devices (AMMCLib). It lists all components of the library, the API, and
steps needed to integrate the library into the customer project.
1.1 Architecture Overview
The AMMCLib consists of several sub-libraries, functionally connected as depicted in
Figure 1 .
Figure 1. AMMCLIB components structure
The AMMCLib sub-libraries are as follows:
• Mathematical Function Library (MLIB) - comprising basic mathematical operations
such as addition, multiplication, etc.
• General Function Library (GFLIB) - comprising basic trigonometric and general math
functions such as sine, cosine, tan, hysteresis, limit, etc.
• General Digital Filters Library (GDFLIB) - comprising digital IIR and FIR filters
designed to be used in a motor control application
• General Motor Control Library (GMCLIB) - comprising standard algorithms used for
motor control such as Clarke/Park transformations, Space Vector Modulation, etc.
• Advanced Motor Control Function Library (AMCLIB) - comprising advanced
algorithms used for motor control purposes
As can be seen in Figure 1 , the AMMCLib libraries form a layered architecture where
all higher libraries utilize functions from the MLIB library. MLIB functions are inlined and
assembly-optimized for maximum performance. Library functions facilitate abstraction of
the computational hardware to the application software.
MC9S12ZVMMCLUG All information provided in this document is subject to legal disclaimers. © NXP B.V. 2022. All rights reserved.
User guide Rev. 32 — 22 September 2022
MC9S12ZVMMCLUG 4 / 710
NXP Semiconductors Automotive Math and Motor Control
Library Set for NXP MC9S12ZVM devices
User's Guide
1.2 General Information
The AMMCLib was developed to support these major implementations:
• Fixed-point 32-bit fractional
• Fixed-point 16-bit fractional
With exception of those functions where the mathematical principle limits the input or
output values, these values are considered to be in the following limits:
• Fixed-point 32-bit fractional: <-1; 1-2
-31
> in Q1.31 format and with minimum positive
normalized value 2
-31
.
• Fixed-point 16-bit fractional: <-1; 1-2
-15
> in Q1.15 format and with minimum positive
normalized value 2
-15
.
Functions which are not relevant for a particular implementation, e.g. saturated arithmetic
for floating point implementation, are not delivered with this package. For detailed
information about available functions, refer to Section 2.1 .
The fixed-point 32-bit fractional and fixed-point 16-bit fractional functions implementions
are based on the unity model. This means that the input and output physical values
(volts, amperes, radians) must be normalized to fit within the <-1; 1-2
-31
> or <-1; 1-2
-15
>
range representable in the Q1.31 or Q1.15 format.
All functions in the AMMCLib were tested in the target device with all supported
compilers to ensure that they achieve the declared accuracy of results in the defined
input range.
1.3 Installation
The AMMCLib is delivered as a single executable file. The following steps will install the
AMMCLib on a Windows-based computer:
1. On welcome page select the Next to start the installation
Figure 2. AMMCLib installation - step 1. Highlighted "MCU Platform" and "ReleaseID"
identifies the actual release, which is the MC9S12ZVM_AMMCLIB_ v1.1.30
MC9S12ZVMMCLUG All information provided in this document is subject to legal disclaimers. © NXP B.V. 2022. All rights reserved.
User guide Rev. 32 — 22 September 2022
MC9S12ZVMMCLUG 5 / 710
剩余709页未读,继续阅读
资源评论
白中白中白xixi
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功