?? 資源詳細信息
?? 溫馨提示:本資源由用戶 xsr1983 上傳分享,僅供學習交流使用。如有侵權,請聯系我們刪除。
資源簡介
#nclude<reg51.h>
#include<intrins.h>
#銷nclude<math.h>
#include<string.h>
struct PID{
unsigned int SetPoint;//設定目標 Desired Value unsigned int Proportion;//比例常數Proportional Const unsigned int integral;//積分常數Integral Const unsigned int Derivative://微分常數Derivative Const unsigned int LastError;//Emorl-1]
unsigned int PrevError;//Errorl-2]
unsigned int SumError;//Sums of Errors struct PID spid;//PID Control Structure unsigned int rout;//PID Response(Output)
unsigned int rin://PID Feedback(Input)
sbit data1=P100;sbit clk=P141;sbit plus=P240;sbit subs=P241:sbit stop=P22;sbit output=P34;sbit DQ=P33;unsigned char flag,flag_1=0;unsigned char high_time,low_time,.count=0,/占空比調節參數unsigned char set_temper=35;unsigned char temper;unsigned chari:unsigned charj=0;unsigned ints;
立即下載此資源
資源說明
下載說明
- 下載需消耗 2積分
- 24小時內重復下載不扣分
- 支持斷點續傳
- 資源永久有效
使用說明
- 下載后用解壓軟件解壓
- 推薦 WinRAR 或 7-Zip
- 如有密碼請查看說明
- 解壓后即可使用
積分獲取
- 上傳資源獲得積分
- 每日簽到免費領取
- 邀請好友注冊獎勵
- 查看詳情 →