Camera device, system, and program

The camera device enhances robot arm control by using a learning model to adjust the robot arm's path in real-time, addressing time lags and inaccuracies in three-dimensional position measurement, thus maintaining throughput.

JP2024127407AInactive Publication Date: 2024-09-20PANASONIC I PRO SENSING SOLUTIONS CO LTD

Patent Information

Application Number
JP2023036547
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing three-dimensional position measurement techniques for robot arms result in time lags and inaccuracies when parts are manually set, leading to decreased throughput.

Method used

A camera device that images and identifies target positions using a learning model to provide real-time adjustments to the robot arm's path, ensuring accurate positioning without delaying the robot's movement.

Benefits of technology

The camera device enables precise robot arm control, maintaining throughput by allowing real-time corrections and ensuring accurate target positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127407000001
    Figure 2024127407000001
Patent Text Reader

Abstract

To provide a camera device which can provide information for making a work machine arrive at a target position while suppressing deterioration of throughput of the work machine.SOLUTION: A camera device includes: an imaging section which captures an imaging region including a target position of a work machine; and a control section which identifies the target position on the basis of the image captured by the imaging section. The control section executes imaging processing for causing the imaging section to capture the imaging region and output processing for inputting an image captured in the imaging processing in a learning model for identifying the target position from the image in the imaging region and outputting a target coordinate indicating the target position and an evaluation value showing certainty of the target coordinate, at each of a plurality of imaging positions in a process in which the work machine moves from a movement start position to an initial target position.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a camera device, a system, and a program. [Background technology]

[0002] Conventionally, as a technology for operating a robot arm operating in a factory, etc., a method has been proposed in which a target position is specified based on an image captured by a camera and the robot arm is moved toward the specified target position. For example, Patent Document 1 discloses a technology for specifying the positions of multiple reference marks by three-dimensional position measurement. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2005-149299 A Summary of the Invention [Problem to be solved by the invention]

[0004] The three-dimensional position measurement in Patent Document 1 is performed as a calibration before the robot arm actually moves, so a time lag occurs before the robot arm starts moving. Also, in a task in which a part that has been manually set by an operator is picked up by the robot arm, if the part is set out of position, there is a problem that the robot arm cannot reach the part's position.

[0005] The present invention has been made in consideration of the above-mentioned situation, and has an object to provide a camera device that can provide information for causing a work machine to reach a target position while suppressing a decrease in the throughput of the work machine. [Means for solving the problem]

[0006] In order to solve the above problems, the camera device of the present invention includes an imaging unit that captures an imaging area including a target position of a work machine, and a control unit that identifies the target position based on an image captured by the imaging unit, and the control unit executes an imaging process that causes the imaging unit to capture an image of the imaging area at each of a plurality of imaging positions in the process of the work machine moving from a movement start position to an initial target position, and an output process that inputs the image captured in the imaging process to a learning model that identifies the target position from the image of the imaging area, and outputs target coordinates indicating the target position and an evaluation value representing the certainty of the target coordinates. Effect of the Invention

[0007] According to the present invention, it is possible to obtain a camera device that is capable of providing information for causing a work machine to reach a target position while suppressing a decrease in throughput of the work machine. Note that problems, configurations, and effects other than those described above will become apparent from the description of the embodiments below. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 illustrates a use case of a robot control system. [Diagram 2] FIG. 1 is a diagram illustrating an example of a system configuration of a robot control system. [Diagram 3] FIG. 2 is a plan view showing a movement path of a robot arm. [Figure 4] 4 is a flowchart of a work machine control process according to the first embodiment. [Diagram 5] 4 is a flowchart of imaging and calculation processing according to the first embodiment. [Figure 6] FIG. 4 is a diagram showing an example of data in an imaging table according to the first embodiment. [Figure 7] FIG. 11 is a diagram showing a list of learning models according to the second embodiment. [Figure 8] 13 is a flowchart of an imaging and calculation process according to the second embodiment. [Figure 9] FIG. 13 is a diagram showing a list of learning models according to the third embodiment. [Figure 10] 13 is a flowchart of an imaging and calculation process according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] An embodiment of the invention will be described below with reference to the drawings. This embodiment realizes a highly versatile camera device, which contributes to "9. Promote inclusive and sustainable industry, innovation and infrastructure" of the Sustainable Development Goals (SDGs) advocated by the United Nations.

