CN101320054B - Method and device for signal generator outputting signal collected by oscillograph - Google Patents
Method and device for signal generator outputting signal collected by oscillograph Download PDFInfo
- Publication number
- CN101320054B CN101320054B CN2008100066982A CN200810006698A CN101320054B CN 101320054 B CN101320054 B CN 101320054B CN 2008100066982 A CN2008100066982 A CN 2008100066982A CN 200810006698 A CN200810006698 A CN 200810006698A CN 101320054 B CN101320054 B CN 101320054B
- Authority
- CN
- China
- Prior art keywords
- signal generator
- oscillograph
- module
- signal
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
本发明提供了一种信号发生器输出示波器所采集信号的方法和装置,该方法实现所述信号发生器输出所述示波器所采集信号,包括以下步骤:信号发生器向示波器发送“读取波形数据指令”;示波器向信号发生器发送波形数据;信号发生器向示波器发送“读取时基指令”和“读取幅度设置指令”;示波器向信号发生器发送时基和幅度设置值;信号发生器根据时基和幅度设置值,计算信号的输出频率和幅度;信号发生器根据输出频率、输出幅度和波形数据,输出示波器所采集的信号。通过上述方法和装置,使信号发生器可输出示波器所采集信号,进而使信号发生器可与示波器联合使用,大大拓展了它们应用空间与领域,可更加广泛应用于地质、海洋、空间、军事等研究领域。
The present invention provides a method and device for a signal generator to output signals collected by an oscilloscope. The method realizes that the signal generator outputs the signals collected by the oscilloscope, including the following steps: command"; the oscilloscope sends waveform data to the signal generator; the signal generator sends "read time base command" and "read amplitude setting command" to the oscilloscope; the oscilloscope sends time base and amplitude setting values to the signal generator; the signal generator Calculate the output frequency and amplitude of the signal according to the time base and amplitude setting values; the signal generator outputs the signal collected by the oscilloscope according to the output frequency, output amplitude and waveform data. Through the above method and device, the signal generator can output the signal collected by the oscilloscope, and then the signal generator can be used in conjunction with the oscilloscope, which greatly expands their application space and field, and can be more widely used in geology, ocean, space, military, etc. field of study.
Description
技术领域technical field
本发明一般涉及测量工作领域,特别涉及信号发生器输出示波器所采集信号的方法和装置。The invention generally relates to the field of measurement work, in particular to a method and a device for a signal generator to output signals collected by an oscilloscope.
背景技术Background technique
信号发生器被广泛应用在科研、教学、工程等领域,用以产生各种波形的信号,例如正弦波、方波、三角波、调幅波和调频波。用户还可以通过波形编辑界面,编辑出任何波形,信号发生器将用户编辑的任意波形存储在信号发生器的存储模块中,当需要输出此波形时,就从存储模块中读取该波形,采用DDS技术输出。Signal generators are widely used in scientific research, teaching, engineering and other fields to generate signals of various waveforms, such as sine wave, square wave, triangle wave, AM wave and FM wave. The user can also edit any waveform through the waveform editing interface. The signal generator stores the arbitrary waveform edited by the user in the storage module of the signal generator. When the waveform needs to be output, it reads the waveform from the storage module. DDS technology output.
示波器也被广泛应用在科研、教学、工程等领域,用以检测各种信号波形。示波器通过模拟通道引入输入信号,经过A/D转换模块采集波形,并存储波形,然后将所存储的波形在屏幕上显示出来。Oscilloscopes are also widely used in scientific research, teaching, engineering and other fields to detect various signal waveforms. The oscilloscope introduces the input signal through the analog channel, collects the waveform through the A/D conversion module, stores the waveform, and then displays the stored waveform on the screen.
目前,信号发生器与示波器是两种独立的仪器,其结构如图1所示,不能互相通信,信号发生器不能直接输出示波器所采集的信号,限制了示波器和信号发生器的使用。At present, the signal generator and the oscilloscope are two independent instruments. Their structures are shown in Figure 1 and cannot communicate with each other. The signal generator cannot directly output the signal collected by the oscilloscope, which limits the use of the oscilloscope and signal generator.
发明内容Contents of the invention
本发明的目的在于提供信号发生器输出示波器所采集信号的方法,该方法通过示波器和信号发生器实现信号发生器输出所述示波器所采集信号,如图2所示,该方法包括以下步骤:The object of the present invention is to provide the method for signal generator output oscilloscope collected signal, the method realizes signal generator output described oscilloscope collected signal by oscilloscope and signal generator, as shown in Figure 2, this method comprises the following steps:
信号发生器向示波器发送“读取波形数据指令”;The signal generator sends the "read waveform data command" to the oscilloscope;
示波器向信号发生器发送波形数据;The oscilloscope sends waveform data to the signal generator;
信号发生器向示波器发送“读取时基指令”;The signal generator sends a "read time base command" to the oscilloscope;
示波器向信号发生器发送时基设置值;The oscilloscope sends the time base setting value to the signal generator;
信号发生器根据时基设置值,计算信号的输出频率;The signal generator calculates the output frequency of the signal according to the time base setting value;
信号发生器向示波器发送“读取幅度设置指令”;The signal generator sends a "read amplitude setting command" to the oscilloscope;
示波器向信号发生器发送幅度设置值;The oscilloscope sends the amplitude setting value to the signal generator;
信号发生器根据幅度设置值,计算输出信号输出幅度;The signal generator calculates the output signal output amplitude according to the amplitude setting value;
信号发生器根据输出频率、输出幅度、以及波形数据,就可以输出示波器中存储的波形。According to the output frequency, output amplitude, and waveform data, the signal generator can output the waveform stored in the oscilloscope.
本发明还提供了一种信号发生器输出示波器所采集信号的装置,包括信号发生器、示波器,信号发生器包括输入模块1、控制处理模块1、通信接口模块1、波形存储模块1和显示模块1,示波器包括显示模块2、控制处理模块2、波形输入采集模块、波形存储模块2、通信接口模块2和输入模块2,其中信号发生器还包括:The present invention also provides a device for a signal generator to output signals collected by an oscilloscope, including a signal generator and an oscilloscope, and the signal generator includes an
指令发送模块,用于控制信号发生器向示波器发送指令,所述指令包括“读取波形数据指令”、“读取时基指令”和“读取幅度设置指令”;The instruction sending module is used to control the signal generator to send instructions to the oscilloscope, and the instructions include "reading waveform data instruction", "reading time base instruction" and "reading amplitude setting instruction";
数据接收模块,用于控制信号发生器接收示波器的数据,包括波形数据、时基设置值和幅度;The data receiving module is used to control the signal generator to receive data from the oscilloscope, including waveform data, time base setting value and amplitude;
数据处理模块,用于计算信号的输出频率和输出幅度;The data processing module is used to calculate the output frequency and output amplitude of the signal;
波形输出模块1,用于根据波形数据、输出频率和输出幅度,输出波形;
示波器还包括:The oscilloscope also includes:
指令接收模块,用于控制示波器接收信号发生器的指令;The instruction receiving module is used to control the oscilloscope to receive the instruction of the signal generator;
数据发送模块,用于控制示波器向信号发生器输出数据,所述数据包括波形数据、时基设置值和幅度设置值。The data sending module is used to control the oscilloscope to output data to the signal generator, and the data includes waveform data, time base setting value and amplitude setting value.
本发明通过上述方法和装置,使得信号发生器输出示波器所采集信号。用户可以通过信号发生器,回放再现示波器瞬间采集的信号波形;还可以通过信号发生器输出信号波形,经过某电路输出后,示波器接收该输出波形,并存储、发送该输出波形给信号发生器,可以比较该电路的输入波形与输出波形的差异。信号发生器与示波器的联合使用,大大拓展了它们应用的空间与领域,可以更加广泛应用于地质、海洋、空间、军事等研究领域。The present invention enables the signal generator to output the signal collected by the oscilloscope through the above method and device. Users can play back and reproduce the signal waveform collected by the oscilloscope instantly through the signal generator; they can also output the signal waveform through the signal generator. After outputting through a certain circuit, the oscilloscope receives the output waveform, and stores and sends the output waveform to the signal generator. The difference between the input waveform and the output waveform of this circuit can be compared. The joint use of signal generators and oscilloscopes has greatly expanded their application space and fields, and can be more widely used in research fields such as geology, ocean, space, and military affairs.
附图说明Description of drawings
图1是现有技术的示波器、信号发生器的结构图;Fig. 1 is the structural diagram of oscilloscope, signal generator of prior art;
图2是本发明的信号发生器输出示波器所采集所信号的方法的流程图;Fig. 2 is the flow chart of the method that signal generator output oscilloscope of the present invention gathers the signal;
图3本发明实施例1的流程图;The flowchart of Fig. 3
图4是本发明实施例1的波形数据包的数据格式;Fig. 4 is the data format of the waveform data packet of
图5是本发明实施例2的信号发生器输出示波器采集所信号的装置的结构图。Fig. 5 is a structural diagram of a device for outputting signals collected by an oscilloscope from a signal generator according to
具体实施方式Detailed ways
以下结合附图说明本发明的具体实施方式。The specific embodiments of the present invention will be described below in conjunction with the accompanying drawings.
实施例1Example 1
信号发生器输出示波器所采集信号的方法是:示波器采集输入信号,并保存; 信号发生器与示波器交换信息,信号发生器获得示波器所采集信号的波形,并保存、输出所述信号,如图5所示,具体步骤如下:The method for the signal generator to output the signal collected by the oscilloscope is: the oscilloscope collects the input signal and saves it; the signal generator exchanges information with the oscilloscope, the signal generator obtains the waveform of the signal collected by the oscilloscope, and saves and outputs the signal, as shown in Figure 5 As shown, the specific steps are as follows:
信号发生器向示波器发送“读取通道1的波形数据”指令:Data:Load:CH1:DAC VOLATILE,通知示波器发送通道1的波形数据,波形数据的格式是16bits的DAC值;The signal generator sends the command "read the waveform data of
示波器接收信号发生器发送的“读取通道1的波形数据”指令;The oscilloscope receives the command "read the waveform data of
示波器读取通道1的波形数据,并以数据包的形式发送给信号发生器,数据包的格式如图4所示,数据包由两部分组成:数据长度和波形数据内容。数据长度由四个字节组成,用来通知信号发生器将要接收的波形数据的数量;波形数据内容的格式是16bits的DAC值;The oscilloscope reads the waveform data of
信号发生器接收示波器发送过来的数据;The signal generator receives the data sent by the oscilloscope;
信号发生器接收这些数据,并解析出发送数据的大小,将所有发送过来的数据保存;The signal generator receives the data, parses out the size of the sent data, and saves all the sent data;
信号发生器向示波器发送“读取通道1的时基”指令:Timebase:Scale?;The signal generator sends the command "read the time base of
示波器接收“读取通道1的时基”指令后,将CH1通道的时基设置值发送给信号发生器;After the oscilloscope receives the "read the time base of
信号发生器根据时基设置值,计算信号的频率;The signal generator calculates the frequency of the signal according to the time base setting value;
信号发生器向示波器发送“读取通道1的垂直灵敏度”指令:CH1:Scale?;The signal generator sends the command "read the vertical sensitivity of
示波器接收到“读取通道1的垂直灵敏度”指令后,将CH1通道的幅度设置值发送给信号发生器;After the oscilloscope receives the "read the vertical sensitivity of
信号发生器根据幅度设置值,计算信号的输出幅度;The signal generator calculates the output amplitude of the signal according to the amplitude setting value;
信号发生器根据输出频率、输出幅度和波形数据,就可以输出示波器所采集的信号。According to the output frequency, output amplitude and waveform data, the signal generator can output the signal collected by the oscilloscope.
实施例2Example 2
如图3所示,本实施例的信号发生器输出示波器所采集信号的装置包括示波器和信号发生器,其中信号发生器包括输入模块1、控制处理模块1、通信接口模块1、波形存储模块1、波形输出模块1、显示模块1;示波器包括:显示模块2、控制处理模块2、波形输入采集模块2、波形存储模块2、通信接口模块2、输入模块2。其中示波器还包括指令发送模块、数据接收模块、数据处理模块;信号发生器还包括指令接收模块和数据发送模块。As shown in Figure 3, the device for the signal generator of this embodiment to output the signal collected by the oscilloscope includes an oscilloscope and a signal generator, wherein the signal generator includes an
数据接收模块,分别与控制处理模块1、通信接口模块1连接,用于控制信号发生器接收示波器的数据,包括波形数据、时基设置值和幅度;The data receiving module is respectively connected with the
数据处理模块,与控制处理模块1连接,用于计算信号的输出频率和输出幅度;The data processing module is connected with the
波形输出模块1包括波形D/A转换电路和幅度D/A转换电路,用于根据波形数据、输出频率和输出幅度,输出波形;The
指令接收模块,分别与控制处理模块2、通信接口模块2连接,用于控制示波器接收信号发生器的指令;The instruction receiving module is respectively connected with the
数据发送模块,分别与控制处理模块2、通信接口模块2连接,用于控制示波器向信号发生器输出数据,所述数据包括波形数据、时基设置值和幅度设置值。The data sending module is connected with the
信号发生器的通信接口模块1与示波器的通信接口模块2通过通信电缆相连,用于信号发生器和示波器之间进行数据通信。通信接口可以是USB接口、RS232、LAN、GPIB等,通信电缆为特定接口专用电缆。The
波形输入采集模块2包括放大电路和模数转换电路,用于采集模拟信号,并转换成数字信号。The waveform
上述的输入模块1和输入模块2可以是键盘、鼠标、U盘接口以及与PC机相连的接口,如:USB接口、RS232、LAN、GPIB等。The above-mentioned
上述的波形存储模块1和波形存储模块2可以是RAM、FLASH等存储体,用于存储数据。The above-mentioned
显示模块1和显示模块2可以是液晶显示器或等离子显示器。The
控制处理模块1和控制处理模块2是CPU及其外围电路。The
以下结合图5说明采用本实施例的装置实现信号发生器输出示波器所采集信号的过程:Below in conjunction with Fig. 5 illustrate adopting the device of the present embodiment to realize the process that the signal generator outputs the signal collected by the oscilloscope:
信号发生器的指令发送模块通过通信接口模块1,向示波器发送“读取通道1的波形数据”指令:Data:Load:CH1:DAC VOLATILE,通知示波器发送通道1的波形数据,波形数据的格式是16bits的DAC值;The command sending module of the signal generator sends the "read the waveform data of
示波器的通信接口模块2接收“读取通道1的波形数据”指令,并通过指令接收模块传送给控制处理模块2;The
控制处理模块2接收到上述指令后,从波形存储模块2中读取通道1的波形数据,并以数据包的形式通过数据发送模块,发送给信号发生器,数据包的格式如图4所示,数据包由两部分组成:数据长度和波形数据内容。数据长度由四个字节组成,用来通知信号发生器将要接收的波形数据的数量,波形数据内容的格式是16bits的DAC值;After the
信号发生器的通信接口模块1接收示波器发送过来的数据,并通过数据接收模块将这些数据传送给控制处理模块1;The
控制处理模块1接收这些数据,并解析出发送数据的大小,将所有发送过来的数据都存储到波形存储模块1中;The
信号发生器的指令发送模块通过通信接口模块1,向示波器发送“读取通道1的时基”指令:Timebase:Scale?;The command sending module of the signal generator sends the command "read the time base of
示波器的通信接口模块2接收指令后,通过指令接收模块,将该指令传递给控制处理模块2;After the
控制处理模块2接收到上述指令后,通过数据发送模块,将CH1通道的时基设置值发送给信号发生器;After the
信号发生器的通信接口模块1接收时基设置值,并通过数据接收模块、控制处理模块1,将该值发送到数据处理模块;The
数据处理模块根据时基设置值,计算信号的频率;The data processing module calculates the frequency of the signal according to the set value of the time base;
信号发生器的指令发送模块通过通信接口模块1,向示波器发送“读取通道1的垂直灵敏度”指令:CH1:Scale?;The command sending module of the signal generator sends the command "read the vertical sensitivity of
示波器的通信接口模块2接收到该指令后,通过指令接收模块,将该指令传递给控制处理模块2;After the
控制处理模块2接收到上述指令后,通过数据发送模块,将CH1通道的幅度设置值发送给信号发生器;After the
信号发生器的通信接口模块1接收幅度设置值,并通过数据接收模块、控制处理模块1,将该值发送到数据处理模块;The
数据处理模块根据幅度设置值,计算信号的幅度;The data processing module calculates the amplitude of the signal according to the amplitude setting value;
波形输出模块1根据信号的频率、幅度和波形数据,输出示波器中存储的波形。The
以上具体实施方式仅用于说明本发明,而非用于限定本发明。The above specific embodiments are only used to illustrate the present invention, but not to limit the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100066982A CN101320054B (en) | 2007-06-08 | 2008-02-01 | Method and device for signal generator outputting signal collected by oscillograph |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710110808.5 | 2007-06-08 | ||
CN200710110808 | 2007-06-08 | ||
CN2008100066982A CN101320054B (en) | 2007-06-08 | 2008-02-01 | Method and device for signal generator outputting signal collected by oscillograph |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101320054A CN101320054A (en) | 2008-12-10 |
CN101320054B true CN101320054B (en) | 2011-05-18 |
Family
ID=40180218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100066982A Active CN101320054B (en) | 2007-06-08 | 2008-02-01 | Method and device for signal generator outputting signal collected by oscillograph |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101320054B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101988864B (en) * | 2009-07-31 | 2015-01-14 | 中国商用飞机有限责任公司 | Signal generator for airplane ground test and application method thereof |
CN103809002A (en) * | 2012-11-09 | 2014-05-21 | 江苏绿扬电子仪器集团有限公司 | Control method for automatic setting of digital fluorescence oscilloscope |
CN103902169B (en) * | 2014-03-26 | 2016-10-05 | 深圳麦科信仪器有限公司 | A kind of storage method and device of touch-control waveform file |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2064518U (en) * | 1990-01-03 | 1990-10-24 | 北京理工大学 | Multi-purposed waveform generators of functions |
US5914592A (en) * | 1995-02-10 | 1999-06-22 | Hitachi Denshi Kabushiki Kaisha | Sampling signal generating circuit for sampling apparatus and digital oscilloscope |
CN1738200A (en) * | 2005-09-02 | 2006-02-22 | 中国科学院上海光学精密机械研究所 | Programmable High Frequency Digital Signal Generator |
-
2008
- 2008-02-01 CN CN2008100066982A patent/CN101320054B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2064518U (en) * | 1990-01-03 | 1990-10-24 | 北京理工大学 | Multi-purposed waveform generators of functions |
US5914592A (en) * | 1995-02-10 | 1999-06-22 | Hitachi Denshi Kabushiki Kaisha | Sampling signal generating circuit for sampling apparatus and digital oscilloscope |
CN1738200A (en) * | 2005-09-02 | 2006-02-22 | 中国科学院上海光学精密机械研究所 | Programmable High Frequency Digital Signal Generator |
Non-Patent Citations (1)
Title |
---|
JP特开平8-35992A 1996.02.06 |
Also Published As
Publication number | Publication date |
---|---|
CN101320054A (en) | 2008-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101131403B (en) | Digital oscillograph and its waveshape displaying method | |
CN101320054B (en) | Method and device for signal generator outputting signal collected by oscillograph | |
CN205898894U (en) | A Digital Storage Scanner | |
CN204669592U (en) | Automobile instrument voice signal detects and harvester | |
CN108519791A (en) | High Speed Arbitrary Waveform Generation Circuit | |
CN203965499U (en) | The Portable integral machine with waveform generation and oscillography function | |
CN105510861B (en) | A kind of multifunction digital PD meter calibrator | |
CN207198217U (en) | A kind of multifunctional virtual oscillograph based on expansible platform | |
CN207181570U (en) | A kind of electronic surveying integrated system | |
CN104916418B (en) | Active noise control system and working method of power transformer | |
CN203798915U (en) | Vector network analyzer | |
CN202772870U (en) | Arbitrary waveform signal source device based on SOPC | |
CN104698307B (en) | A kind of frequency characteristic test apparatus and method based on PXI buses | |
CN211577331U (en) | Testing device for I2S audio bus power amplifier decoding chip | |
CN210604807U (en) | Relay protection vector testing device and relay protection testing system | |
CN102096056A (en) | Method for automatically correcting sound card oscilloscope | |
CN102621366B (en) | A kind of oscillograph | |
CN107702813B (en) | Micro-speaker control temperature measurement integration device and method | |
CN201804035U (en) | Dynamic monitoring storage oscilloscope | |
CN204694758U (en) | A kind of portable electric signal acquiring system | |
CN202502254U (en) | Electrical prospecting apparatus | |
CN103389512A (en) | Digital collection and transmission circuit for near-field subwaves and auxiliary signals of air gun earthquake focus | |
CN203054053U (en) | Multifunctional electronic measuring instrument | |
CN101915864B (en) | Vector oscilloscope device | |
Xian-ling | The virtual Instrument based on labVIEW and Sound Card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: BEIJING RIGOL TECHNOLOGIES, INC. Free format text: FORMER OWNER: WANG YUE Effective date: 20110915 Free format text: FORMER OWNER: WANG TIEJUN LI WEISEN |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20110915 Address after: 102206 Beijing City, Shahe Town, step on the river village, No. 156 Patentee after: Beijing Rigol Technologies, Inc. Address before: 102206 Beijing City, Shahe Town, step on the river village, No. 156 Co-patentee before: Wang Tiejun Patentee before: Wang Yue Co-patentee before: Li Weisen |
|
DD01 | Delivery of document by public notice |
Addressee: Liu Xinyang Document name: Notification of Passing Examination on Formalities |
|
DD01 | Delivery of document by public notice |