CN110332948A - Based on twin-channel signal testing method, test equipment, storage medium and device - Google Patents

Based on twin-channel signal testing method, test equipment, storage medium and device Download PDF

Info

Publication number
CN110332948A
CN110332948A CN201910588424.7A CN201910588424A CN110332948A CN 110332948 A CN110332948 A CN 110332948A CN 201910588424 A CN201910588424 A CN 201910588424A CN 110332948 A CN110332948 A CN 110332948A
Authority
CN
China
Prior art keywords
signal
sampled
sampled point
modulated
current fragment
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
Application number
CN201910588424.7A
Other languages
Chinese (zh)
Other versions
CN110332948B (en
Inventor
常兴
朱珍珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Sodium Intelligent Equipment Technology Ltd By Share Ltd
Original Assignee
Wuhan Sodium Intelligent Equipment Technology Ltd By Share Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Sodium Intelligent Equipment Technology Ltd By Share Ltd filed Critical Wuhan Sodium Intelligent Equipment Technology Ltd By Share Ltd
Priority to CN201910588424.7A priority Critical patent/CN110332948B/en
Publication of CN110332948A publication Critical patent/CN110332948A/en
Application granted granted Critical
Publication of CN110332948B publication Critical patent/CN110332948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D3/00Indicating or recording apparatus with provision for the special purposes referred to in the subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

The present invention relates to correlation reception technical field, disclose based on twin-channel signal testing method, test equipment, storage medium and device.The corresponding each segmentation of signal to be generated is generated according to the signal subsection number of segment of signal to be generated in the present invention;Each segmentation is traversed, and generates false random symbol;False random symbol is sampled, and the first block signal is determined according to sampled signal;Sampled signal is modulated to obtain modulated signal by frequency difference;Modulated signal is changed to obtain the second block signal;When each segmentation traverses completion, the first block signal of each segmentation is spliced with the second block signal respectively, to obtain channel signal.Significantly, the present invention has carried out segment processing to first passage signal and second channel signal, it can get the longer channel signal of data volume, and the longer test signal of maintenance data amount carries out the test of heuristics operation of correlation reception algorithm, the technical issues of double-channel signal of long data volume is tested can not be generated by solving.

Description

Based on twin-channel signal testing method, test equipment, storage medium and device
Technical field
The present invention relates to correlation reception technical fields, more particularly to based on twin-channel signal testing method, test equipment, Storage medium and device.
Background technique
Correlation reception algorithm is chiefly used in the operation of the detection to small-signal, and in order to preferably verify the correlation reception algorithm Algorithm performance, multi-pass, which is crossed, to be inputted the mode of double-channel signal into correlation reception algorithm and carries out test of heuristics.
As it can be seen that double-channel signal as test signal for it is particularly important for the realization of test of heuristics, by generate simultaneously Test of heuristics can be preferably carried out with the double-channel signal of long data volume, to overcome increasingly complicated propagation channel and electromagnetism Environment.
But the double-channel signal of long data volume is generated to carry out the ability of test of heuristics currently, not having, it is seen then that It there is technical issues that the double-channel signal that can not generate long data volume carries out.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide based on twin-channel signal testing method, test equipment, storage medium and Device, it is intended to solve the technical issues of can not generating the double-channel signal progress test of heuristics of long data volume.
To achieve the above object, the present invention provides a kind of based on twin-channel signal testing method, described to be based on binary channels Signal testing method the following steps are included:
Obtain signal to be generated frequency difference and signal subsection number of segment, according to the signal subsection number of segment generate with it is described to be generated At the corresponding each segmentation of signal;
The corresponding each segmentation of the signal to be generated is traversed, false random symbol is generated in the current fragment traversed, and The false random symbol is sampled, to obtain sampled signal;
The first block signal under the current fragment is determined according to the sampled signal;
The sampled signal is modulated by the frequency difference, to obtain modulated signal;
Sampled point in the modulated signal is changed, to obtain the second block signal under the current fragment;
When completing to the corresponding each segmentation traversal of the signal to be generated, the first segmentation corresponding to each segmentation is believed respectively Number with the second block signal carry out concatenation, to obtain first passage signal and second channel signal;
Test operation is carried out using the first passage signal and the second channel signal as test signal.
Preferably, the sampled point in the modulated signal changes, to obtain under the current fragment Two-section signal, specifically includes:
The sampled point that the first predetermined position is in the modulated signal is moved to right to the second predeterminated position, and will be described Sampled point in modulated signal in third predetermined position is revised as default sampled point, to obtain the under the current fragment Two-section signal.
Preferably, described to move to right the sampled point that the first predetermined position is in the modulated signal to the second default position It sets, and the sampled point for being in third predetermined position in the modulated signal is revised as default sampled point, to work as described in acquisition It is described to be based on twin-channel signal testing method before the second block signal under preceding segmentation further include:
Determine the original number of samples in the current fragment;
The time difference of the signal to be generated is obtained, and displacement sampling point quantity is determined according to the time difference;
Subtraction is carried out to the original number of samples and the displacement sampling point quantity, to obtain the first preset quantity, and Using for top n sampled point as the sampled point of the first predetermined position, the N is described first from left to right in the modulated signal Preset quantity.
Preferably, described to move to right the sampled point that the first predetermined position is in the modulated signal to the second default position It sets, and the sampled point for being in third predetermined position in the modulated signal is revised as default sampled point, to work as described in acquisition The second block signal under preceding segmentation, specifically includes:
When the current fragment is the first default segmentation, adopting for the first predetermined position will be in the modulated signal Sampling point is moved to right to the second predeterminated position, and the sampled point that third predetermined position is in the modulated signal is revised as numerical value The sampled point for being zero, to obtain the second block signal under the current fragment.
Preferably, described when the current fragment is the first default segmentation, it is pre- by being in first in the modulated signal If the sampled point at position is moved to right to the second predeterminated position, and the sampling that will be in third predetermined position in the modulated signal Point is revised as the sampled point that numerical value is zero, to obtain the second block signal under the current fragment, specifically includes:
When the current fragment is the first default segmentation, adopting for the 4th predetermined position will be in the modulated signal Sampling point is stored in the first default unloading variable, and the sampled point that the first predetermined position is in the modulated signal is moved to right to the Two predeterminated positions, and the sampled point that third predetermined position is in the modulated signal is revised as the sampling that numerical value is zero Point, to obtain the second block signal under the current fragment;
Correspondingly, described that the sampled signal is modulated by the frequency difference, it is described after obtaining modulated signal Based on twin-channel signal testing method further include:
When the current fragment is the second default segmentation, the sampled point being stored in the described first default unloading variable is deposited Enter in the second default temporary variable, by the sampled point deposit for being in the 4th predetermined position in the modulated signal described the In one default unloading variable, the sampled point that first predetermined position is in the modulated signal is moved to right to described second Predeterminated position, and the sampled point for being in the third predetermined position in the modulated signal is revised as described second and is preset temporarily The sampled point in variable is deposited, to obtain the second block signal under the current fragment.
Preferably, the frequency difference includes the first frequency difference between main path and the first secondary path and the main path and the The second frequency difference between second mate path;
Correspondingly, described that the sampled signal is modulated by the frequency difference, it is specific to wrap to obtain modulated signal It includes:
The sampled signal is modulated by first frequency difference, to obtain the first modulated signal;
Correspondingly, the sampled point in the modulated signal changes, to obtain under the current fragment Two-section signal, specifically includes:
Sampled point in first modulated signal is changed, to obtain the described first secondary road under the current fragment Corresponding second block signal of diameter;
Correspondingly, the sampled point in first modulated signal changes, to obtain under the current fragment It is described to be based on twin-channel signal testing method after corresponding second block signal in first pair path further include:
The sampled signal is modulated by second frequency difference, to obtain the second modulated signal;
Sampled point in second modulated signal is changed, to obtain the described second secondary road under the current fragment Corresponding second block signal of diameter;
By corresponding second block signal in first pair path the second block signal corresponding with the second pair path It is added, to obtain the second block signal corresponding with the current fragment.
Preferably, described to traverse the corresponding each segmentation of the signal to be generated, it is generated in the current fragment traversed pseudo- Random mark, and the false random symbol is sampled, to obtain sampled signal, specifically include:
The corresponding each segmentation of the signal to be generated is traversed, generates false random symbol in the current fragment traversed;
Mutually independent pseudorandom symbol sequence is constituted by the false random symbol, and to the pseudorandom symbol sequence It is sampled, to obtain sampled signal.
In addition, to achieve the above object, the present invention also proposes a kind of test equipment, the test equipment include memory, Processor and be stored on the memory and can run on the processor based on twin-channel signal testing program, institute It states and the step as described above based on twin-channel signal testing method is arranged for carrying out based on twin-channel signal testing program Suddenly.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, it is stored with and is based on the storage medium Twin-channel signal testing program, it is described to be based on realizing as described above when twin-channel signal testing program is executed by processor Based on twin-channel signal testing method the step of.
In addition, to achieve the above object, the present invention also proposes that one kind is based on twin-channel signal-testing apparatus, described to be based on Twin-channel signal-testing apparatus includes:
Data obtaining module, for obtaining the frequency difference and signal subsection number of segment of signal to be generated, according to the signal subsection Number of segment generates each segmentation corresponding with the signal to be generated;
Symbol generation module, for traversing the corresponding each segmentation of the signal to be generated, in the current fragment traversed False random symbol is generated, and the false random symbol is sampled, to obtain sampled signal;
First signal generation module, for determining that the first segmentation under the current fragment is believed according to the sampled signal Number;
Signal modulation module, for being modulated by the frequency difference to the sampled signal, to obtain modulated signal;
Second signal generation module, it is described current to obtain for being changed to the sampled point in the modulated signal The second block signal under segmentation;
Splicing module is recycled, in each segmentation traversal completion corresponding to the signal to be generated, respectively to each point Corresponding first block signal of section and the second block signal carry out concatenation, are believed with obtaining first passage signal and second channel Number;
Signal detection module, for being carried out using the first passage signal and the second channel signal as test signal Test operation.
Obtained in the present invention signal to be generated frequency difference and signal subsection number of segment, according to signal subsection number of segment generate with it is to be generated At the corresponding each segmentation of signal;Each segmentation is traversed, false random symbol is generated in the current fragment traversed, and accord with to pseudorandom It number is sampled, to obtain sampled signal;The first block signal under current fragment is determined according to sampled signal;Pass through frequency difference pair Sampled signal is modulated, to obtain modulated signal;Sampled point in modulated signal is changed, to obtain under current fragment The second block signal;When each segmentation traverses completion, corresponding first block signal of each segmentation and the second segmentation are believed respectively Number carry out concatenation, to obtain first passage signal and second channel signal;Believed using first passage signal and second channel Number carry out test operation.It is apparent that due to having carried out segment processing to first passage signal and second channel signal in the present invention, The longer first passage signal of data volume and second channel signal can be obtained, and the longer test signal of maintenance data amount carries out The test of heuristics of correlation reception algorithm operates, and solves the skill for the double-channel signal progress test of heuristics that can not generate long data volume Art problem.
Detailed description of the invention
Fig. 1 is the test equipment structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is that the present invention is based on the flow diagrams of twin-channel signal testing method first embodiment;
Fig. 3 is that the present invention is based on the flow diagrams of twin-channel signal testing method second embodiment;
Fig. 4 is that the present invention is based on the flow diagrams of twin-channel signal testing method 3rd embodiment;
Fig. 5 is that the present invention is based on the flow diagrams of twin-channel signal testing method fourth embodiment;
Fig. 6 is that the present invention is based on the structural block diagrams of twin-channel signal-testing apparatus first embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the test equipment structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the test equipment may include: processor 1001, such as central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, Communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display screen (Display), optional user interface 1003 can also include the wireline interface and wireless interface of standard, and user interface 1003 Wireline interface in the present invention can be universal serial bus (Universal Serial Bus, USB) interface.Network interface 1004 optionally may include the wireline interface and wireless interface (such as WI-FI interface) of standard.Memory 1005 can be height Fast random access memory (Random Access Memory, RAM);It is also possible to stable memory, for example, non-volatile deposit Reservoir (Non-volatile Memory), concretely, magnetic disk storage.Memory 1005 optionally can also be independently of The storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to test equipment, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and is based on twin-channel signal testing program.
In test equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with the backstage Business device carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;The test equipment is called by processor 1001 What is stored in memory 1005 is operated based on twin-channel signal testing program, and below execution:
Obtain signal to be generated frequency difference and signal subsection number of segment, according to the signal subsection number of segment generate with it is described to be generated At the corresponding each segmentation of signal;
The corresponding each segmentation of the signal to be generated is traversed, false random symbol is generated in the current fragment traversed, and The false random symbol is sampled, to obtain sampled signal;
The first block signal under the current fragment is determined according to the sampled signal;
The sampled signal is modulated by the frequency difference, to obtain modulated signal;
Sampled point in the modulated signal is changed, to obtain the second block signal under the current fragment;
When completing to the corresponding each segmentation traversal of the signal to be generated, the first segmentation corresponding to each segmentation is believed respectively Number with the second block signal carry out concatenation, to obtain first passage signal and second channel signal;
Test operation is carried out using the first passage signal and the second channel signal as test signal.
Further, processor 1001 can call stored in memory 1005 based on twin-channel signal testing journey Sequence also executes following operation:
The sampled point that the first predetermined position is in the modulated signal is moved to right to the second predeterminated position, and will be described Sampled point in modulated signal in third predetermined position is revised as default sampled point, to obtain the under the current fragment Two-section signal.
Further, processor 1001 can call stored in memory 1005 based on twin-channel signal testing journey Sequence also executes following operation:
Determine the original number of samples in the current fragment;
The time difference of the signal to be generated is obtained, and displacement sampling point quantity is determined according to the time difference;
Subtraction is carried out to the original number of samples and the displacement sampling point quantity, to obtain the first preset quantity, and Using for top n sampled point as the sampled point of the first predetermined position, the N is described first from left to right in the modulated signal Preset quantity.
Further, processor 1001 can call stored in memory 1005 based on twin-channel signal testing journey Sequence also executes following operation:
When the current fragment is the first default segmentation, adopting for the first predetermined position will be in the modulated signal Sampling point is moved to right to the second predeterminated position, and the sampled point that third predetermined position is in the modulated signal is revised as numerical value The sampled point for being zero, to obtain the second block signal under the current fragment.
Further, processor 1001 can call stored in memory 1005 based on twin-channel signal testing journey Sequence also executes following operation:
When the current fragment is the first default segmentation, adopting for the 4th predetermined position will be in the modulated signal Sampling point is stored in the first default unloading variable, and the sampled point that the first predetermined position is in the modulated signal is moved to right to the Two predeterminated positions, and the sampled point that third predetermined position is in the modulated signal is revised as the sampling that numerical value is zero Point, to obtain the second block signal under the current fragment;
Correspondingly, following operation is also executed:
When the current fragment is the second default segmentation, the sampled point being stored in the described first default unloading variable is deposited Enter in the second default temporary variable, by the sampled point deposit for being in the 4th predetermined position in the modulated signal described the In one default unloading variable, the sampled point that first predetermined position is in the modulated signal is moved to right to described second Predeterminated position, and the sampled point for being in the third predetermined position in the modulated signal is revised as described second and is preset temporarily The sampled point in variable is deposited, to obtain the second block signal under the current fragment.
Further, processor 1001 can call stored in memory 1005 based on twin-channel signal testing journey Sequence also executes following operation:
The sampled signal is modulated by first frequency difference, to obtain the first modulated signal;
Correspondingly, following operation is also executed:
Sampled point in first modulated signal is changed, to obtain the described first secondary road under the current fragment Corresponding second block signal of diameter;
Correspondingly, following operation is also executed:
The sampled signal is modulated by second frequency difference, to obtain the second modulated signal;
Sampled point in second modulated signal is changed, to obtain the described second secondary road under the current fragment Corresponding second block signal of diameter;
By corresponding second block signal in first pair path the second block signal corresponding with the second pair path It is added, to obtain the second block signal corresponding with the current fragment.
Further, processor 1001 can call stored in memory 1005 based on twin-channel signal testing journey Sequence also executes following operation:
The corresponding each segmentation of the signal to be generated is traversed, generates false random symbol in the current fragment traversed;
Mutually independent pseudorandom symbol sequence is constituted by the false random symbol, and to the pseudorandom symbol sequence It is sampled, to obtain sampled signal.
Obtained in the present embodiment signal to be generated frequency difference and signal subsection number of segment, according to signal subsection number of segment generate with to Generate the corresponding each segmentation of signal;Each segmentation is traversed, false random symbol is generated in the current fragment traversed, and to pseudorandom Symbol is sampled, to obtain sampled signal;The first block signal under current fragment is determined according to sampled signal;Pass through frequency difference Sampled signal is modulated, to obtain modulated signal;Sampled point in modulated signal is changed, to obtain current fragment Under the second block signal;When each segmentation traverses completion, respectively to corresponding first block signal of each segmentation and the second segmentation Signal carries out concatenation, to obtain first passage signal and second channel signal;Using first passage signal and second channel Signal carries out test operation.It is apparent that due to being segmented to first passage signal and second channel signal in the present embodiment Processing can obtain the longer first passage signal of data volume and second channel signal, and the longer test letter of maintenance data amount Number carry out correlation reception algorithm test of heuristics operation, solve can not generate long data volume double-channel signal carry out algorithm survey The technical issues of examination.
Based on above-mentioned hardware configuration, propose that the present invention is based on the embodiments of twin-channel signal testing method.
It is that the present invention is based on the flow diagrams of twin-channel signal testing method first embodiment referring to Fig. 2, Fig. 2.
In the first embodiment, it is described be based on twin-channel signal testing method the following steps are included:
Step S10: obtain signal to be generated frequency difference and signal subsection number of segment, according to the signal subsection number of segment generate with The corresponding each segmentation of the signal to be generated.
It should be understood that can be grasped by generating and carrying out with double-channel signal the test of heuristics of correlation reception algorithm Make, and first passage signal and second channel signal that the present embodiment generates have longer data volume, in this way, can mention significantly The accuracy of high test of heuristics is more bonded the testing requirement of differentiation.
It is understood that signal to be generated is the double-channel signal that expectation acquires, in order to generate the double-channel signal, It can first determine the signal subsection number of segment of the frequency difference and double-channel signal between double-channel signal.Signal subsection number of segment can be denoted as Nseg, Nseg are used to for signal to be generated being divided into multiple segmentations, the sampling number with identical quantity in each segmentation.
Step S20: the corresponding each segmentation of the signal to be generated is traversed, generates pseudorandom in the current fragment traversed Symbol, and the false random symbol is sampled, to obtain sampled signal.
It should be noted that multiple segmentations will be present, be recycled to each in view of when the numerical value of Nseg is greater than 1 Segmentation.
It in the concrete realization, can be in the circulation of segmentation A for example, the current fragment traversed can be denoted as to segmentation A this moment It is interior, generate multiple false random symbols.The modulation operations based on Doppler frequency shift can be carried out to false random symbol;After modulation, may be used The pseudorandom symbol sequence constituted to false random symbol samples, and samples to 100MHz, and then obtains sampled signal.
It should be understood that prevention can be used when sampling to the pseudorandom symbol sequence that false random symbol is constituted The up-sampling mode of aliasing, specifically, the up-sampling mode can be a kind of filtering operation of pulse-shaping.For example, if it exists 100 false random symbols, the sampled signal obtained after the filtering of final pulse-shaping may have 10000 points.
Step S30: the first block signal under the current fragment is determined according to the sampled signal.
It is understood that extraction operation and amplitude control behaviour can be carried out to the sampled signal of 100MHz sampling processing Make, and plus multiple white noise;Then, to treated, signal quantifies, and using after quantization real part and imaginary part as be segmented A Corresponding first block signal.
Step S40: the sampled signal is modulated by the frequency difference, to obtain modulated signal.
It should be understood that in order to obtain another channel signal also carrier frequency tune can be carried out to the sampled signal by frequency difference System.
Step S50: changing the sampled point in the modulated signal, to obtain second point under the current fragment Segment signal.
It is understood that adaptability adjusts the sampled point in the modulated signal, simultaneously, it is ensured that between each segmentation Phase continuity, to obtain corresponding second block signal of segmentation A.
Step S60: when being completed to the corresponding each segmentation traversal of the signal to be generated, respectively corresponding to each segmentation the One block signal and the second block signal carry out concatenation, to obtain first passage signal and second channel signal.
It should be understood that after obtaining the first block signal under single split A, it can be by first point under all segmentations Segment signal is spliced, to obtain the set of the first block signal, i.e. first passage signal.Similarly, under being all segmented Second block signal is spliced, to obtain the set of the second block signal, i.e. second channel signal.First passage signal and Two channel signals are double-channel signal.
In the concrete realization, in order to splice the first block signal and the second block signal, substantially, segmentation is generated each It is successively stored into glue file after signal, the splicing of the first block signal and the second block signal can be realized.
Step S70: test operation is carried out using the first passage signal and the second channel signal as test signal.
It is understood that the first passage signal and second channel signal that are generated by this kind of mode, due to first Channel signal and second channel signal have carried out segment processing, can obtain the longer first passage signal of data volume and second and lead to Road signal.The test of heuristics operation that correlation reception algorithm is carried out by the longer test signal of maintenance data amount, can not only mention The precision of height test, also can satisfy the testing requirement of more differentiation.
Obtained in the present embodiment signal to be generated frequency difference and signal subsection number of segment, according to signal subsection number of segment generate with to Generate the corresponding each segmentation of signal;Each segmentation is traversed, false random symbol is generated in the current fragment traversed, and to pseudorandom Symbol is sampled, to obtain sampled signal;The first block signal under current fragment is determined according to sampled signal;Pass through frequency difference Sampled signal is modulated, to obtain modulated signal;Sampled point in modulated signal is changed, to obtain current fragment Under the second block signal;When each segmentation traverses completion, respectively to corresponding first block signal of each segmentation and the second segmentation Signal carries out concatenation, to obtain first passage signal and second channel signal;Using first passage signal and second channel Signal carries out test operation.It is apparent that due to being segmented to first passage signal and second channel signal in the present embodiment Processing can obtain the longer first passage signal of data volume and second channel signal, and the longer test letter of maintenance data amount Number carry out correlation reception algorithm test of heuristics operation, solve can not generate long data volume double-channel signal carry out algorithm survey The technical issues of examination.
It is that the present invention is based on the flow diagram of twin-channel signal testing method second embodiment, bases referring to Fig. 3, Fig. 3 In above-mentioned first embodiment shown in Fig. 2, propose that the present invention is based on the second embodiments of twin-channel signal testing method.
In second embodiment, the step S50 is specifically included:
Step S501: the sampled point that the first predetermined position is in the modulated signal is moved to right to the second default position It sets, and the sampled point for being in third predetermined position in the modulated signal is revised as default sampled point, to work as described in acquisition The second block signal under preceding segmentation.
In the concrete realization, in order to obtain another channel signal, adaptability adjusts the sampled point in the modulated signal.It is suitable Answering property adjusts operation specifically, all sampled points in the first predetermined position can be changed to storage location and be written to second Then predetermined position covers the sampled point of third predetermined position by presetting sampled point.
It is further, described to be based on twin-channel signal testing method before the step S501 further include:
Determine the original number of samples in the current fragment;
The time difference of the signal to be generated is obtained, and displacement sampling point quantity is determined according to the time difference;
Subtraction is carried out to the original number of samples and the displacement sampling point quantity, to obtain the first preset quantity, and Using for top n sampled point as the sampled point of the first predetermined position, the N is described first from left to right in the modulated signal Preset quantity.
It is understood that as the first predeterminated position, the second predeterminated position and third predeterminated position method of determination such as Under.
For the first predeterminated position, sum, that is, original number of samples of the original sample point in current fragment can be first determined, M can be denoted as;Determine that displacement sampling point quantity, displacement sampling point quantity can be denoted as p further according to the time difference between double-channel signal.It connects , can calculate the first preset quantity N is M-p, wherein N is positive integer, if M=5, p=2, then and the first preset quantity N=M-p =3.It can be using preceding 3 sampled points in 5 sampled points of current fragment as the sampled point of the first predetermined position.
For the second predeterminated position, the second predeterminated position is described to move to right the sampled point of first predetermined position Sampling point position after shifting the sampled point of sampling point quantity.If M=5, p=2, then the first preset quantity M-p=3, second is pre- If position is the sampling point position moved to right preceding 3 sampled points in 5 sampled points of current fragment after 2 sampled points, i.e., For rear 3 sampled points in 5 sampled points of current fragment.
For third predeterminated position, can by the modulated signal from left to right before the displacement sampling point quantity Sampled point of the sampled point as third predetermined position.It, can be by preceding 2 samplings in 5 sampled points of current fragment if p=2 Sampled point of the point as third predetermined position.
In the concrete realization, if the sampled point of current fragment is { 1,2,3,4,5 }, M=5, p=2, presetting sampled point is number The sampled point that value is zero, then adaptability adjusts operation and adopts specifically, 2 can be moved to right preceding 3 sampled points in { 1,2,3,4,5 } The position of sampling point will change as { nothing, nothing, 1,2,3 }.Preceding 2 sampled points in { nothing, nothing, 1,2,3 } are subjected to zero padding behaviour again Make, will change as { 0,0,1,2,3 }.
By carrying out adaptability adjusting to modulated signal in the present embodiment, it can guarantee that time difference precision is higher smart with frequency difference Spend it is higher under the premise of generate another channel signal.
It is that the present invention is based on the flow diagram of twin-channel signal testing method 3rd embodiment, bases referring to Fig. 4, Fig. 4 In above-mentioned second embodiment shown in Fig. 3, propose that the present invention is based on the 3rd embodiments of twin-channel signal testing method.
It is described to move to right the sampled point that the first predetermined position is in the modulated signal to second in 3rd embodiment Predeterminated position, and the sampled point that third predetermined position is in the modulated signal is revised as default sampled point, to obtain The second block signal under the current fragment, specifically includes:
When the current fragment is the first default segmentation, adopting for the first predetermined position will be in the modulated signal Sampling point is moved to right to the second predeterminated position, and the sampled point that third predetermined position is in the modulated signal is revised as numerical value The sampled point for being zero, to obtain the second block signal under the current fragment.
It is understood that different segmentations, which can correspond to different adaptability, adjusts strategy, for example, if current fragment is the 1st When preceding 2 sampled points in filling { nothing, nothing, 1,2,3 }, the mode of zero padding is can be used in the default segmentation of a segmentation i.e. first.
Further, the step S501, specifically includes:
Step S502: it when the current fragment is the first default segmentation, is preset being in the 4th in the modulated signal Sampled point at position is stored in the first default unloading variable, and the sampling of the first predetermined position will be in the modulated signal Point is moved to right to the second predeterminated position, and the sampled point for being in the third predetermined position in modulated signal is revised as numerical value and is Zero sampled point, to obtain the second block signal under the current fragment.
It should be understood that can correspond to different adaptability in view of different segmentations adjusts strategy, moreover, it is contemplated that keeping not With the phase continuity between segmentation, the first default unloading variable can be additionally set, and the first default unloading variable can be denoted as variable s_ tail.For example, the sampled point of the 4th predetermined position can be stored in variable s_tail when current fragment is the 1st segmentation.
It in the concrete realization, can be by the rear shifting in the modulated signal from left to right for the 4th predeterminated position Sampled point of the sampled point of position sampling point quantity as the 4th predetermined position.If the sampled point of current fragment be 1,2,3,4, 5 }, M=5, p=2, default sampled point are the sampled point that numerical value is zero, then adaptability adjust operation specifically, can first by 1,2, 3,4,5 } in rear 2 sampled points deposit variable s_tail in, i.e. deposit { 4,5 }.Then, then by preceding 3 in { 1,2,3,4,5 } A sampled point moves to right the position of 2 sampled points, will change as { nothing, nothing, 1,2,3 }.Again by first 2 in { nothing, nothing, 1,2,3 } Sampled point carries out zero padding operation, will change as { 0,0,1,2,3 }.The current fragment finally obtained is { 0,0,1,2,3 }, variable s_ { 4,5 } are incorporated in tail.
It is correspondingly, described to be based on twin-channel signal testing method after the step S40 further include:
Step S503: when the current fragment is the second default segmentation, by deposit in the described first default unloading variable The default temporary variable of sampled point deposit second in, the sampled point of the 4th predetermined position will be in the modulated signal It is stored in the described first default unloading variable, the sampled point that first predetermined position is in the modulated signal is moved to right To second predeterminated position, and the sampled point that the third predetermined position is in the modulated signal is revised as described Sampled point in second default temporary variable, to obtain the second block signal under the current fragment.
It should be understood that if current fragment is the default segmentation of second segmentation i.e. second, second default is segmented into except the 1st A segmentation and other segmentations other than the last one segmentation.When in view of the 1st segmentation of processing, incorporated in variable s_tail 4, 5}。
In the concrete realization, if second is segmented into { 2,2,2,2,2 }, M=5, p=2, then it is specific to adjust operation for adaptability For, it can be first by the default temporary variable of { 4,5 } deposit second in variable s_tail, the second default temporary variable can be denoted as variable In s_tail_tmp.Then, rear 2 sampled points in { 2,2,2,2,2 } can be stored in variable s_tail, i.e. deposit { 2,2 }. It is { 4,5 } in variable s_tail_tmp in this way, being { 2,2 } in variable s_tail.Then, then by preceding 3 in { 2,2,2,2,2 } A sampled point moves to right the position of 2 sampled points, will change as { nothing, nothing, 2,2,2 }.Again by first 2 in { nothing, nothing, 2,2,2 } Sampled point is revised as { 4,5 } being stored in s_tail_tmp, will change as { 4,5,2,2,2 }.Second segmentation finally obtained For { 4,5,2,2,2 }, it is in variable s_tail { 2,2 }, is in variable s_tail_tmp { 4,5 }.
After executing the step S503, it is transferred to step S60.
Further, it if current fragment is the default segmentation of third i.e. the last one segmentation, is also segmented for the Nseg, it is assumed that Nseg=3, the last one segmentation is third segmentation, and in this variations per hour s_tail is { 2,2 }, in variable s_tail_tmp For { 4,5 }, the sampled point that first predetermined position is in the modulated signal can be moved to right to the described second default position It sets, and the sampled point for being in the third predetermined position in the modulated signal is revised as the described first default unloading variable In sampled point, to obtain the second block signal under the current fragment.
In the concrete realization, it is segmented into { 3,3,3,3,3 } if third is a, M=5, p=2, is { 2,2 }, variable in s_tail It is { 4,5 } that then adaptability adjusts operation specifically, can move to right preceding 3 sampled points in { 3,3,3,3,3 } in s_tail_tmp The position of 2 sampled points will change as { nothing, nothing, 3,3,3 }.Preceding 2 sampled points in { nothing, nothing, 3,3,3 } are revised as again { 2,2 } being stored in s_tail will change as { 2,2,3,3,3 }.
It is operated as it can be seen that being adjusted by above-mentioned adaptability, by { 1,2,3,4,5 }, { 2,2,2,2,2 } and { 3,3,3,3,3 }, Finally, the Phase Continuation that ensure that between segmentation for { 0,0,1,2,3 }, { 4,5,2,2,2 } and { 2,2,3,3,3 } is changed Property.
In addition, guarantee segmentation between phase continuity after, can also to the second block signal under current fragment into Row extraction operation and amplitude control operation, and plus multiple white noise;Then, to treated, signal quantifies, and will amount Real part after change and imaginary part are re-used as corresponding second block signal of current fragment.
Being different subsection setups in the present embodiment, different adaptability adjusts strategy;Moreover, by introducing variable s_ Tail and variable s_tail_tmp, incorporates the fractional-sample point of current fragment so that next segmentation uses, ensure that segmentation Between phase continuity.
It is that the present invention is based on the flow diagram of twin-channel signal testing method fourth embodiment, bases referring to Fig. 5, Fig. 5 In above-mentioned first embodiment shown in Fig. 2, propose that the present invention is based on the fourth embodiments of twin-channel signal testing method.
It is described to be based on twin-channel signal testing method before the step S10 in fourth embodiment further include:
Obtain final number of samples and sample rate;
Original number of samples is determined according to the final number of samples;
Extracting multiple is determined according to the sample rate;
The signal point of signal to be generated is determined according to the original number of samples, the extracting multiple and the final number of samples Section number of segment.
It should be understood that as the acquisition modes of signal subsection number of segment Nseg, specifically, sample rate can first be arranged and use The final number of samples of family demand, sample rate may be configured as 1.25 times of bandwidth or 2 times of bandwidth, determine that extracting drop adopts further according to sample rate The extracting multiple of sample can be denoted as Deci.Also original number of samples can be reversely determined according to final number of samples, for example, if final demand Number of samples be 1000 sampled points, it is contemplated that processing error and processing capacity, with this information it is possible to determine the original total sample gone out is 10000 sampled points.When original total sample is 10000 sampled points, it may be determined that the original number of samples M in each segmentation is 10, this allows for the finiteness of hardware processing resources processing capacity.
It is understood that after determining original number of samples 10, extracting multiple and final number of samples 1000, it may be determined that Signal subsection number of segment is 100 sections, in this way, can meet final number of samples is 1000, i.e. 1000=10*100.
It further, can be by final number of samples, signal subsection number of segment and sample rate Lai really as the number of false random symbol Fixed, the number of false random symbol can be denoted as Nsymbol.
Further, raw according to the signal subsection number of segment in the frequency difference and signal subsection number of segment for obtaining signal to be generated After each segmentation corresponding with the signal to be generated, the time difference of signal to be generated can be also obtained, and judge the positive and negative of the time difference, If the corresponding channel parameters of first passage channel parameters corresponding with second channel less than 0, can be interchangeable by the time difference.It exchanges And then execute subsequent traversing operation.
Further, it is different from that the present invention is based on twin-channel signal testing method first embodiments to 3rd embodiment to exist When generating double-channel signal progress signal detection, the double-channel signal of generation is homologous and different delays two-way coherent signal, Other two classes double-channel signals, which are also additionally provided, the present invention is based on twin-channel signal testing method fourth embodiment carries out signal Detection, specifically, a kind of double-channel signal is the double-channel signal that homologous and multipath mixes, another kind of is multiple radiation sources Double-channel signal.
For example, same radiation source will be simulated because passing through three differences by taking the double-channel signal that homologous and multipath mixes as an example Propagation path and generate different propagation delays and Doppler frequency shift, the double-channel signal ultimately generated is to reach receiving end double Two-way when channel has the coherent signal of two kinds of time differences and frequency difference.Wherein, channel signal only includes first propagation road all the way The delay version of diameter, another channel signal include the mixing delay version of second and Article 3 propagation path.Specifically, described Frequency difference includes the first frequency difference between main path and the first secondary path and second between the main path and the second secondary path Frequency difference.
It is understood that in view of multipath mixes main path, the first secondary path and the second secondary path will be introduced, in turn There is two kinds of frequency differences.For example, the first frequency difference can be denoted as frequency difference A, the second frequency difference can be denoted as frequency difference B.
Correspondingly, the step S40, specifically includes:
Step S401: being modulated the sampled signal by first frequency difference, to obtain the first modulated signal.
It should be understood that can also first pass through frequency difference A in order to obtain another channel signal and be adjusted to the sampled signal System.
Correspondingly, the step S50, specifically includes:
Step S504: changing the sampled point in first modulated signal, to obtain institute under the current fragment State corresponding second block signal in the first pair path.
It should be noted that will first generate the first secondary path respectively in view of the presence of the first secondary path and the second secondary path Corresponding second block signal of corresponding second block signal and the second pair path.Adjusting operation as adaptability can be found in The present invention is based on twin-channel signal testing method second embodiments to 3rd embodiment.Difference is, to shift sampling point quantity Generating mode, specifically, including first time difference and the main road between main path and the first secondary path in view of the time difference Second time difference between diameter and the second secondary path, so, the original number of samples that will first determine in current fragment obtains letter to be generated First time difference in number, and the first displacement sampling point quantity is determined according to first time difference, reapply the first displacement number of samples Amount adjusts operation to carry out adaptability.
It is correspondingly, described to be based on twin-channel signal testing method after the step S504 further include:
Step S505: being modulated the sampled signal by second frequency difference, to obtain the second modulated signal.
Step S506: changing the sampled point in second modulated signal, to obtain institute under the current fragment State corresponding second block signal in the second pair path.
It is understood that similarly, the second displacement sampling point quantity will be determined according to second time difference, second displacement is reapplied Sampling point quantity adjusts operation to carry out adaptability.
Step S507: by corresponding second block signal in first pair path and the described second secondary path corresponding second Block signal is added, to obtain the second block signal corresponding with the current fragment.
It should be understood that it is final, it will corresponding second block signal in the first pair path is corresponding with the second secondary path Second block signal is overlapped, and along with multiple white noise, and is quantified to signal, using after quantization real part and imaginary part as Corresponding second block signal of current fragment.
Divide it is apparent that the present embodiment when obtaining the second block signal, will distinguish the first secondary path with the second secondary path Other places reason.Additionally, there are the numerical value that three paths can derive three time delays to compare operation, further optimization displacement.
Further, described to traverse the corresponding each segmentation of the signal to be generated, it is generated in the current fragment traversed False random symbol, and the false random symbol is sampled, to obtain sampled signal, specifically include:
The corresponding each segmentation of the signal to be generated is traversed, generates false random symbol in the current fragment traversed;
Mutually independent pseudorandom symbol sequence is constituted by the false random symbol, and to the pseudorandom symbol sequence It is sampled, to obtain sampled signal.
It should be understood that multiple radiation sources will be simulated because common as the double-channel signal of another kind of multiple radiation sources Multiple groups difference propagation delay and Doppler frequency shift are generated by two different propagation paths, the double-channel signal ultimately generated is Two-way mixing coherent signal when reaching receiving end binary channels.
In the concrete realization, in order to generate the double-channel signals of multiple radiation sources, product process is generally double with the first Channel signal, that is, homologous and different delays two-way coherent signal product process is identical, and difference is, the first binary channels letter Single pseudorandom symbol sequence has only been handled in number, and there are multiple false random symbol sequences in the double-channel signal of multiple radiation sources Column, also, it is mutually indepedent between multiple pseudorandom symbol sequences, i.e., it will generate multiple mutually independent pseudorandom symbol sequences.
The generating mode that two kinds of double-channel signals are additionally proposed in the present embodiment can be used for the detection of small-signal, including The double-channel signal of homologous and multipath mixing and the double-channel signal of multiple radiation sources, can guarantee segmentation in segment shift Between Phase Continuation;Moreover, three kinds of modes produce different types of double-channel signal, when generating non-integral multiple sampled point, It can guarantee that the high-precision of the time difference, precision reach 0.01us.
In addition, the embodiment of the present invention also proposes a kind of storage medium, it is stored on the storage medium based on twin-channel Signal testing program, described to be based on realizing following operation when twin-channel signal testing program is executed by processor:
Obtain signal to be generated frequency difference and signal subsection number of segment, according to the signal subsection number of segment generate with it is described to be generated At the corresponding each segmentation of signal;
The corresponding each segmentation of the signal to be generated is traversed, false random symbol is generated in the current fragment traversed, and The false random symbol is sampled, to obtain sampled signal;
The first block signal under the current fragment is determined according to the sampled signal;
The sampled signal is modulated by the frequency difference, to obtain modulated signal;
Sampled point in the modulated signal is changed, to obtain the second block signal under the current fragment;
When completing to the corresponding each segmentation traversal of the signal to be generated, the first segmentation corresponding to each segmentation is believed respectively Number with the second block signal carry out concatenation, to obtain first passage signal and second channel signal;
Test operation is carried out using the first passage signal and the second channel signal as test signal.
Further, described to be based on also realizing following operation when twin-channel signal testing program is executed by processor:
The sampled point that the first predetermined position is in the modulated signal is moved to right to the second predeterminated position, and will be described Sampled point in modulated signal in third predetermined position is revised as default sampled point, to obtain the under the current fragment Two-section signal.
Further, described to be based on also realizing following operation when twin-channel signal testing program is executed by processor:
Determine the original number of samples in the current fragment;
The time difference of the signal to be generated is obtained, and displacement sampling point quantity is determined according to the time difference;
Subtraction is carried out to the original number of samples and the displacement sampling point quantity, to obtain the first preset quantity, and Using for top n sampled point as the sampled point of the first predetermined position, the N is described first from left to right in the modulated signal Preset quantity.
Further, described to be based on also realizing following operation when twin-channel signal testing program is executed by processor:
When the current fragment is the first default segmentation, adopting for the first predetermined position will be in the modulated signal Sampling point is moved to right to the second predeterminated position, and the sampled point that third predetermined position is in the modulated signal is revised as numerical value The sampled point for being zero, to obtain the second block signal under the current fragment.
Further, described to be based on also realizing following operation when twin-channel signal testing program is executed by processor:
When the current fragment is the first default segmentation, adopting for the 4th predetermined position will be in the modulated signal Sampling point is stored in the first default unloading variable, and the sampled point that the first predetermined position is in the modulated signal is moved to right to the Two predeterminated positions, and the sampled point that third predetermined position is in the modulated signal is revised as the sampling that numerical value is zero Point, to obtain the second block signal under the current fragment;
Correspondingly, following operation is also realized:
When the current fragment is the second default segmentation, the sampled point being stored in the described first default unloading variable is deposited Enter in the second default temporary variable, by the sampled point deposit for being in the 4th predetermined position in the modulated signal described the In one default unloading variable, the sampled point that first predetermined position is in the modulated signal is moved to right to described second Predeterminated position, and the sampled point for being in the third predetermined position in the modulated signal is revised as described second and is preset temporarily The sampled point in variable is deposited, to obtain the second block signal under the current fragment.
Further, described to be based on also realizing following operation when twin-channel signal testing program is executed by processor:
The sampled signal is modulated by first frequency difference, to obtain the first modulated signal;
Correspondingly, following operation is also realized:
Sampled point in first modulated signal is changed, to obtain the described first secondary road under the current fragment Corresponding second block signal of diameter;
Correspondingly, following operation is also realized:
The sampled signal is modulated by second frequency difference, to obtain the second modulated signal;
Sampled point in second modulated signal is changed, to obtain the described second secondary road under the current fragment Corresponding second block signal of diameter;
By corresponding second block signal in first pair path the second block signal corresponding with the second pair path It is added, to obtain the second block signal corresponding with the current fragment.
Further, described to be based on also realizing following operation when twin-channel signal testing program is executed by processor:
The corresponding each segmentation of the signal to be generated is traversed, generates false random symbol in the current fragment traversed;
Mutually independent pseudorandom symbol sequence is constituted by the false random symbol, and to the pseudorandom symbol sequence It is sampled, to obtain sampled signal.
Obtained in the present embodiment signal to be generated frequency difference and signal subsection number of segment, according to signal subsection number of segment generate with to Generate the corresponding each segmentation of signal;Each segmentation is traversed, false random symbol is generated in the current fragment traversed, and to pseudorandom Symbol is sampled, to obtain sampled signal;The first block signal under current fragment is determined according to sampled signal;Pass through frequency difference Sampled signal is modulated, to obtain modulated signal;Sampled point in modulated signal is changed, to obtain current fragment Under the second block signal;When each segmentation traverses completion, respectively to corresponding first block signal of each segmentation and the second segmentation Signal carries out concatenation, to obtain first passage signal and second channel signal;Using first passage signal and second channel Signal carries out test operation.It is apparent that due to being segmented to first passage signal and second channel signal in the present embodiment Processing can obtain the longer first passage signal of data volume and second channel signal, and the longer test letter of maintenance data amount Number carry out correlation reception algorithm test of heuristics operation, solve can not generate long data volume double-channel signal carry out algorithm survey The technical issues of examination.
In addition, the embodiment of the present invention also proposes that one kind is based on twin-channel signal-testing apparatus, described to be based on referring to Fig. 6 Twin-channel signal-testing apparatus includes:
Data obtaining module 10, for obtaining the frequency difference and signal subsection number of segment of signal to be generated, according to the signal point Section number of segment generates each segmentation corresponding with the signal to be generated.
It should be understood that can be grasped by generating and carrying out with double-channel signal the test of heuristics of correlation reception algorithm Make, and first passage signal and second channel signal that the present embodiment generates have longer data volume, in this way, can mention significantly The accuracy of high test of heuristics is more bonded the testing requirement of differentiation.
It is understood that signal to be generated is the double-channel signal that expectation acquires, in order to generate the double-channel signal, It can first determine the signal subsection number of segment of the frequency difference and double-channel signal between double-channel signal.Signal subsection number of segment can be denoted as Nseg, Nseg are used to for signal to be generated being divided into multiple segmentations, the sampling number with identical quantity in each segmentation.
Symbol generation module 20, for traversing the corresponding each segmentation of the signal to be generated, in the current fragment traversed Interior generation false random symbol, and the false random symbol is sampled, to obtain sampled signal.
It should be noted that multiple segmentations will be present, be recycled to each in view of when the numerical value of Nseg is greater than 1 Segmentation.
It in the concrete realization, can be in the circulation of segmentation A for example, the current fragment traversed can be denoted as to segmentation A this moment It is interior, generate multiple false random symbols.The modulation operations based on Doppler frequency shift can be carried out to false random symbol;After modulation, may be used The pseudorandom symbol sequence constituted to false random symbol samples, and samples to 100MHz, and then obtains sampled signal.
It should be understood that prevention can be used when sampling to the pseudorandom symbol sequence that false random symbol is constituted The up-sampling mode of aliasing, specifically, the up-sampling mode can be a kind of filtering operation of pulse-shaping.For example, if it exists 100 false random symbols, the sampled signal obtained after the filtering of final pulse-shaping may have 10000 points.
First signal generation module 30, for determining that the first segmentation under the current fragment is believed according to the sampled signal Number.
It is understood that extraction operation and amplitude control behaviour can be carried out to the sampled signal of 100MHz sampling processing Make, and plus multiple white noise;Then, to treated, signal quantifies, and using after quantization real part and imaginary part as be segmented A Corresponding first block signal.
Signal modulation module 40, for being modulated by the frequency difference to the sampled signal, to obtain modulated signal.
It should be understood that in order to obtain another channel signal also carrier frequency tune can be carried out to the sampled signal by frequency difference System.
Second signal generation module 50, for being changed to the sampled point in the modulated signal, to work as described in acquisition The second block signal under preceding segmentation.
It is understood that adaptability adjusts the sampled point in the modulated signal, simultaneously, it is ensured that between each segmentation Phase continuity, to obtain corresponding second block signal of segmentation A.
Splicing module 60 is recycled, in each segmentation traversal completion corresponding to the signal to be generated, respectively to each It is segmented corresponding first block signal and the second block signal carries out concatenation, to obtain first passage signal and second channel Signal.
It should be understood that after obtaining the first block signal under single split A, it can be by first point under all segmentations Segment signal is spliced, to obtain the set of the first block signal, i.e. first passage signal.Similarly, under being all segmented Second block signal is spliced, to obtain the set of the second block signal, i.e. second channel signal.First passage signal and Two channel signals are double-channel signal.
In the concrete realization, in order to splice the first block signal and the second block signal, substantially, segmentation is generated each It is successively stored into glue file after signal, the splicing of the first block signal and the second block signal can be realized.
Signal detection module 70, for using the first passage signal and the second channel signal as test signal into Row test operation.
It is understood that the first passage signal and second channel signal that are generated by this kind of mode, due to first Channel signal and second channel signal have carried out segment processing, can obtain the longer first passage signal of data volume and second and lead to Road signal.The test of heuristics operation that correlation reception algorithm is carried out by the longer test signal of maintenance data amount, can not only mention The precision of height test, also can satisfy the testing requirement of more differentiation.
Obtained in the present embodiment signal to be generated frequency difference and signal subsection number of segment, according to signal subsection number of segment generate with to Generate the corresponding each segmentation of signal;Each segmentation is traversed, false random symbol is generated in the current fragment traversed, and to pseudorandom Symbol is sampled, to obtain sampled signal;The first block signal under current fragment is determined according to sampled signal;Pass through frequency difference Sampled signal is modulated, to obtain modulated signal;Sampled point in modulated signal is changed, to obtain current fragment Under the second block signal;When each segmentation traverses completion, respectively to corresponding first block signal of each segmentation and the second segmentation Signal carries out concatenation, to obtain first passage signal and second channel signal;Using first passage signal and second channel Signal carries out test operation.It is apparent that due to being segmented to first passage signal and second channel signal in the present embodiment Processing can obtain the longer first passage signal of data volume and second channel signal, and the longer test letter of maintenance data amount Number carry out correlation reception algorithm test of heuristics operation, solve can not generate long data volume double-channel signal carry out algorithm survey The technical issues of examination.
In one embodiment, the second signal generation module 50 is also used to that first will be in the modulated signal pre- If the sampled point at position is moved to right to the second predeterminated position, and the sampling that will be in third predetermined position in the modulated signal Point is revised as default sampled point, to obtain the second block signal under the current fragment.
It is in one embodiment, described to be based on twin-channel signal-testing apparatus further include:
Predeterminated position setup module, for determining the original number of samples in the current fragment;Obtain the letter to be generated Number the time difference, and according to the time difference determine displacement sampling point quantity;To the original number of samples and the displacement sampling point quantity into Row subtraction, to obtain the first preset quantity, and using top n sampled point is pre- as first from left to right in the modulated signal If the sampled point at position, the N is first preset quantity.
In one embodiment, the second signal generation module 50 is also used in the current fragment be first default point Duan Shi moves to right the sampled point that the first predetermined position is in the modulated signal to the second predeterminated position, and by the tune Sampled point in signal processed in third predetermined position is revised as the sampled point that numerical value is zero, to obtain under the current fragment The second block signal.
It is in one embodiment, described to be based on twin-channel signal-testing apparatus further include:
The second signal generation module 50 is also used to when the current fragment is the first default segmentation, by the tune Sampled point in signal processed in the 4th predetermined position is stored in the first default unloading variable, will be in the modulated signal The sampled point of first predetermined position is moved to right to the second predeterminated position, and third predetermined position will be in the modulated signal Sampled point be revised as the sampled point that numerical value is zero, to obtain the second block signal under the current fragment;
Third signal generation module, for described first being preset and is turned when the current fragment being the second default segmentation It deposits in the default temporary variable of the sampled point deposit second being stored in variable, the 4th default position will be in the modulated signal The sampled point for setting place is stored in the first default unloading variable, and first predetermined position will be in the modulated signal Sampled point move to right to second predeterminated position, and will in the modulated signal be in the third predetermined position sampling Point is revised as the sampled point in the described second default temporary variable, to obtain the second block signal under the current fragment.
It is in one embodiment, described to be based on twin-channel signal-testing apparatus further include:
The signal modulation module 40 is also used to be modulated the sampled signal by first frequency difference, to obtain Obtain the first modulated signal;
The second signal generation module 50 is also used to change the sampled point in first modulated signal, with Obtain corresponding second block signal in first pair path under the current fragment;
Processing module is distinguished in path, for being modulated by second frequency difference to the sampled signal, to obtain the Two modulated signals;Sampled point in second modulated signal is changed, to obtain described second under the current fragment Corresponding second block signal in secondary path;By the described first secondary corresponding second block signal in path and the second secondary path pair The second block signal answered is added, to obtain the second block signal corresponding with the current fragment.
In one embodiment, the symbol generation module 20 is also used to traverse the corresponding each segmentation of the signal to be generated, False random symbol is generated in the current fragment traversed;Mutually independent false random symbol is constituted by the false random symbol Sequence, and the pseudorandom symbol sequence is sampled, to obtain sampled signal.
Other embodiments or specific implementation of the present invention based on twin-channel signal-testing apparatus can refer to Each method embodiment is stated, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.If listing equipment for drying Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first, Second and the use of third etc. do not indicate any sequence, can be title by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as read-only memory, RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, count Calculation machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. one kind is based on twin-channel signal testing method, which is characterized in that described to be based on twin-channel signal testing method packet Include following steps:
The frequency difference and signal subsection number of segment for obtaining signal to be generated, generate and the letter to be generated according to the signal subsection number of segment Number corresponding each segmentation;
The corresponding each segmentation of the signal to be generated is traversed, false random symbol is generated in the current fragment traversed, and to institute It states false random symbol to be sampled, to obtain sampled signal;
The first block signal under the current fragment is determined according to the sampled signal;
The sampled signal is modulated by the frequency difference, to obtain modulated signal;
Sampled point in the modulated signal is changed, to obtain the second block signal under the current fragment;
When being completed to the corresponding each segmentation traversal of the signal to be generated, respectively to corresponding first block signal of each segmentation with Second block signal carries out concatenation, to obtain first passage signal and second channel signal;
Test operation is carried out using the first passage signal and the second channel signal as test signal.
2. being based on twin-channel signal testing method as described in claim 1, which is characterized in that described to the modulated signal Interior sampled point changes, and to obtain the second block signal under the current fragment, specifically includes:
The sampled point that the first predetermined position is in the modulated signal is moved to right to the second predeterminated position, and by the modulation Sampled point in signal in third predetermined position is revised as default sampled point, to obtain second point under the current fragment Segment signal.
3. being based on twin-channel signal testing method as claimed in claim 2, which is characterized in that described by the modulated signal In move to right in the sampled point of the first predetermined position to the second predeterminated position, and will be preset in the modulated signal in third Sampled point at position is revised as default sampled point, before obtaining the second block signal under the current fragment, the base In twin-channel signal testing method further include:
Determine the original number of samples in the current fragment;
The time difference of the signal to be generated is obtained, and displacement sampling point quantity is determined according to the time difference;
To the original number of samples and displacement sampling point quantity progress subtraction, to obtain the first preset quantity, and by institute Sampled point of the top n sampled point as the first predetermined position from left to right is stated in modulated signal, the N is described first default Quantity.
4. being based on twin-channel signal testing method as claimed in claim 2, which is characterized in that described by the modulated signal In move to right in the sampled point of the first predetermined position to the second predeterminated position, and will be preset in the modulated signal in third Sampled point at position is revised as default sampled point and is specifically included with obtaining the second block signal under the current fragment:
When the current fragment is the first default segmentation, the sampled point of the first predetermined position will be in the modulated signal It moves to right to the second predeterminated position, and it is zero that the sampled point that third predetermined position is in the modulated signal, which is revised as numerical value, Sampled point, to obtain the second block signal under the current fragment.
5. being based on twin-channel signal testing method as claimed in claim 4, which is characterized in that described in the current fragment When presetting segmentation for first, the sampled point that the first predetermined position is in the modulated signal is moved to right to the second default position It sets, and the sampled point for being in third predetermined position in the modulated signal is revised as the sampled point that numerical value is zero, to obtain The second block signal under the current fragment, specifically includes:
When the current fragment is the first default segmentation, the sampled point of the 4th predetermined position will be in the modulated signal It is stored in the first default unloading variable, the sampled point that the first predetermined position is in the modulated signal is moved to right to second in advance If position, and the sampled point that third predetermined position is in the modulated signal is revised as the sampled point that numerical value is zero, with Obtain the second block signal under the current fragment;
Correspondingly, described that the sampled signal is modulated by the frequency difference, it is described to be based on after obtaining modulated signal Twin-channel signal testing method further include:
When the current fragment is the second default segmentation, by the sampled point being stored in the described first default unloading variable deposit the It is in two default temporary variables, the sampled point deposit described first that the 4th predetermined position is in the modulated signal is pre- If in unloading variable, the sampled point that first predetermined position is in the modulated signal being moved to right to described second and is preset Position, and the sampled point that the third predetermined position is in the modulated signal is revised as the described second default temporary change Sampled point in amount, to obtain the second block signal under the current fragment.
6. being based on twin-channel signal testing method as described in claim 1, which is characterized in that the frequency difference includes main path The second frequency difference between the first frequency difference and the main path and the second secondary path between the first secondary path;
Correspondingly, described that the sampled signal is modulated by the frequency difference, to obtain modulated signal, specifically include:
The sampled signal is modulated by first frequency difference, to obtain the first modulated signal;
Correspondingly, the sampled point in the modulated signal changes, to obtain second point under the current fragment Segment signal specifically includes:
Sampled point in first modulated signal is changed, to obtain the described first secondary path pair under the current fragment The second block signal answered;
Correspondingly, the sampled point in first modulated signal changes, described under the current fragment to obtain It is described to be based on twin-channel signal testing method after corresponding second block signal in first pair path further include:
The sampled signal is modulated by second frequency difference, to obtain the second modulated signal;
Sampled point in second modulated signal is changed, to obtain the described second secondary path pair under the current fragment The second block signal answered;
Corresponding second block signal in first pair path the second block signal corresponding with the second pair path is carried out It is added, to obtain the second block signal corresponding with the current fragment.
7. as described in any one of claims 1 to 5 based on twin-channel signal testing method, which is characterized in that described time Go through the corresponding each segmentation of the signal to be generated, generate false random symbol in the current fragment traversed, and to it is described it is pseudo- with Machine symbol is sampled, and to obtain sampled signal, is specifically included:
The corresponding each segmentation of the signal to be generated is traversed, generates false random symbol in the current fragment traversed;
Mutually independent pseudorandom symbol sequence is constituted by the false random symbol, and the pseudorandom symbol sequence is carried out Sampling, to obtain sampled signal.
8. a kind of test equipment, which is characterized in that the test equipment includes: memory, processor and is stored in the storage It can run on device and on the processor based on twin-channel signal testing program, it is described to be based on twin-channel signal testing journey When sequence is executed by the processor realize as described in any one of claims 1 to 7 based on twin-channel signal testing method The step of.
9. a kind of storage medium, which is characterized in that be stored on the storage medium based on twin-channel signal testing program, institute State when being executed by processor based on twin-channel signal testing program realize as described in any one of claims 1 to 7 based on The step of twin-channel signal testing method.
10. one kind is based on twin-channel signal-testing apparatus, which is characterized in that described to be based on twin-channel signal-testing apparatus packet It includes:
Data obtaining module, for obtaining the frequency difference and signal subsection number of segment of signal to be generated, according to the signal subsection number of segment Generate each segmentation corresponding with the signal to be generated;
Symbol generation module generates in the current fragment traversed for traversing the corresponding each segmentation of the signal to be generated False random symbol, and the false random symbol is sampled, to obtain sampled signal;
First signal generation module, for determining the first block signal under the current fragment according to the sampled signal;
Signal modulation module, for being modulated by the frequency difference to the sampled signal, to obtain modulated signal;
Second signal generation module, for being changed to the sampled point in the modulated signal, to obtain the current fragment Under the second block signal;
Splicing module is recycled, for when being completed to the corresponding each segmentation traversal of the signal to be generated, is segmented pair to each respectively The first block signal answered and the second block signal carry out concatenation, to obtain first passage signal and second channel signal;
Signal detection module, for testing the first passage signal as test signal with the second channel signal Operation.
CN201910588424.7A 2019-07-01 2019-07-01 Signal testing method, signal testing equipment, storage medium and signal testing device based on double channels Active CN110332948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910588424.7A CN110332948B (en) 2019-07-01 2019-07-01 Signal testing method, signal testing equipment, storage medium and signal testing device based on double channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910588424.7A CN110332948B (en) 2019-07-01 2019-07-01 Signal testing method, signal testing equipment, storage medium and signal testing device based on double channels

