WO2022239233A1 - 撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体 - Google Patents

撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体 Download PDF

Info

Publication number
WO2022239233A1
WO2022239233A1 PCT/JP2021/018418 JP2021018418W WO2022239233A1 WO 2022239233 A1 WO2022239233 A1 WO 2022239233A1 JP 2021018418 W JP2021018418 W JP 2021018418W WO 2022239233 A1 WO2022239233 A1 WO 2022239233A1
Authority
WO
WIPO (PCT)
Prior art keywords
imaging environment
determination result
imaging
unit
trigger
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2021/018418
Other languages
English (en)
French (fr)
Inventor
祐樹 杉田
誠彰 相澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to US18/556,674 priority Critical patent/US20240241497A1/en
Priority to DE112021007174.2T priority patent/DE112021007174T5/de
Priority to PCT/JP2021/018418 priority patent/WO2022239233A1/ja
Priority to CN202180097754.1A priority patent/CN117242409A/zh
Priority to JP2023520720A priority patent/JP7654784B2/ja
Publication of WO2022239233A1 publication Critical patent/WO2022239233A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/402Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by control arrangements for positioning, e.g. centring a tool relative to a hole in the workpiece, additional detection means to correct position
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by monitoring or safety
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data

Definitions

  • the present disclosure relates to an imaging environment adjustment device and a computer-readable storage medium.
  • Patent Document 1 an imaging device that images the inside of a processing machine.
  • the imaging device captures an image of a part or the whole of the processing machine at a preset magnification from a preset direction.
  • the imaging device images the processing machine
  • the imaging environment is not necessarily suitable for imaging.
  • the object to be imaged is a tool
  • the tool may be blocked by coolant or the like, and the imaging device may not be able to image the tool.
  • An object of the present disclosure is to provide an imaging environment adjustment device and a computer-readable storage medium that can adjust the imaging environment to a state suitable for imaging when imaging a processing machine.
  • the imaging environment adjustment device includes a trigger detection unit that detects at least one type of trigger, a setting table that stores at least one environmental setting item that defines the imaging environment in the processing machine, and a control state indicated by the at least one environmental setting item.
  • a determination result acquisition unit that acquires a determination result as to whether or not to adjust the imaging environment so that the trigger detection unit detects at least one type of trigger, and the determination result acquired by the determination result acquisition unit is imaged and an imaging environment adjusting unit that adjusts the imaging environment so that the imaging environment is in a control state indicated by at least one environmental setting item when adjusting the environment is indicated.
  • a computer-readable storage medium determines whether or not to detect at least one type of trigger and adjust the imaging environment so as to achieve a control state indicated by at least one configuration item that defines the imaging environment in the processing machine. Acquiring a determination result, and if at least one type of trigger is detected and the acquired determination result indicates that the imaging environment is to be adjusted, imaging is performed so as to be in a control state indicated by at least one configuration item. and storing instructions that cause the computer to perform adjusting the environment.
  • the imaging environment it is possible to adjust the imaging environment to a state suitable for imaging when imaging the processing machine.
  • FIG. 2 is a block diagram showing an example of functions of the imaging environment adjustment device;
  • FIG. It is a figure which shows an example of a setting table.
  • 4 is a flowchart showing an example of processing executed in the imaging environment adjustment device;
  • 2 is a block diagram showing an example of functions of the imaging environment adjustment device;
  • FIG. 10 is a diagram showing an example of a reception image displayed on the display screen;
  • FIG. 1 is a diagram showing an example of the hardware configuration of a processing machine.
  • the processing machine 1 is, for example, a machine tool, a wire electric discharge machine, or an injection molding machine.
  • Machine tools include lathes, machining centers and multi-task machines.
  • the processing machine 1 includes a numerical control device 2, an input/output device 3, a servo amplifier 4 and a servo motor 5, a spindle amplifier 6 and a spindle motor 7, an auxiliary device 8, and an imaging device 9.
  • the numerical control device 2 has the function of the imaging environment adjustment device of the present disclosure.
  • the imaging environment adjustment device is implemented in the numerical control device 2 .
  • An embodiment in which the imaging environment adjustment device is implemented in the numerical control device 2 will be described below.
  • the imaging environment adjustment device may be implemented in a PC (Personal Computer) or a server.
  • the numerical controller 2 is a device that controls the processing machine 1 as a whole.
  • the numerical controller 2 includes a CPU (Central Processing Unit) 201 , a bus 202 , a ROM (Read Only Memory) 203 , a RAM (Random Access Memory) 204 and a nonvolatile memory 205 .
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • the CPU 201 is a processor that controls the entire numerical controller 2 according to the system program.
  • the CPU 201 reads a system program or the like stored in the ROM 203 via the bus 202 and performs various processes based on the system program. Also, the CPU 201 controls the servo motor 5 and the spindle motor 7 based on the machining program.
  • the CPU 201 analyzes the machining program and outputs control commands to the servo motor 5 and the spindle motor 7 for each control cycle.
  • a bus 202 is a communication path that connects each piece of hardware in the numerical controller 2 to each other. Each piece of hardware within the numerical controller 2 exchanges data via the bus 202 .
  • the ROM 203 is a storage device that stores system programs and the like for controlling the numerical controller 2 as a whole.
  • a ROM 203 is a computer-readable storage medium.
  • the RAM 204 is a storage device that temporarily stores various data.
  • a RAM 204 functions as a work area for the CPU 201 to process various data.
  • the non-volatile memory 205 is a storage device that retains data even when the processing machine 1 is turned off and power is not supplied to the numerical controller 2 .
  • the nonvolatile memory 205 stores, for example, machining programs and various parameters input from the input/output device 3 .
  • Non-volatile memory 205 is a computer-readable storage medium.
  • the nonvolatile memory 205 is composed of, for example, an SSD (Solid State Drive).
  • the numerical controller 2 further comprises an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 and an I/O unit 210 .
  • an interface 206 an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 and an I/O unit 210 .
  • the interface 206 connects the bus 202 and the input/output device 3 .
  • the interface 206 sends various data processed by the CPU 201 to the input/output device 3, for example.
  • the input/output device 3 is a device that receives various data via the interface 206 and displays various data.
  • the input/output device 3 also accepts input of various data and sends the various data to the CPU 201 via the interface 206 .
  • the input/output device 3 includes a display such as an LCD (Liquid Crystal Display), a keyboard, a mouse, and the like.
  • the input/output device 3 may be a touch panel.
  • the axis control circuit 207 is a circuit that controls the servo motor 5 .
  • the axis control circuit 207 receives a control command from the CPU 201 and outputs a command for driving the servo motor 5 to the servo amplifier 4 .
  • the axis control circuit 207 sends a torque command for controlling the torque of the servo motor 5 to the servo amplifier 4, for example.
  • the servo amplifier 4 receives a command from the axis control circuit 207 and supplies current to the servo motor 5 .
  • the servo amplifier 4 incorporates an ammeter 41 for measuring the current value of the current supplied to the servo motor 5 .
  • the ammeter 41 detects the current value of the current supplied to the servo motor 5 .
  • the ammeter 41 sends data indicating the detected current value to the CPU 201 .
  • the servo motor 5 is driven by being supplied with current from the servo amplifier 4 .
  • the servomotor 5 is connected to, for example, a ball screw that drives the tool post.
  • the structure of the processing machine 1 such as the tool post moves, for example, in the X-axis direction, the Y-axis direction, or the Z-axis direction.
  • the servomotor 5 may incorporate a speed detector (not shown) for detecting the feed speed of each control axis.
  • the ammeter 61 detects the current value of the current supplied to the spindle motor 7 .
  • the ammeter 61 sends data indicating the detected current value to the CPU 201 .
  • the PLC 209 is a device that executes the ladder program and controls the auxiliary equipment 8. PLC 209 sends commands to auxiliary equipment 8 via I/O unit 210 .
  • the I/O unit 210 is an interface that connects the PLC 209 and the auxiliary device 8.
  • the I/O unit 210 sends commands received from the PLC 209 to the auxiliary equipment 8 .
  • the auxiliary device 8 is a device that is installed in the processing machine 1 and performs auxiliary operations in the processing machine 1.
  • the auxiliary device 8 may be a device installed around the processing machine 1 rather than a device installed in the processing machine 1 .
  • the auxiliary equipment 8 operates based on commands received from the I/O unit 210 .
  • the auxiliary device 8 is, for example, a tool changer, a cutting fluid injection device, or an opening/closing door drive.
  • the imaging device 9 is a device that captures an image of the whole or part of the processing machine 1 .
  • the imaging device 9 is a camera that captures moving images and still images.
  • the imaging device 9 starts imaging a moving image, for example, at the timing when execution of the processing program is started.
  • the imaging device 9 images the processing area in the processing machine 1, for example.
  • the image acquired by the imaging device 9 is stored in the non-volatile memory 205 via the bus 202, for example. Also, the imaging device 9 acquires time information together with the image.
  • the time information is, for example, the time when imaging is being performed and the elapsed time from the start of imaging.
  • FIG. 2 is a block diagram showing an example of the functions of the imaging environment adjustment device.
  • the imaging environment adjustment device 20 includes a trigger detection unit 211, a setting table 212, an operating state acquisition unit 213, a determination unit 214, a determination result acquisition unit 215, an imaging environment adjustment unit 216, and an image acquisition unit 217. Prepare.
  • the trigger detection unit 211, the operating state acquisition unit 213, the determination unit 214, the determination result acquisition unit 215, the imaging environment adjustment unit 216, and the image acquisition unit 217 for example, the CPU 201 executes system programs stored in the ROM 203 and non-volatile It is realized by arithmetic processing using various data stored in the memory 205 .
  • the setting table 212 is implemented, for example, by storing the data and parameters input from the input/output device 3 in the RAM 204 or the nonvolatile memory 205 .
  • the trigger detection unit 211 detects at least one type of trigger.
  • a trigger is a signal or command that causes the imaging environment adjustment device 20 to adjust the imaging environment.
  • the trigger may be a signal or command that causes the image acquisition unit 217 to acquire an image.
  • the signal or command that triggers the adjustment of the imaging environment is, for example, a signal output by pressing an imaging button (not shown), a signal indicating that a tool breakage alarm has occurred, or that a work loader alarm has occurred. is a signal indicating When the trigger detection unit 211 detects the trigger, the imaging environment is adjusted and the image of the processing machine 1 is acquired.
  • the setting table 212 stores at least one environmental setting item that defines the imaging environment in the processing machine 1.
  • the imaging environment is the control state of the processing machine 1 that affects the image acquired by the image acquisition unit 217 . That is, the imaging environment is formed by controlling the processing machine 1 to the control state stored as the environment setting item.
  • the at least one type of trigger may include multiple types of triggers, and the setting table 212 may store at least one environment setting item in association with each of the multiple types of triggers.
  • Imaging button is stored in association with “coolant stop”, “spindle rotation stop”, and “loader movement” as environment setting items.
  • Tool breakage alarm is stored in association with “Move spindle in front of imaging device” and “Turn on internal light” as environment setting items.
  • Work loader alarm is stored in association with “Move loader in front of imaging device” and “Turn on interior light” as environmental setting items.
  • the operation state acquisition unit 213 acquires operation information indicating the operation state of the processing machine 1 stored in association with at least one environment setting item when the trigger detection unit 211 detects at least one type of trigger.
  • the "loader position" is stored as operation information in association with the environment setting item when a tool breakage alarm is detected as a trigger. Therefore, when the tool breakage alarm is detected as a trigger, the operating state acquisition unit 213 acquires information indicating the position of the loader.
  • the environment setting item when a work loader alarm is detected as a trigger is associated with the "spindle position" and stored. Therefore, when the work loader alarm is detected as a trigger, the operating state acquisition unit 213 acquires information indicating the position of the spindle.
  • the determination unit 214 determines whether or not to adjust the imaging environment so as to achieve the control state indicated by at least one configuration item. The determination unit 214 determines whether to adjust the imaging environment based on the motion information acquired by the motion state acquisition unit 213 . The determination unit 214 stores the determination result in a predetermined storage area (not shown).
  • the trigger detection unit 211 may detect that the imaging button has been pressed, and the operation state acquisition unit 213 may acquire information indicating that the workpiece is not being processed as operation information. In this case, even if the discharge of coolant is stopped and the rotation of the main shaft is stopped, no problem occurs. Therefore, when the imaging button is pressed while the workpiece is not being processed, the determination unit 214 determines to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines to stop the coolant and stop the rotation of the main shaft.
  • the trigger detection unit 211 may detect that the image capturing button has been pressed, and the operation state acquisition unit 213 may acquire information indicating that the loader is not in use as operation information. In this case, no problem occurs even if the loader is moved to the retracted position. Therefore, when the imaging button is pressed while the loader is not in use, the determination unit 214 determines to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines to move the loader to the retracted position.
  • the trigger detection unit 211 may detect that the imaging button has been pressed, and the operation state acquisition unit 213 may acquire information indicating that the workpiece is being processed as operation information. In this case, if the discharge of coolant is stopped, the temperature of the tool may rise and the tool life may be shortened. Therefore, when the imaging button is pressed during processing of the workpiece, the determination unit 214 determines not to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines not to stop the coolant.
  • the trigger detection unit 211 may detect that the imaging button has been pressed, and the operation state acquisition unit 213 may acquire information indicating that the workpiece is being processed as operation information.
  • the determination unit 214 determines not to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines not to stop the rotation of the main shaft.
  • the trigger detection unit 211 may detect that the image capture button has been pressed, and the operation state acquisition unit 213 may acquire information indicating that the loader is in use as operation information. In this case, if the loader is moved to the retracted position, there is a possibility that the workpiece cannot be transferred between the loader and the work table. Alternatively, there is a possibility that the transfer of the work will fail. Therefore, when the imaging button is pressed while the loader is in use, the determination unit 214 determines not to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines not to move the loader.
  • the trigger detection unit 211 detects that the image capture button has been pressed, and the operation state acquisition unit 213 obtains information indicating that the loader is not in use and that the loader is at a position where it appears in the image as operation information. may be obtained.
  • the loader may block the field of view of the imaging device 9 and the tool to be imaged may not appear in the image. Therefore, if the image capturing button is pressed while the loader is not in use and the loader is in the image, the determining unit 214 sets the image capturing environment to the control state set in the environment setting item. decide to adjust. That is, the determination unit 214 determines to move the loader to the retracted position.
  • the trigger detection unit 211 may detect a tool breakage alarm, and the operation state acquisition unit 213 may acquire information indicating that the loader is at the retracted position as operation information. In this case, even if the main shaft is moved to the vicinity of the imaging device 9, the main shaft does not collide with the loader. Therefore, when the tool breakage alarm is detected when the loader is at the retracted position, the determination unit 214 determines to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines to move the main shaft in front of the imaging device 9 . Note that when the trigger detection unit 211 detects the tool breakage alarm, the determination unit 214 determines to turn on the in-machine light.
  • the trigger detection unit 211 may detect a work loader alarm, and the operation state acquisition unit 213 may acquire information indicating that the spindle is at the retracted position as operation information. In this case, even if the loader is moved to the vicinity of the imaging device 9, the loader and the spindle do not collide. Therefore, when the work loader alarm is detected when the spindle is at the retracted position, the determination unit 214 determines to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines to move the loader in front of the imaging device 9 . Note that when the trigger detection unit 211 detects a work loader alarm, the determination unit 214 determines that the interior light should be turned on.
  • the trigger detection unit 211 may detect a work loader alarm, and the operation state acquisition unit 213 may acquire information indicating that the spindle is not at the retracted position as operation information.
  • the determination unit 214 determines not to adjust the imaging environment so as to achieve the control state stored in the environment setting item. That is, the determination unit 214 determines not to move the loader in front of the imaging device 9 . Note that even in this case, the determination unit 214 determines that the in-flight lights should be turned on.
  • the determination result acquisition unit 215 acquires a determination result as to whether or not to adjust the imaging environment so as to achieve the control state indicated by at least one environment setting item. That is, the determination result acquisition unit 215 acquires the determination result determined by the determination unit 214 . The determination result acquisition unit 215 acquires the determination result by reading the determination result stored in the predetermined storage area.
  • the imaging environment adjustment unit 216 selects at least one environment setting item.
  • the imaging environment is adjusted so that the control state indicated by .
  • the imaging environment adjustment unit 216 adjusts the imaging environment based on the determination result acquired by the determination result acquisition unit 215 . Note that the imaging environment adjusting unit 216 does not adjust the imaging environment when the determination result acquired by the determination result acquiring unit 215 indicates that the imaging environment should not be adjusted. Further, if the determination result indicates that the imaging environment is to be adjusted by changing only part of the control states set in the environment setting items, the imaging environment adjustment unit 216 changes the part of the control states. Adjust the imaging environment by changing.
  • the image acquisition unit 217 acquires an image in the imaging environment adjusted by the imaging environment adjustment unit 216.
  • the imaging environment adjustment unit 216 does not adjust the imaging environment
  • the image acquisition unit 217 acquires an image in an unadjusted imaging environment.
  • the image acquisition unit 217 acquires an image captured by the imaging device 9 .
  • the image acquisition unit 217 outputs an imaging start command to the imaging device 9 and acquires at least one of a moving image and a still image captured by the imaging device 9 .
  • the image acquired by the image acquisition unit 217 may be stored in an image storage unit (not shown). Also, the image acquired by the image acquisition unit 217 may be displayed on the display screen of the input/output device 3 by a display unit (not shown), for example.
  • FIG. 4 is a flowchart showing an example of processing executed in the imaging environment adjustment device 20.
  • FIG. 4 is a flowchart showing an example of processing executed in the imaging environment adjustment device 20.
  • the trigger detection unit 211 detects a trigger for adjusting the imaging environment (step S1).
  • the determination unit 214 determines whether or not to adjust the imaging environment so as to achieve the control state set in the environment setting item based on the information indicating the operation state acquired by the operation state acquisition unit 213. (Step S3).
  • the determination result acquisition unit 215 acquires the determination result as to whether or not the imaging environment should be adjusted, determined by the determination unit 214 (step S4).
  • the imaging environment adjustment unit 216 adjusts the imaging environment (step S6).
  • the image acquisition unit 217 acquires an image under the imaging environment adjusted by the imaging environment adjustment unit 216 (step S7), and the process ends.
  • step S5 the image acquisition unit 217 acquires an image under the imaging environment that has not been adjusted (step S7), and the process ends. .
  • the image acquisition unit 217 acquires the image captured by the imaging device 9, but the imaging environment adjustment device 20 does not necessarily have the image acquisition unit 217.
  • the imaging environment adjustment device 20 may end the process after adjusting the imaging environment. In this case, after the imaging environment is adjusted, the operator may take an image of the inside of the processing machine 1 with a camera.
  • the imaging environment adjustment device 20 includes the trigger detection unit 211 that detects at least one type of trigger, the setting table 212 that stores at least one environment setting item that defines the imaging environment in the processing machine 1, A determination result acquisition unit 215 that acquires a determination result as to whether or not to adjust the imaging environment so as to achieve a control state indicated by at least one configuration item, and a trigger detection unit 211 detect at least one type of trigger, and and an imaging environment adjustment unit 216 that adjusts the imaging environment so that the control state indicated by at least one environment setting item is achieved when the determination result acquired by the determination result acquisition unit 215 indicates that the imaging environment should be adjusted. .
  • the imaging environment adjustment device 20 can adjust the imaging environment to a state suitable for imaging when imaging the processing machine 1 . As a result, the imaging target can be reliably imaged.
  • the at least one type of trigger includes multiple types of triggers
  • the setting table 212 stores at least one environment setting item in association with each of the multiple types of triggers. Therefore, the imaging environment adjustment device 20 can adjust the imaging environment so as to correspond to each of the plurality of triggers.
  • an operating state acquiring unit 213 for acquiring operating information indicating the operating state of the processing machine 1 stored in association with at least one configuration item when the trigger detecting unit 211 detects at least one type of trigger.
  • the determination result acquisition unit 215 acquires the determination result determined based on the motion information. Therefore, the determination unit 214 can determine whether or not to adjust the imaging environment according to the operating state of the processing machine 1 .
  • the imaging environment adjustment unit 216 moves the spindle or loader to the retracted position.
  • the imaging environment adjustment unit 216 may move not only the spindle or the loader, but also the table and the robot to the retracted position. For example, if the object to be imaged is a workpiece, the spindle, robot, and loader may be moved to their retracted positions.
  • the determination unit 214 determines whether or not to adjust the imaging environment so as to achieve the control state indicated by at least one environment setting item.
  • a person such as an operator may determine whether or not to adjust the imaging environment so as to achieve the control state indicated by at least one environment setting item.
  • FIGS. 5 and 6 An example in which a person determines whether or not to adjust the imaging environment will be described with reference to FIGS. 5 and 6.
  • FIG. 5 is a block diagram showing an example of the functions of the imaging environment adjustment device 20.
  • the imaging environment adjustment device 20 shown in FIG. 5 includes a reception unit 218 instead of the determination unit 214 shown in FIG.
  • Functions other than the reception unit 218 are the same as the functions of the units included in the imaging environment adjustment device 20 in FIG.
  • the reception unit 218 receives input of determination results indicating whether or not to adjust the imaging environment so as to achieve the control state indicated by at least one configuration item. For example, the receiving unit 218 causes the display screen of the input/output device 3 to display a receiving image for receiving the input of the determination result.
  • FIG. 6 is a diagram showing an example of the reception image displayed on the display screen.
  • the reception unit 218 displays on the display screen a reception image for inputting whether or not to adjust the imaging environment so as to achieve the control state indicated by these environment setting items. For example, when the received image is displayed on the display screen by pressing the imaging button, the operator determines whether or not to adjust the imaging environment so as to achieve the control state indicated by each environmental setting item, and determines whether or not to adjust the imaging environment. through the reception image. Thereby, the receiving unit 218 receives the determination result.
  • the determination result acquisition unit 215 acquires the determination result from the reception unit 218. This allows the operator to decide which of the environmental setting items to change.
  • Processing Machine 2 Numerical Control Device 20 Imaging Environment Adjusting Device 201 CPU 202 bus 203 ROM 204 RAMs 205 non-volatile memory 206 interface 207 axis control circuit 208 spindle control circuit 209 PLC 210 I/O unit 211 trigger detection unit 212 setting table 213 operating state acquisition unit 214 determination unit 215 determination result acquisition unit 216 imaging environment adjustment unit 217 image acquisition unit 218 reception unit 3 input/output device 4 servo amplifier 41 ammeter 5 servo motor 6 spindle amplifier 61 ammeter 7 spindle motor 8 auxiliary device 9 imaging device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Machine Tool Sensing Apparatuses (AREA)

