WO2024089846A1 - Simulation device and program - Google Patents

Simulation device and program Download PDF

Info

Publication number
WO2024089846A1
WO2024089846A1 PCT/JP2022/040200 JP2022040200W WO2024089846A1 WO 2024089846 A1 WO2024089846 A1 WO 2024089846A1 JP 2022040200 W JP2022040200 W JP 2022040200W WO 2024089846 A1 WO2024089846 A1 WO 2024089846A1
Authority
WO
WIPO (PCT)
Prior art keywords
model
dirt
workpiece
simulation device
dimensional model
Prior art date
Application number
PCT/JP2022/040200
Other languages
French (fr)
Japanese (ja)
Inventor
航也 山本
Original Assignee
ファナック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ファナック株式会社 filed Critical ファナック株式会社
Priority to PCT/JP2022/040200 priority Critical patent/WO2024089846A1/en
Priority to TW112139907A priority patent/TW202418023A/en
Publication of WO2024089846A1 publication Critical patent/WO2024089846A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B08CLEANING
    • B08BCLEANING IN GENERAL; PREVENTION OF FOULING IN GENERAL
    • B08B13/00Accessories or details of general applicability for machines or apparatus for cleaning
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B08CLEANING
    • B08BCLEANING IN GENERAL; PREVENTION OF FOULING IN GENERAL
    • B08B3/00Cleaning by methods involving the use or presence of liquid or steam
    • B08B3/02Cleaning by the force of jets or sprays
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • This disclosure relates to a simulation device and program that has a function for simulating cleaning operations.
  • a method of teaching online and a method of teaching offline have been proposed.
  • a teaching method using a simulation method is known as a method of teaching offline.
  • three-dimensional models of a robot, end effector, workpiece, peripheral equipment, etc. are arranged in a virtual space displayed on a personal computer, and an operation program can be created while virtually operating these. Since there is no need to operate the actual machine and a personal computer is available, programs can be created and checked by simulation anytime and anywhere, offline teaching using the simulation method is widely used.
  • Patent Document 1 discloses a technology for generating a fluid injection path for injecting a fluid into a machine tool to move debris.
  • a simulation device includes a storage unit that stores a three-dimensional model of a workpiece to be cleaned, a reception unit that receives user operations for expressing dirt on all or part of the three-dimensional model of the workpiece, a creation unit that creates a dirt adhesion model in which dirt is expressed on all or part of the three-dimensional model of the workpiece based on the user operations, and a display unit that displays the created dirt adhesion model.
  • FIG. 1 is a diagram showing an example of a cleaning robot system.
  • FIG. 2 is a diagram showing the hardware configuration of the simulation device according to this embodiment.
  • FIG. 3 is a functional block diagram of the simulation device according to this embodiment.
  • FIG. 4 is a diagram showing an example of a procedure for creating a cleaning program by the simulation device according to the present embodiment.
  • FIG. 5 is a diagram showing an example of a procedure for creating a dirt adhesion model in step S11 of FIG.
  • FIG. 6 is a diagram showing an example of a setting screen for setting a method for expressing dirt on a dirt adhesion model.
  • FIG. 7 is a diagram showing a display example of dirt represented by a dirt model.
  • FIG. 1 is a diagram showing an example of a cleaning robot system.
  • FIG. 2 is a diagram showing the hardware configuration of the simulation device according to this embodiment.
  • FIG. 3 is a functional block diagram of the simulation device according to this embodiment.
  • FIG. 4 is a diagram showing an example
  • FIG. 8 is a diagram showing an example of a stain displayed by changes in the surface of a model to be cleaned.
  • FIG. 9 is a diagram for explaining a method for setting a stain range using an image.
  • FIG. 10 shows a reference model for corner contamination.
  • FIG. 11 is a diagram showing a dirt adhesion model in which a reference model of dirt is applied to a corner of a model to be cleaned.
  • FIG. 12 is a diagram showing a fluid ejection model.
  • FIG. 13 is a diagram for explaining the dirt subtraction process during the execution of a simulation.
  • FIG. 14 is a diagram showing an example of a dirt adhesion model before a simulation is performed.
  • FIG. 15 is a diagram showing an example of a dirt adhesion model after the execution of a simulation.
  • FIG. 16 is a diagram showing another example of a dirt adhesion model after the execution of a simulation.
  • FIG. 17 is a diagram showing another example of a dirt adhesion model after a simulation is performed.
  • FIG. 18 is a diagram showing another example of the procedure for creating a cleaning program by the simulation device according to the present embodiment.
  • FIG. 19 is a flowchart showing an example of the procedure of the automatic teaching point registration process in step S26 of FIG.
  • FIG. 20 is a diagram for explaining another example of the automatic registration process of the teaching point.
  • the simulation device 1 is a computer device having a function of creating a cleaning program by simulation for causing a cleaning robot 40 having a cleaning nozzle 50 to perform a cleaning operation on a workpiece 60 to be cleaned.
  • the simulation device 1 has a function of creating a three-dimensional model (dirt adhesion model) in which dirt is reflected on a three-dimensional model (cleaning target model) of the workpiece 60 to be cleaned, a function of arranging the dirt adhesion model and the three-dimensional model (cleaning robot model) of the cleaning robot 40 in a virtual space, a function of teaching a cleaning program to the cleaning robot model arranged in the virtual space, a function of creating a cleaning program that summarizes the contents taught to the cleaning robot model, and a function of having the cleaning robot model perform a cleaning operation by simulation in accordance with the created cleaning program.
  • the simulation device 1 according to this embodiment is configured as follows.
  • the simulation device 1 is configured by connecting hardware such as an operation device 5, a display device 6, a communication device 7, and a storage device 8 to a processor 2 (such as a CPU).
  • the simulation device 1 is provided by a general information processing terminal such as a personal computer, tablet, or smartphone.
  • the operation device 5 is provided by a keyboard, a mouse, a jog, etc.
  • the operation device 5 may be provided by a touch panel that also serves as the display device 6.
  • a user can input various information to the simulation device 1 via the operation device 5.
  • the display device 6 is provided by an LCD, etc.
  • a screen created by the screen creation unit 22 is displayed on the display device 6.
  • the communication device 7 controls the transmission and reception of data between the simulation device 1 and other devices such as a robot control device.
  • a cleaning program created by the simulation device 1 is transmitted to the robot control device by processing of the communication device 7.
  • the storage device 8 is provided by an HDD, SSD, etc.
  • a simulation program is stored in the storage device 8.
  • the simulation device 1 functions as an input unit (reception unit) 15, a display unit 16, a transmission/reception unit 17, a storage unit 18, a dirt adhesion model creation unit 21, a screen creation unit 22, a virtual space creation unit 23, a model placement unit 24, a dirt representation method setting unit 25, an operating condition setting unit 26, an injection condition setting unit 27, a teaching point registration unit 28, a program creation unit 29, and a simulation execution unit (injection amount calculation unit) 30.
  • the input unit 15 is an interface for directly inputting user operations to the simulation device 1.
  • the input unit 15 inputs user operations via the operation device 5 to the simulation device 1.
  • the display unit 16 has the display device 6 of FIG. 2, and displays a screen created by the screen creation unit 22.
  • the transmission/reception unit 17 is an interface for transmitting and receiving data with a device connected by wire or wirelessly. In this embodiment, the transmission/reception unit 17 transmits and receives data with the robot control device via the communication device 7 of FIG. 2. Note that user operations may be input from an external information processing terminal or the like. In this case, the transmission/reception unit 17 functions as a reception unit.
  • the storage unit 18 has the storage device 8 of FIG. 2.
  • the storage unit 18 stores three-dimensional model data in advance.
  • the three-dimensional model data includes a cleaning robot model including a cleaning nozzle model, and a model of the object to be cleaned.
  • the dirt adhesion model creation unit 21 uses the data of the cleaning target model stored in the memory unit 18 to create a dirt adhesion model that reflects dirt on the cleaning target model.
  • the screen creation unit 22 creates various screens related to the creation of a cleaning program.
  • the various screens include a teaching screen for teaching the cleaning program to the cleaning robot model, a setting screen for setting the method of representing dirt, a setting screen for setting the operating conditions, a setting screen for setting the spray conditions of the fluid sprayed from the cleaning nozzle, a creation screen for creating a dirt adhesion model, etc.
  • the virtual space creation unit 23 creates a virtual space in software that represents the operating space of the cleaning robot in three dimensions.
  • the virtual space created by the virtual space creation unit 23 is displayed on the teaching screen, etc., created by the screen creation unit 22.
  • the model placement unit 24 places the cleaning robot model and the dirt adhesion model in the virtual space created by the virtual space creation unit 23.
  • the cleaning robot model and the dirt adhesion model are placed in the virtual space so as to correspond to the positional relationship between the cleaning robot and the workpiece with dirt in the actual operating space.
  • the dirt representation method setting unit 25 sets the dirt representation method based on user operation on the dirt representation method setting screen. Details of the dirt representation method will be described later.
  • the operation condition setting unit 26 sets the operation conditions of the cleaning robot model based on user operation on the setting screen for setting the operation conditions. Known parameters such as operation speed, interpolation type, movement type, etc. can be adopted as the operation conditions of the cleaning robot model.
  • the operation conditions may be fixed or changed while the cleaning robot model is in operation.
  • the spray condition setting unit 27 sets the spray conditions of the fluid based on user operation on the spray condition setting screen. The spray conditions may be fixed during the cleaning operation or may be changed depending on the part to be cleaned. Details of the spray conditions will be described later.
  • the teaching point registration unit 28 registers the position of the hand reference point and the hand posture of the cleaning robot model as teaching points through user operations on a teaching screen including a virtual space in which the cleaning robot model and the dirt-attached model are arranged.
  • the position of the hand reference point is set to the tip position of the cleaning nozzle model that the cleaning robot model has.
  • the program creation unit 29 creates a cleaning program based on the operating conditions set by the operating condition setting unit 26, the spraying conditions set by the spraying condition setting unit 27, and the multiple teaching points registered by the teaching point registration unit 28.
  • the simulation execution unit 30 executes a simulation operation that causes the cleaning robot model placed in the virtual space to operate in accordance with a cleaning program or in accordance with user operations input via the operation device 5. Specifically, the simulation execution unit 30 executes a movement simulation of the cleaning robot model 70 and a fluid injection simulation. In the fluid injection simulation, the simulation execution unit 30 calculates the amount of fluid injected onto each part of the dirt adhesion model, and can calculate the degree to which dirt has been removed from the dirt model or dirt area and the degree of dirt remaining by subtracting the injection amount from the dirt level of the dirt model or dirt area held by the dirt adhesion model.
  • the simulation device 1 creates a dirt adhesion model based on a user operation (S11), and places the created dirt adhesion model and the cleaning robot model in the virtual space displayed on the teaching screen (S12).
  • the simulation device 1 sets the spray conditions of the fluid sprayed from the cleaning nozzle model equipped on the cleaning robot model based on the user operation (S13), and sets the operating conditions of the cleaning robot model (S14).
  • the simulation device 1 registers the teaching points based on the user operation on the teaching screen (S15).
  • the simulation device 1 creates a cleaning program based on the spray conditions set in step S13, the operating conditions set in step S14, and the teaching points registered in step S15 (S16).
  • the simulation device 1 causes the cleaning robot model placed in the virtual space to perform a simulation of the cleaning work based on the cleaning program created in step S16 (S17).
  • the processes of steps S13 to S17 are repeatedly executed until the user completes the correction work of the cleaning program (S18; Yes).
  • the creation of the cleaning program is complete (S18; No).
  • the process of creating the dirt adhesion model in step S11 in FIG. 4 will be described below with reference to FIG. 5.
  • the dirt adhesion model is created by the dirt adhesion model creation unit 21.
  • the simulation device 1 sets the cleaning target model and the dirt expression method based on the user's operation (S111, S112).
  • the simulation device 1 sets the range in which dirt is reflected and the degree of dirt based on the user's operation on the cleaning target model (S113, S114).
  • the simulation device 1 creates a dirt adhesion model for the cleaning target model that reflects dirt of the degree of dirt set in step S114 in the range set in step S113 using the expression method set in step S112 (S115) and displays it (S116).
  • steps S112 to S116 are repeatedly executed until the user completes the correction work of the dirt adhesion model (S117; Yes).
  • the creation of the dirt adhesion model is completed (S117; No).
  • FIG. 6 is an example of a setting screen for the method of representing dirt.
  • the setting screen for the method of representing dirt is configured so that the user can set the method of representing dirt on the model to be cleaned in the simulation.
  • the setting screen displays a number of options for selecting the method of representing dirt.
  • the options for the method of representing dirt include “adding a dirt model to the model to be cleaned” and “changing the surface of the model to be cleaned.”
  • “Adding a dirt model to the model to be cleaned” is a method of representing dirt on the model to be cleaned by overlaying a dirt model, which is a model of dirt that is separate from the model to be cleaned, on the surface of the model to be cleaned.
  • “Changing the surface of the model to be cleaned” is a method of representing dirt as a change in the surface of the model to be cleaned, rather than representing it as an object like a dirt model.
  • the settings screen displays multiple options for selecting the shape of the dirt model and multiple options for selecting the method for representing the degree of dirt.
  • Options for the dirt model shape include “spherical” and “cubic”. The shape of the dirt model is not limited to these and any shape such as a rectangular parallelepiped, oval sphere, or ellipsoid can be used.
  • Options for the method for representing the degree of dirt include "dirt model color”, “number of dirt models”, and "add numerical values”. The method for representing the degree of dirt is not limited to these and patterns, etc. can be used.
  • the settings screen displays multiple options for selecting the method for expressing the degree of dirt.
  • Options for the method for expressing the degree of dirt include "dirt model color” and "add numerical values”.
  • the degree of dirt is expressed by the amount of fluid sprayed required to remove the dirt.
  • An assumed dirt that can be removed with an amount of spray of 3 ml represents more severe dirt than an assumed dirt that can be removed with an amount of spray of 1 ml.
  • the degree of dirt may involve not only the amount of fluid sprayed but also other parameters such as spray pressure.
  • the type of fluid may be involved in the degree of dirt.
  • the dirt representation method "adding a dirt model to a model to be cleaned” will be described with reference to FIG. 7.
  • the dirt model 100 is a cube.
  • the size of the dirt model 100 corresponds to the range of dirt represented by one dirt model 100.
  • the center position of the dirt model 100 corresponds to the center position of the range of dirt represented by the dirt model 100.
  • the dirt model 100 is displayed superimposed on the surface of the model to be cleaned 90.
  • the dirt models 100a and 100b each represent the degree of dirt as a numerical value.
  • the dirt model 100a with the numerical value "1" attached represents dirt that is assumed to be removed by spraying 1 ml of fluid at the position where the dirt model 100a is placed.
  • dirt model 100b which is marked with the number "3,” represents dirt that is assumed to be removed by spraying 3 ml of fluid at the position where dirt model 100b is placed.
  • Dirt models 100a and 100b which express the degree of dirt numerically, express the state of dirt removal as a countdown of the degree of dirt as fluid is sprayed in a cleaning simulation, so that the degree of dirt removal and the remaining amount can be quantitatively grasped.
  • the dirt models 100c and 100d express the degree of dirt with colors.
  • the dirt model 100c expresses dirt that is assumed to be removed by spraying 1 ml of fluid at the position where the dirt model 100c is placed
  • the dirt model 100d expresses dirt that is assumed to be removed by spraying 3 ml of fluid at the position where the dirt model 100d is placed.
  • the dirt models 100c and 100d which express the degree of dirt with colors, express the state in which dirt is removed by changing colors as fluid is sprayed in a cleaning simulation, so that the degree of dirt removal and the remaining amount can be qualitatively grasped.
  • the transparency of the dirt model may be changed depending on the degree of dirt. For example, the transparency is specified so that the higher the degree of dirt, the lower the transparency, and the higher the transparency as the degree of dirt is zero or low.
  • the dirt models 100e and 100f represent the degree of dirt by the number of models.
  • the dirt model 100e which has one dirt model 100h per 100g of reference range, represents dirt that is assumed to be removed by injecting 1 ml of fluid at the position where the reference range is located.
  • the dirt model 100f which has three dirt models 100h per 100g of reference range, represents dirt that is assumed to be removed by injecting 3 ml of fluid at the position where the reference range is located.
  • the dirt models 100e and 100f represent the state in which dirt is removed by injecting fluid by the cleaning simulation, by the change in the number of dirt models 100h, so that the degree of removal and the remaining amount of dirt can be grasped qualitatively and quantitatively. The user can select how dirt is to be represented according to preference.
  • FIG. 8 is a diagram showing a dirt model together with the model to be cleaned.
  • a dirt range in which dirt is reflected on the surface of the model to be cleaned is set.
  • the dirt range is divided into a plurality of partial ranges.
  • the shape of the partial range is set to a square shape. For example, if the area of the dirt range is 15 cm2 and the area of the partial range is 1 cm2, the dirt range is divided into 15 partial ranges.
  • the dirt partial ranges 200a and 200b which represent the degree of dirt numerically, are represented by a countdown of the degree of dirt as the dirt is removed by spraying fluid in the cleaning simulation, so that the degree of removal and the remaining amount of dirt can be quantitatively grasped.
  • the dirt subranges 200a and 200b each show dirt with a degree of dirt expressed by a numerical value.
  • the dirt subrange 200a in which the numerical value "1" is written, shows dirt that is assumed to be removed by injecting 1 ml of fluid into the center position of the dirt subrange.
  • the dirt subrange 200b in which the numerical value "3" is written, shows dirt that is assumed to be removed by injecting 1 ml of fluid into the center position of the dirt subrange.
  • the dirt subranges 200c and 200d show dirt models in which the degree of dirt is expressed by color.
  • the dirt subrange 200c shows dirt that is assumed to be removed by injecting 1 ml of fluid into the center position of the dirt subrange
  • the dirt subrange 200d shows dirt that is assumed to be removed by injecting 3 ml of fluid into the center position of the dirt subrange.
  • the dirt subranges 200c and 200d in which the degree of dirt is expressed by color, show the state in which the dirt is removed by changing colors as the fluid is sprayed in the cleaning simulation, so that the degree of dirt removal and the remaining amount can be qualitatively understood.
  • the color of the stained range 200 is changed so that it gradually approaches the first color from the second color based on the amount of spray onto the stained partial range. It is preferable that the color change at this time be represented by a gradation. This allows the user to intuitively grasp how the stain is being removed.
  • a user can specify the range of dirt and the degree of dirt by operating the model to be cleaned, and create a dirt-attached model in which the surface of the model to be cleaned that corresponds to the specified range of dirt is changed to a state that represents the specified degree of dirt.
  • the method of specifying the range of dirt can be any method, such as dots, lines, bands, etc. It is also possible to specify the entire model to be cleaned as the range of dirt all at once. For example, icons such as pens and brushes can be displayed as tools for specifying the range of dirt on the screen on which the dirt-attached model is created. This allows the user to intuitively operate the tools to specify the range of dirt to be reflected on the model to be cleaned.
  • image processing difference processing
  • image processing difference processing
  • image processing difference processing
  • image processing difference processing
  • image processing difference processing
  • image processing difference processing
  • image processing difference processing
  • image processing is performed on an image S1 of the workpiece to be cleaned before it becomes dirty and an image S2 of it after it becomes dirty to create a difference image S3
  • the range of dirt D1 to D4 is extracted, and the extracted range of dirt D1 to D4 can be set as the range of dirt in the model to be cleaned.
  • the degree of dirt can also be identified based on the pixel values of the range of dirt by image processing on an image S1 of the workpiece to be cleaned before it becomes dirty and an image S2 of it after it becomes dirty, and the identified degree of dirt can be used as the degree of dirt in the model to be cleaned.
  • FIG. 10 is a diagram showing a reference model of dirt in a corner.
  • FIG. 11 is a diagram showing the state in which the reference model is reflected in a corner of the model to be cleaned. As shown in FIG. 11, when a corner of the model to be cleaned 90 is specified by a user operation, the reference model of dirt in the corner shown in FIG. 10 is read out and applied to the entire corner.
  • FIG. 12 shows a state in which a fluid is injected from the injection nozzle model.
  • the fluid may be compressed air, water, cleaning liquid, or the like.
  • the injection conditions include the distance D1 from the nozzle tip to the cleaning surface and the injection amount distribution of the fluid at the distance D1.
  • an injection model of the fluid can be created.
  • the injection amount distribution can be set by a graph with the distance from the injection center on the horizontal axis and the injection amount on the vertical axis. As shown in FIG.
  • the injection amount distribution is set so that the injection amount per unit area in the circular range from the injection center to the distance R1 is A3, the injection amount per unit area in the annular range from the injection center to the distance R1 and the distance R2 is A2, and the injection amount per unit area in the annular range from the injection center to the distance R2 and the distance R3 is A1.
  • the injection conditions are set by the user in the simulation device 1, but the conditions received from another device connected to the simulation device 1 may be set as the injection conditions.
  • the cleaning robot model moves the spray model, allowing fluid to be virtually sprayed onto each part of the soiled model.
  • FIG. 13 the change in the display mode of dirt when a cleaning simulation is performed will be described.
  • a fluid injection model 300 is shown together with a dirt model 100.
  • FIG. 13(a) shows the dirt model 100 at the start of cleaning
  • FIG. 13(b) shows the dirt model 100 one second after cleaning starts.
  • the dirt model 100 is assumed to be dirt that can be removed by injecting 3 ml of fluid.
  • fluid is injected into six dirt models 100 that interfere with the injection model.
  • the two central dirt models 100 are injected with fluid at 3 ml per second
  • the outer dirt models 100 are injected with fluid at 2 ml per second
  • the outermost dirt models 100 are injected with 1 ml of fluid. Therefore, when the cleaning robot model is stationary at position P1 and the fluid is sprayed for one second, 3 ml of fluid is sprayed onto the dirt assumed to be removable by spraying 3 ml of fluid, so the dirt degree of the two dirt models 100 at the center is subtracted to 0 and is erased.
  • the degree to which dirt has been removed can be calculated by subtracting the amount of fluid sprayed onto the dirt model 100 from the numerical value representing the degree of dirt on the dirt model 100, and the degree of dirt removed and the degree of dirt remaining can be expressed by erasing the dirt model 100 or changing the display mode, etc.
  • Figure 14 shows the state before the simulation is performed
  • Figures 15, 16, and 17 show the state after the simulation is performed.
  • a dirt model 100 that is assumed to be removed by spraying 3 ml of fluid is attached to the dirt adhesion model 95.
  • P1 to P6 represent teaching points, and it is assumed that the hand reference point of the cleaning robot model 70, in other words the spray model, moves in order from P1 to P6.
  • the spray model 300 when performing a simulation of the cleaning robot model 70 or when teaching teaching points, it is desirable to display the spray model 300. This allows the user to intuitively grasp whether fluid is being sprayed onto the dirt model 100.
  • a dirt adhesion model in which dirt is reflected on a model to be cleaned can be created and displayed.
  • dirt is expressed by adding a dirt model to the model to be cleaned, and dirt is expressed by changing the display mode of the surface of the model to be cleaned.
  • the dirt expressed in the dirt adhesion model is displayed so that the degree of dirt can be understood by color or the like.
  • the injection amount of the fluid to be injected onto the dirt expressed in the dirt adhesion model is calculated, the injection amount is subtracted from the degree of dirt, and the display mode of the dirt expressed in the model to be cleaned can be changed according to the degree of dirt after subtraction, or the dirt expressed in the model to be cleaned can be erased if the degree of dirt becomes 0. Since the dirt reflected in the dirt adhesion model can be visually grasped, the user can intuitively perform the registration work of the teaching point. Furthermore, since the change in the display mode of the dirt reflected in the dirt adhesion model and the erasure of the dirt can actually be grasped as the dirt disappears, a cleaning program can be created with the same procedure and feeling as when actually trying it on an actual machine.
  • FIG. 18 is a flowchart showing the procedure for automatically creating a cleaning program using the simulation device 1 according to this embodiment. Steps S21 to S24 in FIG. 18 correspond to steps S11 to S14 in FIG. 4, respectively, and therefore description thereof will be omitted.
  • the simulation device 1 registers the operation start position and posture of the cleaning robot based on the user's operation on the teaching screen (S25). Next, the simulation device 1 automatically registers teaching points one after another (S26). The simulation device 1 then creates a cleaning program using the spraying conditions set in step S23, the operating conditions set in step S24, the start point recorded in step S25, and the teaching points automatically registered in step S26 (S26), and the automatic generation process of the cleaning program ends.
  • FIG. 19 is a flowchart showing an example of the procedure for the automatic registration process of the teaching points using the simulation device 1 according to this embodiment.
  • the injection model is moved to the operation start position and posture registered in step S25 of FIG. 18 by simulation (S261).
  • a dirt model located at the closest position to the current position is searched for (S262). If a dirt model is found (S263; Yes), the injection model is moved to a position and posture where fluid can be injected into the dirt model (S264), and the current position and posture after the injection model is moved are registered as a teaching point (S265).
  • the display mode of the dirt model is changed (S267).
  • a process is performed in which the injection amount of the fluid injected from the injection model is subtracted from the dirt level of the dirt model that the fluid injected from the injection model hits, and in parallel with this, the display mode of the dirt model is changed according to the dirt level.
  • the injection simulation is performed until the dirt level of the dirt model becomes 0 (S268; No).
  • the dirt model is erased (S269).
  • the processes of steps S262 to S269 are repeated until there are no more dirt models, that is, until cleaning of the dirt-attached model is complete, and the same number of teaching points as the number of repetitions are registered.
  • the automatic registration process of teaching points in step S26 of FIG. 18 is terminated.
  • FIG. 20 is a diagram for explaining another example of the automatic registration process of teaching points using the simulation device 1 according to this embodiment.
  • a fluid can be sprayed into the dirt range 200, and multiple teaching points P1 to P8 along the circumference of a circle similar to the dirt range 200 are automatically registered.
  • the movement path of the spray model 300 according to the shape of the dirt range 200 reflected in the dirt adhesion model 95 may be registered, and the movement path may be automatically determined according to the shape of the dirt range 200.
  • the simulation device 1 comprises a memory unit 18 that stores a three-dimensional model 90 of the workpiece to be cleaned, a reception unit 15 that receives user operations for representing dirt on all or part of the three-dimensional model of the workpiece, a model creation unit 21 that creates a dirt adhesion model 95 in which dirt is represented on all or part of the three-dimensional model 90 of the workpiece based on the user operations, and a display unit 16 that displays the created dirt adhesion model 95.
  • Appendix 2 The dirt described in Appendix 1 is added to the three-dimensional model 90 of the workpiece as a dirt model 100 and is displayed superimposed on the three-dimensional model 90 of the workpiece.
  • the dirt model 100 described in Appendix 2 has information regarding the degree of dirt, and the display mode of the dirt model 100 changes depending on the degree of dirt.
  • the dirt model 100 described in Appendix 2 has information regarding the degree of dirt, and the dirt model 100 is displayed with the information regarding the degree added thereto.
  • the dirt model 100 described in any one of Supplementary Notes 2 to 4 is represented in a spherical or cubic shape.
  • the simulation device 1 described in Appendix 2 further includes an injection model moving unit 70 that moves the fluid injection model relative to the three-dimensional model 90 of the workpiece, and an injection amount calculation unit 30 that calculates the injection amount by the injection model 300 for each part of the three-dimensional model 90 of the workpiece, and the model creation unit 21 individually removes the dirt models 100 added to all or part of the three-dimensional model 90 of the workpiece based on the calculated injection amount.
  • the spray model moving unit 70 moves the spray model 300 to position the dirt model 100 within the spray distribution of the spray model 300, and further includes a program creation unit 29 that creates a cleaning program based on the position of the spray model 300 after it has been moved.
  • Appendix 8 In the simulation device 1 described in Appendix 1, the surface color of the entire or part of the three-dimensional model 90 of the workpiece is changed from a first color to a second color to represent dirt. (Appendix 9) The second color described in Appendix 8 is changed depending on the degree of dirt.
  • the simulation device 1 described in Appendix 8 or Appendix 9 further includes an injection model moving unit 70 that moves the fluid injection model relative to the three-dimensional model 90 of the workpiece, and an injection amount calculation unit 30 that calculates the injection amount by the injection model for each part of the three-dimensional model 90 of the workpiece, and based on the calculated injection amount, the surface color of the entire or part of the three-dimensional model 90 of the workpiece is approximated from the second color to the first color.
  • the jet model moving unit 70 described in Appendix 10 moves the jet model 300 to position all or part of the three-dimensional model 90 of the workpiece represented in a second color within the jet distribution of the jet model 300, and further includes a program creation unit 29 that creates a cleaning program based on the position of the jet model 300 after it has been moved.
  • the program causes a computer that stores a three-dimensional model 90 of a workpiece to be cleaned to implement the following: means 15 for accepting user operations for representing dirt on all or part of the three-dimensional model 90 of the workpiece; means 21 for creating a dirt adhesion model 95 in which dirt is represented on all or part of the three-dimensional model 90 of the workpiece based on the user operations; and means 16 for displaying the created dirt adhesion model 95.
  • 1...simulation device 2...processor, 5...operation device, 6...display device, 7...communication device, 8...storage device, 15...input section (reception section), 16...display section, 17...transmission/reception section, 18...storage section, 21...dirt adhesion model creation section, 22...screen creation section, 23...virtual space creation section, 24...model placement section, 25...dirt representation method setting section, 26...operation condition setting section, 27...spray condition setting section, 28...teaching point registration section, 29...program creation section, 30...simulation execution section (spray amount calculation section), 70...cleaning robot model (spray model movement section), 80...cleaning nozzle model, 90...cleaning target model, 95...dirt adhesion model, 100...dirt model, 200...dirt range, 300...spray model.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

