Re: dsPIC33C Digital Power Starter Kit
|
||||
---|---|---|---|---|
新會員
|
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
發表於: 2021/4/28 13:33
Edited by jaures168 on 2021年04月28日 13:54:20
|
|||
|
Re: dsPIC33C Digital Power Starter Kit
|
||||
---|---|---|---|---|
新會員
|
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
發表於: 2021/4/28 13:32
|
|||
|
Re: dsPIC33C Digital Power Starter Kit
|
||||
---|---|---|---|---|
新會員
|
目前修改程式已經可以穩定在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 測量圖
發表於: 2021/4/27 14:17
|
|||
|
Re: dsPIC33C Digital Power Starter Kit
|
||||
---|---|---|---|---|
新會員
|
目前 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
發表於: 2021/4/26 20:19
|
|||
|
Re: dsPIC33C Digital Power Starter Kit
|
||||
---|---|---|---|---|
新會員
|
我想做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
|
||||
---|---|---|---|---|
新會員
|
在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
|
||||
---|---|---|---|---|
新會員
|
請問有無完整設計案例,目前手上有demo kit但是DCDT (Digital Compensator Design Tool)
文件沒有完整設計案例,從0開始
發表於: 2020/11/27 8:58
|
|||
|
本人寫了一個簡單的跑馬燈程式,8種對應的輸入對應八種輸出,可是好像不對,高手進。。。
|
|
|||
---|---|---|---|---|
新會員
|
發表於: 2011/11/22 10:16
|
|||
|