Abstract

撮像環境調整装置が、少なくとも1種類のトリガを検知するトリガ検知部と、加工機における撮像環境を規定する少なくとも1つの環境設定項目を記憶する設定テーブルと、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かの判断結果を取得する判断結果取得部と、トリガ検知部が少なくとも1種類のトリガを検知し、かつ、判断結果取得部が取得した判断結果が撮像環境を調整することを示す場合、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整する撮像環境調整部と、を備える。

Description

撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体
 本開示は、撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体に関する。
 従来、加工機の内部を撮像する撮像装置が知られている(特許文献1)。撮像装置は、あらかじめ設定された方向からあらかじめ設定された倍率で加工機の一部または全体を撮像する。
特開2020-78833号公報
 しかし、撮像装置が加工機の撮像を行うときに、必ずしも撮像環境が撮像に適しているとは限らない。例えば、撮像対象が工具であっても、工具がクーラントなどに遮られて、撮像装置が工具を撮像できない場合がある。
 本開示は、加工機の撮像を行う際に、撮像環境を撮像に適した状態に調整することが可能な撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体を提供することを目的とする。
 撮像環境調整装置が、少なくとも1種類のトリガを検知するトリガ検知部と、加工機における撮像環境を規定する少なくとも1つの環境設定項目を記憶する設定テーブルと、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かの判断結果を取得する判断結果取得部と、トリガ検知部が少なくとも1種類のトリガを検知し、かつ、判断結果取得部が取得した判断結果が撮像環境を調整することを示す場合、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整する撮像環境調整部と、を備える。
 コンピュータ読み取り可能な記憶媒体が、少なくとも1種類のトリガを検知することと、加工機における撮像環境を規定する少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かの判断結果を取得することと、少なくとも1種類のトリガが検知され、かつ、取得された判断結果が撮像環境を調整することを示す場合、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整することと、をコンピュータに実行させる命令を記憶する。
 本開示の一態様により、加工機の撮像を行う際に、撮像環境を撮像に適した状態に調整することが可能になる。
