Programming device and program

By determining the range of singularities in the virtual robot's drive unit and simulating warnings, the problem of large robot program corrections in offline programming is solved, achieving more efficient programming accuracy and reduced corrections.

CN117222500BActive Publication Date: 2026-11-17FANUC LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202180097575.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-26
Publication Date
2026-11-17
Estimated Expiration
2041-05-26

AI Technical Summary

Technical Problem

In offline programming, robot programs often require extensive modifications when used in real-world environments to prevent the robot from exceeding its range of motion or moving to unusual points, resulting in a large amount of program correction.

Method used

The virtual robot's drive unit is evaluated by a programming device, potential ranges of second singularities are identified, and these ranges are prevented from being exceeded in the simulation. Warnings and corrective suggestions are provided to reduce the amount of correction required in real-world applications.

Benefits of technology

This reduces the amount of correction required for robot programs created offline in practical applications, improving programming accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117222500B_ABST
    Figure CN117222500B_ABST
Patent Text Reader

Abstract

The problem this disclosure aims to solve is to provide a programming apparatus and program capable of reducing the amount of correction required for robot programs created using offline programming. The programming apparatus of this disclosure includes a processing unit. The processing unit determines a situation where a virtual drive unit obtained by simulating or replicating a robot's drive unit using a computer enters a second singularity range larger than a first singularity range, wherein the first singularity range is the actual range of singularities for the drive unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to a programming device and a program. Background Technology

[0002] Robot programs used to move robots equipped with robotic arms are sometimes created using offline programming. Offline programming involves programming, for example, a robot created by emulating or simulating a real-world robot in software (hereinafter referred to as a "virtual robot"). However, in programming virtual robots, various aspects, such as the object's placement, differ from the actual environment. Therefore, if a robot program created using offline programming is used to move a real-world robot simply by making on-site modifications, the program may sometimes require the robot to move outside its range of motion or to move to specific points. Consequently, when using a robot program created using offline programming to move a real-world robot, additional program modifications are sometimes necessary.

[0003] Existing technical documents

[0004] Patent documents

[0005] Patent Document 1: Japanese Patent Application Publication No. 2000-015593 Summary of the Invention

[0006] The problem the invention aims to solve

[0007] The goal is to develop a programming device and program that can reduce the amount of corrections required for robot programs created using offline programming.

[0008] Solution for solving the problem

[0009] The programming apparatus disclosed herein includes a processing unit. The processing unit determines a case where a virtual drive unit obtained by simulating or replicating a robot's drive unit using a computer enters a second singularity range that is larger than a first singularity range, wherein the first singularity range is the actual singularity range of the drive unit.

[0010] The effects of the invention

[0011] This disclosure reduces the amount of corrections required for robot programs created using offline programming. Attached Figure Description

[0012] Figure 1 This is a block diagram illustrating an example of the main structural components of a programming system according to an embodiment and the main components included in the programming system.

[0013] Figure 2It is used for explanation Figure 1 Diagram of the drive unit.

[0014] Figure 3 It means Figure 1 A flowchart illustrating an example of the processing performed by the processor of the programming device.

[0015] Figure 4 It means Figure 1 A flowchart illustrating an example of the processing performed by the processor of the programming device.

[0016] Figure 5 This is an example of a setting screen used to centrally set the virtual range of motion of each drive unit.

[0017] Figure 6 This is an example of a setting screen used to individually set the virtual range of motion of each drive unit.

[0018] Figure 7 This is an example of a setting screen used to centrally set the singularity warning range for each drive unit.

[0019] Figure 8 This is an example of a setting screen used to individually set the singularity warning range for each drive unit. Detailed Implementation

[0020] The programming system according to the embodiments is described below using the accompanying drawings. Furthermore, the scale of each part in the drawings used in the following description of the embodiments may be appropriately changed. Additionally, structural details may be omitted from the drawings for illustrative purposes. Moreover, in the drawings and this specification, the same reference numerals denote the same elements.

[0021] Figure 1 This is a block diagram illustrating an example of the structure of the main components of the programming system 1 according to the embodiment. The programming system 1 is a system capable of creating robot programs for making the robot 300 move through offline programming. As an example, the programming system 1 includes a programming device 100, a robot control device 200, and a robot 300.

[0022] The programming device 100 is a device capable of offline programming of robot programs. Furthermore, the programming device 100 can simulate or emulate the robot 300 in virtual space. The programming device 100 can be, for example, a PC, server, workstation, or tablet terminal. As an example, the programming device 100 includes a processor 101, a ROM (read-only memory) 102, a RAM (random-access memory) 103, an auxiliary storage device 104, an input device 105, a display device 106, and a data output unit 107. Moreover, a bus 108 or the like connects these components.

[0023] The processor 101 is the central part of the computer that performs calculations and control processing required for the operation of the programming device 100, and performs various calculations and processing. The processor 101 can be, for example, a CPU (central processing unit), MPU (microprocessor unit), SoC (system on a chip), DSP (digital signal processor), GPU (graphics processing unit), ASIC (application specific integrated circuit), PLD (programmable logic device), or FPGA (field-programmable gate array). Alternatively, the processor 101 can be a processor that combines several of these. Furthermore, the processor 101 can also be a processor that combines these components with a hardware accelerator. The processor 101 controls each part according to programs such as firmware, system software, and application software stored in the ROM 102 or auxiliary storage device 104 to realize the various functions of the programming device 100. Furthermore, processor 101 executes the processes described later according to the program. Additionally, part or all of the program may be incorporated into the circuitry of processor 101. Processor 101 is an example of a processing unit.

[0024] ROM 102 and RAM 103 are the main storage devices of a computer with processor 101 as the central hub.

[0025] ROM 102 is a non-volatile memory dedicated to data reading. ROM 102 stores, for example, firmware from the aforementioned program. Additionally, ROM 102 also stores data used by the processor 101 in performing various processes.