A simulation device according to an aspect of the present disclosure comprises: a storage unit that stores a three-dimensional model of a workpiece to be cleaned; a reception unit that receives a user operation for expressing the dirtiness of all or part of the three-dimensional model of the workpiece; a creation unit that creates a dirty model expressing the dirtiness of all or part of the three-dimensional model of the workpiece on the basis of the user operation; and a display unit that displays the created dirty model.

Description

シミュレーション装置及びプログラムSimulation device and program
 本開示は、洗浄作業のシミュレーション機能を有するシミュレーション装置及びプログラムに関する。 This disclosure relates to a simulation device and program that has a function for simulating cleaning operations.
 ロボットに所定の動作を教示する方法として、オンラインで教示する方法やオフラインで教示する方法等が提案されている。例えば、オフラインで教示する方法として、シミュレーション方式による教示方法が知られている。シミュレーション方式によるオフラインティーチングは、パソコンに表示された仮想空間内に、ロボット、エンドエフェクタ、ワーク、周辺機器などの3次元モデルを配置し、これらを仮想的に動作させながら動作プログラムを作成することができる。実機を操作する必要がなく、パソコンがあれば、いつでもどこでもシミュレーションによりプログラムの作成、確認等を行うことができるため、シミュレーション方式によるオフラインティーチングは、広く利用されている。シミュレーション方式によるオフラインティーチングでは、例えば、ピッキング作業、組立作業、溶接作業、塗布作業等の動作をロボットに実行させるための動作プログラムを、ユーザは実際に画面上でロボットモデルを動作させ、確認しながら作成することができる。一方で、例えば、ロボットに洗浄作業を実行させるための洗浄プログラムの作成では、シミュレーション上で“汚れ”を再現できていないため、洗浄作業をシミュレーションにより再現することは難しい。そのため、ユーザは、対象のワークに汚れが付着していることを想像しながら洗浄プログラムを作成し、実際に洗浄ロボットを作成した洗浄プログラムに従って動作させて、対象のワークの汚れをきちんと落とすことができているのかを確認していた。このように、洗浄プログラムの作成をシミュレーションだけでは完結することができないため、多くの時間を要していた。このような洗浄作業に関する技術として、特許文献1には、工作機械内に流体を噴射して屑を移動させるための流体の噴射経路を生成する技術が開示されている。 As a method for teaching a robot a specific operation, a method of teaching online and a method of teaching offline have been proposed. For example, a teaching method using a simulation method is known as a method of teaching offline. In offline teaching using the simulation method, three-dimensional models of a robot, end effector, workpiece, peripheral equipment, etc. are arranged in a virtual space displayed on a personal computer, and an operation program can be created while virtually operating these. Since there is no need to operate the actual machine and a personal computer is available, programs can be created and checked by simulation anytime and anywhere, offline teaching using the simulation method is widely used. In offline teaching using the simulation method, for example, a user can create an operation program for a robot to perform operations such as picking, assembly, welding, and painting while actually operating the robot model on the screen and checking it. On the other hand, for example, when creating a cleaning program for a robot to perform a cleaning operation, it is difficult to reproduce the cleaning operation by simulation because "dirt" cannot be reproduced in the simulation. Therefore, users would create a cleaning program while imagining that dirt would be attached to the target workpiece, and then actually operate the cleaning robot according to the created cleaning program to check whether the dirt on the target workpiece was being properly removed. As such, creating a cleaning program cannot be completed by simulation alone, and it takes a lot of time. As a technology related to such cleaning work, Patent Document 1 discloses a technology for generating a fluid injection path for injecting a fluid into a machine tool to move debris.
特許第7083943号公報Patent No. 7083943
 しかしながら、依然として、洗浄作業をシミュレーションで再現できておらず、シミュレーションにより洗浄プログラムを作成できるように、シミュレーションで汚れを再現する技術の提案が望まれている。 However, it is still not possible to reproduce the cleaning process through simulation, and there is a need to propose technology that can reproduce dirt through simulation so that cleaning programs can be created through simulation.
 本開示の一態様に係るシミュレーション装置は、洗浄対象のワークの3次元モデルを記憶する記憶部と、ワークの3次元モデルの全体又は一部に汚れを表現させるためのユーザ操作を受け付ける受付部と、ユーザ操作に基づいて、ワークの3次元モデルの全体又は一部に汚れが表現された汚れ付着モデルを作成する作成部と、作成した汚れ付着モデルを表示する表示部と、を具備する。 A simulation device according to one aspect of the present disclosure includes a storage unit that stores a three-dimensional model of a workpiece to be cleaned, a reception unit that receives user operations for expressing dirt on all or part of the three-dimensional model of the workpiece, a creation unit that creates a dirt adhesion model in which dirt is expressed on all or part of the three-dimensional model of the workpiece based on the user operations, and a display unit that displays the created dirt adhesion model.
図1は、洗浄ロボットシステムの一例を示した図である。FIG. 1 is a diagram showing an example of a cleaning robot system. 図2は、本実施形態に係るシミュレーション装置のハードウェア構成図である。FIG. 2 is a diagram showing the hardware configuration of the simulation device according to this embodiment. 図3は、本実施形態に係るシミュレーション装置の機能ブロック図である。FIG. 3 is a functional block diagram of the simulation device according to this embodiment. 図4は、本実施形態に係るシミュレーション装置による洗浄プログラムの作成手順の一例を示す図である。FIG. 4 is a diagram showing an example of a procedure for creating a cleaning program by the simulation device according to the present embodiment. 図5は、図4の工程S11の汚れ付着モデルの作成処理の手順の一例を示す図である。FIG. 5 is a diagram showing an example of a procedure for creating a dirt adhesion model in step S11 of FIG. 図6は、汚れ付着モデルへの汚れの表現方法の設定画面の一例を示した図である。FIG. 6 is a diagram showing an example of a setting screen for setting a method for expressing dirt on a dirt adhesion model. 図7は、汚れモデルで表現された汚れの表示例を示した図である。FIG. 7 is a diagram showing a display example of dirt represented by a dirt model. 図8は、洗浄対象モデルの表面の変化で表現された汚れの表示例を示した図である。FIG. 8 is a diagram showing an example of a stain displayed by changes in the surface of a model to be cleaned. 図9は、画像を用いた汚れ範囲の設定方法を説明するための図である。FIG. 9 is a diagram for explaining a method for setting a stain range using an image. 図10は、隅部の汚れの基準モデルを示す図である。FIG. 10 shows a reference model for corner contamination. 図11は、洗浄対象モデルの隅部に汚れの基準モデルを適用した汚れ付着モデルを示す図である。FIG. 11 is a diagram showing a dirt adhesion model in which a reference model of dirt is applied to a corner of a model to be cleaned. 図12は、流体の噴射モデルを示す図である。FIG. 12 is a diagram showing a fluid ejection model. 図13は、シミュレーション実行時の汚れの減算処理を説明するための図である。FIG. 13 is a diagram for explaining the dirt subtraction process during the execution of a simulation. 図14は、シミュレーション実行前の汚れ付着モデルの一例を示す図である・FIG. 14 is a diagram showing an example of a dirt adhesion model before a simulation is performed. 図15は、シミュレーション実行後の汚れ付着モデルの一例を示す図である。FIG. 15 is a diagram showing an example of a dirt adhesion model after the execution of a simulation. 図16は、シミュレーション実行後の汚れ付着モデルの他の例を示す図である。FIG. 16 is a diagram showing another example of a dirt adhesion model after the execution of a simulation. 図17は、シミュレーション実行後の汚れ付着モデルの他の例を示す図であるFIG. 17 is a diagram showing another example of a dirt adhesion model after a simulation is performed. 図18は、本実施形態に係るシミュレーション装置による洗浄プログラムの作成手順の他の例を示す図である。FIG. 18 is a diagram showing another example of the procedure for creating a cleaning program by the simulation device according to the present embodiment. 図19は、図18の工程S26の教示点の自動登録処理の手順の一例を示すフローチャートである。FIG. 19 is a flowchart showing an example of the procedure of the automatic teaching point registration process in step S26 of FIG. 図20は、教示点の自動登録処理の他の例を説明するための図である。FIG. 20 is a diagram for explaining another example of the automatic registration process of the teaching point.
 以下、図面を参照しながら本実施形態に係るシミュレーション装置を説明する。以下の説明において、略同一の機能及び構成を有する構成要素については、同一符号を付し、重複説明は必要な場合にのみ行う。 The simulation device according to this embodiment will be described below with reference to the drawings. In the following description, components having substantially the same functions and configurations are given the same reference numerals, and repeated explanations will be given only when necessary.
 図1に示すように、本実施形態に係るシミュレーション装置1は、洗浄ノズル50を有する洗浄ロボット40に洗浄対象のワーク60の洗浄作業を実行させるための洗浄プログラムをシミュレーションにより作成する機能を有するコンピュータ装置である。具体的には、シミュレーション装置1は、洗浄対象のワーク60の3次元モデル(洗浄対象モデル)に汚れを反映させた3次元モデル(汚れ付着モデル)を作成する機能と、汚れ付着モデルと洗浄ロボット40の3次元モデル(洗浄ロボットモデル)とを仮想空間に配置する機能と、仮想空間内に配置された洗浄ロボットモデルに洗浄プログラムを教示する機能と、洗浄ロボットモデルに教示した内容をまとめた洗浄プログラムを作成する機能と、作成した洗浄プログラムに従って洗浄ロボットモデルに洗浄作業をシミュレーションにより実行させる機能と、を有する。典型的には、本実施形態に係るシミュレーション装置1は、以下のように構成される。 As shown in FIG. 1, the simulation device 1 according to this embodiment is a computer device having a function of creating a cleaning program by simulation for causing a cleaning robot 40 having a cleaning nozzle 50 to perform a cleaning operation on a workpiece 60 to be cleaned. Specifically, the simulation device 1 has a function of creating a three-dimensional model (dirt adhesion model) in which dirt is reflected on a three-dimensional model (cleaning target model) of the workpiece 60 to be cleaned, a function of arranging the dirt adhesion model and the three-dimensional model (cleaning robot model) of the cleaning robot 40 in a virtual space, a function of teaching a cleaning program to the cleaning robot model arranged in the virtual space, a function of creating a cleaning program that summarizes the contents taught to the cleaning robot model, and a function of having the cleaning robot model perform a cleaning operation by simulation in accordance with the created cleaning program. Typically, the simulation device 1 according to this embodiment is configured as follows.
 図2に示すように、本実施形態に係るシミュレーション装置1は、プロセッサ2(CPU等)に対して操作装置5、表示装置6、通信装置7、及び記憶装置8などのハードウェアが接続されて構成される。シミュレーション装置1は、パソコン、タブレット、スマートフォン等の一般的な情報処理端末により提供される。 As shown in FIG. 2, the simulation device 1 according to this embodiment is configured by connecting hardware such as an operation device 5, a display device 6, a communication device 7, and a storage device 8 to a processor 2 (such as a CPU). The simulation device 1 is provided by a general information processing terminal such as a personal computer, tablet, or smartphone.
 操作装置5は、キーボード、マウス、ジョグ等により提供される。操作装置5は、表示装置6と兼用されるタッチパネルにより提供されてもよい。ユーザは、操作装置5を介して、シミュレーション装置1に対して各種情報を入力することができる。表示装置6は、LCD等により提供される。表示装置6には、画面作成部22により作成される画面が表示される。通信装置7は、ロボットの制御装置等の他の装置との間のデータの送受信を制御する。通信装置7の処理により、シミュレーション装置1により作成された洗浄プログラムがロボット制御装置に送信される。記憶装置8は、HDD、SSD等により提供される。記憶装置8にはシミュレーションプログラムが記憶されている。 The operation device 5 is provided by a keyboard, a mouse, a jog, etc. The operation device 5 may be provided by a touch panel that also serves as the display device 6. A user can input various information to the simulation device 1 via the operation device 5. The display device 6 is provided by an LCD, etc. A screen created by the screen creation unit 22 is displayed on the display device 6. The communication device 7 controls the transmission and reception of data between the simulation device 1 and other devices such as a robot control device. A cleaning program created by the simulation device 1 is transmitted to the robot control device by processing of the communication device 7. The storage device 8 is provided by an HDD, SSD, etc. A simulation program is stored in the storage device 8.
 記憶装置8に記憶されているシミュレーションプログラムがプロセッサ2により実行されることで、図3に示すように、シミュレーション装置1は、入力部(受付部)15、表示部16、送受信部17、記憶部18、汚れ付着モデル作成部21、画面作成部22、仮想空間作成部23、モデル配置部24、汚れ表現方法設定部25、動作条件設定部26、噴射条件設定部27、教示点登録部28、プログラム作成部29、シミュレーション実行部(噴射量計算部)30として機能する。 As the processor 2 executes the simulation program stored in the storage device 8, as shown in FIG. 3, the simulation device 1 functions as an input unit (reception unit) 15, a display unit 16, a transmission/reception unit 17, a storage unit 18, a dirt adhesion model creation unit 21, a screen creation unit 22, a virtual space creation unit 23, a model placement unit 24, a dirt representation method setting unit 25, an operating condition setting unit 26, an injection condition setting unit 27, a teaching point registration unit 28, a program creation unit 29, and a simulation execution unit (injection amount calculation unit) 30.
 入力部15は、シミュレーション装置1にユーザ操作を直接的に入力するためのインターフェースである。本実施形態では、入力部15は、操作装置5を介したユーザ操作をシミュレーション装置1に入力する。表示部16は、図2の表示装置6を有し、画面作成部22により作成された画面を表示する。送受信部17は、有線又は無線により接続された装置との間でデータを送受信するためのインターフェースである。本実施形態では、送受信部17は、図2の通信装置7を介してロボット制御装置との間でデータを送受信する。なお、ユーザ操作は、外部の情報処理端末等から入力されてもよい。この場合、送受信部17が受付部として機能する。 The input unit 15 is an interface for directly inputting user operations to the simulation device 1. In this embodiment, the input unit 15 inputs user operations via the operation device 5 to the simulation device 1. The display unit 16 has the display device 6 of FIG. 2, and displays a screen created by the screen creation unit 22. The transmission/reception unit 17 is an interface for transmitting and receiving data with a device connected by wire or wirelessly. In this embodiment, the transmission/reception unit 17 transmits and receives data with the robot control device via the communication device 7 of FIG. 2. Note that user operations may be input from an external information processing terminal or the like. In this case, the transmission/reception unit 17 functions as a reception unit.
 記憶部18は、図2の記憶装置8を有する。記憶部18には、3次元モデルのデータが予め記憶されている。3次元モデルのデータは、洗浄ノズルモデルを含む洗浄ロボットモデル、洗浄対象モデルを含む。 The storage unit 18 has the storage device 8 of FIG. 2. The storage unit 18 stores three-dimensional model data in advance. The three-dimensional model data includes a cleaning robot model including a cleaning nozzle model, and a model of the object to be cleaned.
 汚れ付着モデル作成部21は、記憶部18に記憶された洗浄対象モデルのデータを用いて、洗浄対象モデルに汚れを反映させた汚れ付着モデルを作成する。 The dirt adhesion model creation unit 21 uses the data of the cleaning target model stored in the memory unit 18 to create a dirt adhesion model that reflects dirt on the cleaning target model.
 画面作成部22は、洗浄プログラムの作成に関わる各種画面を作成する。各種画面は、洗浄ロボットモデルに洗浄プログラムを教示するための教示画面、汚れの表現方法を設定するための設定画面、動作条件を設定するための設定画面、洗浄ノズルから噴射される流体の噴射条件を設定するための設定画面、汚れ付着モデルを作成するための作成画面等を含む。 The screen creation unit 22 creates various screens related to the creation of a cleaning program. The various screens include a teaching screen for teaching the cleaning program to the cleaning robot model, a setting screen for setting the method of representing dirt, a setting screen for setting the operating conditions, a setting screen for setting the spray conditions of the fluid sprayed from the cleaning nozzle, a creation screen for creating a dirt adhesion model, etc.
 仮想空間作成部23は、洗浄ロボットの動作空間を三次元的に表現したソフトウェア上の仮想空間を作成する。仮想空間作成部23によって作成された仮想空間は、画面作成部22により作成された教示画面等に表示される。 The virtual space creation unit 23 creates a virtual space in software that represents the operating space of the cleaning robot in three dimensions. The virtual space created by the virtual space creation unit 23 is displayed on the teaching screen, etc., created by the screen creation unit 22.
 モデル配置部24は、仮想空間作成部23により作成された仮想空間内に洗浄ロボットモデルと汚れ付着モデルとを配置する。洗浄ロボットモデルと汚れ付着モデルとは、実際の動作空間における洗浄ロボットと汚れが付着したワークとの位置関係に対応するように仮想空間内に配置される。 The model placement unit 24 places the cleaning robot model and the dirt adhesion model in the virtual space created by the virtual space creation unit 23. The cleaning robot model and the dirt adhesion model are placed in the virtual space so as to correspond to the positional relationship between the cleaning robot and the workpiece with dirt in the actual operating space.
 汚れ表現方法設定部25は、汚れ表現方法の設定画面上のユーザ操作に基づいて、汚れ表現方法を設定する。汚れ表現方法の詳細は後述する。動作条件設定部26は、動作条件を設定するための設定画面上のユーザ操作に基づいて、洗浄ロボットモデルの動作条件を設定する。洗浄ロボットモデルの動作条件は、動作速度、補間形式、移動形式等の既知のパラメータを採用することができる。動作条件は、洗浄ロボットモデルの動作中において固定させてもよいし、変化させてもよい。噴射条件設定部27は、噴射条件の設定画面上のユーザ操作に基づいて、流体の噴射条件を設定する。噴射条件は、洗浄作業中において固定されてもよいし、洗浄箇所に応じて変更されてもよい。噴射条件の詳細は後述する。 The dirt representation method setting unit 25 sets the dirt representation method based on user operation on the dirt representation method setting screen. Details of the dirt representation method will be described later. The operation condition setting unit 26 sets the operation conditions of the cleaning robot model based on user operation on the setting screen for setting the operation conditions. Known parameters such as operation speed, interpolation type, movement type, etc. can be adopted as the operation conditions of the cleaning robot model. The operation conditions may be fixed or changed while the cleaning robot model is in operation. The spray condition setting unit 27 sets the spray conditions of the fluid based on user operation on the spray condition setting screen. The spray conditions may be fixed during the cleaning operation or may be changed depending on the part to be cleaned. Details of the spray conditions will be described later.
 教示点登録部28は、洗浄ロボットモデルと汚れ付着モデルとが配置された仮想空間を含む教示画面上のユーザ操作により、洗浄ロボットモデルの手先基準点の位置及び手先姿勢を教示点として登録する。例えば、手先基準点の位置は洗浄ロボットモデルが有する洗浄ノズルモデルの先端位置に設定されている。 The teaching point registration unit 28 registers the position of the hand reference point and the hand posture of the cleaning robot model as teaching points through user operations on a teaching screen including a virtual space in which the cleaning robot model and the dirt-attached model are arranged. For example, the position of the hand reference point is set to the tip position of the cleaning nozzle model that the cleaning robot model has.
 プログラム作成部29は、動作条件設定部26により設定された動作条件と、噴射条件設定部27により設定された噴射条件と、教示点登録部28により登録された複数の教示点とに基づいて、洗浄プログラムを作成する。 The program creation unit 29 creates a cleaning program based on the operating conditions set by the operating condition setting unit 26, the spraying conditions set by the spraying condition setting unit 27, and the multiple teaching points registered by the teaching point registration unit 28.
 シミュレーション実行部30は、仮想空間内に配置された洗浄ロボットモデルを洗浄プログラムに従って、又は操作装置5を介した入力されたユーザ操作に従って模擬的に動作させるシミュレーション動作を実行する。具体的には、シミュレーション実行部30は、洗浄ロボットモデル70の移動シミュレーション、流体の噴射シミュレーションを実行する。流体の噴射シミュレーションにおいて、シミュレーション実行部30は、汚れ付着モデルの各部への流体の噴射量を計算し、汚れ付着モデルが有する汚れモデル又は汚れ範囲の汚れ度合いから噴射量を減算することにより、汚れモデル又は汚れ範囲の汚れが落ちた度合い、汚れの残りの度合いを算出することができる。 The simulation execution unit 30 executes a simulation operation that causes the cleaning robot model placed in the virtual space to operate in accordance with a cleaning program or in accordance with user operations input via the operation device 5. Specifically, the simulation execution unit 30 executes a movement simulation of the cleaning robot model 70 and a fluid injection simulation. In the fluid injection simulation, the simulation execution unit 30 calculates the amount of fluid injected onto each part of the dirt adhesion model, and can calculate the degree to which dirt has been removed from the dirt model or dirt area and the degree of dirt remaining by subtracting the injection amount from the dirt level of the dirt model or dirt area held by the dirt adhesion model.
 以下、図4を参照して、本実施形態に係るシミュレーション装置1を用いた洗浄プログラムの作成手順を説明する。 Below, the procedure for creating a cleaning program using the simulation device 1 according to this embodiment will be described with reference to FIG. 4.
 図4に示すように、シミュレーション装置1は、ユーザ操作に基づいて汚れ付着モデルを作成し(S11)、教示画面に表示された仮想空間に作成した汚れ付着モデルと洗浄ロボットモデルとを配置する(S12)。次に、シミュレーション装置1は、ユーザ操作に基づいて、洗浄ロボットモデルが装備する洗浄ノズルモデルから噴射される流体の噴射条件を設定し(S13)、洗浄ロボットモデルの動作条件を設定する(S14)。次に、シミュレーション装置1は、教示画面上のユーザ操作に基づいて、教示点を登録する(S15)。シミュレーション装置1は、工程S13で設定した噴射条件と工程S14で設定した動作条件と工程S15で登録した教示点とに基づいて、洗浄プログラムを作成する(S16)。そして、シミュレーション装置1は、仮想空間に配置された洗浄ロボットモデルに対して、工程S16で作成した洗浄プログラムに基づく洗浄作業のシミュレーションを実行させる(S17)。工程S13乃至工程S17の処理は、ユーザによる洗浄プログラムの修正作業が完了されるまで繰り返し実行される(S18;Yes)。ユーザによる洗浄プログラムの修正作業の終了により、洗浄プログラムの作成が完了される(S18;No)。 As shown in FIG. 4, the simulation device 1 creates a dirt adhesion model based on a user operation (S11), and places the created dirt adhesion model and the cleaning robot model in the virtual space displayed on the teaching screen (S12). Next, the simulation device 1 sets the spray conditions of the fluid sprayed from the cleaning nozzle model equipped on the cleaning robot model based on the user operation (S13), and sets the operating conditions of the cleaning robot model (S14). Next, the simulation device 1 registers the teaching points based on the user operation on the teaching screen (S15). The simulation device 1 creates a cleaning program based on the spray conditions set in step S13, the operating conditions set in step S14, and the teaching points registered in step S15 (S16). Then, the simulation device 1 causes the cleaning robot model placed in the virtual space to perform a simulation of the cleaning work based on the cleaning program created in step S16 (S17). The processes of steps S13 to S17 are repeatedly executed until the user completes the correction work of the cleaning program (S18; Yes). When the user has finished modifying the cleaning program, the creation of the cleaning program is complete (S18; No).
 以下、図5を参照して、図4の工程S11の汚れ付着モデルの作成処理を説明する。汚れ付着モデルは汚れ付着モデル作成部21により作成される。図5に示すように、シミュレーション装置1は、ユーザ操作に基づいて、洗浄対象モデルと汚れの表現方法とを設定する(S111、S112)。次に、シミュレーション装置1は、洗浄対象モデルに対するユーザ操作に基づいて、汚れを反映させる範囲、汚れの度合いを設定する(S113,S114)。そして、シミュレーション装置1は、洗浄対象モデルに対して、工程S112で設定した表現方法で、工程S113で設定した範囲に、工程S114で設定した汚れの度合いの汚れを反映させた汚れ付着モデルを作成し(S115)、表示する(S116)。工程S112乃至工程S116の処理は、ユーザによる汚れ付着モデルの修正作業が完了されるまで繰り返し実行される(S117;Yes)。ユーザによる汚れ付着モデルの修正作業の終了により、汚れ付着モデルの作成が完了される(S117;No)。 The process of creating the dirt adhesion model in step S11 in FIG. 4 will be described below with reference to FIG. 5. The dirt adhesion model is created by the dirt adhesion model creation unit 21. As shown in FIG. 5, the simulation device 1 sets the cleaning target model and the dirt expression method based on the user's operation (S111, S112). Next, the simulation device 1 sets the range in which dirt is reflected and the degree of dirt based on the user's operation on the cleaning target model (S113, S114). Then, the simulation device 1 creates a dirt adhesion model for the cleaning target model that reflects dirt of the degree of dirt set in step S114 in the range set in step S113 using the expression method set in step S112 (S115) and displays it (S116). The processes in steps S112 to S116 are repeatedly executed until the user completes the correction work of the dirt adhesion model (S117; Yes). When the user finishes the correction work of the dirt adhesion model, the creation of the dirt adhesion model is completed (S117; No).
 以下、図6を参照して、図5の工程S112の汚れの表現方法について説明する。図6は、汚れの表現方法の設定画面の一例である。汚れの表現方法の設定画面は、シミュレーション上で洗浄対象モデルの汚れの表現方法をユーザが設定できるように構成されている。図6に示すように、設定画面には、汚れの表現方法を選択するための複数の選択肢が表示される。汚れの表現方法の選択肢は、「洗浄対象モデルに汚れモデルを付加」と「洗浄対象モデルの表面を変化」とを含む。「洗浄対象モデルに汚れモデルを付加」は、洗浄対象モデルとは別体として汚れをモデル化した汚れモデルを洗浄対象モデルの表面に重ねることで洗浄対象モデルの汚れを表現した方法である。「洗浄対象モデルの表面を変化」は、汚れを汚れモデルのような物体として表現するのではなく、洗浄対象モデルの表面の変化として表現した方法である。 Below, with reference to FIG. 6, the method of representing dirt in step S112 in FIG. 5 will be described. FIG. 6 is an example of a setting screen for the method of representing dirt. The setting screen for the method of representing dirt is configured so that the user can set the method of representing dirt on the model to be cleaned in the simulation. As shown in FIG. 6, the setting screen displays a number of options for selecting the method of representing dirt. The options for the method of representing dirt include "adding a dirt model to the model to be cleaned" and "changing the surface of the model to be cleaned." "Adding a dirt model to the model to be cleaned" is a method of representing dirt on the model to be cleaned by overlaying a dirt model, which is a model of dirt that is separate from the model to be cleaned, on the surface of the model to be cleaned. "Changing the surface of the model to be cleaned" is a method of representing dirt as a change in the surface of the model to be cleaned, rather than representing it as an object like a dirt model.
 汚れの表現方法「洗浄対象モデルに汚れモデルを付加」の詳細を設定するために、設定画面には、汚れモデルの形状を選択するための複数の選択肢と、汚れの度合いの表現方法を選択するための複数の選択肢とが表示される。汚れモデルの形状の選択肢は、「球状」と「立方体形状」とを含む。汚れモデルの形状は、これらに限定されることはなく、直方体形状、楕円球状、長円球状等の任意の形状を採用することができる。汚れの度合いの表現方法の選択肢は、「汚れモデルの色」と「汚れモデルの数」と「数値を付記」とを含む。汚れの度合いの表現方法は、これらに限定されることはなく、模様等を採用することができる。 In order to set the details of the dirt representation method "Add dirt model to model to be cleaned" the settings screen displays multiple options for selecting the shape of the dirt model and multiple options for selecting the method for representing the degree of dirt. Options for the dirt model shape include "spherical" and "cubic". The shape of the dirt model is not limited to these and any shape such as a rectangular parallelepiped, oval sphere, or ellipsoid can be used. Options for the method for representing the degree of dirt include "dirt model color", "number of dirt models", and "add numerical values". The method for representing the degree of dirt is not limited to these and patterns, etc. can be used.
 汚れの表現方法「洗浄対象モデルの表面を変化」の詳細を設定するために、設定画面には汚れの度合いの表現方法を選択するための複数の選択肢が表示される。汚れの度合いの表現方法の選択肢は、「汚れモデルの色」と「数値を付記」とを含む。なお、汚れの度合いは、汚れを落とすために必要な流体の噴射量により表される。3mlの噴射量で落とすことができる想定の汚れは、1mlの噴射量で落とすことができる想定の汚れよりも汚れが酷いことを表す。もちろん、汚れの度合いには、流体の噴射量だけではなく、噴射圧等の他のパラメータを関与させるようにしてもよい。また、流体の種類によっても洗浄力が異なることから、汚れの度合いに流体の種類を関与させるようにしてもよい。 In order to set the details of the dirt expression method "Change the surface of the model to be cleaned", the settings screen displays multiple options for selecting the method for expressing the degree of dirt. Options for the method for expressing the degree of dirt include "dirt model color" and "add numerical values". The degree of dirt is expressed by the amount of fluid sprayed required to remove the dirt. An assumed dirt that can be removed with an amount of spray of 3 ml represents more severe dirt than an assumed dirt that can be removed with an amount of spray of 1 ml. Of course, the degree of dirt may involve not only the amount of fluid sprayed but also other parameters such as spray pressure. Also, since cleaning power differs depending on the type of fluid, the type of fluid may be involved in the degree of dirt.
 以下、図7を参照して、汚れの表現方法「洗浄対象モデルに汚れモデルを付加」を説明する。図7では、汚れモデルを洗浄対象モデルとともに示している。ここでは、汚れモデル100は立方体形状とする。汚れモデル100の大きさ(立方体の1つの面の面積)は、1つの汚れモデル100が表す汚れの範囲に対応する。汚れモデル100の中心位置は、汚れモデル100が表す汚れの範囲の中心位置に対応する。図7に示すように、汚れの表現方法「洗浄対象モデルに汚れモデルを付加」では、洗浄対象モデル90の表面に汚れモデル100が重ねて表示される。汚れモデル100a、100bは、それぞれ汚れの度合いを数値で表したものである。数値「1」が付記された汚れモデル100aは、汚れモデル100aが配置された位置に1mlの流体を噴射することで除去できることを想定した汚れを表している。同様に、数値「3」が付記された汚れモデル100bは、汚れモデル100bが配置された位置に3mlの流体を噴射することで除去できることを想定した汚れを表している。汚れの度合いを数値で表した汚れモデル100a、100bは、洗浄シミュレーションにより流体が噴射されることで、汚れの落ちていく様子を汚れ度合いのカウントダウンにより表現されるため、汚れの落ち具合や残量を定量的に把握することができる。 Below, the dirt representation method "adding a dirt model to a model to be cleaned" will be described with reference to FIG. 7. In FIG. 7, the dirt model is shown together with the model to be cleaned. Here, the dirt model 100 is a cube. The size of the dirt model 100 (the area of one face of the cube) corresponds to the range of dirt represented by one dirt model 100. The center position of the dirt model 100 corresponds to the center position of the range of dirt represented by the dirt model 100. As shown in FIG. 7, in the dirt representation method "adding a dirt model to a model to be cleaned", the dirt model 100 is displayed superimposed on the surface of the model to be cleaned 90. The dirt models 100a and 100b each represent the degree of dirt as a numerical value. The dirt model 100a with the numerical value "1" attached represents dirt that is assumed to be removed by spraying 1 ml of fluid at the position where the dirt model 100a is placed. Similarly, dirt model 100b, which is marked with the number "3," represents dirt that is assumed to be removed by spraying 3 ml of fluid at the position where dirt model 100b is placed. Dirt models 100a and 100b, which express the degree of dirt numerically, express the state of dirt removal as a countdown of the degree of dirt as fluid is sprayed in a cleaning simulation, so that the degree of dirt removal and the remaining amount can be quantitatively grasped.
 汚れモデル100c、100dは、汚れの度合いを色で表したものである。例えば、汚れモデル100cは、汚れモデル100cが配置された位置に1mlの流体を噴射することで除去できることを想定した汚れを表し、汚れモデル100dは、汚れモデル100dが配置された位置に3mlの流体を噴射することで除去できることを想定した汚れを表している。汚れの度合いを色で表した汚れモデル100c、100dは、洗浄シミュレーションにより流体が噴射されることで、汚れが落ちていく様子を色の変化により表現されるため、汚れの落ち具合や残量を定性的に把握することができる。なお、汚れの度合いによって、汚れモデルの透明度を変化させるようにしてもよい。例えば、透明度は、汚れ度合いが高い程、透明度が低くなり、汚れの度合いがゼロ又は低いほど透明度が高くなるように規定される。 The dirt models 100c and 100d express the degree of dirt with colors. For example, the dirt model 100c expresses dirt that is assumed to be removed by spraying 1 ml of fluid at the position where the dirt model 100c is placed, and the dirt model 100d expresses dirt that is assumed to be removed by spraying 3 ml of fluid at the position where the dirt model 100d is placed. The dirt models 100c and 100d, which express the degree of dirt with colors, express the state in which dirt is removed by changing colors as fluid is sprayed in a cleaning simulation, so that the degree of dirt removal and the remaining amount can be qualitatively grasped. The transparency of the dirt model may be changed depending on the degree of dirt. For example, the transparency is specified so that the higher the degree of dirt, the lower the transparency, and the higher the transparency as the degree of dirt is zero or low.
 汚れモデル100e、100fは、汚れの度合いをモデルの数で表したものである。基準範囲100gあたりの汚れモデル100hの数が1つである汚れモデル100eは、基準範囲が配置された位置に1mlの流体を噴射することで除去できることを想定した汚れを表している。同様に、基準範囲100gあたりの汚れモデル100hの数が3つである汚れモデル100fは、基準範囲が配置された位置に3mlの流体を噴射することで除去できることを想定した汚れを表している。汚れモデル100e、100fは、洗浄シミュレーションにより流体が噴射されることで、汚れの落ちていく様子を汚れモデル100hの数の変化により表現されるため、汚れの落ち具合や残量を定性的及び定量的に把握することができる。 
 ユーザは、好みに応じて汚れの表現方法を選択することができる。
The dirt models 100e and 100f represent the degree of dirt by the number of models. The dirt model 100e, which has one dirt model 100h per 100g of reference range, represents dirt that is assumed to be removed by injecting 1 ml of fluid at the position where the reference range is located. Similarly, the dirt model 100f, which has three dirt models 100h per 100g of reference range, represents dirt that is assumed to be removed by injecting 3 ml of fluid at the position where the reference range is located. The dirt models 100e and 100f represent the state in which dirt is removed by injecting fluid by the cleaning simulation, by the change in the number of dirt models 100h, so that the degree of removal and the remaining amount of dirt can be grasped qualitatively and quantitatively.
The user can select how dirt is to be represented according to preference.
 以下、図8を参照して、汚れの表現方法「洗浄対象モデルの表面を変化」を説明する。図8は、汚れモデルを洗浄対象モデルとともに示した図である。図8に示すように、汚れの表現方法「洗浄対象モデルの表面を変化」では、洗浄対象モデルの表面に汚れを反映させる汚れの範囲が設定される。汚れの範囲は、複数の部分範囲に区画される。例えば、部分範囲の形状は正方形状に設定されている。例えば、汚れの範囲の面積が15cm2、部分範囲の面積が1cm2である場合、汚れの範囲は15個に部分範囲に区画される。汚れの度合いを数値で表した汚れの部分範囲200a、200bは、洗浄シミュレーションにより流体が噴射されることで、汚れの落ちていく様子を汚れ度合いのカウントダウンにより表現されるため、汚れの落ち具合や残量を定量的に把握することができる。 Below, the dirt representation method "changing the surface of the model to be cleaned" will be described with reference to FIG. 8. FIG. 8 is a diagram showing a dirt model together with the model to be cleaned. As shown in FIG. 8, in the dirt representation method "changing the surface of the model to be cleaned", a dirt range in which dirt is reflected on the surface of the model to be cleaned is set. The dirt range is divided into a plurality of partial ranges. For example, the shape of the partial range is set to a square shape. For example, if the area of the dirt range is 15 cm2 and the area of the partial range is 1 cm2, the dirt range is divided into 15 partial ranges. The dirt partial ranges 200a and 200b, which represent the degree of dirt numerically, are represented by a countdown of the degree of dirt as the dirt is removed by spraying fluid in the cleaning simulation, so that the degree of removal and the remaining amount of dirt can be quantitatively grasped.
 汚れの部分範囲200a、200bは、それぞれ汚れの度合いを数値で表した汚れを示している。数値「1」が表記された汚れの範囲200aは、汚れの部分範囲の中心位置に1mlの流体を噴射することで除去できることを想定した汚れを表している。同様に、数値「3」が表記された汚れの部分範囲200bは、汚れの部分範囲の中心位置に1mlの流体を噴射することで除去できることを想定した汚れを表している。汚れの部分範囲200c、200dは、汚れの度合いを色で表した汚れモデルを示している。例えば、汚れの部分範囲200cは、汚れの部分範囲の中心位置に1mlの流体を噴射することで除去できることを想定した汚れを表し、汚れの部分範囲200dは、汚れの部分範囲の中心位置に3mlの流体を噴射することで除去できることを想定した汚れを表している。汚れの度合いを色で表した汚れの部分範囲200c、200dは、洗浄シミュレーションにより流体が噴射されることで、汚れの落ちていく様子を色の変化により表現されるため、汚れの落ち具合や残量を定性的に把握することができる。例えば、洗浄対象モデルの表面色を第1色、汚れの部分範囲200の色が第2色であるとき、汚れの部分範囲への噴射量に基づいて、汚れの範囲200の色が第2色から徐々に第1色に近づくように変化される。このときの色の変化はグラデーションにより表されることが好ましい。それにより、汚れの落ちる様子を直感的に把握することができる。 The dirt subranges 200a and 200b each show dirt with a degree of dirt expressed by a numerical value. The dirt subrange 200a, in which the numerical value "1" is written, shows dirt that is assumed to be removed by injecting 1 ml of fluid into the center position of the dirt subrange. Similarly, the dirt subrange 200b, in which the numerical value "3" is written, shows dirt that is assumed to be removed by injecting 1 ml of fluid into the center position of the dirt subrange. The dirt subranges 200c and 200d show dirt models in which the degree of dirt is expressed by color. For example, the dirt subrange 200c shows dirt that is assumed to be removed by injecting 1 ml of fluid into the center position of the dirt subrange, and the dirt subrange 200d shows dirt that is assumed to be removed by injecting 3 ml of fluid into the center position of the dirt subrange. The dirt subranges 200c and 200d, in which the degree of dirt is expressed by color, show the state in which the dirt is removed by changing colors as the fluid is sprayed in the cleaning simulation, so that the degree of dirt removal and the remaining amount can be qualitatively understood. For example, when the surface color of the model to be cleaned is a first color and the color of the stained partial range 200 is a second color, the color of the stained range 200 is changed so that it gradually approaches the first color from the second color based on the amount of spray onto the stained partial range. It is preferable that the color change at this time be represented by a gradation. This allows the user to intuitively grasp how the stain is being removed.
 例えば、ユーザは、洗浄対象モデルに対する操作により、汚れの範囲と汚れの度合いとを指定することで、指定した汚れの範囲に対応する洗浄対象モデルの表面を、指定した汚れの度合いを表す態様に変化させた汚れ付着モデルを作成することができる。 For example, a user can specify the range of dirt and the degree of dirt by operating the model to be cleaned, and create a dirt-attached model in which the surface of the model to be cleaned that corresponds to the specified range of dirt is changed to a state that represents the specified degree of dirt.
 なお、汚れの範囲を指定する方法としては、点状、線状、帯状等の任意の方法を採用することができる。また、洗浄対象モデルの全体を汚れの範囲として一括して指定することも可能である。例えば、汚れ付着モデルを作成する画面上に、汚れの範囲を指定するためのツールとして、ペン、ブラシ等のアイコンを表示するようにしてもよい。それにより、ユーザは、ツールを使用した直感的な操作により、洗浄対象モデルに汚れを反映させる汚れの範囲を指定することができる。 The method of specifying the range of dirt can be any method, such as dots, lines, bands, etc. It is also possible to specify the entire model to be cleaned as the range of dirt all at once. For example, icons such as pens and brushes can be displayed as tools for specifying the range of dirt on the screen on which the dirt-attached model is created. This allows the user to intuitively operate the tools to specify the range of dirt to be reflected on the model to be cleaned.
 また、図9に示すように、洗浄対象のワークの汚れる前の画像S1と汚れた後の画像S2とに対する画像処理(差分処理)により、差分画像S3を作成した上で汚れの範囲D1乃至D4を抽出し、抽出した汚れの範囲D1乃至D4を、洗浄対象モデルの汚れの範囲として設定することができる。もちろん、洗浄対象のワークの汚れる前の画像S1と汚れた後の画像S2とに対する画像処理により、汚れの範囲の画素値等に基づいて汚れの度合いを特定し、特定した汚れの度合いを洗浄対象モデルにおける汚れの度合いとして採用してもよい。 Also, as shown in FIG. 9, image processing (difference processing) is performed on an image S1 of the workpiece to be cleaned before it becomes dirty and an image S2 of it after it becomes dirty to create a difference image S3, and then the range of dirt D1 to D4 is extracted, and the extracted range of dirt D1 to D4 can be set as the range of dirt in the model to be cleaned. Of course, the degree of dirt can also be identified based on the pixel values of the range of dirt by image processing on an image S1 of the workpiece to be cleaned before it becomes dirty and an image S2 of it after it becomes dirty, and the identified degree of dirt can be used as the degree of dirt in the model to be cleaned.
 また、汚れを反映させる箇所に応じた基準モデルを作成しておき、ユーザにより指定された箇所に、当該箇所に対応する基準モデルを自動的に反映させるようにしてもよい。図10は、隅部の汚れの基準モデルを示した図である。図11は、洗浄対象モデルの隅部に基準モデルを反映させた状態を示す図である。図11に示すように、ユーザ操作により洗浄対象モデル90の隅部が指定されると、図10に示す隅部の汚れの基準モデルが読み出され、隅部の全域にわたって適用される。このように、汚れを反映させる箇所毎、汚れを反映させるワークの種類毎に汚れの基準モデル作成しておくことで、ユーザは、簡単な操作で、洗浄対象モデル90に汚れを反映させることができるため、汚れ付着モデル95の作成にかかる時間を短縮することができる。 Also, a reference model may be created according to the location where dirt is to be reflected, and the reference model corresponding to that location may be automatically reflected in the location specified by the user. FIG. 10 is a diagram showing a reference model of dirt in a corner. FIG. 11 is a diagram showing the state in which the reference model is reflected in a corner of the model to be cleaned. As shown in FIG. 11, when a corner of the model to be cleaned 90 is specified by a user operation, the reference model of dirt in the corner shown in FIG. 10 is read out and applied to the entire corner. In this way, by creating a reference model of dirt for each location where dirt is to be reflected and for each type of workpiece on which dirt is to be reflected, the user can reflect dirt in the model to be cleaned 90 with a simple operation, thereby shortening the time required to create the dirt adhesion model 95.
 以下、図12を参照して、図3の工程S13の噴射条件を説明する。図12は、噴射ノズルモデルから流体が噴射された状態を表している。流体としては、圧縮空気、水、洗浄液等を採用することができる。図12に示すように、噴射条件は、ノズル先端から洗浄面までの距離D1と距離D1における流体の噴射量分布を含む。噴射条件を設定することで、流体の噴射モデルを作成することができる。例えば、噴射量分布は、噴射中心からの距離を横軸、噴射量を縦軸とするグラフにより設定することができる。図12に示すように、噴射量分布は、噴射中心から距離R1までの円形状の範囲の単位面積あたりの噴射量がA3、噴射中心から距離R1と距離R2との間の円環状の範囲の単位面積あたりの噴射量がA2,噴射中心から距離R2と距離R3との間の円環状の範囲の単位面積あたりの噴射量がA1となるように設定される。本実施形態では、シミュレーション装置1においてユーザにより設定されるが、シミュレーション装置1に接続された他の装置から受信した条件を噴射条件として設定するようにしてもよい。洗浄ロボットモデルにより噴射モデルが移動されることで、汚れ付着モデルの各部に流体を仮想的に噴射することができる。 The injection conditions of step S13 in FIG. 3 will be described below with reference to FIG. 12. FIG. 12 shows a state in which a fluid is injected from the injection nozzle model. The fluid may be compressed air, water, cleaning liquid, or the like. As shown in FIG. 12, the injection conditions include the distance D1 from the nozzle tip to the cleaning surface and the injection amount distribution of the fluid at the distance D1. By setting the injection conditions, an injection model of the fluid can be created. For example, the injection amount distribution can be set by a graph with the distance from the injection center on the horizontal axis and the injection amount on the vertical axis. As shown in FIG. 12, the injection amount distribution is set so that the injection amount per unit area in the circular range from the injection center to the distance R1 is A3, the injection amount per unit area in the annular range from the injection center to the distance R1 and the distance R2 is A2, and the injection amount per unit area in the annular range from the injection center to the distance R2 and the distance R3 is A1. In this embodiment, the injection conditions are set by the user in the simulation device 1, but the conditions received from another device connected to the simulation device 1 may be set as the injection conditions. The cleaning robot model moves the spray model, allowing fluid to be virtually sprayed onto each part of the soiled model.
 以下、図13を参照して、洗浄シミュレーションの実行したときの汚れの表示態様の変化を説明する。図13では、流体の噴射モデル300を汚れモデル100とともに示している。図13(a)は、洗浄開始時点の汚れモデル100を示し、図13(b)は、洗浄開始してから1秒経過時点の汚れモデル100を示している。ここでは、汚れモデル100は、3mlの流体を噴射することで除去できることを想定した汚れとする。図13(a)に示すように、噴射モデルが干渉する6つの汚れモデル100に流体が噴射される。6つの汚れモデル100のうち、中心の2つの汚れモデル100には流体が毎秒3mlで噴射され、それらの外側の汚れモデル100には流体が毎秒2mlで噴射され、さらに外側の汚れモデル100には流体1mlで噴射される。したがって、洗浄ロボットモデルが位置P1で静止した状態で流体を1秒間噴射した場合、3mlの流体を噴射することで除去できることを想定した汚れに対して3mlの流体が噴射されるため、中心の2つの汚れモデル100の汚れ度合いは減算されて0となり、消去される。一方、3mlの流体を噴射することで除去できることを想定した汚れに対して2mlの流体が噴射されるため、中心の2つの汚れモデル100の外側の汚れモデル100の汚れ度合いは減算され、その結果、3mlの流体を噴射することで除去できることを想定した汚れの表示態様から、1mlの流体を噴射することで除去できることを想定した汚れの表示態様に表示が変更される。同様に、3mlの流体を噴射することで除去できることを想定した汚れに対して1mlの流体が噴射されるため、さらに外側の汚れモデル100の汚れ度合いは減算され、その結果、3mlの流体を噴射することで除去できることを想定した汚れの表示態様から、2mlの流体を噴射することで除去できることを想定した汚れの表示態様に表示が変更される。このように、洗浄作業のシミュレーションでは、汚れ付着モデルの各部に対する流体の噴射量に基づいて、汚れモデル100を消去するか、又はその表示態様を変更することができる。具体的には、汚れモデル100が有する汚れの度合いを表す数値に対して、当該汚れモデル100に噴射される噴射量を減算処理することにより、汚れがどの程度除去されたかを計算することができ、除去された汚れの度合いと残存する汚れの度合いとを、汚れモデル100の消去又は表示態様の変化等により表現することができる。 Below, referring to FIG. 13, the change in the display mode of dirt when a cleaning simulation is performed will be described. In FIG. 13, a fluid injection model 300 is shown together with a dirt model 100. FIG. 13(a) shows the dirt model 100 at the start of cleaning, and FIG. 13(b) shows the dirt model 100 one second after cleaning starts. Here, the dirt model 100 is assumed to be dirt that can be removed by injecting 3 ml of fluid. As shown in FIG. 13(a), fluid is injected into six dirt models 100 that interfere with the injection model. Of the six dirt models 100, the two central dirt models 100 are injected with fluid at 3 ml per second, the outer dirt models 100 are injected with fluid at 2 ml per second, and the outermost dirt models 100 are injected with 1 ml of fluid. Therefore, when the cleaning robot model is stationary at position P1 and the fluid is sprayed for one second, 3 ml of fluid is sprayed onto the dirt assumed to be removable by spraying 3 ml of fluid, so the dirt degree of the two dirt models 100 at the center is subtracted to 0 and is erased. On the other hand, 2 ml of fluid is sprayed onto the dirt assumed to be removable by spraying 3 ml of fluid, so the dirt degree of the dirt models 100 outside the two dirt models 100 at the center is subtracted, and as a result, the display is changed from the display mode of the dirt assumed to be removable by spraying 3 ml of fluid to the display mode of the dirt assumed to be removable by spraying 1 ml of fluid. Similarly, 1 ml of fluid is sprayed onto the dirt assumed to be removable by spraying 3 ml of fluid, so the dirt degree of the dirt models 100 further outside is subtracted, and as a result, the display is changed from the display mode of the dirt assumed to be removable by spraying 3 ml of fluid to the display mode of the dirt assumed to be removable by spraying 2 ml of fluid. In this way, in the simulation of the cleaning operation, the dirt model 100 can be erased or its display mode can be changed based on the amount of fluid sprayed onto each part of the dirt adhesion model. Specifically, the degree to which dirt has been removed can be calculated by subtracting the amount of fluid sprayed onto the dirt model 100 from the numerical value representing the degree of dirt on the dirt model 100, and the degree of dirt removed and the degree of dirt remaining can be expressed by erasing the dirt model 100 or changing the display mode, etc.
 以下、図14,図15,図16、図17を参照して、洗浄ロボットモデル70によるシミュレーションの実行例を説明する。図14は、シミュレーションの実行前、図15,図16、図17はシミュレーション実行後を示している。ここでは、汚れ付着モデル95には、3mlの流体を噴射することで除去できることを想定した汚れモデル100が付着しているものとする。また、P1~P6は教示点を表し、洗浄ロボットモデル70の手先基準点、換言すると噴射モデルがP1からP6に向かって順番に移動されるものとする。なお、図14に示すように、洗浄ロボットモデル70のシミュレーションを実行するときや教示点を教示するときには、噴射モデル300を表示することが望ましい。それにより、汚れモデル100に対して流体が噴射されているのかを直感的に把握することができる。 Below, an example of a simulation using the cleaning robot model 70 will be described with reference to Figures 14, 15, 16, and 17. Figure 14 shows the state before the simulation is performed, and Figures 15, 16, and 17 show the state after the simulation is performed. Here, it is assumed that a dirt model 100 that is assumed to be removed by spraying 3 ml of fluid is attached to the dirt adhesion model 95. Furthermore, P1 to P6 represent teaching points, and it is assumed that the hand reference point of the cleaning robot model 70, in other words the spray model, moves in order from P1 to P6. Note that, as shown in Figure 14, when performing a simulation of the cleaning robot model 70 or when teaching teaching points, it is desirable to display the spray model 300. This allows the user to intuitively grasp whether fluid is being sprayed onto the dirt model 100.
 図15に示すように、シミュレーションを実行した結果、汚れ付着モデル95に付着していた汚れモデル100のうち一部の汚れモデル100が表示態様を変化させないまま残ってしまった場合は、一部の汚れに対して流体が噴射されていないことを表している。ユーザは、一部の汚れモデル100が表示態様を変化させないまま残っていることを確認することで、当該一部の汚れモデル100に流体を噴射できるように、教示点を修正する等の対策を講じることができる。 As shown in FIG. 15, if, as a result of executing the simulation, some of the dirt models 100 attached to the dirt adhesion model 95 remain without changing their display mode, this indicates that fluid has not been sprayed onto some of the dirt. By confirming that some of the dirt models 100 remain without changing their display mode, the user can take measures such as modifying the teaching points so that fluid can be sprayed onto those some of the dirt models 100.
 図16に示すように、シミュレーションを実行した結果、汚れ付着モデル95に付着していた汚れモデル100の全てが表示態様を変化させただけで残ってしまった場合は、汚れに対して流体が噴射されているものの、噴射量が不足していることを表している。ユーザは、汚れモデル100の表示態様の変化を確認することで、噴射量を増やす必要性を把握することができ、例えば、移動速度が遅くなるように洗浄プログラムを修正する、又は噴射量が多くなるような洗浄ノズルを採用するといった対策を講じることができる。 As shown in FIG. 16, if the result of running the simulation shows that all of the dirt models 100 attached to the dirt adhesion model 95 remain, with only a change in the display mode, this indicates that although fluid is being sprayed onto the dirt, the amount sprayed is insufficient. By checking the change in the display mode of the dirt model 100, the user can understand the need to increase the amount sprayed, and can take measures such as, for example, modifying the cleaning program to slow down the movement speed or adopting a cleaning nozzle that sprays a larger amount.
 図17に示すように、シミュレーションを実行した結果、汚れ付着モデル95に付着していた汚れモデル100の全てが消去された場合は、きちんと洗浄できたことを表している。ユーザは、汚れモデル100が全て消去されたことを確認することで、洗浄プログラムがきちんと作成できたことを把握することができる。 As shown in FIG. 17, if the result of running the simulation shows that all of the dirt models 100 attached to the dirt adhesion model 95 have been erased, this indicates that the cleaning has been performed properly. By confirming that all of the dirt models 100 have been erased, the user can understand that the cleaning program has been created properly.
 本実施形態に係るシミュレーション装置1によれば、洗浄対象モデルに汚れを反映させた汚れ付着モデルを作成し、表示することができる。例えば、汚れ付着モデルでは、洗浄対象モデルに汚れモデルを付加することにより汚れが表現され、また、洗浄対象モデルの表面の表示態様の変化により汚れが表現される。汚れ付着モデルで表現された汚れは、色等によって、汚れの度合いが分かるように表示される。そして、シミュレーションでは、汚れ付着モデルに表現された汚れに対して噴射される流体の噴射量を計算し、汚れの度合いから噴射量を減算し、減算後の汚れの度合いに応じて、洗浄対象モデルに表現された汚れの表示態様を変更し、又は汚れの度合いが0となれば、洗浄対象モデルに表現された汚れを消去することができる。汚れ付着モデルに反映された汚れを視覚的に捉えることができるため、ユーザは、教示点の登録作業を直感的に行うことができる。また、汚れ付着モデルに反映された汚れの表示態様の変化及び汚れの消去によって、実際に、汚れが消えていく様子を捉えることができるため、実際に、実機で試しているのと同じような手順、感覚で洗浄プログラムを作成することができる。 According to the simulation device 1 according to the present embodiment, a dirt adhesion model in which dirt is reflected on a model to be cleaned can be created and displayed. For example, in the dirt adhesion model, dirt is expressed by adding a dirt model to the model to be cleaned, and dirt is expressed by changing the display mode of the surface of the model to be cleaned. The dirt expressed in the dirt adhesion model is displayed so that the degree of dirt can be understood by color or the like. In the simulation, the injection amount of the fluid to be injected onto the dirt expressed in the dirt adhesion model is calculated, the injection amount is subtracted from the degree of dirt, and the display mode of the dirt expressed in the model to be cleaned can be changed according to the degree of dirt after subtraction, or the dirt expressed in the model to be cleaned can be erased if the degree of dirt becomes 0. Since the dirt reflected in the dirt adhesion model can be visually grasped, the user can intuitively perform the registration work of the teaching point. Furthermore, since the change in the display mode of the dirt reflected in the dirt adhesion model and the erasure of the dirt can actually be grasped as the dirt disappears, a cleaning program can be created with the same procedure and feeling as when actually trying it on an actual machine.
 以下、図18を参照して、本実施形態に係るシミュレーション装置1を用いた洗浄プログラムの自動作成の手順の一例を説明する。図18は、本実施形態に係るシミュレーション装置1を用いた洗浄プログラムの自動作成の手順を示すフローチャートである。図18における工程S21乃至S24は、図4の工程S11乃至S14にそれぞれ対応するため、その説明を省略する。 Below, an example of the procedure for automatically creating a cleaning program using the simulation device 1 according to this embodiment will be described with reference to FIG. 18. FIG. 18 is a flowchart showing the procedure for automatically creating a cleaning program using the simulation device 1 according to this embodiment. Steps S21 to S24 in FIG. 18 correspond to steps S11 to S14 in FIG. 4, respectively, and therefore description thereof will be omitted.
 図18に示すように、汚れ付着モデルの作成(S21)、仮想空間へのモデルの配置(S22)、各種条件の設定(S23,S24)が完了されると、シミュレーション装置1は、教示画面上のユーザ操作に基づいて、洗浄ロボットの動作開始位置、姿勢を登録する(S25)。次に、シミュレーション装置1は、自動で教示点を次々と登録する(S26)。そして、シミュレーション装置1は、工程S23で設定した噴射条件、工程S24で設定した動作条件、工程S25で記録した開始点、及び工程S26で自動的に登録された教示点を用いて洗浄プログラムを作成し(S26)、洗浄プログラムの自動生成処理を終了する。 As shown in FIG. 18, once the creation of the dirt adhesion model (S21), the placement of the model in the virtual space (S22), and the setting of various conditions (S23, S24) are completed, the simulation device 1 registers the operation start position and posture of the cleaning robot based on the user's operation on the teaching screen (S25). Next, the simulation device 1 automatically registers teaching points one after another (S26). The simulation device 1 then creates a cleaning program using the spraying conditions set in step S23, the operating conditions set in step S24, the start point recorded in step S25, and the teaching points automatically registered in step S26 (S26), and the automatic generation process of the cleaning program ends.
 以下、図19を参照して、図18の工程S26の教示点に自動登録処理の手順を説明する。図19は、本実施形態に係るシミュレーション装置1を用いた教示点の自動登録処理の手順の一例を示すフローチャートである。 Below, the procedure for the automatic registration process of the teaching points in step S26 of FIG. 18 will be described with reference to FIG. 19. FIG. 19 is a flowchart showing an example of the procedure for the automatic registration process of the teaching points using the simulation device 1 according to this embodiment.
 図19に示すように、シミュレーションにより、図18の工程S25で登録された動作開始位置、姿勢に噴射モデルを移動させる(S261)。次に、現在位置から最も近い位置に配置された汚れモデルを探索する(S262)。汚れモデルがあるとき(S263;Yes)、当該汚れモデルに流体を噴射可能な位置、姿勢に噴射モデルが移動され(S264)、噴射モデルが移動された後の現在位置、姿勢が教示点として登録される(S265)。そして、噴射シミュレーションの実行とともに(S266)、汚れモデルの表示態様が変更される(S267)。具体的には、噴射モデルから噴射される流体の噴射量を、噴射モデルから噴射された流体があたる汚れモデルの汚れ度合いから減算する処理が実行され、それと併行して、汚れモデルの表示態様を汚れ度合いに応じて変更させる。噴射シミュレーションは、汚れモデルの汚れ度合いが0になるまでの間、実行される(S268;No)。汚れモデルの汚れ度合いが0になると(S268;Yes)、当該汚れモデルが消去される(S269)。工程S262乃至工程S269の処理は、汚れモデルがなくなるまで、つまり、汚れ付着モデルの洗浄が完了するまで繰り返し実行され、繰り返し回数と同数の教示点が登録される。汚れ付着モデルに付加されていた汚れモデルの全てが消去されたことに基づいて、図18の工程S26の教示点の自動登録処理が終了される。 As shown in FIG. 19, the injection model is moved to the operation start position and posture registered in step S25 of FIG. 18 by simulation (S261). Next, a dirt model located at the closest position to the current position is searched for (S262). If a dirt model is found (S263; Yes), the injection model is moved to a position and posture where fluid can be injected into the dirt model (S264), and the current position and posture after the injection model is moved are registered as a teaching point (S265). Then, as the injection simulation is performed (S266), the display mode of the dirt model is changed (S267). Specifically, a process is performed in which the injection amount of the fluid injected from the injection model is subtracted from the dirt level of the dirt model that the fluid injected from the injection model hits, and in parallel with this, the display mode of the dirt model is changed according to the dirt level. The injection simulation is performed until the dirt level of the dirt model becomes 0 (S268; No). When the dirt level of the dirt model becomes 0 (S268; Yes), the dirt model is erased (S269). The processes of steps S262 to S269 are repeated until there are no more dirt models, that is, until cleaning of the dirt-attached model is complete, and the same number of teaching points as the number of repetitions are registered. When all of the dirt models added to the dirt-attached model have been deleted, the automatic registration process of teaching points in step S26 of FIG. 18 is terminated.
 図19を参照して説明した洗浄プログラムの自動作成は、柔軟性が高く、様々な汚れ付着モデルの洗浄プログラムの作成に適用することができる。一方で、汚れの範囲の形状、大きさに応じて自動的に教示点を登録するようにしてもよい。図20は、本実施形態に係るシミュレーション装置1を用いた教示点の自動登録処理の他の例を説明するための図である。図20に示すように、汚れ付着モデル95が円形状の汚れの範囲200を有するような場合では、汚れの範囲200に流体を噴射可能であって、当該汚れの範囲200と相似形の円の円周に沿った複数の教示点P1乃至P8が自動的に登録される。このように、汚れ付着モデル95に反映させた汚れの範囲200の形状に応じた噴射モデル300の移動経路を登録できるようにして、汚れの範囲200の形状に応じて自動的に移動経路を決定してもよい。 The automatic creation of the cleaning program described with reference to FIG. 19 is highly flexible and can be applied to the creation of cleaning programs for various dirt adhesion models. On the other hand, teaching points may be automatically registered according to the shape and size of the dirt range. FIG. 20 is a diagram for explaining another example of the automatic registration process of teaching points using the simulation device 1 according to this embodiment. As shown in FIG. 20, in a case where the dirt adhesion model 95 has a circular dirt range 200, a fluid can be sprayed into the dirt range 200, and multiple teaching points P1 to P8 along the circumference of a circle similar to the dirt range 200 are automatically registered. In this way, the movement path of the spray model 300 according to the shape of the dirt range 200 reflected in the dirt adhesion model 95 may be registered, and the movement path may be automatically determined according to the shape of the dirt range 200.
 本実施形態および変形例に関し、更に以下の付記を開示する。 
 (付記1) 
 シミュレーション装置1は、洗浄対象のワークの3次元モデル90を記憶する記憶部18と、ワークの3次元モデルの全体又は一部に汚れを表現させるためのユーザ操作を受け付ける受付部15と、ユーザ操作に基づいて、ワークの3次元モデル90の全体又は一部に汚れが表現された汚れ付着モデル95を作成するモデル作成部21と、作成した汚れ付着モデル95を表示する表示部16と、を具備する。 
 (付記2) 
 付記1に記載の汚れは汚れモデル100としてワークの3次元モデル90に付加され、ワークの3次元モデル90に重ねて表示される。 
 (付記3) 
 付記2に記載の汚れモデル100は汚れの度合いに関する情報を有し、汚れモデル100の表示態様は汚れの度合いに応じて変化される。 
 (付記4) 
 付記2に記載の汚れモデル100は汚れの度合いに関する情報を有し、汚れモデル100に度合いに関する情報が付加されて表示される。 
 (付記5) 
 付記2乃至付記4のうちいずれかに記載の汚れモデル100は球状又は立方体形状で表される。 
 (付記6) 
 付記2に記載のシミュレーション装置1は、ワークの3次元モデル90に対して流体の噴射モデルを移動する噴射モデル移動部70と、ワークの3次元モデル90の各部に対する噴射モデル300による噴射量を計算する噴射量計算部30とをさらに備え、モデル作成部21は、計算された噴射量に基づいて、ワークの3次元モデル90の全体または一部に付加された汚れモデル100を個々に取り除く。 
 (付記7) 
 付記6に記載のシミュレーション装置1において、噴射モデル移動部70は、噴射モデル300の噴射分布内に汚れモデル100を配置するために噴射モデル300を移動させ、移動された後の噴射モデル300の位置に基づいて、洗浄プログラムを作成するプログラム作成部29をさらに備える。 
 (付記8) 
 付記1に記載のシミュレーション装置1では、汚れとしてワークの3次元モデル90の全体または一部の表面色が第1の色から第2の色に変更される。 
 (付記9) 
 付記8に記載の第2色は汚れの度合いに応じて変更される。 
 (付記10) 
 付記8又は付記9に記載のシミュレーション装置1は、ワークの3次元モデル90に対して流体の噴射モデルを移動する噴射モデル移動部70と、ワークの3次元モデル90の各部に対する噴射モデルによる噴射量を計算する噴射量計算部30とをさらに備え、計算された噴射量に基づいて、ワークの3次元モデル90の全体または一部の表面色が第2の色から第1の色に近似される。 
 (付記11) 
 付記10に記載の噴射モデル移動部70は、噴射モデル300の噴射分布内に第2色で表現されたワークの3次元モデル90の全体又は一部を配置するために噴射モデル300を移動させ、移動された後の噴射モデル300の位置に基づいて、洗浄プログラムを作成するプログラム作成部29をさらに備える。 
 (付記12) 
 プログラムは、洗浄対象のワークの3次元モデル90を記憶するコンピュータに、ワークの3次元モデル90の全体又は一部に汚れを表現させるためのユーザ操作を受け付ける手段15と、ユーザ操作に基づいて、ワークの3次元モデル90の全体又は一部に汚れが表現された汚れ付着モデル95を作成する手段21と、作成した汚れ付着モデル95を表示する手段16と、を実現させる。