Publications (2)

Publication Number Publication Date
CN110332948A true CN110332948A (en) 2019-10-15
CN110332948B CN110332948B (en) 2021-05-04

Family

ID=68144708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910588424.7A Active CN110332948B (en) 2019-07-01 2019-07-01 Signal testing method, signal testing equipment, storage medium and signal testing device based on double channels

Country Status (1)

Country Link
CN (1) CN110332948B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127973A (en) * 2006-12-18 2008-02-20 浙江华立通信集团有限公司 Multi-path receiving merger for TD-SCDMA/3G/4G terminal
CN101262613A (en) * 2008-04-09 2008-09-10 北京创毅视讯科技有限公司 A synchronization method and unit for receiver in DTMB system
CN103414502A (en) * 2013-07-21 2013-11-27 西北工业大学 Extension method for Doppler frequency shift tolerance in 2FSK spread spectrum system receiver
CN103856956A (en) * 2012-11-29 2014-06-11 重庆重邮信科通信技术有限公司 LTE system cell detection method
EP2770065A1 (en) * 2013-02-25 2014-08-27 Seegene, Inc. Detection of nucleotide variation on target nucleic acid sequence
CN104065604A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Signal synchronization method, receiving end and system
CN106444961A (en) * 2016-09-12 2017-02-22 深圳市鼎阳科技有限公司 Output waveform synchronization method of double-channel signal generator
CN106569543A (en) * 2016-09-12 2017-04-19 深圳市鼎阳科技有限公司 Two-channel signal generator and output waveform synchronization method thereof
CN107425918A (en) * 2016-05-23 2017-12-01 中国移动通信集团湖南有限公司 A kind of modulation based on QAM, demodulation method and device
CN109660277A (en) * 2018-12-28 2019-04-19 北京理工大学 A kind of hybrid spread spectrum information generation device and method
CN109752736A (en) * 2018-12-28 2019-05-14 北京邮电大学 A kind of satellite test signal creating method, device, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127973A (en) * 2006-12-18 2008-02-20 浙江华立通信集团有限公司 Multi-path receiving merger for TD-SCDMA/3G/4G terminal
CN101262613A (en) * 2008-04-09 2008-09-10 北京创毅视讯科技有限公司 A synchronization method and unit for receiver in DTMB system
CN103856956A (en) * 2012-11-29 2014-06-11 重庆重邮信科通信技术有限公司 LTE system cell detection method
EP2770065A1 (en) * 2013-02-25 2014-08-27 Seegene, Inc. Detection of nucleotide variation on target nucleic acid sequence
CN104065604A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Signal synchronization method, receiving end and system
CN103414502A (en) * 2013-07-21 2013-11-27 西北工业大学 Extension method for Doppler frequency shift tolerance in 2FSK spread spectrum system receiver
CN107425918A (en) * 2016-05-23 2017-12-01 中国移动通信集团湖南有限公司 A kind of modulation based on QAM, demodulation method and device
CN106444961A (en) * 2016-09-12 2017-02-22 深圳市鼎阳科技有限公司 Output waveform synchronization method of double-channel signal generator
CN106569543A (en) * 2016-09-12 2017-04-19 深圳市鼎阳科技有限公司 Two-channel signal generator and output waveform synchronization method thereof
CN109660277A (en) * 2018-12-28 2019-04-19 北京理工大学 A kind of hybrid spread spectrum information generation device and method
CN109752736A (en) * 2018-12-28 2019-05-14 北京邮电大学 A kind of satellite test signal creating method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110332948B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN110135985B (en) Parallel execution method and system for transactions on block chain
CN101107796B (en) Method and device for performing channel simulation
CN103136094A (en) Page testing method and device
CN105187608B (en) The method and apparatus of application program power consumption on a kind of acquisition mobile terminal
CN105468797A (en) Information processing method and apparatus
CN110798383B (en) Gigabit Ethernet test system and method
CN116723140B (en) Multithreaded excitation signal configuration method based on vector network analyzer
CN104168536B (en) Data copy method and system between a kind of mobile terminal
CN111337820A (en) Digital chip scan chain test method, device, equipment and medium
CN102752059A (en) Automatic equipment test method and system
CN110332948A (en) Based on twin-channel signal testing method, test equipment, storage medium and device
KR20110081035A (en) Semiconductor test apparatus
CN106168924A (en) Software testing method and device and electronic equipment
CN101165502B (en) Tester simultaneous test method
CN105679690B (en) The method for improving test wafer service life
CN105547725A (en) Control method for multipath test
CN107451063B (en) Script testing method and device
CN104636509B (en) The system and method for sequence problem is verified in Gate Level Simulation
CN108335720B (en) Method for compiling personalized data by using memory tester
CN115421965A (en) Consistency checking method and device, electronic equipment and storage medium
CN108226743B (en) Test vector generation method and device
CN112860585A (en) Test script assertion generation method and device
CN106339797A (en) Point inspection data processing method and device
CN105677559A (en) Detection method and device
CN102457301B (en) Method and device for displaying FH (frequency hopping) pattern

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Signal testing method, testing equipment, storage medium and device based on dual channels

Granted publication date: 20210504

Pledgee: Wuhan Optics Valley Small and Medium Duty Venture Capital Co.,Ltd.

Pledgor: WUHAN CPCTECH CO.,LTD.

Registration number: Y2024980013945

PE01 Entry into force of the registration of the contract for pledge of patent right