[0010] FIG. 1 is a diagram showing a use case of the robot control system 1. FIG. 2 is a diagram showing an example of the system configuration of the robot control system 1. As shown in FIGS. 1 and 2, the robot control system 1 (system) includes at least a camera device 10 and a robot vision controller 30 (control device). The robot control system 1 may further include a robot 50 (work machine) to be controlled. The camera device 10 and the robot vision controller 30, and the robot vision controller 30 and the robot 50 are connected so as to enable input and output of data or signals to each other.

[0011] 1, a robot control system 1 is installed in a production facility such as a factory. The robot control system 1 controls a robot 50 that mounts a part P (e.g., a bolt) on a tray T to a specified position on a workpiece W transported on a belt conveyor CB arranged in the production facility.

[0012] The use cases of the robot control system 1 according to the present embodiment are not limited to the above-mentioned mounting of parts, and may be used for attaching labels to workpieces, driving screws into workpieces, assembling parts, machining parts, welding, painting, bonding, and the like. The robot control system 1 may also be applied to work processes in logistics lines (such as transporting cardboard boxes and sorting items), work processes in food factories (such as plating prepared foods), work processes in harvesting robots (such as fruit thinning), and work processes in medical and experimental robots (such as culturing and synthesis). The robot 50 according to the present embodiment may be used as a human-collaborative robot that performs work in collaboration with humans. In the use case of FIG. 1, it is assumed that the robot 50 picks up a part P from a tray T placed at a predetermined position by a worker and mounts it on a workpiece W.

[0013] The camera device 10 is fixed, for example, to the tip of a robot arm AR of the robot 50. The tip of the robot arm is, for example, near a robot hand or an end effector. The camera device 10 moves together with the robot arm AR. However, the camera device 10 is not limited to being fixed to the robot arm AR, and may be fixed to a ceiling or a wall, or may be configured to be movable along the ceiling or a wall.

[0014] When a 2D camera is used as the camera device 10, the robot control system 1 is suitable for picking up objects (of a fixed height) moving along a conveyer belt. When a 3D camera is used as the camera device 10, the robot control system 1 is suitable for sorting objects of various heights at a logistics center. When an infrared camera is used as the camera device 10, the robot control system 1 is suitable for medical robots, laboratory robots, and other robots that handle cells that cannot be seen with visible light.

[0015] The camera device 10 captures an image of an imaging area including a target position of the robot arm AR. In this embodiment, the position of a component P (target object) on a tray T is described as the target position of the robot arm AR. However, the target position of the robot arm AR is not limited to this, and may be a position on a workpiece W on which the component P is to be mounted. Furthermore, the camera device 10 outputs the coordinates of the target position included in the captured image (hereinafter, referred to as "target coordinates") and a set of evaluation values ​​representing the accuracy of the target coordinates by a pattern matching process using AI (Artificial Intelligence). Then, the camera device 10 transmits the output target coordinates and the set of evaluation values ​​to the robot vision controller 30.

[0016] The robot vision controller 30 sets a target position for the robot arm AR based on the set of target coordinates and evaluation values ​​acquired from the camera device 10. Then, the robot vision controller 30 instructs the movement of the robot 50 so that the robot arm AR reaches the set target position. The robot vision controller 30 includes, for example, a memory that stores a program, and a CPU (processor) that reads and executes the program from the memory. The robot 50 causes the robot arm AR to reach the target position based on the instruction from the robot vision controller 30.

[0017] As shown in FIG. 2, the camera device 10 includes an imaging unit 11 and an SoC 12.

[0018] The imaging unit 11 is a camera unit that integrates an optical lens 111 and an image sensor 112. The optical lens 111 collects light from outside the camera device 10 and makes it incident on the image sensor 112. The image sensor 112 photoelectrically converts the light collected by the optical lens 111 and outputs image data to a memory 121. The image sensor 112 is, for example, a complementary metal-oxide-semiconductor (CMOS) or a charge-coupled device (CCD).

[0019] The SoC 12 (controller) is an integrated circuit product in which various electronic components are integrated on a single chip that is configured by an integrated circuit. The SoC 12 includes a memory 121, a CPU 122, an ISP 123, an AI processor 124, and an external interface 125. In FIG. 2, the interface is conveniently indicated as "I / F."

[0020] The memory 121 includes at least a RAM (Random Access Memory) and a ROM (Read Only Memory). The memory 121 temporarily stores programs and control data required for executing the operations of the camera device 10, and further stores data or information generated during the operation of each part of the camera device 10. The RAM is, for example, a work memory used during the operation of each part of the camera device 10. The ROM stores and holds, for example, programs and control data for controlling each part of the camera device 10 in advance.

[0021] The CPU 122 is a processor that controls the overall operation of the camera device 10. The CPU 122 performs control processing for managing the operations of each part of the camera device 10, input / output processing of data between each part of the camera device 10, calculation processing of data, and storage processing of data. The CPU 122 operates according to the programs and control data stored in the memory 121. The CPU 122 uses the memory 121 during operation, and transfers data generated or acquired by the CPU 122 to the memory 121 for temporary storage.

[0022] The ISP (Image Signal Processor) 123 is a processor that executes various types of image processing performed within the camera device 10. The ISP 123 reads image data from the memory 121 and performs various types of image processing using the read image data. The ISP 123 uses the memory 121 during operation, and transfers data or information generated or acquired by the ISP 123 to the memory 121 for temporary storage.

[0023] The AI ​​processing unit 124 is configured using, for example, a graphics processing unit (GPU) and a memory. Note that the AI ​​processing unit 124 may include a digital signal processor (DSP) instead of or in addition to the GPU.

[0024] The external interface 125 is an interface for transmitting and receiving various data to and from the robot vision controller 30. That is, the external interface 125 transmits data acquired from the CPU 122 to the robot vision controller 30, and transmits data acquired from the robot vision controller 30 to the CPU 122.

[0025] FIG. 3 is a plan view showing the movement path of the robot arm AR. In this embodiment, a process is assumed in which the end effector of the robot arm AR located at the movement start position picks up a part P on a tray T placed at a predetermined placement position. Here, since the tray T is placed by an operator, it may be placed at a position displaced from the placement position. Therefore, it is difficult to set the exact position of the part P in the robot vision controller 30 in advance. On the other hand, if the camera device 10 captures an image of the tray T to identify the exact position of the part P before starting the movement of the robot arm AR, the throughput decreases.

[0026] Therefore, as shown in Fig. 3, before identifying the exact position of the part P, the robot vision controller 30 starts moving the end effector of the robot arm AR from the movement start position toward the initial target position. The movement start position is, for example, the origin position (reference position) of the robot arm AR. The initial target position is any position in the vicinity of the position of the part P (corrected target position), for example, the center position of the tray T placed at the installation position. In this specification, the initial target position and the corrected target position may be collectively referred to as "target position".

[0027] Next, the robot vision controller 30 acquires a set of target coordinates and evaluation values ​​indicating the position of the part P at each of the multiple imaging positions from the camera device 10. Then, the robot vision controller 30 sets the position of the part P (corrected target position) based on the multiple sets of target coordinates and evaluation values ​​acquired from the camera device 10, and moves the robot arm AR toward the set corrected target position. That is, the robot vision controller 30 sets the corrected target position while the robot arm AR is moving to the initial target position, and changes the destination of the robot arm AR to the corrected target position.

