A kind of radio frequency signal phase-moving method, device and power feeding system
Technical field
The present invention relates to signal processing technology fields, and in particular to a kind of radio frequency signal phase-moving method, device and power feedback
Send system.
Background technique
There are two RF power fed-in mouths for the accelerating cavity of Chinese spallation neutron source radio frequency four polar field (RFQ) accelerator, need to use two
Road power feed.Biggish chamber pressure is obtained in order to improve combined coefficient of the radiofrequency signal in accelerating cavity, while also wanting the road Shi Mei
The reflection power of power feeding system is smaller, needs to adjust by enter chamber phase of the power feeding system to every road radiofrequency signal
It is whole.
The power feed of the accelerating cavity of rfq accelerator is mostly big by installing additional on the transmission line in klystron power source at present
Power power splitter realizes, specific implementation are as follows: radiofrequency signal is divided into two-way, is added in high power portion wherein all the way
High-power phase shifter is filled to realize phase shift.
But high power phase shifter is expensive, and it mainly adjusts phase shift, phase by Mechanical Moving adjuster
It is slow to move transformation period.
Summary of the invention
In order at least be partially solved existing technology there are the problem of, an embodiment of the present invention is intended to provide a kind of shiftings of radiofrequency signal
Phase method, device and power feeding system.
According in a first aspect, providing a kind of radio frequency signal phase-moving method in a kind of embodiment, comprising:
It receives to the first radiofrequency signal of phase shift and the travel(l)ing phase value of first radiofrequency signal;
Demodulate to obtain the I value and Q value in complex space to first radiofrequency signal;Wherein, A is the range value of the first radiofrequency signal,For the initial phase value of the first radiofrequency signal;
I ' value corresponding with the I value and Q value and Q ' value are generated according to the travel(l)ing phase value;Wherein,
The target radio frequency signal after phase shift is obtained according to the I ' value and Q ' value.
Preferably, described that I ' value corresponding with the I value and Q value and Q ' value, packet are generated according to the travel(l)ing phase value
It includes:
Spin matrix is assigned to using the travel(l)ing phase value as θ value;
The spin matrix are as follows:
The I value and Q value are multiplied with the spin matrix respectively, obtain I ' value and Q ' value.
It is preferably, described that the target radio frequency signal after phase shift is obtained according to the I ' value and Q ' value, comprising:
IF Modulation is carried out to the I ' value and Q ' value respectively and obtains digital medium-frequency signal;
Digital-to-analogue conversion is carried out to the digital medium-frequency signal and obtains analog if signal;
Simulation up-conversion is carried out to the analog if signal and obtains output signal;
Target radio frequency signal after obtaining phase shift in the output signal.
It is preferably, described that IF Modulation is carried out to the I ' value and Q ' value respectively, comprising:
Export the orthogonal digital medium-frequency signal cos (ω of two-wayIFAnd sin (ω t)IFt);
I ' value and Q ' value are modulated to intermediate frequency using the two-way orthogonal digital medium-frequency signal.
Preferably, I ' value and Q ' value are modulated to intermediate frequency by the digital medium-frequency signal orthogonal using the two-way, are obtained
Digital medium-frequency signal, comprising:
I ' value and Q ' value are modulated to intermediate frequency according to the following formula:
Wherein, ωIF=36MHz,The digital medium-frequency signal as needed.
It is preferably, described that output signal is obtained to analog if signal progress up-conversion, comprising:
Generate local oscillation signal VLO:
Digital medium-frequency signal is mixed as follows with the local oscillation signal:
Preferably, the target radio frequency signal after obtaining phase shift in the output signal, comprising:
The output signal is filtered in the following manner using bandpass filter, filters out low-frequency component, is left
Part be target radio frequency signal VRF2:
Preferably, the method also includes:
Target radio frequency signal is sent to and exports adding to radio frequency four polar field accelerator after discharge-tube amplifier amplifies
Fast chamber.
According to second aspect, a kind of radiofrequency signal phase shifting equipment, described device, comprising: connect are provided in a kind of embodiment
Receive module, demodulation module, phase shift processing module and echo signal generation module;Wherein,
The receiving module, for receiving the travel(l)ing phase of the first radiofrequency signal and first radiofrequency signal to phase shift
Value;
The demodulation module, for demodulating to obtain I value and Q value in complex space to first radiofrequency signal;Wherein,A is the range value of the first radiofrequency signal,For the initial phase of the first radiofrequency signal
Value;
The phase shift processing module, for generating I ' value corresponding with the I value and Q value according to the travel(l)ing phase value
And Q ' value;Wherein,
The echo signal generation module, for obtaining the target radio frequency signal after phase shift according to the I ' value and Q ' value.
According to the third aspect, a kind of power feeding system is provided in a kind of embodiment, including penetrating described in second aspect
Frequency signal phase shifting equipment.
Compared with prior art, the embodiment of the present invention at least has following advantages:
Radio frequency signal phase-moving method provided in an embodiment of the present invention, comprising: receive the first radiofrequency signal to phase shift and institute
State the travel(l)ing phase value of the first radiofrequency signal;Demodulate to obtain the I value and Q value in complex space to first radiofrequency signal;Wherein,A is the range value of the first radiofrequency signal,For the initial phase of the first radiofrequency signal
Value;I ' value corresponding with the I value and Q value and Q ' value are generated according to the travel(l)ing phase value;Wherein,The target radio frequency signal after phase shift is obtained according to the I ' value and Q ' value.
Based on technical solution provided by the embodiment of the present invention, at least have the advantages that
The first, the embodiment of the invention provides a kind of radio frequency signal phase-moving method, this method can pass through digital phase shift
Mode independently carries out phase shift to the road power feeding system Zhong Ge radiofrequency signal, and can realize 0~360 degree of phase shift at any angle;
The second, easy to operate, it is only necessary to input the signal and mobile phase angle to phase shift, every road radio frequency can be believed
Number phase be adjusted flexibly, compared to existing machinery phase shift system, the speed of phase shift processing is very fast, and improves entire
The treatment effeciency of the treatment process of radiofrequency signal;
Third carries out phase shift by digital form, and phase shifting accuracy is high.Only needing to adjust mobile phase angle can be to letter
Number phase value is adjusted.
4th, phase shift cost is saved, and mention in such a way that high-power phase shifter carries out mechanical phase shift compared to existing
The high stability of entire radio frequency system.
Detailed description of the invention
Fig. 1 is the flow chart of radio frequency signal phase-moving method of the present invention in one embodiment;
Fig. 2 is that sine wave indicates schematic diagram in complex space;
Fig. 3 is RFQ accelerating cavity radio signal transmission block diagram in radio frequency signal phase-moving method of the present invention;
Fig. 4 is NCO functional block diagram in radio frequency signal phase-moving method of the present invention;
Fig. 5 is the structural block diagram of radiofrequency signal phase shifting equipment of the present invention in one embodiment;
Fig. 6 is the structure of echo signal generation module in one embodiment in radiofrequency signal phase shifting equipment of the present invention
Block diagram;
Fig. 7 is the structural block diagram of radiofrequency signal phase shifting equipment of the present invention in the second embodiment.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.Wherein different embodiments
Middle similar component uses associated similar element numbers.In the following embodiments, many datail descriptions be in order to
The application is better understood.However, those skilled in the art can recognize like a dream, part of feature
It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen
Please it is relevant it is some operation there is no in the description show or describe, this is the core in order to avoid the application by mistake
More descriptions are flooded, and to those skilled in the art, these relevant operations, which are described in detail, not to be necessary, they
Relevant operation can be completely understood according to the general technology knowledge of description and this field in specification.
It is formed respectively in addition, feature described in this description, operation or feature can combine in any suitable way
Kind embodiment.Meanwhile each step in method description or movement can also can be aobvious and easy according to those skilled in the art institute
The mode carry out sequence exchange or adjustment seen.Therefore, the various sequences in the description and the appended drawings are intended merely to clearly describe a certain
A embodiment is not meant to be necessary sequence, and wherein some sequentially must comply with unless otherwise indicated.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object,
Without any sequence or art-recognized meanings.And " connection ", " connection " described in the application, unless otherwise instructed, include directly and
It is indirectly connected with (connection).
Embodiment one
The embodiment of the present invention one provides a kind of radio frequency signal phase-moving method, referring to Fig.1, which comprises
Step 101 is received to the first radiofrequency signal of phase shift and the travel(l)ing phase value of first radiofrequency signal;
Step 102 demodulates to obtain I value and Q value in complex space to first radiofrequency signal;Wherein,A is the range value of the first radiofrequency signal,For the initial phase of the first radiofrequency signal
Value;
As shown in Fig. 2, a sine waveIt can be with a complex vector in I, Q complex space come table
Show, wherein the amplitude A of sine wave is exactly the mould of complex vector, the phase of sine waveIt is exactly complex vector in I, Q complex space
Phase angle, projection of the complex vector on I axis is I component of the sine wave in complex space, and the projection on Q axis is sine wave multiple
Q component in space.Then finally:
Therefore, the first radiofrequency signal can demodulate to obtain the I value and Q value in complex space in the manner described above.
Step 103 generates I ' value corresponding with the I value and Q value and Q ' value according to the travel(l)ing phase value;Wherein,
Specifically, described generate I ' value corresponding with the I value and Q value and Q ' value, packet according to the travel(l)ing phase value
It includes:
Spin matrix is assigned to using the travel(l)ing phase value as θ value;
The spin matrix are as follows:
The I value and Q value are multiplied with the spin matrix respectively, obtain I ' value and Q ' value.
Step 104 obtains the target radio frequency signal after phase shift according to the I ' value and Q ' value.
It is described that the target radio frequency signal after phase shift is obtained according to the I ' value and Q ' value in the step, comprising:
IF Modulation is carried out to the I ' value and Q ' value respectively and obtains digital medium-frequency signal;
Digital-to-analogue conversion is carried out to the digital medium-frequency signal and obtains analog if signal;
Simulation up-conversion is carried out to the analog if signal and obtains output signal;
Target radio frequency signal after obtaining phase shift in the output signal.
Specifically, described carry out IF Modulation to the I ' value and Q ' value respectively, comprising:
Export the orthogonal digital medium-frequency signal cos (ω of two-wayIFAnd sin (ω t)IFt);
I ' value and Q ' value are modulated to intermediate frequency using the two-way orthogonal digital medium-frequency signal.
I ' value and Q ' value are modulated to intermediate frequency by the digital medium-frequency signal orthogonal using the two-way, obtain digital intermediate frequency
Signal, comprising:
I ' value and Q ' value are modulated to intermediate frequency according to the following formula:
Wherein, ωIF=36MHz,The digital medium-frequency signal as needed.
It is described that output signal is obtained to analog if signal progress up-conversion, comprising:
Generate local oscillation signal VLO:
Digital medium-frequency signal is mixed as follows with the local oscillation signal:
The target radio frequency signal after obtaining phase shift in the output signal, comprising:
The output signal is filtered in the following manner using bandpass filter, filters out low-frequency component, is left
Part be target radio frequency signal VRF2:
In a kind of optional embodiment of the invention, the method also includes:
Target radio frequency signal is sent to and exports adding to radio frequency four polar field accelerator after discharge-tube amplifier amplifies
Fast chamber.
Radio frequency signal phase-moving method provided in an embodiment of the present invention, comprising: receive the first radiofrequency signal to phase shift and institute
State the travel(l)ing phase value of the first radiofrequency signal;Demodulate to obtain the I value and Q value in complex space to first radiofrequency signal;Wherein,A is the range value of the first radiofrequency signal,For the initial phase of the first radiofrequency signal
Value;I ' value corresponding with the I value and Q value and Q ' value are generated according to the travel(l)ing phase value;Wherein,The target radio frequency signal after phase shift is obtained according to the I ' value and Q ' value.
Based on technical solution provided by the embodiment of the present invention, at least have the advantages that
The first, the embodiment of the invention provides a kind of radio frequency signal phase-moving method, this method can pass through digital phase shift
Mode independently carries out phase shift to the road power feeding system Zhong Ge radiofrequency signal, and can realize 0~360 degree of phase shift at any angle;
The second, easy to operate, it is only necessary to input the signal and mobile phase angle to phase shift, every road radio frequency can be believed
Number phase be adjusted flexibly, compared to existing machinery phase shift system, the speed of phase shift processing is very fast, and improves entire
The treatment effeciency of the treatment process of radiofrequency signal;
Third carries out phase shift by digital form, and phase shifting accuracy is high.Only needing to adjust mobile phase angle can be to letter
Number phase value is adjusted.
4th, phase shift cost is saved, and mention in such a way that high-power phase shifter carries out mechanical phase shift compared to existing
The high stability of entire radio frequency system.
Using example
Below by a specific example to radio frequency signal phase-moving method provided by the present invention, do described in detail below.
The accelerating cavity of rfq accelerator there are two RF power fed-in mouth, need to by power feeding system to two-way radiofrequency signal
The chamber phase that enters be adjusted, Fig. 3 be RFQ accelerating cavity radio signal transmission block diagram.
By taking Fig. 3 as an example, it is assumed that the 1st tunnel radiofrequency signal travel(l)ing phase θ, the 2nd tunnel not phase shift.Referring to Fig. 3, pass through work first
Control machine issues the phase value θ that need to be moved to FPGA, then a1=cos (θ) in first via spin matrix, b1=sin (θ).In FPGA
Data flow I and Q obtain I ' value and Q ' value after calculating respectively with first via spin matrix;Wherein,
Numerically-controlled oscillator (NCO) is orthogonal by accumulating operation output two-way using the clock signal (144MHz) of input
Digital medium-frequency signal cos (ωIFAnd sin (ω t)IFT), using the orthogonal digital medium-frequency signal of the two-way by I ' value and Q '
Value is modulated to intermediate frequency.
Specifically, I ' value and Q ' value are modulated to intermediate frequency according to the following formula by NCO:
Wherein, ωIF=36MHz,The digital medium-frequency signal as needed.
Then, analog intermediate frequency (IF) signal is exported through DAC chip.
Analog intermediate frequency (IF) signal obtains radio frequency (RF) signal of signal, simulates the mistake of up-conversion by simulation up-conversion
Journey is as follows:
Generate local oscillation signal VLO:
Digital medium-frequency signal is mixed to obtain output signal as follows with the local oscillation signal:
Specifically, the local oscillation signal 360MHz needed for being generated by local oscillator allocation component.Local oscillator allocation component it is defeated
Enter the output end of all the way directional coupler of the signal from 324MHz reference line.
Later, the output signal is filtered in the following manner using bandpass filter, filters out low-frequency component,
Remaining part is target radio frequency signal VRF2:
Due to VLOPhaseBe it is fixed, so radiofrequency signal VRF2Phase shift information is just contained, which gives
After the amplification of 4616 discharge-tube amplifiers, the radiofrequency signal of phase shift θ is exported to accelerating cavity.
Correspondingly, due to second road signal not phase shift, then travel(l)ing phase value is 0, by 0 be assigned to the second road spin matrix it
Afterwards, after being multiplied with the I and Q obtained after second road signal demodulation, output result is still original I and Q, then passes through the I of output and Q
Accelerating cavity is sent to after carrying out a series of processing by subsequent conditioning circuit.It certainly, will if second road signal also carries out phase shift
Its phase shifting angle angle value moved inputs the second road spin matrix, due to the processing mode of its processing mode and first via signal
Similar, which is not described herein again.
NCO in Fig. 3 is used for the number orthogonal by accumulating operation output two-way using the clock signal (144MHz) of input
Word intermediate-freuqncy signal cos (ωIFAnd sin (ω t)IFt)。
Phase accumulator in NCO module carries out frequency control word according to the reference clock signal (144MHz) of input tired
Add, a high position for interception accumulator output is addressed that the output valve of addressing is the signal of NCO output to ROM.
NCO functional block diagram often comes a clock pulses fclk (144MHz), 32 bit accumulators as shown in figure 4, according to Fig. 4
Frequency control word Δ θ is added by A1 with the accumulated phase data that phase register D1 is exported, and result after being added, which is sent to phase, posts
The input terminal of storage D1, phase register D1 are on the one hand anti-by new phase data generated after upper clock period effects
The input terminal of accumulator is fed to so that accumulator continues to be added with frequency control word Δ θ under the action of following clock, another party
Quantizer Q1 is sent this value as address is searched into face, and the input of degree of precision, larger bit wide is abandoned low ratio by quantizer Q1
After special position, the output of lower accuracy, smaller bit wide is obtained, is directly used as storing the address of sine and cosine data look-up table below,
Look-up table exports corresponding Wave data according to this address.
Embodiment two
Referring to Fig. 5, second embodiment of the present invention provides a kind of radiofrequency signal phase shifting equipment, described devices, comprising: receives mould
Block 51, demodulation module 52, phase shift processing module 53 and echo signal generation module 54;Wherein,
The receiving module 51, for receiving the mobile phase of the first radiofrequency signal and first radiofrequency signal to phase shift
Place value;
The demodulation module 52, for demodulating to obtain I value and Q value in complex space to first radiofrequency signal;Wherein,A is the range value of the first radiofrequency signal,For the initial phase of the first radiofrequency signal
Value;
The phase shift processing module 53, for generating I ' corresponding with the I value and Q value according to the travel(l)ing phase value
Value and Q ' value;Wherein,
The echo signal generation module 54, for obtaining the letter of the target radio frequency after phase shift according to the I ' value and Q ' value
Number.
Specifically, the phase shift processing module 53, corresponding with the I value and Q value for being generated according to following manner
I ' value and Q ' value:
Spin matrix is assigned to using the travel(l)ing phase value as θ value;
The spin matrix are as follows:
The I value and Q value are multiplied with the spin matrix respectively, obtain I ' value and Q ' value.
Specifically, referring to Fig. 6, the echo signal generation module 54, comprising: IF Modulation unit 5401, digital-to-analogue conversion
Unit 5402, upconverting unit 5403 and acquiring unit 5404;Wherein,
IF Modulation unit 5401 obtains digital intermediate frequency letter for carrying out IF Modulation to the I ' value and Q ' value respectively
Number;
The D/A conversion unit 5402 obtains analog intermediate frequency letter for carrying out digital-to-analogue conversion to the digital medium-frequency signal
Number;
The upconverting unit 5403 obtains output signal for carrying out simulation up-conversion to the analog if signal;
The acquiring unit 5404, for the target radio frequency signal after obtaining phase shift in the output signal.
Specifically, the IF Modulation unit 5401, for carrying out intermediate frequency to the I ' value and Q ' value in the following manner
Modulation:
Export the orthogonal digital medium-frequency signal cos (ω of two-wayIFAnd sin (ω t)IFt);
I ' value and Q ' value are modulated to intermediate frequency using the two-way orthogonal digital medium-frequency signal.
The IF Modulation unit 5401 obtains number for I ' value and Q ' value to be modulated to intermediate frequency in the following manner
Intermediate-freuqncy signal:
I ' value and Q ' value are modulated to intermediate frequency according to the following formula:
Wherein, ωIF=36MHz,The digital medium-frequency signal as needed.
The upconverting unit 5403 obtains analog if signal progress up-conversion in the following manner defeated
Signal out:
Generate local oscillation signal VLO:
Digital medium-frequency signal is mixed as follows with the local oscillation signal:
The acquiring unit 5404 is for the target radio frequency in the following manner after obtaining phase shift in the output signal
Signal:
The output signal is filtered in the following manner using bandpass filter, filters out low-frequency component, is left
Part be target radio frequency signal VRF2:
In a kind of optional embodiment of the invention, referring to Fig. 7, described device further include: amplification module 55 and transmission
Module 56;Wherein,
The amplification module 55, for amplifying processing to target radio frequency signal;
The sending module 56, for exporting amplified target radio frequency signal to the acceleration of radio frequency four polar field accelerator
Chamber.
Embodiment three
The embodiment of the present invention three provides a kind of power feeding system, fills including radiofrequency signal phase shift described in embodiment two
It sets.
It will be understood by those skilled in the art that all or part of function of various methods can pass through in above embodiment
The mode of hardware is realized, can also be realized by way of computer program.When function all or part of in above embodiment
When being realized by way of computer program, which be can be stored in a computer readable storage medium, and storage medium can
To include: read-only memory, random access memory, disk, CD, hard disk etc., it is above-mentioned to realize which is executed by computer
Function.For example, program is stored in the memory of equipment, when executing program in memory by processor, can be realized
State all or part of function.In addition, when function all or part of in above embodiment is realized by way of computer program
When, which also can store in storage mediums such as server, another computer, disk, CD, flash disk or mobile hard disks
In, through downloading or copying and saving into the memory of local device, or version updating is carried out to the system of local device, when logical
When crossing the program in processor execution memory, all or part of function in above embodiment can be realized.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit
The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple
It deduces, deform or replaces.