[0026] RAM 103 is a memory used for data reading and writing. RAM 103 is used as a work area to store data that the processor 101 temporarily uses in various processing operations. RAM 103 is typically volatile memory.

[0027] Auxiliary storage device 104 is an auxiliary storage device for a computer with processor 101 as its central processing unit. Auxiliary storage device 104 may be, for example, EEPROM (electrically erasable programmable read-only memory), HDD (hard disk drive), or flash memory. Auxiliary storage device 104 stores, for example, system software and application software. Auxiliary storage device 104 stores data used by processor 101 in various processing operations, data such as robot programs generated by processor 101, and various setting values.

[0028] In addition, the auxiliary storage device 104 stores information about each model of the robot 300 (hereinafter referred to as "model information"). The model information includes various information such as the size and shape of each model, as well as the range of motion and singularity range of each part. Furthermore, the model information includes setting information. The setting information includes various setting values ​​for each model. The setting information includes, for example, settings regarding the virtual range of motion and singularity warning range, which will be described later.

[0029] Input device 105 accepts operations performed by the operator of programming device 100. Input device 105 may be, for example, a keyboard, keypad, touchpad, mouse, or controller. Alternatively, input device 105 may also be a device for voice input.

[0030] Display device 106 displays a screen for notifying the operator of programming device 100 of various information. Display device 106 is, for example, a liquid crystal display (LCD) or an organic EL (electro-luminescence) display. Alternatively, a touch panel can be used as both input device 105 and display device 106. That is, the display panel of a touch panel can be used as display device 106, and the touchpad of a touch panel can be used as input device 105. Furthermore, display device 106 is an example of a notification unit.

[0031] The data output unit 107 outputs data from the programming device 100. The data output unit 107 is, for example, a device that writes data to a removable storage medium such as a semiconductor medium, optical medium, or magnetic medium. Alternatively, the data output unit 107 is an interface for wired communication with other devices using communication cables such as USB (universal serial bus) cables or Ethernet cables. Alternatively, the data output unit 107 is an interface for wireless communication with other devices.

[0032] Bus 108 includes a control bus, an address bus, and a data bus, which transmit signals to be sent and received by various parts of the programming device 100.

[0033] The robot control device 200 is a device that controls the robot 300 according to a robot program or other program. As an example, the robot control device 200 includes a processor 201, a ROM 202, a RAM 203, an auxiliary storage device 204, a data input unit 205, and a control interface 206. Furthermore, a bus 207 or the like connects these components.

[0034] The processor 201 is the central part of the computer that performs calculations and control processing required for the operation of the robot control device 200, and performs various calculations and processing. The processor 201 can be, for example, a CPU, MPU, SoC, DSP, GPU, ASIC, PLD, or FPGA. Alternatively, the processor 201 can be a processor combining multiple of these. Furthermore, the processor 201 can also be a processor combining hardware accelerators, etc. The processor 201 controls each part according to firmware, system software, application software, and robot programs stored in the ROM 202 or auxiliary storage device 204, etc., to realize various functions of the robot control device 200. In addition, the processor 201 executes the processing described later according to the program. Furthermore, part or all of the program can be incorporated into the circuitry of the processor 201.

[0035] ROM 202 and RAM 203 are the main storage devices of a computer with processor 201 as the central hub.

[0036] ROM 202 is a non-volatile memory dedicated to data reading. ROM 202 stores, for example, firmware from the aforementioned program. Additionally, ROM 202 also stores data used by the processor 201 in performing various processes.

[0037] RAM 203 is a memory used for data reading and writing. RAM 203 is used as a work area to store data that the processor 201 temporarily uses in various processing operations. RAM 203 is typically volatile memory.

[0038] Auxiliary storage device 204 is an auxiliary storage device for a computer with processor 201 as its central processing unit. Auxiliary storage device 204 may be, for example, EEPROM, HDD, or flash memory. Auxiliary storage device 204 stores, for example, system software, application software, and robot programs. Furthermore, auxiliary storage device 204 stores data used by processor 201 in various processing operations, data generated by processor 201's processing, and various setting values.

[0039] The data input unit 205 accepts input such as data output from the data output unit 107 of the programming device 100. The data input unit 205 may be, for example, a device for reading data stored on a removable storage medium. Alternatively, the data input unit 205 may be an interface for wired or wireless communication with the data output unit 107, etc.

[0040] Control interface 206 is the interface used by robot control device 200 to communicate with robot 300. Robot control device 200 controls robot 300 through control interface 206.

[0041] Bus 207 includes a control bus, an address bus, and a data bus, which transmit signals to be sent and received by various parts of the robot control device 200.

[0042] Robot 300 is, for example, a manipulator or robotic arm, or a robot equipped with such manipulators. Robot 300 is, for example, a multi-joint robot. As an example, robot 300 includes one or more drive units 310. Furthermore, robot 300 configured in virtual space is an example of a virtual robot. The drive unit 310 of the virtual robot is specifically referred to as drive unit 310b. Drive unit 310b is an example of a virtual drive unit.

[0043] The drive unit 310 is a part driven by a servo motor or the like. The drive unit 310, for example, rotates around a drive shaft.

[0044] Figure 2 This is a diagram illustrating drive unit 310 and drive unit 310b. Drive unit 310 includes a drive shaft 311, a base side arm 312, and a front side arm 313. Drive unit 310b also similarly includes a drive shaft 311, a base side arm 312, and a front side arm 313. Furthermore, in... Figure 2 The diagram shows the movable range R1, the virtual movable range R2, the singularity range R3, and the singularity warning range R4. Furthermore, the movable range R1 is an example of a first movable range. The virtual movable range R2 is an example of a second movable range. The singularity range R3 is an example of a first singularity range. The singularity warning range R4 is an example of a second singularity range.

