Digitized radar levelmeter
One, technical field
The invention belongs to the automatic measurement technology field, is a kind of material level of industrial processes container, warehouse and non-contact measuring device of liquid level of being used for specifically.
Two, background technology
Radar level gauge has noncontact, resolution height, the advantage of medium wide adaptability in level gauging.Measuring method commonly used has two kinds, and a kind of is the pulse radar level-sensing device, and another kind is a continuous frequency modulation formula radar level gauge.The pulse radar level-sensing device need carry out frequency counting in the time of nanosecond, and the big resolution of technical difficulty is low, is replaced by the linear FM radar level-sensing device gradually.The theoretical limit range resolution of LINEAR CONTINUOUS ripple FM radar system depends on system signal bandwidth deltaf R=C/2B, and wherein C represents the light velocity, and B is a modulating bandwidth.This is that to be based upon system be under complete linearity, the ideal situation, has various factors in the actual application and causes that range resolution reduces, and wherein topmost factor is that frequency modulation is non-linear.There is bigger nonlinear relationship between voltage controlled oscillator output frequency and the modulation voltage, adopt linear fully voltage to carry out frequency modulation (PFM), owing to there is frequency shift (FS), Beat Signal after the mixing is not the simple signal under the ideal linearity FM signal situation, frequency spectrum is broadened, thereby causes LFMCW radar level gauge resolution to reduce.Non-linear in order to eliminate, generally adopt 2 kinds of methods: open loop correction and closed-loop corrected.Open loop correction is to measure the electric voltage frequency relation of voltage controlled oscillator in advance, is stored in the storer, and the digital quantity by storage in advance during actual the use is carried out the output of sweep voltage by D/A converter.The shortcoming of this method is that the characteristic of each voltage controlled oscillator is all inequality, and workload is very big in the production debug process, is difficult for mass production.Temperature influence is also very big in the actual use, is difficult to guarantee measuring accuracy.Closed-loop corrected method is to adopt independent counting channel that the frequency signal of output is measured in real time, then the digital quantity that produces control voltage is revised, and to obtain the satisfied linearity, this will increase the workload of cost and software.
In order to address this problem, it is synthetic that the method that people adopt the synthetic and digital phase-locked loop of Direct Digital is carried out numeral to needed signal, but can not drop into the application of reality owing to following reason.At first adopt the synthetic method of Direct Digital also not reach the X-band of fill level radar work at present, can only adopt the method for frequency multiplication or up-conversion, this method one is that cost is too high, system complex, the 2nd, the microwave signal that produces through frequency multiplication has a lot of harmonic components, phase noise is big, can produce negative influence to measurement result.In addition, need a transient process when utilizing phaselocked loop to change frequency, so its frequency inverted time is longer, and can not satisfies the requirement of the high speed frequency sweep characteristic of linear frequency modulation ripple radar.
Three, summary of the invention
Digitized radar levelmeter purpose of the present invention is: solve because the problem of the non-linear influence that measuring accuracy is brought of frequency modulation solves the difficult problem of present linearity correction, a kind of radar levelmeter of producing and debugging be convenient to is provided.
Digitized radar levelmeter of the present invention is a kind of non-contact measuring device that the thing position is detected that is used for, it is characterized in that: the normal linearity modulation frequency generation unit that this level meter adopts total digitalization to adjust, this unit produces the reference frequency signal of high linearity and the pumping signal that the control voltage controlled oscillator produces linear frequency, and this pumping signal is for signal processing unit study; This level meter adopts a kind of mode based on study to carry out the pressuring controlling oscillator frequency gamma correction, and the pumping signal that produces the normal linearity FM signal by study realizes online and high precision voltage controlled oscillator linearity correction; This level meter employing is a kind of can be by learning directly to obtain representing the digital quantity sequence of linear frequency modulation state, and this digital quantity sequence is used for D/A converter, the data processing of complexity and conversion when avoiding closed-loop corrected through simple linear transformation; This level meter has adopted and has compared different on-line correction methods with other open loop correction, be that equipment is installed to on-the-spot also can the correction later, avoid preserving the correction parameter under the different operating modes like this, and the frequency measurement that need not be complicated and the calculating of correction parameter, specifically, the present invention mainly comprises normal linearity modulation frequency generation unit, pumping signal unit, microwave unit, intermediate-freuqncy signal is handled collecting unit, the linear frequency modulation output control unit, signal processing logic control module and display keyboard communication interface unit 1[structure see Fig. 1 for details], its normal linearity modulation frequency generation unit is by crystal oscillator 3, Direct Digital Frequency Synthesizers 4, digital phase-locked loop 6, active filter 8, aanalogvoltage switch 9, first buffer amplifier 10, second buffer amplifier 12, voltage controlled oscillator 13, pre-divider 18 is formed, the frequency signal of crystal oscillator 3 outputs is as the reference frequency signal of Direct Digital Frequency Synthesizers 4, produce the reference incoming frequency of phase-locked loop by the control word that changes Direct Digital Frequency Synthesizers 4, produce high-frequency signal by digital phase-locked loop 6 frequencys multiplication, when the control word that is input to Direct Digital Frequency Synthesizers 4 remains unchanged, output through voltage controlled oscillator 13 after the stabilization time of phase-locked loop is stabilized on the Frequency point, if control word according to linear increment Direct Digital Frequency Synthesizers 4, then normal linearity modulation frequency generation unit is created in continuous linear FM signal in the swept frequency range, whether voltage controlled oscillator 13 output frequency signals are stabilized on the predetermined Frequency point to export by the locking of digital phase-locked loop 6 is detected, the employing of pre-divider 19 mainly is to consider that the frequency of operation of some digital phase-locked loop does not also reach the frequency range of radar levelmeter work, adopt pre-divider 19 earlier frequency of operation to be reduced, satisfy the frequency input requirement of digital phase-locked loop 6, active filter 8[sees Fig. 3 for details] by the 3rd buffer amplifier 25, the 4th buffer amplifier 26 and Resistor-Capacitor Unit are formed, generally speaking for the consideration of the electronic noise of phase noise and active device, phase-locked loop mostly adopts passive filter, and consider the problem of loop-locking time, the general lower order filter that adopts, as second order or three rank filter circuits, but in order not influence the stability of voltage because before voltage controlled oscillator 13, its voltage sampled, adopt the active filter of high-order, output terminal at active filter increases the one-level voltage buffer, the main resistance matching problem of considering wave filter output and analog switch interface, further strengthen the stability of voltage controlled oscillator input voltage, improve the correction accuracy of system; Pumping signal unit by A/D converter 11 and with the shared aanalogvoltage switch 9 of normal linearity modulation frequency generation unit, first buffer amplifier 10 is formed, when trimming process begins, by aanalogvoltage switch 9 voltage input end of first buffer amplifier 10 is switched to the output terminal of the active filter 8 of normal linearity modulation frequency generation unit earlier, because the frequency of voltage controlled oscillator 13 outputs is decided by the voltage of its input end, therefore under voltage controlled oscillator can the situation of output line resistant frequency, the voltage signal of its input end just has reference value completely, what in fact the input of voltage controlled oscillator 13 was accepted is the pumping signal of active filter 8 outputs, after constant and phase-locked loop reaches lock-out state when the reference frequency signal of Direct Digital Frequency Synthesizers 4 output, this pumping signal is stabilized on certain magnitude of voltage, and the output frequency of this driving voltage signal and voltage controlled oscillator 13 has definite corresponding relation, Direct Digital Frequency Synthesizers 4 each synchronizing frequency increase progressively and phase-locked loop locking after, obtain the digital quantity of the excitation signal voltage value correspondence of a voltage controlled oscillator 13 inputs by A/D converter 11, obtain swept frequency range internal linear FM signal by the control word that changes Direct Digital Frequency Synthesizers 4, the pairing digital quantity sequence of driving voltage signal that applies when obtaining to represent voltage controlled oscillator 13 by the linear frequency modulation output frequency signal, and store in the internal memory, after correction work is finished, by analog switch 9 voltage input end of first buffer amplifier 10 is switched to high-speed d/a converter 5 again, the digital quantity sequence that obtains is exported as normal linear frequency-modulating process high speed D/A converter 5 controlled quentity controlled variables through after the simple linear transformation, produce the FM signal of high linearity at a high speed, the process of this correction is actually the process of a study, and because need not be by the equipment and the instrument of outside, the process of this correction is self-correcting, online carrying out, repeat, even also can carry out after equipment puts into operation; Microwave unit is by circulator 14, emission and receiving antenna 15, coupling mechanism 16, frequency mixer 17 and voltage controlled oscillator 13 compositions shared with normal linearity modulation frequency generation unit, intermediate-freuqncy signal is handled collecting unit by wave filter 18, digital program controlled gain amplifier 20, high-speed a/d converter 22, fifo buffer 23 is formed, because different materials is to the degree of reflection difference of microwave signal, and have under the situation of floating dust or steam electromagnetic wave signal is produced very big decay, in order to improve the scope of application of radar levelmeter, prime amplifier adopts digital program controlled gain amplifier, difference frequency signal after the mixing is carried out processing and amplifying, its gain is controlled by digital signal processing and logic control element, the gain range of choice has enlarged the dynamic range of signal from-12dB to+30dB; The linear frequency modulation output control unit is formed by high-speed d/a converter 5, the 5th buffer amplifier 7 with shared aanalogvoltage switch 9, first buffer amplifier 10, second buffer amplifier 12 of linear frequency modulation output control unit, and signal Processing and logic control element are made up of digital signal processor and corresponding memory circuit 2 and programmable logic chip 21; Adopt programmable logic device (PLD) that the logical signal of input is handled among the present invention, realize logic control and logic output function, accept the control of digital signal processor and carry out logical operation in conjunction with the logical signal of importing, realize high-speed a/d converter 22, fifo buffer 23, Direct Digital Frequency Synthesizers 4, digital phase-locked loop 6,20 control is amplified in analog switch 9 and digital program controlled gain, control and read-write to Direct Digital Frequency Synthesizers 4 adopt the mode of parallel or serial to carry out, generally adopt serial mode to carry out to the control of digital phase-locked loop 6, gather the intermediate-freuqncy signal of returning and carry out data processing by digital signal processor, after calculating real material level signal, utilize the mode that shows via display keyboard communication interface unit 1, or export to outside Displaying Meter by electric current, or communicate the transmission data by communication interface and outside Displaying Meter.
Advantage of the present invention: be mainly used in industrial and mining enterprises various things position measurement and be used for some range observation occasions.The correction of the linear frequency modulation linearity can be implemented in that line is proofreaied and correct and proofreaies and correct at any time, need not external measurement devices; Adopt digitized mode to proofread and correct, correcting mode and algorithm are simple, proofread and correct back linearity height; The cost of instrument is low, produces and debugs simply, enhances productivity; The measuring accuracy height, error is little, antijamming capability is strong, adapt to abominable industrial environment, and is reliable and stable.
Four, description of drawings
Fig. 1 is the structural drawing of way of realization 1 of the present invention
Fig. 2 is the structural drawing of way of realization 2 of the present invention
Fig. 3 is the active filter structural drawing
Fig. 4 is the structural drawing of way of realization 3 of the present invention
Number in the figure
1, display keyboard communication interface 2, digital signal processor and corresponding memory circuit
3, crystal oscillator 4, Direct Digital Frequency Synthesizers
5, high-speed d/a converter 6, digital phase-locked loop
7, the 5th buffer amplifier 8, active filter
9, aanalogvoltage switch 10, first buffer amplifier
11, high-precision a/d converter 12, second buffer amplifier
13, voltage controlled oscillator 14, circulator
15, antenna 16, coupling mechanism
17, frequency mixer 18, wave filter
19, pre-divider 20, digital program controlled gain amplifier
21, programmable logic device (PLD) 22, high-speed a/d converter
23, fifo buffer 24, aanalogvoltage switch
25, the 3rd buffer amplifier 26, the 4th buffer amplifier
27, aanalogvoltage switch
Five, embodiment
Embodiment 1: as shown in Figure 1, among Fig. 1 except that antenna 15 other parts can be assembled in a metal shell inside, antenna 15 can adopt electromagnetic horn or bar antenna, also can adopt waveguide, when correcting state, make voltage controlled oscillator 13 accept the control in phaselocked loop loop by switching analoging switch 9, in tuning range, progressively produce linear FM signal by the frequency control word that changes Direct Digital Frequency Synthesizers 4, gather the driving voltage signal of voltage controlled oscillator 13 by high-precision A/D converter 11, memory is changed and stored to digital signal processor 2, after correction is finished, switching analoging switch 9 makes voltage controlled oscillator 13 accept the control of high-speed d/a converter 5, carries out real-time linear frequency modulation.This moment, digital signal processor 2 utilized 22 pairs of intermediate-freuqncy signals of high-speed a/d converter to gather, Serial No. to collection carries out the FFT computing, spectrum analysis obtains monitored order subject matter position, the thing position can show on the display of radar levelmeter itself, also can utilize the mode of digital communication, supervisory instrument, pen recorder or the host computer that the analog current signal teletransmission is arrived other.A/D converter 11 should adopt high-precision A/D converter among Fig. 1, and for example 16 A/D converter can obtain 1/65536 resolution, and obviously precision can satisfy requirement of actual application fully.Because frequency can be stabilized on the interior any point of linear frequency modulation scope, not too high requirement of speed to the A/D conversion, therefore can also adopt more high-precision ∑-Δ type A/D converter, resolution can reach 20 or higher, and the selection of A/D interface mode can be walk abreast or serial because be used for the sampling of correction signal, speed less demanding, so can paying the utmost attention to of serial, interface is simple, and saves the area that can effectively reduce circuit board.
Embodiment 2: as shown in Figure 2, cancelled A/D converter 11, the output of first buffer amplifier 10 among Fig. 1 is connected to another analog switch 24[sees Fig. 2 for details], can utilize a slice A/D converter to finish like this and proofread and correct and measure, in order to represent conveniently, drawn among the figure two aanalogvoltage switches 9 and 24, when the correction learning duty, what aanalogvoltage switch 9 was accepted is the pumping signal of active filter 8 outputs, and what analog switch 24 was accepted is the pumping signal of first buffer amplifier, 10 outputs; What aanalogvoltage switch 9 was accepted when normal operating conditions is the swept-frequency signal of high-speed d/a converter 5 through 7 outputs of the 5th buffer amplifier, and what analog switch 24 was accepted is through digital program controlled gain amplifier 20 amplified IF signal.Therefore, these two aanalogvoltage switches 9 and 24 are two independently chips.
Embodiment 3: other is with embodiment 2, and only two aanalogvoltage switches 9 and 24 are chips that comprise two covers or overlap same assembly more, and for example the aanalogvoltage switch 27[of dpdt double-pole double-throw (DPDT) sees Fig. 4 for details].The function of aanalogvoltage switch also can be replaced by relay.