Browsing this Thread:
1 Anonymous Users
Topic options
View mode
舊的在前
Re: 有關AN1017的SIN CONTROL問題,急!!
新會員
Joined
: 2007/4/20 21:45最後登入時間
: 2007/11/21 17:11
Group:
註冊會員
Level : 1
HP : 0 / 0
MP : 0 / 0
EXP : 0
source code 為 512000/Period 1.每個 hall sensor clock 為 360度, 一次 Capture 到的寬度為180度.給值 32768. 2. Capture 時間單位為 tmr3/64 -> 3.2us. Capture 到的時間為 Period * 3.2 us 3. PWM Period = 50us. 一次 Caputure 到的時間可發生的 pwm 中斷次數 = Period * 3.2 / 50 4. PhaseInc = 32768 / Period * 3.2 /50 = 512000/Period.
發表於: 2007/4/20 22:44
有關AN1017的SIN CONTROL問題,急!!
新會員
Joined
: 2006/7/5 11:00最後登入時間
: 2008/1/8 16:17
Group:
註冊會員
Level : 2
HP : 0 / 28
MP : 3 / 1504
EXP : 12
各位先進: 我正在用AN1017的SAMPLE CODE來控制自家的馬達,在程式中有一個叫PhaseInc的變數,它是由 PhaseInc = __builtin_divud(128000UL, Period); // Phase increment is used // by the PWM isr (SVM) 請問有誰知道為什麼是128000/Period呢? 感激不盡!!!!
發表於: 2007/3/27 8:32
You can view topic.
你 不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.