[0045] The base side arm 312 and the front side arm 313 are two arms connected by the drive shaft 311. The front side arm 313 is an arm that is closer to the distal end side of the robot arm 300 than the base side arm 312, and is second only to the base side arm 312 in proximity to the base side of the robot arm 300. In addition, the front side arm 313 may sometimes be the base side arm 312 of another drive unit 310.

[0046] The front side arm 313 can freely rotate within the movable range R1 around the drive shaft 311 relative to the base side arm 312. As an example, the reference angle D0 is set to 0[° (degrees)], and the movable range R1 is a range from the angle D11[°] to the angle D12[°]. Further, the angle D11 and the angle D12 satisfy D11<0<D12. The angle D11 and the angle D12 are, for example, D11=-D12.

[0047] The programming device 100 sets a virtual movable range R2 for each drive unit 310b. The virtual movable range R2 is a range smaller than the movable range R1. The movable range R1 includes the virtual movable range R2. As an example, the reference angle D0 is set to 0[°], and the virtual movable range R2 is a range from the angle D21[°] to the angle D22[°]. Further, the angle D21 and the angle D22 satisfy D21<0<D22. The angle D21 and the angle D22 are, for example, D21=-D22. The difference between the angle D11 and the angle D21 is, for example, 0° to 10°. The difference between the angle D12 and the angle D22 is, for example, 0° to 10°.

[0048] The singular point range R3 is a range where the front side arm 313 becomes a singular point. In addition, the programming device 100 sets a singular point warning range R4 for each drive unit 310b. The singular point warning range R4 includes the singular point range R3 and is a range larger than the singular point range R3. As an example, the reference angle D0 is set to 0[°], and the singular point range R3 is a range from the angle D31[°] to the angle D32[°]. Further, the angle D31 and the angle D32 satisfy D31<0<D32. The angle D31 and the angle D32 are, for example, D31=-D32. As an example, the reference angle D0 is set to 0[°], and the singular point warning range R4 is a range from the angle D41[°] to the angle D42[°]. Further, the angle D41 and the angle D42 satisfy D41<0<D42. The angle D41 and the angle D42 are, for example, D41=-D42. The difference between the angle D41 and the angle D31 is, for example, 0° to 6°. The difference between the angle D42 and the angle D32 is, for example, 0° to 6°.

[0049] In addition, Figure 2Angle D5 is shown therein. Angle D5 is an angle representing the rotational position of the front arm 313 relative to the base arm 312 when the reference angle D0 is set to 0[°]. Figure 2 D5 shown satisfies D22<D5<D12, but is not limited thereto.

[0050] Hereinafter, the operation of the programming system 1 according to the embodiment will be described based on Figure 3 and Figure 4 etc. Note that the content of the processing in the following operation description is an example, and various types of processing that can obtain the same result can be appropriately used. Figure 3 and Figure 4 are flowcharts showing an example of the processing executed by the processor 101 of the programming device 100. The processor 101 executes the processing according to a program stored in, for example, the ROM 102 or the auxiliary storage device 104 Figure 3 and Figure 4 .

[0051] The processor 101 of the programming device 100 starts the processing shown in Figure 3 in association with, for example, activation of offline programming application software.

[0052] In step ST11 of Figure 3 , the processor 101 determines settings related to the model and the like of the robot 300 that is the target for which a robot program is to be created. For this purpose, the processor 101 acquires model information about the model of the robot 300 from, for example, the auxiliary storage device 104 or the like. Which model information the processor 101 is to acquire is based on, for example, the content of operation input performed by the operator of the programming device 100 using the input device 105. Alternatively, the processor 101 may acquire model information of a predetermined model.

[0053] In step ST12, the processor 101 determines settings for the arrangement of the robot 300, a workpiece, an obstacle, and other necessary objects in the virtual space. The processor 101 determines the arrangement settings based on, for example, the content of operation input performed by the operator of the programming device 100 using the input device 105. In addition, the processor 101 may determine the arrangement settings based on information acquired from, for example, the auxiliary storage device 104 or another device.

[0054] In step ST13, the processor 101 determines whether a teach point representing the movement destination of the robot 300 has been specified. For example, a teach point may be specified based on operational input from the operator of the programming device 100. Alternatively, a teach point may be specified based on input such as a command from another device. Alternatively, the processor 101 may automatically specify the teach point. Furthermore, the teach point specified here is called a temporary teach point. If no temporary teach point is specified, the processor 101 determines "No" in step ST13 and proceeds to step ST14.

[0055] In step ST14, processor 101 determines whether to begin setting a warning range. For example, if the operator of programming device 100 performs the operation of starting to set a warning range, processor 101 determines that setting a warning range has begun. If setting a warning range does not begin, processor 101 determines no in step ST14 and returns the process to step ST13. In this way, processor 101 enters a standby state that repeats steps ST13 and ST14 until it is determined that a temporary teach point has been specified or that setting a warning range has begun.

[0056] If a teaching point representing the moving destination of robot 300 is specified while in the standby state of steps ST13 and ST14, processor 101 determines "Yes" in step ST13 and proceeds to step ST15.

[0057] In step ST15, processor 101 advances the simulated movement path of robot 300 in virtual space by a predetermined amount from the latest teach point in the robot program to a temporary teach point. The latest teach point is the last teach point added in the robot programming. If the simulation has progressed halfway through in the previous execution of step ST15, processor 101 advances the simulation by a predetermined amount from that midway point. Alternatively, if the simulation has not yet started, processor 101 starts the simulation and advances by a predetermined amount. If the remaining amount before the simulation ends is less than the predetermined amount, processor 101 advances the simulation until the simulation ends. In this simulation, processor 101 simulates in a manner that prevents all drive units 310b from moving outside the virtual movable range R2 and from entering the singularity warning range R4. If the robot 300 cannot be moved to the temporary teaching point without at least one drive unit 310b moving outside the virtual movable range R2 or entering the singularity warning range R4, the processor 101 can also simulate a movement path in which any drive unit 310b would move outside the virtual movable range R2 or enter the singularity warning range R4. Furthermore, even if at least one drive unit 310b moves outside the virtual movable range R2 or enters the singularity warning range R4, the processor 101 still simulates the movement so that all drive units 310b do not move outside the movable range R1 or enter the singularity range R3. If the robot 300 cannot be moved to the temporary teaching point without at least one drive unit 310b moving outside the movable range R1 or entering the singularity range R3, the processor 101 can also simulate a movement path in which any drive unit 310b would move outside the movable range R1 or enter the singularity range R3.

[0058] In step ST16, processor 101 executes Figure 4 The processor 101 performs stop processing for the most recent step ST15 in the ongoing simulation. The stop processing involves determining whether to stop the simulation based on the result of step ST15, and stopping the simulation when the decision is made. The processor 101 advances the processing to the next step as the stop processing begins. Figure 4 Step ST31.

[0059] In step ST31, processor 101 determines whether, during the ongoing simulation, at least one of the front arms 313 of robot 300 has moved outside the virtual range of motion R2 again due to the processing in the most recent step ST15. A front arm 313 moving outside the virtual range of motion R2 indicates that the angle D5 of the front arm 313 is less than angle D21 or greater than angle D22. Furthermore, regarding the drive unit 310b, which is set to be invalid in the virtual range of motion R2, processor 101 considers the front arm 313 not to have moved outside the virtual range of motion R2 regardless of the angle D5. If at least one of the front arms 313 moves outside the virtual range of motion R2 again, processor 101 determines this in step ST31 and proceeds to step ST32.

[0060] In step ST32, processor 101 generates an image corresponding to the first warning screen. Then, processor 101 instructs display device 106 to display the generated image. Display device 106 accepts the display instruction and displays the first warning screen.

[0061] The first warning screen includes an image indicating that the front arm 313 has moved outside the virtual range of motion R2. Additionally, the first warning screen includes an image indicating which front arm 313 has moved outside the virtual range of motion R2. Furthermore, characters are a type of image.

[0062] In step ST33, the processor 101 determines whether to stop the simulation. For example, the processor 101 refers to the setting information, and if the setting is to stop the simulation when the front arm 313 moves outside the virtual range of motion R2, the processor 101 determines to stop the simulation.

[0063] If the simulation does not stop, the processor 101 determines no in step ST33 and proceeds to step ST34. Alternatively, if neither drive unit 310b returns to outside the virtual movable range R2, the processor 101 determines no in step ST31 and proceeds to step ST34.

[0064] In step ST34, processor 101 determines whether at least one of the front arms 313 has re-entered the singularity warning range R4 due to the processing in the most recent step ST15 during the ongoing simulation. The front arm 313 entering the singularity warning range R4 indicates that the angle D5 of the front arm 313 is greater than or equal to angle D41 and less than angle D42. Furthermore, regarding the drive unit 310b, which is set to be invalid in the singularity warning range R4, processor 101 considers the front arm 313 not to have entered the singularity warning range R4 regardless of the angle D5. If at least one of the front arms 313 re-enters the singularity warning range R4, processor 101 determines this in step ST34 and proceeds the processing to step ST35.

[0065] In step ST35, processor 101 generates an image corresponding to the second warning screen. Then, processor 101 instructs display device 106 to display the generated image. Display device 106 accepts the display instruction and displays the second warning screen.

[0066] The second warning screen includes an image indicating that the anterior arm 313 has entered the singularity warning range R4. Additionally, the second warning screen includes an image indicating which anterior arm 313 has entered the singularity warning range R4.

[0067] In step ST36, the processor 101 determines whether to stop the simulation. For example, the processor 101 refers to the setting information, and if the setting is to stop the simulation when the front arm 313 enters the singularity warning range R4, it determines to stop the simulation.

[0068] If the simulation does not stop, processor 101 determines no in step ST36 and proceeds to step ST37. Alternatively, if neither of the front arms 313 re-enters the singularity warning range R4, processor 101 determines no in step ST34 and proceeds to step ST37.

[0069] In step ST37, processor 101 determines whether at least one of the front arms 313 has moved out of its range of motion R1 again due to the processing of the most recent step ST15 during the ongoing simulation. If at least one of the front arms 313 has moved out of its range of motion R1 again, processor 101 determines that it has in step ST37 and proceeds the processing to step ST38.

[0070] In step ST38, processor 101 generates an image corresponding to the third warning screen. Then, processor 101 instructs display device 106 to display the generated image. Display device 106 accepts the display instruction and displays the third warning screen.

[0071] The third warning screen includes an image indicating that the forearm 313 has moved outside its range of motion R1. Additionally, the third warning screen includes an image indicating which forearm 313 has moved outside its range of motion R1.

[0072] If neither of the front arms 313 moves back outside the movable range R1, the processor 101 determines no in step ST37 and proceeds to step ST39.

[0073] In step ST39, processor 101 determines whether at least one of the anterior arms 313 has re-entered the singularity range R3 due to the processing in the most recent step ST15 during the ongoing simulation. If neither of the anterior arms 313 has re-entered the singularity range R3, processor 101 determines no in step ST39 and terminates the process. Figure 4 The stop process is shown. Conversely, if at least any of the front arms 313 re-enters the singularity warning range R4, the processor 101 determines this in step ST39 and proceeds the process to step ST40.

[0074] In step ST40, processor 101 generates an image corresponding to the fourth warning screen. Then, processor 101 instructs display device 106 to display the generated image. Display device 106 accepts the display instruction and displays the fourth warning screen.