The following supplementary notes are further disclosed regarding this embodiment and the modified examples.
(Appendix 1)
The simulation device 1 comprises a memory unit 18 that stores a three-dimensional model 90 of the workpiece to be cleaned, a reception unit 15 that receives user operations for representing dirt on all or part of the three-dimensional model of the workpiece, a model creation unit 21 that creates a dirt adhesion model 95 in which dirt is represented on all or part of the three-dimensional model 90 of the workpiece based on the user operations, and a display unit 16 that displays the created dirt adhesion model 95.
(Appendix 2)
The dirt described in Appendix 1 is added to the three-dimensional model 90 of the workpiece as a dirt model 100 and is displayed superimposed on the three-dimensional model 90 of the workpiece.
(Appendix 3)
The dirt model 100 described in Appendix 2 has information regarding the degree of dirt, and the display mode of the dirt model 100 changes depending on the degree of dirt.
(Appendix 4)
The dirt model 100 described in Appendix 2 has information regarding the degree of dirt, and the dirt model 100 is displayed with the information regarding the degree added thereto.
(Appendix 5)
The dirt model 100 described in any one of Supplementary Notes 2 to 4 is represented in a spherical or cubic shape.
(Appendix 6)
The simulation device 1 described in Appendix 2 further includes an injection model moving unit 70 that moves the fluid injection model relative to the three-dimensional model 90 of the workpiece, and an injection amount calculation unit 30 that calculates the injection amount by the injection model 300 for each part of the three-dimensional model 90 of the workpiece, and the model creation unit 21 individually removes the dirt models 100 added to all or part of the three-dimensional model 90 of the workpiece based on the calculated injection amount.
(Appendix 7)
In the simulation device 1 described in Appendix 6, the spray model moving unit 70 moves the spray model 300 to position the dirt model 100 within the spray distribution of the spray model 300, and further includes a program creation unit 29 that creates a cleaning program based on the position of the spray model 300 after it has been moved.
(Appendix 8)
In the simulation device 1 described in Appendix 1, the surface color of the entire or part of the three-dimensional model 90 of the workpiece is changed from a first color to a second color to represent dirt.
(Appendix 9)
The second color described in Appendix 8 is changed depending on the degree of dirt.
(Appendix 10)
The simulation device 1 described in Appendix 8 or Appendix 9 further includes an injection model moving unit 70 that moves the fluid injection model relative to the three-dimensional model 90 of the workpiece, and an injection amount calculation unit 30 that calculates the injection amount by the injection model for each part of the three-dimensional model 90 of the workpiece, and based on the calculated injection amount, the surface color of the entire or part of the three-dimensional model 90 of the workpiece is approximated from the second color to the first color.
(Appendix 11)
The jet model moving unit 70 described in Appendix 10 moves the jet model 300 to position all or part of the three-dimensional model 90 of the workpiece represented in a second color within the jet distribution of the jet model 300, and further includes a program creation unit 29 that creates a cleaning program based on the position of the jet model 300 after it has been moved.
(Appendix 12)
The program causes a computer that stores a three-dimensional model 90 of a workpiece to be cleaned to implement the following: means 15 for accepting user operations for representing dirt on all or part of the three-dimensional model 90 of the workpiece; means 21 for creating a dirt adhesion model 95 in which dirt is represented on all or part of the three-dimensional model 90 of the workpiece based on the user operations; and means 16 for displaying the created dirt adhesion model 95.
 本開示の実施形態について詳述したが、本開示は上述した個々の実施形態に限定されるものではない。これらの実施形態は、発明の要旨を逸脱しない範囲で、または、特許請求の範囲に記載された内容とその均等物から導き出される本発明の思想および趣旨を逸脱しない範囲で、種々の追加、置き換え、変更、部分的削除等が可能である。例えば、上述した実施形態において、各動作の順序や各処理の順序は、一例として示したものであり、これらに限定されるものではない。また、上述した実施形態の説明に数値又は数式が用いられている場合も同様である。 Although the embodiments of the present disclosure have been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible to these embodiments without departing from the gist of the invention, or without departing from the idea and intent of the present invention derived from the contents described in the claims and their equivalents. For example, in the above-mentioned embodiments, the order of each operation and the order of each process are shown as examples, and are not limited to these. The same applies when numerical values or formulas are used in the explanation of the above-mentioned embodiments.