加工機のハードウェア構成の一例を示す図である。 撮像環境調整装置の機能の一例を示すブロック図である。 設定テーブルの一例を示す図である。 撮像環境調整装置において実行される処理の一例を示すフローチャートである。 撮像環境調整装置の機能の一例を示すブロック図である。 表示画面に表示される受付画像の一例を示す図である。
 以下、本開示の一実施形態について図面を用いて説明する。なお、以下の実施形態で説明する特徴のすべての組み合わせが課題解決に必ずしも必要であるとは限らない。また、必要以上の詳細な説明を省略する場合がある。また、以下の実施形態の説明、および図面は、当業者が本開示を十分に理解するために提供されるものであり、特許請求の範囲を限定することを意図していない。
 図1は、加工機のハードウェア構成の一例を示す図である。加工機1は、例えば、工作機械、ワイヤ放電加工機、射出成形機である。工作機械には、旋盤、マシニングセンタおよび複合加工機が含まれる。
 加工機1は、数値制御装置2と、入出力装置3と、サーボアンプ4およびサーボモータ5と、スピンドルアンプ6およびスピンドルモータ7と、補助機器8と、撮像装置9とを備える。
 数値制御装置2は、本開示の撮像環境調整装置の機能を備える。つまり、撮像環境調整装置は、数値制御装置2に実装されている。以下では、撮像環境調整装置が数値制御装置2に実装されている実施形態について説明する。ただし、撮像環境調整装置は、PC(Personal Computer)、サーバに実装されてもよい。
 数値制御装置2は、加工機1全体を制御する装置である。数値制御装置2は、CPU(Central Processing Unit)201と、バス202と、ROM(Read Only Memory)203と、RAM(Random Access Memory)204と、不揮発性メモリ205とを備えている。
 CPU201は、システムプログラムに従って数値制御装置2全体を制御するプロセッサである。CPU201は、バス202を介してROM203に格納されたシステムプログラムなどを読み出し、システムプログラムに基づいて、各種処理を行う。また、CPU201は、加工プログラムに基づいて、サーボモータ5およびスピンドルモータ7を制御する。
 CPU201は、制御周期ごとに、例えば、加工プログラムの解析、ならびに、サーボモータ5、およびスピンドルモータ7に対する制御指令の出力を行う。
 バス202は、数値制御装置2内の各ハードウェアを互いに接続する通信路である。数値制御装置2内の各ハードウェアはバス202を介してデータをやり取りする。
 ROM203は、数値制御装置2全体を制御するためのシステムプログラムなどを記憶する記憶装置である。ROM203は、コンピュータ読み取り可能な記憶媒体である。
 RAM204は、各種データを一時的に格納する記憶装置である。RAM204は、CPU201が各種データを処理するための作業領域として機能する。
 不揮発性メモリ205は、加工機1の電源が切られ、数値制御装置2に電力が供給されていない状態でもデータを保持する記憶装置である。不揮発性メモリ205は、例えば、加工プログラム、および入出力装置3から入力される各種パラメータを記憶する。不揮発性メモリ205は、コンピュータ読み取り可能な記憶媒体である。不揮発性メモリ205は、例えば、SSD(Solid State Drive)で構成される。
 数値制御装置2は、さらに、インタフェース206と、軸制御回路207と、スピンドル制御回路208と、PLC(Programmable Logic Controller)209と、I/Oユニット210とを備えている。
 インタフェース206は、バス202と入出力装置3とを接続する。インタフェース206は、例えば、CPU201が処理した各種データを入出力装置3に送る。
 入出力装置3は、インタフェース206を介して各種データを受け、各種データを表示する装置である。また、入出力装置3は、各種データの入力を受け付けてインタフェース206を介して各種データをCPU201に送る。入出力装置3は、LCD(Liquid Crystal Display)などのディスプレイ、キーボード、およびマウスなどを含む。入出力装置3は、タッチパネルであってもよい。
 軸制御回路207は、サーボモータ5を制御する回路である。軸制御回路207は、CPU201からの制御指令を受けてサーボモータ5を駆動させるための指令をサーボアンプ4に出力する。軸制御回路207は、例えば、サーボモータ5のトルクを制御するトルクコマンドをサーボアンプ4に送る。
 サーボアンプ4は、軸制御回路207からの指令を受けて、サーボモータ5に電流を供給する。サーボアンプ4はサーボモータ5に供給される電流の電流値を測定する電流計41を内蔵している。
 電流計41は、サーボモータ5に供給される電流の電流値を検出する。電流計41は、検出した電流値を示すデータをCPU201に送る。
 サーボモータ5は、サーボアンプ4から電流の供給を受けて駆動する。サーボモータ5は、例えば、刃物台を駆動させるボールねじに連結される。サーボモータ5が駆動することにより、刃物台などの加工機1の構造物は、例えば、X軸方向、Y軸方向、またはZ軸方向に移動する。なお、サーボモータ5は、各制御軸の送り速度を検出する速度検出器(不図示)を内蔵していてもよい。
 スピンドル制御回路208は、スピンドルモータ7を制御するための回路である。スピンドル制御回路208は、CPU201からの制御指令を受けてスピンドルモータ7を駆動させるための指令をスピンドルアンプ6に出力する。スピンドル制御回路208は、例えば、スピンドルモータ7のトルクを制御するトルクコマンドをスピンドルアンプ6に送る。
 スピンドルアンプ6は、スピンドル制御回路208からの指令を受けて、スピンドルモータ7に電流を供給する。スピンドルアンプ6はスピンドルモータ7に供給される電流の電流値を測定する電流計61を内蔵している。
 電流計61は、スピンドルモータ7に供給される電流の電流値を検出する。電流計61は、検出した電流値を示すデータをCPU201に送る。
 スピンドルモータ7は、スピンドルアンプ6から電流の供給を受けて駆動する。スピンドルモータ7は、主軸に連結され、主軸を回転させる。
 PLC209は、ラダープログラムを実行して補助機器8を制御する装置である。PLC209は、I/Oユニット210を介して補助機器8に対して指令を送る。
 I/Oユニット210は、PLC209と補助機器8とを接続するインタフェースである。I/Oユニット210は、PLC209から受けた指令を補助機器8に送る。
 補助機器8は、加工機1に設置され、加工機1において補助的な動作を行う機器である。補助機器8は、加工機1に設置される機器ではなく、加工機1の周辺に設置される機器であってもよい。補助機器8は、I/Oユニット210から受けた指令に基づいて動作する。補助機器8は、例えば、工具交換装置、切削液噴射装置、または開閉ドア駆動装置である。
 撮像装置9は、加工機1の全体、または一部を撮像する装置である。撮像装置9は、動画、および静止画を撮像するカメラである。撮像装置9は、例えば、加工プログラムの実行が開始されたタイミングで動画の撮像を開始する。撮像装置9は、例えば、加工機1における加工領域を撮像する。
 撮像装置9によって取得された画像は、例えば、バス202を介して不揮発性メモリ205に記憶される。また、撮像装置9は、画像とともに時間情報を取得する。時間情報は、例えば、撮像が行われている時刻、撮像開始からの経過時間である。
 次に、数値制御装置2に実装された撮像環境調整装置の機能の一例について説明する。
 図2は、撮像環境調整装置の機能の一例を示すブロック図である。撮像環境調整装置20は、トリガ検知部211と、設定テーブル212と、動作状態取得部213と、判断部214と、判断結果取得部215と、撮像環境調整部216と、画像取得部217とを備える。
 トリガ検知部211、動作状態取得部213、判断部214、判断結果取得部215、撮像環境調整部216、および画像取得部217は、例えば、CPU201が、ROM203に記憶されているシステムプログラムならびに不揮発性メモリ205に記憶されている各種データを用いて演算処理することにより実現される。
 設定テーブル212は、例えば、入出力装置3から入力されたデータ、およびパラメータが、RAM204、または不揮発性メモリ205に記憶されることにより実現される。
 トリガ検知部211は、少なくとも1種類のトリガを検知する。トリガとは、撮像環境調整装置20が、撮像環境を調整する契機となる信号または指令である。また、トリガは、画像取得部217が画像を取得する契機となる信号または指令であってもよい。
 撮像環境を調整する契機となる信号または指令は、例えば、撮像ボタン(不図示)が押下されることによって出力される信号、工具折損アラームが発生したことを示す信号、ワークローダアラームが発生したことを示す信号である。トリガ検知部211がトリガを検知することによって、撮像環境が調整され、加工機1の画像が取得される。
 設定テーブル212は、加工機1における撮像環境を規定する少なくとも1つの環境設定項目を記憶する。撮像環境とは、画像取得部217によって取得される画像に影響を与える加工機1の制御状態である。つまり、環境設定項目として記憶された制御状態に加工機1を制御することにより、撮像環境が形成される。なお、少なくとも1種類のトリガは、複数種類のトリガを含み、設定テーブル212が、複数種類のトリガのそれぞれに関連付けて少なくとも1つの環境設定項目を記憶するようにしてもよい。
 図3は、設定テーブル212の一例を示す図である。設定テーブル212は、複数種類のトリガのそれぞれに関連付けて、環境設定項目を記憶する。
 「撮像ボタン」には、環境設定項目として「クーラント停止」、「主軸回転停止」および「ローダ移動」が関連付けて記憶される。「工具折損アラーム」には、環境設定項目として、「主軸を撮像装置の前に移動」および「機内灯を点灯」が関連付けて記憶される。「ワークローダアラーム」には、環境設定項目として、「ローダを撮像装置の前に移動」および「機内灯点灯」が関連付けて記憶される。
 動作状態取得部213は、トリガ検知部211が少なくとも1種類のトリガを検知したときの、少なくとも1つの環境設定項目に対応付けて記憶された加工機1の動作状態を示す動作情報を取得する。
 図3に示すように、トリガとして撮像ボタンの押下が検知されたときの環境設定項目に関連付けて、「加工中」、「ローダ使用中」および「ローダの位置」が動作情報として記憶されている。したがって、動作状態取得部213は、トリガとして撮像ボタンの押下が検知された場合、加工機1においてワークの加工中であるか否かを示す情報、ローダが使用中であるか否かを示す情報、およびローダの位置を示す情報を取得する。
 また、トリガとして工具折損アラームが検知されたときの環境設定項目に関連付けて、「ローダの位置」が動作情報として記憶されている。したがって、動作状態取得部213は、トリガとして工具折損アラームが検知された場合、ローダの位置を示す情報を取得する。
 また、トリガとしてワークローダアラームが検知されたときの環境設定項目には、「主軸の位置」が対応付けて記憶されている。したがって、動作状態取得部213は、トリガとしてワークローダアラームが検知された場合、主軸の位置を示す情報を取得する。
 判断部214は、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かを判断する。判断部214は、動作状態取得部213によって取得された動作情報に基づいて、撮像環境を調整するか否かを判断する。判断部214は、判断結果を所定の記憶領域(不図示)に記憶させる。
 例えば、トリガ検知部211によって撮像ボタンが押下されたことが検知され、動作状態取得部213が動作情報として、ワークが加工中ではないことを示す情報を取得する場合がある。この場合、クーラントの吐出が停止され、主軸の回転が停止されても不具合は生じない。したがって、ワークが加工中ではないときに撮像ボタンが押下された場合、判断部214は、環境設定項目に記憶された制御状態となるように撮像環境を調整すると判断する。つまり、判断部214は、クーラントを停止させ、主軸の回転を停止させると判断する。
 また、トリガ検知部211によって撮像ボタンが押下されたことが検知され、動作状態取得部213が動作情報として、ローダが使用中ではないことを示す情報を取得する場合がある。この場合、ローダを退避位置に移動させても不具合は生じない。したがって、ローダが使用されていないときに撮像ボタンが押下された場合、判断部214は、環境設定項目に記憶された制御状態となるように撮像環境を調整すると判断する。つまり、判断部214は、ローダを退避位置に移動させると判断する。
 また、トリガ検知部211によって撮像ボタンが押下されたことが検知され、動作状態取得部213が動作情報として、ワークが加工中であることを示す情報を取得する場合がある。この場合、クーラントの吐出が停止されると、工具の温度が上昇して工具寿命が短くなるおそれがある。したがって、ワークの加工中に撮像ボタンが押下された場合、判断部214は環境設定項目に記憶された制御状態となるように撮像環境を調整しないと判断する。つまり、判断部214は、クーラントを停止させないと判断する。
 また、トリガ検知部211によって撮像ボタンが押下されたことが検知され、動作状態取得部213が動作情報として、ワークが加工中であることを示す情報を取得する場合がある。この場合、主軸の回転が停止されると、工具に大きな負荷がかかり、工具が折損するおそれがある。したがって、ワークの加工中に撮像ボタンが押下された場合、判断部214は環境設定項目に記憶された制御状態となるように撮像環境を調整しないと判断する。つまり、判断部214は、主軸の回転を停止させないと判断する。
 また、トリガ検知部211によって撮像ボタンが押下されたことが検知され、動作状態取得部213が動作情報として、ローダが使用中であることを示す情報を取得する場合がある。この場合、ローダを退避位置に移動させてしまうと、ローダとワークテーブルとの間でワークの受け渡しができないおそれがある。あるいは、ワークの受け渡しに失敗する可能性がある。したがって、ローダの使用中に撮像ボタンが押下された場合、判断部214は環境設定項目に記憶された制御状態となるように撮像環境を調整しないと判断する。つまり、判断部214は、ローダを移動させないと判断する。
 また、トリガ検知部211によって撮像ボタンが押下されたことが検知され、動作状態取得部213が動作情報として、ローダが使用中ではなく、かつ、ローダが画像に映り込む位置にあることを示す情報を取得する場合がある。この場合、ローダが撮像装置9の視界を遮って、撮像対象の工具が画像に映らないおそれがある。したがって、ローダが使用中ではなく、かつ、ローダが画像に映り込む位置にあるときに撮像ボタンが押下された場合、判断部214は環境設定項目に設定された制御状態となるように撮像環境を調整すると判断する。つまり、判断部214は、ローダを退避位置に移動させると判断する。
 また、トリガ検知部211によって工具折損アラームが検知され、動作状態取得部213が、動作情報としてローダが退避位置にあることを示す情報を取得する場合がある。この場合、主軸を撮像装置9付近に移動させても主軸とローダとの衝突は生じない。したがって、ローダが退避位置にあるときに、工具折損アラームが検出された場合、判断部214は環境設定項目に記憶された制御状態となるように撮像環境を調整すると判断する。つまり、判断部214は、主軸を撮像装置9の前に移動させると判断する。なお、トリガ検知部211によって工具折損アラームが検知された場合、判断部214は機内灯を点灯すると判断する。
 また、トリガ検知部211によって工具折損アラームが検知され、動作状態取得部213が動作情報として、ローダが退避位置にないことを示す情報を取得する場合がある。この場合、主軸を撮像装置9付近に移動させると主軸とローダとが衝突するおそれがある。したがって、ローダが退避位置にないときに工具折損アラームが検出された場合、判断部214は環境設定項目に記憶された制御状態となるように撮像環境を調整しないと判断する。つまり、判断部214は、主軸を撮像装置9の前に移動させないと判断する。なお、この場合でも、判断部214は機内灯を点灯すると判断する。
 また、トリガ検知部211によってワークローダアラームが検知され、動作状態取得部213が、動作情報として主軸が退避位置にあることを示す情報を取得する場合がある。この場合、ローダを撮像装置9付近に移動させてもローダと主軸との衝突は生じない。したがって、主軸が退避位置にあるときに、ワークローダアラームが検出された場合、判断部214は環境設定項目に記憶された制御状態となるように撮像環境を調整すると判断する。つまり、判断部214は、ローダを撮像装置9の前に移動させると判断する。なお、トリガ検知部211によってワークローダアラームが検知された場合、判断部214は機内灯を点灯すると判断する。
 また、トリガ検知部211によってワークローダアラームが検知され、動作状態取得部213が動作情報として、主軸が退避位置にないことを示す情報を取得する場合がある。この場合、ローダを撮像装置9付近に移動させるとローダと主軸とが衝突するおそれがある。したがって、主軸が退避位置にないときにワークローダアラームが検出された場合、判断部214は環境設定項目に記憶された制御状態となるように撮像環境を調整しないと判断する。つまり、判断部214は、ローダを撮像装置9の前に移動させないと判断する。なお、この場合でも、判断部214は機内灯を点灯すると判断する。
 判断結果取得部215は、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かの判断結果を取得する。つまり、判断結果取得部215は、判断部214によって判断された判断結果を取得する。判断結果取得部215は、所定の記憶領域に記憶された判断結果を読み込むことによって判断結果を取得する。
 撮像環境調整部216は、トリガ検知部211が少なくとも1種類のトリガを検知し、かつ、判断結果取得部215が取得した判断結果が撮像環境を調整することを示す場合、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整する。撮像環境調整部216は、判断結果取得部215によって取得された判断結果に基づいて撮像環境を調整する。なお、撮像環境調整部216は、判断結果取得部215によって取得された判断結果が、撮像環境を調整しないことを示す場合、撮像環境を調整しない。また、撮像環境調整部216は、判断結果が環境設定項目に設定された制御状態のうち一部の制御状態のみを変更することによって撮像環境を調整することを示す場合、一部の制御状態を変更することによって撮像環境を調整する。
 画像取得部217は、撮像環境調整部216によって調整された撮像環境において画像を取得する。画像取得部217は、撮像環境調整部216が撮像環境を調整しない場合、調整がされていない撮像環境において画像を取得する。画像取得部217は、撮像装置9が撮像する画像を取得する。画像取得部217は、例えば、撮像装置9に撮像開始指令を出力し、撮像装置9によって撮像された動画、および静止画のうち少なくともいずれかを取得する。
 画像取得部217によって取得された画像は、画像記憶部(不図示)に記憶されるようにしてもよい。また、画像取得部217によって取得された画像は、例えば、表示部(不図示)によって入出力装置3の表示画面に表示されるようにしてもよい。
 次に、撮像環境調整装置20において実行される処理の一例について説明する。
 図4は、撮像環境調整装置20において実行される処理の一例を示すフローチャートである。
 数値制御装置2において加工が行われているときに、トリガ検知部211が撮像環境を調整するためのトリガを検知する(ステップS1)。
 次に、動作状態取得部213が、設定テーブルにおいてトリガに対応付けて記憶された動作情報が示す加工機1の動作状態を示す情報を取得する(ステップS2)。
 次に、判断部214が、動作状態取得部213によって取得された動作状態を示す情報に基づいて、環境設定項目に設定された制御状態となるように撮像環境を調整するか否かを判断する(ステップS3)。
 次に、判断結果取得部215が、判断部214によって判断された、撮像環境を調整するか否かの判断結果を取得する(ステップS4)。
 判断結果が撮像環境を調整することを示す場合(ステップS5においてYesの場合)、撮像環境調整部216が、撮像環境を調整する(ステップS6)。
 最後に、画像取得部217が、撮像環境調整部216によって調整された撮像環境のもとで画像を取得して(ステップS7)、処理を終了する。
 一方、判断結果が撮像環境を調整しないことを示す場合(ステップS5においてNoの場合)、調整されない撮像環境のもとで画像取得部217が画像を取得して(ステップS7)、処理を終了する。
 なお、上述した実施形態では、画像取得部217が撮像装置9によって撮像された画像を取得するが、撮像環境調整装置20は、必ずしも画像取得部217を備えていなくてもよい。例えば、撮像環境調整装置20は、撮像環境の調整を行った後に、処理を終了してもよい。この場合、撮像環境が調整された後、作業者がカメラで加工機1の内部を撮像するようにすればよい。
 以上説明したように、撮像環境調整装置20は、少なくとも1種類のトリガを検知するトリガ検知部211と、加工機1における撮像環境を規定する少なくとも1つの環境設定項目を記憶する設定テーブル212と、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かの判断結果を取得する判断結果取得部215と、トリガ検知部211が少なくとも1種類のトリガを検知し、かつ、判断結果取得部215が取得した判断結果が撮像環境を調整することを示す場合、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整する撮像環境調整部216と、を備える。
 したがって、撮像環境調整装置20は、加工機1の撮像を行う際に、撮像環境を撮像に適した状態に調整することが可能になる。その結果、撮像対象を確実に撮像することができる。
 また、撮像環境調整装置20は、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かを判断する判断部214をさらに備え、判断結果取得部215は、判断部214から判断結果を取得する。したがって、撮像環境調整装置20は、自動的に撮像環境の調整を行うか否か判断して撮像環境の調整をすることができる。
 また、少なくとも1種類のトリガは、複数種類のトリガを含み、設定テーブル212は、複数種類のトリガのそれぞれに関連付けて少なくとも1つの環境設定項目を記憶する。したがって、撮像環境調整装置20は、複数のトリガのそれぞれに対応するように撮像環境を調整することができる。
 また、トリガ検知部211が少なくとも1種類のトリガを検知したときの、少なくとも1つの環境設定項目に対応付けて記憶された加工機1の動作状態を示す動作情報を取得する動作状態取得部213をさらに備え、判断結果取得部215は、動作情報に基づいて判断された判断結果を取得する。したがって、判断部214は、加工機1の動作状態に応じて撮像環境を調整するか否かを判断することができる。
 上述した実施形態では、トリガ検知部211が、トリガを検知した場合に、撮像環境調整部216が、主軸またはローダを退避位置に移動させる。しかし、撮像環境調整部216は、主軸またはローダに限らず、テーブル、ロボットを退避位置に移動させるようにしてもよい。例えば、撮像対象がワークである場合、主軸、ロボット、およびローダを退避位置に移動させるようにしてもよい。
 上述した実施形態では、判断部214が、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かを判断する。しかし、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かの判断は、作業者など人が行うようにしてもよい。図5および図6を用いて、人が撮像環境を調整するか否かの判断を行う例について説明する。
 図5は、撮像環境調整装置20の機能の一例を示すブロック図である。図5に示す撮像環境調整装置20は、図2に示す判断部214に代えて、受付部218を備えている。受付部218以外の機能は図2の撮像環境調整装置20が有する各部の機能と同じである。
 受付部218は、少なくとも1つの環境設定項目が示す制御状態となるように撮像環境を調整するか否かを示す判断結果の入力を受け付ける。受付部218は、例えば、判断結果の入力を受け付ける受付画像を入出力装置3の表示画面に表示させる。
 図6は、表示画面に表示された受付画像の一例を示す図である。図6に示す例では、環境設定項目として「機内灯を点灯」、「クーラント停止」、および「主軸を撮像装置の前へ移動」が記憶されている。受付部218は、これらの環境設定項目が示す制御状態となるように撮像環境を調整するか否かを入力するための受付画像を表示画面に表示する。作業者は、例えば、撮像ボタンを押下してこの受付画像が表示画面に表示されると、各環境設定項目が示す制御状態となるように撮像環境を調整するか否かを判断し、判断結果を受付画像を介して入力する。これにより、受付部218は、判断結果を受け付ける。
 判断結果取得部215は、受付部218から判断結果を取得する。これにより、作業者が環境設定項目のうちいずれの項目を変更するかを決定することができる。
 なお、本開示は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。本開示では、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。
  1     加工機
  2     数値制御装置
  20    撮像環境調整装置
  201   CPU
  202   バス
  203   ROM
  204   RAM
  205   不揮発性メモリ
  206   インタフェース
  207   軸制御回路
  208   スピンドル制御回路
  209   PLC
  210   I/Oユニット
  211   トリガ検知部
  212   設定テーブル
  213   動作状態取得部
  214   判断部
  215   判断結果取得部
  216   撮像環境調整部
  217   画像取得部
  218   受付部
  3     入出力装置
  4     サーボアンプ
  41    電流計
  5     サーボモータ
  6     スピンドルアンプ
  61    電流計
  7     スピンドルモータ
  8     補助機器
  9     撮像装置