[0028] The imaging positions (first to fourth positions in FIG. 3) are positions set between the movement start position and the initial target position. However, the imaging positions are not limited to positions on a straight line (initial path) connecting the movement start position and the initial target position, and may be positions on a straight line (corrected paths 1 and 2) connecting the current position and the corrected target position. The robot vision controller 30 detects that the camera device 10 has reached the imaging position based on, for example, the elapsed time since the robot arm AR started moving or an encoder value output from an actuator of the robot arm AR. Also, the number of imaging positions is not specifically limited as long as it is two or more.

[0029] In addition, for example, an xy coordinate system with the movement start position as the origin is defined in the robot vision controller 30. On the other hand, for example, a uv coordinate system with the upper left corner as the origin is defined in the imaging area of ​​the camera device 10. The target coordinates acquired from the camera device 10 are in the uv coordinate system. Therefore, the robot vision controller 30 converts the target coordinates acquired from the camera device 10 from the uv coordinate system to the xy coordinate system to determine the corrected target position.

[0030] [Working machine control process according to the first embodiment] The work machine control processing according to the first embodiment will be described with reference to Fig. 4 to Fig. 6. Fig. 4 is a flowchart of the work machine control processing according to the first embodiment. Fig. 5 is a flowchart of the imaging & calculation processing according to the first embodiment. Fig. 6 is a diagram showing an example of data in an imaging table according to the first embodiment.

[0031] First, the robot vision controller 30 instructs the robot 50 to move the robot arm AR to an initial target position (S11). The robot vision controller 30 also initializes a variable n (=1) (S12). The variable n is a variable that holds a value indicating an imaging position where imaging and calculation processing is performed.

[0032] The robot 50 starts moving the robot arm AR to an initial target position (S13) in accordance with an instruction from the robot vision controller 30. Then, the robot 50 repeatedly executes a process (S14) of transmitting position information indicating the current position of the robot arm AR to the robot vision controller 30 at a predetermined time interval.

[0033] The robot vision controller 30 judges whether or not the end effector of the robot arm AR (in other words, the camera device 10) has reached the n-th position based on the position information received from the robot 50 (S15). Then, when the robot vision controller 30 judges that the camera device 10 has reached the n-th position (S15: Yes), it executes the imaging & calculation process shown in Fig. 5 (S16). The imaging & calculation process is a process of making the camera device 10 at the n-th position capture an image of an imaging area, outputting a target coordinate and an evaluation value from the captured image, and adding an imaging record to the imaging table. The imaging record will be described in detail later.

[0034] The robot vision controller 30 transmits an imaging instruction specifying the imaging conditions and the generic model to the camera device 10 (S31). The imaging conditions refer to the conditions (e.g., the presence or absence of illumination, exposure time, gain, etc.) when the camera device 10 images the imaging area. The generic model is a learning model (AI model) for calculating target coordinates and evaluation values ​​from an image captured by the camera device 10, and is a learning model commonly used at multiple imaging positions. The generic model is generated in advance by inputting multiple training data to the AI ​​processing unit 124. The training data for generating the generic model are images captured at each of the multiple imaging positions and target coordinates.

[0035] The CPU 122 causes the imaging unit 11 to capture an image of the imaging area under imaging conditions specified by the robot vision controller 30, and stores the generated image data in the memory 121 (S32). Next, the AI ​​processing unit 124 inputs the image data stored in the memory 121 in step S32 to a generic model stored in the memory 121, and outputs a target coordinate and an evaluation value (S33). The process of step S32 is an example of imaging processing, and the process of step S33 is an example of output processing. Then, the CPU 122 transmits the set of target coordinates and evaluation value output from the AI ​​processing unit 124 to the robot vision controller 30 (S34).

[0036] The target coordinates are the coordinates (uv coordinate system) of the target position in the image captured by the imaging unit 11. The evaluation value is a value indicating the accuracy of the target coordinates. In other words, the larger the evaluation value, the higher the reliability of the target coordinates, and the smaller the evaluation value, the lower the reliability of the target coordinates. For example, when the imaging area is imaged under conditions that make it difficult to recognize the component P included in the image, such as when at least a part of the component P is not included in the image captured by the imaging unit 11, when the image captured by the imaging unit 11 is dark, or when the image captured by the imaging unit 11 is blown out, the evaluation value tends to be low.

