Summary of the invention
The problem existing in order to solve above-mentioned prior art, the present invention aims to provide a kind of digital B-D test judgement system, to avoid artificial subjectivity, the instability causing of judging, B-D test result is judged in the source of monitoring from sterilizing objective and accurately, and is convenient to inquire about test result.
A kind of digital B-D test judgement system of the present invention, it comprises:
Casing;
Be arranged on described casing inner bottom part for placing the pallet of B-D test paper;
Be fixedly connected on described casing inner top for taking the imaging device of the pattern of described B-D test paper, wherein, described pattern comprises the image of effective color change interval of described B-D test paper and the image of the barcode size or text field of described B-D test paper;
Be fixedly connected on the annular light source of described imaging device bottom outer rim;
Be connected to the seal apparatus of described casing inner top;
Be arranged on the control panel in described casing, it is connected with described imaging device, annular light source and seal apparatus respectively; And
Computing machine with described control panel communication connection, it controls the keying of described imaging device on the one hand by described control panel, and receive the pattern of the described B-D test paper of this imaging device output, thereby according to the image of effective color change interval of described B-D test paper, the color of effective color change interval of described B-D test paper and distribution consistency degree thereof are carried out quantitative test and stored corresponding B-D test result; It controls the keying of described annular light source on the other hand by described control panel; Its another aspect is controlled described seal apparatus according to described B-D test result by described control panel and on described B-D test paper, is added a cover the corresponding printed words that represent described B-D test result.
In above-mentioned digital B-D test judgement system, described computing machine comprises:
With the acquisition module that described control panel is connected, it,, according to the triggering command of a control module output, exports acquisition instructions by described control panel to described imaging device, and gathers the pattern of the described B-D test paper of described imaging device output;
With the processing module that described acquisition module is connected, it carries out quantitative test and obtains described B-D test result the color of effective color change interval of described B-D test paper and distribution consistency degree thereof according to the image of effective color change interval of described B-D test paper;
The marking module being connected with described processing module, it obtains the test paper mark for the judgement situation of the described B-D test paper of explanation directly perceived according to described B-D test result calculations;
The reading code module being connected with described acquisition module, its image according to the barcode size or text field of described B-D test paper obtains the corresponding bar code information of described B-D test paper;
The result pattern output module being connected with described reading code module and marking module, its bar code information according to described test paper mark and described B-D test paper is stored the result pattern of the described B-D test result of corresponding expression, and stores the pattern of the described B-D test paper of described imaging device output; And
The described control module being connected with described control panel and described processing module, it controls the keying of described annular light source on the one hand by described control panel; It is controlled described seal apparatus according to described B-D test result by described control panel on the other hand and on described B-D test paper, adds a cover the corresponding printed words that represent described B-D test result.
In above-mentioned digital B-D test judgement system, described judgement system also comprises the warning device that is fixedly connected on described casing inner top, it is connected with described control panel, and described computing machine is controlled described warning device according to described B-D test result by described control panel and sent corresponding alarm song.
In above-mentioned digital B-D test judgement system, described warning device is hummer.
In above-mentioned digital B-D test judgement system, the optical lens that described imaging device comprises CMOS camera and is threaded in this CMOS camera below.
In above-mentioned digital B-D test judgement system, two pieces of seals that described seal apparatus comprises electromagnet and is connected with this electromagnet.
In above-mentioned digital B-D test judgement system, described annular light source is the LED light source that sends white light.
In above-mentioned digital B-D test judgement system, described pallet is tray drawn along axis type.
Owing to having adopted above-mentioned technical solution, the present invention is by adopting imaging device to take the pattern of B-D test paper, and by computing machine, the color of effective color change interval of B-D test paper and distribution consistency degree thereof are carried out to quantitative test, thereby accurately judge whether B-D test is qualified, and real-time storage judged result is for inquiry; In addition, the present invention also affixes one's seal clearly show test results on B-D test paper by seal apparatus according to B-D test result on B-D test paper, thereby has avoided the possibility of practicing fraud.
Embodiment
Below in conjunction with accompanying drawing, provide preferred embodiment of the present invention, and be described in detail.
As shown in Figure 1, the present invention, a kind of digital B-D tests judgement system, and it comprises:
Casing 1;
Be arranged on casing 1 inner bottom part for placing the tray drawn along axis type 2 of B-D test paper (not shown);
Be fixedly connected on casing 1 inner top for taking the imaging device of the pattern of B-D test paper, wherein, pattern comprises the image of effective color change interval of B-D test paper and the image of the barcode size or text field of B-D test paper; In the present embodiment, imaging device comprises CMOS camera 3 and the optical lens 4 that is threaded in these CMOS camera 3 belows by bayonet socket;
Be fixedly connected on the annular light source 5 of imaging device bottom outer rim (being optical lens 4), in the present embodiment, annular light source 5 is for sending the LED light source of white light;
Be connected to the seal apparatus of casing 1 inner top, in the present embodiment, seal apparatus comprises electromagnet 7 and two pieces of seals 8 that are connected with this electromagnet 7;
Be fixedly connected on the warning device 9 of casing 1 inner top, in the present embodiment, warning device 9 is hummer;
Be arranged on the control panel 6 in casing 1, it is connected with CMOS camera 3, annular light source 5, seal apparatus and the warning device 9 of imaging device respectively; And
With the computing machine of control panel 6 communication connections, it specifically comprises:
The acquisition module 11 being connected with control panel 6, it,, according to the triggering command of control module 12 outputs, exports acquisition instructions by control panel 6 to imaging device, and gathers the pattern of the B-D test paper of imaging device output;
The processing module 13 being connected with acquisition module 11, it carries out quantitative test and obtains B-D test result the color of effective color change interval of B-D test paper and distribution consistency degree thereof according to the image of effective color change interval of B-D test paper, specifically, the variation of test paper color is corresponding affects the variation of the transmitting flow that imaging device receives, the transmitting flow of the reactant that intensity of variation is different and enzyme reaction thing is different, result specific to imaging device is exactly the color difference that the different reactant of intensity of variation and enzyme reaction thing present, and defective test paper change color is inhomogeneous often, thereby make the reactant region of a test paper present different colors, be that change color is inhomogeneous, otherwise, if change color evenly, represents test passes, therefore control device can judge that by the color of effective color change interval of B-D test paper and distribution consistency degree thereof are carried out to quantitative test whether test is qualified,
The marking module 14 being connected with processing module 13, it obtains the test paper mark for the judgement situation of explanation B-D test paper directly perceived according to B-D test result calculations;
The reading code module 15 being connected with acquisition module 13, its image according to the barcode size or text field of B-D test paper obtains the corresponding bar code information of B-D test paper;
With the result pattern output module 16 that reading code module 15 and marking module 14 are connected, its bar code information according to test paper mark and B-D test paper is stored the result pattern of corresponding expression B-D test result, and stores the pattern of the B-D test paper of imaging device output; And
The control module 12 being connected with control panel 6 and processing module 13, it controls the keying of annular light source 5 on the one hand by control panel 6; It is controlled seal apparatus according to B-D test result by control panel 6 on the other hand and on B-D test paper, adds a cover the corresponding printed words that represent B-D test result; Its another aspect is controlled warning device 9 according to B-D test result by control panel 6 and is sent corresponding alarm song.
In the present embodiment, CMOS camera 3 by mini USB line by clap Digital Image Transmission to control device, for obtaining reflectance spectrum strength information, the CMOS camera 3 of use possesses wide spectral response characteristic; Optical lens 4 is for converging to CMOS camera 3 for taking pictures by the light of B-D test paper reflection; Annular light source 5 is fixed on around optical lens 4, thus can transmitting white evenly to illuminate B-D test paper; Electromagnet 7 provides power for seal 8, between electromagnet 7 and seal 8, by light plastic bar, be connected, thereby play gearing, two pieces of seals 8 are printed on respectively " YES " and " NO " two kinds of printed words, after each B-D test paper judgement, under the control of computing machine and control panel 6, according to B-D test result, on B-D test paper, affix one's seal, qualified B-D test paper lid " YES ", otherwise lid " NO "; Warning device 9 sends different sound with reminding user according to each B-D test result, for example, when judgement B-D test paper is qualified, rings, and when defective, cipher is twice; Control panel 6 is positioned at casing 1 rear portion, near the rear plate of dismountable casing 1, and vertically places, and is welded with control chip and controls components and parts etc. on it; Computing machine and control panel 6 communicate by Serial Port Line; The mini USB line of CMOS camera 3, the Serial Port Line of controlling version 6 are integrated on a USB line by a USB Hub, thus this root USB line be connected on computing machine, realize with the communication of computing machine be connected.
The course of work of the present invention is as follows:
Each connection of using the front checkout facility of this judgement system, comprises power supply, USB line etc.; After equipment connection completes, start judgement system, start the power knob of judgement system top; After control panel is connected with computing machine, whether control module sends instruction (0xaa) test initialization correct, if there is no rreturn value, illustrates that USB line does not connect or USB mouth arranges mistake, and computing machine ejects prompt window and points out; If return to dissimilar rreturn value (0xbb), USB line exact connect ion is described, and com port arranges correctly, but power knob not yet open, computing machine pop-up window is pointed out; If return to rreturn value of the same type (0xaa), illustrate that USB line connects, COM arranges correctly, and power knob is also opened, and initialization is complete.
After initialization, control module send instruction (0x01) to control panel to open annular light source, thereby prepare to carry out the shooting of B-D test paper to be measured; Now, extract pallet out, B-D test paper to be detected is put into pallet upward, then pallet is pushed to casing; When test paper to be measured on test paper pallet, place complete and pushed machine intimate after, by control module triggering collection module, make acquisition module send acquisition instructions to COMS camera, CMOS camera is to its response and gather the pattern of B-D test paper to be measured, and the pattern of the B-D test paper to be measured collecting is admitted to processing module and reading code module; After taking pictures, control module is closed annular light source by control panel.
Reading code module detects four of the pattern of B-D test paper angular zones, to the region of bar code being detected, intercept, and the bar code area area image of intercepting is carried out to the processing such as image binaryzation, image sharpening, finally the bar code pattern in the barcode size or text field after processing is read, obtain being shown to after bar code information computer interface " test paper information is " in frame.
Processing module intercepts the effective color change interval in the pattern of B-D test paper to be measured, and effective color change interval image of intercepting is carried out to the operations such as relative reflectance spectrum calculating, by " reflectance spectrum homogeneity relatively " algorithm, obtains judged result; Specifically, " reflectance spectrum homogeneity relatively " algorithm is according to ISO11140-3-2007 and ISO11140-4-2007 standard, by analyzing the homogeneity of relative reflectance spectrum intensity and realizing the quantitative test to chemical indicator change color in conjunction with secondary decision mechanism, and finally obtain whether high-temperature steam infiltration detection B-D test is passed through and concrete score (50 minutes are above is qualified), wherein:
" reflectance spectrum intensity relatively " is defined as: its physical essence of the change color of chemical indicator is the variation of absorption spectrum or the variation of reflectance spectrum under fixedly incident optical condition, and the imaging device in the present invention can obtain the information of chemical indicator reflectance spectrum intensity.Under fixing incident illumination condition, Φ
cthe reflectance spectrum intensity of Zhong Mou position, the test paper space chemical indicator that expression detects, Φ
cerefer to from closing on the reflectance spectrum intensity of enzyme reaction thing (non-transformation region), " reflectance spectrum intensity relatively " is defined as follows:
D
Rf=-log
10R
f
R
f=Φ
c/Φ
ce
Wherein, D
rffor (unchanged) reactant of variation and the associated reflections density of enzyme reaction thing;
High-temperature steam infiltration detects in B-D test, and on test paper, the variation homogeneity of the relative reflectance spectrum intensity of chemical indicator is the leading indicator of judging whether test is passed through.Here " homogeneity " refers under fixing incident illumination condition, the homogeneity condition of whether component of reflectance spectrum in particular range of wavelengths meets following " one-level judgement " and " secondary judgement ";
" one-level judgement " refers to the relative reflectance spectrum Strength Changes of each pixel of chemical indicator region in test paper plane added up, respectively for 350nm~450nm, 450nm~550nm, tri-wavelength coverages of 550nm~650nm, whether the method for rebuilding by weighting, surpass with the standard deviation STD of the relative reflectance spectrum intensity of all pixels the threshold range of setting and judge.This threshold range is [STD
min, STD
max], if STD is less than STD
minjudge B-D stand the test, and determine score (being greater than 60 minutes) according to the value of STD; If STD is greater than STD
maxjudge that B-D test is defective, and determine score (being less than 40 minutes) according to the value of STD;
" secondary judgement " refers to that situation that cannot be definite for " one-level judgement " (is that STD is in threshold range [STD
min, STD
max] in), for 350nm~450nm, 450nm~550nm, tri-wavelength coverages of 550nm~650nm, the method of rebuilding by weighting, the all pixel distribution in chemical indicator region are carried out to statistic histogram analysis, use normal distribution matching actual count data, according to the coefficient of skewness in fitting parameter (Skewness) and coefficient of kurtosis (Kurtosis), whether meet threshold condition and judge whether B-D test is qualified, determines to obtain score value (between 40~60 minutes) according to the weighted value of the coefficient of skewness and coefficient of kurtosis simultaneously.
Marking module is judged to be in processing module the numerical value calculating in calling processing procedure after qualified or defective to B-D test paper, reactant region each pixel RGB component standard deviation of for example calculating in color distribution Uniformity Analysis calculates or the reactant area pixel distribution histogram analysis result in pixel distribution histogram analysis is calculated, according to these evaluations, calculate and obtain a test paper mark that scope is 0~100, for being described intuitively, test paper judges situation, and this test paper mark is as a result of exported, be presented at computer interface " test paper mark is " in a hurdle.
Processing module is processed the pattern of B-D test paper to be measured through series of computation after, obtain test result corresponding to this B-D test paper to be measured: (1) is if test paper is judged to be when qualified, control module sends command adapted thereto (0x03), hummer is rung once, green light flicker 1 time, successfully receives rreturn value of the same type (0x03) if operate; (2) defective if test paper is judged to be, control module sends command adapted thereto (0x04), and hummer is rung 2 times, and blinking red lamp 1 time, successfully receives rreturn value of the same type (0x04) if operate; (3) if equipment Inspection is to abnormal (cannot take such as CMOS camera etc.) in decision process, control module sends another instruction (0x05), and hummer is rung 4 times, and blinking red lamp 4 times, successfully receives rreturn value of the same type (0x05) if operate; In addition, if result of determination is qualified, control module also sends instruction (0x06), makes electromagnet response, and makes seal on B-D test paper, cover " YES " printed words, returns to description operation success of rreturn value of the same type (0x06); If result of determination is defective, control module sends another instruction (0x07), makes electromagnet response, and makes another seal on B-D test paper, cover " NO " printed words, returns to description operation success of rreturn value of the same type (0x07).
The pattern of the B-D test paper that process is judged is admitted in result pattern output module, judgement each time all can be exported two patterns under the specified path of computing machine, and with whether qualified (test paper mark), bar code information, the detection dates etc. are as the preservation title of these two patterns, wherein, a pattern is that CMOS camera is taken and the original pattern of the corrected B-D test paper of process light field, another is treated result pattern, if test paper is judged as in underproof situation after color distribution Uniformity Analysis calculates, processing module is preserved after the defective part in the reactant region of pattern is filled with redness, the processing pattern that all the other situations are preserved is visually consistent with test paper original pattern.
In sum, the present invention is by high-precision reflectance spectrum imaging device, annular light source and reliably communication mechanism also pass through " reflectance spectrum homogeneity relatively " Algorithm Analysis, quantitative judgement and the automated analysis of B-D test chemical indicator have been realized, the present invention possesses high reliability and highly sensitive feature, can effectively make up conventional macroscopic and observe the weak point of passing judgment on, as: human eye vision illusion, resolution is not high, experience dependence is strong, cannot quantitatively wait, the sense traceability system combination of Hai Keyu of the present invention institute, the performance state of sterilizing pan is carried out to Continuous Tracking, monitoring and early warning.
Above-described, be only preferred embodiment of the present invention, not in order to limit scope of the present invention, the above embodiment of the present invention can also make a variety of changes.Be that simple, the equivalence that every claims according to the present patent application and description are done changes and modify, all fall into the claim protection domain of patent of the present invention.The present invention not detailed description be routine techniques content.