Machine tool recording system
The machine tool recording system addresses flexibility and complexity issues by using adjustable cameras and a management controller to dynamically manage imaging and storage, ensuring efficient and adaptable data capture.
Patent Information
- Application Number
- JP2023071082
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-24
- Publication Date
- 2024-11-06
- Estimated Expiration
- 2043-04-24
AI Technical Summary
Existing machine tool recording systems lack flexibility in adjusting camera positions and configurations, limiting their ability to adapt to changes in imaging targets or environments, and often require complex manual management of camera-trigger correspondences.
A machine tool recording system with multiple cameras that can change imaging positions, a storage device for correspondence information, and a management controller that dynamically adjusts imaging based on triggers and position attributes, allowing for flexible and efficient data capture and storage.
Enables appropriate and efficient recording of machine tool states with a simple configuration, reducing operational complexity and ensuring accurate data capture even with changes in imaging targets or environments.
Smart Images

Figure 2024156536000001_ABST
Abstract
Description
[Technical field]
[0001] This specification discloses a machine tool recording system for recording the state of a machine tool. [Background technology]
[0002] There has been a demand for recording and storing the state of machine tools. To address this demand, some have proposed a technique for capturing images of the inside and periphery of the machine tool with a camera and storing the captured image data in a storage device.
[0003] For example, Patent Document 1 discloses a technique in which a tool is captured by a single camera, and the captured image of the tool is recorded in a tool database in association with information about the tool.
[0004] Furthermore, Patent Document 2 discloses a system for recording the state of an article transport device. When an abnormality is detected in the article transport device, the system of Patent Document 2 identifies the part causing the abnormality based on a pre-stored part identification table, captures an image of the identified part with a camera, and stores the obtained image data in a part data storage means. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent No. 7042938 specification [Patent Document 2] Patent No. 5834569 specification Summary of the Invention [Problem to be solved by the invention]
[0006] However, the technology of Patent Document 1 has only one camera, and the imaging range is limited. In addition, the technology of Patent Document 2 does not allow easy change of the camera position. Therefore, in the case of the technology of Patent Document 2, it is not easy to respond to a change in the part to be imaged due to an operator's request or a change in the transport object. In other words, there has been no system that can appropriately record the state of a machine tool with a simple configuration.
[0007] Therefore, this specification discloses a machine tool recording system that can flexibly accommodate changes in the configuration of the cameras attached to the machine tool. [Means for solving the problem]
[0008] The machine tool recording system disclosed in this specification comprises one or more cameras capable of changing the target position for imaging, a storage device storing at least first correspondence information and second correspondence information, a numerical control device outputting one or more triggers, and a management controller, wherein the first correspondence information records the correspondence between the triggers and position attributes, and the second correspondence information records the correspondence between the cameras and the position attributes, and when the management controller receives a target trigger which is any one of the one or more triggers from the numerical control device, it is configured to refer to the first correspondence information to identify the position attribute corresponding to the target trigger as a specific position attribute, refer to the second correspondence information to identify the camera corresponding to the specific position attribute as a specific camera, and store the imaging data captured by the specific camera in the storage device as saved data.
[0009] In this case, the trigger may be the output of an alarm related to the operation of the machine tool from the numerical control device, and the storage device may have a ring buffer area functioning as a ring buffer and a general storage area, and the management controller may be configured to store imaging data from all of the one or more cameras in the ring buffer area, and when the target trigger occurs, read out from the ring buffer area imaging data captured during the period from a first timing that is a specified retroactive time from the occurrence of the alarm to the occurrence of the alarm, and store the imaging data in the general storage area as at least a part of the stored data.
[0010] In this case, the management controller may be configured to store the imaging data captured by the camera in the general storage area as at least part of the stored data after the target trigger occurs and until a second timing at which a specified basic time has elapsed.
[0011] In addition, the trigger may be the numerical control device executing an instruction recorded in an NC program, and the management controller may be configured to store image data captured by the camera in the storage device as the saved data during a valid period during which the instruction functioning as the target trigger is valid, or for a period until a specified basic time has elapsed since the trigger was generated.
[0012] The trigger may be the selection of a predefined machine operation mode of the machine tool, and the management controller may be configured to store image data captured by the camera in the storage device as the saved data during a period in which the machine operation mode functioning as the trigger is selected or for a period until a specified basic time has elapsed since the trigger occurred.
[0013] The trigger may be a change in a peripheral device of the machine tool to a predefined state, and the management controller may be configured to store image data captured by the camera in the storage device as the saved data for a period during which the peripheral device is in a state that functions as the trigger, that is, for a period from when the trigger occurs until a predefined basic time has elapsed.
[0014] In this case, the storage device may further store third correspondence information that records the correspondence between the trigger and the frame rate of the camera, and the management controller may be configured, when the target trigger occurs, to refer to the third correspondence information, identify the frame rate corresponding to the specific camera as a specific frame rate, and instruct the specific camera to capture image at the specific frame rate.
[0015] In this case, the storage device may further store a standard frame rate for each of the one or more cameras, and the management controller may be configured to instruct the camera to capture images at the standard frame rate when the trigger has not occurred.
[0016] The management controller may further include a user interface device, and the management controller may be configured to provide a stored data list to an operator via the user interface device, and the stored data list may be a list indicating the correspondence between identification information of one or more of the target triggers, a location attribute corresponding to the target trigger, identification information of the camera corresponding to the location attribute, and access information to the stored data acquired at the target trigger.
[0017] In this case, the stored data list may further include access information for at least one of troubleshooting information and FAQs corresponding to the target trigger.
[0018] The management controller may also be configured to store the stored data in the storage device in association with the location attribute and identification information of the target trigger.
[0019] Furthermore, each of the one or more cameras may have a camera body, a communication interface, and an attachment mechanism, and the attachment mechanism may include at least one of a magnet and a clip.
[0020] In this case, the camera body may have a battery, the communication interface may be a communication interface for wireless communication, and each of the one or more cameras may be a cableless camera that is not connected to other devices by a cable. Effect of the Invention
[0021] According to the technology disclosed in this specification, the state of a machine tool can be more appropriately recorded with a simple configuration. [Brief description of the drawings]
[0022] [Figure 1] FIG. 1 is a schematic diagram showing a configuration of a machine tool recording system. [Diagram 2] FIG. 2 is a block diagram of a machine tool recording system. [Diagram 3] FIG. 11 is a diagram illustrating an example of first correspondence information. [Figure 4] FIG. 11 is a diagram illustrating an example of second correspondence information. [Diagram 5] 10 is a flowchart showing the flow of a machine tool condition recording process. [Figure 6] 11 is a flowchart showing the flow of an imaging process. [Figure 7A] FIG. 13 is a diagram showing an example of a saved data list screen. [Figure 7B] FIG. 13 is a diagram showing another example of the saved data list screen. [Figure 8] 13 is a flowchart showing a flow of a camera confirmation process. [Figure 9]A figure showing an example of first correspondence information in a second machine tool recording system. [Figure 10] A figure showing an example of second correspondence information in a second machine tool recording system. [Figure 11A] FIG. 11 is a diagram illustrating an example of third correspondence information. [Figure 11B] FIG. 11 is a diagram showing another example of the third correspondence information. [Figure 11C] FIG. 11 is a diagram showing another example of the third correspondence information. [Figure 12] 13 is a flowchart showing the flow of imaging processing in the second machine tool recording system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] Hereinafter, the machine tool recording system 10 will be described with reference to the drawings. Fig. 1 is a schematic diagram showing the configuration of the machine tool recording system 10. Fig. 2 is a block diagram of the machine tool recording system 10.
[0024] The machine tool recording system 10 is a system that captures images of the state of the machine tool 11 with a camera and stores the obtained video data in a storage device 40. The machine tool recording system 10 has a numerical control device 20, a plurality of cameras Ca to Cc (hereinafter, when there is no need to distinguish between the cameras Ca to Cc, they will be referred to as "camera C"), a management controller 30, and the storage device 40.
[0025] The numerical control device 20 is a device that analyzes an NC program and issues commands, using numerical information consisting of numerical values and codes, regarding tool paths for a workpiece, steps of work required for machining, and the like, in order to operate the machine tool 11. The numerical control device 20 monitors the state of the machine tool 11 and its peripheral devices, and outputs a trigger, which will be described later, to the management controller 30 as necessary. The numerical control device 20 is physically a computer having a processor 22 and a memory 34.
[0026] The numerical control device 20 further has a communication I / F 26 and a UI device 28. The communication I / F 26 is a device for exchanging information with the machine tool 11, peripheral devices, the management controller 30, etc. The communication I / F 26 may be an interface for wireless communication such as WiFi and Bluetooth (registered trademark), or may be an interface for wired communication in which a signal is propagated via a communication cable.
[0027] The UI device 28 is a device that accepts operation instructions from an operator and presents information to the operator. The UI device 28 has an input device and an output device. The input device includes at least one of a keyboard, a touch panel, a switch, a microphone, a mouse, and a trackball. The output device includes at least one of a display, a speaker, and a printer.
[0028] Camera C is attached to machine tool 11 and captures images of the inside or periphery of machine tool 11. In this example, multiple cameras Ca to Cc are attached at different positions. Note that the number and arrangement of cameras C illustrated in FIG. 1 are just examples and can be changed as appropriate.
[0029] The camera C has a camera body 60, a communication I / F 62, and an attachment mechanism 64. The camera body 60 has an imaging element (such as a CCD element or a CMOS element) and captures an image of a target range. Video data captured by the camera body 60 is transmitted to the management controller 30.
[0030] The camera body 60 may further include a microphone to acquire audio data together with the video data. In this case, the management controller 30 stores in the storage device 40 the video data that is a combination of the video data and the audio data.
[0031] The communication I / F 62 transmits video data captured by the camera body 60 to the management controller 30. The communication I / F 62 may be an interface for wireless communication such as WiFi and Bluetooth (registered trademark), or may be an interface for wired communication in which a signal is propagated via a communication cable.
[0032] The mounting mechanism 64 is a mechanism for mounting the camera C to the machine tool 11 or the periphery of the machine tool 11. The configuration of the mounting mechanism 64 is not particularly limited as long as the camera C can change the imaging target position without destroying the machine tool 11 and the peripheral devices. For example, the mounting mechanism 64 may be capable of freely changing the mounting position of the camera C without destroying the machine tool 11 and the peripheral devices. In this case, the mounting mechanism 64 may have, for example, a magnet that can be attached and detached to the wall surface of the machine tool 11, or a clip that can engage with unevenness present on the machine tool 11. The mounting mechanism 64 may also have a holder unit that holds the camera C and a moving mechanism (for example, an XY table, a gantry robot, a serial manipulator, etc.) that moves the holder unit. In this case, the moving mechanism may be fixed to the machine tool 11. In the mounting mechanism 64, the position of the camera C, and therefore the imaging target position of the camera C, can be changed by moving the holder unit. The movement of the holder unit may be performed manually or electrically.
[0033] Furthermore, the mounting mechanism 64 may change the attitude of the camera C. In this case, the mounting mechanism 64 may have a universal joint or the like. By using this mounting mechanism 64 to change at least one of the mounting position and attitude of the camera C, the imaging target position of the camera C can be easily changed. Furthermore, by being able to change the imaging target position of the camera C, it is possible to flexibly respond even if the area to be recorded changes.
[0034] The camera C may be configured as a cableless camera that does not have either a communication cable or a power cable. With such a configuration, the mounting position of the camera C and, in turn, the imaging target position can be freely changed without considering the arrangement of the cables. In the case of a cableless camera, the communication I / F 62 is an interface for wireless communication such as WiFi and Bluetooth. In the case of a cableless camera, the camera C has a battery and is driven by the power supplied from the battery. In this case, the camera C has an inspection function for inspecting the remaining capacity of the battery, and when the remaining capacity of the battery falls below a specified level, the camera C notifies the management controller 30 of the fact. When the management controller 30 receives this notification, the management controller 30 prompts the operator to replace or charge the battery of the camera C via the UI device 38.
[0035] The management controller 30 controls the operation of the camera C based on information sent from the numerical control device 20, and stores the image data in a storage device 40. The management controller 30 is physically a computer having a processor 32 and a memory 34.
[0036] The management controller 30 further includes a communication I / F 36 and a UI device 38. The communication I / F 36 is a device for communicating information with the numerical control device 20 and the camera C. The communication I / F 36 may be an interface for wireless communication such as WiFi and Bluetooth, or may be an interface for wired communication that propagates signals via a communication cable. The UI device 38 is a device that accepts operation instructions from an operator and presents information to the operator. The UI device 38 includes an input device and an output device. The input device includes at least one of a keyboard, a touch panel, a switch, a microphone, a mouse, and a trackball. The output device includes at least one of a display, a speaker, and a printer.
[0037] 2, the management controller 30 is illustrated as a single computer independent of the numerical control device 20. However, the management controller 30 may be configured by combining a plurality of computers that are separate from each other. Also, a part or the whole of the management controller 30 may be incorporated into the numerical control device 20.
[0038] The storage device 40 is a device that stores digital data. The storage device 40 may include at least one of a magnetic storage device (e.g., a hard disk drive, etc.) and a semiconductor drive (e.g., a memory card, a USB flash drive, a solid state drive). A part or all of the storage device 40 may be provided in a cloud that can be connected via the Internet. In addition, in FIG. 2, the storage device 40 is illustrated as a separate device independent of the management controller 30. However, a part or all of the storage device 40 may function as the memory 34 of the management controller 30.
[0039] The storage device 40 has a general storage area 44 that stores data non-circularly, and a ring buffer area 42 that stores data circularly. The general storage area 44 stores storage data and correspondence information 46, 48 (see FIGS. 3 and 4), which will be described later. The correspondence information 46, 48 will both be described in detail later.
[0040] The ring buffer area 42 is a storage area that functions as a ring buffer. Video data captured by the camera C is stored in the ring buffer area 42. The data capacity available in the ring buffer area 42 is determined in advance for each of the multiple cameras C. When the total amount of video data captured by one camera C exceeds this prescribed data capacity, the newly captured video data is saved by overwriting the previous video data.
[0041] Next, the processing of the machine tool recording system 10 will be described. When the management controller 30 receives a predetermined trigger from the numerical control device 20, it identifies a position related to the trigger, and stores video data capturing the identified position as saved data in the general storage area 44. Here, the trigger is not particularly limited. In the following, a case where the trigger is an alarm of the machine tool 11 will be described as an example.
[0042] In order to carry out the above-mentioned processing, the management controller 30 needs to identify the trigger, i.e., the location associated with the alarm. To carry out this identification, the first correspondence information 46 is stored in the storage device 40. The first correspondence information 46 is information that records the correspondence between the trigger and the location attribute.
[0043] Fig. 3 is a diagram showing an example of first response information 46. In the example of Fig. 3, first response information 46 is a table in which alarm numbers and position attributes are recorded in association with each other. The alarm number indicates the type of alarm that has occurred in machine tool 11. When an alarm occurs, numerical control device 20 transmits this alarm number to management controller 30.
[0044] The position attribute is information that represents a position inside or around the machine tool 11. The position attribute may be specified, for example, as a component part (e.g., a "spindle" or a "control panel") that constitutes the machine tool 11, or may be specified as an area name having a predetermined size (e.g., an "inside the machining chamber" or an "outside the machine"). In the example of Fig. 3, the position attribute is expressed by a component part (e.g., a "spindle" or a "control panel") and an area name (e.g., an "inside the machining chamber").
[0045] In the first response information 46, a position attribute indicating the position to be imaged when the alarm occurs is associated and recorded for each alarm number. For example, consider a case where alarm number "KKKK" is an alarm related to the "spindle", and when alarm number "KKKK" occurs, an image of the area around the "spindle" is required. In this case, in the first response information 46, "spindle" is recorded as the position attribute corresponding to alarm number "KKKK".
[0046] Such first correspondence information 46 may be provided by the manufacturer of the machine tool 11, or may be created by the operator. Furthermore, the first correspondence information 46 may be registered in the management controller 30 by the management controller 30 reading a definition file in which the contents of the first correspondence information 46 are recorded. As another form, the first correspondence information 46 may be registered in the management controller 30 by an interactive operation instruction by the operator via the UI device 38 or the UI device 28. In any case, the first correspondence information 46 is prepared and stored in the storage device 40 before the start of imaging by the camera C.
[0047] The second correspondence information 48 is information that records the correspondence between the camera C and the position attribute. FIG. 4 is a diagram showing an example of the second correspondence information 48. In the example of FIG. 4, the second correspondence information 48 is a table that records the position attribute and the identification information of the camera C in correspondence with each other. The position attribute is the same as the position attribute used in the first correspondence information 46. The identification information of the camera C is the identification information of the multiple cameras C attached to the machine tool 11.
[0048] In the second correspondence information 48, for each position attribute, identification information of the camera C capable of capturing an image of the position indicated by the position attribute is associated and recorded. For example, when the first camera Ca can capture an image of the entire inside of the machining chamber, the identification information "Ca" of the first camera Ca is associated and recorded with the position attribute "inside the machining chamber".
[0049] An operator may create and update such second correspondence information 48. For example, the operator may visually check the imaging positions of the multiple cameras C, and create and update a table according to the checking results.
[0050] As another embodiment, the management controller 30 may create and update the second correspondence information 48 semi-automatically or automatically. For example, the management controller 30 may use a graphical user interface (hereinafter referred to as "GUI") to receive the correspondence between the camera C and the position attribute from the operator, and create and update the second correspondence information 48 based on the received correspondence. That is, the management controller 30 may display icons corresponding to multiple cameras C and a GUI indicating the position attribute on the display of the UI device 28 or the UI device 38. The operator specifies the correspondence between the camera C and the position attribute by moving the icon of each camera C to an area on the GUI indicating the corresponding position attribute. As another embodiment, the management controller 30 may present candidates of position attributes selectable for each camera C to the operator in the form of a drop-down list or the like. The operator specifies the correspondence between the camera C and the position attribute by selecting one position attribute from the presented candidates.
[0051] Furthermore, as another embodiment, each camera C may output a signal indicating a position attribute. In this case, a dedicated input device is provided in the camera C, and an operator operates this input device to change the type of signal output by the camera C. For example, the camera C has a plurality of switches (e.g., dip switches, etc.), and outputs a unique position signal according to a combination of switches that are turned on. The management controller 30 stores in advance the correspondence relationship between the position signal output from the camera C and the position attribute. When the operator installs a new camera C or changes the imaging target position of the camera C, the operator switches the switch of the camera C so as to output a position signal according to the imaging target position of the camera C. Then, the management controller 30 creates and updates the second correspondence information 48 based on the position signal output from the camera C.
[0052] Furthermore, as another embodiment, the management controller 30 may automatically determine the position attribute of each camera C based on the image captured by each camera C, and automatically generate the second correspondence information 48 based on the determination result. In order to enable such automatic determination, an identification image indicating the position may be given to each part of the actual machine tool 11 in advance. For example, a sticker with an identification image (e.g., a symbol, a number, a two-dimensional code, etc.) indicating the spindle is attached to the spindle in advance. The management controller 30 searches for the identification image from the image captured by the camera C. Then, the management controller 30 assigns the camera C whose captured image includes the identification image to the position attribute corresponding to the identification image. For example, when the captured image of the first camera Ca includes an identification image indicating the spindle, the management controller 30 assigns the first camera Ca to the position attribute "spindle". At this time, the management controller 30 may estimate the detailed position of the camera C from the position, tilt, distortion, and size of the identification image in the captured image. As yet another embodiment, the management controller 30 may use AI to automatically determine the position attribute of each camera C by applying AI to the captured image of each camera C. For example, the position attribute of the camera C may be automatically determined by applying deep learning technology, particularly neural network technology such as R-CNN (Region Convolutional Neural Networks) and YOLO (You Only Look Once), which excel in object detection, to the captured image of the camera C.
[0053] In any case, when creating or changing the second correspondence information 48, the operator or management controller 30 needs to consider only the relationship between the camera C and the imaging target position of the camera C, and does not need to consider the relationship between the camera C and the alarm. As a result, the operator or management controller 30 can easily create and change the second correspondence information 48.
[0054] Next, the flow of the state recording process of the machine tool 11 will be described. Fig. 5 is a flowchart showing the flow of the state recording process of the machine tool 11 by the management controller 30. Note that, usually, predetermined preparations are completed before the start of the flowchart of Fig. 5. The preparations include mounting the camera C, generating the first correspondence information 46 and the second correspondence information 48, and the like.
[0055] When the power supply of the machine tool 11 is turned on, the management controller 30 starts an initialization process (S10). In the initialization process, a process of reading the first correspondence information 46 and the second correspondence information 48 is performed. Next, the management controller 30 executes a camera confirmation process to confirm whether or not the installation status of the camera C has changed (S12). The specific contents of this camera confirmation process will be described later.
[0056] When the initialization process and the camera confirmation process are completed, the management controller 30 waits until an instruction to start imaging is given. The instruction to start imaging may be an instruction by an operator operating the UI device 28 or the UI device 38. The instruction to start imaging may also be input from the numerical control device 20. For example, the operator writes an NC code (hereinafter referred to as "imaging code") that commands the start of imaging in the NC program. When the numerical control device 20 reads the imaging code during the execution of the NC program, it outputs an instruction to start imaging to the management controller 30. Furthermore, the NC program may include a code that commands a change in the operating conditions of the camera C (e.g., gain, shutter speed, etc.) and a code that commands the conditions of the video data to be saved (e.g., file format, pixel size, file compression format, etc.). When the numerical control device 20 reads such a code, it outputs the instruction indicated by the code to the management controller 30.
[0057] If there is no instruction to start imaging (No in S22), the management controller 30 waits without starting imaging. During this waiting period, the first correspondence information 46 and the imaging target position of the camera C can be changed. Therefore, during the waiting period, the management controller 30 monitors whether the first correspondence information 46 and the imaging target position of the camera C have been changed (S14, S18). If the first correspondence information 46 has been changed as a result of the monitoring (Yes in S14), the management controller 30 reads the changed first correspondence information 46 (S16). Also, if the imaging target position of the camera C has been changed (Yes in S18), the management controller 30 reads the second correspondence information 48 that reflects the change (S20).
[0058] On the other hand, when an instruction to start imaging is received (S22), the management controller 30 starts imaging processing (S24) by the cameras C. FIG. 6 is a flowchart showing a detailed flow of the imaging processing. As shown in FIG. 6, when an instruction to start imaging is received, the management controller 30 instructs all the cameras C to start imaging (S30). Furthermore, the management controller 30 stores the video data obtained by this imaging in the ring buffer area 42.
[0059] The management controller 30 continues to store images in the ring buffer area 42 until a trigger, i.e., an alarm, occurs. Meanwhile, consider the case where an alarm occurs (Yes in S32). If the alarm that has occurred here is determined to be a "target alarm," the management controller 30 identifies the position attribute corresponding to the target alarm as a specific position attribute (S34). Specifically, the numerical control device 20 transmits an alarm number corresponding to the target alarm to the management controller 30. The management controller 30 checks the received alarm number against the first response information 46 and identifies the position attribute corresponding to the alarm number as a specific position attribute.
[0060] Next, the management controller 30 compares the specific location attribute with the second correspondence information 48, and identifies the camera C corresponding to the specific location attribute as a specific camera C* (S36). After that, the management controller 30 stores the video data captured by the specific camera C* as saved data in the general storage area 44 (S38-S42). At this time, the saved data is video data captured by the specific camera C* between a first timing that is a retroactive time Tb before the occurrence of the alarm, and a second timing that is a basic time Ta after the occurrence of the alarm.
[0061] In order to obtain such saved data, the management controller 30 reads the video data captured by the specific camera C* from the first timing to the occurrence of the alarm from the ring buffer area 42, and temporarily stores the video data as first provisional data (S38). The management controller 30 also temporarily stores the video data captured by the specific camera C* from the occurrence of the alarm to the second timing as second provisional data (S40). The management controller 30 then stores the data obtained by combining the first provisional data and the second provisional data in the general storage area 44 as saved data (S42).
[0062] Here, the retroactive time Tb is a time that is specified in advance. This retroactive time Tb is set so as to include the occurrence timing of the event that is the cause of the abnormality indicated by the alarm. The retroactive time Tb may be the same for all alarm numbers, or a different value may be set for each alarm number. The retroactive time Tb may be specified by a definition file in a predetermined format, or may be specified by an operator operating the UI device 28 or the UI device 38. Furthermore, the NC program may include a set value for the retroactive time Tb.
[0063] The base time Ta is also a time that is specified in advance. Like the retroactive time Tb, the base time Ta may be the same for all alarm numbers, or may be set to a different value depending on the alarm number. Like the retroactive time Tb, the base time Ta may be specified using a definition file, the UI devices 28 and 38, an NC program, and the like. In the example of FIG. 6, the base time Ta is set to a value greater than 0, but the base time Ta may also be 0.
[0064] That is, when an alarm occurs, the image data immediately before the alarm is important for searching for the cause of the abnormality, but the image data after the alarm occurs is less important. Therefore, Ta=0 may be set so that the image data after the alarm occurs is not saved. When Ta=0, step S40 is naturally omitted, and the first provisional data read from the ring buffer area 42 is saved as it is in the general saving area 44 as saved data.
[0065] The saved data is stored in the general storage area 44 in association with the identification information of the generated alarm. The identification information of the alarm includes, for example, at least one of a time stamp indicating the date and time when the alarm occurred and a serial number indicating the order in which the alarm occurred. For example, the saved data may be stored in a folder indicating the time when the alarm occurred, together with reference information related to the alarm. The reference information includes, for example, log data generated when the alarm occurred, and access information for FAQs or troubleshooting related to the alarm. In this way, the saved data and reference information stored in the general storage area 44 are presented to the operator via the UI device 28 or the UI device 38. The form of this presentation will be described later.
[0066] 5, after the imaging process (S24), the management controller 30 checks whether there is an instruction to end imaging (S26). The instruction to end imaging may be input by the operator via the UI device 28, 38, like the instruction to start imaging, or a code to command the end of imaging may be entered into the NC program. If there is no instruction to end imaging (No in S26) as a result of the check, the management controller 30 continues the imaging process (S24). If there is an instruction to end imaging (Yes in S26), the management controller 30 repeats steps S14 to S28 until the machine tool recording system 10 is turned off.
[0067] Next, a form of presentation of the saved data to the operator will be described. FIG. 7A is a diagram showing an example of a saved data list screen 70 displayed on the display of the UI device 38. The saved data list screen 70 is a screen showing a list of saved data saved in the general storage area 44. In the example of FIG. 7A, the saved data list screen 70 is in a table format in which one row is assigned to each alarm. This table has columns of "date", "time", "alarm number", "message", each of the multiple cameras C, "T / S", and "FAQ". The "date" and "time" columns display the date and time when the alarm occurred. The "alarm number" column displays the alarm number of the alarm that occurred. The "message" column displays a brief explanation of the alarm that occurred. The number of camera C columns is the same as the number of cameras C. The column for each camera C displays whether or not there is saved data captured by that camera C. If there is no saved data captured by that camera C, the column for that camera C is blank. On the other hand, if there is saved data captured by that camera C, the corresponding location attribute is displayed. For example, looking at the first column in FIG. 7A, it can be seen that an alarm with alarm number “KKKK” occurred at time 10:33:47, and in connection with this alarm, an image of the “spindle” was captured by the second camera Cb and saved.
[0068] A link for accessing the saved data is attached to the location attribute displayed in the column of camera C. Therefore, when the operator selects a character string of the location attribute in this saved data list, the corresponding saved data is played back.
[0069] The "T / S" column displays access information to the file in which troubleshooting related to the alarm is recorded. Similarly, the "FAQ" column displays access information to the file in which FAQs (Frequently Asked Questions) related to the alarm are recorded. When an operator selects a "T / S" or "FAQ" cell, the corresponding troubleshooting information or FAQ information is displayed.
[0070] Fig. 7B is a diagram showing another example of the saved data list screen 70. In the case of Fig. 7B, instead of the columns for the multiple cameras C, columns for multiple location attributes are provided. The corresponding camera C is displayed in the column for the location attribute. The other configuration is the same as Fig. 7A, so the description will be omitted.
[0071] In any case, by presenting the stored data list screen 70 to the operator, the operator can easily access the desired stored data. By replaying the stored data, the operator can efficiently search for the cause of the alarm. Also, by presenting troubleshooting or FAQs corresponding to the stored data, the operator can easily take appropriate action against the alarm.
[0072] Of course, the presentation form of the stored data is merely an example and may be changed as appropriate. For example, the list of stored data may be presented in a table format in which one row is assigned to each piece of stored data. Also, such a list of stored data does not need to be presented to the operator. In this case, the operator can directly access the stored data using file management software such as Explorer. At this time, in order to facilitate the operator's search for the stored data, at least one of the following may be incorporated into the file name or folder name of the stored data: an alarm number, alarm identification information (e.g., a timestamp or a serial number), identification information of a location attribute, and identification information of the camera C.
[0073] Next, a detailed flow of the camera confirmation process in Fig. 5 will be described with reference to Fig. 8. Normally, when an operator changes the imaging target position of camera C, the operator needs to notify the management controller 30 of this change. However, due to human error, there are cases where the change in the imaging target position of camera C is not notified to the management controller 30. Then, if the imaging process is executed without notifying the management controller 30 of the change in the imaging target position of camera C, appropriate video data cannot be saved.
[0074] Therefore, after initializing the system, the management controller 30 executes a camera confirmation process to confirm whether or not the imaging target position of the camera C has changed (S12 in FIG. 5).
[0075] In this case, as shown in Fig. 8, the management controller 30 first instructs all cameras C to perform test imaging (S50). The test imaging is a still image capture or a short-time (e.g., 1 second) video capture. The management controller 30 temporarily stores the image obtained in the test imaging as test data in association with the camera C.
[0076] Next, the management controller 30 initializes a parameter i, setting it to i=1 (S52). Next, the management controller 30 checks whether there is video data captured in the past by the i-th camera C (hereinafter referred to as "past data") (S54). Such past data is usually stored in the ring buffer area 42. If the check shows that there is no past data (No in S54), the management controller 30 determines that the i-th camera C is a newly installed camera C. In this case, the information related to the i-th camera C in the second correspondence information 48 is updated (S60). This update may be performed automatically by the management controller 30, or the management controller 30 may request an operator to perform the update work.
[0077] On the other hand, if past data of the i-th camera C exists (Yes in S54), the management controller 30 compares the test data of the i-th camera C with the past data (S56). In this comparison, the management controller 30 obtains the amount of difference between both data. The amount of difference is obtained, for example, by the following procedure. First, the management controller 30 generates a past feature point image by extracting multiple feature points from the last frame image of the past data using Harris corner detection or the FAST algorithm. Similarly, the management controller 30 extracts a test feature point image by extracting multiple feature points from the frame image of the test data. Furthermore, the management controller 30 associates multiple feature points of the past feature point image with multiple feature points of the test feature point image. For example, the management controller 30 associates feature points that are closest in position in the past feature point image and the test feature point image with each other. Next, the management controller 30 calculates the distance between the corresponding feature points in the image, and calculates the statistical value of this distance as the amount of difference between the past data and the test data. The statistical value is not particularly limited as long as it is a value that indicates the degree of difference in the distances calculated for each of the multiple feature points, and for example, the average value, median value, maximum value, square mean value, etc. can be used.
[0078] If the calculated difference amount is greater than a predefined allowable value (No in S58), the management controller 30 determines that the imaging target position of the i-th camera C has been changed. In this case, the information corresponding to the i-th camera C in the second correspondence information 48 is updated (S60). On the other hand, if the difference amount is equal to or less than the allowable value (Yes in S58), the management controller 30 determines that the imaging target position of the i-th camera C has not been changed. In this case, the management controller 30 compares the parameter i with the number of cameras Imax (S62). If the comparison result is i≦Imax (No in S62), the management controller 30 increments the parameter i (S64) and repeats steps S54 to S62. If i>Imax (Yes in S62), the management controller 30 ends the camera confirmation process.
[0079] In this way, by checking whether the imaging target position of the camera C has changed before the imaging process (S24) starts, it is possible to effectively prevent inconsistencies in the association between the camera C and the position attribute. As a result, it is possible to save video data of an appropriate position according to the type of alarm.
[0080] As is clear from the above explanation, according to the machine tool recording system 10 shown in Figures 1 and 2, the timing and camera C for saving video data are specified based on the first correspondence information 46 and the second correspondence information 48. This makes it possible to appropriately record the state of the machine tool 11 with a simple configuration.
[0081] Here, the image capturing target to be recorded as an image varies depending on the operator's preference, the type of processing, etc. In this example, as described above, the camera C has the mounting mechanism 64, and the image capturing target position of the camera C can be easily changed without destroying the machine tool 11 and peripheral devices. Therefore, according to this example, the image capturing target can be easily changed depending on the situation.
[0082] In this example, the correspondence between the trigger and the position attribute is recorded in the first correspondence information 46, and the correspondence between the position attribute and the camera C is recorded in the second correspondence information 48. In other words, in this example, the correspondence between the trigger and the camera C is managed in two stages. With this configuration, the operator does not need to directly grasp the correspondence between the trigger and the camera C, and can easily manage the two pieces of correspondence information 46, 48. This will be described in detail.
[0083] For example, consider a case where the timing for saving video data and the camera C are specified by referring to correspondence information in which the correspondence between triggers and cameras C is directly recorded (hereinafter referred to as "direct correspondence information"). In this case, for example, if a camera C capable of capturing an image of the spindle is newly installed, the operator needs to specify triggers related to the spindle, and then update the direct correspondence information so that camera C corresponds to all of the specified triggers. For example, if there are 10 types of triggers related to the spindle, the operator needs to specify these 10 types of triggers and rewrite the correspondence between these 10 types of triggers and cameras C in the direct correspondence information. However, such work is very time-consuming for the operator.
[0084] On the other hand, when the correspondence between the trigger and the camera C is managed in two stages as in this example, the operator can easily manage the correspondence information 46, 48. For example, when a camera C capable of capturing an image of the spindle is newly installed, the operator only needs to update the second correspondence information 48 so as to associate the position attribute "spindle" with the newly installed camera C. Also, in this case, the operator does not need to consider what the trigger associated with the spindle is. As a result, the operator can appropriately manage the correspondence between the trigger and the camera C with a simple procedure.
[0085] Next, the second machine tool recording system 10 will be described. The basic configuration of the second machine tool recording system 10 is almost the same as that of the machine tool recording system 10 shown in Figs. 1 and 2. However, the second machine tool recording system 10 does not use the ring buffer area 42. The video data captured by the camera C is stored in the general storage area 44 in principle. In addition, the second machine tool recording system 10 has different contents of the first correspondence information 46 and the second correspondence information 48 compared to the machine tool recording system 10 shown in Figs. 1 and 2, and the storage device 40 further stores third correspondence information 50. This will be described below.
[0086] FIG. 9 is a diagram showing an example of the first correspondence information 46 in the second machine tool recording system 10. As explained repeatedly, the first correspondence information 46 is information showing the correspondence between the position attribute and the trigger. In the case of the second machine tool recording system 10, the NC command, the machine operation mode, and the state of the peripheral device function as the trigger. The NC command is a command notified to the numerical control device 20 via the NC program. The numerical control device 20 sequentially outputs the NC command to be executed to the management controller 30. When the management controller 30 receives an NC command described in the "NC command" column of FIG. 9 from the NC program, it determines that a trigger has occurred. The trigger generated here becomes the "target trigger". The management controller 30 specifies the position attribute related to the target trigger as the specific position attribute. For example, when the management controller 30 receives a G-code command "G00", it specifies the position attributes "spindle", "table", "chip bucket", and "chip conveyor" as the specific position attributes.
[0087] The machine operation mode is an operation mode of the machine tool 11. Such a machine operation mode is selected by an operator via the UI device 28. When a specific machine operation mode is selected by the operator, the numerical control device 20 notifies the management controller 30 of that fact. When the management controller 30 receives a machine operation mode written in the "machine operation mode" field, it determines that a trigger has occurred. For example, when the management controller 30 receives a selection of the machine operation mode "manual tool change mode", it determines the position attributes "spindle", "table", and "ATC magazine" as specific position attributes.
[0088] The peripheral devices are devices that are incorporated into or associated with the machine tool 11 and the numerical control device 20. The peripheral devices include, for example, the lighting lamp 12 that illuminates the inside of the machining chamber and the chip conveyor 13 that transports chips to a chip bucket. The numerical control device 20 determines the predefined state of the peripheral devices (for example, ON / OFF state, etc.) and transmits it to the management controller 30. When the management controller 30 receives a state described in the "peripheral device state" field, it determines that a trigger has occurred. For example, when the management controller 30 receives a state that the lighting lamp 12 is ON, it identifies the position attributes "spindle", "table", and "coolant hose" as specific position attributes.
[0089] The first correspondence information 46 shown in FIG. 9 is an example and may be changed as appropriate. For example, the trigger may further include "alarm". Also, at least one of "NC command", "machine operation mode", and "peripheral device state" may be omitted as a trigger. Furthermore, an event other than the events described so far may be adopted as a trigger. Also, the correspondence between the content of each trigger and the position attribute may be changed as appropriate.
[0090] Fig. 10 is a diagram showing an example of second correspondence information 48 in the second machine tool recording system 10. As shown in Fig. 10, this second correspondence information 48 records the correspondence between a plurality of position attributes (i.e., spindle, table, coolant hose, ATC magazine, etc.) and a plurality of cameras C. When a trigger related to a certain position attribute occurs, the management controller 30 identifies the camera C corresponding to the position attribute as a specific camera C*.
[0091] Furthermore, as described above, the second machine tool recording system 10 has the third correspondence information 50. FIGS. 11A to 11C are diagrams showing examples of the third correspondence information 50a, 50b, and 50c. The third correspondence information 50 is information that records the correspondence between the trigger and the frame rate of the camera C. As described above, the second machine tool recording system 10 employs three types of triggers: an NC command, a machine operation mode, and a state of a peripheral device. Therefore, three types of third correspondence information 50a, 50b, and 50c are also prepared. The third correspondence information 50a shown in FIG. 11A records the correspondence between the NC command and the frame rate of the camera C. When a certain NC command is executed, the management controller 30 instructs a specific camera C* to capture an image at a frame rate corresponding to the NC command. For example, when "G01" is executed, the management controller 30 instructs a specific camera C* to capture images at a frame rate of 60 FPS, and when "G89" is executed, the management controller 30 instructs a specific camera C* to capture images at a frame rate of 30 FPS.
[0092] Similarly, when a certain machine operation mode is selected, the management controller 30 instructs the specific camera C* to capture images at a frame rate corresponding to the selected machine operation mode. For example, when the "manual tool change mode" is selected, the management controller 30 instructs the specific camera C* to capture images at a frame rate of 50 FPS. Furthermore, when the management controller 30 receives the status of a certain peripheral device, it instructs the specific camera C* to capture images at a frame rate corresponding to the status of the peripheral device. For example, when the management controller 30 receives "lights ON", it instructs the specific camera C* to capture images at a frame rate of 10 FPS.
[0093] When no trigger occurs, the management controller 30 instructs the camera C to capture an image at a standard frame rate that is specified in advance. The standard frame rate is not particularly limited, but is usually set to a value lower than the frame rate specified in the third correspondence information 50. For example, the standard frame rate is the lowest frame rate among the selectable frame rates in terms of the performance of the camera C.
[0094] That is, in the case of the second machine tool recording system 10, when no trigger occurs, images are captured at a standard frame rate which is a low rate, and when a trigger occurs, the frame rate of the specific camera C* corresponding to the trigger is changed to a specific frame rate which is a high rate. With this configuration, it is possible to appropriately record the state of the machine tool 11 while keeping the power consumption of the camera C and the storage capacity of the video data small.
[0095] That is, when the frame rate is high, the power consumption of the camera C and the data size of the video data increase. In particular, when the camera C is battery-powered, the high power consumption of the camera C becomes a major problem. On the other hand, the frame rate actually required for appropriately managing the machine tool 11 varies greatly depending on the imaging position and situation.
[0096] For example, since the operation time of an auto tool changer magazine (hereinafter referred to as "ATC magazine") is about one second, if the frame rate of camera C is low, the operation contents of the ATC magazine cannot be properly recorded. Therefore, when the ATC magazine is operating, it is required to capture images at a high frame rate. On the other hand, the ATC magazine operates only when a tool is changed, and the ATC magazine is almost stationary during other periods. If such a stationary ATC magazine is captured at a high frame rate like an operating ATC magazine, this will result in an increase in power consumption and data size. Therefore, when the ATC magazine is not operating, it is required that the ATC magazine is not captured, or, if captured, is captured, it is required that it is captured at a low frame rate.
[0097] Moreover, the NC command "G00" is a command for moving a tool at a fast feed rate. When such an NC command is valid, it is expected that the tool of the machine tool 11 will move at high speed, and therefore imaging at a high frame rate of 60 FPS is required. On the other hand, "G89" is a command for executing boring. In this case, it is expected that the movement of the tool will be smaller than when "G00" is commanded. Therefore, when "G89" is valid, imaging at a low frame rate of 30 FPS will not cause any problems.
[0098] However, it is not only time-consuming for the operator to specify such a frame rate change every time a trigger occurs, but there is also a high possibility that the switch instruction will not be given in time. Therefore, in the second machine tool recording system 10, the correspondence between the trigger and the frame rate is recorded in advance in the third correspondence information 50. As a result, the frame rate is automatically changed to an appropriate one even if the operator does not specify the frame rate every time a trigger occurs. As a result, the second machine tool recording system 10 makes it possible to store appropriate video data while suppressing data capacity.
[0099] Next, a description will be given of the flow of processing by the second machine tool recording system 10. The flow of recording processing by the second machine tool recording system 10 is almost the same as the processing shown in Fig. 5. However, in the case of the second machine tool recording system 10, as the imaging processing (S26), the processing in Fig. 12 is executed instead of the processing in Fig. 6.
[0100] 12, when an instruction to start imaging is received, the management controller 30 sets the frame rates of all cameras C to the standard frame rate and instructs all cameras C to image (S70, S72). The captured video data is stored in the general storage area 44. At this time, the video data is stored in association with the identification information of the camera C that captured the video and the time information of when the video was captured.
[0101] Thereafter, when a trigger occurs (Yes in S74), the management controller 30 compares the trigger (i.e., the target trigger) with the first correspondence information 46 and identifies the corresponding location attribute as a specific location attribute (S76). Note that the number of specific location attributes is not limited to one, and multiple specific location attributes may be identified. Furthermore, the management controller 30 compares the identified specific location attribute with the second correspondence information 48 and identifies the camera C corresponding to the specific location attribute as a specific camera C* (S78). The number of specific cameras C* is also not limited to one, and multiple specific cameras may be identified.
[0102] Furthermore, the management controller 30 checks the trigger against the third correspondence information 50 and identifies the frame rate corresponding to the trigger as the specific frame rate (S80). Then, the management controller 30 changes the frame rate of the specific camera C* identified in step S78 to the specific frame rate (S82). Then, the specific camera C* starts capturing images at the specific frame rate.
[0103] If the specified frame rate is higher than the maximum frame rate possible for the performance of the specified camera C*, the management controller 30 instructs the specified camera C* to capture images at the maximum frame rate. The maximum frame rate possible for the performance is determined, for example, by the exposure time set for the camera. Depending on the operating conditions of the machine tool 11, multiple triggers corresponding to one position attribute may occur in parallel. For example, during the effective period of the trigger "lamp ON" related to the position attribute "spindle", the NC command "G00" which is a trigger corresponding to the position attribute "spindle" may occur. In this case, the management controller 30 determines the highest frame rate among the frame rates corresponding to each of the multiple triggers occurring in parallel as the specific frame rate. For example, in the case of the above example, the frame rate "60" corresponding to the NC command "G00" is higher than the frame rate "10" corresponding to the "lamp ON", so the management controller 30 specifies 60FPS as the specific frame rate.
[0104] After changing the frame rate, the management controller 30 checks the validity of the trigger that caused the change in the frame rate (S84). For example, if the trigger is an NC command, the management controller 30 checks whether the NC command is in a valid state. If the trigger is a machine operation mode, the management controller 30 checks whether the machine operation mode is still ongoing. If the trigger is a peripheral device status, the management controller 30 checks whether the peripheral device status is maintained (for example, whether the lamp 12 remains ON).
[0105] If the check result shows that the trigger is valid (Yes in S84), the management controller 30 maintains the frame rate of the specific camera C* at the specific frame rate. On the other hand, if the trigger is no longer valid (No in S84), the management controller 30 changes the frame rate of the specific camera C* to the standard frame rate (S86). This causes the specific camera C* to switch to capturing images at the standard frame rate.
[0106] Here, the specific frame rate is switched to the standard frame rate based on whether the trigger is enabled. However, such switching may be performed based on the elapsed time Tw from the occurrence of the trigger. That is, in step S84, the management controller 30 may compare the elapsed time Tw from the occurrence of the trigger with the basic time Ta without checking the enabled state of the trigger. Then, if the comparison result is Tw≧Ta, the management controller 30 may change the frame rate of the specific camera C* from the specific frame rate to the standard frame rate. In this case, the basic time Ta may be a single value common to all triggers, or may be set for each content of the trigger. Furthermore, as another form, the management controller 30 may determine whether or not to switch the frame rate by considering both the state of the trigger and the elapsed time Tw. That is, when at least one of the conditions of the trigger being enabled and Tw≧Ta is satisfied, the management controller 30 may maintain the frame rate of the specific camera C* at the specific frame rate.
[0107] If the frame rate is changed from the specific frame rate to the standard frame rate, the management controller 30 thereafter repeats steps S74 to S88 until an instruction to end imaging is given.
[0108] The video data may be divided into different files at the timing of changing the frame rate. That is, the video data before the trigger occurs, the video data after the trigger occurs and before the trigger is disabled, and the video data after the trigger is disabled may be stored in the general storage area 44 as different files. At this time, each file may be stored in association with at least one of the identification information of the camera C involved in the image capture and the time information of the image capture. For example, each file may be stored with a file name that combines the start time of the image capture and the identification information of the camera C. The video data during the valid period of the trigger may be further stored in association with at least one of the type of the trigger and the specific frame rate adopted.
[0109] As another embodiment, a file of video data captured by one camera C does not have to be divided when the frame rate is changed. In this case, the video data may be divided into chapters at the timing of switching the frame rate.
[0110] As is clear from the above explanation, according to the second machine tool recording system 10, the frame rate of the camera C is automatically changed depending on the situation. This makes it possible to record the state of the machine tool 11 at an appropriate frame rate.
[0111] The above configuration is merely an example and may be changed as appropriate. For example, in the example of FIG. 12, imaging at a standard frame rate is instructed before a trigger occurs. However, none of the cameras C may perform imaging before a trigger occurs, and when a trigger occurs, only a specific camera C* corresponding to the trigger may perform imaging at a specific frame rate. With such a configuration, the power consumption of the camera C and the data size of the video data can be reduced more effectively.
[0112] In addition, in the second machine tool recording system 10, the frame rate of the camera C is changed according to the type of trigger. However, the frame rate may be changed according to the type of the camera C. For example, a standard frame rate and a specific frame rate are set in advance for each of the multiple cameras C. Then, when a trigger corresponding to the camera C does not occur, the camera may capture images at the standard frame rate, and when a trigger corresponding to the camera C occurs, the camera may capture images at the specific frame rate. For example, consider a case in which the standard frame rate of the first camera Ca is set to 1 FPS and the specific frame rate of the first camera Ca is set in advance to 60 FPS. In this case, when a trigger corresponding to the first camera Ca does not occur, the first camera Ca captures images at 1 FPS. Then, when a trigger corresponding to the first camera Ca occurs, the first camera Ca captures images at 60 FPS.
[0113] Furthermore, image storage and frame rate switching may be performed under other conditions, not limited to the triggers defined in first response information 46. For example, management controller 30 may perform moving object detection based on the video sent from camera C. Then, when a movement occurs in the video, management controller 30 may store the video data before and after the movement as saved data, or switch the frame rate. In this way, by storing images and switching the frame rate according to the result of moving object detection, the behavior of machine tool 11 can be more appropriately stored.
[0114] In the above description, only the video data captured by the camera C is the subject, but the technology disclosed in this specification may also be directed to detection values detected by some kind of sensor. That is, in addition to the camera C, the machine tool 11 is provided with a sensor that detects a specific physical quantity (e.g., vibration amount, temperature, etc.). In addition to the correspondence between the camera C and the position attribute, the correspondence between the sensor and the position attribute is recorded in the second correspondence information 48. Then, the management controller 30 may specify a sensor corresponding to the trigger as a specific sensor depending on the trigger occurrence situation, and store the detection data of the specific sensor in the storage device 40. Furthermore, in this case, the correspondence between the trigger and the sampling rate of the sensor may be set in advance, and the sampling rate of the sensor may be changed depending on the trigger occurrence situation. [Explanation of symbols]
[0115] 10 machine tool recording system, 11 machine tool, 12 lighting, 13 chip conveyor, 20 numerical control device, 22 processor, 26, 36, 62 communication I / F, 28, 38 UI device, 30 management controller, 32 processor, 34 memory, 40 storage device, 42 ring buffer area, 44 general storage area, 46 first corresponding information, 48 second corresponding information, 50 third corresponding information, 60 camera body, 64 mounting mechanism, 70 saved data list screen, C camera.
Claims
1. A machine tool recording system for recording a state of a machine tool, comprising: One or more cameras capable of changing the imaging target position; a storage device that stores at least the first correspondence information and the second correspondence information; A numerical control device that outputs one or more triggers; A management controller; Equipped with the first correspondence information records a correspondence relationship between the trigger and a location attribute; the second correspondence information records a correspondence relationship between the camera and the position attribute, The management controller: When a target trigger, which is any one of the one or more triggers, is received from the numerical control device, Identifying the location attribute corresponding to the target trigger as a specific location attribute by referring to the first correspondence information; referring to the second correspondence information, identifying the camera corresponding to the specific position attribute as a specific camera; storing the image data captured by the specific camera in the storage device as saved data; A machine tool recording system comprising:
2. 2. A machine tool recording system according to claim 1, the trigger is an output of an alarm related to an operation of the machine tool from the numerical control device, The storage device has a ring buffer area that functions as a ring buffer and a general storage area, The management controller: storing image data from all of the one or more cameras in the ring buffer area; When the target trigger occurs, image data captured during a period from a first timing that is a specified retroactive time from the occurrence of the alarm to the occurrence of the alarm is read from the ring buffer area, and stored in the general storage area as at least a part of the stored data. It is configured as follows: A machine tool recording system comprising:
3. 3. A machine tool recording system according to claim 2, The management controller is configured to store, in the general storage area, image data captured by the camera as at least a part of the stored data, during a period from the occurrence of the target trigger until a second timing at which a specified basic time has elapsed. A machine tool recording system comprising:
4. 2. A machine tool recording system according to claim 1, the trigger is the execution by the numerical control device of a command recorded in an NC program; The management controller is configured to store the image data captured by the camera as the saved data in the storage device during a valid period during which the command functioning as the target trigger is valid or during a period until a specified basic time has elapsed since the trigger occurred. A machine tool recording system comprising:
5. 2. A machine tool recording system according to claim 1, the trigger being selection of a predefined machine operating mode of the machine tool; The management controller is configured to store the image data captured by the camera as the saved data in the storage device during a period in which the machine operation mode functioning as the trigger is selected or during a period until a specified basic time has elapsed since the trigger was generated. A machine tool recording system comprising:
6. 2. A machine tool recording system according to claim 1, the trigger is a change in a peripheral device of the machine tool to a predefined state, The management controller is configured to store, in the storage device, image data captured by the camera as the saved data during a period during which the peripheral device is in a state functioning as the trigger and during a period from the occurrence of the trigger until a specified basic time has elapsed. A machine tool recording system comprising:
7. A machine tool recording system according to any one of claims 1, 4 to 6, the storage device further stores third correspondence information that records a correspondence relationship between the trigger and a frame rate of the camera; the management controller is configured to, when the target trigger occurs, refer to the third correspondence information, identify the frame rate corresponding to the specific camera as a specific frame rate, and instruct the specific camera to capture an image at the specific frame rate. A machine tool recording system comprising:
8. 8. A machine tool recording system according to claim 7, The storage device further stores a standard frame rate for each of the one or more cameras; The management controller is configured to instruct the camera to capture an image at the standard frame rate when the trigger has not occurred. A machine tool recording system comprising:
9. 2. A machine tool recording system according to claim 1, Further, a user interface device is provided, the management controller is configured to provide a stored data list to an operator via the user interface device; The stored data list is a list indicating a correspondence relationship between identification information of one or more target triggers, location attributes corresponding to the target triggers, identification information of the camera corresponding to the location attributes, and access information to the stored data acquired in the target triggers. A machine tool recording system comprising:
10. 10. A machine tool recording system according to claim 9, The machine tool recording system, wherein the stored data list further includes access information for at least one of troubleshooting information and FAQs corresponding to the target trigger.
11. 2. A machine tool recording system according to claim 1, A machine tool recording system, characterized in that the management controller is configured to store the saved data in the storage device in association with the position attribute and identification information of the target trigger.
12. 2. A machine tool recording system according to claim 1, Each of the one or more cameras has a camera body, a communication interface, and an attachment mechanism; The attachment mechanism includes at least one of a magnet and a clip. A machine tool recording system comprising:
13. 13. A machine tool recording system according to claim 12, comprising: The camera body has a battery, the communication interface is a communication interface for wireless communication, Each of the one or more cameras is a cableless camera that is not connected to other devices by a cable. A machine tool recording system comprising:
Citation Information
Patent Citations
Abnormality management device of machine tool
JP2003022108A
Article conveying device management system
JP2013023313A
Process monitoring apparatus, and control method and program for process monitoring apparatus
JP2018128729A
Machine system and control method
JP2019016055A
Log data creation device
JP2020095379A