[0075] The fourth warning screen includes an image indicating that the anterior arm 313 has entered the singularity warning. Additionally, the fourth warning screen includes an image indicating which anterior arm 313 has entered the singularity range R3.

[0076] If the simulation is determined to stop in step ST36, the processor 101 determines this and proceeds to step ST41. Alternatively, if the simulation is determined to stop in step ST33, the processor 101 determines this and proceeds to step ST41. Furthermore, the processor 101 proceeds to step ST41 after processing in step ST38 or step ST40.

[0077] In step ST41, processor 101 stops the ongoing simulation. That is, processor 101 stops the virtual robot's actions. Processor 101 outputs an alarm or other sound indicating that the simulation has stopped from a speaker or similar device. Alternatively, processor 101 may also cause display device 106 to display an image indicating that the simulation has stopped. After processing in step ST41, processor 101 terminates the process. Figure 4 The stop process is shown.

[0078] If the stop process has ended, then processor 101 will terminate. Figure 3 The process proceeds to step ST17 after step ST16.

[0079] In step ST17, processor 101 determines whether the simulation has stopped in the most recent step ST16. If the simulation has stopped, processor 101 determines yes in step ST17 and returns the process to step ST13. Conversely, if the simulation has not stopped, processor 101 determines no in step ST17 and proceeds the process to step ST18.

[0080] In step ST18, processor 101 determines whether the simulation of the movement path from the latest taught point to the temporary taught point has been completed. If the simulation has not been completed, processor 101 determines no in step ST18 and returns the process to step ST15. Then, processor 101 executes the follow-up of the simulation in step ST15. Conversely, if the simulation has been completed, processor 101 determines yes in step ST18 and proceeds the process to step ST20.

[0081] In step ST19, processor 101 generates an image corresponding to the teach point plus screen. Then, processor 101 instructs display device 106 to display the generated image. Display device 106 accepts the display instruction and displays the teach point screen.

[0082] The teach point screen displays the completed simulation of the movement path from the latest teach point to the temporary teach point, along with the results of that simulation. The teach point screen includes an image showing that a temporary teach point can be added to the robot program as a teach point. The teach point screen also includes an image showing the movement path from the latest teach point to the temporary teach point. Furthermore, when either front arm 313 moves outside the virtual range of motion R2 during the simulation of the movement path from the latest teach point to the temporary teach point, the teach point screen includes an image showing that the front arm 313 has moved outside the virtual range of motion R2. Additionally, when either front arm 313 enters the singularity warning range R4 during the simulation of the movement path from the latest teach point to the temporary teach point, the teach point screen includes an image showing that the front arm 313 has entered the singularity warning range R4.

[0083] In step ST20, processor 101 determines whether a temporary teaching point representing the moving destination of robot 300 has been specified. That is, processor 101 performs the same processing as in step ST13. If no temporary teaching point is specified, processor 101 determines no in step ST20 and proceeds to step ST21.

[0084] In step ST21, the processor 101 determines whether to start setting the warning range. That is, the processor 101 performs the same process as in step ST14. If the setting of the warning range is not started, the processor 101 determines no in step ST21 and proceeds the process to step ST22.

[0085] In step ST22, processor 101 determines whether to add a temporary teach point as a teach point to the robot program being developed. The operator of programming device 100 decides whether to add a teach point by, for example, viewing the content displayed on the teach point screen. If the operator wants to add a teach point, they use input device 105 to instruct the operator to add the teach point. Processor 101 determines, for example, that a teach point should be added in response to this instruction. Alternatively, processor 101 can automatically determine whether to add a teach point based on the simulation results of the movement path from the latest teach point to the temporary teach point. For example, if in the simulation, neither the front arm 313 has moved outside the virtual movable range R2 nor entered the singularity warning range R4, then processor 101 determines that a teach point should be added. If no teach point is added, processor 101 determines no in step ST22 and returns the process to step ST20. In this way, the processor 101 enters a standby state that repeats steps ST20 to ST22 until a teaching point representing the moving destination of the robot 300 is specified, or the setting of the warning range is determined to begin, or the addition of a teaching point is determined.

[0086] If a temporary teach point is specified while in the standby state of steps ST20 to ST22, the processor 101 determines this in step ST20 and returns the process to step ST15.

[0087] If a teach point needs to be added while in the standby state of steps ST20 to ST22, the processor 101 determines "yes" in step ST22 and proceeds the process to step ST23.

[0088] In step ST23, processor 101 adds a temporary teach point as a teach point to the robot program being built. That is, based on the simulation results of the robot 300's movement path from the latest teach point to the temporary teach point, processor 101 adds a program representing the robot 300's actions to the robot program being built. This program representing the robot 300's actions is used to cause the robot 300 to move along that movement path from the latest teach point to the temporary teach point. Furthermore, due to the processing in step ST23, the temporary teach point becomes the latest teach point. After the processing in step ST23, processor 101 returns to step ST13.

[0089] If the processor 101 determines that the warning range setting has been initiated while in the standby state of steps ST13 and ST14, then the processor 101 determines that it is true in step ST14 and proceeds the process to step ST24. Alternatively, if the processor 101 determines that the warning range setting has been initiated while in the standby state of steps ST20 to ST22, then the processor 101 determines that it is true in step ST21 and proceeds the process to step ST24.

[0090] In step ST24, processor 101 generates a generator corresponding to the following: Figures 5-8 The processor 101 then instructs the display device 106 to display the generated image. The display device 106 accepts the display instruction and displays the settings screen.

[0091] Figures 5-8 These are examples of setting screens. The processor 101 displays different setting screens depending on the type of setting being performed. The type of setting to be performed is, for example, based on the operations performed by the operator of the programming device 100.