[0037] Next, the robot vision controller 30 adds the imaging record including the target coordinates and evaluation value received from the camera device 10 to the imaging table shown in FIG. 6 (S35). The imaging table is a data table that holds a plurality of imaging records. No imaging records are registered in the imaging table at the start of the work machine control process, and imaging records are added one by one in step S16 (more specifically, step S35), which is repeatedly executed. The imaging record is information that includes at least the target coordinates and evaluation value acquired from the camera device 10 in step S34. Furthermore, as shown in FIG. 6, the imaging record may further include a variable n and the imaging conditions specified in step S31.

[0038] Returning to FIG. 4, the robot vision controller 30 extracts the imaging record including the maximum evaluation value from the imaging table (S17). Since only one imaging record is registered at the stage of variable n=1, the imaging record of variable n=1 is extracted. Next, the robot vision controller 30 judges whether the evaluation value included in the extracted imaging record (here, evaluation value when variable n=1: 55) is equal to or greater than a predetermined threshold (S18). The threshold is set to a value (e.g., 60) that can be evaluated as being worth changing the moving path of the robot arm AR toward the target coordinates output from the camera device 10. The process of step S17 is an example of an extraction process, and the process of step S18 is an example of a judgment process.

[0039] 6, when the robot vision controller 30 determines that the maximum evaluation value included in the imaging record (here, evaluation value: 55 when variable n=1) is less than the threshold value (S18: No), it skips the processes of steps S19 to S21 and determines whether or not all imaging positions have been passed (S22). When the robot vision controller 30 determines that all imaging positions have not been passed (S22: No), it adds 1 to the variable n (S23) and executes the processes of step S14 and subsequent steps for the second position.

[0040] Next, the robot vision controller 30 executes imaging and calculation processing at the timing when the camera device 10 reaches the second position (S15: Yes → S16), and extracts an imaging record of variable n = 2 (S17). Next, the robot vision controller 30 determines that the evaluation value of the extracted imaging record (here, evaluation value when variable n = 2: 75) is equal to or greater than a threshold (S18: Yes), and sets the target coordinates (u2, v2) associated with the evaluation value as a new target position (hereinafter, referred to as "corrected target position") (S19). More specifically, the robot vision controller 30 transforms the target coordinates (u2, v2) from the uv coordinate system to the xy coordinate system, and sets the position indicated by the transformed coordinates as the corrected target position.

[0041] Next, the robot vision controller 30 instructs the robot 50 to move to the newly set corrected target position (S20). The process of step S20 is an example of a movement instruction process. As shown in Fig. 3, the robot 50 changes the movement path of the robot arm AR from the initial path to a corrected path 1 so that the end effector reaches the corrected target position instructed by the robot vision controller 30 (S21). In addition, the robot vision controller 30 determines that all the imaging positions have not been passed (S22: No), adds 1 to the variable n (S23), and executes the processes of step S14 and subsequent steps for the third position.

[0042] Next, the robot vision controller 30 executes imaging and calculation processing when the camera device 10 reaches the third position (S15: Yes→S16), and extracts an imaging record of variable n=3 (S17). Next, the robot vision controller 30 determines that the evaluation value of the extracted imaging record (here, evaluation value when variable n=3: 90) is equal to or greater than a threshold (S18: Yes), and sets the target coordinates (u3, v3) associated with the evaluation value as a new target position (hereinafter, referred to as "corrected target position") (S19).

[0043] Next, the robot vision controller 30 instructs the robot 50 to move to the newly set corrected target position (S20). As shown in Fig. 3, the robot 50 changes the movement path of the robot arm AR from corrected path 1 to corrected path 2 so that the end effector reaches the corrected target position instructed by the robot vision controller 30 (S21). In addition, the robot vision controller 30 determines that all the imaging positions have not been passed (S22: No), adds 1 to the variable n (S23), and executes the processes from step S14 onwards for the fourth position.

