PID algorithm in SDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PID algorithm in SDK

跳至解决方案
1,820 次查看
leonardomoreno
Contributor II

Hello, my name Leonardo Moreno and I'm trying to use de FRDM-KE06Z board to control the temperature of a Peltier Cell through PWM. For doing this, I'm going to use a PID controller.

I'm new to the Kinetis boards, and therefore I'm having a bit of confusión while developing the Project.

In this post: [Kinetis M] High Precision PID controller there is a mention that the PID algorithms are already provided for the kinetis boards in SDK software tolos.

I downloaded the SDK 2.0 of a similar board (FRDM-K64F) in hopes of having a look at the PID algorithms, but I can't seem to find them anywhere.

Can anybody please guide me as to where can I find the algorithms? Do they come as an application example?

Many thanks,

Leonardo Moreno

标签 (1)
标记 (2)
0 项奖励
1 解答
1,049 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Leonardo,

    PID is an algorithm, it is not depend on the chip.

    Our KSDK have give the PID algorithm code for your reference, I already attached it, you don't need to use the whole KSDK project, because the KE06 don't have the KSDK now, it has the according sample code driver for your reference, you can download it from this link:

FRDM-KEXX Driver Library Package

    When you want to use the PID algorithm, you can call the PID function in the attachment.

Wish it helps you!
Have a great day,
Jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
2 回复数
1,050 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Leonardo,

    PID is an algorithm, it is not depend on the chip.

    Our KSDK have give the PID algorithm code for your reference, I already attached it, you don't need to use the whole KSDK project, because the KE06 don't have the KSDK now, it has the according sample code driver for your reference, you can download it from this link:

FRDM-KEXX Driver Library Package

    When you want to use the PID algorithm, you can call the PID function in the attachment.

Wish it helps you!
Have a great day,
Jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
1,049 次查看
leonardomoreno
Contributor II

Excellent, thank you Jing

0 项奖励