Background technology
Repetitive positioning accuracy test be industrial robot end it is repeated multiple times run to it is inclined between a certain identical point actual bit in space
Difference, robot measurement terminal position is exactly robot end's x, y, z coordinate figure in space, typically adopts 3 pieces of amesdials,
Fixation is mutually perpendicular on the top of the shelf two-by-two, measures the coordinate figure of x, y, z axle respectively.For convenience of processing data, using industrial computer
The data value of 3 pieces of amesdials of collection, result is stored in EXCEL.
Original repetitive positioning accuracy test platform, needs are connected with robot control cabinet by special agreement
On the opportunity of collection data, most of switch board is not supported the agreement, causes to be surveyed using original repetitive positioning accuracy test platform
Examination.
The content of the invention
For the deficiencies in the prior art, the present invention provides a kind of robot end's location acquiring method.The technical side of the method for testing
Case is:Software parameter is set, starts the collection of data;When robot is close to the probe of test platform, light sensor is judged
Whether it is triggered;Light sensor is triggered, and judges whether the triggering persistent period is more than the stabilization time of software design patterns;Record work
After the amesdial data of control machine collection, non-toggle is waited to reset light sensor, into test next time.
Preferably, before the arrange parameter, the drive software of light sensor is copied on industrial computer.
Preferably, the test interface of the software includes:Sweep spacing, verification number of times, stabilization time, state, beginning and knot
Beam.
Beneficial effects of the present invention are:The technical program mainly solution never using the protocol test robot repetitive positioning accuracy side
Method.For partial robotic cannot meet the robot of above demand, the design has avoided the demand, so as to new method can be surveyed
Try almost all of industrial robot.
Specific embodiment
Technical solution of the present invention with the addition of one beside test probe on the basis of original repetitive positioning accuracy test platform
Light sensor, for detecting whether industrial robot end is close to probe.
1 pair of specific embodiment of the invention is described further below in conjunction with the accompanying drawings:
S1:Software parameter is set, starts the collection of data.
The drive software of light sensor is copied on industrial computer, the test interface of the software includes:Sweep spacing, verification time
Number, stabilization time, state (startup situation), beginning and end.Before test, according to different testing requirements, can arrange soft
The parameter of part, it is general in the case of the parameter that arranges and parameter declaration it is as follows:
Sweep spacing:Refer to the sweep spacing of sensor, generally 100ms (0.1s), generally, this parameter is not
Suggestion modification.
Verification number of times:Before referring to triggering collection data, the number of times that sensor is continuously verified, generally 100 times.
Stabilization time:Refer to that light sensor starts to be triggered to the time of gathered data, it can be understood as need after collision block contact amesdial
Time that will be stable, it is also equal to sweep spacing X amounts of testing, generally 10000ms (10s).In robot teaching operation
When, the time of staying of contact point must be more than the stabilization time for arranging.
State (startup situation):The state of software is shown, is divided into " normal ", " beginning ", " end ".After software normally starts
" normal " is shown as, " beginning " during by initiating key, is shown as, and " end " is then shown as by end key.
Start:After clicking on initiating key, software starts gathered data, now shows " beginning " in state (startup situation).
Terminate:After clicking on end key, software terminates gathered data, now shows " beginning " in state (startup situation).
S2:When robot is close to the probe of test platform, judge whether light sensor is triggered.
When robot is close to the probe of test platform, judge whether light sensor is triggered, if be triggered, continue step
Rapid S3, if be not triggered, repeat step S1.
S3:Light sensor is triggered, and judges whether the triggering persistent period is more than the stabilization time of software design patterns.
After light sensor is triggered, counting starts, and judges whether the triggering persistent period is more than the stabilization time of software design patterns.
Such as larger than stabilization time, then into step S4, otherwise return to step S1.
S4:After the amesdial data of record industrial computer collection, non-toggle is waited to reset light sensor, into test next time.
More than industrial computer collection amesdial data when arranging stabilization time between when activated, and data are stored in Microsoft Excel,
Wait non-toggle to reset light sensor afterwards, after replacement, be again introduced into loop test.
Merely illustrating the principles of the invention described in above-described embodiment and description and most preferred embodiment, without departing from essence of the invention
On the premise of god and scope, the present invention also has various changes and modifications, and these changes and improvements both fall within this claimed
In bright scope.