System, method, and program

The system automatically adjusts control parameters for different work tools by imaging and identifying their shape, addressing the inefficiency of manual parameter changes and preventing collisions with virtual walls.

JP2024140142APending Publication Date: 2024-10-10KOMATSU LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023051148
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

Existing systems require manual parameter adjustments every time a different work tool is attached to a working machine, which is cumbersome and inefficient.

Method used

A system that uses an imaging device to capture data, identify the shape of the work tool, and control the machine to prevent contact with a virtual wall, automatically adjusting parameters for the new tool.

Benefits of technology

Enables easy and automated determination of control parameters for replaceable work implements, ensuring they do not collide with virtual boundaries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024140142000001_ABST
    Figure 2024140142000001_ABST
Patent Text Reader

Abstract

To provide a control system capable of easily determining a parameter related to a control of an exchangeable working tool.SOLUTION: A control system includes an imaging unit provided in a work machine for picking up image data of a work unit, and a processor. The processor acquires image data from the imaging unit and identifies the shape of the working tool on the basis of the image data. The processor controls the work machine based on the shape so that a virtual wall, which is a face that prohibits an entry of the work unit, does not come into contact with the working tool.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a system, a method, and a program. [Background technology]

[0002] A technique is known in which a virtual wall is set in space to limit the operating range of a work machine. A control device for the work machine can control the work machine so that it does not exceed the virtual wall by limiting the amount of operation of the actuator of the work machine according to the distance between the virtual wall and the work machine. Furthermore, Patent Document 1 discloses a technology for preventing the work tool from entering the interference prevention area by defining a virtual circle having a center on the rotation axis of the work tool and a radius to the tip of the work tool, and determining the relationship between the virtual circle and the interference prevention area. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 9-256403 Summary of the Invention [Problem to be solved by the invention]

[0004] Incidentally, some work machines can have various implements attached to the tip of the work machine. Since the shapes of the implements vary, when the implement is replaced, it is necessary to change the parameters related to control. Setting the parameters every time the implement is replaced is time-consuming.

[0005] An object of the present disclosure is to provide a system, method and program that can easily determine parameters related to the control of an interchangeable work implement. [Means for solving the problem]

[0006] A system according to a first aspect of the present disclosure controls a work machine equipped with a work implement to which a work tool can be attached at its tip. The system includes an imaging device provided on the work machine and capturing imaging data showing the work implement, and a processor. The processor acquires the imaging data from the imaging device and identifies a shape of the work implement based on the imaging data. The processor controls the work machine based on the shape so that the work implement does not come into contact with a virtual wall, which is a surface that prohibits the entry of the work implement.

[0007] A method according to a second aspect of the present disclosure is a method for controlling a work machine equipped with a work implement to which a work tool can be attached at its tip, and includes an acquisition step, an identification step, and a control step. The acquisition step acquires imaging data from an imaging device provided on the work machine and captures imaging data showing the work implement. The identification step identifies a shape of the work implement based on the imaging data. The control step controls the work machine based on the shape so that the work implement does not come into contact with a virtual wall, which is a surface that prohibits the entry of the work implement.

[0008] A program according to a third aspect of the present invention controls a work machine equipped with a work implement to which a work tool can be attached at its tip. The program causes a computer to execute an acquisition step, a specification step, and a control step. The acquisition step acquires imaging data from an imaging device provided on the work machine that captures imaging data showing the work implement. The specification step specifies a shape of the work implement based on the imaging data. The control step controls the work machine based on the shape so that the work implement does not come into contact with a virtual wall, which is a surface that prohibits the entry of the work implement. Effect of the Invention

[0009] According to the above aspect, parameters relating to the control of the replaceable implement can be easily determined. [Brief description of the drawings]

[0010] [Figure 1] 1 is a schematic diagram showing the configuration of a work machine according to a first embodiment. [Diagram 2]1 is a diagram showing a drive system of a work machine according to a first embodiment. [Diagram 3] 1 is a schematic block diagram showing a configuration of a control device according to a first embodiment. [Figure 4] 4 is a diagram illustrating a relationship between a virtual sphere and a virtual wall in the first embodiment. FIG. [Diagram 5] 4 is a diagram showing a relationship between a phantom sphere and an outer shell of a bucket in the first embodiment. FIG. [Figure 6] 4A to 4C are diagrams illustrating an example of resetting a virtual wall accompanying rotation of a rotating body in the first embodiment. [Figure 7] 1 is a flowchart (part 1) showing a process for identifying a shape of an attachment in the first embodiment. [Figure 8] 11 is a flowchart (part 2) showing the attachment shape identification process in the first embodiment. [Figure 9] 6A to 6C are diagrams showing example screens in the shape identification process according to the first embodiment; [Figure 10] 11 is a flowchart (part 1) showing update and intervention control of a virtual wall set in the first embodiment. [Figure 11] 13 is a flowchart (part 2) showing update and intervention control of a virtual wall set in the first embodiment. [Figure 12] 10 is a flowchart showing a process for identifying a shape of an attachment in the second embodiment. [Figure 13] 13A to 13C are diagrams illustrating example screens in the shape identification process according to the second embodiment. [Figure 14] FIG. 13 is a diagram illustrating a configuration of a work system according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] First embodiment <<Configuration of the Work Machine>> Hereinafter, the embodiments will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram showing the configuration of a work machine 100 according to the first embodiment. The work machine 100 according to the first embodiment is, for example, a hydraulic excavator. The work machine 100 includes a traveling body 120, a rotating body 140, a work implement 160, a cab 180, and a control device 200. The work machine 100 according to the first embodiment generates a virtual wall VW by operation by an operator, and is controlled so that the work machine 100 does not come into contact with the virtual wall VW. This allows the operator to operate the work machine 100 so as not to enter a no-entry zone.

[0012] The running body 120 supports the working machine 100 so that the working machine 100 can run. The running body 120 is, for example, a pair of left and right caterpillar tracks. The rotating body 140 is supported by the running body 120 so as to be capable of rotating about a rotation center. The working machine 160 is supported movably on the rotating body 140. The working machine 160 is hydraulically driven. The working machine 160 includes a boom 161, an arm 162, and an attachment 163 which is a working implement. The attachment 163 is an example of a working tool. In the example shown in FIG. 1, the attachment 163 is a bucket. A base end of the boom 161 is rotatably attached to the rotating body 140. A base end of the arm 162 is rotatably attached to a tip end of the boom 161. The attachment 163 is rotatably attached to a tip end of the arm 162. Here, the part of the rotating body 140 to which the working machine 160 is attached is referred to as a front part. In addition, with respect to the rotating body 140, the opposite part is referred to as a rear part, the left part is referred to as a left part, and the right part is referred to as a right part, based on the front part.

[0013] The operator's cab 180 is provided at the front of the rotating body 140. In the operator's cab 180, there are provided an operation device 141 for an operator to operate the work machine 100, and a monitor device 142 which is a man-machine interface for the control device 200. The monitor device 142 is realized by, for example, a computer equipped with a touch panel.

[0014] The control device 200 controls the traveling body 120, the rotating body 140, and the work machine 160 based on the operation of the operation device by an operator. The control device 200 is provided inside the operator's cab 180, for example.

[0015] Drive system of the work machine 100 FIG. 2 is a diagram showing the drive system of the work machine 100 according to the first embodiment. The work machine 100 is equipped with a number of actuators for driving the work machine 100. Specifically, the work machine 100 is equipped with a power source 111, a hydraulic pump 112, a control valve 113, a pair of travel motors 114, a swing motor 115, a boom cylinder 116, an arm cylinder 117, and an attachment cylinder 118.

