完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨盖伊,我正在尝试生成一个应用脉冲调制的信号。
调制的特征是每个脉冲的宽度为0.1ms,脉冲周期为1.1ms。 此外,在该信号中,一位持续20ms。 现在我想每20ms移回一次脉冲。 例如,对于第一位,脉冲从t = 0 ms开始,然后我向后移动0.1ms,因此对于第二位,我希望脉冲从t = 20.1 ms而不是20ms开始...我看了 在“SCPI命令手册”(由于SCPI命令,我命令发生器Agilent MXG N5182A)我找到了延迟脉冲的命令:[:SOURce]:PULM:INTernal:DELay [1] | [2] | UP | DOWN但是,我如何告诉发电机每隔20ms做一次? 我可以使用以下命令:[:SOURce]:PULM:INTernal:DELay:STEP我不确定我完全理解第二个命令的目的是什么...感谢您的帮助并祝您周末愉快! 安托万 以上来自于谷歌翻译 以下为原文 Hi Guy, I am trying to generate a signal on which a pulse modulation is applied. The features of the modulation are a width of 0.1ms for each pulse and a pulse period of 1.1ms. Furthermore, in this signal, one bit lasts 20ms. Now I would like to move back the pulses every 20ms. For example, for the first bit the pulses begins at t = 0 ms, then I move back it of 0.1ms, thus for the second bit I would like that the pulses begin at t = 20.1 ms rather than 20ms... I looked at the "SCPI command manual" ( I command the generator Agilent MXG N5182A thanks to the SCPI commands) and I found a command to delay the pulses: [:SOURce]:PULM:INTernal:DELay[1]|[2] |UP|DOWN However, how can I tell the generator to do that every 20ms ? Can I use the following command: [:SOURce]:PULM:INTernal:DELay:STEP I am not sure I understood exactly what is the purpose of the second command... Thanks for your help and have a nice week end!! Antoine |
|
相关推荐
3个回答
|
|
Hi Antoine - 命令 - :SOURce:PULM:INTernal:DELay [1] | [2] | UP | DOWN设置相对于脉冲同步信号的延迟。
如果使用,则根据这些参数设置延迟。 例如:SOURce:PULM:INTernal:DELay1 0.01ms设置10usec的延迟。 | UP | DOWN参数与第二个命令一起使用 - :SOURce:PULM:INTernal:DELay:STEP例如:SOURce:PULM:INTernal:DELay:步骤0.01ms将延迟步长设置为10usec。 现在使用:SOURce:PULM:INTernal:DELay1 UP每次递增延迟10usec。 我不太清楚你要做什么。 你打电话给18个信号时间吗? 你每20mS移回一次脉冲是什么意思? 脉冲是连续运行还是外部触发? 你是否在1.1mS内错开了一个脉冲? 问候 - 以上来自于谷歌翻译 以下为原文 Hi Antoine - The command – :SOURce:PULM:INTernal:DELay[1]|[2] |UP|DOWN Sets the delay relative to the pulse sync signal. If is used then the delay is set according to these parameters. For example :SOURce:PULM:INTernal:DELay1 0.01ms sets the delay for 10usec. The |UP|DOWN parameters are used in conjunction with the second command – :SOURce:PULM:INTernal:DELay:STEP For example :SOURce:PULM:INTernal:DELay:STEP 0.01ms Set the delay step to be 10usec. Now using :SOURce:PULM:INTernal:DELay1 UP Increment the delay by 10usec each time. It is not quite clear to me what you are trying to do. Are you calling 18 periods of you signal one bit? What do you mean by moving the pulses back every 20mS? Are the pulses running continuous or are they externally triggered? Are you staggering one pulse across the 1.1mS? Regards - |
|
|
|
首先感谢您的回答,实际上我有一些位,每个位由20个代码组成,每个代码由100个芯片组成。
因此,一位由20x1000个芯片组成。 一位持续20ms,每个代码C / A代码持续1ms。 所以我想要做的就是每个C / A码的1/10。 这就是为什么我设置0.1ms的脉冲宽度并且我希望在10ms内覆盖整个C / A码,因此我设置了1.1ms的脉冲周期,这样对于每个C / A码,脉冲向前移动0.1ms。 然后,对于第一个C / A,我覆盖了100个第一个芯片,在第二个C / A上我覆盖了从101到200等的芯片...... 10毫秒后,我覆盖了1000个芯片。 我想我成功了,但现在我想改变顺序。 我的意思是在第11毫秒,我不希望脉冲在第一个芯片开始,但在第50个开始,例如。 所以这意味着延迟-10.5毫秒。 你觉得这有可能吗? 我希望我足够清楚......谢谢你的帮助! 安托万 以上来自于谷歌翻译 以下为原文 First of all thanks for your answer, actually I have some bits, and each bit is composed of 20 codes C/A (all the sames) composed of 1000 chips. Thus, one bit is made up of 20x1000 chips. One bit lasts 20ms and each code C/A code lasts 1ms. So what I want to do, it is to pulse 1/10 th of each C/A code. That's why I set a pulse width of 0.1ms and I want to cover the whole C/A code during 10ms thus I set a pulse period of 1.1ms so that for each C/A code the pulse is moved forward of 0.1ms. Then for the first C/A I cover the 100 first chips, on the second C/A I cover the chips from 101 to 200 etc etc... After 10 ms I covered the 1000 chips. I think I succeed to do that but now I want to change the sequence. I mean for the 11th ms I don't want the pulse to begin at the 1st chip but at the 50th for example. So It would mean to delay it of -10.5 ms. Do you think this is possible? I hope I am clear enough... Thanks for your help! Antoine |
|
|
|
60user69 发表于 2018-11-28 10:06 嗨Antoine - 谢谢你清理这个。 我现在对你的尝试有了更好的理解。 如果携带C / A码的信号是连续的那么似乎将脉冲宽度设置为0.1mS并且将周期设置为1.1mS将覆盖第一脉冲上的100个第一芯片然后覆盖第二脉冲上的下一个100,覆盖1000个芯片 你看到10毫秒后。 现在是第50个芯片......实现这一目标的一种方法是使用N5182A-320的脉冲序列选项:http://www.home.agilent.com/en/pd-1871912-pn-N5182A-320/pulse- 火车发电机?cc = US& lc = eng您可以定义一个脉冲序列:ItemOn TimeOff Time Repeat 1.1ms1ms9 10.1ms10.5ms1 11.1ms1ms1注意:这会产生10个脉冲,允许您以100个芯片间隔脉冲1000个芯片然后有 延迟10.5ms,第11个脉冲从第50个芯片开始。 最后需要的是将脉冲与C / A信号同步。 问候 - 以上来自于谷歌翻译 以下为原文 Hi Antoine - Thanks for clearing this up. I now have a better understanding of what you are attempting. If the signal that carries the C/A code is continuous then it seems that setting the pulse width to .1mS and the period to 1.1mS would cover the 100 first chips on the first pulse then the next 100 on the second, covering 1000 chips after 10ms as you have seen. Now for the 50th chip… One way to accomplish this is to use the pulse train option of the N5182A-320: http://www.home.agilent.com/en/pd-1871912-pn-N5182A-320/pulse-train-generator?cc=US&lc=eng You could define a pulse train: Item On Time Off Time Repeat 1 .1ms 1ms 9 10 .1ms 10.5ms 1 11 .1ms 1ms 1 Note: this produces the 10 pulses allowing you to pulse the 1000 chips in 100chip intervals then there is a 10.5ms delay and the 11th pulse begins at the 50th chip. The last thing needed would be to synchronize the pulses with you C/A signal. Regards - |
|
|
|
只有小组成员才能发言,加入小组>>
1291 浏览 0 评论
2375 浏览 1 评论
2194 浏览 1 评论
2065 浏览 5 评论
2952 浏览 3 评论
1127浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
758浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
936浏览 0评论
1294浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 11:23 , Processed in 1.467660 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号