是德科技
直播中

廉雁捷

8年用户 263经验值
私信 关注
[问答]

如何实现33500从恒定频率到扫描的无缝传输

嗨!
更详细的情况:33500产生1000Hz的窦。
我想开始扫描(2秒内1000-> 2000Hz),但我希望它与当前波形“同步”开始。
当我发送SCPI命令时,我不希望它立即切换到扫描。
相反,扫描应在当前正弦周期结束时开始(无缝转移)。
可能吗?
怎么样?
注意:任意不是一个选项,因为我不知道提前扫描的需要...非常感谢!

以上来自于谷歌翻译


     以下为原文

  Hi!

The situation in more detail:
The 33500 generates a sinus with 1000Hz. I want to start a sweep (1000->2000Hz in 2s), but I want it to start "in phase" with the current waveform. I don't want it to immediately switch to sweep when I send the SCPI-command. Instead the sweep shall start when the current sinus period is finished (seamless transfer).
Is it possible? How?  
Note: arbitrary is not an option since I don't know in advance when the need for the sweep appears...

Many thanks!  

回帖(4)

杨梅

2019-7-23 08:20:14
大家好,是的33500可以做到这一点。
使用函数发生器的扫描模式时,将触发源设置为BUS。
函数发生器将处于起始频率,直到您发送* TRG。
我相信它将完成它的当前周期并在收到触发器后开始扫描。
当我尝试这个时,我没有看到任何不连贯的情况。
如果您有更多问题,请与我们联系。

以上来自于谷歌翻译


     以下为原文

  Hello John,

Yes the 33500 can do this. When you use the sweep mode of the function generator, and you set the trigger source to BUS.  The function generator will sit at the start frequency until you send a *TRG.  I believe it will finish it's current cycle and begin sweeping upon receipt of the trigger.  There is no disconitinuity I could see when I just tried this out.

Let me know if you have more questions.
举报

廉雁捷

2019-7-23 08:37:18
引用: 4864165sas 发表于 2019-7-23 08:20
大家好,是的33500可以做到这一点。
使用函数发生器的扫描模式时,将触发源设置为BUS。
函数发生器将处于起始频率,直到您发送* TRG。

感谢您的投入!
你的建议有点把问题与不连续性推到另一个时间点。
一旦扫描功能(SOURce1:FREQuency:MODE SWE)通过scpi发送,无论触发类型如何,幅度都会跳转。
即使所产生的信号的当前频率与扫描的起始频率相同。
但是你是对的,如果按照建议选择BUS,* TRG发生时扫描的实际开始是平滑的。
背景:我真正想要做的是模拟一个测量旋转轴上的脉冲的速度传感器。
我希望能够在不同的轴速度之间进行斜坡加速,并将其与恒定速度段(具有线性段的速度曲线)混合。
一切顺畅,没有任何不连续性,因为它来自真正的旋转轴。
也许FM是一个解决方案?
但我真的不想使用外部调制源,因为它不适合我。
我试图使用内部FM源没有成功:(

以上来自于谷歌翻译


     以下为原文

  Thanks for the input!

Your suggestion kind of pushes the problem with the discontinuity to another point in time. As soon as the sweep function (SOURce1:FREQuency:MODE SWE) is sent over scpi the amplitude makes a jump regardless of trigger type. This even if the current frequency of the generated signal is the same as the start frequency of the sweep. But you are right, if you choose BUS as suggested the actual start of the sweep when *TRG occurs is smooth.

Background:
What I really want to do is to simulate a speed sensor which measures impulses on a rotating shaft. I want to be able to ramp between different shaft speeds and mix that with constant speeds segment (a speed profile with linear segments). Everything smooth, without discontinuties as it would be from a real rotating shaft. 

Maybe FM is a solution? But I really don't want to use an external modulating source since it is not available to me. And I have tried to do it using internal FM source without success :(
举报

杨梅

2019-7-23 08:45:35
引用: xiaoge240 发表于 2019-7-23 08:37
感谢您的投入!
你的建议有点把问题与不连续性推到另一个时间点。
一旦扫描功能(SOURce1:FREQuency:MODE SWE)通过scpi发送,无论触发类型如何,幅度都会跳转。

你好约翰,振幅是跳跃???
您运行的是什么固件版本?
也许你可以发送跳跃的范围镜头?
FM可以工作,但我认为你会遇到触发方面的问题。
如果回忆正确,我就无法触发FM。
我认为可以通过几种不同的方式来实现您所寻求的性能,但在我看来,扫描是最直接的方法。
让我们看看我们是否可以弄清楚为什么这个东西在振幅上跳跃。
此致,卢克

以上来自于谷歌翻译


     以下为原文

  Hello John,  The amplitude is jumping???

What firmware rev are you running?

Maybe you can send a scope shot of the jump?  

FM could work, but I think you will run into problems with the triggering aspect.  If recollection serves me correctly, you can't trigger FM.

I think there could be a few different ways to achieve the performance your looking for, but sweep is the most straightforward method in my opinion.  Let's see if we can figure out why this thing is jumping in amplitude.

Regards,

Luke
举报

杨梅

2019-7-23 08:58:37
好吧,你可能用你的英语欺骗了我:)我相信你所描述的问题是从恒定波切换到扫描模式时的不连续性。
Sweep必须进行大量的硬件配置,而且交换机从来就不是相位连续的。
但是,我建议您关闭输出,直到完成为应用程序配置框。
基本上等到发送SOURce1:FREQuency:MODE SWE后,打开输出。
这样你就可以避免不连续性。
如果扫描是总线或手动触发,那么它将像CW模式一样停在起始频率。
然后触发器使扫描开始并且是相位连续的,如前所述。
如果您还没有发现它,您可以使用扫描保持时间参数来停留在结束频率(如果您愿意),并且返回时间参数可以平滑地扫描回起始频率。
如果这不能满足您的需求,请告诉我。
使用测序还有另一种方法可以做到这一点,但它有点困难。
此致,卢克

以上来自于谷歌翻译


     以下为原文

  Well you could have fooled me with your English :)

The issue I believe you are describing is the discontinuity when switching from Constant Wave to sweep mode.  Sweep has to do a lot of hardware config, and the switch was never meant to be phase-continuous.  

However, I would suggest leaving your output off until you have finished configuring the box for your application. 

Basically wait until after you have sent SOURce1:FREQuency:MODE SWE, to turn on the outputs.  This way you will avoid the discontinuity.   If the sweep is bus or manual triggered then it will park at the start frequency just like CW mode.  The trigger then causes the sweep to start and is phase-continuous, as you saw previously.  

If you hadn't discovered it already you can use the sweep hold time parameter to dwell at the end frequency if you'd like, and the return time parameter to smoothly sweep back to the start frequency. 

If this doesn't satisfy your needs let me know.  There is another way to do this using sequencing, but it is a little more difficult.

Regards,

Luke
举报

更多回帖

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