CN103176412B - A kind of signal generator with passage coupling function and method - Google Patents
A kind of signal generator with passage coupling function and method Download PDFInfo
- Publication number
- CN103176412B CN103176412B CN201110431624.5A CN201110431624A CN103176412B CN 103176412 B CN103176412 B CN 103176412B CN 201110431624 A CN201110431624 A CN 201110431624A CN 103176412 B CN103176412 B CN 103176412B
- Authority
- CN
- China
- Prior art keywords
- coupling
- passage
- parameter
- amplitude
- coupling parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a kind of signal generator with passage coupling function and method, wherein passage coupling functional units includes: couple state setup unit, coupling difference setup unit, reference channel coupling parameter setup unit, passage coupling processing unit, Verification unit and parameter configuration unit;Couple state setup unit is used for arranging passage couple state;Coupling difference setup unit is used for arranging interchannel coupling parameter difference;Reference channel coupling parameter setup unit is for arranging the coupling parameter of reference channel;Passage coupling processing unit is for the coupling parameter according to reference channel and the coupling parameter of coupling parameter mathematic interpolation non-referenced passage;Verification unit is for verifying coupling parameter and the coupling parameter difference of passage;Parameter configuration unit is for sending coupling parameter to FPGA.This signal generator by being divided into reference channel and non-referenced passage by coupling channel, and arranges two interchannel coupling parameter differences, it is achieved thereby that the coupling of interchannel difference.
Description
Technical field
The present invention relates to signal and field, a kind of signal generator with passage coupling function and method occur.
Background technology
Passage coupling conception: refer between two or more passages interrelated to shape together with certain relation or parameter
Becoming to closely cooperate and influence each other, after the change of one of them channel parameters, other passages are also with changing together.Generally
Passage coupling refers to two or more passage and interdepends in some parameter of the other side.General passage coupling is permissible
Including: frequency coupling, phase coupling estimation, amplitude coupling.Frequency couples, and refers between two or more passages with frequency
Rate is coupling parameter, and after revising a channel frequence, the frequency of other passages is also with changing together.Phase coupling estimation, refers to
Being with phase place as coupling parameter between two or more passages, after revising a channel phases, the phase place of other passages is also
Along with changing together.Amplitude couples, and refers between two or more passages with amplitude as coupling parameter, revises one
After channel amplitude, the amplitude of other passages is also with changing together.
Currently available technology, is configured with " frequency is equal " and the merit of " level is equal " as on AFG3000 double-channel signal source
Can, belong to a kind of particular form in frequency described above coupling, amplitude coupling, i.e. difference on the frequency, amplitude difference are the feelings of zero
Condition.When arranging " frequency is equal " or " amplitude is equal " function, frequency or the amplitude of two passages mutually replicate, it is achieved
The frequency of two passages or the essentially equal function of amplitude.
But, the passage coupling function realized in existing signal generator there is problems in that
1, only realize the relation of equality in frequency or amplitude, it is impossible to difference on the frequency or amplitude difference are set.Difference on the frequency can not be realized
Or the adjustable function of amplitude difference.The function of coupling is the simplest.Most of actually used demand cannot be met.
2, only realize the coupled relation of single-frequency, amplitude or phase place, but can not carry out several relation combine coupling,
Meet frequency, amplitude coupling the most simultaneously, or meet frequency, phase coupling estimation, or frequency, amplitude, phase place three couple simultaneously.
For needing to carry out the experiment demand that multiple relation combines coupling, need constantly to switch coupling type, both numb in operation
It is tired of and loses time again.
Summary of the invention
Present invention is primarily targeted at solution problems of the prior art, it is provided that a kind of letter with passage coupling function
Number generator and method.
It is an object of the invention to be achieved by following technical proposals:
A kind of signal generator with passage coupling function, including: processor, FPGA, hardware circuit, data storage,
Input equipment and display;It is characterized in that: in described processor, include passage coupling functional units, in order to arrange also
Realize interchannel coupling function;This passage coupling functional units includes: couple state setup unit, coupling difference set single
Unit, reference channel coupling parameter setup unit, passage coupling processing unit, Verification unit and parameter configuration unit;
Described couple state setup unit, is used for arranging passage couple state;Described passage couple state at least includes coupling merit
The on off state of energy and reference channel are arranged;
Described coupling difference setup unit, for arranging the coupling parameter difference between coupling channel;This coupling parameter difference is non-
The coupling parameter of reference channel is relative to the difference of the coupling parameter of reference channel;
Described reference channel coupling parameter setup unit, for arranging the coupling parameter of described reference channel;
Described passage coupling processing unit, the function for Coordination Treatment unit controls, and according to described reference channel
Coupling parameter and the coupling parameter of coupling parameter mathematic interpolation non-referenced passage;
Described Verification unit, is used for verifying that whether the coupling parameter of described passage and coupling parameter difference are previously given
Within the scope of;And
Described parameter configuration unit, for sending the coupling parameter of described passage to data storage address corresponding for FPGA.
Described couple state setup unit, including: coupled switch control module, coupled switch judge module and reference channel set
Put module;
Described coupled switch control module comprises coupling master switch, frequency coupled switch, amplitude coupled switch, phase coupling estimation are opened
Close;This coupling master switch in order to control frequency, amplitude, the coupling of three kinds of parameters of phase place is fully open or closes;This frequency couples
Switch opens or closes in order to control frequency coupling;This amplitude coupled switch opens or closes in order to span of control limit of control coupling;This phase
Position coupled switch opens or closes in order to control phase coupling estimation;Wherein, described frequency coupled switch, amplitude coupled switch, phase
Position coupled switch between separate;
Described coupled switch judge module, is used for determining whether that coupled switch is opened;
Described reference channel arranges module, is used for when coupled switch judge module judges to open without coupled switch, selection reference
Passage.
Described reference channel coupling parameter setup unit, including: reference channel judge module, coupled switch judge module and base
Quasi-passage coupling parameter arranges module;
Described reference channel judge module, is used for judging passage on the basis of set passage is whether;
Described coupled switch judge module, for judging whether the coupled switch of set coupling parameter is opened;
Described reference channel coupling parameter arranges module, for judging the coupling of set coupling parameter when coupled switch judge module
Combination switch is opened, and on the basis of the set passage of reference channel judge module judgement during passage, arranges the coupling of this reference channel
Parameter;Otherwise, return arranges error message.
Described Verification unit, including: Verification range module, Verification module, alarm module;
Described Verification range module, for storing each coupling parameter and the previously given value range of coupling parameter difference;
Described Verification module, for verify each coupling parameter described and coupling parameter difference whether corresponding in advance to
Within the scope of Ding;
Described alarm module, exceeds the previously given of correspondence for authenticating to coupling parameter or coupling parameter difference
During scope, then this coupling parameter or coupling parameter difference are set as the limiting value of corresponding scope, and alarm.
Described Verification unit also includes frequency-amplitude and adjusts authentication module;This frequency-amplitude adjusts authentication module, uses
In time all opening when frequency coupled switch and amplitude coupled switch, adjust amplitude coupling parameter according to the frequency coupling parameter of passage
Restriction value range, and according to the restriction value range after this adjustment verify respective amplitude coupling parameter whether within the scope of.
It is additionally provided with amplitude units converting unit in described passage coupling functional units;This amplitude units converting unit includes:
Identified in units module, amplitude units transfer function storehouse and Conversion of measurement unit computing module;
Described identified in units module, for identifying that reference channel, the range parameter of non-referenced passage and amplitude coupling parameter are poor
The set amplitude units of value;
Described amplitude units transfer function storehouse, for storing the transfer function between each amplitude units;
Described Conversion of measurement unit computing module, for needing to call corresponding amplitude units transfer function according to Conversion of measurement unit, carries out phase
Conversion of measurement unit is answered to calculate.
Described parameter configuration unit, including: channel parameters configuration module and output synchronization module;
Described channel parameters configuration module, for depositing the coupling parameter transmission of each passage to the data that FPGA is corresponding respectively
Put in address;
Described output synchronization module, for sending channel synchronous signal to FPGA, so that the output waveform signals of two passages is same
Step.
A kind of signal generating method with passage coupling function, including: user inputs control instruction by input equipment;Place
Reason device is according to the configuration parameter of control instruction collocation channel signal;FPGA generates output waveform according to the configuration parameter of channel signal
Data, and by hardware circuit, this output waveform data is adjusted, ultimately form the output signal needed for user;Its feature
It is: at described processor according in the configuration parameter step of control instruction collocation channel signal, be provided with passage coupling function step
Suddenly;This passage coupling function step includes:
Arranging passage couple state, this passage couple state at least includes that the on off state of coupling function and reference channel are arranged;
Coupling parameter difference between coupling channel is set;This coupling parameter difference is that the coupling parameter of non-referenced passage is relative to base
The difference of the coupling parameter of quasi-passage;
The coupling parameter of described reference channel is set;
Coupling parameter according to described reference channel and the coupling parameter of coupling parameter mathematic interpolation non-referenced passage;
Verify that the coupling parameter of described passage and coupling parameter difference are whether within the scope of previously given;
The coupling parameter of described passage is sent to data storage address corresponding for FPGA.
In the described step that passage couple state is set, including:
Determine whether that coupled switch is opened;
When coupled switch judge module judges to open without coupled switch, selection reference passage;
After selecting reference channel, coupled switch control module is set;Described coupled switch control module comprise coupling master switch,
Frequency coupled switch, amplitude coupled switch, phase coupling estimation switch;This coupling master switch is in order to control frequency, amplitude, phase place
Three kinds of parameters couple fully open or close;This frequency coupled switch opens or closes in order to control frequency coupling;This amplitude coupling
Combination switch opens or closes in order to span of control limit of control coupling;This phase coupling estimation switch opens or closes in order to control phase coupling estimation;Institute
State between frequency coupled switch, amplitude coupled switch, phase coupling estimation switch separate.
In the step of the described coupling parameter that reference channel is set, including:
Judge passage on the basis of set passage is whether;
Judge whether the coupled switch of set coupling parameter is opened;
When coupled switch judge module judges that the coupled switch of set coupling parameter is opened, and reference channel judge module judges
On the basis of set passage during passage, the coupling parameter of this reference channel is set;Otherwise, return arranges error message.
In the coupling parameter of described checking passage and the step of coupling parameter difference, including:
Verify each coupling parameter and coupling parameter difference whether corresponding previously given within the scope of;Described previously given
Scope be stored in Verification range module;
When authenticating to coupling parameter or coupling parameter difference beyond corresponding previously given scope, then by this coupling parameter
Or coupling parameter difference is set as the limiting value of corresponding scope, and alarm.
In the coupling parameter of described checking passage and the step of coupling parameter difference, also include:
When frequency coupled switch and amplitude coupled switch are all opened, adjust amplitude coupling ginseng according to the frequency coupling parameter of passage
The restriction value range of number, and according to the restriction value range after this adjustment verify respective amplitude coupling parameter whether within the scope of.
It is additionally provided with amplitude units switch process in described passage coupling function step;This amplitude units switch process, including:
Identify amplitude units set by reference channel, the range parameter of non-referenced passage and amplitude coupling parameter difference;
Need to call corresponding amplitude units transfer function according to Conversion of measurement unit, carry out corresponding Conversion of measurement unit calculating;Described amplitude list
Position transfer function is stored in amplitude units transfer function storehouse.
The described coupling parameter by passage sends to the step of data storage address corresponding for FPGA, including:
Respectively the coupling parameter of each passage is sent to data storage address corresponding for FPGA;
Channel synchronous signal is sent, so that the output waveform signals of two passages synchronizes to FPGA.
By the embodiment of the present invention, coupling channel is divided into reference channel and non-referenced passage, and two interchannel couplings are set
Parameter difference, it is achieved thereby that the coupling of interchannel difference.
By arranging separate parameters coupled switch in couple state setup unit so that user can arbitrarily select
Select one of them, two or fully open coupling.
Adjust authentication module by being provided with frequency-amplitude in Verification unit, tap between while frequency verifying
Line amplitude is verified, has ensured that system works in normal operation.
The conversion between different amplitude units is carried out by arranging amplitude units converting unit.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, is not intended that
Limitation of the invention.In the accompanying drawings:
Fig. 1 is general signal generator overall system structure figure;
Fig. 2 is the structure chart of passage coupling functional units;
Fig. 3 is the flow chart of passage coupling function method.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, to this
Invention is described in further details.Here, the exemplary embodiment of the present invention and explanation thereof are used for explaining the present invention, but also
Not as a limitation of the invention.
Fig. 1 is general signal generator overall system structure figure.As described in scheme, signal generator generally comprises: processor,
FPGA, hardware circuit, data storage, input equipment, display.
Described processor is the core component of signal generator, is responsible for the various state of processing system, processes instruction input, interface
Display, the storage of data and reading, the configuration of data and regulation, the realization of the various function of system, the control of various signals and
System properly functioning etc..
Described FPGA is the parts between processor and hardware circuit, and main its DDS signal generator of use is come
Generation Wave data exports, and also utilizes its decoding and extension to carry out communication and control with hardware circuit.
Described hardware circuit is the support member of whole system, including power unit, DAC portion, signal condition part, connects
Oral area divides.Power unit provides power supply for whole system.Wave data is converted into analog signal by DAC portion.Signal condition
This analog signal is amplified or decays by part, makes signal reach user's setting value.Interface section provides the interface of hardware.
Described data storage runs, for arrange state parameter, Wave data and the system that store system, the data needed.
Described input equipment, in order to input the control instruction of user, is used for realizing switching different waveform, amendment state, setting
Parameter, control equipment etc..
Described display shows in order to the state of display system, information, parameter.
Wherein, described processor includes passage coupling functional units, in order to arrange and to realize interchannel coupling function.
Fig. 2 is the structure chart of passage coupling functional units.As it can be seen, this passage coupling functional units includes: couple state sets
Unit, coupling difference setup unit, reference channel coupling parameter setup unit, passage coupling processing unit, Verification list
Unit and parameter configuration unit.
Described couple state setup unit, is used for arranging passage couple state.Described passage couple state at least includes coupling merit
The on off state of energy and reference channel are arranged.In the present invention, coupling channel is divided into reference channel and non-referenced passage.?
Under couple state, the only coupling parameter of reference channel can change, and the coupling parameter of non-referenced passage can only lead to along with benchmark
Road changes and changes.The coupling parameter of two passages keeps certain difference, thus realizes the coupled relation with certain difference.
Described coupling difference setup unit, for arranging the coupling parameter difference between coupling channel.The present invention specifically support based on
Signal frequency, amplitude, the coupled relation of phase place, therefore this coupling parameter difference the most specifically includes frequency-splitting, amplitude difference
Value, phase difference value.And in the present invention, this coupling parameter difference is defined as the coupling parameter of non-referenced passage and leads to relative to benchmark
The difference of the coupling parameter in road.Specifically, based on following operational formula relation:
Frequency couples: Ft=Fb+Fdev
Phase coupling estimation: Pt=Pb+Pdev
Amplitude couples: At=Ab+Adev
Wherein, Ft is non-reference channel frequency, and Fb is reference channel frequency, and Fdev is that frequency couples difference.Pt is non-base
Quasi-channel phases, Pb is reference channel phase place, and Pdev is phase coupling estimation difference.At is non-reference channel amplitude, and Ab is base
Quasi-channel amplitude, Adev is that amplitude couples difference.
It should be pointed out that, above-mentioned given reference channel coupling parameter, non-referenced passage coupling parameter, coupling parameter difference three
Operation relation employed in operation relation between person, only the present embodiment.Otherwise if coupling parameter difference is defined as
The coupling parameter of reference channel relative to the difference of the coupling parameter of non-referenced passage, also without can not, also should be the guarantor of the present invention
Within the scope of protecting.
Described reference channel coupling parameter setup unit, for arranging the coupling parameter of described reference channel.As it was previously stated, this
In invention, coupling parameter specifically can include frequency parameter, range parameter, phase parameter.
Described passage coupling processing unit, the function for Coordination Treatment unit controls, and according to described reference channel
Coupling parameter and the coupling parameter of coupling parameter mathematic interpolation non-referenced passage.
Described Verification unit, for verifying that the coupling parameter of described passage (includes reference channel and the coupling of non-referenced passage
Close parameter) and coupling parameter difference whether within the scope of previously given.Due to, passage coupling parameter and coupling parameter are poor
Value all should one reasonably within the scope of, go beyond the scope if super, can make parameter value that mistake occurs, system can not be normal
Work.Therefore, in Verification unit, store each coupling parameter and the zone of reasonableness of coupling parameter difference the most in advance,
Judge with the reasonability to its numerical value.According to universal experience, frequency differential ranges is ± 160MHz, phase difference value scope
For ± 360 °, Magnitude Difference scope is ± 20Vpp.And the concrete scope of frequency, amplitude and phase place is general with each instrument
Body is relevant.
Described parameter configuration unit, for the coupling parameter of described passage is sent to data storage address corresponding for FPGA,
To carry out follow-up signal generation process.
The signal generator with passage coupling function designed by the invention described above, by being divided into reference channel by coupling channel
With non-referenced passage, and two interchannel coupling parameter differences are set.Under couple state, the only coupling ginseng of reference channel
Number can change, and the coupling parameter of non-referenced passage can only change along with reference channel and change, it is achieved thereby that interchannel
Difference couples.By difference passage couplings such as this signal generator are possible not only to, it is also possible to poor by constantly amendment coupling parameter
Value produces the waveform output that corresponding coupling parameter difference is continually changing, and enriches the passage coupled mode of signal generator.
Further, the present invention not only provides the passage coupled relation of single-frequency in prior art, amplitude or phase place.Can also carry
For the combination coupled modes about these several coupling parameters, i.e. user can use any two kinds of coupling parameters to carry out passage simultaneously
Coupling, or use all three coupling parameter to carry out passage coupling simultaneously.
In order to realize above-mentioned functions, described couple state setup unit, including: coupled switch control module, coupled switch are sentenced
Disconnected module and reference channel arrange module.
Described coupled switch control module comprises coupling master switch, frequency coupled switch, amplitude coupled switch, phase coupling estimation are opened
Close.This coupling master switch in order to control frequency, amplitude, the coupling of three kinds of parameters of phase place is fully open or closes;This frequency couples
Switch opens or closes in order to control frequency coupling;This amplitude coupled switch opens or closes in order to span of control limit of control coupling;This phase
Position coupled switch opens or closes in order to control phase coupling estimation.Wherein, described frequency coupled switch, amplitude coupled switch, phase
Position coupled switch between separate.It is to say, user can by operate this frequency coupled switch, amplitude coupled switch,
Phase coupling estimation switch arbitrarily select one of them, two or fully open coupling.
It should be pointed out that, that opening coupling needs to meet passage coupling condition, if be unsatisfactory for, cannot open coupling function.This leads to
The condition of road coupling is: two passages are during basic wave (sine, square wave, sawtooth waveforms, any ripple and User) pattern effective,
But coupling function is invalid when arbitrarily ripple and User are " DC ".
Described coupled switch judge module, is used for determining whether that coupled switch is opened.
Described reference channel arranges module, is used for when coupled switch judge module judges to open without coupled switch, selection reference
Passage.If coupling is opened still can revise coupling reference channel setting, after the most repeatedly switching a few secondary coupling reference channel,
Two passage coupling parameters will all be modified, the most unreasonable.Therefore, user is only allowed when coupling is closed, choosing
Selecting a passage as reference channel, coupling then can not be changed coupling reference channel and arrange after opening.
Described reference channel coupling parameter setup unit, including: reference channel judge module, coupled switch judge module and base
Quasi-passage coupling parameter arranges module.
Described reference channel judge module, is used for judging passage on the basis of set passage is whether.
Described coupled switch judge module, for judging whether the coupled switch of set coupling parameter is opened.
Described reference channel coupling parameter arranges module, for judging the coupling of set coupling parameter when coupled switch judge module
Combination switch is opened, and on the basis of the set passage of reference channel judge module judgement during passage, arranges the coupling of this reference channel
Parameter;Otherwise, return arranges error message.
Described Verification unit, including: Verification range module, Verification module, alarm module.
Described Verification range module, for storing each coupling parameter and the previously given value range of coupling parameter difference.
Described Verification module, for verify each coupling parameter described and coupling parameter difference whether corresponding in advance to
Within the scope of Ding.
Described alarm module, exceeds the previously given of correspondence for authenticating to coupling parameter or coupling parameter difference
During scope, then this coupling parameter or coupling parameter difference are set as the limiting value of corresponding scope, and alarm.
Further, since the maximum output swing of signal generator can be affected by output frequency.Such as, if output frequency
It is 20Vpp less than maximum output swing during 25MHz, is 10Vpp less than maximum output swing during 100MHz, more than 100MHz
Time maximum output swing be 5Vpp.Therefore if user opens frequency coupling and amplitude coupling simultaneously, amendment frequency coupling is poor
When value or amendment reference channel frequency parameter, it is required for the range parameter of each passage is verified, in order to amplitude coupling is correct.
Specifically, described Verification unit also includes frequency-amplitude and adjusts authentication module.This frequency-amplitude adjusts and tests
Card module, for when frequency coupled switch and amplitude coupled switch are all opened, (includes according to the frequency coupling parameter of passage
The frequency coupling parameter of reference channel and non-referenced passage) adjust the restriction value range of amplitude coupling parameter, and according to this adjustment
After restriction value range checking respective amplitude coupling parameter whether within the scope of.Equally, if checking amplitude coupling parameter surpasses
Going out the restriction value range after adjusting, this amplitude coupling parameter also can be set as the limiting value of corresponding scope by alarm module,
And alarm.
Signal generator often supports three kinds of units for the description of signal amplitude value: Vpp, Vrms, dBm.When user is not
Same application often uses different amplitude units.When coupling function is opened, if between two passages of user setup
Amplitude units be different amplitude units, directly carry out coupled operational and mistake can be caused to produce.Therefore, the present invention is for understanding
Certainly this problem, is also provided with amplitude units converting unit in this passage coupling functional units.This amplitude units converting unit,
Including: identified in units module, amplitude units transfer function storehouse and Conversion of measurement unit computing module.
Described identified in units module, for identifying that reference channel, the range parameter of non-referenced passage and amplitude coupling parameter are poor
The set amplitude units of value.
Described amplitude units transfer function storehouse, for storing the transfer function between each amplitude units.Should include among these:
Vpp-> Vrms, Vrms-> Vpp, Vpp-> dBm, dBm-> Vpp, the Vrms-several transfer function of > dBm, dBm-> Vrms.Turn
The realization of exchange the letters number, according to current output waveform and present load impedance (user setup), is carried out according to normalized form
Conversion.
Described Conversion of measurement unit computing module, for needing to call corresponding amplitude units transfer function according to Conversion of measurement unit, carries out phase
Conversion of measurement unit is answered to calculate.
Such as, passage 1 amplitude is 1Vpp, and passage 2 amplitude units is Vrms, and reference channel is set to passage 1, amplitude coupling
Conjunction difference is+1Vpp.The amplitude of passage 2 should be: 1Vpp+1Vpp=2Vpp, then calls Vpp-> Vrms modulus of conversion
Block, is converted into the numerical value under Vrms unit by 2Vpp, is assigned to passage 2 range parameter.
Described parameter configuration unit, including: channel parameters configuration module and output synchronization module.
Described channel parameters configuration module, for depositing the coupling parameter transmission of each passage to the data that FPGA is corresponding respectively
Put in address.
Described output synchronization module, for sending channel synchronous signal to FPGA, so that the output waveform signals of two passages is same
Step.
It addition, this passage coupling functional units is additionally provided with data access processing unit.This data access processing unit, is used for
Various states and the parameter of passage coupling functional units are sent and store to data storage.So, start shooting in next time
Passage couple state parameter before rear system still can directly use is arranged, and without re-starting setting, reduces user
Repeat.
For its signal generating method of general signal generator, including: user inputs control instruction by input equipment;Process
Device is according to the configuration parameter of control instruction collocation channel signal;FPGA generates output wave figurate number according to the configuration parameter of channel signal
According to, and by hardware circuit, this output waveform data is adjusted, ultimately form the output signal needed for user.
Wherein, at processor according in the configuration parameter step of control instruction collocation channel signal, it is provided with passage coupling function step
Suddenly.As it is shown on figure 3, this passage coupling function step specifically includes:
Arranging passage couple state, this passage couple state at least includes that the on off state of coupling function and reference channel are arranged.
Coupling parameter difference between coupling channel is set;This coupling parameter difference specifically include frequency-splitting, Magnitude Difference,
Phase difference value.
The coupling parameter of described reference channel is set;This coupling parameter includes frequency parameter, range parameter, phase parameter.
Coupling parameter according to described reference channel and the coupling parameter of coupling parameter mathematic interpolation non-referenced passage.
Verify coupling parameter (including reference channel and the coupling parameter of non-referenced passage) and the coupling parameter difference of described passage
Whether within the scope of previously given.According to universal experience, the scope of described coupling parameter difference: frequency differential ranges is
± 160MHz, phase difference value scope is ± 360 °, and Magnitude Difference scope is ± 20Vpp.And the tool of frequency, amplitude and phase place
Body scope is the most relevant with each instrument itself.
The coupling parameter of described passage is sent to data storage address corresponding for FPGA.
In the described step that passage couple state is set, including:
Determine whether that coupled switch is opened.
When coupled switch judge module judges to open without coupled switch, selection reference passage.
After selecting reference channel, coupled switch control module is set;Described coupled switch control module comprise coupling master switch,
Frequency coupled switch, amplitude coupled switch, phase coupling estimation switch.This coupling master switch is in order to control frequency, amplitude, phase place
Three kinds of parameters couple fully open or close;This frequency coupled switch opens or closes in order to control frequency coupling;This amplitude coupling
Combination switch opens or closes in order to span of control limit of control coupling;This phase coupling estimation switch opens or closes in order to control phase coupling estimation.Its
In, separate between described frequency coupled switch, amplitude coupled switch, phase coupling estimation switch.
In the step of the described coupling parameter that reference channel is set, including:
Judge passage on the basis of set passage is whether.
Judge whether the coupled switch of set coupling parameter is opened.
When coupled switch judge module judges that the coupled switch of set coupling parameter is opened, and reference channel judge module judges
On the basis of set passage during passage, the coupling parameter of this reference channel is set;Otherwise, return arranges error message.
In the coupling parameter of described checking passage and the step of coupling parameter difference, including:
Verify each coupling parameter and coupling parameter difference whether corresponding previously given within the scope of;Described previously given
Scope be stored in Verification range module;
When authenticating to coupling parameter or coupling parameter difference beyond corresponding previously given scope, then by this coupling parameter
Or coupling parameter difference is set as the limiting value of corresponding scope, and alarm.
Further, since the maximum output swing of signal generator can be affected by output frequency.If therefore user beats simultaneously
When opening frequency coupling and amplitude coupling, when amendment frequency coupling difference or amendment reference channel frequency parameter, it is required for each logical
The range parameter in road is verified, in order to amplitude coupling is correct.
Therefore, in the coupling parameter of this checking passage and the step of coupling parameter difference, also include: when frequency coupled switch
When all opening with amplitude coupled switch, adjust the restriction value range of amplitude coupling parameter according to the frequency coupling parameter of passage, and
According to the restriction value range after this adjustment verify respective amplitude coupling parameter whether within the scope of.Equally, if checking amplitude
Coupling parameter is beyond the restriction value range after adjusting, and this amplitude coupling parameter also can be set as corresponding scope by alarm module
Limiting value, and alarm.
It addition, be additionally provided with amplitude units switch process in this passage coupling function step.This amplitude units switch process, bag
Include:
Identify amplitude units set by reference channel, the range parameter of non-referenced passage and amplitude coupling parameter difference.
Need to call corresponding amplitude units transfer function according to Conversion of measurement unit, carry out corresponding Conversion of measurement unit calculating;Described amplitude list
Position transfer function is stored in amplitude units transfer function storehouse, including: Vpp-> Vrms, Vrms-> Vpp, Vpp-> dBm,
DBm-> Vpp, the Vrms-several transfer function of > dBm, dBm-> Vrms.The realization of transfer function be according to current output waveform and
Present load impedance (user setup), the conversion carried out according to normalized form.
The described coupling parameter by passage sends to the step of data storage address corresponding for FPGA, including:
Respectively the coupling parameter of each passage is sent to data storage address corresponding for FPGA;
Channel synchronous signal is sent, so that the output waveform signals of two passages synchronizes to FPGA.
In sum, the invention provides a kind of signal generator with passage coupling function and method, this signal generator
On the one hand by coupling channel being divided into reference channel and non-referenced passage, and two interchannel coupling parameter differences are set, from
And achieve the coupling of interchannel difference;On the other hand by arranging each separate ginseng in couple state setup unit
Number coupled switches so that user can arbitrarily select one of them, two or fully open coupling.Meanwhile, send out for signal
The factor that the maximum output swing of raw device can be affected by output frequency, is provided with frequency-amplitude in Verification unit
Adjust authentication module, indirectly to carry out amplitude checking while frequency verifying, ensured that system is operated in normal operating conditions
Under.It addition, the situation using different amplitude units in different application for user, the present invention is also provided with amplitude units
Converting unit carries out the conversion between different amplitude units.Those skilled in the art are done under this design philosophy any not to be had
Creative transformation, is regarded as within protection scope of the present invention.
Claims (14)
1. there is a signal generator for passage coupling function, including: processor, FPGA, hardware circuit, data are deposited
Reservoir, input equipment and display;It is characterized in that: in described processor, include passage coupling functional units, in order to
Arrange and realize interchannel coupling function;This passage coupling functional units includes: couple state setup unit, coupling difference
Setup unit, reference channel coupling parameter setup unit, passage coupling processing unit, Verification unit and parameter configuration list
Unit;
Described couple state setup unit, is used for arranging passage couple state;Described passage couple state at least includes coupling merit
The on off state of energy and reference channel are arranged;
Described coupling difference setup unit, for arranging the coupling parameter difference between coupling channel;This coupling parameter difference is non-
The coupling parameter of reference channel is relative to the difference of the coupling parameter of reference channel;
Described reference channel coupling parameter setup unit, for arranging the coupling parameter of described reference channel;
Described passage coupling processing unit, the function for Coordination Treatment unit controls, and according to described reference channel
Coupling parameter and the coupling parameter of coupling parameter mathematic interpolation non-referenced passage;
Described Verification unit, for verifying described reference channel and the coupling parameter of described non-referenced passage and coupling parameter
Whether difference is within the scope of previously given;And
Described parameter configuration unit, for sending the coupling parameter of described passage to data storage address corresponding for FPGA.
There is the signal generator of passage coupling function the most as claimed in claim 1, it is characterised in that: described coupling shape
State setup unit, including: coupled switch control module, coupled switch judge module and reference channel arrange module;
Described coupled switch control module comprises coupling master switch, frequency coupled switch, amplitude coupled switch, phase coupling estimation are opened
Close;This coupling master switch in order to control frequency, amplitude, the coupling of three kinds of parameters of phase place is fully open or closes;This frequency couples
Switch opens or closes in order to control frequency coupling;This amplitude coupled switch opens or closes in order to span of control limit of control coupling;This phase
Position coupled switch opens or closes in order to control phase coupling estimation;Wherein, described frequency coupled switch, amplitude coupled switch, phase
Position coupled switch between separate;
Described coupled switch judge module, is used for determining whether that coupled switch is opened;
Described reference channel arranges module, for judging without coupling master switch or frequency coupled switch when coupled switch judge module
Or amplitude coupled switch or phase coupling estimation switch when opening, selection reference passage.
There is the signal generator of passage coupling function the most as claimed in claim 1, it is characterised in that: described benchmark leads to
Road coupling parameter setup unit, including: reference channel judge module, coupled switch judge module and reference channel coupling parameter
Module is set;
Described reference channel judge module, is used for judging passage on the basis of set passage is whether;
Described coupled switch judge module, for judging whether the coupled switch of set coupling parameter is opened;
Described reference channel coupling parameter arranges module, for judging the coupling of set coupling parameter when coupled switch judge module
Combination switch is opened, and on the basis of the set passage of reference channel judge module judgement during passage, arranges the coupling of this reference channel
Parameter;Otherwise, return arranges error message.
There is the signal generator of passage coupling function the most as claimed in claim 1, it is characterised in that: described parameter is tested
Card unit, including: Verification range module, Verification module, alarm module;
Described Verification range module, for storing each coupling parameter and the previously given value range of coupling parameter difference;
Described Verification module, for verify each coupling parameter described and coupling parameter difference whether corresponding in advance to
Within the scope of Ding;
Described alarm module, exceeds the previously given of correspondence for authenticating to coupling parameter or coupling parameter difference
During scope, then this coupling parameter or coupling parameter difference are set as the limiting value of corresponding scope, and alarm.
There is the signal generator of passage coupling function the most as claimed in claim 4, it is characterised in that: described parameter is tested
Card unit also includes frequency-amplitude and adjusts authentication module;This frequency-amplitude adjusts authentication module, for opening when frequency coupling
When pass and amplitude coupled switch are all opened, adjust the restriction value range of amplitude coupling parameter according to the frequency coupling parameter of passage,
And according to the restriction value range after this adjustment verify respective amplitude coupling parameter whether within the scope of.
There is the signal generator of passage coupling function the most as claimed in claim 1, it is characterised in that: at described passage
Coupling functional units is additionally provided with amplitude units converting unit;This amplitude units converting unit includes: identified in units module,
Amplitude units transfer function storehouse and Conversion of measurement unit computing module;
Described identified in units module, for identifying that reference channel, the range parameter of non-referenced passage and amplitude coupling parameter are poor
The set amplitude units of value;
Described amplitude units transfer function storehouse, for storing the transfer function between each amplitude units;
Described Conversion of measurement unit computing module, for needing to call corresponding amplitude units transfer function according to Conversion of measurement unit, carries out phase
Conversion of measurement unit is answered to calculate.
There is the signal generator of passage coupling function the most as claimed in claim 1, it is characterised in that: described parameter is joined
Put unit, including: channel parameters configuration module and output synchronization module;
Described channel parameters configuration module, for depositing the coupling parameter transmission of each passage to the data that FPGA is corresponding respectively
Put in address;
Described output synchronization module, for sending channel synchronous signal to FPGA, so that the output waveform signals of two passages is same
Step.
8. there is a signal generating method for passage coupling function, including: user inputs control instruction by input equipment;
Processor is according to the configuration parameter of control instruction collocation channel signal;FPGA generates output wave according to the configuration parameter of channel signal
Graphic data, and by hardware circuit, this output waveform data is adjusted, ultimately form the output signal needed for user;It is special
Levy and be: at described processor according in the configuration parameter step of control instruction collocation channel signal, be provided with passage coupling function
Step;This passage coupling function step includes:
Arranging passage couple state, this passage couple state at least includes that the on off state of coupling function and reference channel are arranged;
Coupling parameter difference between coupling channel is set;This coupling parameter difference is that the coupling parameter of non-referenced passage is relative to base
The difference of the coupling parameter of quasi-passage;
The coupling parameter of described reference channel is set;
Coupling parameter according to described reference channel and the coupling parameter of coupling parameter mathematic interpolation non-referenced passage;
Verify that whether described reference channel and the coupling parameter of described non-referenced passage and coupling parameter difference are previously given
Within the scope of;
The coupling parameter of described passage is sent to data storage address corresponding for FPGA.
There is the signal generating method of passage coupling function the most as claimed in claim 8, it is characterised in that: described setting
In the step of passage couple state, including:
Determine whether that coupled switch is opened;
When coupled switch judge module judges without coupling master switch or frequency coupled switch or amplitude coupled switch or phase coupling estimation
When switch is opened, selection reference passage;
After selecting reference channel, coupled switch control module is set;Described coupled switch control module comprise coupling master switch,
Frequency coupled switch, amplitude coupled switch, phase coupling estimation switch;This coupling master switch is in order to control frequency, amplitude, phase place
Three kinds of parameters couple fully open or close;This frequency coupled switch opens or closes in order to control frequency coupling;This amplitude coupling
Combination switch opens or closes in order to span of control limit of control coupling;This phase coupling estimation switch opens or closes in order to control phase coupling estimation;Institute
State between frequency coupled switch, amplitude coupled switch, phase coupling estimation switch separate.
There is the signal generating method of passage coupling function the most as claimed in claim 8, it is characterised in that: described setting
In the step of the coupling parameter of reference channel, including:
Judge passage on the basis of set passage is whether;
Judge whether the coupled switch of set coupling parameter is opened;
When coupled switch judge module judges that the coupled switch of set coupling parameter is opened, and reference channel judge module judges
On the basis of set passage during passage, the coupling parameter of this reference channel is set;Otherwise, return arranges error message.
11. signal generating methods as claimed in claim 8 with passage coupling function, it is characterised in that: described checking
In the coupling parameter of passage and the step of coupling parameter difference, including:
Verify each coupling parameter and coupling parameter difference whether corresponding previously given within the scope of;Described previously given
Scope be stored in Verification range module;
When authenticating to coupling parameter or coupling parameter difference beyond corresponding previously given scope, then by this coupling parameter
Or coupling parameter difference is set as the limiting value of corresponding scope, and alarm.
12. signal generating methods as claimed in claim 11 with passage coupling function, it is characterised in that: described
In the coupling parameter of checking passage and the step of coupling parameter difference, also include:
When frequency coupled switch and amplitude coupled switch are all opened, adjust amplitude coupling ginseng according to the frequency coupling parameter of passage
The restriction value range of number, and according to the restriction value range after this adjustment verify respective amplitude coupling parameter whether within the scope of.
13. signal generating methods as claimed in claim 8 with passage coupling function, it is characterised in that: described logical
Road coupling function step is additionally provided with amplitude units switch process;This amplitude units switch process, including:
Identify amplitude units set by reference channel, the range parameter of non-referenced passage and amplitude coupling parameter difference;
Need to call corresponding amplitude units transfer function according to Conversion of measurement unit, carry out corresponding Conversion of measurement unit calculating;Described amplitude list
Position transfer function is stored in amplitude units transfer function storehouse.
14. signal generating methods as claimed in claim 8 with passage coupling function, it is characterised in that: by passage
Coupling parameter sends to the step of data storage address corresponding for FPGA, including:
Respectively the coupling parameter of each passage is sent to data storage address corresponding for FPGA;
Channel synchronous signal is sent, so that the output waveform signals of two passages synchronizes to FPGA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110431624.5A CN103176412B (en) | 2011-12-21 | 2011-12-21 | A kind of signal generator with passage coupling function and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110431624.5A CN103176412B (en) | 2011-12-21 | 2011-12-21 | A kind of signal generator with passage coupling function and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103176412A CN103176412A (en) | 2013-06-26 |
CN103176412B true CN103176412B (en) | 2016-09-07 |
Family
ID=48636367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110431624.5A Active CN103176412B (en) | 2011-12-21 | 2011-12-21 | A kind of signal generator with passage coupling function and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103176412B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114200860A (en) * | 2021-11-26 | 2022-03-18 | 中电科思仪科技(安徽)有限公司 | Multi-channel coupling output implementation circuit and method based on FPGA |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478341A (en) * | 2009-02-12 | 2009-07-08 | 华为技术有限公司 | Method and apparatus for implementing base station clock synchronization |
CN101726664A (en) * | 2008-10-27 | 2010-06-09 | 华为技术有限公司 | Method, device and system for measuring signal phase difference |
CN102109874A (en) * | 2009-12-28 | 2011-06-29 | 北京普源精电科技有限公司 | Multi-path signal generator |
CN102129269A (en) * | 2011-03-18 | 2011-07-20 | 北京普源精电科技有限公司 | Multi-channel synchronizing signal generator |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060109927A1 (en) * | 2004-11-19 | 2006-05-25 | Texas Instruments Incorporated | Synchronizer, method of synchronizing signals and MIMO transceiver employing the same |
-
2011
- 2011-12-21 CN CN201110431624.5A patent/CN103176412B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101726664A (en) * | 2008-10-27 | 2010-06-09 | 华为技术有限公司 | Method, device and system for measuring signal phase difference |
CN101478341A (en) * | 2009-02-12 | 2009-07-08 | 华为技术有限公司 | Method and apparatus for implementing base station clock synchronization |
CN102109874A (en) * | 2009-12-28 | 2011-06-29 | 北京普源精电科技有限公司 | Multi-path signal generator |
CN102129269A (en) * | 2011-03-18 | 2011-07-20 | 北京普源精电科技有限公司 | Multi-channel synchronizing signal generator |
Also Published As
Publication number | Publication date |
---|---|
CN103176412A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204219029U (en) | Use Electrosurgical generator and the control system thereof of gain compensation full-bridge topologies | |
Liu et al. | Optimal criterion and global/sub-optimal control schemes of decentralized economical dispatch for AC microgrid | |
CN108521225A (en) | LLC is balanced | |
CN101188388B (en) | Power conversion apparatus and motor system | |
CN101227141A (en) | Multiphase DC-DC converter | |
CN207994635U (en) | Load control unit and AC charging system | |
CN103176412B (en) | A kind of signal generator with passage coupling function and method | |
CN109830960A (en) | Optimize pulse-width modulation method based on warbled specific m-Acetyl chlorophosphonazo | |
US20160285268A1 (en) | Redundant point of common coupling (pcc) to reduce risk of microgrid's islanding | |
Liu et al. | Control and implementation of converter based ac transmission line emulation | |
Rosini et al. | Reactive power sharing analysis in islanded AC microgrids | |
CN105429130A (en) | RTDS and dSPACE based microgrid simulation experiment system and method | |
Nabatirad et al. | Autonomous power balance in hybrid AC/DC microgrids | |
US9236739B2 (en) | Apparatus for interconnecting a ship with a port power grid | |
CN106598136A (en) | Universal signal source apparatus and realization method | |
TW200743332A (en) | Apparatus and method for switching between a first network and a second network, and communication system comprising said apparatus | |
CN106338938B (en) | A kind of backplane bus communication addressing system and method | |
CN106850639A (en) | For the protocol conversion system and method for converting protocol of standard electric energy meter calibrating | |
CN102164030B (en) | Single-port communication circuit and communication method thereof | |
CN2932402Y (en) | Host/slave module equipment of DC electronic loader | |
Cornejo et al. | PHIL implementation of a decentralized online OPF for active distribution grids | |
JP2003304679A (en) | Power supply system for tracking control | |
KR100625482B1 (en) | PWM Synchronization Method And System For Parallel Operation Of Three-phase Uninterruptible Power Supply | |
CN107343038A (en) | A kind of remote real-time monitoring device and method based on IPMI | |
CN103176002A (en) | Method and device for generating harmonic wave and signal generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |