CN104049119B - Method and device for signal collection of dual channels with self-adaptive sampling rates - Google Patents
Method and device for signal collection of dual channels with self-adaptive sampling rates Download PDFInfo
- Publication number
- CN104049119B CN104049119B CN201410273460.1A CN201410273460A CN104049119B CN 104049119 B CN104049119 B CN 104049119B CN 201410273460 A CN201410273460 A CN 201410273460A CN 104049119 B CN104049119 B CN 104049119B
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- switch
- passage
- signal
- control signal
- 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
Abstract
The invention provides a method and device for signal collection of dual channels with self-adaptive sampling rates. The method comprises the steps of reading sample points of initial sampling, obtaining the sizes of bandwidths of target singles of the two channels, adjusting the high-low electric level width ratio of channel switching control signals, controlling the switching of the collection channels and carrying out digital filtering. 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. According to the method and device, two paths of signals with different bandwidths can be collected effectively and simultaneously, and the phenomenon of undersampling of the signals with the wide bandwidth or oversampling of the signals with the narrow bandwidth can be effectively avoided.
Description
Technical field
The present invention relates to a kind of double-channel signal acquisition method and device, a kind of can be to the dual pathways information of different bandwidth
The method and device simultaneously gathered.
Background technology
At present, existing digital storage oscilloscope is the most multichannel, when multi channel signals is observed, and multiple passages
It is common that the bandwidth of signal differs bigger situation, and traditional design scheme is used each passage and joins an A/D chip,
The sample rate of each passage is identical, and do so, when gathering the signal of different bandwidth simultaneously, often causes wide bandwidth
Signal lack sampling or the equalisation of over-sampled signals of narrow bandwidth, make oscillograph observation ability play insufficient.
Summary of the invention
The technical problem to be solved in the present invention is when gathering the signal of two-way different bandwidth simultaneously, can cause wide bandwidth
Signal lack sampling or the equalisation of over-sampled signals of narrow bandwidth.
In order to solve above-mentioned technical problem, the invention provides a kind of sample rate adaptive double-channel signal acquisition method, including
Following steps:
Step 1, reads the sample point of the initial sample of the echo signal of two passages from memory element;
Step 2, carries out fast Fourier transform to the sample point of the initial sample of the echo signal of two passages, obtains two and leads to
The amount of bandwidth of the echo signal in road;
Step 3, calculates the bandwidth ratio of the wide bandwidth echo signal in two passages and narrow bandwidth echo signal, and according to bandwidth
Ratio regulation passage switch-over control signal low level within a passage switch-over control signal cycle and the ratio of high level;
Step 4, to multidiameter option switch sendaisle switch-over control signal, makes many when passage switch-over control signal is high level
Road selects switch to be switched to the passage of narrow bandwidth, makes multidiameter option switch be switched to width when passage switch-over control signal is low level
The passage of bandwidth;
Step 5, carries out digital filtering to the collection signal of two passages.
Use the echo signal bandwidth to two passages to be analyzed, set low level and the high level of passage switch-over control signal
Ratio, utilizes passage switch-over control signal to control switching acquisition channel, makes the sample rate signal bandwidth phase with self of two passages
Adapt to, i.e. within a passage switch-over control signal cycle, the times of collection of the times of collection/narrow bandwidth signal of wide bandwidth signals=
The high level width of the low level width of passage switch-over control signal/passage switch-over control signal;The collection to two passages is used to believe
Number carry out digital filtering, it is possible to prevent the spike introduced in two mutual handoff procedures of passage.
Present invention also offers a kind of sample rate adaptive double-channel signal harvester, including such as lower module:
Sample read module, for reading the sample point of the initial sample of the echo signal of two passages from memory element;
Bandwidth acquisition module, for the sample point of the initial sample of the echo signal of two passages is carried out fast Fourier transform,
Obtain the amount of bandwidth of the echo signal of two passages;
Passage switch-over control signal setting module, for calculating the wide bandwidth echo signal in two passages and narrow bandwidth echo signal
Bandwidth ratio, and according to bandwidth ratio regulate the passage switch-over control signal low electricity within a passage switch-over control signal cycle
The flat ratio with high level;
Passage switching control module, for multidiameter option switch sendaisle switch-over control signal, at passage switch-over control signal
Make multidiameter option switch be switched to the passage of narrow bandwidth during for high level, make multichannel select when passage switch-over control signal is low level
Select switch and be switched to the passage of wide bandwidth;
Digital filtering module, for carrying out digital filtering to the collection signal of two passages.
The beneficial effects of the present invention is: (1) uses the echo signal bandwidth to two passages to be analyzed, set passage switching
The low level of control signal and the ratio of high level, utilize passage switch-over control signal to control switching acquisition channel, make two passages
Sample rate adapt with self signal bandwidth, i.e. within a passage switch-over control signal cycle, the collection of wide bandwidth signals
The high level of the low level width of the times of collection of number of times/narrow bandwidth signal=passage switch-over control signal/passage switch-over control signal
Width;(2) the collection signal to two passages is used to carry out digital filtering, it is possible to prevent in two mutual handoff procedures of passage
The spike introduced.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the present invention;
Fig. 2 is assembly of the invention structural representation;
Fig. 3 is the information gathering sequential chart of the present invention.
Detailed description of the invention
As it is shown in figure 1, the sample rate of the present invention adaptive double-channel signal acquisition method, comprise the steps:
Step 1, reads the sample point of the initial sample of the echo signal of two passages from memory element;
Step 2, carries out fast Fourier transform to the sample point of the initial sample of the echo signal of two passages, obtains two and leads to
The amount of bandwidth of the echo signal in road;
Step 3, calculates the bandwidth ratio of the wide bandwidth echo signal in two passages and narrow bandwidth echo signal, and according to bandwidth
Ratio regulation passage switch-over control signal low level within a passage switch-over control signal cycle and the ratio of high level;
Step 4, to multidiameter option switch sendaisle switch-over control signal, makes many when passage switch-over control signal is high level
Road selects switch to be switched to the passage of narrow bandwidth, makes multidiameter option switch be switched to width when passage switch-over control signal is low level
The passage of bandwidth;
Step 5, carries out digital filtering to the collection signal of two passages.
Use the echo signal bandwidth to two passages to be analyzed, set low level and the high level of passage switch-over control signal
Ratio, utilizes passage switch-over control signal to control switching acquisition channel, makes the sample rate signal bandwidth phase with self of two passages
Adapt to, i.e. within a passage switch-over control signal cycle, the times of collection of the times of collection/narrow bandwidth signal of wide bandwidth signals=
The high level width of the low level width of passage switch-over control signal/passage switch-over control signal;The collection to two passages is used to believe
Number carry out digital filtering, it is possible to prevent the spike introduced in two mutual handoff procedures of passage.
As in figure 2 it is shown, the sample rate of the present invention adaptive double-channel signal harvester, including such as lower module:
Sample read module, for reading the sample point of the initial sample of the echo signal of two passages from memory element;
Bandwidth acquisition module, for the sample point of the initial sample of the echo signal of two passages is carried out fast Fourier transform,
Obtain the amount of bandwidth of the echo signal of two passages;
Passage switch-over control signal setting module, for calculating the wide bandwidth echo signal in two passages and narrow bandwidth echo signal
Bandwidth ratio, and according to bandwidth ratio regulate the passage switch-over control signal low electricity within a passage switch-over control signal cycle
The flat ratio with high level;
Passage switching control module, for multidiameter option switch sendaisle switch-over control signal, at passage switch-over control signal
Make multidiameter option switch be switched to the passage of narrow bandwidth during for high level, make multichannel select when passage switch-over control signal is low level
Select switch and 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 operationally, can use FPGA to realize the function of above-mentioned modules, first by sample read module from
Memory element outside FPGA reads the sample point of the initial sample of the echo signal of two passages, and by the target of two passages
The sample point of the initial sample of signal is sent to bandwidth acquisition module, and outside storage element can be SDRAM storage chip;Again
By bandwidth acquisition module, the sample point of the initial sample of the echo signal of two passages is carried out fast Fourier transform, obtain two
The amount of bandwidth of the echo signal of passage, and the amount of bandwidth of the echo signal of two passages is sent to passage switch-over control signal
Setting module;The wide bandwidth echo signal in two passages and narrow bandwidth is calculated the most again by passage switch-over control signal setting module
The bandwidth ratio of echo signal, and according to bandwidth ratio regulation passage switch-over control signal a passage switch-over control signal cycle
Interior low level and the ratio of high level, passage switch-over control signal is high level and the pulse signal of low level composition, and will be logical
Road switch-over control signal is sent to passage switching control module;Sent to multidiameter option switch by passage switching control module the most again
Passage switch-over control signal, makes multidiameter option switch be switched to the passage of narrow bandwidth when passage switch-over control signal is high level,
Make multidiameter option switch be switched to the passage of wide bandwidth when passage switch-over control signal is low level;Opened by multi-path choice the most again
The channel signal of selection is sent to A/D acquisition chip and is acquired by pass;And by the digital filtering module collection to two passages
Signal carries out digital filtering, filters the spike that two passages introduce in mutual handoff procedure, and gathers letter by filtered
Number being sent to signal buffer unit carries out buffered, and signal buffer unit can be realized by FIFO;The most again collection signal is deposited
Store up in the memory element outside FPGA, carry out dual pathways waveshape signal process and display for display.
As it is shown on figure 3, when two channel signals are acquired, passage switch-over control signal control multidiameter option switch and carry out
Switching, when passage switch-over control signal is high level, is then acquired the narrow bandwidth signal of passage A, when passage switching control
When signal processed is low level, then the wide bandwidth signals of passage B is acquired, within a cycle of passage switch-over control signal,
Low level width/the passage of the times of collection of the times of collection/narrow bandwidth signal of wide bandwidth signals=3/1=passage switch-over control signal
The high level width of switch-over control signal.Within a cycle of passage switch-over control signal, the signal on two passages is specifically adopted
Collection number of times is that the ability gathered according to existing A/D determines, sample frequency should be not less than in input analogue signal frequency spectrum high frequency
The twice of rate, so that it is guaranteed that the signal after Cai Jiing is undistorted.
Claims (2)
1. a sample rate adaptive double-channel signal acquisition method, it is characterised in that comprise the steps:
Step 1, reads the sample point of the initial sample of the echo signal of two passages from memory element;
Step 2, carries out fast Fourier transform to the sample point of the initial sample of the echo signal of two passages, obtains two and leads to
The amount of bandwidth of the echo signal in road;
Step 3, calculates the bandwidth ratio of the wide bandwidth echo signal in two passages and narrow bandwidth echo signal, and according to bandwidth
Ratio regulation passage switch-over control signal low level within a passage switch-over control signal cycle and the ratio of high level;
Step 4, to multidiameter option switch sendaisle switch-over control signal, makes many when passage switch-over control signal is high level
Road selects switch to be switched to the passage of narrow bandwidth, makes multidiameter option switch be switched to width when passage switch-over control signal is low level
The passage of bandwidth;
Step 5, carries out digital filtering to the collection signal of two passages.
2. a sample rate adaptive double-channel signal harvester, it is characterised in that include such as lower module:
Sample read module, for reading the sample point of the initial sample of the echo signal of two passages from memory element;
Bandwidth acquisition module, for the sample point of the initial sample of the echo signal of two passages is carried out fast Fourier transform,
Obtain the amount of bandwidth of the echo signal of two passages;
Passage switch-over control signal setting module, for calculating the wide bandwidth echo signal in two passages and narrow bandwidth echo signal
Bandwidth ratio, and according to bandwidth ratio regulate the passage switch-over control signal low electricity within a passage switch-over control signal cycle
The flat ratio with high level;
Passage switching control module, for multidiameter option switch sendaisle switch-over control signal, at passage switch-over control signal
Make multidiameter option switch be switched to the passage of narrow bandwidth during for high level, make multichannel select when passage switch-over control signal is low level
Select switch and 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 | Method and device for signal collection of dual channels with self-adaptive sampling rates |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410273460.1A CN104049119B (en) | 2014-06-18 | 2014-06-18 | Method and device for signal collection of dual channels with self-adaptive sampling rates |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104049119A CN104049119A (en) | 2014-09-17 |
CN104049119B true 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 | Method and device for signal collection of dual channels with self-adaptive sampling rates |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104049119B (en) |
Families Citing this family (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 |
CN106888021B (en) * | 2017-03-06 | 2018-03-30 | 江苏正赫通信息科技有限公司 | A kind of method of adaptive adjustment higher sample rate |
CN112596044B (en) * | 2020-11-20 | 2022-09-23 | 上海禾赛科技有限公司 | 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 |
CN1928574A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Traveling wave accidents distance measuring device for hour and minute composite sampling electric transmission line |
CN1928803A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Multiple passages selection AD interface card with PCI, PCI-X PCI-E interfaces |
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 |
CN1928574A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Traveling wave accidents distance measuring device for hour and minute composite sampling electric transmission line |
CN1928803A (en) * | 2005-09-09 | 2007-03-14 | 北京富瑞菲格电力科技有限公司 | Multiple passages selection AD interface card with PCI, PCI-X PCI-E interfaces |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104049119A (en) | 2014-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104049119B (en) | Method and device for signal collection of dual channels with self-adaptive sampling rates | |
CN101726644B (en) | Digital storage oscilloscope with functions of waveform fast location and zooming | |
US10432434B2 (en) | Multi-band noise reduction systems and methods | |
US8866659B2 (en) | Data acquisition device with real time digital trigger | |
CN201110865Y (en) | Digital storage oscillograph | |
JP5817041B2 (en) | Test measurement equipment and waveform display method | |
EP1837665A3 (en) | Waveform compression and display | |
CN208872796U (en) | A kind of general card oscillograph of multichannel based on pci interface and system | |
CN106324333A (en) | High-precision voltage measuring device | |
CN102788892A (en) | Digital oscilloscope with accurate triggering function | |
CN103698445B (en) | A kind of online micro sample collector and sampling analysis method | |
CN202305670U (en) | Multipath resistor rapid test system | |
CN103718465B (en) | Multichannel A/D converter equipment and application method | |
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 | |
CN109871581A (en) | A kind of double FIR digital compensation methods of broadband signal amplitude | |
CN102779104B (en) | Fault injection method and device for serial port data | |
CN105426132B (en) | A kind of data acquisition and memory system and method based on double sampled rate | |
CN106292379B (en) | A kind of multi-channel signal acquiring system and acquisition method | |
CN101140183B (en) | Circuit for maintaining vibrating signal synchronous | |
CN109100556A (en) | A kind of general card oscillograph of multichannel based on pci interface | |
CN101764614B (en) | V-shaped sampling method of AD converter based on FPGA | |
CN108918937A (en) | A kind of general card oscillograph based on pci interface | |
CN104793031A (en) | Oscilloscope display zooming method and oscilloscope display zooming device | |
CN208872797U (en) | A kind of general card oscillograph and system based on pci interface |
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 |