Re: 請問如何用PIC18F8722來打出SinPWM
|
||||
---|---|---|---|---|
版主
|
加個 RC 濾波器後再看一下。
Sin0度的起始點應該是126 開始,126 ~255~126 為 0 度到180度的正半週; 126 ~ 0 ~126 為負半週 (180 度 ~ 0 度) 所以你的表要重建,不然無法輸出負半週。
發表於: 2007/8/7 15:06
|
|||
|
Re: 請問如何用PIC18F8722來打出SinPWM
|
||||
---|---|---|---|---|
新會員
|
用示波器沒外加濾波器去看有類似SIN PWM的形狀
我指的是不曉得這樣的做法對不對.. 因為我sin table只建了半週期 而且進入中斷的時間也是固定的10800Hz 不像用DSP由一組三角波與正弦波來決定high或low 所以感覺怪怪的
發表於: 2007/8/7 14:52
|
|||
|
Re: 請問如何用PIC18F8722來打出SinPWM
|
||||
---|---|---|---|---|
版主
|
你所謂怪怪的不像正玄波,有沒有PWM1的輸出外加RC濾波器?
發表於: 2007/8/7 14:38
|
|||
|