Re: PID的問題
|
||||
---|---|---|---|---|
新會員
|
這裡有一個範例
可以參考看看哪裡設定不一樣... CE019 - Proportional Integral Derivative (PID) controllers & closed-loop control http://ww1.microchip.com/downloads/en/DeviceDoc/CE019_PID.zip 來源網址 http://www.microchip.com/stellent/idc ... odeId=2629¶m=en533534
發表於: 2008/10/14 11:10
|
|||
|
Re: PID的問題
|
||||
---|---|---|---|---|
新會員
|
我依照你的方式做~還是跟我PO的錯誤一樣!_!
再用DSP.h檔要有什麼特別注意的
發表於: 2008/10/13 23:08
|
|||
|
Re: PID的問題
|
||||
---|---|---|---|---|
新會員
|
在哪個地方修改 看不太懂你寫的意思
發表於: 2008/10/11 13:10
|
|||
|
Re: PID的問題
|
||||
---|---|---|---|---|
新會員
|
#include "dsp.h"
修改*.gld如下(注意MCU編號) SEARCH_DIR(..\..\..\..\lib) SEARCH_DIR(..\..\..\..\support\gld) INPUT(-ldsp) INPUT(-lpic30) INPUT(-lm) INPUT(-lc) INCLUDE p33fj64gp306.gld
發表於: 2008/10/2 16:37
|
|||
|
PID的問題
|
||||
---|---|---|---|---|
新會員
|
請問我build後出現的這情況 有什麼解決方法可以過呢?
我是參考PID的程式 Program Memory Usage section address length (PC units) length (bytes) (dec) ------- ------- ----------------- -------------------- .reset 0 0x4 0x6 (6) .ivt 0x4 0xfc 0x17a (378) .aivt 0x104 0xfc 0x17a (378) .text 0x200 0x88 0xcc (204) .text 0x288 0x52 0x7b (123) .dinit 0x2da 0x1e 0x2d (45) .isr 0x2f8 0x2 0x3 (3) Total program memory used (bytes): 0x471 (1137) <1% Data Memory Usage section address alignment gaps total length (dec) ------- ------- -------------- ------------------- .icd 0x800 0x50 0x50 (80) .xbss 0x850 0 0x6 (6) .bss 0x856 0 0xa (10) .data 0x860 0 0x6 (6) .ybss 0x47fa 0 0x6 (6) Total data memory used (bytes): 0x6c (108) <1% Dynamic Memory Usage region address maximum length (dec) ------ ------- --------------------- heap 0 0 (0) stack 0x866 0x3f94 (16276) Maximum dynamic memory (bytes): 0x3f94 (16276) pidww.o(.text+0x10): In function `setupPID': C:\Users\user\Documents\guey\fira_rx _pwm_new\pidww.c:16: undefined reference to `PIDInit' pidww.o(.text+0x28):C:\Users\user\Documents\guey\fira_rx _pwm_new\pidww.c:20: undefined reference to `PIDCoeffCalc' pidww.o(.text+0x48): In function `calcPID': C:\Users\user\Documents\guey\fira_rx _pwm_new\pidww.c:39: undefined reference to `PID' Link step failed.
發表於: 2008/9/30 2:11
|
|||
|