1…シミュレーション装置、2…プロセッサ、5…操作装置、6…表示装置、7…通信装置、8…記憶装置、15…入力部(受付部)、16…表示部、17…送受信部、18…記憶部、21…汚れ付着モデル作成部、22…画面作成部、23…仮想空間作成部、24…モデル配置部、25…汚れ表現方法設定部、26…動作条件設定部、27…噴射条件設定部、28…教示点登録部、29…プログラム作成部、30…シミュレーション実行部(噴射量計算部)、70…洗浄ロボットモデル(噴射モデル移動部)、80…洗浄ノズルモデル、90…洗浄対象モデル、95…汚れ付着モデル、100…汚れモデル、200…汚れ範囲、300…噴射モデル。 1...simulation device, 2...processor, 5...operation device, 6...display device, 7...communication device, 8...storage device, 15...input section (reception section), 16...display section, 17...transmission/reception section, 18...storage section, 21...dirt adhesion model creation section, 22...screen creation section, 23...virtual space creation section, 24...model placement section, 25...dirt representation method setting section, 26...operation condition setting section, 27...spray condition setting section, 28...teaching point registration section, 29...program creation section, 30...simulation execution section (spray amount calculation section), 70...cleaning robot model (spray model movement section), 80...cleaning nozzle model, 90...cleaning target model, 95...dirt adhesion model, 100...dirt model, 200...dirt range, 300...spray model.

