• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users




(1) 2 »


dsPIC33C Digital Power Starter Kit
#1
新會員
新會員


查看用戶資訊
請問有無完整設計案例,目前手上有demo kit但是DCDT (Digital Compensator Design Tool)
文件沒有完整設計案例,從0開始

發表於: 2020/11/27 8:58
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#2
版主
版主


查看用戶資訊
有關 Fully Digital Power 的設計,Microchip Taiwam 有一系列的訓練課程。你可以在本網站的首頁下看到"線上活動錄影" 的選項,裡面有很多的研討會錄影可以在登錄後觀看。

例如: 全數位電源趨勢與實務開發過程的線上研討會:
http://www.microchip.com.tw/modules/tad_link/index.php?link_sn=12

到此網站後再點選上課的的連結,輸入姓名及 e-mail 即可觀賞。時間約 1:30 。

發表於: 2020/11/27 9:37
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#3
新會員
新會員


查看用戶資訊
在c code:
void __attribute__((__interrupt__, auto_psv, context)) _ADCAN13Interrupt(void)
{
c2p2z_buck_Update(&c2p2z_buck); //call the compensator as soon as possible
// the readout of the ADC register is mandatory to make the reset of the interrupt flag stick
// if we would not read from the ADC register then the interrupt flag would be set immediately after resetting it

// Triggering AD conversion for Vin
ADCON3Lbits.SWCTRG = 1; // Single trigger is generated, this bit it is automatically cleared by
// hardware on the next instruction cycle

pwrCtrlBuck1_Data.voltageOutput = ADCBUF13;
pwrCtrlBuck1_Data.flags.bits.adc_active = true;

_ADCAN13IF = 0; // Clear the ADCANx interrupt flag. read from ADCBUFx first to make it stick

//TODO: discuss, if we should call the buck_Update routine at first or after resetting the interrupt flag?
}
並沒有找到pwm duty 的地方?
輸出'pwm是PG1DC?
volatile uint16_t Drv_PowerControllerBuck1_InitPWM(void)
{
...
PG1DC = MAX_DUTY_CYCLE;
...
}

發表於: 2021/3/16 9:14
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#4
管理員
管理員


查看用戶資訊
關於dsPIC33CK的PWM
PGxDC:控制PWM的Duty Cycle
PGxPER:控制PWM的Frequency
(x:對應的組數)
當使用者針對這些暫存器所設定完,PWM不會改變
需針對暫存器做更新請求
PG1STATbits.UPDREQ = 1;
PWM就會做改變

Attach file:



jpg  123.JPG (19.35 KB)
77092_605014537c97d.jpg 638X52 px

發表於: 2021/3/16 10:13
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#5
新會員
新會員


查看用戶資訊
我想做plant
https://www.youtube.com/watch?v=Z-tFfe ... Szh25eJe779mGRmkM&index=4
可是找不到放pwm的地方?

是放在PG1DC 還是PG1DCA?

發表於: 2021/3/16 10:39
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#6
資深會員
資深會員


查看用戶資訊
你看的程式是引用DCLD,並且於DCLD初始化時,已經將DCLD的輸出指到某PWM Duty暫存器(例如PDCx),所以你看不到。DCLD已經自動Update. 你觀看我的影片時,你會發現,我做Plant量測時,並沒有套用Library,所以可以很直覺看到Kp控制後,Update到PDCx去。每個影片下方說明都有範例程式可以下載,你可以直接看看就知道了。

發表於: 2021/3/18 21:27
Thanks,
Edward Lee
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#7
新會員
新會員


查看用戶資訊
目前 voltage plant 已經解決.
output current limit 有問題?

constant current 設定0.8a
1.65v+600mv*0.8=2.13v =>2643
1.輸出電壓在2.1~2.7v 跳動,這不合理?
2.如何測量constant current plant?

U21 =MCP6C02-020

Attach file:



jpg  3.jpg (178.83 KB)
9526_6086af9b13696.jpg 1366X728 px

發表於: 2021/4/26 20:19
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#8
版主
版主


查看用戶資訊
我找 Edward Lee 問一下。

發表於: 2021/4/27 10:49
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#9
新會員
新會員


查看用戶資訊
目前修改程式已經可以穩定在2.52v輸出
修改L3 and R21 之間並聯100UF電容
3.3r*0.8a=2.54v
測量BODE PLOT
輸出2.52V 0.8A 滿載測試
GEN+=TP39 ;GEN-=TP40
TP39=BODE OUPUT ;TP40=BODE INPUT
PHASE 很差-200以上
這要如何加極零點?
附上BODE 測量圖

Attach file:



jpg  SCR02.jpg (356.64 KB)
9526_6087ac4d789dc.jpg 1280X824 px

發表於: 2021/4/27 14:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33C Digital Power Starter Kit
#10
資深會員
資深會員


查看用戶資訊
DPSK-3是驗證過的,按理說硬體不用改,不確定為何需要改變RC?
而從以上的描述看起來,基本控制模式並無說明,不確定要量什麼?

發表於: 2021/4/27 15:27
Thanks,
Edward Lee
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







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.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------