The content of the invention
It is contemplated that at least solving technical problem present in prior art, a kind of noncontact is especially innovatively proposed
Formula liquid level measuring system.
In order to realize the above-mentioned purpose of the present invention, the invention provides a kind of contact-free level measuring system, it is crucial
It is, including light emission cavity 6 and CCD receiving cavity 14, the smooth emission cavity 6 is with light emission cavity outgoing collimating slit
8, the CCD receiving cavity 14 has the incident collimating slit 16 of CCD receiving cavity, when the work of contact-free level measuring system
When, the light that illuminator is sent in light emission cavity 6 passes through light emission cavity outgoing collimating slit 8, enters by CCD receiving cavity
Penetrate collimating slit 16 this light path to be received by CCD into CCD receiving cavity 14, sample cell is in the light path and light is with flat
Row passes through the sample cell in the direction of sample cell bus.
Above-mentioned technical proposal has the beneficial effect that:Sample can be clamped by light emission cavity 6 and CCD receiving cavity 14
Pipe, compact conformation is compact, and portability is strong, and automaticity is high, and installation and removal are easy, with wide applicability, it is indoor or
Person open air can be used;Non-contact measurement, is adapted to high pressure, inflammable and explosive, high toxicity and the high yard of purity requirement
The level sensing of conjunction.
Described contact-free level measuring system, it is preferred that including:Sample cell clamping limb, clamping termination, hinge 3, light
Emission cavity 6, CCD receiving cavity 14, CCD receiving cavity back shroud 15, light emission cavity outgoing collimating slit 8, CCD reception cavities
Body incidence collimating slit 16;
The side wall of hinge 3 vertically fixes sample cell clamping limb one end, and the sample cell clamping limb other end sets clamping termination,
The clamping termination fastening clamp sample cell 1, the right wing leaf 21 of hinge 3 installs light emission cavity 6, the left flabellum of the hinge 3
20 install CCD receiving cavity 14, and the rear end of CCD receiving cavity 14 is covered by CCD receiving cavity back shroud, prevented Lou
Light;The clamping sample cell of the smooth emission cavity 6 side middle panel is groove shapes, and light emission cavity is opened up along groove shapes position
Body outgoing collimating slit 8, the clamping sample cell of the CCD receiving cavity 14 side middle panel is also groove shapes, along groove type
Shape position opens up the incident collimating slit 16 of CCD receiving cavity.
Above-mentioned technical proposal has the beneficial effect that:It is incident by light emission cavity outgoing collimating slit 8, CCD receiving cavity
Collimating slit 16 is detected to sample cell liquid level, it is ensured that while the accuracy of detection, is prevented light from scattering, is penetrated partially.
Described contact-free level measuring system, it is preferred that the sample cell clamping limb includes:Clamping limb on sample cell
2nd, clamping limb 9, upper clamping limb lock screw 4, lower clamping limb lock screw 10, upper sleeve pipe 28, setting of casing 29 under sample cell;
The clamping termination includes:Sample cell top lock screw 5, sample cell bottom lock screw 11, upper clamping termination
12 and lower clamping termination 13;
Upper one end of sleeve pipe 28 of outside interference set access of clamping limb 2 on the sample cell, the upper side wall of sleeve pipe 28 opens up spiral shell
Pit, upper clamping limb lock screw 4 is threaded into hole, the upper external screw thread of clamping limb lock screw 4 and screwed hole internal thread phase
Coordinate, sleeve pipe 28 and clamping limb 2 on sample cell in locking, the upper other end of sleeve pipe 28 is fixed and clamps termination 12, in upper folder
Hold the side wall of termination 12 and open up screwed hole, sample cell top lock screw 5 is threaded into hole, sample cell top lock screw 5
External screw thread is engaged with screwed hole internal thread, and termination 12 and sample cell 1 are clamped in locking;
Outside interference set access setting of casing 29 one end of clamping limb 9 under the sample cell, the side wall of setting of casing 29 opens up spiral shell
Pit, lower clamping limb lock screw 10 is threaded into hole, the lower external screw thread of clamping limb lock screw 10 and screwed hole internal thread
It is engaged, locking setting of casing 29 and clamping limb 9 under sample cell, the other end of setting of casing 29 fix lower clamping termination 13, under
The clamping side wall of termination 13 opens up screwed hole, and sample cell bottom lock screw 11 is threaded into hole, sample cell bottom locking screw
11 external screw threads of silk are engaged with screwed hole internal thread, the lower clamping termination 13 of locking and sample cell 1.
Above-mentioned technical proposal has the beneficial effect that:Said apparatus is used to lock sample cell, while ensureing sagging on sample cell
Directly in bottom surface, it is ensured that measurement is accurate.
Described contact-free level measuring system, it is preferred that also include:Anti- light shade flap 7;
The smooth emission cavity 6 installs anti-light shade flap 7 in the edge for installing the other end side plate of hinge, or
Anti- light shade flap 7 is installed in the edge for installing the other end side plate of hinge in the CCD receiving cavity 14, it is described against sunshine
Line shade flap 7 leans out edge along side board edge, by the smooth emission cavity 6 and the seam of the apposition of CCD receiving cavity 14
Gap is covered.
Above-mentioned technical proposal has the beneficial effect that:By the effect of blocking of anti-light shade flap 7, by light emission cavity and
Gap shielding between CCD receiving cavity 14, making the light in the external world can not inject, so as to ensure the accuracy of measurement.
Described contact-free level measuring system, it is preferred that the hinge 3 includes:Calibration hole 23, the first calibration screw
26th, the second calibration screw 27;
The left flabellum 20 of hinge 3 and the right wing leaf 21 of hinge 3 open up N number of calibration hole 23 respectively, by the first calibration screw 26
Penetrate the calibration hole 23 with the second calibration screw 27 and be screwed into side plate, according to the diameter of sample cell 1 adjust the first calibration screw 26,
Second calibration screw 27, makes the smooth emission cavity 6 and CCD receiving cavity 14 smoothly receive light feedback data, N >=2.
Above-mentioned technical proposal has the beneficial effect that:The side of hinge is installed all in light emission cavity and CCD receiving cavity
Calibration hole and calibration screw are set, and so as to the size according to sample pipe diameter, easily adjustment light emission cavity and CCD are received
The gap width clamped between cavity.
Described contact-free level measuring system, it is preferred that the smooth emission cavity 6 includes:Optical transmission circuit plate 17,
The CCD receiving cavity 14 includes:Line array CCD 18 and CCD circuit board for receiving 19;
The optical transmission circuit plate 17 is installed on inside the smooth emission cavity 6, and light letter is launched by optical transmission circuit plate 17
Breath is through light emission cavity outgoing collimating slit 8, and the line array CCD 18 of the CCD receiving cavity 14 is arranged in CCD receiving cavity and entered
Penetrate at collimating slit 16, receive optical information data, line array CCD connection CCD circuit board for receiving 19;
The CCD circuit board for receiving 19 includes:Front-end driven data acquisition module AFE, FPGA, data transmission interface, control
Molding block;
The front-end driven data acquisition module AFE connection line array CCDs, receive the optical information data of line array CCD transmission, complete
Into the double sampled and AD conversion of simulation ccd image signal;The front-end driven data acquisition module AFE other ends connect FPGA,
The FPGA connection data transmission interfaces and control module.
Above-mentioned technical proposal has the beneficial effect that:By the design of foregoing circuit, so as to pass through electron optic mode essence
Sample cell liquid level is really measured, so as to reduce the error of manual measurement, it is ensured that the accuracy of measurement.
Described contact-free level measuring system, it is preferred that the groove shapes include:Trapezoidal or semicircle.
Above-mentioned technical proposal has the beneficial effect that:It is set to trapezoidal groove and ensures light emission cavity and CCD receiving cavity
Sample cell is preferably clamped, it is the increase friction system in order to ensure that groove and sample cell sample cell are brought into close contact to be set to semicircle
Number ensures that the sample cell of light emission cavity and the clamping of CCD receiving cavity is difficult for drop-off.
Invention additionally discloses a kind of contact-free level measuring method, it is it is critical that comprise the following steps:
Step 1, line array CCD and CCD circuit board for receiving to contact-free level measuring system is initialized, and starts to survey
Measure sample cell liquid level;
Step 2, optical transmission circuit plate is opened, by the light emission cavity outgoing collimating slit of light emission cavity to sample cell
Liquid level is irradiated, and the optical information through sample cell is irradiated to line array CCD at the incident collimating slit of CCD receiving cavity, by line
Battle array CCD is judged optical information intensity;
Step 3, according to optical information intensity judgement sample pipe liquid level, M measurement is carried out to liquid level, sample cell liquid is obtained
Position absolute altitude value, M >=3.
Above-mentioned technical proposal has the beneficial effect that:Liquid level is accurately measured by the above method, data processing is quick, frame
Rate is adjustable, and configuration may be selected in data output content.
Described contact-free level measuring method, it is preferred that the step 2 includes:
Step 2-1, when being judged by line array CCD optical information intensity, in the beginning register of configuration line array CCD
Starting position is a high position;
Step 2-2, the optical information intensity gathered to line array CCD carries out interrupt routine judgement, and leading portion driving data is adopted
Collect module and carry out down trigger, simulation optical information signal is converted into digital optical information signal, is transferred to FPGA and carries out height computing.
Above-mentioned technical proposal has the beneficial effect that:Analog signal is converted into data signal, it is ensured that FPGA carries out accurate
Height computing.
Described contact-free level measuring method, it is preferred that the step 3 includes:
Step 3-1, the liquid level height value of collection carries out liquid level computing in FPGA;
Step 3-2, the corresponding pixel of optical information frame data of collection is summed up average;
Step 3-3, makes the difference to adjacent picture elements gray value, and stores the difference into array;
Step 3-4, finds the maximum position of gray scale difference value, obtains the location of initial sample cell liquid level;
Step 3-5, repeat step 3-2 ask for M group data, are averaging, obtain sample cell liquid level exhausted to step 3-4
To height value.
In summary, by adopting the above-described technical solution, the beneficial effects of the invention are as follows:
1 compact conformation is compact, and portability is strong, and automaticity is high, and installation and removal are easy, with wide applicability,
Indoor or open air can be used;
2 non-contact measurements, are adapted to the liquid level of high pressure, inflammable and explosive, high toxicity and the high workplace of purity requirement
Detection;
3 low-power consumption, can be powered using various ways, battery, photovoltaic, civil power;
4 data processings are quick, and frame per second is adjustable, and configuration may be selected in data output content;
5 have wireless data transfer capability, can detect data with collection in worksite, can also be long-range by wireless transmitting system
Transmission;
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
In the description of the invention, it is to be understood that term " longitudinal direction ", " transverse direction ", " on ", " under ", "front", "rear",
The orientation or position relationship of the instruction such as "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer " is based on accompanying drawing institutes
The orientation or position relationship shown, is for only for ease of the description present invention and simplifies description, rather than indicate or imply signified dress
Put or element there must be specific orientation, with specific azimuth configuration and operation, therefore it is not intended that to the limit of the present invention
System.
In the description of the invention, unless otherwise prescribed with limit, it is necessary to explanation, term " installation ", " connected ",
" connection " should be interpreted broadly, for example, it may be mechanically connect or electrical connection or the connection of two element internals, can
To be to be joined directly together, it can also be indirectly connected to by intermediary, for the ordinary skill in the art, can basis
Concrete condition understands the concrete meaning of above-mentioned term.
As Figure 1-5, the invention provides a kind of contact-free level measuring system, it is it is critical that including light hair
Cavity 6 and CCD receiving cavity 14 are penetrated, the smooth emission cavity 6 has light emission cavity outgoing collimating slit 8, and the CCD is received
Cavity 14 has the incident collimating slit 16 of CCD receiving cavity, when contact-free level measuring system works, light emission cavity 6
The light that interior illuminator is sent passes through light emission cavity outgoing collimating slit 8, by the incident collimating slit 16 of CCD receiving cavity this
Bar light path is received into CCD receiving cavity 14 by CCD, and sample cell is in the light path and light is with parallel to sample cell bus
Direction pass through the sample cell.
Above-mentioned technical proposal has the beneficial effect that:Sample can be clamped by light emission cavity 6 and CCD receiving cavity 14
Pipe, compact conformation is compact, and portability is strong, and automaticity is high, and installation and removal are easy, with wide applicability, it is indoor or
Person open air can be used;Non-contact measurement, is adapted to high pressure, inflammable and explosive, high toxicity and the high yard of purity requirement
The level sensing of conjunction.
Described contact-free level measuring system, it is preferred that including:Sample cell clamping limb, clamping termination, hinge 3, light
Emission cavity 6, CCD receiving cavity 14, CCD receiving cavity back shroud 15, light emission cavity outgoing collimating slit 8, CCD reception cavities
Body incidence collimating slit 16;
The side wall of hinge 3 vertically fixes sample cell clamping limb one end, and the sample cell clamping limb other end sets clamping termination,
The clamping termination fastening clamp sample cell 1, the right wing leaf 21 of hinge 3 installs light emission cavity 6, the left flabellum of the hinge 3
20 install CCD receiving cavity 14, and the rear end of CCD receiving cavity 14 is covered by CCD receiving cavity back shroud, prevented Lou
Light;The clamping sample cell of the smooth emission cavity 6 side middle panel is groove shapes, and light emission cavity is opened up along groove shapes position
Body outgoing collimating slit 8, the clamping sample cell of the CCD receiving cavity 14 side middle panel is also groove shapes, along groove type
Shape position opens up the incident collimating slit 16 of CCD receiving cavity.
Above-mentioned technical proposal has the beneficial effect that:It is incident by light emission cavity outgoing collimating slit 8, CCD receiving cavity
Collimating slit 16 is detected to sample cell liquid level, it is ensured that while the accuracy of detection, is prevented light from scattering, is penetrated partially.
Described contact-free level measuring system, it is preferred that the sample cell clamping limb includes:Clamping limb on sample cell
2nd, clamping limb 9, upper clamping limb lock screw 4, lower clamping limb lock screw 10, upper sleeve pipe 28, setting of casing 29 under sample cell;
The clamping termination includes:Sample cell top lock screw 5, sample cell bottom lock screw 11, upper clamping termination
12 and lower clamping termination 13;
Upper one end of sleeve pipe 28 of outside interference set access of clamping limb 2 on the sample cell, the upper side wall of sleeve pipe 28 opens up spiral shell
Pit, upper clamping limb lock screw 4 is threaded into hole, the upper external screw thread of clamping limb lock screw 4 and screwed hole internal thread phase
Coordinate, sleeve pipe 28 and clamping limb 2 on sample cell in locking, the upper other end of sleeve pipe 28 is fixed and clamps termination 12, in upper folder
Hold the side wall of termination 12 and open up screwed hole, sample cell top lock screw 5 is threaded into hole, sample cell top lock screw 5
External screw thread is engaged with screwed hole internal thread, and termination 12 and sample cell 1 are clamped in locking;
Outside interference set access setting of casing 29 one end of clamping limb 9 under the sample cell, the side wall of setting of casing 29 opens up spiral shell
Pit, lower clamping limb lock screw 10 is threaded into hole, the lower external screw thread of clamping limb lock screw 10 and screwed hole internal thread
It is engaged, locking setting of casing 29 and clamping limb 9 under sample cell, the other end of setting of casing 29 fix lower clamping termination 13, under
The clamping side wall of termination 13 opens up screwed hole, and sample cell bottom lock screw 11 is threaded into hole, sample cell bottom locking screw
11 external screw threads of silk are engaged with screwed hole internal thread, the lower clamping termination 13 of locking and sample cell 1.
Above-mentioned technical proposal has the beneficial effect that:Said apparatus is used to lock sample cell, while ensureing sagging on sample cell
Directly in bottom surface, it is ensured that measurement is accurate.
Described contact-free level measuring system, it is preferred that also include:Anti- light shade flap 7;
The smooth emission cavity 6 installs anti-light shade flap 7 in the edge for installing the other end side plate of hinge, or
Anti- light shade flap 7 is installed in the edge for installing the other end side plate of hinge in the CCD receiving cavity 14, it is described against sunshine
Line shade flap 7 leans out edge along side board edge, by the smooth emission cavity 6 and the seam of the apposition of CCD receiving cavity 14
Gap is covered.
Above-mentioned technical proposal has the beneficial effect that:By the effect of blocking of anti-light shade flap 7, by light emission cavity and
Gap shielding between CCD receiving cavity 14, making the light in the external world can not inject, so as to ensure the accuracy of measurement.
Described contact-free level measuring system, it is preferred that the hinge 3 includes:Calibration hole 23, the first calibration screw
26th, the second calibration screw 27;
The left flabellum 20 of hinge 3 and the right wing leaf 21 of hinge 3 open up N number of calibration hole 23 respectively, by the first calibration screw 26
Penetrate the calibration hole 23 with the second calibration screw 27 and be screwed into side plate, according to the diameter of sample cell 1 adjust the first calibration screw 26,
Second calibration screw 27, makes the smooth emission cavity 6 and CCD receiving cavity 14 smoothly receive light feedback data, N >=2.
Above-mentioned technical proposal has the beneficial effect that:The side of hinge is installed all in light emission cavity and CCD receiving cavity
Calibration hole and calibration screw are set, and so as to the size according to sample pipe diameter, easily adjustment light emission cavity and CCD are received
The gap width clamped between cavity.
Described contact-free level measuring system, it is preferred that the smooth emission cavity 6 includes:Optical transmission circuit plate 17,
The CCD receiving cavity 14 includes:Line array CCD 18 and CCD circuit board for receiving 19;
The optical transmission circuit plate 17 is installed on inside the smooth emission cavity 6, and light letter is launched by optical transmission circuit plate 17
Breath is through light emission cavity outgoing collimating slit 8, and the line array CCD 18 of the CCD receiving cavity 14 is arranged in CCD receiving cavity and entered
Penetrate at collimating slit 16, receive optical information data, line array CCD connection CCD circuit board for receiving 19;
The CCD circuit board for receiving 19 includes:Front-end driven data acquisition module AFE, FPGA, data transmission interface, control
Molding block;
The front-end driven data acquisition module AFE connection line array CCDs, receive the optical information data of line array CCD transmission, complete
Into the double sampled and AD conversion of simulation ccd image signal;The front-end driven data acquisition module AFE other ends connect FPGA,
The FPGA connection data transmission interfaces and control module.
Above-mentioned technical proposal has the beneficial effect that:By the design of foregoing circuit, so as to pass through electron optic mode essence
Sample cell liquid level is really measured, so as to reduce the error of manual measurement, it is ensured that the accuracy of measurement.
Described contact-free level measuring system, it is preferred that the groove shapes include:Trapezoidal or semicircle.
Above-mentioned technical proposal has the beneficial effect that:It is set to trapezoidal groove and ensures light emission cavity and CCD receiving cavity
Sample cell is preferably clamped, it is the increase friction system in order to ensure that groove and sample cell sample cell are brought into close contact to be set to semicircle
Number ensures that the sample cell of light emission cavity and the clamping of CCD receiving cavity is difficult for drop-off.
Invention additionally discloses a kind of contact-free level measuring method, it is it is critical that comprise the following steps:
Step 1, line array CCD and CCD circuit board for receiving to contact-free level measuring system is initialized, and starts to survey
Measure sample cell liquid level;
Step 2, optical transmission circuit plate is opened, by the light emission cavity outgoing collimating slit of light emission cavity to sample cell
Liquid level is irradiated, and the optical information through sample cell is irradiated to line array CCD at the incident collimating slit of CCD receiving cavity, by line
Battle array CCD is judged optical information intensity;
Step 3, according to optical information intensity judgement sample pipe liquid level, M measurement is carried out to liquid level, sample cell liquid is obtained
Position absolute altitude value, M >=3.
Above-mentioned technical proposal has the beneficial effect that:Liquid level is accurately measured by the above method, data processing is quick, frame
Rate is adjustable, and configuration may be selected in data output content.
Described contact-free level measuring method, it is preferred that the step 2 includes:
Step 2-1, when being judged by line array CCD optical information intensity, in the beginning register of configuration line array CCD
Starting position is a high position;
Step 2-2, the optical information intensity gathered to line array CCD carries out interrupt routine judgement, and leading portion driving data is adopted
Collect module and carry out down trigger, simulation optical information signal is converted into digital optical information signal, is transferred to FPGA and carries out height computing.
Above-mentioned technical proposal has the beneficial effect that:Analog signal is converted into data signal, it is ensured that FPGA carries out accurate
Height computing.
Described contact-free level measuring method, it is preferred that the step 3 includes:
Step 3-1, the liquid level height value of collection carries out liquid level computing in FPGA;
Step 3-2, the corresponding pixel of optical information frame data of collection is summed up average;
Step 3-3, makes the difference to adjacent picture elements gray value, and stores the difference into array;
Step 3-4, finds the maximum position of gray scale difference value, obtains the location of initial sample cell liquid level;
Step 3-5, repeat step 3-2 ask for M group data, are averaging, obtain sample cell liquid level exhausted to step 3-4
To height value.
As shown in fig. 6, level gauging head is A:CCD receives head;B:Level gauging master board;C:Data processing centre,
Wherein data processing centre is far-end server or portable set etc., data processing centre complete displacement data reading,
Storage, processing.The mode of digital independent, may be selected wirelessly or non-wirelessly to wait various ways;
Master control borad structure explanation:
Control mainboard is measured, by front-end driven data acquisition module AFE, SOPC operation processing unit FPGA, data transfer
Interface, 4 parts of Valve controlling are constituted.
Wherein AFE, completes the correlated-double-sampling and AD conversion of simulation ccd image signal;
The basic circuit worked as shown in figure 11 for CCD measurement heads, line array CCD TCD1703 and CCD drive signal buffers
It is connected with CCD electrical signal output circuitries, wherein the first electric capacity C1 and the second electric capacity C2 is in parallel, the second electric capacity one end connection electricity
Source 12V other ends ground connection, the OD ends other end connection SS ends of the first electric capacity C1 one end connection line array CCD.
As shown in Figure 12,13, it is CCD electrical signal output circuitries, the conversion of completion CCD serial charges to voltage signal, its
It is connected with line array CCD and AFE, wherein first resistor R1 one end connection power supply, other end connection CCD electrical signal output circuitries OS1
Output end, the first resistor R1 other ends are also connected with the first transistor Q1 emitter stages, the first transistor Q1 base stages connection
3rd resistor R3 one end, the R3 other ends connect CCD electrical signal output circuitry OS1 inputs, the first transistor Q1 collection
Electrode connects the 5th resistance R5 one end, the 5th resistance R5 other ends ground connection;Described second resistance R2 one end connects power supply, separately
One end connects CCD electrical signal output circuitry OS2 output ends, and the second resistance R4 other ends are also connected with second transistor Q2 transmittings
Pole, the second transistor Q2 base stages connect the 4th resistance R4 one end, and the R4 other ends connect CCD electrical signal output circuitries
OS2 inputs, the second transistor Q2 colelctor electrodes connect the 6th resistance R6 one end, the 6th resistance R6 other ends ground connection.
It is CCD drive signal buffer 74HC245 as shown in Figure 14,15, the conversion for completing drive signal level,
It is connected with line array CCD and CCD electrical signal output circuitries, and wherein CCD drive signals buffer is slow including the first CCD drive signals
Device IC2 and the 2nd CCD drive signal buffer IC3 are rushed, wherein the first CCD drive signal buffer VCC ends connect the 3rd electric capacity
C3 one end and the 4th electric capacity C4 one end, the other end ground connection of the C3 and C4, the connection of the 2nd CCD drive signal buffer VCC ends
5th electric capacity C5 one end and the 6th electric capacity C6 one end, the other end ground connection of the C5 and C6.
As shown in figure 17, it is front-end driven data acquisition module AFEAD9943, is adopted for completing the double of ccd output signal
Sample and analog-to-digital conversion, wherein front-end driven data acquisition module AFE and CCD electrical signal output circuitries and main control chip
FPGACON44 is connected, wherein, CCD electrical signal output circuitry OS1 and OS2 output end connection front-end driven data acquisition module AFE
The 13rd electric capacity C13 one end, C13 other ends connection front-end driven data acquisition module AFE CCD inputs are described
After 11st electric capacity C11 and the 12nd electric capacity C12 is in parallel, one end ground connection, C11 other ends connection front-end driven data acquisition module
Block AFE REFB ends, C12 other ends connection front-end driven data acquisition module AFE REFT ends, the 16th electric capacity C16 and the
After 17 electric capacity C17 are in parallel, one end is grounded the AVSS ends with front-end driven data acquisition module AFE, other end difference respectively
Front-end driven data acquisition module AFE AVDD ends and 3.3v power ends is connected, the 18th electric capacity C18 one end connects 3.3v respectively
The DRV ends of power end and front-end driven data acquisition module AFE, other end ground connection, the 19th electric capacity C19 one end is connected respectively
The DRD ends of 3.3v power ends and front-end driven data acquisition module AFE, other end ground connection.
As shown in figure 16, it is carrying FPGA mainboard DIP34*2:
FPGA, embeds 1. noisII kernels and a variety of user logics, including 2. CCD driver' s timings are produced in logic, 3. AFE
Correlated-double-sampling sequential and output timing produce logic, the 4. generation of image frame data synchronous sequence logic, 5. Parallel image data
Collection storage logic, 6. liquid level information or image output module, 7. valve switch are controlled.Logic 2.-be 5. encapsulated in front-end driven
In acquisition module (below figure 6), this module is independently developed logical ip.
As shown in figure 18, the core board for being FPGA, inside includes CCD drive signals module and data processing module, and it leads to
Mainboard and line array CCD and CCD drive signals buffer, AFE modules etc. is crossed to be connected.
As shown in figure 19, it is communication interface MAX3232CSE, it is connected with FPGA and host computer, wherein RS232DB9 connections
Communication interface, the 15th electric capacity C15 one end connection communication interface C1+ ends, the 15th electric capacity C15 other ends connection C1- ends,
14th electric capacity one end connects 3.3v power supplys, other end connection communication interface V+ ends, the 26th electric capacity C26 one end connection communication
Interface C2+ ends, the 26th electric capacity C26 other ends connection C2- ends, the 27th electric capacity C27 one end ground connection, the C27 other ends connect
Connect communication interface V- ends, the 23rd electric capacity C23 one end ground connection, other end connection communication interface VCC ends, the 14th resistance R14
One end connection communication interface Tin1 ends, other end connecting luminous diode TXD negative poles, the light emitting diode TXD positive poles connection
Power supply 3.3v, the 15th resistance R15 one end connection Rout1 ends, other end connecting luminous diode RXD negative poles, described luminous two
Pole pipe RXD positive poles connection power supply 3.3v.
As shown in fig. 7, step 1, is initialized to contact-free level measuring system,
Initialization task:
1.AFE is configured
2. initialization data stores array or address
3.CCD drive module initialization of register
4. the other initialization of software systems;
Step 2, the start positions proceeded by level gauging, configuration CCDSTART registers are height,
Step 3, current level interface location is calculated according to pre-defined algorithm;
Border pixel numbering is extracted, absolute liquid level is calculated;Export liquid level information.
Static measurement flow:
After measurement starts, static level gauging can undergo 3 stages, and such as Fig. 8 is that 1. liquid level analog information in front end is adopted respectively
Collection conversion, 2. liquid level data moves storage in FPGA, and 3. algorithm operation obtains liquid level information in FPGA.Rattled in FPGA
Under RAM assistance, 1. and 2. it can be performed with part parallel.1. 2. after the completion of process, the 3. process that performs is handled.
Exemplified by figure 8 above single measurement, static level gauging workflow is illustrated.Liquid level information is preceding in sample cell
After the detection of end sensor measurement head, analog video signal can be exported in high speed serialization mode, output speed size is decided by front end
The working frequency of sensor head, it is assumed that working frequency is 1MHz, then will export a vision signal per 1us.This liquid
The sensor that level measuring arrangement is equipped with is TCD1703C, comprising 7500 effective video signal elements, is divided into two videos
Interface concurrent is exported, therefore whole signal outputs need 3.75ms.Each vision signal is converted into by AFE(analog front end) device
10bit data signals, to the first stage processing of this completion measurement.Second stage starts, by one of video interface
3750 digital of digital video data storages are into FPGA embedded ping-pong ram, ping-pong ram depth 512, as one in ping-pong ram
After RAM storages are full, front-end driven data acquisition module can trigger interrupt output to nios cores in FPGA, and nois cores receive interruption
Read storage afterwards has expired in video data and the storage in RAM, data Cun Chudao another RAM next changed, repeats this
Process, storage is moved until 3750 data of completion.Phase III emphasis is that operation liquid level algorithm computing obtains liquid level
Information.
Dynamic measurement procedure:
Dynamic measurement procedure is similar with static measurement flow, unlike, if continuously repeating static measurement, so that it may obtain
The change information of liquid level, management and application for liquid level change information in sample cell can obtain industrial process status information.
Dynamic liquid level measurement includes 4 stages:1. front end liquid level analog information collection conversion, 2. liquid level data moves storage in FPGA,
3. algorithm operation obtains liquid level information in FPGA, 4. Liquid level.Such as Fig. 9.
As shown in Figure 10, the oscillogram detected by contact-free level measuring system, liquid is determined according to the intensity of light
The height of position.
Beneficial effects of the present invention:
1 compact conformation is compact, and portability is strong, and automaticity is high, and installation and removal are easy, with wide applicability,
Indoor or open air can be used;
2 non-contact measurements, are adapted to the liquid level of high pressure, inflammable and explosive, high toxicity and the high workplace of purity requirement
Detection;
3 low-power consumption, can be powered using various ways, battery, photovoltaic, civil power;
4 data processings are quick, and frame per second is adjustable, and configuration may be selected in data output content;
5 have wireless data transfer capability, can detect data with collection in worksite, can also be long-range by wireless transmitting system
Transmission.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described
Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not
In the case of departing from the principle and objective of the present invention a variety of change, modification, replacement and modification can be carried out to these embodiments, this
The scope of invention is limited by claim and its equivalent.