[0092] Figure 5 This diagram shows an example of a setting screen SC1 used to centrally set the virtual movable range R2 of each drive unit 310b. The setting screen SC1 includes areas AR11 and AR12, a specified value button B11, a return button B12, and a confirmation button B13. Area AR11 is an input field for entering the setting value for how much smaller the virtual movable range R2 should be compared to the movable range R1. Figure 5 Region AR11, as an example input, has 10% [%. In this case, if the movable range R1 is -140° to 140°, then the virtual movable range R2 is -126° to 126°. That is, assuming the number input to region AR11 is C1, then:

[0093] D21=D11×(100-C1)×0.01 (1)

[0094] D22=D12×(100-C1)×0.01 (2).

[0095] Alternatively, it can also be:

[0096] D21=D11-(D12-D11)×C1×0.01÷2 (3)

[0097] D22=D12+(D12-D11)×C1×0.01÷2 (4).

[0098] Area AR11 can also be used as an input field for angles instead of ratios. For example, when 10 [°] is input into area AR11, if the movable range R1 is -140° to 140°, then the virtual movable range R2 is -130° to 130°. Assuming the angle input to area AR11 is C2, then:

[0099] D21=D11-C2 (5)

[0100] D22=D12-C2 (6).

[0101] In addition, C2 is a number greater than 0 and less than 100.

[0102] Region AR12 is used to input the following setting: whether to stop the simulation when either front arm 313 moves outside the virtual range of motion R2. For example, if region AR12 is in a checkbox enabled state, that is, if the value of region AR12 is True, it indicates a setting to stop the simulation. Conversely, if region AR12 is in a checkbox disabled state, that is, if the value of region AR12 is False, it indicates a setting to not stop the simulation.

[0103] The specified value button B11 is used to input default values ​​in areas AR11 and AR12. When the specified value button B11 is activated, the processor 101 inputs the predetermined default values ​​in areas AR11 and AR12.

[0104] The return button B12 is a button that the operator can use to end the display of the settings screen without changing the settings.

[0105] The Decision button B13 is a button used by the operator to change settings when saving the content entered into the settings screen.

[0106] Figure 6 This diagram shows an example of a setting screen SC2 used to individually set the virtual movable range R2 of each drive unit 310b. The setting screen SC2 includes area AR21 and multiple areas AR22, as well as a specified value button B21, a return button B12, and a confirmation button B13. Each area AR22 includes areas AR221 to AR225.

[0107] Region AR21 is used to input the following setting: whether to stop the simulation when either front arm 313 moves outside the virtual range of motion R2. For example, if region AR21 is in the enabled state (i.e., the value of region AR21 is true), it indicates a setting to stop the simulation. Conversely, if region AR21 is in the disabled state (i.e., the value of region AR21 is false), it indicates a setting to not stop the simulation.

[0108] Regarding each region AR22, there may be the same number of regions AR22 as the number of drive units 310b. Furthermore, each region AR22 corresponds one-to-one with a different drive unit 310b. J1 to J3 shown for each region AR22 are examples of numbers used to identify which drive unit 310b it corresponds to. Region AR221 displays the angle D11 related to the corresponding drive unit 310b. Region AR222 is an input field for entering the angle D21 related to the corresponding drive unit 310b. Region AR223 is an input field for entering the angle D22 related to the corresponding drive unit 310b. Region AR224 displays the angle D12 related to the corresponding drive unit 310b. Region AR225 is a setting area for whether to enable the virtual movable range R2 of the corresponding drive unit 310b. For example, if region AR225 is a checkbox enabled, i.e., the value of region AR225 is true, it indicates that the virtual movable range R2 is enabled. Furthermore, if area AR225 is in a disabled state (i.e., the value of area AR225 is false), it means that the virtual movable range R2 is set to invalid.

[0109] In addition, the setting screen SC2 can also be set to the virtual articulation range R2 by inputting a ratio, just like the setting screen SC1.

[0110] The specified value button B21 is used to input default values ​​in areas AR21, AR222, AR223, and AR225. When button B21 is activated, processor 101 inputs predetermined default values ​​in areas AR21, AR222, AR223, and AR225. These default values ​​are included, for example, in model information.

[0111] Figure 7 This diagram shows an example of a setting screen SC3 used to centrally set the singularity warning range R4 for each drive unit 310b. The setting screen SC3 includes areas AR31 and AR32, a specified value button B31, a return button B12, and a confirmation button B13. Area AR31 is an input field for entering the setting value for how much larger the singularity warning range R4 should be than the singularity range R3. Figure 7 Region AR31, as an example input, has 2 [times]. In this case, if the singularity range R3 is -5° to 5°, then the virtual movable range R2 is -10° to 10°. That is, assuming the number input to region AR32 is C3, then:

[0112] D41=D31×C3 (7)

[0113] D42=D32×C3 (8).

[0114] Alternatively, it can also be:

[0115] D41=D31-(D32-D31)×(C3-1) (9)

[0116] D42=D32+(D32-D31)×(C3-1) (10).

[0117] Furthermore, C3 is a number greater than or equal to 0. Additionally, area AR31 can also be used to input angles. These angles, for example, represent the difference between angles D41 and D31, and the difference between angles D42 and D32.

[0118] Region AR32 is used to input the following setting: whether to stop the simulation when any front arm 313 enters the singularity range R3. For example, if region AR32 is in the enabled state (i.e., the value of region AR32 is true), it indicates a setting to stop the simulation. Conversely, if region AR32 is in the disabled state (i.e., the value of region AR32 is false), it indicates a setting to not stop the simulation.

[0119] The specified value button B31 is used to input default values ​​in areas AR31 and AR32. When the specified value button B31 is activated, the processor 101 inputs predetermined default values ​​in areas AR31 and AR32. The default values ​​are included, for example, in model information.

[0120] Figure 8 This diagram illustrates an example of a setting screen SC4 used to individually set the singularity warning range R4 for each drive unit 310b. The setting screen SC4 includes area AR41 and multiple areas AR42, as well as a specified value button B41, a return button B12, and a confirmation button B13. Each area AR42 includes area AR421 and area AR422.

[0121] Area AR41 is used to input the following setting: whether to stop the simulation when any front arm 313 enters the singularity warning range R4. For example, if area AR41 is in the enabled state (i.e., the value of area AR41 is true), it indicates a setting to stop the simulation. Conversely, if area AR41 is in the disabled state (i.e., the value of area AR41 is false), it indicates a setting to not stop the simulation.

[0122] Regarding each region AR42, for example, there are the same number of regions AR42 as the number of drive units 310b. Furthermore, each region AR42 corresponds one-to-one with a different drive unit 310b. Region AR421 is an input field for inputting a setting value indicating how much larger the singularity warning range R4 related to the corresponding drive unit 310b should be than the singularity range R3. Additionally, region AR421 can also accept angle input. Region AR422 is an input field for determining whether to enable the singularity warning range R4 of the corresponding drive unit 310b. For example, if region AR422 is a checkbox enabled (i.e., the value of region AR422 is true), it indicates that the singularity warning range R4 is enabled. Conversely, if region AR422 is a checkbox disabled (i.e., the value of region AR422 is false), it indicates that the singularity warning range R4 is disabled.

[0123] The specified value button B41 is used to input default values ​​in areas AR41, AR421, and AR422. When the specified value button B31 is activated, the processor 101 inputs predetermined default values ​​in areas AR41, AR421, and AR422. The default values ​​are included, for example, in model information.

[0124] The operator of the programming device 100 operates the setting screen shown above to input the desired settings.

[0125] In step ST25, the processor 101 determines whether an operation instructing the user to leave the settings unchanged and return to the original screen has been performed. That is, the processor 101 determines whether a predetermined operation, such as pressing the return button B12, has been performed. If no operation instructing the user to leave the settings unchanged and return to the original screen has been performed, the processor 101 determines that this is not the case in step ST25 and proceeds to step ST26.

[0126] In step ST26, the processor 101 determines whether an instruction change setting operation has been performed. That is, the processor 101 determines whether a pre-determined operation, such as the operation decision button B13, has been performed. If no instruction change setting operation has been performed, the processor 101 determines no in step ST26 and returns the process to step ST25. In this way, the processor 101 enters a standby state that repeats steps ST25 and ST26 until an operation is performed that does not change the instruction setting and returns to the original screen, or an operation that changes the instruction setting is performed.

[0127] If an operation instructing the user to not change settings and return to the original screen is performed while in the standby state of steps ST25 and ST26, the processor 101 determines this as yes in step ST25 and returns the process to step ST13. Additionally, at this time, the processor 101 controls the display device 106 to end the display of the settings screen.

[0128] If an instruction change setting operation is performed while in the standby state of steps ST25 and ST26, the processor 101 determines that it is true in step ST26 and proceeds the process to step ST27.

[0129] In step ST27, the processor 101 saves the settings based on the input to the setting screen to the setting information in the auxiliary storage device 104. After processing in step ST27, the processor 101 returns to step ST25.

[0130] The programming device 100 of the embodiment determines when the drive unit 310b of the virtual robot obtained by simulating or replicating the robot 300 enters a singularity warning range R4 that is larger than the actual singularity range R3. Thus, the programming device 100 can detect when the drive unit 310b enters the singularity warning range R4 and perform various actions, such as stopping the simulation and issuing warnings. Therefore, the programming device 100 can prevent the drive unit 310b of the actual robot 300, which operates under a robot program created using offline programming, from entering the singularity range R3. Furthermore, the programming device 100 can reduce the amount of correction required for robot programs created using offline programming.

[0131] Furthermore, the programming device 100 of the embodiment notifies the virtual robot's drive unit 310b that it has entered the singularity warning range R4. Thus, the programming device 100 of the embodiment can prevent the actual robot 300's drive unit 310b, which operates under a robot program created using offline programming, from entering the singularity range R3, thereby reducing the amount of correction required for the robot program.

[0132] Furthermore, in this embodiment, the programming device 100 stops the simulation when the virtual robot's drive unit 310b enters the singularity warning range R4. That is, the programming device 100 stops the virtual robot's actions. Therefore, the programming device 100 prevents teach points that would cause the drive unit 310b to enter the singularity warning range R4 from being added to the robot program. Thus, the programming device 100 in this embodiment can prevent the actual robot 300's drive unit 310b, which operates under a robot program created using offline programming, from entering the singularity range R3, thereby reducing the amount of correction required for the robot program.

[0133] Furthermore, the programming device 100 of the embodiment can set the breadth of the singularity warning range R4. Therefore, it is believed that offline programming can be easily performed by changing the settings by robot programmers and administrators of the programming system 1, or quality control can be performed on robot programming created through offline programming.

[0134] Furthermore, the programming device 100 of the embodiment determines when the drive unit 310b of the virtual robot moves outside the virtual movable range R2, which is smaller than the actual movable range R1. Thus, the programming device 100 can detect when the drive unit 310b moves outside the virtual movable range R2 and perform various actions, such as simulating a stop and issuing a warning. Therefore, the programming device 100 can prevent the drive unit 310b of the actual robot 300, which operates under a robot program created using offline programming, from entering the movable range R1. Additionally, the programming device 100 can reduce the amount of correction required for robot programs created using offline programming.

[0135] Furthermore, the programming device 100 of the embodiment notifies the drive unit 310b of the virtual robot to move outside the virtual movable range R2. Therefore, the programming device 100 of the embodiment can prevent the drive unit 310b of the actual robot 300, which operates under a robot program created using offline programming, from moving outside the movable range R1, thereby reducing the amount of correction required for the robot program.

[0136] Furthermore, in this embodiment, the programming device 100 stops the simulation when the virtual robot's drive unit 310b moves outside the virtual movable range R2. That is, the programming device 100 stops the virtual robot's movement. Therefore, the programming device 100 prevents teach points that would cause the drive unit 310b to move outside the virtual movable range R2 from being added to the robot program. Thus, the programming device 100 in this embodiment can prevent the drive unit 310b of the actual robot 300, which operates under a robot program created using offline programming, from moving outside the movable range R1, thereby reducing the amount of correction required for the robot program.

[0137] Furthermore, the programming device 100 of the embodiment can set the width of the virtual range of motion R2. Therefore, it is believed that offline programming can be easily performed by changing the settings by robot programmers and administrators of the programming system 1, or quality control can be performed on robot programming created through offline programming.

[0138] The above implementation method can also be modified as follows.

[0139] The programming device 100 may also notify the content that was displayed on the display device 106 in the above embodiment by other methods, such as outputting sound from a speaker. The speaker is an example of a notification unit.

[0140] The unit of angle used in the above embodiments is [°]. However, the unit of angle used in the embodiments may also be other units such as [rad]. Furthermore, the unit of angle used in the embodiments is not limited.

[0141] The units of the ratios used in the above embodiments are [%] or [times]. However, the units of the ratios used in the embodiments are not limited.

[0142] The processor 101 can also implement part or all of the processing implemented by the program in the above embodiments through the hardware structure of the circuit.

[0143] The program for implementing the implementation method is transferred, for example, in a state where it is stored on a device. However, the device can also be transferred without the program being stored there. Then, the program can be transferred separately and written to the device. In this case, the transfer of the program can be achieved by, for example, recording it on a removable storage medium, or by downloading it via a network such as the Internet or a LAN (local area network).

[0144] The embodiments of this disclosure have been described above, but these embodiments are shown as examples and do not limit the scope of this disclosure. The embodiments of this disclosure can be implemented in various ways without departing from the spirit of this disclosure.

[0145] Explanation of reference numerals in the attached figures

[0146] 1: Programming system; 100: Programming device; 101, 201: Processor; 102, 202: ROM; 103, 203: RAM; 104, 204: Auxiliary storage device; 105: Input device; 106: Display device (notification unit); 107: Data output unit; 108, 207: Bus; 200: Robot control device; 205: Data input unit; 206: Control interface; 300: Robot; 310: Drive unit; 310b: Drive unit (virtual drive unit); 311: Drive axis; 312: Base side arm; 313: Front side arm; R1: Movable range (first movable range); R2: Virtual movable range (second movable range); R3: Singularity range (first singularity range); R4: Singularity warning range (second singularity range).

Claims

1. A programming device, wherein, The device includes a processing unit that determines when a virtual drive unit, obtained by simulating or replicating a robot's drive unit using a computer, enters a warning range that is set to be a large range of singularities, wherein the singularity range is the actual range of singularities of the drive unit. The processing unit determines whether to stop the simulation when the virtual drive unit enters the singularity range or the warning range. It also includes a storage device that stores model information for each model of the robot. The model information includes the following information: the size and shape of each model, the range of motion and the range of anomalous points of each part, and setting information including the setting of the virtual range of motion and the warning range. The processing unit determines whether to stop the simulation based on the setting information.

2. The programming apparatus according to claim 1, wherein, The processing unit is used to set the image display of the model information, subject to the operation input of the operator on the image.

3. The programming apparatus according to claim 1 or 2, wherein, When the processing unit determines that the virtual driver unit has entered the warning range, it controls the notification unit to notify the virtual driver unit that it has entered the warning range.

4. The programming apparatus according to claim 1 or 2, wherein, If the processing unit determines that the virtual driver unit has entered the warning range, it stops the operation of the virtual driver unit.

5. The programming apparatus according to claim 1 or 2, wherein, The processing unit sets the warning range based on the input indicating a change in the warning range setting.

6. The programming apparatus according to claim 1 or 2, wherein, The processing unit determines if the virtual drive unit moves outside a second movable range that is smaller than the first movable range, wherein the first movable range is the actual movable range of the drive unit.

7. The programming apparatus according to claim 6, wherein, If the processing unit determines that the virtual drive unit has moved outside the second movable range, it controls the notification unit to notify the virtual drive unit that it has moved outside the second movable range.

8. The programming apparatus according to claim 6, wherein, If the processing unit determines that the virtual drive unit has moved outside the second movable range, it stops the operation of the virtual drive unit.

9. The programming apparatus according to claim 6, wherein, The processing unit sets the second movable range based on the input indicating a change in the setting of the second movable range.

10. The programming apparatus according to claim 1, wherein, If the robot cannot be moved to a temporary teaching point without the virtual drive unit entering the warning range, the processing unit can simulate a movement path in which the virtual drive unit would enter the warning range.

11. A computer-readable medium storing a program that enables the processor of a programming device to function as a processing unit. The processing portion determines whether a virtual drive portion obtained by computer simulation or emulation of the drive portion of the robot enters a warning range set to a range larger than a specific point range, wherein The singularity range is the actual range of singularities in the drive unit. The programming device includes a storage device that stores model information for each model of the robot's drive unit. The model information includes the following: the size and shape of each model, the range of motion and the range of anomalous points of each part, and setting information including the settings for the virtual range of motion and the warning range. If the virtual drive unit enters the singularity range or the warning range, the processing unit determines whether to stop the simulation based on the setting information.

Citation Information

Patent Citations

  • Manipulator orbit formation device and storage medium recording manipulator orbit forming program

    JP2000015593A

  • Information processing apparatus and control method of display apparatus

    CN110058570A

  • Method for simulating robot operation

    JP1996328632A

  • Robot

    JP2013111718A