PID Control using Coldfire V1

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

PID Control using Coldfire V1

跳至解决方案
2,249 次查看
MWMinor
Contributor V

Hi there

 

Has anyone experience in developing a PID controller using a coldfire V1 device like the MCF51JM128...?

 

Is there anything "off the shelf" available...?

 

Thanks

 

MW 

 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,699 次查看
BlackNight
NXP Employee
NXP Employee

Hi MW,

have a look at PID with Processor Expert.

This is right now for a DC motor (PWM and DIR signals) and using a quadrature encoder.

It probably does not match what you have to control, but maybe gives you an idea.

The PID is using integers (floating point would have been an overkill for my S08).

In any case you could either take the generated source code, or change the component(s).

The above article has links to the download page(s) as well.

 

Hope this helps,

BK

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,699 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

I have developed a PID controller as Processor Expert component (using integral numbers).

If this is of interest, I could publish it.

It was used to control a DC motor using a quadrature encoder as input, and having a PWM signal as output.

I have it running on S08, ColdFire V1 and V2, but as Processor Expert component it is universal.

 

BK

0 项奖励
回复
1,699 次查看
MWMinor
Contributor V

Hi BK

 

Having a processor expert component that is a PID control function sounds interesting.

 

Thanks for your help

 

MW

0 项奖励
回复
1,700 次查看
BlackNight
NXP Employee
NXP Employee

Hi MW,

have a look at PID with Processor Expert.

This is right now for a DC motor (PWM and DIR signals) and using a quadrature encoder.

It probably does not match what you have to control, but maybe gives you an idea.

The PID is using integers (floating point would have been an overkill for my S08).

In any case you could either take the generated source code, or change the component(s).

The above article has links to the download page(s) as well.

 

Hope this helps,

BK

0 项奖励
回复
1,699 次查看
Tommy_Liu
Contributor II

Dear Eirch,

    Could you give me a example project of PID, your post just some text, don't had project:smileyhappy:

Many many thanks.

0 项奖励
回复