Claims (8)

  1.  少なくとも1種類のトリガを検知するトリガ検知部と、
     加工機における撮像環境を規定する少なくとも1つの環境設定項目を記憶する設定テーブルと、
     前記少なくとも1つの環境設定項目が示す制御状態となるように前記撮像環境を調整するか否かの判断結果を取得する判断結果取得部と、
     前記トリガ検知部が前記少なくとも1種類のトリガを検知し、かつ、前記判断結果取得部が取得した前記判断結果が前記撮像環境を調整することを示す場合、前記少なくとも1つの環境設定項目が示す前記制御状態となるように前記撮像環境を調整する撮像環境調整部と、
    を備える撮像環境調整装置。
  2.  前記少なくとも1つの環境設定項目が示す前記制御状態となるように前記撮像環境を調整するか否かを判断する判断部をさらに備え、
     前記判断結果取得部は、前記判断部から前記判断結果を取得する請求項1に記載の撮像環境調整装置。
  3.  前記少なくとも1つの環境設定項目が示す前記制御状態となるように前記撮像環境を調整するか否かを示す前記判断結果の入力を受け付ける受付部をさらに備え、
     前記判断結果取得部は、前記受付部から前記判断結果を取得する請求項1に記載の撮像環境調整装置。
  4.  前記少なくとも1種類のトリガは、複数種類のトリガを含み、
     前記設定テーブルは、前記複数種類のトリガのそれぞれに関連付けて前記少なくとも1つの環境設定項目を記憶する請求項1~3のいずれか1項に記載の撮像環境調整装置。
  5.  前記トリガ検知部が前記少なくとも1種類のトリガを検知したときの、前記少なくとも1つの環境設定項目に対応付けて記憶された加工機の動作状態を示す動作情報を取得する動作状態取得部をさらに備え、
     前記判断結果取得部は、前記動作情報に基づいて判断された前記判断結果を取得する請求項1~4のいずれか1項に記載の撮像環境調整装置。
  6.  前記動作情報は、工具主軸、テーブル、ロボット、およびローダの少なくともいずれかの位置を示す位置情報を含み、
     前記撮像環境調整部は、前記位置情報に基づいて、前記工具主軸、前記テーブル、前記ロボット、および前記ローダの少なくともいずれかを退避位置に移動させる請求項5に記載の撮像環境調整装置。
  7.  前記撮像環境調整部によって調整された前記撮像環境において画像を取得する画像取得部をさらに備える請求項1~6のいずれか1項に記載の撮像環境調整装置。
  8.  少なくとも1種類のトリガを検知することと、
     加工機における撮像環境を規定する少なくとも1つの環境設定項目が示す制御状態となるように前記撮像環境を調整するか否かの判断結果を取得することと、
     前記少なくとも1種類のトリガを検知され、かつ、取得された前記判断結果が前記撮像環境を調整することを示す場合、前記少なくとも1つの環境設定項目が示す前記制御状態となるように前記撮像環境を調整することと、
    をコンピュータに実行させる命令を記憶するコンピュータ読み取り可能な記憶媒体。
