11126 views|3 replies

4

Posts

0

Resources
The OP
 

Correlation between the output of PID operation and the actuator PWM duty cycle [Copy link]

How to convert the PID calculation result to the PWM duty cycle? For example, when using PWM to control temperature or speed, the PID calculation function result PID_Calc(); obtained by the PID formula, and the PWM output duty cycle function PWM(Duty);, where the parameter of the duty cycle function is the duty cycle Duty, how to convert the PID output result to the duty cycle Duty? Is it to directly assign the PID output result to Duty?
This post is from MCU

Latest reply

You need to do experiments to determine it. These parameters are related to your system response time and software control cycle, so you have to do it yourself.  Details Published on 2018-10-22 09:22
 

100

Posts

0

Resources
2
 
This post is from MCU
 
 

693

Posts

7

Resources
3
 
PID is a value that your regulator will output after adjustment. You need to process this value so that the value fluctuates within the adjustable range of your duty cycle, and then assign the PID-adjusted value to the PWM wave port.
This post is from MCU
 
 
 

4005

Posts

0

Resources
4
 
You need to do experiments to determine it. These parameters are related to your system response time and software control cycle, so you have to do it yourself.
This post is from MCU
 
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list