[0016] The power source 111 is a prime mover that drives the hydraulic pump 112. The power source 111 is, for example, an engine. The hydraulic pump 112 is driven by the power source 111 and supplies hydraulic oil to the travel motor 114 , the swing motor 115 , the boom cylinder 116 , the arm cylinder 117 and the attachment cylinder 118 via a control valve 113 . The control valve 113 controls the flow rate of hydraulic oil supplied from the hydraulic pump 112 to the travel motor 114 , the swing motor 115 , the boom cylinder 116 , the arm cylinder 117 and the attachment cylinder 118 . The traveling motor 114 is driven by hydraulic oil supplied from the hydraulic pump 112 to drive the traveling body 120 . The swing motor 115 is driven by hydraulic oil supplied from the hydraulic pump 112 to swing the swing body 140 relative to the traveling body 120 .

[0017] The boom cylinder 116 is a hydraulic cylinder for driving the boom 161. A base end of the boom cylinder 116 is attached to the rotating body 140. A tip end of the boom cylinder 116 is attached to the boom 161. The arm cylinder 117 is a hydraulic cylinder for driving the arm 162. A base end of the arm cylinder 117 is attached to the boom 161. A tip end of the arm cylinder 117 is attached to the arm 162. The attachment cylinder 118 is a hydraulic cylinder for driving the attachment 163. A base end of the attachment cylinder 118 is attached to the arm 162. A tip end of the attachment cylinder 118 is attached to the attachment 163.

[0018] Measurement system of the work machine 100 The work machine 100 is equipped with a number of sensors for measuring the attitude and position of the work machine 100. Specifically, the work machine 100 is equipped with an incline measuring instrument 101, a swing angle sensor 102, a boom angle sensor 103, an arm angle sensor 104, an attachment angle sensor 105, a payload meter 106, and an imaging device 107.

[0019] The inclination measuring device 101 measures the attitude of the rotating body 140. The inclination measuring device 101 measures the inclination (e.g., roll angle, pitch angle, and yaw angle) of the rotating body 140 with respect to a horizontal plane. An example of the inclination measuring device 101 is an IMU (Inertial Measurement Unit). In this case, the inclination measuring device 101 measures the acceleration and angular velocity of the rotating body 140, and calculates the inclination of the rotating body 140 with respect to the horizontal plane based on the measurement results. The inclination measuring device 101 is installed, for example, below the cab 180. The inclination measuring device 101 outputs attitude data of the rotating body 140, which is a measurement value, to the control device 200.

[0020] The turning angle sensor 102 measures the turning angle of the rotating body 140 relative to the running body 120. The measurement value of the turning angle sensor 102 indicates zero, for example, when the directions of the running body 120 and the rotating body 140 are the same. The turning angle sensor 102 is installed, for example, at the center of rotation of the rotating body 140. The turning angle sensor 102 outputs turning angle data, which is the measurement value, to the control device 200.

[0021] The boom angle sensor 103 measures a boom angle, which is a rotation angle of the boom 161 relative to the revolving structure 140. The boom angle sensor 103 may be an IMU attached to the boom 161. In this case, the boom angle sensor 103 measures the boom angle based on the inclination of the boom 161 relative to a horizontal plane and the inclination of the revolving structure measured by the inclination measuring device 101. The measurement value of the boom angle sensor 103 indicates zero, for example, when the direction of a straight line passing through the base end and the tip end of the boom 161 coincides with the front-rear direction of the revolving structure 140. Note that the boom angle sensor 103 according to another embodiment may be a stroke sensor attached to the boom cylinder 116. Also, the boom angle sensor 103 according to another embodiment may be a rotation sensor provided on a pin connecting the revolving structure 140 and the boom 161. The boom angle sensor 103 outputs boom angle data, which is a measurement value, to the control device 200.

[0022] The arm angle sensor 104 measures an arm angle, which is a rotation angle of the arm 162 relative to the boom 161. The arm angle sensor 104 may be an IMU attached to the arm 162. In this case, the arm angle sensor 104 measures the arm angle based on the inclination of the arm 162 relative to the horizontal plane and the boom angle measured by the boom angle sensor 103. The measurement value of the arm angle sensor 104 indicates zero when, for example, the direction of a straight line passing through the base end and the tip of the arm 162 coincides with the direction of a straight line passing through the base end and the tip of the boom 161. Note that the arm angle sensor 104 according to another embodiment may perform angle calculation by attaching a stroke sensor to the arm cylinder 117. Also, the arm angle sensor 104 according to another embodiment may be a rotation sensor provided on a pin connecting the boom 161 and the arm 162. The arm angle sensor 104 outputs arm angle data, which is a measurement value, to the control device 200.

[0023] The attachment angle sensor 105 measures an attachment angle, which is a rotation angle of the attachment 163 relative to the arm 162. The attachment angle sensor 105 may be a stroke sensor provided on the attachment cylinder 118 for driving the attachment 163. In this case, the attachment angle sensor 105 measures the attachment angle based on the stroke amount of the attachment cylinder 118. The measurement value of the attachment angle sensor 105 indicates zero, for example, when the direction of a straight line passing through the base end and the tip end of the attachment 163 coincides with the direction of a straight line passing through the base end and the tip end of the arm 162. Note that the attachment angle sensor 105 according to another embodiment may be a rotation sensor provided on a pin connecting the arm 162 and the attachment 163. Also, the attachment angle sensor 105 according to another embodiment may be an IMU attached to the attachment 163. The attachment angle sensor 105 outputs attachment angle data, which is a measurement value, to the control device 200.

[0024] The payload meter 106 measures the weight of the load held by the attachment 163. The payload meter 106 measures, for example, the bottom pressure of the cylinder of the boom 161 and converts it into the weight of the load. Alternatively, for example, the payload meter 106 may be a load cell. The payload meter 106 outputs load weight data, which is a measurement value, to the control device 200.

[0025] The imaging device 107 is provided on the revolving body 140 so that the work machine 160 is captured within the imaging range. For example, the imaging device 107 may be provided on the ceiling of the cab 180. The imaging device 107 outputs imaging data to the control device 200. Examples of the imaging device 107 include a camera, a stereo camera, a LiDAR, and a laser scanner. The imaging data may be two-dimensional image data or three-dimensional point cloud data.

[0026] Configuration of the control device 200 FIG. 3 is a schematic block diagram showing the configuration of the control device 200 according to the first embodiment. The control device 200 is a computer including a processor 210, a main memory 230, a storage 250, and an interface 270. The control device 200 is an example of a control system. The control device 200 receives measurement values ​​from an inclination measuring device 101, a rotation angle sensor 102, a boom angle sensor 103, an arm angle sensor 104, an attachment angle sensor 105, and a payload meter 106.

[0027] The storage 250 is a non-transitory tangible storage medium. Examples of the storage 250 include a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory. The storage 250 may be an internal medium directly connected to the bus of the control device 200, or may be an external medium connected to the control device 200 via the interface 270 or a communication line. The storage 250 stores a control program for controlling the work machine 100.

[0028] The control program may be for realizing a part of the functions to be performed by the control device 200. For example, the control program may be for realizing the functions by combining with other programs already stored in the storage 250 or by combining with other programs implemented in other devices. In another embodiment, the control device 200 may include a custom LSI (Large Scale Integrated Circuit) such as a PLD (Programmable Logic Device) in addition to or instead of the above configuration. Examples of PLDs include PAL (Programmable Array Logic), GAL (Generic Array Logic), CPLD (Complex Programmable Logic Device), and FPGA (Field Programmable Gate Array). In this case, some or all of the functions realized by the processor may be realized by the integrated circuit.

[0029] The storage 250 records geometry data representing the dimensions of the rotating body 140, the boom 161, and the arm 162. The geometry data is data representing the position of an object in a predetermined coordinate system.

[0030] <Software Configuration> By executing the control program, the processor 210 is provided with an operation amount acquisition unit 211, an input unit 212, a display control unit 213, a measurement value acquisition unit 214, a position identification unit 215, an attachment identification unit 216, a generation unit 217, a rotation conversion unit 218, an intervention judgment unit 219, an intervention control unit 220, and a control signal output unit 221.