Claims (12)

  1.  洗浄対象のワークの3次元モデルを記憶する記憶部と、
     前記ワークの3次元モデルの全体又は一部に汚れを表現させるためのユーザ操作を受け付ける受付部と、
     前記ユーザ操作に基づいて、前記ワークの3次元モデルの全体又は一部に汚れが表現された汚れ付着モデルを作成するモデル作成部と、
     前記作成した汚れ付着モデルを表示する表示部と、
     を具備するシミュレーション装置。
    A storage unit that stores a three-dimensional model of a workpiece to be cleaned;
    A reception unit that receives a user operation for expressing dirt on the whole or a part of the three-dimensional model of the workpiece;
    a model creation unit that creates a dirt adhesion model in which dirt is expressed on all or a part of the three-dimensional model of the work based on the user operation;
    A display unit for displaying the created dirt adhesion model;
    A simulation device comprising:
  2.  前記汚れは汚れモデルとして前記ワークの3次元モデルに付加され、前記ワークの3次元モデルに重ねて表示される、請求項1記載のシミュレーション装置。 The simulation device according to claim 1, in which the dirt is added to the three-dimensional model of the workpiece as a dirt model and displayed superimposed on the three-dimensional model of the workpiece.
  3.  前記汚れモデルは汚れの度合いに関する情報を有し、前記汚れモデルの表示態様は前記汚れの度合いに応じて変化される、請求項2記載のシミュレーション装置。 The simulation device according to claim 2, wherein the dirt model has information regarding the degree of dirt, and the display mode of the dirt model is changed according to the degree of dirt.
  4.  前記汚れモデルは汚れの度合いに関する情報を有し、前記汚れモデルに前記度合いに関する情報が付加されて表示される、請求項2記載のシミュレーション装置。 The simulation device according to claim 2, wherein the dirt model has information regarding the degree of dirt, and the dirt model is displayed with the information regarding the degree added to it.
  5.  前記汚れモデルは球状又は立方体形状で表される、請求項2乃至請求項4のうちいずれか一項に記載のシミュレーション装置。 The simulation device according to any one of claims 2 to 4, wherein the dirt model is represented in a spherical or cubic shape.
  6.  前記ワークの3次元モデルに対して流体の噴射モデルを移動する噴射モデル移動部と、
     前記ワークの3次元モデルの各部に対する前記噴射モデルによる噴射量を計算する噴射量計算部と、をさらに備え、
     前記モデル作成部は、前記計算された噴射量に基づいて、前記ワークの3次元モデルの全体または一部に付加された前記汚れモデルを個々に取り除く、請求項2乃至請求項5のうちいずれか一項に記載のシミュレーション装置。
    an ejection model moving unit that moves an ejection model of a fluid relative to the three-dimensional model of the workpiece;
    An injection amount calculation unit that calculates an injection amount by the injection model for each portion of the three-dimensional model of the workpiece,
    The simulation device according to claim 2 , wherein the model creation unit individually removes the dirt models added to all or part of the three-dimensional model of the workpiece based on the calculated injection amount.
  7.  前記噴射モデル移動部は、前記噴射モデルの噴射分布内に前記汚れモデルを配置するために前記噴射モデルを移動させ、
     前記移動された後の噴射モデルの位置に基づいて、洗浄プログラムを作成するプログラム作成部をさらに備える、請求項6記載のシミュレーション装置。
    the jet model moving unit moves the jet model to place the dirt model within a jet distribution of the jet model;
    The simulation device according to claim 6 , further comprising a program creation unit that creates a cleaning program based on the position of the jet model after the movement.
  8.  前記汚れとして前記ワークの3次元モデルの全体または一部の表面色が第1の色から第2の色に変更される、請求項1記載のシミュレーション装置。 The simulation device according to claim 1, wherein the stain changes the surface color of the entire or part of the three-dimensional model of the workpiece from a first color to a second color.
  9.  前記第2の色は前記汚れの度合いに応じて変更される、請求項8記載のシミュレーション装置。 The simulation device according to claim 8, wherein the second color is changed according to the degree of the dirt.
  10.  前記ワークの3次元モデルに対して流体の噴射モデルを移動する噴射モデル移動部と、
     前記ワークの3次元モデルの各部に対する前記噴射モデルによる噴射量を計算する噴射量計算部と、をさらに備え、
     前記計算された噴射量に基づいて、前記ワークの3次元モデルの全体または一部の表面色が前記第2の色から前記第1の色に近似される、請求項8又は9に記載のシミュレーション装置。
    an ejection model moving unit that moves an ejection model of a fluid relative to the three-dimensional model of the workpiece;
    and an injection amount calculation unit that calculates an injection amount by the injection model for each portion of the three-dimensional model of the workpiece,
    The simulation device according to claim 8 or 9, wherein a surface color of the entire or partial three-dimensional model of the workpiece is approximated from the second color to the first color based on the calculated injection amount.
  11.  前記噴射モデル移動部は、前記噴射モデルの噴射分布内に前記第2の色で表現された前記ワークの3次元モデルの全体又は一部を配置するために前記噴射モデルを移動させ、
     前記移動された後の噴射モデルの位置に基づいて、洗浄プログラムを作成するプログラム作成部をさらに備える、請求項10記載のシミュレーション装置。
    the jet model moving unit moves the jet model to place the whole or a part of the three-dimensional model of the workpiece expressed in the second color within the jet distribution of the jet model;
    The simulation device according to claim 10 , further comprising a program creation unit that creates a cleaning program based on the position of the jet model after the movement.
  12.  洗浄対象のワークの3次元モデルを記憶するコンピュータに、
     前記ワークの3次元モデルの全体又は一部に汚れを表現させるためのユーザ操作を受け付ける手段と、
     前記ユーザ操作に基づいて、前記ワークの3次元モデルの全体又は一部に汚れが表現された汚れ付着モデルを作成する手段と、
     前記作成した汚れ付着モデルを表示する手段と、
     を実現させるためのプログラム。
    A computer stores a three-dimensional model of a workpiece to be cleaned.
    A means for receiving a user operation for expressing dirt on the whole or a part of the three-dimensional model of the workpiece;
    A means for creating a dirt adhesion model in which dirt is expressed on the whole or part of the three-dimensional model of the work based on the user operation;
    A means for displaying the created dirt adhesion model;
    A program to achieve this.
