• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::

論壇索引


Board index » All Posts (yjo159pl)




Re: CTMU 輸出恆流源,AD取樣電壓測試
#1
中級會員
中級會員


版主 您好:

圖(一)至圖(三)是當我開啟CTMU輸出恆流源後測試的方法,
另外附圖為所測試的二極體特性曲線。

謝謝

Attach file:



jpg  (0.00 KB)


jpg  (0.00 KB)


gif  (0.00 KB)


發表於: 2020/5/9 14:23

Edited by yjo159pl on 2020年05月09日 14:40:20
頂部


CTMU 輸出恆流源,AD取樣電壓測試
#2
中級會員
中級會員


各位好:

目前使用的型號為: PIC18F45K80, 運行頻率10MHZ + PLL

想請問,目前我在使用CTMU測試其輸出的恆流源。

這是我的相關設定:
/* analog/ digital module set */
ADCON0 = 0b00011111; //channel 07 AN7
ADCON1 = 0b00000000; // VREF+ = AVDD, VREF- = AVSS, Analog negative channel is AVss
ADCON2 = 0b10011010;

/* CTMU Current Source function set */
CTMUICON = 0x03; // 55uA.
CTMUCONL= 0x90;
CTMUCONHbits.CTMUEN = 1;
CTMUCONLbits.EDG1STAT = True;

我在AN7的部分: 分別測試過
1. 外加單顆二極體對Vss: 型號1SS390
2. 外加10K電阻對Vss

MCU AD取樣結果,跟我實際用電表量測結果,
發現: MCU 取樣結果 - 電表量測= 0.16V。

備註: 將恆流源改成5.5uA時,壓差為0.016V

---------
1. 所以想請問: 這個恆流源(55uA)是否會因為AD內取樣電路,增加0.16V的電壓差?

2. 是否我採用Channel 29, 使用內部二極體量測結果,也需要減去0.16V這個壓差?

以上 謝謝。

發表於: 2020/5/8 9:43
頂部


Re: 請益 PIC18F45K80 PWRT(Power-up timer) 使用
中級會員
中級會員



發表於: 2020/2/29 16:07
頂部



(1) 2 3 4 ... 6 »



:::

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

教育訓練中心

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