是德科技
直播中

crhm51900928

7年用户 243经验值
私信 关注
[问答]

编程DSOX3000系列连接1 uF/50伏电解电容时电平会大大增加

我正在编写一个VB6程序来配置我的DSOX3024以测量电容的ESR。
我的程序使用100 Khz,1伏RMS正弦波激活wavegen。
例如,当我将垂直通道连接到wavegen输出和100 uF电容时,RMS电平下降。
该程序根据50欧姆阻抗和1伏RMS减去电容两端的电压计算电流。
然后,它根据电容两端的电压除以电流计算ESR。
问题是,当我的程序配置每个div 10mv的垂直通道时,对于100uF / 16v电解电容,该标度就可以了。
当我连接1 uF / 50伏电解电容时,电平会大大增加并且波形会被切断。
有没有办法查询通道或确定何时剪切波形?
我可以使用查询自动调整程序中每个div的伏特数。
Jack Albert Willco Electronics。编辑:Willco788于2013年11月9日上午11:31

以上来自于谷歌翻译


     以下为原文

  I'm writing a VB6 program that configures my DSOX3024 to measure a capacitor's ESR.  My program activates the wavegen with a 100 Khz, 1 volt RMS sinewave.  When I connect the vertical channel to the wavegen output and a 100 uF capacitor, for example, the RMS level drops.  The program calculates the current based on the 50 ohm impedance and 1 volt RMS minus the voltage across the capacitor.  It then calculates the ESR based on the voltage across the capacitor divided by the current.   

The problem is, when my program configures the vertical channel for 10mv per div,  that scale is fine for a 100 uF/16v electrolytic capacitor.  When I connect a 1 uF/50 volt electrolytic, the level greatly increases and the waveform clips.

Is there a way to query the channel or determine when the waveform is clipped?  I can use the query to automatically adjust the volts per div in my program.

Jack Albert
Willco Electronics.

Edited by: Willco788 on Nov 9, 2013 11:31 AM  

回帖(7)

周菊

2019-1-14 13:41:38
由于裁剪是在HW中完成的,因此无法以编程方式知道裁剪何时裁剪。
您可以只执行AutoScale,但范围将设置为最佳垂直标度。
免责声明:为了获得更可靠的响应,您应该考虑致电当地的安捷伦技术呼叫中心。
安捷伦论坛在“可用”的基础上进行监控,并不一定是解决技术问题的最快方式。

以上来自于谷歌翻译


     以下为原文

  Since the clipping is done in HW, there's no way to know, programmatically, when it's clipped. You could just do an AutoScale, and the scope would be set to the optimum vertical scale, though.

Al

Disclaimer: For more reliable response, you should consider calling your local Agilent Technical Call Center. The Agilent Forums are monitored on an "as available" basis, and aren't necessarily the fastest way to get technical questions answered.
举报

王平

2019-1-14 13:49:50
根据3000X程序员指南,“:WAVeform:DATA”命令将在剪切为低时返回0x01或0x0001的数据点,或在剪切为高时返回0xff或0xffff。
这仅适用于BYTE或WORD格式。
如果您碰巧使用ASCII格式,似乎没有类似的剪辑指示。
-标记

以上来自于谷歌翻译


     以下为原文

  According to the 3000X Programmer's Guide, the ":WAVeform:DATA" command will return data points with 0x01 or 0x0001 when clipped low, or 0xff or 0xffff when clipped high.  This only works with BYTE or WORD format.  There doesn't seem to be a similar clipping indication if you happen to be using ASCII format.

-mark
举报

crhm51900928

2019-1-14 14:05:12
引用: uvysdfydad 发表于 2019-1-14 13:49
根据3000X程序员指南,“:WAVeform:DATA”命令将在剪切为低时返回0x01或0x0001的数据点,或在剪切为高时返回0xff或0xffff。
这仅适用于BYTE或WORD格式。
如果您碰巧使用ASCII格式,似乎没有类似的剪辑指示。

“:WAVeform:DATA会将所有全屏波形数据转储到软件的存储缓冲区中。我的程序必须分析数据并确定是否剪切了最小/最大数据点。这太复杂了,会减慢程序的速度。
我也遇到了以下问题:AUToscale CHANnel。当我为通道1执行自动缩放时,范围恢复需要几秒钟。到那时我的软件已经发送了MEASure:VRMS?命令并且结果总是如此
0欧姆。我要么延迟我的程序(这将是不可靠的)或者向示波器发送查询以检测何时自动缩放完成。在示波器屏幕上,DVM确实指示何时剪切波形但我找不到
查询DVM状态的命令。编辑:Willco788于2013年11月11日9:13 PM编辑:Willco788于2013年11月12日上午5:35

以上来自于谷歌翻译


     以下为原文

  ":WAVeform:DATA would dump all of the full screen waveform data into the software's storage buffer.  My program would have to analyze the data and determine if the min/max data points are clipped.  That's too complicated and would slow down the program.

I'm also having problems with :AUToscale CHANnel.  When I execute auto scale for channel 1, it takes several seconds for the scope to recover.  By then my software has already sent the MEASure:VRMS? command and the and the results is always 0 Ohms.  I either need to delay my program (that would be unreliable) or send a query to the scope to detect when the auto scale is finished.

On the scope screen, the DVM does indicate when the waveform is clipped but I cannot find a command that would query the DVM status.

Edited by: Willco788 on Nov 11, 2013 9:13 PM

Edited by: Willco788 on Nov 12, 2013 5:35 AM
举报

王平

2019-1-14 14:19:39
引用: crhm51900928 发表于 2019-1-14 14:05
“:WAVeform:DATA会将所有全屏波形数据转储到软件的存储缓冲区中。我的程序必须分析数据并确定是否剪切了最小/最大数据点。这太复杂了,会减慢程序的速度。
我也遇到了以下问题:AUToscale CHANnel。当我为通道1执行自动缩放时,范围恢复需要几秒钟。到那时我的软件已经发送了MEASure:VRMS?命令并且结果总是如此
0欧姆 ...

>在示波器屏幕上,DVM确实指示波形被剪切的时间,但是我找不到将查询DVM状态的>命令。
“:DVM:电流是多少?”
返回DVM读数。
如果该值被剪切,它似乎返回一个无意义的值(9.9E + 37,通过我的测试)。
-标记

以上来自于谷歌翻译


     以下为原文

  > On the scope screen, the DVM does indicate when the waveform is clipped but I cannot find a
> command that would query the DVM status.

":DVM:CURRent?" returns the DVM reading.  And if the value is clipped, it appears to return a nonsensical value (9.9E+37, by my test).

-mark
举报

更多回帖

发帖
×
20
完善资料,
赚取积分