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

論壇索引


Board index » All Posts (jaures168)




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


constant current limit;
原本這組r21 =0.03r 在原本source code 是沒有作用的.
source code 沒有使用RA1_ANA1 我加入輸出限電流0.8a
see dsPIC33C-Digital-Power-Starter-Kit-Users-Guide-DS50002867B.pdf
page27 / page29
R70 =0r 接上;
r25/r26/c30/r24/c29/r22/r23/MCP6C02-020 手工焊接上
L3 & R21之間加100UF 對地.
這就是輸出限流迴路.

在沒有輸出電流 TP39=1.65V(MCP6C02 輸出點)

輸出電流0.8A TP39=2.13V; ADC IoutRef=2643
//Q0 vref=2.13v*kfb*kadc 2643.14 1.65+600mv*0.8a=2.13->2643

Attach file:



jpg  SCRcurrentsenseBode.jpg (144.60 KB)
9526_6088f9e9595e0.jpg 1006X951 px

發表於: 2021/4/28 13:34

Edited by jaures168 on 2021年04月28日 13:57:20
Edited by jaures168 on 2021年04月28日 14:00:14
頂部


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


constant current limit;
原本這組r21 =0.03r 在原本source code 是沒有作用的.
source code 沒有使用RA1_ANA1 我加入輸出限電流0.8a
see dsPIC33C-Digital-Power-Starter-Kit-Users-Guide-DS50002867B.pdf
page27 / page29
R70 =0r 接上;
r25/r26/c30/r24/c29/r22/r23/MCP6C02-020 手工焊接上
L3 & R21之間加100UF 對地.
這就是輸出限流迴路.

在沒有輸出電流 TP39=1.65V(MCP6C02 輸出點)

輸出電流0.8A TP39=2.13V; ADC IoutRef=2643
//Q0 vref=2.13v*kfb*kadc 2643.14 1.65+600mv*0.8a=2.13->2643

Attach file:



jpg  SCRtp39.jpg (299.33 KB)
9526_6088f88cafb7d.jpg 1366X824 px

發表於: 2021/4/28 13:33

Edited by jaures168 on 2021年04月28日 13:54:20
頂部


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


constant current limit;
原本這組r21 =0.03r 在原本source code 是沒有作用的.
source code 沒有使用RA1_ANA1 我加入輸出限電流0.8a
see dsPIC33C-Digital-Power-Starter-Kit-Users-Guide-DS50002867B.pdf
page27 / page29
R70 =0r 接上;
r25/r26/c30/r24/c29/r22/r23/MCP6C02-020 手工焊接上
L3 & R21之間加100UF 對地.
這就是輸出限流迴路.

在沒有輸出電流 TP39=1.65V(MCP6C02 輸出點)

輸出電流0.8A TP39=2.13V; ADC IoutRef=2643
//Q0 vref=2.13v*kfb*kadc 2643.14 1.65+600mv*0.8a=2.13->2643

Attach file:



jpg  SCR2p13v.jpg (367.51 KB)
9526_6088f363f31a1.jpg 1366X824 px

發表於: 2021/4/28 13:32
頂部


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


目前修改程式已經可以穩定在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
頂部


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


目前 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
頂部


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


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

是放在PG1DC 還是PG1DCA?

發表於: 2021/3/16 10:39
頂部


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


在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
頂部


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


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

發表於: 2020/11/27 8:58
頂部


本人寫了一個簡單的跑馬燈程式,8種對應的輸入對應八種輸出,可是好像不對,高手進。。。
新會員
新會員



發表於: 2011/11/22 10:16
頂部






:::

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... ]

教育訓練中心

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