Summary of the invention
The technical problem to be solved in the present invention tests the more and defect of calibration inconvenience of required filter specification to overcome in prior art, provides a kind of and be integrated with the different filter of multiple filtering characteristic and can realize filter and the method for work thereof of self-inspection.
The present invention solves above-mentioned technical problem by following technical proposals:
A kind of filter, it comprises an input port and an output port, and its feature is, this filter also comprises: a single-chip microcomputer, and this single-chip microcomputer is connected with an in-out box; One variable connector, this variable connector is connected with this single-chip microcomputer by a control line, and the input pin of this variable connector is connected with this input port; The filter that multiple filtering characteristic is different, the input of the plurality of filter is connected with each output pin of this variable connector respectively, and the output of the plurality of filter is all connected with this output port.
Preferably, this filter also comprises a power meter, and this power meter is all connected with this input port, this output port and this single-chip microcomputer.
Preferably, this filter also comprises a power supply, and this power supply is all connected with this single-chip microcomputer, this in-out box, this variable connector and this power meter.
Preferably, this in-out box is the LCM (LCD Module, liquid crystal display module) of a band touch-screen.
Preferably, this variable connector is a radio frequency analog switch.
Preferably, the plurality of filter is the filter of microstrip circuitry structure.
Preferably, the filtering characteristic of the plurality of filter be applicable to GSM, WCDMA, TD-SCDMA and WLAN/BT network frequency range respectively band in and band external schema.
Another technical scheme of the present invention is: a kind of method of work of above-mentioned filter, its feature is, it comprises the following steps: S
1, a Devices to test is accessed this input port; S
2, by this in-out box select needed for filtering characteristic, this selection information is inputed to this single-chip microcomputer by this in-out box, possesses a filter of required filtering characteristic in the plurality of filter of this variable connector gating of this Single-chip Controlling; S
3, an analytical equipment is accessed this output port, by this analytical equipment, the signal after filtering from this Devices to test is analyzed.
Preferably, this filter also comprises a power meter, and this power meter is all connected with this input port, this output port and this single-chip microcomputer, and step S
2with step S
3between also comprise a process of self-test, this process of self-test comprises the following steps: S
21, this single-chip microcomputer recalls the standard filtering characteristic of this filter be strobed prestored; S
22, this power meter collection directly from the signal of this Devices to test, and from the signal after filtering of this Devices to test; S
23, this single-chip microcomputer reads this two signals from this power meter, and calculates the strength difference of these two signals; S
24, judge, in the permissible range whether this difference is in centered by this standard filtering characteristic, if be in this permissible range, to perform step S
3if exceed this permissible range, report an error.
Preferably, in the band that the filtering characteristic of the plurality of filter is applicable to GSM, WCDMA, TD-SCDMA and WLAN/BT network frequency range respectively and band external schema, step S
21in this single-chip microcomputer recall the standard trap value at multiple standard frequency point places of this filter be strobed under its frequency range be suitable for and pattern, step S
23in this single-chip microcomputer only read the intensity of these two signals in the plurality of standard frequency point from this power meter in the mode of frequency sweep, and calculate the strength difference of these two signals at this standard frequency point place each, step S
24in this single-chip microcomputer judge, in the permissible range whether those differences are all in centered by the standard trap value of corresponding frequency, if be all in this permissible range, to perform step S
3if have difference to exceed this permissible range, report an error.
Preferably, step S
1also comprise a filter detection process, this filter detection process comprises the following steps: S before
11, a signal generator is accessed this input port; S
12, by this in-out box select needed for filtering characteristic, this selection information is inputed to this single-chip microcomputer by this in-out box, possesses a filter of required filtering characteristic in the plurality of filter of this variable connector gating of this Single-chip Controlling; S
13, dominant frequency frequency under the frequency range to be suitable for for this filter be strobed and pattern, set the signal that this signal generator sends this dominant frequency frequency place, this power meter collection is directly from the signal of this signal generator and the signal after filtering from this signal generator, this single-chip microcomputer reads this two signals from this power meter, and the strength difference calculating these two signals is using the trap value of the filter be strobed as this at this dominant frequency frequency place; S
14, second harmonic frequency under the frequency range to be suitable for for this filter be strobed and pattern, set the signal that this signal generator sends this second harmonic frequency place, this power meter collection is directly from the signal of this signal generator and the signal after filtering from this signal generator, this single-chip microcomputer reads this two signals from this power meter, and the strength difference calculating these two signals is using the loss value of the filter be strobed as this at this second harmonic frequency place.S
15, disconnect the connection of this signal generator and this input port.
Positive progressive effect of the present invention is: the present invention is by integrated multiple filter with different filtering characteristic, the filter particularly tested in multiple band being applicable to GSM, WCDMA, TD-SCDMA and WLAN/BT network frequency range respectively and outside being with, and the variable connector correspondingly set up for switching each filter, make the test of device under test under each frequency range and each pattern can pass through to complete easily the switching of each filter.In addition, by the design of power meter, this filter can also provide self-checking function, makes engineer can the momentarily filtering of each filter of fast verification and trap state, improves testing precision.In addition, this filter can also be connected with signal generator, to detect each filter at the trap value at dominant frequency frequency place and the loss value at second harmonic frequency place, thus the measured value that spectrum analyzer shows can be reduced to actual value comparatively accurately.
Embodiment
Present pre-ferred embodiments is provided, to describe technical scheme of the present invention in detail below in conjunction with accompanying drawing.
Filter of the present invention is a kind of multi-functional filter, because it is integrated with multiple filter possessing different filtering characteristic, so by the switching to each filter, can provide required various filtering performances.When adopting the filter tested in multiple band being applicable to GSM, WCDMA, TD-SCDMA and WLAN/BT network frequency range respectively and outside band, the spuious and harmonic problem be particularly useful for the end product of field of wireless communication is carried out validation test by this filter.
As shown in Figure 1, this filter has an input port 1 accessed for signal, and this input port 1 is connected with a Devices to test or a signal generator in use; This filter also has an output port 2 exported for signal, and this output port 2 is connected with a spectrum analyzer or other testing equipments in use.In addition, this filter also comprises: a single-chip microcomputer 3, this single-chip microcomputer 3 is connected with an in-out box 4, in the present embodiment, that this in-out box 4 adopts is the LCM of a band touch-screen, but this in-out box 4 is not limited thereto, also other in-out boxs that can realize man-machine interaction can be adopted to realize, this single-chip microcomputer 3 and the communication mutually of this in-out box 4, the control information of this single-chip microcomputer 3 is shown to user by this in-out box 4, user then can be input to this single-chip microcomputer 3 by the operation information that this in-out box 4 inputs and process, one variable connector 5, this variable connector 5 is connected with this single-chip microcomputer 3 by a control line, by this single-chip microcomputer 3, the disconnection of each path of this variable connector 5 and gating are controlled, the input pin of this variable connector 5 is connected with this input port 1, in the present embodiment, what this variable connector 5 adopted is a radio frequency analog switch, but this variable connector 5 is not limited thereto, and also can adopt such as mechanical switch etc., filter 6a, 6b, 6c... that multiple filtering characteristic is different, in the present embodiment, because this filter is for verifying the spuious of wireless telecommunications system and harmonic problem, therefore, in the band that what the plurality of filter adopted is is applicable to GSM, WCDMA, TD-SCDMA and WLAN/BT network frequency range respectively and the filter of the outer test of band, the input of the plurality of filter is connected with each output pin of this variable connector 5 respectively, and the output of the plurality of filter is all connected with this output port 2.
In the present embodiment, in order to the selection making user can carry out the necessary function such as frequency range, pattern, self-inspection, detection on this LCM, also need to coordinate and carry out certain Software for Design, to provide the operation interface of the man-machine interaction realizing this selection information.Because this software can be realized by existing programming mode, therefore do not repeat them here.
This single-chip microcomputer 3 is arranged this in-out box 4, user is made to carry out single choice to each path of this variable connector 5 only under corresponding operation interface, thus only understand the some filters of gating to perform test job, specific in the present embodiment, namely this single-chip microcomputer 3 controls this LCM and be in radio box state all the time under the interface selecting frequency range and pattern, switches to prevent the mistake of this radio frequency analog switch.Such as: when Frequency Band Selection, user can not choose these two frequency ranges of 900MHz and 850MHz simultaneously, or chooses outside band and the interior two kinds of patterns of band simultaneously, but can only select certain frequency range of certain network and certain pattern.
Adopt existing mode to the spuious of radio communication product and harmonic problem is verified time, the filter being used for performing the test of band external schema is generally cavity body filter, the filter being used for performing the test of band internal schema is then generally the trapper with frequency adjustment knob, further, only can analyze for several conventional specific frequency in the test process of reality.Because these above-mentioned filter bodies are larger, not easy to use, therefore the present invention can select the circuit board with special frequency channel filtering characteristic by required filter state is made by employing microstrip line mode to realize when designing, greatly reduce the volume shared by filter like this, enhance filter capacity targetedly again, and also can switch easily after being integrated with multiple filter.An example of the filter that the present invention adopts can be: when designing the band stop filter that outside band, test is used, owing to needing higher squareness factor, therefore can suitably increase filtering progression, and use Surface Acoustic Wave Filter.
Further, in order to ensure the accuracy of each filter, to guarantee the measuring accuracy of this filter, need to provide to the self-checking function of each filter in this filter and the measuring ability to its trap value and Insertion Loss value, for these two objects, this filter also comprises a power meter 7, and this power meter 7 is all connected with this input port 1, this output port 2 and this single-chip microcomputer 3, and concrete self-inspection and detection method will be described below.In addition, when using this power meter 7 to gather power, should be noted that the ceiling capacity that its input can bear and gathering the dynamic range of power.
Preferably, this filter also comprises a power supply 8, this power supply 8 is all connected with this single-chip microcomputer 3, this in-out box 4, this variable connector 5 and this power meter 7, and the DC source (such as alkaline battery) that have employed 9V is in the present embodiment powered.
In addition, because filter ratio is easier to be interfered, therefore all shield at places such as single-chip microcomputer, radio frequency analog switch and LCM, to prevent the coupling of interference signal in the present embodiment.
Figure 2 shows that the flow chart of the method for work of this filter of the present invention.First, load 9V battery at the position of source place of this filter, then open the mains switch of this filter, then perform following steps:
Step 100, powers on a Devices to test, and is accessed the input port of this filter.
Step 101, filtering characteristic needed for user is selected by this in-out box, in the present embodiment, be in the frequency range of touch-screen display and the option of pattern, concrete frequency range under certain network needed for selection and pattern, such as when needing the band stray situation under testing GSM network 900MHz frequency range, " 900MHz " frequency range in " GSM " type and " band is outer " pattern are chosen.This selection information can input in this single-chip microcomputer by this in-out box, the current filter possessing required filtering characteristic needing to use is identified for this single-chip microcomputer, then by the switching of each path of this this variable connector of Single-chip Controlling, with this filter of gating, such as, under being applicable to GSM network 900MHz frequency range, be with a filter of outer test.
Step 102, by an analytical equipment, namely a spectrum analyzer or other testing equipments, access this output port, by this analytical equipment, the signal after filtering from this Devices to test is analyzed, thus complete the checking to the spuious of this Devices to test and harmonic problem.
Further, when this filter is provided with above-mentioned power meter, it can also provide the self-checking function of each filter in this filter and the measuring ability to its trap value and Insertion Loss value.
Process of self-test generally carries out before testing begins, namely carry out between step 101 and step 102, when the performance state being tested with filter is undesirable, tester need change this filter or keep in repair, to ensure to cause the data invalid of test result due to the uncertainty of filter state.
Particularly, this process of self-test comprises the following steps:
Step 2000, this single-chip microcomputer is according to the selection information of user to filtering characteristic, for current this filter needing to use, recall this filter standard filtering characteristic in the ideal situation prestored, such as: when this filter is under normal filter state, the standard trap value at its several standard frequency point places under selected frequency range, institute's lectotype.
Step 2001, this power meter collection directly from the signal (passage 1) of this Devices to test, and from the signal (passage 2) after filtering of this Devices to test.
Step 2002, this single-chip microcomputer is in the mode of such as frequency sweep from low to high, and order reads the intensity of these two signals in those standard frequency point from this power meter, and calculates the strength difference of these two signals at each standard frequency point place respectively.
Step 2003, those differences and above-mentioned standard trap value are compared, if those differences are all in the permissible range centered by the standard trap value at corresponding frequency place, then self-inspection is passed through, continue to perform step 102, if there is certain difference to exceed this permissible range, then report an error, by tester corresponding filter changed or the process such as maintenance.
Such as, time spuious in the band testing 900MHz frequency range, can whether meet the demands in the trap state at the standard frequency point places such as 896.4MHz, 900.6MHz, 904.2MHz, 908.4MHz by the corresponding filter of self-inspection, for early-stage preparations are carried out in test.
When hope understand current this filter needing to use its filtering characteristic for frequency range and pattern under the trap value at dominant frequency frequency place and the loss value at second harmonic frequency place time, can also carry out a filter detection process before step 100, this filter detection process comprises the following steps:
Step 1000, accesses this input port by a signal generator.
Step 1001, filtering characteristic needed for user is selected by this in-out box, this selection information inputs in this single-chip microcomputer by this in-out box, this single-chip microcomputer identifies the current filter possessing required filtering characteristic needing to use, then by the switching of each path of this this variable connector of Single-chip Controlling, with this filter of gating.
Step 1002, dominant frequency frequency under the frequency range be suitable for for this filter be strobed and pattern, set the signal that this signal generator sends this dominant frequency frequency place, this power meter collection is directly from the signal (passage 1) of this signal generator and the signal (passage 2) after filtering from this signal generator, this single-chip microcomputer reads these two signals of this dominant frequency frequency from this power meter, and calculate the strength difference of these two signals, using the trap value of the filter be strobed as this at this dominant frequency frequency place.
Step 1003, second harmonic frequency under the frequency range be suitable for for this filter be strobed and pattern, set the signal that this signal generator sends this second harmonic frequency place, this power meter collection is directly from the signal (passage 1) of this signal generator and the signal (passage 2) after filtering from this signal generator, this single-chip microcomputer reads these two signals of this second harmonic frequency from this power meter, and calculate the strength difference of these two signals, using the loss value of the filter be strobed as this at this second harmonic frequency place.
Step 1004, disconnects the connection of this signal generator and this input port, to carry out follow-up testing process.
Such as, when testing GSM network 900MHz frequency range 62 channel,-10dBm energy can be launched by setting signal generator at dominant frequency frequency 902.4MHz place, by two channel energy collections of this filter internal power meter, and strength difference calculating is carried out in single-chip microcomputer, finally can demonstrate the size of trap amount on the touchscreen, such as: LOSS 30dB.In like manner, input 1804.8MHz can draw the loss value of this filter at second harmonic frequency place, such as: LOSS 3dB.So just, the measured value that spectrum analyzer shows can be reduced to actual value comparatively accurately, such as: the measured value of second harmonic on spectrum analyzer is-45dBm, if be reduced to actual value, need to add the cable waste of 2dB and the filter loss of 3dB, just easily and accurately shown that the actual value that second harmonic is launched is-40dBm thus.
In sum, the present invention, by integrated multiple filter with different filtering characteristic, makes the test of device under test under each frequency range and each pattern can pass through to complete easily the switching of each filter; In addition, this filter can also provide self-checking function; In addition, this filter can also detect each filter at the trap value at dominant frequency frequency place and the loss value at second harmonic frequency place.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, under the prerequisite not deviating from principle of the present invention and essence, various changes or modifications can be made to these execution modes.Therefore, protection scope of the present invention is defined by the appended claims.