A kind of ultrasonic thickness measurement instrument B-type scanning and display method and audiogage thereof
Technical field
The invention relates to ultrasonic thickness measurement scanning display technique, is a kind of ultrasonic thickness measurement instrument B-type scanning and display method and audiogage thereof specifically.
Background technology
Audiogage is the instrument that carries out thickness measure according to the ultrasonic pulse principle of reflection, when the probe ultrasonic waves transmitted pulse of audiogage arrives two kinds of different materials interphases by testee, pulse is reflected back toward probe, and the time of propagating in material by accurate measurement ultrasound wave is determined the thickness of measured material.
Waveform shows that class (A sweep, B scanning) audiogage is a class in the audiogage series of products.Type B shows with respect to amplitude modulation(PAM) A type to show it is that a kind of briliancy modulation shows, can show the cross section figure by mobile straight line of probe and the decision of probe transmit beam axis.Its horizontal ordinate shows the position of probe, and ordinate shows the propagation distance of probe launching beam, i.e. the degree of depth of measuring workpieces, and Type B shows can be converted into the thickness reading understandable X-Y scheme.
Please refer to Fig. 1, be a kind of Type B audiogage, it includes fuselage 11, liquid crystal display 12, keyboard 13, probe 14, receiver socket 15, emission socket 16.Its ultimate principle probe 14 emission ultrasonic pulses of serving as reasons arrive testees and propagate in object, are reflected back toward probe when arriving material interface, determine the thickness of measured material by the accurate travel-time of measurement ultrasound wave in material.By keyboard 13 input instructions, transmit to visiting first by emission socket 16, feed back to processing unit by probe emission ultrasonic pulse and with the ultrasonic pulse reflected signal by receiver socket 15, signal is shown by liquid crystal display 12 through the data that processing obtains.
Please refer to Fig. 2, theory diagram for existing audiogage, wherein, give processing unit 21 by keyboard 23 input instructions, extremely pop one's head in by processing unit control radiating circuit 24 output electric pulses, the excitation piezoelectric chip produces pulse ultrasonic wave, ultrasound wave forms repeatedly reflection between the testee upper and lower surface, reflection wave is transformed into electric signal through piezoelectric chip, after amplification integeral type circuit 26 amplifies integer, be sent to sample circuit 27, read and be sent to processing unit after the measurement data in the sample circuit 27 and handle, and export end product to LCDs 22.
Lcd technology has adopted the mode of " active-matrix " to drive.Method is the electric crystal electrode that utilizes thin film technique to make, and utilizes method for scanning " on one's own initiative " to control the Push And Release of any one display dot.Upwards appear by following Polarizer earlier during light source irradiation, by the liquid crystal molecule conducting light.During electrode conduction, the Liquid Crystal Molecules Alignment state can change, and reaches the purpose of demonstration by shading and printing opacity.Because transistor has capacity effect, can keep potential state, the liquid crystal molecule of printing opacity can keep this state always, till electrode powers up its arrangement mode of change next time again.Liquid crystal all is provided with a semiconductor switch for each pixel, because each pixel can directly be controlled by a pulse, the display driver time of all pixels has determined the refreshing frequency and the response time of liquid crystal display.
Because it is to adopt from left to right or visual from right to left method of passing that B-scan shows, need constantly refresh the viewing area, traditional design adopts passing method in display buffer to realize that scanning shows, data translation and liquid crystal display are carried out in whole display buffer, need pass the display buffer data, carry out liquid crystal display simultaneously, data are passed process as shown in Figure 3.
Adopt the display buffer to carry out data translation and liquid crystal display method, need to drive a fairly large number of semiconductor switch, limited the refreshing frequency and the response speed of liquid crystal display.
Summary of the invention
The objective of the invention is to, the method and system that provide a kind of B-scan to show, in order to the low and slower situation of response speed of screen refresh rate that overcomes existing display packing and system, provide a kind of can bigger raising audiogage B scanning software display speed, it is more smooth to make the user observe, shorten detection time, and can on common liquid crystal display, realize the Type B software display effect of high-end liquid crystal display, reduced the method and system of the cost of audiogage.
The invention provides a kind of audiogage briliancy modulation display packing, this method may further comprise the steps: the current video data of reading displayed position and history display data; Compare with current video data and history display data; If current video data greater than the history display data, then shows a recruitment at described display position place; If current video data less than the history display data, then shows a reduction at described display position place.Described video data is stored.
The display format of described recruitment is: the increment of a high briliancy; The display format of described reduction is: the overlay capacity of a low briliancy.
Described method also comprises: the default position of triangle sign indication of adopting a high briliancy; Read the current location data and the historical position data of described triangle sign; Compare with current location data and historical position data; If the triangle of current location sign is presented at a side of the triangle sign of historical position, and not overlapping with the triangle sign of historical position, the triangle that then covers historical position identifies, and shows the triangle sign of current location; If the triangle of current location sign is presented at a side of the triangle sign of historical position, and lap is arranged with the triangle sign of historical position, then cover in the triangle sign of historical position and current location triangle sign non-overlapping portions, and show the triangle sign of current location; The position data of storage triangle sign.Reduced the renewal zone that shows the memory block like this, by the method for partial refresh viewing area, can realize displaying contents faster, and can prevent to show flicker, actual effect is better.Can also guarantee the integrality and the application of display effect.
The present invention also provides a kind of audiogage, and this audiogage comprises: processor, display screen, ultrasonic transmitter, harvester and probe; Described display screen is connected with processor, and described probe is connected with processor by ultrasonic transmitter, harvester; Described audiogage also comprises: the video data reading unit, be connected with processor, and be used for the current video data and the history display data of reading displayed position; The video data comparing unit is connected with processor, is used for described current video data and history display data are compared; If current video data greater than the history display data, then shows a recruitment at described display position place; If current video data is less than the history display data, then described display position place shows a reduction.Storer is used to store video data.
The display format of described recruitment is: the increment of a high briliancy; The display format of described reduction is: the overlay capacity of a low briliancy.
Described audiogage also comprises: described video data reading unit reads the current location data and the historical position data of triangle sign; Described video data comparing unit compares with current location data and historical position data; If the triangle of current location sign is presented at a side of the triangle sign of historical position, and not overlapping with the triangle sign of historical position, the triangle that then covers historical position identifies, and shows the triangle sign of current location; If the triangle of current location sign is presented at a side of the triangle sign of historical position, and lap is arranged with the triangle sign of historical position, then cover in the triangle sign of historical position and current location triangle sign non-overlapping portions, and show the triangle sign of current location; The position data of described memory stores triangle sign.
Description of drawings
Fig. 1 is a kind of Type B audiogage;
Fig. 2 is existing audiogage theory diagram;
Fig. 3 carries out the synoptic diagram of data translation process for the display buffer;
Fig. 4 is an audiogage theory diagram of the present invention;
Fig. 5-A is the synoptic diagram of the method B scanning former frame from right to left of data setting-out and triangle sign;
Fig. 5-B is the synoptic diagram of a method B scanning back frame from right to left of data setting-out and triangle sign;
Fig. 5-C is the synoptic diagram of the method B scanning former frame from left to right of data setting-out and triangle sign;
Fig. 5-D is the synoptic diagram of a method B scanning back frame from left to right of data setting-out and triangle sign;
Fig. 6 is the principle of work process flow diagram of data display method of the present invention;
Fig. 7 is the principle of work process flow diagram of triangle identification display method of the present invention.
Embodiment
The present invention adopts the method for a kind of show improvement and covering, promptly current data and the historical data to the B that will carry out scanning display position compares, if current data greater than historical data, then increases demonstration, if current data less than historical data, then covers demonstration.Reduced the renewal zone that shows the memory block like this, by the method for partial refresh viewing area, can realize displaying contents faster, and can prevent to show flicker, actual effect is better.
The triangle sign that same display position is demarcated, also adopt and show the method that covers, adopt the specific region to cover for historical rudiment, currency or maximin for ad-hoc location carry out the indication of triangle sign, utilization is wiped the related function of triangle sign and is realized, for preventing in showing the mobile update process, scintillation appears, adopt the method for deleting outside the specific region, utilize the related function of mobile triangle sign to realize the outer small area of triangle sign is wiped, the indication of triangle sign is carried out in the currency or the maximin position of test in conjunction with the related function of drawing the triangle sign.
In Fig. 4, theory diagram for audiogage of the present invention, wherein, give processing unit 21 by keyboard 23 input instructions, extremely pop one's head in by processing unit control radiating circuit 24 output electric pulses, the excitation piezoelectric chip produces pulse ultrasonic wave, ultrasound wave forms repeatedly reflection between the testee upper and lower surface, reflection wave is transformed into electric signal through piezoelectric chip, after amplification integeral type circuit 26 amplifies integer, be sent to sample circuit 27, be sent to processing unit after reading the measurement data in the sample circuit 27, show the current video data and the history display data of number reading unit 28 reading displayed positions, video data comparing unit 29 more current video data instrument history display data, if current video data greater than the history display data, then shows a recruitment at described display position place; If current video data less than the history display data, then shows a reduction at described display position place.And export end product to LCDs 22.Storer 30 is used to store current video data and history display data.
As Fig. 5-A, among Fig. 5-B, the B direction of scanning is from right to left, and Fig. 5-A is the synoptic diagram that the method for data setting-out and triangle sign is carried out the former frame of B scanning demonstration, and Fig. 5-B is that the method for data setting-out and triangle sign is carried out the synoptic diagram that B scans a back frame that shows.Wherein, direction of arrow indication B direction of scanning is from right to left, adopts the method for data setting-out, and historical data is carried out B scanning from left to right and shown.At a place, the current data and the historical data of display position compare, and current data is measured thickness II and measured thickness I greater than historical data, increases demonstration, and then measuring thickness I at a place display position increases the thickness demonstration that thickness II deducts thickness I; At the b place, the current data and the historical data of display position compare, and current data is measured thickness I and measured thickness II less than historical data, covers demonstration, and then at the b place, display position is measured the thickness demonstration that thickness II cladding thickness II deducts thickness I.As Fig. 5-A, among Fig. 5-B, the indication of triangle sign is a maximal value in the current data of c place display position, promptly measure first measurement data of thickness III, the triangle sign is followed in this measurement data moving process from left to right, adopt to show the method that covers, adopt the specific region to cover for historical rudiment.The related function that utilizes mobile triangle to identify is realized the outer small area of triangle sign is wiped, and in conjunction with the related function of drawing the triangle sign maximum value position of testing is carried out the indication of triangle sign.
As Fig. 5-C, among Fig. 5-D, the B direction of scanning is from left to right, and Fig. 5-C is the synoptic diagram that the method for data setting-out and triangle sign is carried out the former frame of B scanning demonstration, and Fig. 5-D is that the method for data setting-out and triangle sign is carried out the synoptic diagram that B scans a back frame that shows.Wherein, direction of arrow indication B direction of scanning is from left to right, adopts the method for data setting-out, and historical data is carried out B scanning from right to left and shown.At a place, the current data and the historical data of display position compare, and current data is measured thickness I and measured thickness II less than historical data, covers demonstration, and then at a place, display position is measured the demonstration that thickness II cladding thickness II deducts thickness I; At the b place, the current data and the historical data of display position compare, and current data is measured thickness II and measured thickness I greater than historical data, increases demonstration, and then measuring thickness I at b place display position increases the thickness demonstration that thickness II deducts thickness I.As Fig. 5-C, among Fig. 5-D, the indication of triangle sign is a maximal value in the current data of c place display position, promptly measure first measurement data of thickness III, the triangle sign is followed in this measurement data moving process from right to left, adopt to show the method that covers, adopt the specific region to cover for historical rudiment.The related function that utilizes mobile triangle to identify is realized the outer small area of triangle sign is wiped, and in conjunction with the related function of drawing the triangle sign maximum value position of testing is carried out the indication of triangle sign.
Because the arm processor processing speed is very fast, therefore the time that the program runtime that carries out data processing and liquid crystal display drive can improve B scanning demonstration refreshing frequency and response speed to shorter; For guaranteeing the integrality and the application of display effect, also designed and repainted the background dot function, repaint the alarm set point function, to the method affect of show improvement or covering to the parameter background show.
To contrast accompanying drawing below, technical scheme of the present invention will be elaborated.
In Fig. 6, step 100: read current video data and history display data.Step 101: compare with current video data and history display data, if current video data greater than the history display data, then execution in step 102, if current video data less than the history display data, then execution in step 103.Step 102: calculate the increment of video data, deduct the history display data with current video data.Step 104, output increment data increase video data on display.Step 103: calculate overlay capacity, both covered the history display data with current video data.Step 105: output covers shows signal, covers video data on display.Step 106: the data of record display position.Step 107: jump to next display position,, otherwise finish if also have data then execution in step 100.
In Fig. 7, step 200: read triangle sign current location data and historical position data.Step 201: compare with current location data and historical position data, if current location data on the right side of historical position data, then execution in step 202.If current location data is in the left side of historical position data, then execution in step 203.Step 202: the triangle that moves right sign.Step 203: be moved to the left the triangle sign.Step 204: export the triangle identification data that moves right, on display, show to move right.Step 205: output is moved to the left the triangle identification data, shows to be moved to the left on display.Step 206: record triangle home position data.Step 207: if the triangle home position data that also have to need show then execution in step 200, otherwise finish.