[0044] Next, the robot vision controller 30 executes the imaging and calculation process when the camera device 10 reaches the fourth position (S15: Yes → S16). However, in the example of FIG. 6, the imaging record with variable n=3 contains the maximum evaluation value, so the target position is not corrected. Then, the robot vision controller 30 determines that all imaging positions have been passed (S22: Yes), and ends the work machine control process. In addition, the robot 50 stops the robot arm AR when the end effector reaches the latest corrected target position, and has the end effector pick up the part P.

[0045] [Effects of the first embodiment] According to the first embodiment, the imaging & output process (S16) is executed at a plurality of imaging positions. In this way, the imaging & output process is executed by shifting the imaging position and timing, thereby increasing the possibility of obtaining target coordinates with a high evaluation value. This makes it possible to provide the robot vision controller 30 with information (a plurality of imaging records) that is useful for making the robot arm AR reach the target position. As a result, the robot vision controller 30 can control the robot arm AR with high accuracy.

[0046] Furthermore, by repeatedly executing the processing of steps S14 to S23 as the robot arm AR moves from the start position to the target position, it is possible to suppress a decrease in throughput of the robot control system 1 compared to determining the target position before starting the movement of the robot arm AR.

[0047] Furthermore, according to the first embodiment, after correcting the target position in steps S19 to S21 when variable n=2, the processing of steps S14 to S23 is further executed when variables n=3 and 4. This allows the target position to be corrected again if a more reliable target coordinate (u3, v3) is found later. However, once the evaluation value reaches or exceeds the threshold value and the corrected target position is set (S18: Yes→S19), the work machine control process may be terminated even if other imaging positions remain. On the other hand, if the corrected target position cannot be set even after passing through all imaging positions, it may be determined that the end effector cannot reach the position of part P, and the work machine control process may be abnormally terminated.

[0048] [Working machine control process according to the second embodiment] The work machine control processing according to the second embodiment will be described with reference to Fig. 7 and Fig. 8. Fig. 7 is a diagram showing a list of learning models according to the second embodiment. Fig. 8 is a flowchart of the imaging and calculation processing according to the second embodiment. Note that a detailed description of the points in common with the first embodiment will be omitted, and the description will focus on the points of difference.

[0049] First, as shown in Fig. 7, the memory 121 stores learning models associated with a plurality of imaging positions. More specifically, the memory 121 stores a plurality of learning models in association with the value of a variable n representing an imaging position. The first model is obtained by inputting teacher data including an image captured at the first position and target coordinates to the AI ​​processing unit 124 in advance. Similarly, the second model, the third model, and the fourth model are obtained by inputting teacher data including images captured at the second position, the third position, and the fourth position and target coordinates to the AI ​​processing unit 124 in advance.

[0050] The work machine control process according to the second embodiment is common to the first embodiment (FIG. 4). On the other hand, the imaging and calculation process (FIG. 8) according to the second embodiment differs from the first embodiment (FIG. 5) in steps S31A and S33A.

[0051] First, the robot vision controller 30 according to the second embodiment transmits an imaging instruction specifying an imaging condition and an nth model to the camera device 10 (S31A). That is, the first model is specified in the imaging & calculation process at the first position, the second model is specified in the imaging & calculation process at the second position, the third model is specified in the imaging & calculation process at the third position, and the fourth model is specified in the imaging & calculation process at the fourth position.

[0052] Moreover, the AI ​​processing unit 124 according to the second embodiment inputs the image data stored in the memory 121 in step S32 to the n-th model stored in the memory 121, and outputs the target coordinates and the evaluation value (S33A). That is, the SoC 12 executes the output process using the learning models associated with the multiple imaging positions, respectively.

[0053] [Effects of the second embodiment] According to the second embodiment, the target position can be specified with higher accuracy by outputting the target coordinates and the evaluation value using the learning model optimized for each of the multiple imaging positions. As a result, the robot arm AR can be controlled with higher accuracy.