PCT/JP2021/018418 2021-05-14 2021-05-14 撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体 Ceased WO2022239233A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
US18/556,674 US20240241497A1 (en) 2021-05-14 2021-05-14 Imaging environment adjusting device, and computer-readable storage medium
DE112021007174.2T DE112021007174T5 (de) 2021-05-14 2021-05-14 Bildaufnahmeumgebungsanpassungsvorrichtung und computerlesbares speichermedium
PCT/JP2021/018418 WO2022239233A1 (ja) 2021-05-14 2021-05-14 撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体
CN202180097754.1A CN117242409A (zh) 2021-05-14 2021-05-14 拍摄环境调整装置和计算机可读取存储介质
JP2023520720A JP7654784B2 (ja) 2021-05-14 2021-05-14 撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/018418 WO2022239233A1 (ja) 2021-05-14 2021-05-14 撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体

Publications (1)

Publication Number Publication Date
WO2022239233A1 true WO2022239233A1 (ja) 2022-11-17

Family

ID=84028954

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/018418 Ceased WO2022239233A1 (ja) 2021-05-14 2021-05-14 撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体

Country Status (5)

Country Link
US (1) US20240241497A1 (ja)
JP (1) JP7654784B2 (ja)
CN (1) CN117242409A (ja)
DE (1) DE112021007174T5 (ja)
WO (1) WO2022239233A1 (ja)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03239487A (ja) * 1990-02-19 1991-10-25 Canon Inc 視覚を備えた自動組立装置
JPH0557592A (ja) * 1991-08-31 1993-03-09 Mazda Motor Corp ワークの加工方法及び加工装置
JP2009509779A (ja) * 2005-09-23 2009-03-12 ブレインテック カナダ インコーポレイテッド 視覚追跡のシステム及び方法
JP2012028949A (ja) * 2010-07-21 2012-02-09 Canon Inc 画像処理装置及びその制御方法
JP2012250304A (ja) * 2011-06-01 2012-12-20 Seiko Epson Corp ロボット制御方法、ロボット
JP2020075354A (ja) * 2018-11-01 2020-05-21 キヤノン株式会社 外部入力装置、ロボットシステム、ロボットシステムの制御方法、制御プログラム、及び記録媒体
JP2021053788A (ja) * 2019-10-02 2021-04-08 新東工業株式会社 ショット処理装置及びショット処理方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4220858B2 (ja) * 2003-08-18 2009-02-04 本田技研工業株式会社 携帯端末機器を用いた移動ロボットの画像撮影装置
CN202818500U (zh) * 2012-09-18 2013-03-20 天津市亚安科技股份有限公司 适用于环境监测和工业过程监控的云台摄像机
JP6278842B2 (ja) 2014-06-09 2018-02-14 株式会社キーエンス 検査装置、検査方法およびプログラム
JP6013690B2 (ja) * 2014-09-18 2016-10-25 ファナック株式会社 加工再開位置へのアプローチを行う数値制御装置
JP6266144B1 (ja) * 2017-01-27 2018-01-24 Dmg森精機株式会社 振動状態検出装置及び振動状態検出装置を備えた工作機械
US11636382B1 (en) * 2018-08-10 2023-04-25 Textron Innovations, Inc. Robotic self programming visual inspection
JP6856607B2 (ja) 2018-11-12 2021-04-07 ファナック株式会社 撮影装置及び工作機械
JP7306858B2 (ja) 2019-04-05 2023-07-11 株式会社キーエンス 画像検査システム及び画像検査方法
JP6679079B1 (ja) * 2019-08-01 2020-04-15 株式会社松浦機械製作所 工作機械の作動監視システム

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03239487A (ja) * 1990-02-19 1991-10-25 Canon Inc 視覚を備えた自動組立装置
JPH0557592A (ja) * 1991-08-31 1993-03-09 Mazda Motor Corp ワークの加工方法及び加工装置
JP2009509779A (ja) * 2005-09-23 2009-03-12 ブレインテック カナダ インコーポレイテッド 視覚追跡のシステム及び方法
JP2012028949A (ja) * 2010-07-21 2012-02-09 Canon Inc 画像処理装置及びその制御方法
JP2012250304A (ja) * 2011-06-01 2012-12-20 Seiko Epson Corp ロボット制御方法、ロボット
JP2020075354A (ja) * 2018-11-01 2020-05-21 キヤノン株式会社 外部入力装置、ロボットシステム、ロボットシステムの制御方法、制御プログラム、及び記録媒体
JP2021053788A (ja) * 2019-10-02 2021-04-08 新東工業株式会社 ショット処理装置及びショット処理方法