PCT/JP2022/040200 2022-10-27 2022-10-27 Simulation device and program WO2024089846A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2022/040200 WO2024089846A1 (en) 2022-10-27 2022-10-27 Simulation device and program
TW112139907A TW202418023A (en) 2022-10-27 2023-10-19 Simulation device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/040200 WO2024089846A1 (en) 2022-10-27 2022-10-27 Simulation device and program

Publications (1)

Publication Number Publication Date
WO2024089846A1 true WO2024089846A1 (en) 2024-05-02

Family

ID=90830310

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/040200 WO2024089846A1 (en) 2022-10-27 2022-10-27 Simulation device and program

Country Status (2)

Country Link
TW (1) TW202418023A (en)
WO (1) WO2024089846A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017027348A (en) * 2015-07-22 2017-02-02 株式会社スギノマシン Control program generation method, cam system, control program, and recording medium
JP2018153872A (en) * 2017-03-15 2018-10-04 ファナック株式会社 Cleaning process optimization apparatus and machine learning apparatus
JP2019130608A (en) * 2018-01-31 2019-08-08 ファナック株式会社 Substance adhesion simulation device
CN110732531A (en) * 2019-12-05 2020-01-31 南京先进激光技术研究院 Offline programming method for robot laser cleaning equipment
JP2020177642A (en) * 2019-04-16 2020-10-29 株式会社スギノマシン Cleaning method and cleaning equipment
CN112452947A (en) * 2020-10-21 2021-03-09 厦门理工学院 Intelligent cleaning method
JP2021037456A (en) * 2019-09-02 2021-03-11 シブヤマシナリー株式会社 Washing device and operation setting method thereof
JP7083943B1 (en) * 2021-05-24 2022-06-13 Dmg森精機株式会社 Information processing equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017027348A (en) * 2015-07-22 2017-02-02 株式会社スギノマシン Control program generation method, cam system, control program, and recording medium
JP2018153872A (en) * 2017-03-15 2018-10-04 ファナック株式会社 Cleaning process optimization apparatus and machine learning apparatus
JP2019130608A (en) * 2018-01-31 2019-08-08 ファナック株式会社 Substance adhesion simulation device
JP2020177642A (en) * 2019-04-16 2020-10-29 株式会社スギノマシン Cleaning method and cleaning equipment
JP2021037456A (en) * 2019-09-02 2021-03-11 シブヤマシナリー株式会社 Washing device and operation setting method thereof
CN110732531A (en) * 2019-12-05 2020-01-31 南京先进激光技术研究院 Offline programming method for robot laser cleaning equipment
CN112452947A (en) * 2020-10-21 2021-03-09 厦门理工学院 Intelligent cleaning method
JP7083943B1 (en) * 2021-05-24 2022-06-13 Dmg森精機株式会社 Information processing equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KKECHANNEL: "Cleaning inside the tank (Particleworks)", YOUTUBE, XP093167510, Retrieved from the Internet <URL:https://www.youtube.com/watch?v=Tl3AUkQp1JI> *
KKECHANNEL: "Tank cleaning - Part 2. Tank cleaning (Particleworks)", YOUTUBE, XP093167505, Retrieved from the Internet <URL:https://www.youtube.com/watch?v=H8QQ0OXJ4LE> *

Also Published As

Publication number Publication date
TW202418023A (en) 2024-05-01

Similar Documents

Publication Publication Date Title
CN110238831B (en) Robot teaching system and method based on RGB-D image and teaching device
US20180231965A1 (en) Robot teaching device, and robot teaching method
JP6810093B2 (en) Robot simulation device
US11961417B2 (en) Systems and methods to provide weld training
US9311608B2 (en) Teaching system and teaching method
US9984178B2 (en) Robot simulator, robot teaching apparatus and robot teaching method
Mateo et al. Hammer: An Android based application for end-user industrial robot programming
KR101607742B1 (en) Teaching system and teaching method
JP6449534B2 (en) Teaching point program selection method for robot simulator
Pan et al. Augmented reality-based robot teleoperation system using RGB-D imaging and attitude teaching device
CN101043980B (en) A system and a method for programming an in dustrial robot
JP2004243516A (en) Method for fading-in information created by computer into image of real environment, and device for visualizing information created by computer to image of real environment
KR101876845B1 (en) Robot control apparatus
CN108687767B (en) Offline programming device and offline programming method
US10603788B2 (en) Robot simulation apparatus
JP2019171501A (en) Robot interference determination device, robot interference determination method and program
WO2024089846A1 (en) Simulation device and program
KR20100117931A (en) Method of generating sweeping work path for mobile robot
Chu et al. Experimental analysis of augmented reality interfaces for robot programming by demonstration in manufacturing
JP2006343975A (en) Robot instruction device
JP2019171499A (en) Robot interference determination device, robot interference determination method and program
CN114131599B (en) Robot programming control method and device, storage medium and demonstrator
US20220331958A1 (en) Multi-joint-robot linear-member-shape simulator, multi-joint-robot linear-member-shape simulation method, and multi-joint-robot linear-member-shape simulation program
CN117260776A (en) Man-machine interaction method and device applied to robot
US20240001542A1 (en) Motion learning system and method for programming at least one robotic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22963494

Country of ref document: EP

Kind code of ref document: A1