System, method, and program
The system uses an imaging device and processor to analyze the shape of replaceable tools on working machines, defining a virtual sphere to automatically set control parameters, addressing the inefficiency of manual adjustments and ensuring safe operation within defined boundaries.
Patent Information
- Application Number
- PCT/JP2024/012777
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-03-28
- Publication Date
- 2024-10-03
AI Technical Summary
Existing systems for working machines with replaceable tools face challenges in easily determining control parameters, requiring manual adjustments each time a tool is changed, which is time-consuming and inefficient.
A system that includes an imaging device and a processor to capture and analyze the shape of the work implement, controlling the machine to prevent contact with virtual walls by defining a virtual sphere based on the tool's shape, allowing for automatic determination of control parameters.
Enables easy and efficient determination of control parameters for replaceable work tools, ensuring the machine operates within defined boundaries without manual intervention, improving operational efficiency.
Smart Images

Figure JP2024012777_03102024_PF_FP_ABST
Abstract
Description
System, method and program
[0001] This application claims priority to Japanese Patent Application No. 2023-051148, filed on March 28, 2023, the contents of which are incorporated herein by reference.
[0002] A technique for setting a virtual wall in space to limit the operating range of a work machine is known. 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 work machine's actuator depending on the distance between the virtual wall and the work machine. Furthermore, Patent Document 1 discloses a technique for preventing the work tool from entering an interference prevention zone by defining a virtual circle having a center on the rotation axis of the work tool and a radius extending to the tip of the work tool, and determining the relationship between the virtual circle and the interference prevention zone.
[0003] Japanese Patent Publication No. 9-256403
[0004] Incidentally, some work machines can have a variety of 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 control parameters. 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.
[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. The system includes an imaging device mounted on the work machine and capturing image data showing the work implement, and a processor. The processor acquires the image data from the imaging device and identifies the shape of the work implement based on the image 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 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 that captures imaging data showing the work implement. The identification step identifies the 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 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, an identification 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 identification step identifies the 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 entry of the work implement.
[0009] According to the above aspect, parameters relating to the control of the replaceable implement can be easily determined.
[0010] FIG. 1 is a schematic diagram showing the configuration of a work machine according to a first embodiment. FIG. 2 is a diagram showing a drive system of a work machine according to the first embodiment. FIG. 3 is a schematic block diagram showing the configuration of a control device according to the first embodiment. FIG. 4 is a diagram showing the relationship between a virtual sphere and a virtual wall in the first embodiment. FIG. 5 is a diagram showing the relationship between a virtual sphere and the outer shell of a bucket in the first embodiment. FIG. 6 is a diagram showing an example of resetting of a virtual wall accompanying the rotation of a rotating body in the first embodiment. FIG. 7 is a flowchart (part 1) showing the shape identification process of an attachment in the first embodiment. FIG. 8 is a flowchart (part 2) showing the shape identification process of an attachment in the first embodiment. FIG. 9 is a diagram showing an example screen in the shape identification process according to the first embodiment. FIG. 10 is a flowchart (part 1) showing the update and intervention control of a virtual wall set in the first embodiment. FIG. 11 is a flowchart (part 2) showing the update and intervention control of a virtual wall set in the first embodiment. FIG. 12 is a flowchart showing the shape identification process of an attachment in the second embodiment. FIG. 13 is a diagram showing an example screen in the shape identification process according to the second embodiment. FIG. 14 is a diagram showing the configuration of a work system according to another embodiment.
[0011] <First Embodiment> <Configuration of Work Machine> The embodiments will now 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 revolving 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 through operation by the 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 work machine 100 so that it can travel. The running body 120 is, for example, a pair of left and right caterpillars. The rotating body 140 is supported on the running body 120 so that it can rotate about a rotation center. The working implement 160 is supported on the rotating body 140 so that it can operate. The working implement 160 is hydraulically driven. The working implement 160 includes a boom 161, an arm 162, and an attachment 163 which is a work implement. The attachment 163 is an example of a working tool. In the example shown in FIG. 1 , the attachment 163 is a bucket. The base end of the boom 161 is rotatably attached to the rotating body 140. The base end of the arm 162 is rotatably attached to the tip of the boom 161. The attachment 163 is rotatably attached to the tip of the arm 162. Here, the portion of the rotating body 140 to which the working implement 160 is attached is referred to as the front. Furthermore, with respect to the rotating body 140, the opposite side of the front portion is referred to as the rear portion, the left side as the left portion, and the right side as the right portion.
[0013] The operator's cab 180 is provided at the front of the revolving unit 140. Inside the operator's cab 180, there are provided an operation device 141 which the operator uses 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 revolving body 140, and the work machine 160 based on the operation of the operation device by the operator. The control device 200 is provided inside the operator's cab 180, for example.
[0015] <<Drive system of work machine 100>> Figure 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 plurality 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 travel motor 114 is driven by hydraulic oil supplied from the hydraulic pump 112 and drives the traveling body 120. The swing motor 115 is driven by hydraulic oil supplied from the hydraulic pump 112 and rotates the rotating body 140 relative to the traveling body 120.
[0017] The boom cylinder 116 is a hydraulic cylinder for driving the boom 161. The base end of the boom cylinder 116 is attached to the rotating body 140. The 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. The base end of the arm cylinder 117 is attached to the boom 161. The 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. The base end of the attachment cylinder 118 is attached to the arm 162. The tip end of the attachment cylinder 118 is attached to the attachment 163.
[0018] <<Measurement System of Work Machine 100>> The work machine 100 is equipped with a plurality of sensors for measuring the attitude and position of the work machine 100. Specifically, the work machine 100 is equipped with an inclination measuring device 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 inclinometer 101 measures the attitude of the revolving unit 140. The inclinometer 101 measures the inclination (e.g., roll angle, pitch angle, and yaw angle) of the revolving unit 140 with respect to a horizontal plane. An example of the inclinometer 101 is an IMU (Inertial Measurement Unit). In this case, the inclinometer 101 measures the acceleration and angular velocity of the revolving unit 140 and calculates the inclination of the revolving unit 140 with respect to a horizontal plane based on the measurement results. The inclinometer 101 is installed, for example, below the operator's cab 180. The inclinometer 101 outputs attitude data of the revolving unit 140, which is a measurement value, to the control device 200.
[0020] The turning angle sensor 102 measures the turning angle of the revolving unit 140 relative to the running unit 120. The measurement value of the turning angle sensor 102 indicates zero, for example, when the directions of the running unit 120 and the revolving unit 140 are the same. The turning angle sensor 102 is installed, for example, at the center of rotation of the revolving unit 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 the boom angle, which is the 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 with respect 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 when, for example, the direction of a line passing through the base end and tip end of the boom 161 coincides with the fore-and-aft direction of the revolving structure 140. Note that, in other embodiments, the boom angle sensor 103 may be a stroke sensor attached to the boom cylinder 116. Furthermore, in other embodiments, the boom angle sensor 103 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 the measurement value, to the control device 200.
[0022] The arm angle sensor 104 measures the arm angle, which is the 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 with respect 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 line passing through the base end and tip end of the arm 162 coincides with the direction of a line passing through the base end and tip end of the boom 161. Note that, in another embodiment, the arm angle sensor 104 may calculate the angle by attaching a stroke sensor to the arm cylinder 117. In another embodiment, the arm angle sensor 104 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 the measurement value, to the control device 200.
[0023] The attachment angle sensor 105 measures the attachment angle, which is the 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 line passing through the base end and tip end of the attachment 163 coincides with the direction of a line passing through the base end and tip end of the arm 162. Note that, in another embodiment, the attachment angle sensor 105 may be a rotation sensor provided on a pin connecting the arm 162 and the attachment 163. Furthermore, in another embodiment, the attachment angle sensor 105 may be an IMU attached to the attachment 163. The attachment angle sensor 105 outputs attachment angle data, which is the 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 the measured value, that is, data on the weight of the load, to the control device 200.
[0025] The imaging device 107 is provided on the revolving unit 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 operator's 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] 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 the inclination measuring device 101, the swing angle sensor 102, the boom angle sensor 103, the arm angle sensor 104, the attachment angle sensor 105, and the payload meter 106.
[0027] Storage 250 is a non-transitory tangible storage medium. Examples of storage 250 include a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory. Storage 250 may be an internal medium directly connected to the bus of control device 200, or may be an external medium connected to control device 200 via interface 270 or a communication line. Storage 250 stores a control program for controlling work machine 100.
[0028] The control program may be for realizing some of the functions to be performed by the control device 200. For example, the control program may be combined with other programs already stored in the storage 250 or other programs implemented in other devices to perform the functions. In other embodiments, the control device 200 may include a custom large-scale integrated circuit (LSI) such as a programmable logic device (PLD) in addition to or instead of the above configuration. Examples of PLDs include programmable array logic (PAL), generic array logic (GAL), complex programmable logic device (CPLD), and field programmable gate array (FPGA). In this case, some or all of the functions realized by the processor may be realized by the integrated circuit.
[0029] The storage 250 stores geometry data representing the dimensions of the revolving unit 140, the boom 161, and the arm 162. The geometry data represents 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 determination 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 accepts operation input by the operator from the monitor device 142. In particular, when the attachment 163 is replaced, the input unit 212 accepts input from the operator to execute shape identification processing for the attachment 163, and starts the shape identification processing 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 hull of the work machine 100 in the vehicle body coordinate system. The hull of the work machine 100 is the external shape of the work machine 100. The hull of the work machine 100 is defined, for example, by the shapes that form the external shapes of the revolving unit 140 and the work implement 160. Specifically, the position identification unit 215 identifies multiple points on the hull 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 the various measurement values acquired by the measurement value acquisition unit 214, the geometry data recorded in the storage 250, and the data identified by the attachment identification unit 216. The multiple points on the hull 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 unit 140. The vehicle body coordinate system is an orthogonal coordinate system with its origin at a representative point of the rotating unit 140 (for example, a point passing through the center of rotation). The calculations 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 these.
[0033] The control point P of the attachment 163 is the center of the virtual sphere VS when the attachment 163 is considered to be a sphere. In order to simply represent the attachment 163, the virtual sphere VS is defined so as to include the attachment 163 with the control point P as its center. FIG. 4 is a diagram showing the relationship between the virtual sphere VS and a virtual wall VW in the first embodiment. FIG. 5 is a diagram showing the relationship between the virtual sphere VS and the outer hull of the bucket in the first embodiment. The attachment 163 in the first embodiment is a bucket, and as shown in FIGS. 4 and 5 , the control point P is the midpoint of a line segment connecting the midpoint of the pin (rotation axis) connecting the arm 162 and the bucket to the midpoint of the cutting edge (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 on the outer hull of the bucket. Therefore, the virtual sphere VS includes the bucket. In the example of FIG. 5 , points AP0, AP1, AP2, AP3, AP4, and AP5 are specified as points for simply representing 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 , radius r is equal to the distance from control point P to point AP2. By setting bucket 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 gap between the bottom of the bucket and virtual sphere VS can be reduced. On the other hand, the distance between the bucket's opening surface and virtual sphere VS is greater than that of the bottom surface. However, in a backhoe excavator, the bucket's opening surface does not usually face forward of the work machine 100, so this rarely affects operability. Furthermore, because the bucket is shaped like a hemisphere, setting 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 has the advantage of making it easier for the operator to visualize virtual sphere VS during operation.
[0034] The attachment specifying unit 216 specifies 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 specified by the position specifying 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 determined by the position (x cp , y cp , zcp The attachment coordinate system is expressed as X θ extending toward the tip end, with the position of the pin connecting the attachment 163 and the arm 162 as the reference. at Y extends in the direction that the shaft and pin extend 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 identified by the attachment identifying unit 216. Therefore, 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 identified 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 the 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 revolving unit 140 rotates. Specifically, the rotation conversion unit 218 rotationally converts 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 in association with the rotation of the revolving unit in the first embodiment. For example, as shown in FIG. 6 , when the revolving unit 140 rotates after the virtual wall VW is set, 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 revolving unit 140 by referring to the measurement values of the inclination measuring device 101 acquired by the measurement value acquisition unit 214, and rotationally converts the parameters of the virtual wall VW around the origin of the vehicle body coordinate system. In this way, the rotation conversion unit 218 can cancel the rotation of the virtual wall VW caused by the rotation of the revolving unit 140.
[0037] The intervention determination unit 219 determines whether to limit the rotation speed of the revolving unit 140 or the speed of the work implement 160 based on the positional relationship between the virtual wall VW and the multiple points on the hull 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, limiting the speed of the revolving unit 140 or the work implement 160 by the control device 200 is also referred to as intervention control. Specifically, the intervention determination unit 219 calculates the minimum rotation angle required for contact between the virtual wall VW and at least one of the multiple points on the hull, and determines to perform intervention control on the revolving unit 140 if the minimum rotation angle is equal to or less than a predetermined angle. The intervention determination unit 219 also calculates the minimum distance between the virtual wall VW and the work implement 160, and determines to perform intervention control on the work implement 160 if the minimum distance is equal to or less than a predetermined distance. At this time, the intervention determination unit 219 calculates the distance for the attachment 163 based on the virtual sphere VS. In order to reduce the amount of calculation, 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 determines 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 the operation amount of the intervention target 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 by Position Identification Unit 215>> Here, a method for identifying the positions of points on the hull of the work machine 100 by the position identification unit 215 will be described. The position identification unit 215 identifies the positions of points on the hull based on the various measurement values acquired by the measurement value acquisition unit 214 and the geometry data recorded in the storage 250. Geometry data representing the dimensions of the revolving unit 140, the boom 161, and the arm 162 is recorded in the storage 250. The position identification 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 identification unit 216.
[0040] The geometry data of the rotating unit 140 is the position (x bm , y bm , z bm ), and the position of a point on the hull of the rotating bed 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 during rotation, such as the protruding points of the counterweight. The vehicle body coordinate system is based on the X axis, which extends in the front-rear direction with the center of rotation of the rotating body 140 as the reference. sb Axis, Y extending left and right sb Axis, Z extending in the vertical direction sb The coordinate system is configured by the axes. Note that 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 defined by an X axis extending in the longitudinal direction. bm Y extends in the direction that the shaft and pin extend bm axis, X bm Axis and Y bm Z perpendicular to the axis bmThe boom top position 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 Y extends in the direction that the shaft and pin extend am axis, X am Axis and Y am Z perpendicular to the axis am The coordinate system is made up 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 specifying unit 215 determines the boom angle θ acquired by the measurement value acquiring unit 214. bm Based on the measurement values and the geometry data of the rotating body 140, a boom-to-body transformation matrix T for transforming from the boom coordinate system to the body coordinate system is calculated using the following equation (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 a matrix that translates the boom top position 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 coordinate system is calculated by multiplying this by
[0044]
[0045] The position specifying unit 215 determines the arm angle θ acquired by the measurement value acquiring unit 214. amBased 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 equation (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 By calculating the product of these, the arm-body transformation matrix T for transforming from the arm coordinate system to the body coordinate system is obtained. am sb Furthermore, the position specifying unit 215 calculates 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]
[0047] The position specifying unit 215 determines the attachment angle θ acquired by the measurement value acquiring unit 214. at Based on the measured values and the geometry data of the arm 162, the attachment-arm transformation matrix T for transforming from the attachment coordinate system to the arm coordinate system is calculated by the following equation (3): at am The attachment-arm transformation matrix T at am Is Y at 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 amsb and the attachment-arm transformation matrix T at am By calculating the product of these, the attachment-body transformation matrix T for transforming from the attachment coordinate system to the body coordinate system is obtained. at sb Generate.
[0048]
[0049] The position specifying unit 215 calculates the position of the control point P of the attachment 163 specified by the attachment specifying unit 216 and the attachment-vehicle body transformation matrix T at sb The position of the control point P of the attachment 163 in the vehicle body coordinate system is obtained by calculating the product of
[0050] <<Control Method of Construction Machine 100>> A control method of the construction machine 100 according to the first embodiment will now be described. First, when the operator of the construction machine 100 attaches the attachment 163 to the work implement 160, he or she operates the monitor device 142 to perform a shape identification process for the attachment 163.
[0051] <<Shape Identification Process of the 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 screen in the shape identification process according to the first embodiment. The display control unit 213 displays a first instruction screen D1 ( FIG. 9 ) on the monitor device 142 (step S101). The first instruction screen D1 includes 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 to be executed. When the operator executes 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] If the processor 210 receives an input of the "NO button" from the operator (step S102: NO), the processor 210 ends the shape identification process for the attachment 163. In this case, the data of the control point P and radius r of the attachment 163 that were previously set continues to be used.
[0053] When the operator presses the "YES button" (step S102: YES), the measurement value acquisition unit 214 starts acquiring various measurement values and image data (step S103). Furthermore, 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 image data and calculate the position of the arm top during execution of the shape identification process.
[0054] Next, the display control unit 213 displays the second instruction screen D2 on the monitor device 142 (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 identification unit 216 determines whether the image of the attachment 163 is within the framing element on the second instruction screen D2 (step S106). The attachment identification unit 216 may determine whether the image of the attachment 163 is within the framing element, for example, based on the position of the arm top identified in step S104. Because 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 identified from the vehicle body coordinate system. Therefore, by determining whether the arm top is located in a predetermined region of the imaging range in the vehicle body coordinate system that corresponds to the top of the framing element, it is possible to determine whether the image of the attachment 163 is within the framing element. The attachment identification unit 216 may also identify the position of the attachment using a technique 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 elements (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 is 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 instructions for the attachment 163 to be held up and returned. The holding and returning operations are performed by extending and retracting the attachment cylinder 118 to rotate the attachment 163 around the pin (Y bk This is the operation of rotating a metal object around its axis.
[0057] The attachment specifying unit 216 calculates the coordinate system of the image data (X p axis and Y p The position of the lowest point of the attachment 163 in the image 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 position of the lowest point of the attachment 163 in the area where the image of the attachment 163 is captured in the captured data. pThis 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 because 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 image capture device 107. Here, the attachment specifying unit 216 specifies the position by assuming that the lowest point exists on an axis that passes through the arm top and extends in the vertical direction of the image capture device 107. This is because, when the tip of the attachment 163 is at the lowest point, the attachment 163 and the image capture device 107 are directly facing each other, and it is assumed that the tip will be located on an axis that passes through the arm top and extends in the vertical direction of the image capture device 107.
[0058] The attachment identification unit 216 associates the position of the lowest point with the attachment angle and temporarily stores it in the main memory 230 (step S110). The attachment identification unit 216 determines whether or not the maximum value of the position of the lowest point with respect to the attachment angle can be identified from the relationship between the position of the lowest point and the attachment angle stored in the main memory 230 (step S111). If the maximum value cannot be identified (step S111: NO), the attachment identification unit 216 returns the process to step S107 and continues displaying the third instruction screen D3.
[0059] If the local maximum value can be identified (step S111: YES), the attachment identification unit 216 determines the position of a control point P of the attachment 163 in the attachment coordinate system based on the position of the lowest point related to the local maximum value and the position of the arm top (step S112). Specifically, the attachment identification unit 216 determines the position of the control point P in the following procedure. The attachment identification unit 216 estimates the position of the lowest point related to the local maximum value as the position of the tip of the attachment 163. The attachment identification unit 216 determines the position of the tip in the attachment coordinate system based on the position of the lowest point related to the local maximum value and the corresponding attachment angle. The attachment identification 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. The attachment specifying unit 216 also determines the 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 radius r as 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. The attachment specifying unit 216 records the position of the control point P and the radius r in the main memory 230.
[0060] Next, the display control unit 213 displays a fourth instruction screen D4 on the monitor device 142 (step S114). The fourth instruction screen D4 has a "YES button" that indicates the start of analysis of the tilt mechanism provided in the attachment 163 and a "NO button" that indicates not to perform analysis of the tilt mechanism. The input unit 212 accepts an 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 a 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. bkIt is an operation of rotating around an axis.
[0062] The attachment identification unit 216 tracks the position of the tip of the attachment 163 in the imaging data using object tracking technology (step S117). Object tracking technology is a technology that estimates how a specified object moves in an image from a time series of imaging data, i.e., from a moving image. Specifically, the attachment identification unit 216 uses a partial image of the imaging data around the tip of the attachment 163 determined in step S112 to estimate the position of the partial image in the newly acquired imaging data.
[0063] The attachment identification unit 216 determines whether or not the posture at the maximum tilt angle that can be assumed by the tilt operation has been detected (step S118). For example, it can be determined that the posture at the maximum tilt angle has been detected when a maximum value for the height of the tip is detected due to a turnaround in the tilt operation in the time series of the tip position identified by object tracking. Furthermore, for example, the attachment identification unit 216 may receive input from the operator that the posture at the maximum tilt angle has been assumed by operating the monitor device 142.
[0064] If the orientation at the maximum tilt angle has not been detected (step S118: NO), the attachment identification unit 216 returns to step S116 and continues displaying the fifth instruction screen D5. If the orientation at the maximum tilt angle has been detected (step S118: YES), the attachment identification unit 216 determines whether the distance between the corner of the tip of the attachment 163 and the control point P in the orientation at the maximum tilt angle is longer than the radius r of the virtual sphere VS (step S119). Because the position of the control point P does not change with tilt operation, the distance between the corner and the control point P changes with tilt operation. If the distance between the corner of the tip of the attachment 163 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 orientations that can be assumed by tilt operation of the attachment 163. This makes it possible to control the attachment 163 so that it does not enter the virtual wall VW, regardless of the tilt angle of the attachment 163. If the distance between the corner of the tip end 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 of steps S116 to S120, or when the operator presses the "NO" button on the fourth instruction screen D4 (step S115: NO), the display control unit 213 displays a sixth instruction screen D6 on the monitor device 142 (step S121). The sixth instruction screen D6 has a "YES" button indicating the start of analysis of the rotation mechanism provided in the attachment 163 and a "NO" button indicating that analysis of the rotation mechanism is not to be performed. The input unit 212 receives the operator's input of the "YES" or "NO" button 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 It is an operation of rotating around an axis.
[0067] The attachment specifying unit 216 determines whether 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 that is successively acquired, 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 minimal. Furthermore, 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 face the imaging device 107 (step S124: NO), the attachment identification unit 216 returns the process to step S121 and continues displaying the seventh instruction screen D7. If the side surface of the attachment 163 faces the imaging device 107 (step S124: YES), the attachment identification unit 216 calculates the distance between the position of the arm top and the tip end, and updates the position of control point P, which is the midpoint between the arm top and the tip end (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 end than an image showing the front of the attachment 163.
[0069] When the analysis of the rotation mechanism is completed by the processes of steps S121 to 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 image data acquired by the measurement value acquisition unit 214 and a virtual sphere VS centered on the control point P. As a result, 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] <<Processing for Setting Virtual Wall VW>> 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. There are five types of virtual walls VW that can be set by the control device 200: a front wall, a left wall, a right wall, an upper wall, and a lower wall. The front wall, left wall, and right wall are wall surfaces that extend in the vertical direction. The upper wall and 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 the 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 rotate the rotating unit 140 to perform work within the reach of the work implement 160. For this reason, the operator typically rotates the work machine 100 when performing work such as excavation. The vehicle body coordinate system is based on the rotating unit 140, and therefore rotates to follow the rotation of the work machine 100 when viewed from the perspective of the global coordinate system. If the virtual wall VW set in the vehicle body coordinate system rotates to follow the rotation of the work machine 100, the right and left walls 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 unit 140, no matter how the rotating unit 140 is rotated, the right wall will always remain on the right side of the rotating unit 140 and will not interfere with the work machine 100. Furthermore, if the front wall rotates to follow 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 that follows the wall surface of a building. Therefore, the control device 200 according to the first embodiment performs a rotational transformation process on 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] <<Updating of Virtual Wall VW and Intervention Control>> Figure 10 is a flowchart (part 1) showing updating of a virtual wall VW set in the first embodiment and intervention control. Figure 11 is a flowchart (part 2) showing updating of a virtual wall VW set in the first embodiment and intervention control. 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, arm 162, attachment 163, and revolving unit 140 from the operation device 141 (step S201). The measurement value acquisition unit 214 acquires measurement values of the inclination measuring device 101, revolving angle sensor 102, boom angle sensor 103, arm angle sensor 104, attachment angle sensor 105, and payload meter 106 (step S202).
[0074] The rotational conversion unit 218 rotates and converts 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 obtained from the incline measuring device 101 in step S202, and updates them (step S203).
[0075] The position identification 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 identification unit 215 one by one (step S205), and executes the processing 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 parallel to the plane (step S206). sb -Z sb A cross section parallel to the plane is identified (step S207).
[0077] The intervention determination unit 219 selects one or more virtual walls VW set in the main memory 230 one by one (step S208) and executes the following processing of steps S209 to S212. The intervention determination unit 219 calculates the 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, depending on the positional relationship between the cross section generated in step S206 and the virtual wall VW, a horizontal virtual wall line may not exist. If a horizontal virtual wall line exists, the intervention determination unit 219 calculates the turning angle at which the point selected in step S205 contacts the horizontal virtual wall line calculated in step S209 for each of right and left turns (step S210). For example, the intervention determination unit 219 calculates the intersection point between the horizontal virtual wall line and a circle centered at the turning center and passing through the point selected in step S205, and determines the angle between the line segment extending from the turning center to the point selected in step S205 and the line segment extending from the turning center to the intersection point. Note that there may be cases where no intersection point exists 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 a vertical virtual wall line may not exist depending on the positional relationship between the cross section generated in step S207 and the virtual wall VW. If a vertical virtual wall line exists, the intervention determination unit 219 calculates 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 of steps S213 to 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 or more virtual walls VW set in the main memory 230 one by one (step S214), and executes the processing of the following steps S215 to S221. 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. 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 depending on the positional relationship between the cross section generated in step S206 and the offset wall OW, a horizontal virtual wall line may not exist. If a 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 right and left turns (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 centered at the turning center and passing through the control point P of the attachment 163, and then 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 no intersection.
[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 depending on the positional relationship between the cross section generated in step S217 and the offset wall OW, a vertical virtual wall line may not exist. 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 determination unit 219 calculates the minimum turning angle at which at least one of the multiple points and the virtual sphere VS comes into contact with at least one virtual wall VW for each right turn and left turn, based on the turning angles for each point on the work machine 100 and for each virtual wall VW on the virtual sphere VS calculated in step S210 and step S219 (step S222).The intervention determination unit 219 calculates the shortest distance between the work implement 160 and the virtual wall VW, based on the distances for each point on the work machine 100 and for each virtual wall VW on the virtual sphere VS calculated in step S212 and step S221 (step S223).
[0084] The intervention determination unit 219 calculates the rotation direction and the target rotation speed based on the operation signal of the rotating unit 140 acquired in step S201 (step S224). The intervention determination unit 219 determines whether the minimum rotation angle for the rotation direction indicated by the operation signal is greater than the intervention start angle (step S225). If the minimum rotation angle is greater than the intervention start angle (step S225: YES), the intervention control unit 220 does not perform intervention control for the rotation. On the other hand, if the minimum rotation angle is equal to or less than the intervention start angle (step S225: NO), the intervention control unit 220 determines a limit angular velocity from the minimum rotation angle based on a predetermined limit angular velocity table and limits the target rotation speed of the rotating unit 140 to a value equal to or less than the limit angular velocity (step S226). The limit angular velocity table is a function that indicates the relationship between the minimum rotation angle and the limit angular velocity, and the smaller the minimum rotation angle, the smaller the limit angular velocity. The limit angular velocity table may be set to a deceleration rate that does not impair the operator's control feel of the revolving unit 140, 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, arm 162, and attachment 163 acquired in step S201 (step S227). Specifically, the intervention determination unit 219 calculates the target speeds of the boom 161, arm 162, and attachment 163 based on the operation signals of the boom 161, arm 162, and 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 of 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 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 identifies a 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 revolving unit 140, and outputs the 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 does not come into contact with the attachment 163. 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 executing a shape identification process for the attachment 163.
[0088] Note that, although 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 encompasses the attachment 163, this is not limiting. For example, in other embodiments, the three-dimensional shape of the attachment 163 may be identified, and control may be performed so that the attachment 163 does not come into contact with the virtual wall VW based on the identified three-dimensional shape. For example, when the imaging device 107 generates three-dimensional data as imaging data using a stereo camera, LiDAR, or the like, the control device 200 can obtain an image of the attachment 163 while changing the viewpoint by performing an operation of embracing and turning 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 image 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 implement 160. The control device 200 then identifies the type of attachment 163 based on the image 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 that appears in the image data. The identification model may be, for example, a trained model that has been trained using a training dataset related to a combination of image data in which the attachment 163 appears and the identification information of the attachment 163. The storage 250 also 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 identification process for the attachment 163 in the second embodiment. Fig. 13 is a diagram showing an example screen in the shape identification process according to the second embodiment. The display control unit 213 displays a 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 for the attachment 163 and a "NO button" indicating that the shape identification process for the attachment 163 is not to be executed. The input unit 212 accepts an input of the "YES button" or "NO button" by the operator via the monitor device 142 (step S302).
[0092] If 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] If the operator presses the "YES button" (step S302: YES), the measurement value acquisition unit 214 starts acquiring various measurement values and image data (step S303). Furthermore, 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 image data and calculate the position of the arm top during execution of the shape identification process.
[0094] Next, the display control unit 213 displays the second instruction screen D12 on the monitor device 142 (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 operate the framing element 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.
[0095] Next, the attachment identification unit 216 determines whether the image of the attachment 163 is within the framing element on the second instruction screen D12 (step S306). If the image of the attachment 163 is not 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 is within the framing element (step S306: YES), the attachment identification unit 216 inputs the imaging data into 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 imaging data is an example of a process for identifying the shape of the attachment 163. The attachment identification unit 216 obtains, as an identification result from the identification model, the identification information of the attachment 163 with the highest accuracy and its accuracy. The attachment specifying 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 to step S307, acquires imaging data again, and attempts identification. 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 equal to or greater than a predetermined threshold (step S308: YES), the attachment identification unit 216 acquires 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 these in the main memory 230 (step S309). The display control unit 213 then displays a 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 centered on the control point P. As a result, 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 does not come into contact with the attachment 163. 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.
[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 each attachable attachment 163, and identify the attachment 163 by pattern matching between the appearance image data and the captured image data.
[0100] Furthermore, although the control device 200 according to the second embodiment repeatedly performs classification using a classification model until the classification angle reaches or exceeds a threshold value, this is not limiting. For example, in another embodiment, if classification fails, the operator may manually input parameters. Furthermore, in another embodiment, if classification fails, the parameters may be determined by the processing shown in steps S101 to S126 ( FIG. 8 ) according to the first embodiment.
[0101] <Other Embodiments> One embodiment has been described in detail above with reference to the drawings, but the specific configuration is not limited to that described above, and various design changes and the like are possible. That is, in other embodiments, the order of the above-described processes may be changed as appropriate. Furthermore, some of the processes may be executed in parallel. The control device 200 according to the above-described embodiment may be configured by a single computer, or the configuration of the control device 200 may be divided into multiple computers that function as the control device 200 by cooperating with each other. In this case, some of the computers that make up the control device 200 may be installed 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 seated 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 other embodiments may be operated by a remote control device 500 as shown in Fig. 14 . The control device 200 of the remotely operated work machine 100 transmits image data from the image capture device 107 to the remote control device 500 in real time. The remote control device 500 comprises a driver's seat 510, a display 520, an operation device 530, and a remote control server 540. The remote control server 540 displays the image data received from the work machine 100 on the display 520. This allows the operator to recognize the situation around the remote work machine 100. The remote control server 540 also transmits operation signals from the operation device 530 by the operator to the work machine 100 via a network. The remote control server 540 executes at least some of the functions of the control device 200 according to the embodiment described above. That is, in a work system including the remote control server 540, the control device 200 and the remote control server 540 constitute 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, and therefore the attachment-vehicle body transformation matrix T shown in equation (3) at sb This allows omitting the coordinate transformation calculations.
[0104] Furthermore, although 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, this is not limited to this. For example, in another embodiment, if it is desired that the virtual wall VW function as an annular wall surrounding the work machine 100, the rotational transformation process on the virtual wall VW does not need to be performed. 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.
[0105] DESCRIPTION OF SYMBOLS 100...Work machine 101...Inclination measuring instrument 102...Swing 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...Travel motor 115...Swing motor 116...Boom cylinder 117...Arm cylinder 118...Attachment cylinder 120...Travel body 140...Swing body 141...Operation device 142...Monitor device 160...Work machine 161...Boom 162...Arm 163...Attachment 180...Operator's 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 equipped with a work implement to which a work tool can be attached at the tip, comprising: an imaging device provided on the work machine for capturing image data showing the work implement; and a processor, wherein the processor acquires the image data from the imaging device, identifies a shape of the work implement based on the image data, and 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 entry of the work implement.
2. The system according to claim 1, wherein the processor: identifies an attitude of the work machine; and identifies a shape of the work implement based on the imaging data and the attitude of the work machine.
3. The system according to claim 1, further comprising a storage device that stores data relating to the shape of each of a plurality of work implements that can be attached to the work machine and data relating to the dimensions of the work machine, reading out the dimensions of the work implement from the storage device based on the shape, and controlling the work machine based on the dimensions so that the virtual wall does not come into contact with the work implement.
4. A system as claimed in any one of claims 1 to 3, wherein the processor determines the radius of a virtual sphere defined to include the work tool and centered on a control point of the work tool based on the shape of the work tool, and controls the work machine 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.
5. A method for controlling a work machine equipped with a work implement to which a work tool can be attached at its tip, comprising the steps of: acquiring imaging data from an imaging device provided on the work machine for capturing imaging data showing the work implement; identifying a shape of the work implement based on the imaging data; and controlling 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 entry of the work implement.
6. A program that causes a computer that controls a work machine equipped with a work implement to which a work tool can be attached at the tip to execute the following steps: acquiring imaging data from an imaging device provided on the work machine that captures imaging data showing the work implement; identifying a shape of the work implement based on the imaging data; and controlling 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 entry of the work implement.
Citation Information
Patent Citations
Interference preventing device for construction machine
JP1997256403A
Interference preventing device for construction machine
JP2006022486A
Control device for construction machine
JP2017203322A
Operation support system of work machine, operation support method of work machine, maintenance support method of operation support system, and construction machine
JP2020193503A
System for Assisting a User of a Machine of a Kind Comprising a Body and an Implement Movable Relative to the Body
US20160138248A1
