METHOD AND CONTACTLESS DISTANCE SENSOR FOR SAFEGUARDING A MACHINE
20240261987 ยท 2024-08-08
Inventors
Cpc classification
International classification
Abstract
A method of safeguarding a machine is provided in which objects are recognized in a work zone of the machine in which a contactless distance sensor that is moved along measures an actual measured value for a distance with at least one distance measurement beam, a first virtual distance measurement beam that simulates the distance measurement beam is formed, and the actual measured value is compared with its first virtual measured value. In this respect, at least one further virtual distance measurement beam having an offset from the first virtual distance measurement beam is formed and a further virtual measured value is calculated with it and a comparison is made whether the actual measured value is compatible with the virtual measured values.
Claims
1. A method of safeguarding a machine in which objects are recognized in a work zone of the machine, in which at least one contactless distance sensor that is moved along with the machine and that has at least one distance measurement beam measures an actual measured value for a distance from the work zone or from an object arranged there; a first virtual distance measurement beam that simulates the distance measurement beam is formed from a pose of the distance sensor, the site of incidence of the first virtual distance measurement beam on a surface model of the work zone is determined, and a first virtual measured value for the distance is calculated; and the actual measured value is compared with the first virtual measured value to decide whether an object is in the distance measurement beam, wherein at least one further virtual distance measurement beam having an offset from the first virtual distance measurement beam is formed, the site of incidence of the at least one further virtual distance measurement beam on the surface model is determined, and at least one further virtual measured value for the distance is calculated; wherein a comparison is made whether the actual measured value is compatible with the virtual measured values; and wherein an object is recognized in the distance measurement beam if the actual measured value is not compatible with the virtual measured values.
2. The method in accordance with claim 1, wherein the machine is a robot arm.
3. The method in accordance with claim 1, wherein the step of comparing whether the actual measured value is compatible with the virtual measured values comprises a comparison of whether the actual measured value is the same as at least one of the virtual measured values except for a tolerance;
4. The method in accordance with claim 1, wherein a check is made for a recognized object whether its presence is permitted and if not, the machine is switched to a risk-reducing or safe state.
5. The method in accordance with claim 1, wherein the surface model is configured or imported.
6. The method in accordance with claim 5, wherein the surface model is configured or imported as a CAD model.
7. The method in accordance with claim 1, wherein the surface model is measured by a sensor.
8. The method in accordance with claim 1, wherein a plurality of further virtual distance measurement beams surround the first virtual distance measurement beam.
9. The method in accordance with claim 8, wherein the starting points of the further virtual distance measurement beams at least topologically form a circular line.
10. The method in accordance with claim 1, wherein the surface model is a polygon mesh.
11. The method in accordance with claim 10, wherein the polygon mesh is a triangle mesh.
12. The method in accordance with claim 10, wherein the further virtual distance measurement beams are incident on polygons that are adjacent to one another without gaps.
13. The method in accordance with claim 10, wherein virtual measured values for the distance are determined for polygons that are enclosed by polygons on which further virtual distance measurement beams are incident.
14. The method in accordance with claim 1, wherein the starting points of the further virtual distance measurement beams form a grating.
15. The method in accordance with claim 1, wherein the further virtual distance measurement beams extend in parallel with or at an acute angle to the first virtual distance measurement beam.
16. The method in accordance with claim 1, wherein the actual measured value and the virtual measured values are determined and compared again cyclically.
17. The method in accordance with claim 1, wherein an actual measured value that is larger than all the virtual measured values is evaluated as compatible and no object is thus recognized in the distance measurement beam for this case.
18. The method in accordance with claim 1, wherein the distance sensor has a plurality of distance measurement beams with which a respective actual measured value for the distance is determined and is compared with virtual measured values from virtual distance measurement beams for a respective distance measurement beam.
19. The method in accordance with claim 1, wherein the distance measurement beams form a protective cover.
20. The method in accordance with claim 19, wherein no object is recognized in the distance measurement beam when the actual measured value exceeds a length of the protective cover.
21. The method in accordance with claim 1, wherein the distance measurement beam performs a scan movement.
22. A contactless distance sensor for safeguarding a machine, and for recognizing objects in a work zone of the machine, wherein the distance sensor has a control and evaluation unit that is configured to measure an actual measured value for a distance from the work zone or from an object arranged there, and to recognize an object with reference to the actual measured value using a method in accordance with any one of the preceding claims in the distance measurement beam.
23. The contactless distance sensor in accordance with claim 22 that is an optoelectronic distance sensor in accordance with the time of flight principle.
24. The contactless distance sensor in accordance with claim 22, wherein the machine is a robot arm.
25. The contactless distance sensor in accordance with claim 22, wherein the distance sensor has a light transmitter for transmitting a light signal along a distance measurement beam, and a light receiver for generating a received signal from the returning light signal.
Description
[0034] The invention will be explained in more detail in the following also with respect to further features and advantages by way of example with reference to embodiments and to the enclosed drawing. The Figures of the drawing show in:
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044] To specifically safeguard the end effector at its tip here, distance sensors 12a-b are attached to the robot arm, 10, preferably in the environment of a tool, for its safeguarding (EOAS, end of arm safeguarding). The distance sensors 12a-b determine distance values along a plurality of distance measurement beams 14. The shown number of two distance sensors 12a-b is purely by way of example; there can be more distance sensors or only one distance sensor that can then, preferably, measure along a plurality of distance measurement beams 14. Generally, one or more distance measurement beams 14 emanate from each distance sensor 12a-b. Distance measurement beams 14 can be approximately geometrical beams or can have a finite cross-section if, for example, the distance sensor 12a-b works as an area sensor having a fanned out light beam. Optoelectronic distance sensors, for example with a measurement of the time of flight (TOF) are particularly suitable as distance sensors 12a-b. DE 10 2015 112 656 A1 named in the introduction presents such a system to which reference is additionally made. There are, however, also other optoelectronic sensors to determine distances such as laser scanners and 2D or 3D camera and other equally completely different technologies, for instance ultrasound sensors, capacitive sensors, radar sensors, and the like.
[0045] The distance measurement beams 14 together form a kind of virtual protective jacket or a virtual protective cover 16 around the end effector. If the hand 18 of a person intrudes into the zone safeguarded by means of the protective cover 16, the protective cover 16 is considered as infringed. A safety related response of the robot 10 is therefore triggered that can comprise a slowing down, an evasion, or an emergency stop in dependence on the infringed distance thresholds.
[0046] The detection of the hand 18 in a distance measurement beam 14 takes place by means of an object recognition that will be explained more exactly further below with reference to
[0047] Which distance would have to be measured as long as no object and in particular no hand 18 is in the distance measurement beam 14 can be predicted from the pose of the distance sensor 12a-b with reference to the surface model. The pose is in turn calculated from the robot movements, with these so-called forward kinematics as a rule anyway being able to be determined and queried for the robot controller. The measuring behavior of the distance sensor 12a-b is thus simulated, a virtual measured value is produced that can be compared with the actual measured value of the distance sensor 12a-b to reveal whether there is anything different in the distance measurement beam 14 than in accordance with the surface model. It must be repeated that expected objects 22 are part of the surface model and are thus ignored by the object recognition. To make the comparison robust, not only the distance measurement beam 14 is simulated in accordance with the invention, but at least one additional virtual measured value from at least one further virtual distance measurement beam adjacent to the simulated distance measurement beam is rather determined and compared. This increases the robustness of the method, in particular with edge hits or in the vicinity of depth cracks in the 3D contour of the work surface 20 with expected objects 22 located therein or with the corresponding surface model.
[0048] As can be seen in
[0049]
[0050] The distance values are forwarded to a control and evaluation unit 24 where the object recognition still to be described is performed and from which a safe signal is output as required to the machine 10 or to its controller to trigger a safety response. The control and evaluation unit 24 can, as shown, be an external processing unit, alternatively an internal processing unit of the at least one distance sensor 12 or a combination of the two. Examples for an internal processing unit are digital processing modules such as a microprocessor or a CPU (central processing unit), an FPGA (field programmable gate array), a DSP (digital signal processor), an ASIC (application specific integrated circuit), an AI processor, an NPU (neural processing unit), a GPU (graphics processing unit) or the like. An external processing unit can be a computer of any desired kind, including notebooks, smartphones, tablets, a (safety) controller, equally a local network, an edge device, or a cloud. There is also a large selection with respect to the communication links, for instance I/O-Link, Bluetooth, wireless LAN, Wi-Fi, 3G/4G/5G, and in principle any industry suitable standard.
[0051] The distance sensors 12 and the control and evaluation unit 24 should preferably perform a safe detection and evaluation in the sense of the relevant standards. One way for this is that safe sensors and a safety controller are used. It is, however, also conceivable to use originally unsafe hardware and to achieve the required safety level by redundancy, also diverse redundancy, or plausibility checks or cyclic tests. The object recognition now to be described makes its own contribution to the satisfying of safety demands.
[0052]
[0053] Since the current pose of the distance sensor 12 is thus unknown a priori, it is determined first. For this purpose, for example, use is made of the forward kinematics of a robot controller or comparable data of another machine controller. Any pose offset between the machine and the distance sensor 12 can be compensated by initial configuration or calibration. The assumed extent of the distance measurement beam 14 is now calculated from this pose. It is an assumed or simulated distance measurement beam as a virtual correspondence of the distance measurement beam 14 that is here called the first virtual distance measurement beam 28. A first virtual measured value for the distance is calculated using the first virtual distance measurement beam 28 by determining the site of incidence with reference to the surface model. A hand 18 in the distance measurement beam 14 would considerably cut the actual measured value so that a comparison between the actual measured value and the first virtual measured value recognizes an object in the distance measurement beam 14.
[0054] However, as also thus shown in
[0055] Provision is therefore made in accordance with the invention to produce at least one further virtual measured value in that at least one further virtual distance measurement beam 30 is provided to the first virtual distance measurement beam 28 as support and the distance from its site of incidence is calculated using the surface model. The further virtual distance measurement beam 30 has an offset 32 from the first virtual distance measurement beam 28 and preferably extends in parallel with it. No object has yet been deemed as recognized as long as the actual measured value is compatible with the virtual measured values, that is the first virtual measured value and the at least one further virtual measured value. A comparison of the actual measured value with the virtual measured values takes place for this purpose, for example, and no object is yet deemed as recognized as long as at least one of these comparison produces an agreement, preferably while permitting a tolerance. Both situations are thus covered that the distance measurement beam 14 is incident on the object 22 or the work surface 20 inside outside the edge 26. The limited offset 32 provides that the special situation of very different virtual measured values remains restricted to an environment of the edge. No object to be recognized with dimensions larger than the offset 32 can thus be overlooked.
[0056] Conceivable differences of the simulation are only taken into account in a single direction with only one further virtual distance measurement beam 30. A plurality of further virtual distance measurement beams 30 are therefore preferably formed which are dealt with in the very same corresponding manner. A further virtual distance measurement beam 30 is preferably provided in every direction so that the starting points of the further virtual distance measurement beams 30 are disposed on an at least topological, preferably also geometrical circular line. The difference between topological and geometrical means, as usual in mathematics, that deformations are permitted only in the first case, that is, for example, also an ellipse or a square is a topological circular line, for example. The case of a geometrical circular line will be explained more exactly in the following as representative without restricting the invention thereto.
[0057]
[0058] Due to the addressed differences between the reality and the simulation, the distance measurement beam 14 and the first virtual distance measurement beam 28 hit different polygons, and indeed differing from the representation of
[0059] The virtual measured values can be stored in an array and can be updated cyclically, in particular with every measurement cycle of the distance sensor 12. In corresponding evaluation cycles of the object recognition, in turn preferably with each measurement cycle of the distance sensor, a comparison is made whether the actual measured value is compatible with the virtual measured values. As already explained, for this purpose, a comparison is in particular made whether there is at least one virtual measured value that is equal to the actual measured value except for tolerances. If this is the case, the actual measured value can thus be explained by the surface model and no object or no hand 18 is recognized. Otherwise, an object must be present and must have interrupted the distance measurement beam 14 since otherwise the actual measured value would not differ from all the virtual measured values by more than the tolerance.
[0060] So that the polygons 34 are contiguous under the curve segments 33, that is do not have any gaps, the further virtual distance measurement beams 30 are preferably correspondingly dense. This can be calibrated at an area at a maximum possible distance of the surface model. The arrangement discussed here by way of example with starting points of the further virtual distance measurement beam 30 on a circular line can be understood as a rotation of a further virtual distance measurement beam 30 on a circle having a radius o corresponding to the offset 32 and a certain angular increment w. The offset 32 and thus the radios o is preferably selected so that the distance measurement beam 14 is within the cylinder jacket, that the further virtual distance measurement beams 30 span, for all the expected errors in the pose of the distance sensor 12 or in the surface model. The angular increment w is furthermore preferably so small that the above density condition is satisfied, that is the polygons 34 are contiguous below the curve segments 33.
[0061]
[0062]
[0063]
[0064]
[0065] Although the object recognition is accordingly incomplete, it has no significance for the safeguarding. It is namely physically impossible for the hand 18 to reach an object or anything else to be protected to the location of the object 44 without previously being noticed in the protective cover 16 that safeguards the hazard source shown by a gripper 46 in
[0066] Alternatively to the described procedure, it is conceivable to establish a very precise coincidence between the distance measurement beam 14 and the first virtual distance measurement beam 28 and to generate a very exact surface model and likewise to calibrate it with respect to the distance sensor 12 and the real environment. This is, however, complex and also not necessarily stable in the long term so that false positive object recognitions nevertheless again arise after a certain operating period. A one-time or also a repeated calibration is nevertheless conceivable in a supplementary manner. The offset 32 or the above-introduced radius o can in particular remain small after a calibration and it can nevertheless be ensured that the distance measurement beam 14 extends within the further virtual distance measurement beams 30, whereby the effort for the evaluations is limited.