A kind of detector gate test macro with full-automatic discrimination function
Technical field
The present invention relates to human body safety check technical fields, and in particular to a kind of detector gate survey with full-automatic discrimination function
Test system.
Background technique
In human body safety check field, metal detection door and radiation detection door are relatively common test equipments, are referred to as safety check
Door.
Metal detection door is widely used in for testing whether the person carries metal weapon and metal contraband
The biggish public place of the stream of peoples such as airport, station, convention.These equipment are required to carry out the test job of detectivity,
It is all manually to be surveyed using standard testing people or using the tools such as nonmetallic reference test bar carrying tester across door body at present
Examination.On the one hand to the more demanding of standard testing people, another party's dough figurine is difficult accurately to control test existing test method
Positioning, posture and the movement velocity of object, data are less reliable, and time-consuming and laborious.
Radiation detection door is the device whether the test person carries radioactive substance, is for preventing entry and exit and native country
A kind of rays safety detection apparatus of interior radioactive substance illegally shifted gradually is applied to customs, airport, convention playground.
For radiation detection gate test, traditional putting is that tester carries tester progress manual testing, and there is only above-mentioned for this method
Outside the shortcomings that mentioning, because its tester category radioactive substance can be certain caused by the health to tester harm.
Summary of the invention
In view of the deficiencies of the prior art, the present invention is intended to provide a kind of safety check gate test with full-automatic discrimination function
System may be implemented the automation of test, and have full-automatic discrimination function, can effectively improve testing efficiency, avoids testing
Personnel come to harm.
To achieve the goals above, the present invention adopts the following technical scheme:
A kind of detector gate test macro with full-automatic discrimination function, including host computer, Z axis vertical linearity mould group, X
The linear mould group of shaft horizontal line mould group, Y-axis feeler arm, tester fixture, industrial camera and control device;The industrial camera
With control device communication connection in the host computer, the control device control is connected to the Z axis vertical linearity mould group, X-axis
The linear mould group of horizontal linearity mould group, Y-axis feeler arm, the X-axis horizontal linearity mould group transmission connection is in the Z axis vertical linearity
Mould group, the linear mould group transmission connection of Y-axis feeler arm is in the X shaft horizontal line mould group;The tester fixture with it is described
The linear mould group transmission connection of Y-axis feeler arm.
Further, optical filter is installed before the camera lens of the industrial camera.
Further, the optical filter is Red lightscreening plate.
Further, the control device includes PLC module and servo-driver, and the PLC module distinguishes communication connection
In the host computer and servo-driver, it is horizontal that the servo-driver control is connected to the Z axis vertical linearity mould group, X-axis
Linear mould group, the linear mould group of Y-axis feeler arm;The PLC module communication connection is in the host computer.
Further, the industrial camera is set to the top of the Z axis vertical linearity mould group.
Further, it is visited in the bottom of the Z axis vertical linearity mould group, the middle of X-axis horizontal linearity mould group, Y-axis
The position of the starting point of the linear mould group of test arm is equipped with origin switch at detection origin;The Z axis vertical linearity mould group and X-axis
Horizontal linearity mould group both ends are respectively equipped with travel switch;The origin switch and travel switch are electrically connected at the control dress
It sets.
The detector gate test macro that the present invention also provides a kind of using above-mentioned with full-automatic discrimination function carries out detector gate
The method of test, includes the following steps:
S1, detector gate test macro is placed in the indoor environment without strong light direct beam, is powered on;
S2, the setting test information in host computer, the test for metal detection door, test information includes test point position
It sets, test speed, test stroke, testing time, time interval, tester, tester posture;Survey for radiation detection door
Examination, test information include test point position, passage speed, test stroke, testing time, stop place, residence time, test
Object and tester posture;
S3, host computer are sent to control device resets control instruction, and control device controls X-axis according to control instruction is resetted
The linear mould group of horizontal linearity mould group, Y-axis feeler arm and Z axis vertical linearity mould group reset, so that the linear mould group fortune of Y-axis feeler arm
Row to detection origin position, i.e., the bottom of Z axis vertical linearity mould group, X-axis horizontal linearity mould group middle;
S4, place detector gate to be measured: respectively pad puts chock under the end of two columns of detector gate to be measured, and ensures Y-axis
The linear mould group of feeler arm passes perpendicularly through the door body detecting area of detector gate to be measured, and tester fixture can pass through the detection original
Point;
S5, the test posture of tester setting is fixed on tester fixture;
The test information that S6, host computer are arranged according to step S2 sends testing and control instruction, the control to control device
Device is instructed according to testing and control, control X-axis horizontal linearity mould group, the linear mould group of Y-axis feeler arm and Z axis vertical linearity mould group
Operation, so that tester is made past according to for test information set by metal detection gate test or radiation detection gate test
Return the linear motion of door body detecting area;During tester straight line each time passes through door body detecting area, industrial camera is all
Image Acquisition can be carried out to detector gate to be measured and sends supreme position machine, the host computer handles the image collected,
Whether detection judges the alarm lamp of detector gate to be measured to show on item has warning light to light, and detects the alarm signal lighted
The position of signal lamp, and test result record is generated, while test result being shown;Host computer will be surveyed after being completed
The test information of examination and all test results record are all stored in database.
Further, it in step S2, when the type of detector gate to be measured is metal detection door, is tested in upper computer selecting
Based on testing standard, after selection, host computer according to test method preset in selected testing standard match it is corresponding
Test information, including test point position, test speed, test stroke, testing time, time interval, tester, tester appearance
State;When the type of detector gate to be measured is radiation detection door, then the test item of the progress required for upper computer selecting, described
Test item includes that the test of system detectivity, systematic vertical sensitivity uniformity test and static system detection efficient are surveyed
Examination, and testing standard based on test is selected, host computer is matched according to test method preset in selected testing standard
Corresponding test information, the test information include test point position, passage speed, test stroke, testing time, stop place
It sets, residence time, tester and tester posture.
Further, after step S4, before S5, also there is calibration steps, specifically:
Start calibration function in host computer, the alarm lamp of detector gate to be measured is then made to show whole alarm signals on item
Signal lamp is lighted, and industrial camera is to the image for obtaining detector gate to be measured and is transmitted to host computer;The host computer to image at
Reason determines that the alarm lamp of detector gate to be measured shows the position range of the warning light on item.
Further, after the completion of test, the test result record in database is exported as test report by the host computer
Table calculates detector gate to be measured to test according to the number alarmed in testing time and testing time in testing journal sheet automatically
The detectivity of object.
The beneficial effects of the present invention are:
1, detector gate test macro of the invention passes through control device, Z axis vertical linearity mould group, X-axis horizontal linearity mould
The linear mould group of group, Y-axis feeler arm and the tester fixture that the linear mould group of Y-axis feeler arm is arranged in, it is automatic to may be implemented tester
According to preset test information detector gate to be measured back and forth, so that the automatic test of detector gate is realized, to mitigate test significantly
The working strength of personnel, and effectively avoid having a adverse impact to tester's body in test.
2, detector gate test macro of the invention may be implemented to the automatic identification of the light warning signal of detector gate and
Position where judging alarm signal, discrimination are higher than 95%, and can automatically record test result record, automatically generate test report
It accuses.Measuring accuracy error caused by human factor is reduced, as a result error in judgement, operated conveniently, reliability is fabulous.
Detailed description of the invention
Fig. 1 is the detector gate test system structure schematic diagram of the embodiment of the present invention 1;
Fig. 2 is the electrical connection schematic diagram of the detector gate test macro of the embodiment of the present invention 1.
Specific embodiment
Below with reference to attached drawing, the invention will be further described, it should be noted that the present embodiment is with this technology side
Premised on case, the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to this reality
Apply example.
Embodiment 1
As shown in Figs. 1-2, the present embodiment provides a kind of detector gate test macros with full-automatic discrimination function, including
Host computer 7, Z axis vertical linearity mould group 2, X-axis horizontal linearity mould group 3, the linear mould group 4 of Y-axis feeler arm, tester fixture 5, work
Industry camera 1 and control device 6;The industrial camera 1 and 6 communication connection of control device are in the host computer 7, the control dress
It sets 6 controls and is connected to the Z axis vertical linearity mould group 2, X-axis horizontal linearity mould group 3, the linear mould group 4 of Y-axis feeler arm, the X
The transmission connection of shaft horizontal line mould group 3 is sequentially connected in the Z axis vertical linearity mould group 2, the linear mould group 4 of Y-axis feeler arm
In the X-axis horizontal linearity mould group 3;The tester fixture 5 is sequentially connected with the linear mould group 4 of the Y-axis feeler arm.
Pass through control device, Z axis vertical linearity mould group, X-axis horizontal linearity mould group, the linear mould group of Y-axis feeler arm and setting
In the tester fixture of the linear mould group of Y-axis feeler arm, it is automatically to be measured back and forth according to preset test information that tester may be implemented
Detector gate to mitigate the working strength of tester significantly, and effectively avoids to realize the automatic test of detector gate
It has a adverse impact in test to tester's body.Furthermore it is possible to by host computer carry out test result record and
It calculates, improves the accuracy of test result and the intuitive of test result, tester is helped more rapidly to obtain test result.
Further, in the present embodiment, Red lightscreening plate is installed before the camera lens of the industrial camera 1.Due to current
The light warning signal of national standard metal detection door should be red, therefore in the present embodiment, pacify before the camera lens of industrial camera
Feux rouges optical filter has been filled, most background miscellaneous light interference can have been effectively filtered out, facilitating host computer can be effectively detected
Feux rouges alarm signal in the alarm indication lamp bar of detector gate to be measured out.It is of course also possible to pass through the filter for replacing other colors
Mating plate adapts to the requirement of the different light warning signal colours of other types detector gate.
Further, the control device 6 includes PLC module and servo-driver, the PLC module company of communicating respectively
It is connected to the host computer and servo-driver, the servo-driver control is connected to the Z axis vertical linearity mould group, X-axis water
The linear mould group of horizontal line mould group, Y-axis feeler arm;The PLC module communication connection is in the host computer.In the present embodiment, institute
Control device 6 is stated to be arranged in the form of control cabinet.In specific control process, host computer sends control to the PLC module and refers to
It enables, PLC module visits Z axis vertical linearity mould group, X-axis horizontal linearity mould group, Y-axis by servo-driver according to control instruction
The linear mould group of test arm carries out control driving.
Further, the industrial camera 1 is set to the top of the Z axis vertical linearity mould group 2.
Further, it is visited in the bottom of the Z axis vertical linearity mould group, the middle of X-axis horizontal linearity mould group, Y-axis
The position of the starting point of the linear mould group of test arm is equipped with origin switch at detection origin;The Z axis vertical linearity mould group and X-axis
Horizontal linearity mould group both ends are respectively equipped with travel switch;The origin switch and travel switch are electrically connected at the control dress
It sets.Origin switch is used to position the linear mould group of Y-axis feeler arm when the linear mould group of Y-axis feeler arm resets, when Y-axis is visited
When the linear mould group of test arm moves to origin switch, control device controls Z axis vertical linearity mould group and X-axis horizontal linearity mould group
It is out of service.Travel switch is linear especially by limitation Y-axis feeler arm for limiting position of the tester in X-axis and Z axis
Stroke of the mould group in X shaft horizontal line mould group, and limitation X-axis horizontal linearity mould group is in Z axis vertical linearity mould group
Stroke is realized.
In the present embodiment, the model MVC360MF-M00-V0016 of industrial camera, camera lens use KOWA LM3NCM,
Optical filter is selected using red BP630.Industrial camera installs pitch angle with specific reference to the placement location of detector gate to be measured, about
60 degree.It is intel i5-8250U that host computer, which uses ThinkPad E480, CPU, inside saves as 8GByte, hard disk is
500GByte, display resolution are 1920 × 1080, and operating system is 64 Chinese versions of Microsoft Windows10.
The model CP1H-XA40DT-D of PLC module, servo-driver include LXM23DU01M3X, LXM23DU04M3X,
LXM23DU07M3X is respectively used to driving Z axis vertical linearity mould group, X-axis horizontal linearity mould group, the linear mould group of Y-axis feeler arm.
Embodiment 2
The detector gate test macro described in embodiment 1 with full-automatic discrimination function is utilized the present embodiment provides a kind of
The method for carrying out safety check gate test, includes the following steps:
S1, detector gate test macro is placed in the indoor environment without strong light direct beam, is powered on;
S2, the setting test information in host computer, the test for metal detection door, test information includes test point position
It sets, test speed, test stroke, testing time, time interval, tester, tester posture;Survey for radiation detection door
Examination, test information include test point position, passage speed, test stroke, testing time, stop place, residence time, test
Object and tester posture;
S3, host computer are sent to control device resets control instruction, and control device controls X-axis according to control instruction is resetted
The linear mould group of horizontal linearity mould group, Y-axis feeler arm and Z axis vertical linearity mould group reset, so that the linear mould group fortune of Y-axis feeler arm
Row to detection origin position, i.e., the bottom of Z axis vertical linearity mould group, X-axis horizontal linearity mould group middle;
S4, place detector gate to be measured: respectively pad puts chock 10 under the end of two columns of detector gate 8 to be measured, and ensures
The linear mould group of Y-axis feeler arm passes perpendicularly through the door body detecting area of detector gate to be measured, and tester fixture can pass through the detection
Origin;
S5, the test posture of tester setting is fixed on tester fixture;
The test information that S6, host computer are arranged according to step S2 sends testing and control instruction, the control to control device
Device is instructed according to testing and control, control X-axis horizontal linearity mould group, the linear mould group of Y-axis feeler arm and Z axis vertical linearity mould group
Operation, so that tester is made past according to for test information set by metal detection gate test or radiation detection gate test
Return the linear motion of door body detecting area;During tester straight line each time passes through door body detecting area, industrial camera is all
Image Acquisition can be carried out to detector gate to be measured and sends supreme position machine, the host computer handles the image collected,
Whether detection judges the alarm lamp of detector gate to be measured to show on item 9 has warning light to light, and detects the alarm signal lighted
Signal lamp position (in the present embodiment be specially judge alarm lamp show item in whether have warning light be red, if
Tester is lighted by detector gate alarm signal lamp to be measured, then illustrates that detector gate to be measured successfully detected tester
In the presence of), and test result record is generated, while test result being shown;Host computer is by the survey of test after being completed
It tries information and all test results record is all stored in database.
In the present embodiment, host computer carries out identifying processing to the image collected by following process:
1) red light provincial characteristics feature extraction: is extracted by edge detection algorithm;
2) template matching: the feature extracted is compared with both solid plates, it is determined whether there are targets;
3) target positions: calculating red light maximal margin range for the successful image of template matching, exists to position target
Position in image;
4) result identifies: red light region accounting is sought, to identify bright light position.
In the present embodiment, host computer shows test result, specifically the display screen of host computer show to
The analog image of detector gate is surveyed, the warning light of corresponding position is shown on the analog image of detector gate to be measured.
In the present embodiment, the test result in database can be recorded and export as testing journal sheet by the host computer, be surveyed
Spy of the detector gate to be measured to tester is calculated according to the number alarmed in testing time and testing time automatically in examination report
Survey rate (number/testing time alarmed).
Embodiment 3
The detector gate test macro described in embodiment 1 with full-automatic discrimination function is utilized the present embodiment provides a kind of
The method for carrying out safety check gate test, includes the following steps:
S1, detector gate test macro is placed in the indoor environment without strong light direct beam, is powered on, run host computer,
The type of detector gate to be tested, including metal detection door and radiation detection door are selected in host computer;
S2, configuration basic parameter, the operation start-stop position of control port, tester fixture including PLC module, Y-axis are visited
The origin offset of the linear mould group of test arm, the positioning movement velocity of the linear mould group of Y-axis feeler arm, automatic identification model;
When the type of detector gate to be measured is metal detection door, upper computer selecting test based on testing standard (such as
National standard, navigation mark and customized standard), after selection, host computer is matched according to test method preset in selected testing standard
Corresponding test information, including test point position, test speed, test stroke, testing time, time interval, tester, survey
Try object posture;When the type of detector gate to be measured is radiation detection door, then the test item of the progress required for upper computer selecting
Mesh, the test item include the test of system detectivity, systematic vertical sensitivity uniformity test and static system detection
Efficiency test, and testing standard (such as national standard) based on test is selected, host computer is preset according in selected testing standard
Test method match corresponding test information, the test information include test point position, passage speed, test stroke,
Testing time, stop place, residence time, tester and tester posture;
S3, host computer are sent to control device resets control instruction, control device control driving X shaft horizontal line mould group,
The linear mould group of Y-axis feeler arm and the operation of Z axis vertical linearity mould group, carry out the operation for finding detection origin, so that Y-axis feeler arm
Linear mould group runs to the position of detection origin, i.e., the bottom of Z axis vertical linearity mould group, X-axis horizontal linearity mould group center
Between;
S4, place detector gate to be measured: respectively pad puts chock under the end of two columns of detector gate to be measured, and ensures Y-axis
The linear mould group of feeler arm passes perpendicularly through the door body detecting area of detector gate to be measured, and tester fixture can pass through the origin;
S5, start calibration function in host computer, the alarm lamp of detector gate to be measured is then made to show whole alarms on item
Signal lamp is lighted, and industrial camera is to the image for obtaining detector gate to be measured and is transmitted to host computer;The host computer carries out image
Processing determines that the alarm lamp of detector gate to be measured shows the position range of the warning light on item;
S6, according to test request, the posture of tester as required is fixed on tester fixture;
The test information that S7, host computer are arranged according to step S2 sends testing and control instruction, the control to control device
Device is instructed according to testing and control, control X-axis horizontal linearity mould group, the linear mould group of Y-axis feeler arm and Z axis vertical linearity mould group
Operation, so that tester is successively according to for test information set by metal detection gate test or radiation detection gate test,
Make the linear motion of round-trip door body detecting area;During tester straight line each time passes through door body detecting area, industrial phase
Machine all can carry out Image Acquisition to detector gate to be measured and send supreme position machine, and the host computer carries out the image collected
Processing, whether detection judges the alarm lamp of detector gate to be measured to show on item has warning light to light, and detects the report lighted
Alert signal lamp position (be in the present embodiment specially judge that alarm lamp shows in item that whether having warning light is red,
If tester is lighted by detector gate alarm signal lamp to be measured, illustrates detector gate to be measured successfully and detected test
The presence of object), and test result record is generated, while test result being shown;Host computer will be tested after being completed
Test information and all test results record all be stored in database in.
In the present embodiment, host computer shows test result, specifically the display screen of host computer show to
The analog image of detector gate is surveyed, the warning light of corresponding position is shown on the analog image of detector gate to be measured.
In the present embodiment, the test result in database can be recorded and export as testing journal sheet by host computer, test report
Tested door body is calculated to the detectivity of tester according to the number alarmed in testing time and testing time automatically in table
(number/testing time alarmed).Thus it is supplied to the most intuitive conclusion of tester.
In the present embodiment, the type of detector gate to be tested can be carried out by the way of the runs software in host computer
The operation such as selection, the selection of testing standard, the setting of parameter.
For those skilled in the art, it can be provided various corresponding according to above technical solution and design
Change and modification, and all these change and modification, should be construed as being included within the scope of protection of the claims of the present invention.