[0054] [Working machine control process according to the third embodiment] A work machine control process according to the third embodiment will be described with reference to Fig. 9 and Fig. 10. Fig. 9 is a diagram showing a list of learning models according to the third embodiment. Fig. 10 is a flowchart of the imaging and calculation process according to the third embodiment. Note that a detailed description of commonalities with the first embodiment will be omitted, and differences will be mainly described.

[0055] 9, the memory 121 stores learning models associated with a plurality of imaging conditions. More specifically, the memory 121 stores the learning models in association with various combinations of imaging conditions (e.g., the presence or absence of illumination, the wavelength of illumination, the exposure time, and the gain). That is, the learning model according to the third embodiment is obtained by inputting images captured under the corresponding imaging conditions and teacher data including target coordinates to the AI ​​processing unit 124 in advance.

[0056] The presence or absence of illumination indicates whether or not a flash is used when capturing an image by the imaging unit 11. The illumination device may be mounted on the camera device 10, or may be connected to the camera device 10 using a communication cable. The wavelength of illumination refers to the wavelength of the irradiated light, and may be not only white illumination but also a single wavelength such as red or green, or may be infrared wavelength, which is invisible light. The exposure time is the time during which the image sensor 112 receives external light to generate an image. The gain is the amplification factor of the electrical signal photoelectrically converted by the image sensor 112. However, specific examples of the imaging conditions are not limited to the above examples.

[0057] The work machine control process according to the third embodiment is common to the first embodiment (FIG. 4). On the other hand, the imaging and calculation process according to the third embodiment (FIG. 10) includes steps S41-S42 and differs from the first embodiment (FIG. 5) in the processes of steps S31A and S33A.

[0058] First, the robot vision controller 30 according to the third embodiment judges whether the previous evaluation value is less than a threshold value (S41). The threshold value in step S41 is set to a value that allows the current imaging conditions to be evaluated as being suitable for appropriately identifying the target coordinates. The threshold value used in step S41 may be the same as or different from that in step S18 in FIG. 4.

[0059] Next, when the robot vision controller 30 determines that the previous evaluation value is less than the threshold (S41: Yes), it changes the imaging conditions of the current (nth) imaging process from the imaging conditions used in the previous (n-1th) imaging process (S42). On the other hand, when the robot vision controller 30 determines that the previous evaluation value is equal to or greater than the threshold (S41: No), it makes the imaging conditions of the current (nth) imaging process the same as the imaging conditions used in the previous (n-1th) imaging process. Then, the robot vision controller 30 transmits an imaging instruction to the camera device 10 specifying the imaging conditions and the learning model corresponding to the imaging conditions (S31B).

[0060] In step S42, one of the multiple imaging conditions (presence or absence of illumination, exposure time, gain) may be changed, or multiple of them may be changed. Also, the robot vision controller 30 may change the imaging conditions to be changed every time step S42 is executed. Furthermore, when the variable n=1, the processing of steps S41-S42 is omitted and default imaging conditions are set. That is, the processing of steps S41-S42 is executed when n≧2.

[0061] Furthermore, the CPU 122 causes the imaging unit 11 to capture the imaging area under imaging conditions specified by the robot vision controller 30, and stores the generated image data in the memory 121 (S32B). That is, if the evaluation value output in the previous output process is less than the threshold, the SoC 12 executes the current imaging process under imaging conditions different from the imaging conditions of the previous imaging process. On the other hand, if the evaluation value output in the previous output process is equal to or greater than the threshold, the SoC 12 executes the current imaging process under imaging conditions identical to the imaging conditions of the previous imaging process.

[0062] Furthermore, the AI ​​processing unit 124 according to the third embodiment inputs the image data stored in the memory 121 in step S32 to a learning model specified by the robot vision controller 30, and outputs the target coordinates and the evaluation value (S33B). That is, the SoC 12 executes the current output process using the learning model associated with the imaging conditions used in the current imaging process.

[0063] [Effects of the third embodiment] According to the third embodiment, when the evaluation value output in the previous output process is less than a threshold, the imaging conditions are changed and the current imaging process is executed, thereby increasing the possibility that an image suitable for identifying the target position can be captured in the imaging process that is executed repeatedly.

