完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
您好,我正在尝试用ADE7758与PIC18F4520单片机接口来测量峰值电压、有功能量、表观能量、电压有效值、电流有效值、功率因数等。我已经阅读了ADE7758的数据表,并在PIC18F4520上配置SPI。但是我还不了解ADE7758的初始化和校准过程。启用HPF、LPF、PGA1、PGA2等?OpMod和增益寄存器的配置?任何其他建议…我已编写代码作为附件。
以上来自于百度翻译 以下为原文 Hello, I am trying interface ADE7758 with PIC18F4520 MCU to measure Peak Voltages,Active Energy, Apparent Energy, Voltage RMS, Current RMS ,Power Factor etc. I have read datasheet of ADE7758 and configure SPI on my PIC18F4520. But I have not understood ADE7758 Initialization and calibration process. When to Enable HPF, LPF , PGA1,PGA2 etc. ? Configuration of OPMODE and GAIN Register ? Any other suggestion .. I have written code as attachment . -- KR Attachment(s) 123.zip (7.25 KB) - downloaded 214 times |
|
相关推荐
16个回答
|
|
|
听起来不错:你能看懂任何价值观吗?它们有道理吗?此外,你有两个“同时”(1)
以上来自于百度翻译 以下为原文 Sounds good enough: can you read any values? Do they make sense? Also, you have two "while(1)" |
|
|
|
|
|
是的……微笑:我有两个小时(1)。我刚点了。ADC。可能会在2-3天内收到。如果这些设置只是默认的,它们的目的是什么?我的意思是申请。我正在使用CTS的三相、三线制。
以上来自于百度翻译 以下为原文 Yes ...Smile: I have just ordered.ADC . May receive in 2-3 Days. If these setting just to kept Default ..For what Purpose they meant for ? I mean to application. I am working on 3-Phase, 3-Wire System with CTs . -- KR |
|
|
|
|
|
如果电压和电流传感器的读数太小或太多,那么可以使用增益,并且基本上不需要调整它们,我也不需要中断或故障警报:如果需要的话,您可能需要设置那些寄存器,但是……我以后留着!
以上来自于百度翻译 以下为原文 Gain could be used if the readout you achieve with your voltage and current sensors is too little or too much - and I basically never needed to adjust them I also did not need interrupts or Fault alerts: in case you want them, you may want to set those registers but... I'd keep that for later! |
|
|
|
|
|
再次你好,我能够读ADE7758的R/W寄存器的R/W值,并且能够读出默认值。这意味着SPI通信工作正常。莫尔斯怀疑!什么时候做校准?怎么办?如何将寄存器值转换为实际值?——卡兰
以上来自于百度翻译 以下为原文 Hi Again, I am able to R/W values for R/W register of ADE7758 and able to read default values. Means SPI Communication is working fine. Mores doubts !! When to do calibration ? n How ? How to convert register value to actual value ? -- Karan |
|
|
|
|
|
嗨,CinziaG,嗯……我知道……谢谢你。
以上来自于百度翻译 以下为原文 Hi CinziaG, Hmmm...That I know ...Thanks for that . http://www.analog.com/med...alibration_Aug2003.pdf I am asking as per this above manual . Sound typical as you suggested .. -- Karan |
|
|
|
|
|
谢谢你,我仍然相信,除非你能用默认值读取的数字没有溢出(或下溢),没有必要改变增益等,只是执行一些数学阅读后。
以上来自于百度翻译 以下为原文 Thanks for that I still believe that, unless the numbers you can read with default values are not overflowing (or underflowing), there's no need to change Gain etc, just perform some math after reading. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
你好,CHIZIAG,那么那个文档有什么用呢?钙化可以直接进行吗?对于所有参数?就像我对功率因数测量感兴趣一样。再次感谢。——卡兰
以上来自于百度翻译 以下为原文 Hello CinziaG, So What is use of that document? Is calbration can be done straight way? For All parameters? Like I am interested in power factor measurement. Thanks again. -- Karan |
|
|
|
|
|
正如我所说的,我没有把增益等设置放在软件中,而是把读数放在软件中。我把功率作为一个简单的电流和电压积分计算出来。
以上来自于百度翻译 以下为原文 As I said, I left the gain etc settings untouched and scaled the readout in software. I calculate power as a simple integral of Current and Voltage (to say) over time |
|
|
|
|
|
谢谢。。。意思是在没有文档的情况下,阅读ADE775的所有参数。——卡兰
以上来自于百度翻译 以下为原文 Thanks... Means you read All parameters of ADE7758 prefactly without that document... -- Karan |
|
|
|
|
|
|
|
|
|
|
|
味精19?哪里?是的,我的意思是:我不是在设置增益,而是:我用软件读取这些数字并进行缩放。
以上来自于百度翻译 以下为原文 msg #19? where? Yes I meant that: I am not setting gain or else: I read the numbers and scale them in software. |
|
|
|
|
|
对不起,在味精9。一个链接。http://www.
以上来自于百度翻译 以下为原文 Sorry in Msg #9 . A Link. http://www.analog.com/med...alibration_Aug2003.pdf |
|
|
|
|
|
我想……嗯……我的意思是说,你用ADE7758阅读下面的参数,而没有校准这个文档:ttp://www..og.com/med...ali._Aug2003.pdfAWATTHR,BWATTHR,CWATTHRAVARHR,BVARHR,CVARHRAVAHR,CVAHR--Kr。
以上来自于百度翻译 以下为原文 Hi CinziaG Repeating I think .... Hmmm...I mean to say you read parameters as below with ADE7758 prefactly without calibrating this document http://www.analog.com/med...alibration_Aug2003.pdf AWATTHR , BWATTHR ,CWATTHR AVARHR,BVARHR ,CVARHR AVAHR ,BVAHR,CVAHR -- Kr |
|
|
|
|
|
是的,我是说(这个文件很有趣,但我没有做任何校准)。
以上来自于百度翻译 以下为原文 Yes, I meant that (the document is interesting but I did not make any calibration) |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1121浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 19:44 , Processed in 1.109519 second(s), Total 102, Slave 85 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
4777