[0031] The operation amount acquisition unit 211 acquires an operation signal indicating the operation amount of each actuator from the operation device 141. The input unit 212 receives an operation input by an operator from the monitor device 142. In particular, when the attachment 163 is replaced, the input unit 212 receives an input from the operator to execute a shape identification process for the attachment 163, and starts the shape identification process for the attachment 163, which will be described later. The display control unit 213 outputs screen data to be displayed on the monitor device 142 to the monitor device 142 . The measurement value acquisition unit 214 acquires measurement values ​​from the inclination measuring instrument 101, the rotation angle sensor 102, the boom angle sensor 103, the arm angle sensor 104, the attachment angle sensor 105, and the payload meter 106. The measurement value acquisition unit 214 acquires imaging data from the imaging device 107.

[0032] The position identification unit 215 identifies the position of the outer shell of the work machine 100 in the vehicle body coordinate system. The outer shell of the work machine 100 is the external shape of the work machine 100. The outer shell of the work machine 100 is defined, for example, by shapes that form the external shapes of the revolving body 140 and the work implement 160. Specifically, the position identification unit 215 identifies multiple points of the outer shell of the work machine 100 in the vehicle body coordinate system and the position of the control point P of the attachment 163 based on various measurement values ​​acquired by the measurement value acquisition unit 214, geometry data recorded in the storage 250, and data identified by the attachment identification unit 216. The multiple points of the outer shell identified by the position identification unit 215 include the end of the arm 162 on the attachment 163 side (arm top), the end of the arm 162 on the boom 161 side (arm bottom), and a point behind the counterweight of the revolving body 140. The vehicle body coordinate system is an orthogonal coordinate system with the origin being a representative point (for example, a point passing through the center of rotation) of the rotating body 140. The calculation of the position identifying unit 215 will be described later. Note that the points identified by the position identifying unit 215 are not limited to this.

[0033] The control point P of the attachment 163 is the center of the virtual sphere VS when the attachment 163 is regarded as a sphere (virtual sphere VS). In order to simply express the attachment 163, the virtual sphere VS is defined so as to include the attachment 163 with the control point P as the center. FIG. 4 is a diagram showing the relationship between the virtual sphere VS and the virtual wall VW in the first embodiment. FIG. 5 is a diagram showing the relationship between the virtual sphere VS and the outer shell of the bucket in the first embodiment. The attachment 163 in the first embodiment is a bucket, and as shown in FIG. 4 and FIG. 5, the control point P is the midpoint of the line segment connecting the midpoint of the pin (rotation axis) connecting the arm 162 and the bucket to the midpoint of the blade tip (tip) of the bucket. The radius r of the virtual sphere VS in the first embodiment is equal to the distance from the control point P to the farthest point of the outer shell of the bucket. Therefore, the virtual sphere VS includes the bucket. In the example of Fig. 5, AP0, AP1, AP2, AP3, AP4, and AP5 are identified as points for simply expressing the outer shell of the bucket, and among these, AP2 is the point farthest from control point P. Therefore, in the example of Fig. 5, the radius r is equal to the distance from control point P to point AP2. By setting the control point P of the bucket to the midpoint of the line segment connecting the midpoint of the bucket's rotation axis and the midpoint of the bucket's tip, the gap between the bottom of the bucket and the virtual sphere VS can be reduced. On the other hand, the distance between the opening surface of the bucket and the virtual sphere VS is greater than that between the bottom surface and the opening surface of the bucket, but since the opening surface of the bucket in a backhoe shovel does not normally face the front of the work machine 100, there are almost no situations in which this affects operability. In addition, since the shape of the bucket is close to a hemisphere, there is also the advantage that by setting the control point P to the midpoint of the line segment connecting the midpoint of the bucket's rotation axis and the midpoint of the bucket's tip, the operator can easily imagine the virtual sphere VS when operating the bucket.