[0064] Moreover, according to the third embodiment, the target position can be specified with higher accuracy by outputting the target coordinates and the evaluation value using a learning model optimized for each of a plurality of imaging conditions, thereby realizing the control of the robot arm AR with higher accuracy.

[0065] [Other embodiments] The first to third embodiments can be combined in any combination without departing from the spirit of the present invention.

[0066] Furthermore, the division of roles between the SoC 12 and the robot vision controller 30 is not limited to the above example. That is, a part or all of the processing of the SoC 12 may be executed by the robot vision controller 30. Furthermore, a part or all of the processing of the robot vision controller 30 may be executed by the SoC 12.

[0067] Furthermore, a part or all of the means realized by the program can be realized by hardware such as an integrated circuit. Furthermore, the program may be provided by being recorded on a non-transitory recording medium that can be read by a computer. Examples of the recording medium include a hard disk, an SD card, a DVD, and a server on the Internet.

[0068] Although various embodiments have been described above with reference to the drawings, it goes without saying that the present disclosure is not limited to such examples. It is clear that a person skilled in the art can conceive of various modifications, corrections, substitutions, additions, deletions, and equivalents within the scope of the claims, and it is understood that these also naturally belong to the technical scope of the present disclosure. In addition, the components in the various embodiments described above may be arbitrarily combined within the scope of the invention. [Industrial Applicability]

[0069] The present disclosure is useful as a camera device that can provide information for causing a work machine to reach a target position while suppressing a decrease in throughput of the work machine. [Explanation of symbols]

[0070] 1. Robot Control System 10 Camera equipment 11 Imaging unit 30 Robot Vision Controller 50 Robot 111 Optical Lenses 112 Image Sensor 121 Memory 122 CPU 124 AI Processing Unit 125 External Interface

Claims

1. an imaging unit that captures an imaging area including a target position of the work machine; a control unit that identifies the target position based on an image captured by the imaging unit, The control unit, at each of a plurality of image capturing positions during the process of the work machine moving from a movement start position to an initial target position, an imaging process for causing the imaging unit to capture an image of the imaging area; The camera device executes an output process in which an image captured in the imaging process is input to a learning model that identifies the target position from the image of the imaging area, and a target coordinate indicating the target position and an evaluation value representing the certainty of the target coordinate.

2. The camera device according to claim 1 , wherein the control unit executes the output process by using the learning model associated with each of the plurality of imaging positions.

3. The camera device according to claim 1 , wherein the control unit executes the current imaging process under imaging conditions different from imaging conditions of the previous imaging process when the evaluation value output in the previous output process is less than a threshold value.

4. The camera device according to claim 3 , wherein the control unit executes the output process by using the learning model associated with the imaging conditions used in the imaging process.

5. The camera device according to claim 1 ; a control device that moves the work machine to the target position based on multiple sets of the target coordinates and the evaluation value acquired from the camera device.

6. The control device includes: an extraction process of extracting a maximum evaluation value from the plurality of evaluation values; a determination process for determining whether the evaluation value extracted in the extraction process is equal to or greater than a threshold; The system according to claim 5 , further comprising: a movement instruction process for instructing the work machine to move to the target coordinates associated with the evaluation value when the evaluation value is determined to be equal to or greater than the threshold value in the determination process.

7. A program for a camera device having an imaging unit that captures an imaging area including a target position of a work machine, At each of a plurality of image capturing positions during the process of the work machine moving from a movement start position to an initial target position, an imaging process for causing the imaging unit to capture an image of the imaging area; The program causes the camera device to execute an output process in which an image captured in the imaging process is input into a learning model that identifies the target position from the image of the imaging area, and a target coordinate indicating the target position and an evaluation value representing the certainty of the target coordinate.

Citation Information

Patent Citations

  • Teaching position correction apparatus

    JP2005149299A

Cited By

  • Massage track planning method of physiotherapy robot

    CN118977250A