Also Published As

Publication number Publication date
US20240241497A1 (en) 2024-07-18
CN117242409A (zh) 2023-12-15
DE112021007174T5 (de) 2024-01-18
JPWO2022239233A1 (ja) 2022-11-17
JP7654784B2 (ja) 2025-04-01

Similar Documents

Publication Publication Date Title
JP7524230B2 (ja) 数値制御工作機械で使用するための制御装置、および制御装置を含む工作機械
US20080021591A1 (en) Numerical controller having interference check function
JPH04278605A (ja) 工作機械の故障予知装置
US10054931B2 (en) Numerical controller having machine abnormality history analysis support function
EP1600832A1 (en) Learning servo controller
US9310799B2 (en) Numerical controller having function of operation based on table format data
US20150105900A1 (en) Numerical controller provided with operation setting screen
KR102124658B1 (ko) 공작기계의 절삭 부하 모니터링 방법 및 장치
US20070198125A1 (en) Numerical controller
US10429818B2 (en) Numerical control device
US20250334952A1 (en) Numerical control device and computer-readable storage medium
JP7654784B2 (ja) 撮像環境調整装置、およびコンピュータ読み取り可能な記憶媒体
JP6730354B2 (ja) 入力ミス検出装置
CN117279737B (zh) 运行状况显示装置以及计算机可读存储介质
JP6250894B2 (ja) スキップ信号やキー操作が不要な座標値の取得機能を有する数値制御装置
JP2004102568A (ja) 数値制御装置
JP7741307B2 (ja) 表示装置およびコンピュータ読み取り可能な記憶媒体
CN118742866A (zh) 加工面推定装置以及计算机可读取的存储介质
JP4087374B2 (ja) 負荷トルク監視機能を備えた数値制御装置
US12594637B2 (en) Tool damage detection device and computer-readable storage medium
EP0414911B1 (en) Numerical control device for transfer machine
WO2022249304A1 (ja) 産業機械の制御装置
WO2023058085A1 (ja) 数値制御装置
WO2023139772A9 (ja) 情報生成装置、およびコンピュータ読み取り可能な記憶媒体
WO2022172520A1 (en) Machine tool

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: 21941963

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023520720

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 18556674

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112021007174

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 202180097754.1

Country of ref document: CN

122 Ep: pct application non-entry in european phase

Ref document number: 21941963

Country of ref document: EP

Kind code of ref document: A1