[0034] The attachment identification unit 216 identifies the shape of the attachment 163 based on the imaging data acquired by the measurement value acquisition unit 214 and the position of the arm top identified by the position identification unit 215, and determines the position of the control point P of the attachment 163 and the radius of the virtual sphere VS. The position of the control point P is the position (x cp , y cp , z cp The attachment coordinate system is expressed as X at The axis extends in the direction in which the pin extends. at axis, x at Axis and Y at Z perpendicular to the axis at The attachment coordinate system is a coordinate system that is determined in advance and does not depend on the shape of the attachment 163 that is specified by the attachment specifying unit 216. Therefore, the X at The axis does not necessarily actually pass through the tip of the attachment 163. The control point P is a point that is uniquely specified in a coordinate system based on the attachment 163.

[0035] When the input unit 212 receives an instruction to generate a virtual wall VW from an operator, the generation unit 217 calculates parameters of the virtual wall VW based on the position of the tip of the attachment 163 identified by the position identification unit 215. The generation unit 217 records the parameters of the generated virtual wall VW in the vehicle body coordinate system in the main memory 230.

[0036] The rotation conversion unit 218 updates the parameters of the virtual wall VW stored in the main memory 230 as the rotating body 140 rotates. Specifically, the rotation conversion unit 218 performs rotation conversion on the parameters of the virtual wall VW around the origin of the vehicle body coordinate system by the amount of change in the pitch angle, roll angle, and yaw angle measured by the inclination measuring device 101. FIG. 6 is a diagram showing an example of resetting the virtual wall VW with the rotation of the rotating body in the first embodiment. For example, as shown in FIG. 6, when the rotating body 140 rotates after setting the virtual wall VW, the rotation conversion unit 218 calculates the amount of change in the roll angle, pitch angle, and yaw angle caused by the rotation of the rotating body 140 by referring to the measurement value of the inclination measuring device 101 acquired by the measurement value acquisition unit 214, and performs rotation conversion on the parameters of the virtual wall VW around the origin of the vehicle body coordinate system. This allows the rotation conversion unit 218 to cancel the rotation of the virtual wall VW caused by the rotation of the rotating body 140.

[0037] The intervention determination unit 219 determines whether to limit the rotation speed of the revolving body 140 or the speed of the working machine 160 based on the positional relationship between the virtual wall VW and the multiple points of the outer shell identified by the position identification unit 215, and the positional relationship between the virtual sphere VS of the attachment 163 and the virtual wall VW. Hereinafter, the control device 200 limiting the speed of the revolving body 140 or the working machine 160 is also referred to as intervention control. Specifically, the intervention determination unit 219 obtains the minimum rotation angle until at least one of the multiple points of the outer shell comes into contact with the virtual wall VW, and determines that intervention control is to be performed for the revolving body 140 when the minimum rotation angle is equal to or smaller than a predetermined angle. In addition, the intervention determination unit 219 obtains the minimum distance between the virtual wall VW and the working machine 160, and determines that intervention control is to be performed for the working machine 160 when the minimum distance is equal to or smaller than a predetermined distance. At this time, the intervention determination unit 219 obtains the distance for the attachment 163 based on the virtual sphere VS. In order to reduce the amount of calculations, the intervention determination unit 219 specifies an offset wall OW obtained by offsetting the virtual wall VW by the radius r of the virtual sphere VS as shown in Fig. 4. The distance d1 between the virtual sphere VS and the virtual wall VW is equal to the distance d2 between the control point P and the offset wall OW. Therefore, the intervention determination unit 219 finds the distance d1 between the virtual sphere VS and the virtual wall VW by calculating the distance d2 between the control point P and the offset wall OW.

[0038] When the intervention determination unit 219 determines that intervention control is to be performed, the intervention control unit 220 controls an intervention target operation amount among the operation amounts acquired by the operation amount acquisition unit 211. The control signal output unit 221 outputs the operation amount acquired by the operation amount acquisition unit 211 or the operation amount controlled by the intervention determination unit 219 to the control valve 113 .

[0039] Calculation of the Position Identification Unit 215 Here, a method for identifying the positions of points on the hull of the work machine 100 by the position identifying unit 215 will be described. The position identifying unit 215 identifies the positions of points on the hull based on various measurement values ​​acquired by the measurement value acquiring unit 214 and geometry data recorded in the storage 250. Geometry data representing the dimensions of the revolving body 140, the boom 161, and the arm 162 is recorded in the storage 250. The position identifying unit 215 also identifies the position of the virtual sphere VS using the identified position of the arm top and the position and radius of the control point P of the virtual sphere VS of the attachment 163 identified by the attachment identifying unit 216.

[0040] The geometry data of the rotating body 140 is the position (x bm , y bm , z bm ), and the position of the point on the hull of the rotating body 140 (x sp , y sp , z sp ) is shown. The points on the outer hull of the rotating body 140 are points that are likely to come into contact with a wall surface when the body turns, such as the protruding points of the counterweight. The vehicle body coordinate system is defined by an X sb Axis, Y extending left and right sb Axis, extending vertically Z sb The up-down direction of the rotating body 140 does not necessarily coincide with the vertical direction.

[0041] The geometry data of the boom 161 is the position of the boom top in the boom coordinate system, which is a local coordinate system (x am , y am , z am The boom coordinate system is based on the position of the pin connecting the boom 161 and the rotating body 140, and is expressed by the X axis extending in the longitudinal direction. bm The axis extends in the direction in which the pin extends. bm axis, x bm Axis and Y bm Z perpendicular to the axis bmIt is a coordinate system composed of axes. The position of the boom top is the position of the pin that connects the boom 161 and the arm 162. The boom top is one of the points on the hull of the work machine 100.

[0042] The geometry data of the arm 162 is the position of the arm top in the arm coordinate system, which is a local coordinate system (x at , y at , z at The arm coordinate system is based on the position of the pin connecting the arm 162 and the boom 161, and is expressed as an X axis extending in the longitudinal direction. am The axis extends in the direction in which the pin extends. am axis, x am Axis and Y am Z perpendicular to the axis am It is a coordinate system composed of axes. The position of the arm top is the position of the pin that connects the arm 162 and the attachment 163. The arm top is one of the points on the outer hull of the work machine 100.

[0043] The position identification unit 215 detects the boom angle θ bm Based on the measured values ​​and the geometry data of the rotating body 140, a boom-body transformation matrix T for transforming from the boom coordinate system to the body coordinate system is calculated by the following formula (1). bm sb Generate the boom-body transformation matrix T bm sb is Y bm Boom angle θ around the axis bm and the deviation between the origin of the vehicle coordinate system and the origin of the boom coordinate system (x bm , y bm , z bm ) is the matrix that translates the In addition, the position identification unit 215 identifies the position of the boom top in the boom coordinate system indicated by the geometry data of the boom 161 and the boom-vehicle body transformation matrix T bm sb The position of the boom top in the vehicle body coordinate system is calculated by multiplying this by

[0044]

number

[0045] The position specifying unit 215 detects the arm angle θ am Based on the measured values ​​and the geometry data of the boom 161, an arm-boom transformation matrix T for transforming from the arm coordinate system to the boom coordinate system is calculated by the following formula (2). am bm The arm-boom transformation matrix T am bm is Y am Arm angle θ around the axis am and the deviation between the origin of the boom coordinate system and the origin of the arm coordinate system (x am , y am , z am ) is a matrix that translates the boom-vehicle body transformation matrix T bm sb and the arm-boom transformation matrix T am bm The arm-body transformation matrix T am sb In addition, the position specifying unit 215 generates the position of the arm top in the arm coordinate system indicated by the geometry data of the arm 162 and the arm-vehicle body transformation matrix T am sb The position of the arm top in the vehicle body coordinate system is calculated by multiplying this by

[0046]

number

[0047] The position specifying unit 215 determines the attachment angle θ at Based on the measured values ​​and the geometry data of the arm 162, an attachment-arm transformation matrix T for transforming from the attachment coordinate system to the arm coordinate system is calculated by the following formula (3). at am Generate the attachment-arm transformation matrix T at am is Yat Attachment angle θ around the axis at and the deviation between the origin of the arm coordinate system and the origin of the attachment coordinate system (x at , y at , z at ) is a matrix that translates the arm-vehicle body transformation matrix T am sb and the attachment-arm transformation matrix T at am The attachment-body transformation matrix T is used to transform from the attachment coordinate system to the vehicle coordinate system. at sb Generate.

[0048]

number

[0049] The position identification unit 215 identifies the position of the control point P of the attachment 163 identified by the attachment identification unit 216 and the attachment-vehicle body transformation matrix T at sb By calculating the product of these, the position of the control point P of the attachment 163 in the vehicle body coordinate system is calculated.

[0050] <<Control method for the work machine 100>> The control method for the work machine 100 according to the first embodiment will be described below. First, the operator of the work machine 100 attaches the attachment 163 to the work implement 160 and operates the monitor device 142 to perform a shape identification process for the attachment 163 .

[0051] {Shape identification processing of attachment 163} Fig. 7 is a flowchart (part 1) showing the shape identification process of the attachment 163 in the first embodiment. Fig. 8 is a flowchart (part 2) showing the shape identification process of the attachment 163 in the first embodiment. Fig. 9 is a diagram showing an example of a screen in the shape identification process according to the first embodiment. The display control unit 213 displays the first instruction screen D1 (FIG. 9) on the monitor device 142 (step S101). The first instruction screen D1 is provided with a "YES button" indicating the start of the shape identification process of the attachment 163 and a "NO button" indicating that the shape identification process of the attachment 163 is not executed. When executing the shape identification process of the attachment 163, the operator operates the "YES button" displayed on the first instruction screen D1 of the monitor device 142. The input unit 212 accepts an input of the "YES button" or "NO button" by the operator from the monitor device 142 (step S102).

[0052] When the processor 210 receives an operation input of the "NO button" by the operator (step S102: NO), the processor 210 ends the shape identification process of the attachment 163. In this case, the previously set data of the control point P and radius r of the attachment 163 continues to be used.

[0053] When the operator operates the "YES button" (step S102: YES), the measurement value acquisition unit 214 starts acquiring various measurement values ​​and imaging data (step S103). The position identification unit 215 starts calculating the position of the arm top in the vehicle body coordinate system based on the measurement values ​​acquired in step S103 (step S104). Thereafter, the measurement value acquisition unit 214 and the position identification unit 215 continuously acquire various measurement values ​​and imaging data and calculate the position of the arm top during execution of the shape identification process.

[0054] Next, the display control unit 213 causes the monitor device 142 to display the second instruction screen D2 (step S105). The second instruction screen D2 includes the imaging data acquired by the measurement value acquisition unit 214, a framing element, and an instruction to operate the work machine 160 so that the attachment 163 fits into the framing element. The framing element is a frame line that represents a predetermined range, and represents a positioning element for the attachment 163.

[0055] Next, the attachment specifying unit 216 determines whether or not the image of the attachment 163 is within the framing element on the second instruction screen D2 (step S106). The attachment specifying unit 216 may determine whether or not the image of the attachment 163 is within the framing element based on the position of the arm top specified in step S104, for example. Since the position of the imaging device 107 is fixed in the vehicle body coordinate system, the imaging range of the imaging device 107 can be specified from the vehicle body coordinate system. Therefore, by determining whether or not the arm top is located in a predetermined area corresponding to the upper part of the framing element within the imaging range in the vehicle body coordinate system, it is possible to determine whether or not the image of the attachment 163 is within the framing element. The attachment specifying unit 216 may also specify the position of the attachment by a method such as pattern matching based on the imaging data acquired in step S103.

[0056] If the image of the attachment 163 is not within the framing element (step S106: NO), the process returns to step S105, and the display of the second instruction screen D2 continues. If the image of the attachment 163 falls within the framing elements (step S106: YES), the display control unit 213 causes the monitor device 142 to display the third instruction screen D3 (step S107). The third instruction screen D3 includes the imaging data acquired by the measurement value acquisition unit 214, the framing elements, and an instruction to encourage the attachment 163 to be held up and returned. The holding and returning operations are performed by rotating the attachment 163 around the pin (Y bk This is the operation of rotating an object around an axis.

[0057] The attachment specifying unit 216 specifies an image coordinate system (X p Axis and Y p The position of the lowest point of the attachment 163 in the Y coordinate system (a two-dimensional coordinate system consisting of the Y and Y axes) is identified (step S108). The lowest point in the image coordinate system is the lowest point in the area in which the image of the attachment 163 is captured in the captured data, which is the area within the Y coordinate system of the image coordinate system.p It is the point with the largest coordinate value. The attachment specifying unit 216 specifies the position of the lowest point of the attachment 163 in the vehicle body coordinate system based on the position of the arm top specified by the position specifying unit 215 and the position of the lowest point specified in step S108 (step S109). Note that since the image coordinate system is a two-dimensional coordinate system, it is not possible to specify the position of the lowest point in the line of sight (depth direction) of the imaging device 107. Here, the attachment specifying unit 216 specifies the position on the assumption that the lowest point exists on an axis that passes through the arm top and extends in the vertical direction of the imaging device 107. This is because it is assumed that when the tip of the attachment 163 is at the lowest point, the attachment 163 and the imaging device 107 face each other, and therefore the tip is located on an axis that passes through the arm top and extends in the vertical direction of the imaging device 107.

[0058] The attachment specifying unit 216 temporarily stores the lowest point position in the main memory 230 in association with the attachment angle (step S110). The attachment specifying unit 216 determines whether or not the maximum value of the lowest point position with respect to the attachment angle can be specified from the relationship between the lowest point position and the attachment angle stored in the main memory 230 (step S111). If the maximum value cannot be specified (step S111: NO), the attachment specifying unit 216 returns the process to step S107 and continues to display the third instruction screen D3.

[0059] If the maximum value can be identified (step S111: YES), the attachment identifying unit 216 determines the position of the control point P of the attachment 163 in the attachment coordinate system based on the position of the lowest point related to the maximum value and the position of the arm top (step S112). Specifically, the attachment identifying unit 216 determines the position of the control point P in the following procedure. The attachment identifying unit 216 estimates the position of the lowest point related to the maximum value as the position of the tip of the attachment 163. The attachment identifying unit 216 determines the position of the tip in the attachment coordinate system based on the position of the lowest point related to the maximum value and the corresponding attachment angle. The attachment identifying unit 216 determines the position of the control point P, which is the midpoint between the arm top and the tip, based on the position of the arm top (origin of the attachment coordinate system) and the position of the tip in the attachment coordinate system. Furthermore, the attachment specifying unit 216 determines a radius r of the virtual sphere VS based on the position of the tip of the attachment 163 (step S113). Specifically, the attachment specifying unit 216 determines the distance between a corner of the tip of the attachment 163 (for example, the right end of the blade tip) and the control point P as the radius r. The attachment specifier 216 records the position and radius r of the control point P in the main memory 230 .

[0060] Next, the display control unit 213 displays the fourth instruction screen D4 on the monitor device 142 (step S114). The fourth instruction screen D4 is provided with a "YES button" indicating the start of an analysis related to the tilt mechanism provided in the attachment 163, and a "NO button" indicating that the analysis of the tilt mechanism is not executed. The input unit 212 accepts an operation input of the "YES button" or "NO button" by the operator from the monitor device 142 (step S115).

[0061] When the operator presses the "YES button" (step S115: YES), the display control unit 213 displays the fifth instruction screen D5 on the monitor device 142 (step S116). The fifth instruction screen D5 includes the imaging data acquired by the measurement value acquisition unit 214, a framing element, and an instruction to tilt the attachment 163. The tilt operation is performed by tilting the attachment 163 in a Z direction. bk This is an operation to rotate around an axis.

[0062] The attachment identifying unit 216 tracks the position of the tip of the attachment 163 in the imaging data by using an object tracking technique (step S117). The object tracking technique is a technique for estimating how a specified target moves on an image from a time series of imaging data, i.e., a moving image. Specifically, the attachment identifying unit 216 uses a partial image around the tip of the attachment 163 determined in step S112 in the imaging data to estimate the position of the partial image in the newly acquired imaging data.

[0063] The attachment specifying unit 216 determines whether or not the posture at the maximum tilt angle that can be taken by the tilt operation has been detected (step S118). For example, when a maximum value of the tip height is detected due to a turnaround of the tilt operation in the time series of the tip position identified by object tracking, it can be determined that the posture at the maximum tilt angle has been detected. Also, for example, the attachment specifying unit 216 may receive an input from the operator that the posture at the maximum tilt angle has been taken by operating the monitor device 142.

[0064] If the attitude at the maximum tilt angle has not been detected (step S118: NO), the attachment specifying unit 216 returns the process to step S116 and continues to display the fifth instruction screen D5. When the posture at the maximum tilt angle is detected (step S118: YES), the attachment identification unit 216 judges whether or not the distance between the corner of the tip of the attachment 163 in the posture at the maximum tilt angle and the control point P is longer than the radius r of the virtual sphere VS (step S119). Since the position of the control point P does not change due to the tilt operation, the distance between the corner and the control point P changes due to the tilt operation. When the distance between the corner of the tip and the control point P is longer than the radius r (step S119: YES), the radius r is updated (step S120). As a result, the radius r of the virtual sphere VS becomes the distance from the control point P to the farthest point in all postures that can be taken by the tilt operation of the attachment 163. As a result, it is possible to control the attachment 163 not to enter the virtual wall VW regardless of the tilt angle of the attachment 163. When the distance between the corner of the tip and the control point P is equal to or less than the radius r (step S119: NO), the radius r is not updated.

[0065] When the analysis of the tilt mechanism is completed by the processing from step S116 to step S120, or when the operator inputs the "NO button" on the fourth instruction screen D4 (step S115: NO), the display control unit 213 displays the sixth instruction screen D6 on the monitor device 142 (step S121). The sixth instruction screen D6 is provided with a "YES button" indicating the start of the analysis of the rotation mechanism provided in the attachment 163, and a "NO button" indicating that the analysis of the rotation mechanism is not performed. The input unit 212 receives the "YES button" or "NO button" input by the operator from the monitor device 142 (step S122).

[0066] When the operator presses the "YES button" (step S122: YES), the display control unit 213 displays the seventh instruction screen D7 on the monitor device 142 (step S123). The seventh instruction screen D7 includes the imaging data acquired by the measurement value acquisition unit 214, a framing element, and an instruction to rotate the attachment 163. The rotation operation is performed by rotating the attachment 163 in an X-direction. bk This is an operation to rotate around an axis.

[0067] The attachment specifying unit 216 determines whether or not the side of the attachment 163 faces the imaging device 107 in the imaging data (step S124). For example, the attachment specifying unit 216 calculates the area of ​​the region in which the attachment 163 appears in the imaging data acquired successively, and determines that the side of the attachment 163 faces the imaging device 107 when the attachment 163 does not face forward and the area is extremely small. Also, for example, the attachment specifying unit 216 may determine that the side of the attachment 163 faces the imaging device 107 by pattern matching with a known shape of the side of the attachment 163.

[0068] If the side surface of the attachment 163 does not directly face the imaging device 107 (step S124: NO), the attachment specifying unit 216 returns the process to step S121 and continues to display the seventh instruction screen D7. If the side surface of the attachment 163 faces the imaging device 107 (step S124: YES), the attachment identifying unit 216 calculates the distance between the position of the arm top and the tip, and updates the position of control point P, which is the midpoint between the arm top and the tip (step S125). This is because an image showing the side surface of the attachment 163 more accurately represents the positional relationship between the arm top and the tip than an image showing the front surface of the attachment 163.

[0069] When the analysis of the rotation mechanism is completed by the processes from step S121 to step S123, or when the operator presses the "NO button" on the sixth instruction screen D6 (step S122: NO), the display control unit 213 displays a confirmation screen D8 on the monitor device 142 (step S126). The confirmation screen D8 includes the imaging data acquired by the measurement value acquisition unit 214 and a virtual sphere VS centered on the control point P. In this manner, the control device 200 can identify the virtual sphere VS that includes the attachment 163 and record the data of the virtual sphere VS in the main memory 230 .

[0070] 《Virtual wall VW setting process》 The operator of the work machine 100 operates the monitor device 142 to set the virtual wall VW. When the input unit 212 receives an instruction to set the virtual wall VW from the monitor device 142, the display control unit 213 causes the monitor device 142 to display a selection screen for the type of virtual wall VW to be set. The control device 200 can set five types of virtual walls VW: a front wall, a left wall, a right wall, an upper wall, and a lower wall. The front wall, the left wall, and the right wall are wall surfaces that extend in the vertical direction. The upper wall and the lower wall are wall surfaces that extend in the horizontal direction. The virtual wall VW is represented by a normal vector that indicates the normal direction of the virtual wall VW and a position vector that indicates the position of a point through which the virtual wall VW passes, both of which are defined in the vehicle body coordinate system.

[0071] The work machine 100 can perform work within the reach of the work implement 160 by rotating the rotating body 140. Therefore, an operator usually rotates the work machine 100 when performing work such as excavation. The vehicle body coordinate system is based on the rotating body 140, and therefore rotates following the rotation of the work machine 100 when viewed from the viewpoint of the global coordinate system. If the virtual wall VW set in the vehicle body coordinate system rotates following the rotation of the work machine 100, the right wall and the left wall will not interfere with the work machine 100 and will be meaningless. For example, if a right wall is set on the right side of the rotating body 140, the right wall will always be maintained on the right side of the rotating body 140 and will not interfere with the work machine 100 no matter how the rotating body 140 is rotated. In addition, if the front wall rotates following the rotation of the work machine 100, it will behave as a ring-shaped wall rather than a flat wall, and will not function as a virtual wall VW along the wall surface of a building. Therefore, the control device 200 according to the first embodiment performs a rotational transformation process of the virtual wall VW in order to maintain the position of the virtual wall VW in the global coordinate system before and after the work machine 100 turns.

[0072] 《Virtual wall VW update and intervention control》 Fig. 10 is a flowchart (part 1) showing update and intervention control of the virtual wall VW set in the first embodiment. Fig. 11 is a flowchart (part 2) showing update and intervention control of the virtual wall VW set in the first embodiment. When the operator of the work machine 100 sets at least one virtual wall VW by operating the monitor device 142, the control device 200 starts the control described below.

[0073] The operation amount acquisition unit 211 acquires operation signals of the boom 161, the arm 162, the attachment 163, and the revolving body 140 from the operation device 141 (step S201). The measurement value acquisition unit 214 acquires measurement values ​​of the inclination measuring instrument 101, the revolving angle sensor 102, the boom angle sensor 103, the arm angle sensor 104, the attachment angle sensor 105, and the payload meter 106 (step S202).

[0074] The rotational transformation unit 218 performs rotational transformation on each of the one or more virtual walls VW stored in the main memory 230 based on the roll angle, pitch angle, and yaw angle of the rotating body 140 acquired from the inclinometer 101 in step S202, and updates them (step S203).

[0075] The position identifying unit 215 calculates the positions of multiple points on the hull of the work machine 100 and the control point P of the attachment 163 in the vehicle body coordinate system based on the measurement values ​​acquired in step S202 (step S204). The intervention determination unit 219 selects the hull points identified by the position identifying unit 215 one by one (step S205), and executes the processes of steps S206 to S212 below.

[0076] The intervention determination unit 219 determines whether the point passing through the point selected in step S205 and the X sb -Y sb The intervention determination unit 219 also determines a cross section that passes through the point selected in step S205 and is parallel to the X sb -Z sb A cross section parallel to the plane is identified (step S207).

[0077] The intervention determination unit 219 selects one by one from one or more virtual walls VW set in the main memory 230 (step S208), and executes the processes of steps S209 to S212 below. The intervention determination unit 219 calculates an intersection line between the cross section generated in step S206 and the virtual wall VW selected in step S208 as a horizontal virtual wall line (step S209). Note that the horizontal virtual wall line may not exist depending on the positional relationship between the cross section generated in step S206 and the virtual wall VW. If the horizontal virtual wall line exists, the intervention determination unit 219 calculates a turning angle at which the point selected in step S205 contacts the horizontal virtual wall line calculated in step S209 for each of right turning and left turning (step S210). For example, the intervention determination unit 219 calculates an intersection point between the horizontal virtual wall line and a circle centered on the turning center and passing through the point selected in step S205, and calculates an angle between a line segment extending from the turning center to the point selected in step S205 and a line segment extending from the turning center to the intersection point. Note that the intersection point may not exist depending on the positional relationship between the point selected in step S205 and the horizontal virtual wall line.

[0078] The intervention determination unit 219 also calculates the intersection line between the cross section generated in step S207 and the virtual wall VW selected in step S208 as a vertical virtual wall line (step S211). Note that depending on the positional relationship between the cross section generated in step S207 and the virtual wall VW, a vertical virtual wall line may not exist. If a vertical virtual wall line exists, the intervention determination unit 219 determines the distance between the point selected in step S205 and the vertical virtual wall line calculated in step S211 (step S212).

[0079] Next, the intervention determination unit 219 executes the following processes from step S213 to step S221 for the control point P of the attachment 163 identified in step S204. The intervention determination unit 219 acquires the radius r of the virtual sphere VS from the main memory 230 (step S213).

[0080] The intervention determination unit 219 selects one by one from one or more virtual walls VW set in the main memory 230 (step S214), and executes the processes of steps S215 to S221 below. The intervention determination unit 219 calculates the position of an offset wall OW obtained by offsetting the virtual wall VW selected in step S214 in the normal direction by the length of the radius r acquired in step S213 (step S215). That is, the intervention determination unit 219 moves the virtual wall VW selected in step S214 closer to the control point P of the attachment 163 by the length of the radius r. The intervention determination unit 219 calculates the position of an offset wall OW that passes through the control point P of the attachment 163 and is located within the X coordinate system of the vehicle body coordinate system. sb -Y sb The intervention determination unit 219 also determines a cross section that passes through the control point P of the attachment 163 and is parallel to the X coordinate system of the vehicle body. sb -Z sb A cross section parallel to the plane is identified (step S217).

[0081] The intervention determination unit 219 calculates the intersection line between the cross section generated in step S216 and the offset wall OW calculated in step S215 as a horizontal virtual wall line (step S218). Note that the horizontal virtual wall line may not exist depending on the positional relationship between the cross section generated in step S206 and the offset wall OW. If the horizontal virtual wall line exists, the intervention determination unit 219 calculates the turning angle at which the control point P of the attachment 163 contacts the horizontal virtual wall line calculated in step S209 for each of the right turn and the left turn (step S219). This turning angle is equivalent to the turning angle at which the virtual sphere VS contacts the virtual wall VW. For example, the intervention determination unit 219 calculates the intersection point between the horizontal virtual wall line and a circle that is centered on the turning center and passes through the control point P of the attachment 163, and calculates the angle between the line segment extending from the turning center to the control point P of the attachment 163 and the line segment extending from the turning center to the intersection point. Depending on the positional relationship between the control point P of the attachment 163 and the horizontal imaginary wall line, there may be cases where no intersection exists.

[0082] The intervention determination unit 219 also calculates the intersection line between the cross section generated in step S217 and the offset wall OW calculated in step S215 as a vertical virtual wall line (step S220). Note that the vertical virtual wall line may not exist depending on the positional relationship between the cross section generated in step S217 and the offset wall OW. If a vertical virtual wall line exists, the intervention determination unit 219 calculates the distance between the control point P of the attachment 163 and the vertical virtual wall line calculated in step S220 (step S221). This distance is equivalent to the distance at which the virtual sphere VS and the virtual wall VW come into contact.

[0083] The intervention judgment unit 219 calculates the minimum turning angle at which at least one of the multiple points and the virtual sphere VS contacts at least one virtual wall VW for each right turn and left turn, based on the turning angles of each point on the work machine 100 and each virtual wall VW on the virtual sphere VS obtained in step S210 and step S219 (step S222). The intervention determination unit 219 calculates the shortest distance between the work machine 160 and the virtual wall VW based on the distances to each point on the work machine 100 and each virtual wall VW on the virtual sphere VS determined in step S212 and step S221 (step S223).

[0084] The intervention determination unit 219 calculates the turning direction and the target turning speed based on the operation signal of the rotating body 140 acquired in step S201 (step S224). The intervention determination unit 219 determines whether the minimum turning angle for the turning direction indicated by the operation signal is greater than the intervention start angle (step S225). If the minimum turning angle is greater than the intervention start angle (step S225: YES), the intervention control unit 220 does not perform intervention control for the turning. On the other hand, if the minimum turning angle is equal to or less than the intervention start angle (step S225: NO), the intervention control unit 220 specifies the limit angular velocity from the minimum turning angle based on a predetermined limit angular velocity table, and limits the target turning speed of the rotating body 140 to a value equal to or less than the limit angular velocity (step S226). The limit angular velocity table is a function indicating the relationship between the minimum turning angle and the limit angular velocity, and the smaller the minimum turning angle, the smaller the limit angular velocity becomes. The limit angular velocity table may be set to a deceleration rate that does not impair the feeling of operation of the revolving body 140 by the operator, for example.

[0085] The intervention determination unit 219 calculates the target speed of the work implement 160 based on the operation signals of the boom 161, the arm 162, and the attachment 163 acquired in step S201 (step S227). Specifically, the intervention determination unit 219 calculates the target speeds of the boom 161, the arm 162, and the attachment 163 based on the operation signals of the boom 161, the arm 162, and the attachment 163 acquired in step S201. Next, the intervention determination unit 219 determines whether the shortest distance calculated in step S223 is longer than the intervention start distance (step S228). If the shortest distance is longer than the intervention start distance (step S228: YES), the intervention control unit 220 does not perform intervention control for the work implement 160. On the other hand, if the shortest distance is equal to or less than the intervention start distance (step S228: NO), the intervention control unit 220 selects each axis of the work machine 160 one by one, and performs the following processing of steps S230 to S231 for the selected axis (step S229). The intervention control unit 220 determines whether the operation direction of the selected axis is an operation in a direction approaching the virtual wall VW (step S230). If the operation direction of the selected axis is not an operation in a direction approaching the virtual wall VW (step S230: NO), the intervention control unit 220 does not perform intervention control for the selected axis. On the other hand, if the operation direction of the selected axis is an operation in a direction approaching the virtual wall VW (step S230: YES), the intervention control unit 220 specifies the speed limit for the selected axis based on a predetermined speed limit table, and limits the target speed to a value equal to or less than the speed limit (step S231).

[0086] The control signal output unit 221 generates a control signal based on the target speeds of the boom 161, the arm 162, and the attachment 163 and the target angular velocity of the rotating body 140, and outputs the control signal to the control valve 113 (step S232).

[0087] Actions and Effects In this way, the control device 200 controls the work machine 100 in the following procedure. The control device 200 acquires imaging data from the imaging device 107. The control device 200 identifies the shape of the attachment 163 based on the imaging data. The control device 200 controls the work machine 100 based on the identified shape of the attachment 163 so that the virtual wall VW and the attachment 163 do not come into contact with each other. As a result, when the attachment 163 is replaced, the control device 200 can easily determine the parameters of the attachment 163 by having the imaging device 107 capture an image of the attachment 163 and execute a shape identification process for the attachment 163.

[0088] Note that the control device 200 according to the first embodiment controls the attachment 163 so as not to come into contact with the virtual wall VW based on the virtual sphere VS that includes the attachment 163, but is not limited thereto. For example, in another embodiment, the three-dimensional shape of the attachment 163 may be specified, and the attachment 163 may be controlled so as not to come into contact with the virtual wall VW based on the three-dimensional shape. For example, when the imaging device 107 generates three-dimensional data as imaging data, such as a stereo camera or LiDAR, the control device 200 can obtain an image of the attachment 163 while changing the viewpoint by performing an operation of holding and returning the attachment 163, and therefore can obtain three-dimensional data of the outer shell of the attachment 163 with high accuracy.

[0089] Second embodiment The control device 200 of the work machine 100 according to the first embodiment calculates the position of the attachment 163 from the imaging data and determines the parameters to be used for control. The control device 200 according to the second embodiment stores in advance the parameters of the multiple attachments 163 that can be attached to the work machine 160. The control device 200 then identifies the type of the attachment 163 based on the imaging data and determines the parameters to be used for control from the pre-stored parameters.

[0090] The storage 250 of the control device 200 according to the second embodiment receives input of image data and stores an identification model that outputs identification information (such as a model number) of the attachment 163 appearing in the image data. The identification model may be, for example, a trained model trained using a training data set related to a combination of image data in which the attachment 163 appears and identification information of the attachment 163. Furthermore, the storage 250 stores, for each attachment 163, the attachment identification information, the control point P related to the attachment 163, and the radius of the virtual sphere VS in association with each other.

[0091] Fig. 12 is a flowchart showing the shape specification process of the attachment 163 in the second embodiment. Fig. 13 is a diagram showing an example of a screen in the shape specification process according to the second embodiment. The display control unit 213 displays the first instruction screen D11 (FIG. 13) on the monitor device 142 (step S301). The first instruction screen D11 is provided with a "YES button" indicating the start of the shape identification process of the attachment 163 and a "NO button" indicating no execution of the shape identification process of the attachment 163. The input unit 212 accepts an operation input of the "YES button" or "NO button" by the operator from the monitor device 142 (step S302).

[0092] When the operator presses the "NO button" (step S302: NO), the shape identification process ends. In this case, the previously set data of the control point P and radius r of the attachment 163 continues to be used.

[0093] When the operator operates the "YES button" (step S302: YES), the measurement value acquisition unit 214 starts acquiring various measurement values ​​and imaging data (step S303). The position identification unit 215 starts calculating the position of the arm top in the vehicle body coordinate system based on the measurement values ​​acquired in step S303 (step S304). Thereafter, the measurement value acquisition unit 214 and the position identification unit 215 continuously acquire various measurement values ​​and imaging data and calculate the position of the arm top during execution of the shape identification process.

[0094] Next, the display control unit 213 causes the monitor device 142 to display the second instruction screen D12 (step S305). The second instruction screen D12 includes the imaging data acquired by the measurement value acquisition unit 214, a framing element, and an instruction to perform an operation to insert the attachment 163 into the framing element. The framing element is a frame line that represents a predetermined range, and represents a positioning element for the attachment 163.

[0095] Next, the attachment specifying unit 216 judges whether or not the image of the attachment 163 is contained within the framing element on the second instruction screen D12 (step S306). If the image of the attachment 163 is not contained within the framing element (step S306: NO), the process returns to step S305 and the display of the second instruction screen D12 continues. If the image of the attachment 163 falls within the framing element (step S306: YES), the attachment identification unit 216 inputs the captured image data to the identification model stored in the storage 250 (step S307). Identifying the type of the attachment 163 using the identification model based on the image of the attachment 163 captured in the captured image data is an example of a process for identifying the shape of the attachment 163. The attachment identification unit 216 acquires, as an identification result from the identification model, the identification information of the most accurate attachment 163 and its accuracy. The attachment identification unit 216 determines whether the accuracy is equal to or greater than a predetermined threshold (step S308).

[0096] If the accuracy is less than the predetermined threshold (step S308: NO), the attachment identification unit 216 returns the process to step S307, and attempts to identify the attachment by acquiring imaging data again. For example, if the image of the attachment 163 is blurred in the imaging data, the accuracy may be low.

[0097] If the accuracy is greater than or equal to a predetermined threshold (step S308: YES), the attachment identification unit 216 obtains from the storage 250 the position of the control point P and the radius r of the virtual sphere VS associated with the identification information included in the identification result, and records them in the main memory 230 (step S309). After that, the display control unit 213 displays the confirmation screen D13 on the monitor device 142 (step S310). The confirmation screen D13 includes the imaging data acquired by the measurement value acquisition unit 214 and a virtual sphere VS with the control point P as its center. In this manner, the control device 200 can determine the virtual sphere VS that includes the attachment 163 and record the data of the virtual sphere VS in the main memory 230 .

[0098] Actions and Effects In this way, the control device 200 controls the work machine 100 in the following procedure. The control device 200 acquires imaging data from the imaging device 107. The control device 200 identifies the shape of the attachment 163 based on the imaging data. The control device 200 controls the work machine 100 based on the shape so that the virtual wall VW and the attachment 163 do not come into contact with each other. Thereby, when the attachment 163 is replaced, the control device 200 can easily determine the parameters of the attachment 163 by causing the imaging device 107 to capture an image of the attachment 163 .

[0099] Note that, although the control device 200 according to the second embodiment uses a trained model to identify the attachment 163, this is not limiting. For example, in another embodiment, the control device 200 may store appearance image data representing the shape of the attachment 163 for each attachable attachment 163, and identify the attachment 163 by pattern matching between the appearance image data and the captured image data.

[0100] Furthermore, the control device 200 according to the second embodiment repeatedly performs classification using a classification model until the classification angle becomes equal to or greater than a threshold value, but is not limited to this. For example, in another embodiment, if classification fails, the operator may manually input parameters. In another embodiment, if classification fails, the parameters may be determined by the process shown in steps S101 to S126 (FIG. 8) according to the first embodiment.

[0101] Other Embodiments Although one embodiment has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes are possible. That is, in other embodiments, the order of the above-mentioned processes may be changed as appropriate. Also, some of the processes may be executed in parallel. The control device 200 according to the embodiment described above may be configured by a single computer, or the configuration of the control device 200 may be divided and arranged among multiple computers, and the multiple computers may cooperate with each other to function as the control device 200. In this case, some of the computers that configure the control device 200 may be mounted inside the work machine 100, and other computers may be provided outside the work machine 100.

[0102] The work machine 100 according to the embodiment described above is operated by an operator who sits in the cab 180, but the work machine 100 according to other embodiments is not limited to this. FIG. 14 is a diagram showing the configuration of a work system according to another embodiment. The work machine 100 according to another embodiment may be operated by a remote operation device 500 as shown in FIG. 14. The control device 200 of the remotely operated work machine 100 transmits the imaging data of the imaging device 107 to the remote operation device 500 in real time. The remote operation device 500 includes a driver's seat 510, a display 520, an operation device 530, and a remote operation server 540. The remote operation server 540 displays the imaging data received from the work machine 100 on the display 520. This allows the operator to recognize the surrounding situation of the remote work machine 100. In addition, the remote operation server 540 transmits an operation signal of the operation device 530 by the operator to the work machine 100 via a network. The remote operation server 540 executes at least a part of the functions of the control device 200 according to the embodiment described above. That is, in a work system including a remote control server 540, the control device 200 and the remote control server 540 configure the work system.

[0103] Furthermore, in the control device 200 according to the embodiment described above, the control point P of the attachment 163 is set to the midpoint between the rotation axis and the tip, but this is not limited to this. For example, in another embodiment, the control point P may be the center of the rotation axis of the attachment 163. When the control point P is set to the center of the rotation axis of the attachment 163, the control point P is determined regardless of the rotation angle of the attachment 163, so that the attachment-vehicle body transformation matrix T at sb This allows the coordinate transformation calculation to be omitted.

[0104] Furthermore, the control device 200 according to the embodiment described above performs a rotational transformation process on the virtual wall VW to treat the virtual wall VW as a flat surface, but this is not limited to the above. For example, in another embodiment, if it is desired to have the virtual wall VW function as an annular wall surrounding the work machine 100, it is not necessary to perform the rotational transformation process on the virtual wall VW. In this case, the virtual wall VW becomes a curved surface. Note that the control device 200 according to another embodiment may perform a rotational transformation process on the virtual wall VW defined as a curved surface. [Explanation of symbols]

[0105] 100...working machine 101...inclination measuring device 102...rotation angle sensor 103...boom angle sensor 104...arm angle sensor 105...attachment angle sensor 106...payload meter 107...imaging device 111...power source 112...hydraulic pump 113...control valve 114...traveling motor 115...rotation motor 116...boom cylinder 117...arm cylinder 118...attachment cylinder 120...traveling body 140...rotating body 141...operation device 142...monitor device 160...working machine 161...boom 162...arm 163...attachment 180...operator cab 200...control device 210...processor 211...operation amount acquisition unit 212...input unit 213...display control unit 214...measurement value acquisition unit 215...position identification unit 216: attachment identification unit 217: generation unit 218: rotation conversion unit 219: intervention determination unit 220: intervention control unit 221: control signal output unit 230: main memory 250: storage 270: interface P: control point VS: virtual sphere VW: virtual wall

Claims

1. A system for controlling a work machine having a work implement to which a work tool can be attached, comprising: an imaging device provided on the work machine for capturing imaging data showing the work machine; A processor; Equipped with The processor, acquiring the imaging data from the imaging device; Identifying a shape of the work tool based on the imaging data; and controlling the work machine based on the shape so that the work tool does not come into contact with a virtual wall, which is a surface that prohibits entry of the work machine. system.

2. The processor, Identifying the attitude of the work machine; Identifying a shape of the work implement based on the imaging data and the attitude of the work implement The system of claim 1 .

3. a storage device that stores data relating to a shape of each of a plurality of working tools that can be attached to the working machine and data relating to a dimension of the working machine; retrieving dimensions of the work tool from the storage device based on the shape; and controlling the work machine based on the dimensions so that the virtual wall and the work implement do not come into contact with each other. The system of claim 1 .

4. The processor, determining a radius of a virtual sphere defined so as to include the work tool and centered on a control point of the work tool based on the shape of the work tool; The work machine is controlled based on the position of the control point and the radius so that the virtual wall and the virtual sphere do not come into contact with each other. A system according to any one of claims 1 to 3.

5. 1. A method for controlling a work machine having a work implement with a tool attached to its tip, comprising: acquiring imaging data from an imaging device provided on the work machine, the imaging device capturing imaging data showing the work machine; identifying a shape of the work tool based on the imaging data; a step of controlling the work machine based on the shape so that the work tool does not come into contact with a virtual wall that is a surface that prohibits entry of the work machine; A method for providing the above.

6. A computer controls a work machine having a work implement to which a work tool can be attached at a tip thereof. acquiring imaging data from an imaging device provided on the work machine, the imaging device capturing imaging data showing the work machine; identifying a shape of the work tool based on the imaging data; a step of controlling the work machine based on the shape so that the work tool does not come into contact with a virtual wall that is a surface that prohibits entry of the work machine; A program that executes the following.

Citation Information

Patent Citations

  • Interference preventing device for construction machine

    JP1997256403A