CN104049119A - Sampling rate self-adaptive dual-channel signal acquisition method and device - Google Patents
Sampling rate self-adaptive dual-channel signal acquisition method and device Download PDFInfo
- Publication number
- CN104049119A CN104049119A CN201410273460.1A CN201410273460A CN104049119A CN 104049119 A CN104049119 A CN 104049119A CN 201410273460 A CN201410273460 A CN 201410273460A CN 104049119 A CN104049119 A CN 104049119A
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- switch
- passage
- signal
- passages
- 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.)
- Granted
Links
- 238000005070 sampling Methods 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000001914 filtration Methods 0.000 claims abstract description 17
- 230000003044 adaptive effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
The invention provides a sampling rate self-adaptive dual-channel signal acquisition method and a sampling rate self-adaptive dual-channel signal acquisition device, wherein the method comprises the following steps: reading a sample point of initial sampling, obtaining the bandwidth of target signals of two channels, adjusting the high-low level width ratio of channel switching control signals, controlling switching of an acquisition channel and digital filtering; the device comprises: the device comprises a sample reading module, a bandwidth obtaining module, a channel switching control signal setting module, a channel switching control module and a digital filtering module. The method and the device can effectively acquire two paths of signals with different bandwidths simultaneously, and can effectively prevent the phenomenon of under-sampling of signals with wide bandwidths or over-sampling of signals with narrow bandwidths.
Description
Technical field
The present invention relates to a kind of double-channel signal acquisition method and device, especially a kind of method and device that can simultaneously gather the binary channels information of different bandwidth.
Background technology
At present, existing digital storage oscilloscope is normally multichannel, when multi channel signals is observed, the situation that the bandwidth of a plurality of channel signals differs larger is common, what traditional design scheme adopted is that each passage is joined an A/D chip, and the sampling rate of each passage is identical, is made in like this when the signal of different bandwidth is gathered simultaneously, tend to cause the signal of wide bandwidth to owe the equalisation of over-sampled signals of sampling or narrow bandwidth, make the performance of oscillograph observation ability insufficient.
Summary of the invention
The technical problem to be solved in the present invention is when the signal of two-way different bandwidth is gathered simultaneously, can cause the signal of wide bandwidth to owe the equalisation of over-sampled signals of sampling or narrow bandwidth.
In order to solve the problems of the technologies described above, the invention provides the adaptive double-channel signal acquisition method of a kind of sampling rate, comprise the steps:
Step 1 reads the sample point of first sampling of the echo signal of two passages from storage unit;
Step 2, carries out Fast Fourier Transform (FFT) to the sample point of the first sampling of the echo signal of two passages, obtains the amount of bandwidth of the echo signal of two passages;
Step 3, calculates wide bandwidth echo signal in two passages and the bandwidth ratio of narrow bandwidth echo signal, and regulates the low level of passage switch-over control signal and the ratio of high level according to bandwidth ratio;
Step 4, to multidiameter option switch sendaisle switch-over control signal, when passage switch-over control signal is high level, make multidiameter option switch be switched to the passage of narrow bandwidth, when passage switch-over control signal is low level, make multidiameter option switch be switched to the passage of wide bandwidth;
Step 5, carries out digital filtering to the collection signal of two passages.
Employing is analyzed the echo signal bandwidth of two passages, set the low level of passage switch-over control signal and the ratio of high level, utilize passage switch-over control signal to control and switch acquisition channel, the sampling rate of two passages and the signal bandwidth of self are adapted, within a passage switch-over control signal cycle, the high level width of low level width/passage switch-over control signal of times of collection=passage switch-over control signal of the times of collection/narrow bandwidth signal of wide bandwidth signals; Employing is carried out digital filtering to the collection signal of two passages, can prevent the spike of introducing in two mutual handoff procedures of passage.
The present invention also provides a kind of sampling rate adaptive double-channel signal harvester, comprises as lower module:
Sample read module, for reading the sample point of first sampling of the echo signal of two passages from storage unit;
Bandwidth acquisition module, for the sample point of the first sampling of the echo signal of two passages is carried out to Fast Fourier Transform (FFT), obtains the amount of bandwidth of the echo signal of two passages;
Passage switch-over control signal setting module, for calculating the bandwidth ratio of wide bandwidth echo signal and the narrow bandwidth echo signal of two passages, and regulates the low level of passage switch-over control signal and the ratio of high level according to bandwidth ratio;
Passage switching controls module, be used for to multidiameter option switch sendaisle switch-over control signal, when passage switch-over control signal is high level, make multidiameter option switch be switched to the passage of narrow bandwidth, when passage switch-over control signal is low level, make multidiameter option switch be switched to the passage of wide bandwidth;
Digital filtering module, for carrying out digital filtering to the collection signal of two passages.
Beneficial effect of the present invention is: (1) adopts the echo signal bandwidth of two passages is analyzed, set the low level of passage switch-over control signal and the ratio of high level, utilize passage switch-over control signal to control and switch acquisition channel, the sampling rate of two passages and the signal bandwidth of self are adapted, within a passage switch-over control signal cycle, the high level width of low level width/passage switch-over control signal of times of collection=passage switch-over control signal of the times of collection/narrow bandwidth signal of wide bandwidth signals; (2) adopt the collection signal of two passages is carried out to digital filtering, can prevent the spike of introducing in two mutual handoff procedures of passage.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention;
Fig. 2 is apparatus structure schematic diagram of the present invention;
Fig. 3 is information acquisition sequential chart of the present invention.
Embodiment
As shown in Figure 1, the adaptive double-channel signal acquisition method of sampling rate of the present invention, comprises the steps:
Step 1 reads the sample point of first sampling of the echo signal of two passages from storage unit;
Step 2, carries out Fast Fourier Transform (FFT) to the sample point of the first sampling of the echo signal of two passages, obtains the amount of bandwidth of the echo signal of two passages;
Step 3, calculates wide bandwidth echo signal in two passages and the bandwidth ratio of narrow bandwidth echo signal, and regulates the low level of passage switch-over control signal and the ratio of high level according to bandwidth ratio;
Step 4, to multidiameter option switch sendaisle switch-over control signal, when passage switch-over control signal is high level, make multidiameter option switch be switched to the passage of narrow bandwidth, when passage switch-over control signal is low level, make multidiameter option switch be switched to the passage of wide bandwidth;
Step 5, carries out digital filtering to the collection signal of two passages.
Employing is analyzed the echo signal bandwidth of two passages, set the low level of passage switch-over control signal and the ratio of high level, utilize passage switch-over control signal to control and switch acquisition channel, the sampling rate of two passages and the signal bandwidth of self are adapted, within a passage switch-over control signal cycle, the high level width of low level width/passage switch-over control signal of times of collection=passage switch-over control signal of the times of collection/narrow bandwidth signal of wide bandwidth signals; Employing is carried out digital filtering to the collection signal of two passages, can prevent the spike of introducing in two mutual handoff procedures of passage.
As shown in Figure 2, the adaptive double-channel signal harvester of sampling rate of the present invention, comprises as lower module:
Sample read module, for reading the sample point of first sampling of the echo signal of two passages from storage unit;
Bandwidth acquisition module, for the sample point of the first sampling of the echo signal of two passages is carried out to Fast Fourier Transform (FFT), obtains the amount of bandwidth of the echo signal of two passages;
Passage switch-over control signal setting module, for calculating the bandwidth ratio of wide bandwidth echo signal and the narrow bandwidth echo signal of two passages, and regulates the low level of passage switch-over control signal and the ratio of high level according to bandwidth ratio;
Passage switching controls module, be used for to multidiameter option switch sendaisle switch-over control signal, when passage switch-over control signal is high level, make multidiameter option switch be switched to the passage of narrow bandwidth, when passage switch-over control signal is low level, make multidiameter option switch be switched to the passage of wide bandwidth;
Digital filtering module, for carrying out digital filtering to the collection signal of two passages.
Native system is when work, can adopt FPGA to realize the function of above-mentioned modules, first by sample read module, from the storage unit of FPGA outside, read the sample point of first sampling of the echo signal of two passages, and the sample point of the first sampling of the echo signal of two passages is sent to bandwidth acquisition module, outside storage element can be SDRAM storage chip; By bandwidth acquisition module, the sample point of the first sampling of the echo signal of two passages is carried out to Fast Fourier Transform (FFT) again, obtain the amount of bandwidth of the echo signal of two passages, and the amount of bandwidth of the echo signal of two passages is sent to passage switch-over control signal setting module; And then the wide bandwidth echo signal in two passages of passage switch-over control signal setting module calculating and the bandwidth ratio of narrow bandwidth echo signal, and regulate the low level of passage switch-over control signal and the ratio of high level according to bandwidth ratio, passage switch-over control signal is the pulse signal that high level and low level form, and passage switch-over control signal is sent to passage switching controls module; And then by passage switching controls module to multidiameter option switch sendaisle switch-over control signal, when passage switch-over control signal is high level, make multidiameter option switch be switched to the passage of narrow bandwidth, when passage switch-over control signal is low level, make multidiameter option switch be switched to the passage of wide bandwidth; And then send to A/D acquisition chip to gather the channel signal of selection by multidiameter option switch; And by digital filtering module, the collection signal of two passages is carried out to digital filtering, the spike that two passages of filtering are introduced in mutual handoff procedure, and sending to signal buffer unit to carry out buffered filtered collection signal, signal buffer unit can be realized by FIFO; And then collection signal is stored in the storage unit of FPGA outside, for display, carry out the processing of binary channels waveform signal and demonstration.
As shown in Figure 3, when two channel signals are gathered, by passage switch-over control signal, controlling multidiameter option switch switches, when passage switch-over control signal is high level, the narrow bandwidth signal of passage A is gathered, when passage switch-over control signal is low level, the wide bandwidth signals of channel B is gathered, in the one-period of passage switch-over control signal, the high level width of low level width/passage switch-over control signal of times of collection=3/1=passage switch-over control signal of the times of collection/narrow bandwidth signal of wide bandwidth signals.In the one-period of passage switch-over control signal, to the concrete times of collection of signal on two passages, be that the ability gathering according to existing A/D determines, sample frequency should be not less than the twice of highest frequency in input simulating signal frequency spectrum, thereby guarantees that the signal after collection is undistorted.
Claims (2)
1. the adaptive double-channel signal acquisition method of sampling rate, is characterized in that, comprises the steps:
Step 1 reads the sample point of first sampling of the echo signal of two passages from storage unit;
Step 2, carries out Fast Fourier Transform (FFT) to the sample point of the first sampling of the echo signal of two passages, obtains the amount of bandwidth of the echo signal of two passages;
Step 3, calculates wide bandwidth echo signal in two passages and the bandwidth ratio of narrow bandwidth echo signal, and regulates the low level of passage switch-over control signal and the ratio of high level according to bandwidth ratio;
Step 4, to multidiameter option switch sendaisle switch-over control signal, when passage switch-over control signal is high level, make multidiameter option switch be switched to the passage of narrow bandwidth, when passage switch-over control signal is low level, make multidiameter option switch be switched to the passage of wide bandwidth;
Step 5, carries out digital filtering to the collection signal of two passages.
2. the adaptive double-channel signal harvester of sampling rate, is characterized in that, comprises as lower module:
Sample read module, for reading the sample point of first sampling of the echo signal of two passages from storage unit;
Bandwidth acquisition module, for the sample point of the first sampling of the echo signal of two passages is carried out to Fast Fourier Transform (FFT), obtains the amount of bandwidth of the echo signal of two passages;
Passage switch-over control signal setting module, for calculating the bandwidth ratio of wide bandwidth echo signal and the narrow bandwidth echo signal of two passages, and regulates the low level of passage switch-over control signal and the ratio of high level according to bandwidth ratio;
Passage switching controls module, be used for to multidiameter option switch sendaisle switch-over control signal, when passage switch-over control signal is high level, make multidiameter option switch be switched to the passage of narrow bandwidth, when passage switch-over control signal is low level, make multidiameter option switch be switched to the passage of wide bandwidth;
Digital filtering module, for carrying out digital filtering to the collection signal of two passages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410273460.1A CN104049119B (en) | 2014-06-18 | 2014-06-18 | Sampling rate self-adaptive dual-channel signal acquisition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410273460.1A CN104049119B (en) | 2014-06-18 | 2014-06-18 | Sampling rate self-adaptive dual-channel signal acquisition method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104049119A true CN104049119A (en) | 2014-09-17 |
CN104049119B CN104049119B (en) | 2017-01-11 |
Family
ID=51502219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410273460.1A Active CN104049119B (en) | 2014-06-18 | 2014-06-18 | Sampling rate self-adaptive dual-channel signal acquisition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104049119B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106888021A (en) * | 2017-03-06 | 2017-06-23 | 江苏正赫通信息科技有限公司 | A kind of method of self-adaptative adjustment higher sample rate |
CN108216596A (en) * | 2016-12-14 | 2018-06-29 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of double remaining aircraft wheel speed Acquisition Circuits |
CN112596044A (en) * | 2020-11-20 | 2021-04-02 | 上海禾赛科技股份有限公司 | Receiving device, laser radar and method for reducing interference signals of laser radar receiving device |
CN112786062A (en) * | 2021-01-15 | 2021-05-11 | 深圳市东微智能科技股份有限公司 | Bandwidth adaptive network audio transmission method, device, medium and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5764551A (en) * | 1996-10-15 | 1998-06-09 | The United States Of America As Represented By The Secretary Of The Army | Fast high-signal-to-noise ratio equivalent time processor |
CN1780270A (en) * | 2004-11-26 | 2006-05-31 | 华为技术有限公司 | Power resource pool device |
CN1928803A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Multiple passages selection AD interface card with PCI, PCI-X PCI-E interfaces |
CN1928574A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Traveling wave accidents distance measuring device for hour and minute composite sampling electric transmission line |
CN201259546Y (en) * | 2008-08-28 | 2009-06-17 | 阮树成 | Time division multi-channel random code phase modulated anti-collision radar for ship |
CN102098004A (en) * | 2010-12-16 | 2011-06-15 | 电子科技大学 | Digital downconverter with variable bandwidth and implementation method thereof |
CN103227686A (en) * | 2013-03-29 | 2013-07-31 | 中国电子科技集团公司第四十一研究所 | Mode switch device for multi-mode terminal general-purpose tester and signal processing method of mode switch device |
-
2014
- 2014-06-18 CN CN201410273460.1A patent/CN104049119B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5764551A (en) * | 1996-10-15 | 1998-06-09 | The United States Of America As Represented By The Secretary Of The Army | Fast high-signal-to-noise ratio equivalent time processor |
CN1780270A (en) * | 2004-11-26 | 2006-05-31 | 华为技术有限公司 | Power resource pool device |
CN1928803A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Multiple passages selection AD interface card with PCI, PCI-X PCI-E interfaces |
CN1928574A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Traveling wave accidents distance measuring device for hour and minute composite sampling electric transmission line |
CN201259546Y (en) * | 2008-08-28 | 2009-06-17 | 阮树成 | Time division multi-channel random code phase modulated anti-collision radar for ship |
CN102098004A (en) * | 2010-12-16 | 2011-06-15 | 电子科技大学 | Digital downconverter with variable bandwidth and implementation method thereof |
CN103227686A (en) * | 2013-03-29 | 2013-07-31 | 中国电子科技集团公司第四十一研究所 | Mode switch device for multi-mode terminal general-purpose tester and signal processing method of mode switch device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108216596A (en) * | 2016-12-14 | 2018-06-29 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of double remaining aircraft wheel speed Acquisition Circuits |
CN106888021A (en) * | 2017-03-06 | 2017-06-23 | 江苏正赫通信息科技有限公司 | A kind of method of self-adaptative adjustment higher sample rate |
CN112596044A (en) * | 2020-11-20 | 2021-04-02 | 上海禾赛科技股份有限公司 | Receiving device, laser radar and method for reducing interference signals of laser radar receiving device |
CN112786062A (en) * | 2021-01-15 | 2021-05-11 | 深圳市东微智能科技股份有限公司 | Bandwidth adaptive network audio transmission method, device, medium and system |
Also Published As
Publication number | Publication date |
---|---|
CN104049119B (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104049119A (en) | Sampling rate self-adaptive dual-channel signal acquisition method and device | |
CN104062937A (en) | Sixty-four-way low-speed high-precision analog acquisition realizing method | |
CN103453983B (en) | A kind of based on time division multiplex and multichannel industrial data acquisition method and system | |
CN102988048B (en) | Magnetic resonance fiber spectrometer and RF Receiving Device thereof | |
CN203504585U (en) | Multichannel adaption system used for parallel test | |
EP2787355B1 (en) | Device and method to prevent inter-system interference | |
EP2618501A3 (en) | Audio signal processing system and recording method | |
CN104899341A (en) | FPGA based high-speed PCI acquisition card adopting embedded optional filtering algorithm | |
CN106292379B (en) | A kind of multi-channel signal acquiring system and acquisition method | |
CN204165946U (en) | Multichannel ultrasonic signal synchronous | |
CN205068383U (en) | Many channel data synchronous sampling system | |
CN104270154A (en) | Sampling device and method based on parallel processing | |
CN104539290B (en) | A kind of multi-channel a/d converter data automatic aligning system | |
CN102420664B (en) | Simulation system of noise signal for carrier test of low-voltage power line | |
CN108319183A (en) | A kind of multichannel analog amount harvester and method | |
CN103037402A (en) | Time delay detection method and device of antenna calibration link | |
CN103472376B (en) | Partial discharge of transformer superfrequency positioning analysis device and method for positioning analyzing thereof | |
CN105116413A (en) | High-speed parallel acquisition system clock synchronization device | |
CN101068264B (en) | Signal collecting device in USB test and USB signal testing method | |
CN102957643A (en) | Method and device for triggering and capturing broadband signals | |
CN208872797U (en) | A kind of general card oscillograph and system based on pci interface | |
CN205333728U (en) | GaN microwave power device direct current aging system's real -time current monitoring circuit | |
CN102539865A (en) | Method for combining automatically-adjusted storage depth and fixedly-selected storage depth | |
CN104793031A (en) | Oscilloscope display zooming method and oscilloscope display zooming device | |
CN1928803A (en) | Multiple passages selection AD interface card with PCI, PCI-X PCI-E interfaces |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |