DISPLAY DEVICE AND COMPUTER-READABLE STORAGE MEDIUM
The display device correlates machined surface positions with control axis data through integrated acquisition and simulation units, enhancing operator understanding of machining processes and defect identification.
Patent Information
- Application Number
- DE112022006366
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2022-03-24
- Publication Date
- 2024-11-14
AI Technical Summary
Existing display technologies for machine tools do not visually depict the machined surface of a workpiece, making it difficult for operators to grasp the correspondence between the machined surface and the physical quantities on each control axis.
A display device that includes a tool data acquisition unit, material data acquisition unit, position data acquisition unit, simulation unit, linking unit, waveform image generation unit, selection unit, and display unit to generate and display machined area and waveform images, allowing operators to correlate machined surface positions with control axis data.
Enables operators to easily understand the relationship between machined surface positions and control axis physical quantities, facilitating quick identification of defects and errors.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical area
[0001] The present invention relates to a display device and a computer-readable storage medium. General state of the art
[0002] In the engineering field of machine tools, a technique has been proposed so far to visually display a trajectory of a tool and time series data indicating a physical quantity related to each control axis of the machine tool.
[0003] For example, Patent Literature Example 1 discloses displaying a trajectory of a tool in three-dimensional space and waveforms of time series data indicating positions on an X-axis, a Y-axis, an A-axis, a B-axis, and a C-axis. An operator can intuitively grasp the movement on each axis as the tool moves along the trajectory by examining this representation. Literature listPatent literature
[0004] Patent Literature Example 1: JP 2011-22688 A Brief description of the inventionTechnical problem
[0005] However, in the technique described in Patent Literature Example 1, no machined surface of a workpiece is drawn. Therefore, it is difficult for the operator to grasp which portion of the workpiece is machined when the tool moves along the trajectory. Therefore, there is a possibility that the operator cannot grasp the correspondence between the position on the machined surface of the workpiece machined by the tool and the physical quantity on each control axis obtained when the machined surface is machined.
[0006] Therefore, there is a need for a display device that allows the operator to easily grasp a correspondence relationship between a position on a machined surface of a workpiece and a physical quantity on each control axis obtained when the machined surface is machined. Solution to the problem
[0007] A display device includes a tool data acquisition unit that acquires tool data indicating a shape of a tool; a material data acquisition unit that acquires material data indicating a shape of a material; a position data acquisition unit that acquires position data indicating a position on each of a plurality of control axes; a simulation unit that executes machining simulation based on the tool data, the material data, and the position data to generate a machined surface image indicating a machined surface of the material; a linking unit that links the position data to the machined surface image;a waveform image generation unit that generates a waveform image indicating a change in the position data or in the physical quantity on each of the plurality of control axes based on the position data or on a physical quantity, the physical quantity being acquired at the time of acquiring the position data; a selection unit that selects a part of the machined surface image or a part of the waveform image; and a display unit that, when a part of the machined surface image is selected, displays the waveform image corresponding to the part of the machined surface image, and, when a part of the waveform image is selected, displays a part of the machined surface image corresponding to the part of the waveform image on a display screen.
[0008] A computer-readable storage medium stores an instruction that causes a computer to acquire tool data indicating a shape of a tool, acquire material data indicating a shape of a material, acquire position data indicating a position on each of a plurality of control axes, execute a machining simulation based on the tool data, the material data, and the position data to generate a machined surface image indicating a machined surface of the material, link the position data to the machined surface image, and generate a waveform image indicating a change in the position data or in a physical quantity on each of the plurality of control axes based on the position data or the physical quantity, wherein the physical quantity is acquired at a time of acquiring the position data.selecting a part of the image of the machined area or a part of the waveform image, and displaying the waveform image corresponding to the part of the image of the machined area when a part of the image of the machined area has been selected, and displaying a part of the image of the machined area corresponding to the part of the waveform image when a part of the waveform image has been selected, on a display screen. Advantageous effects of the invention
[0009] According to one aspect of the present disclosure, an operator can easily grasp a correspondence relationship between a position on a machined surface of a workpiece and a physical quantity on each control axis obtained when the machined surface is machined. Short description of the drawings Fig. 1 is a block diagram showing an example of a hardware structure of a machining apparatus. Fig. Figure 2 is a block diagram showing an example of functions of a numerical controller. Fig. Figure 3A is a diagram explaining a link between position data and an image of a machined area. Fig. Figure 3B is a diagram explaining the relationship between the position data and the image of the machined area. Fig. Figure 3C is a diagram explaining the relationship between the position data and the image of the machined area. Fig. Figure 4A is a diagram showing an example of an image of a machined area. Fig. Figure 4B is a diagram showing an example of the image of the machined area. Fig. Figure 5 is a diagram showing an example of a waveform image. Fig. 6 is a flowchart showing an example of a flow of processing executed by a display device. Fig. Figure 7 is a diagram showing an example of a waveform image. Fig. 8 is a flowchart showing an example of a flow of processing executed by the display device. Fig. 9 is a block diagram showing an example of functions of a display device mounted on a numerical controller. Fig. 10 is a diagram showing an example of a waveform image generated based on physical quantity data. Fig. 11 is a block diagram showing an example of functions of a display device. Fig. 12 is a diagram showing an example of functions of a display device. Fig. 13 is a diagram showing an example of a machined surface image on which a difference image is drawn. Description of an embodiment
[0010] With reference to the drawings, a display device according to an embodiment of the present disclosure will be described below. Note that not all combinations of features described in the following embodiment are necessarily required to solve the problem. Furthermore, a more detailed description than necessary may be omitted. The following description of the embodiment and the drawings are provided to enable those skilled in the art to fully understand the disclosure, but they are not intended to limit the scope of the claims.
[0011] The display device is a device that displays a correspondence relationship between a machined surface image indicating a machined surface of a material to be machined and a physical quantity obtained when the machined surface is machined, on a display screen.
[0012] The display device is installed, for example, on a numerical control system that controls the machining device. The display device can be installed on a server connected to the numerical control system or on a personal computer (PC). A display device installed on a numerical control system will be described below.
[0013] Fig. Figure 1 is a block diagram showing an example of the hardware configuration of a machining device with a numerical control system. The machining device 1 includes a machine tool, an electrical discharge machine, an injection molding machine, or a 3D printer. The machine tool includes a lathe, a machining center, or a combined machining device.
[0014] The machining device 1 comprises a numerical controller 2, an input / output device 3, a servo amplifier 4, a servo motor 5, a spindle amplifier 6, a spindle motor 7 and an auxiliary device 8.
[0015] The numerical controller 2 is a device that controls the entire machining device 1. The numerical controller 2 includes a hardware processor 201, a bus 202, a read-only memory (ROM) 203, a random access memory (RAM) 204, and a non-volatile memory 205.
[0016] The hardware processor 201 is a processor that controls the entire numerical controller 2 according to a system program. The hardware processor 201 reads a system program and the like stored in the ROM 203 via the bus 202 and performs various processes based on the system program. The hardware processor 201 controls the servo motor 5 and the spindle motor 7 based on a machining program. The hardware processor 201 is, for example, a central processing unit (CPU) or an electronic circuit.
[0017] For each control cycle, the hardware processor 201 analyzes, for example, the machining program and outputs control commands to the servo motor 5 and the spindle motor 7.
[0018] Bus 202 is a communication path that connects the individual hardware elements in numerical control 2. The individual hardware elements in numerical control 2 exchange data via bus 202.
[0019] The ROM 203 is a storage device that stores a system program and the like for controlling the entire numerical controller 2. The ROM 203 is a computer-readable storage medium.
[0020] RAM 204 is a storage device that temporarily stores various data. RAM 204 acts as a work area for hardware processor 201 to process various data.
[0021] The non-volatile memory 205 is a storage device that retains data even when the power supply of the machining device 1 is turned off and the numerical controller 2 is not supplied with power. The non-volatile memory 204 stores, for example, a machining program and various parameters. The non-volatile memory 204 is a computer-readable storage medium. The non-volatile memory 205 includes, for example, a battery-backed memory or a solid-state drive (SSD).
[0022] The numerical controller 2 further includes an interface 206, an axis control circuit 207, a spindle control circuit 208, a programmable logic controller (PLC) 209, and an input / output unit (I / O unit) 210.
[0023] The interface 206 connects the bus 202 and the input / output device 3. The interface 206 sends, for example, various data processed by the hardware processor 201 to the input / output device 3.
[0024] The input / output device 3 receives various data via the interface 2036 and displays the various data. The input / output device 3 receives inputs of various data and transmits the various data via the interface 206, for example, to the hardware processor 201.
[0025] The input / output device 3 is, for example, a touch panel. If the input / output device 3 is a touch panel, the input / output device 3 is, for example, a capacitive touch panel. Note that the touch panel is not limited to a capacitive touch panel, but may be a touch panel of other types. The input / output device 3 is installed on an operation panel (not shown) in which the numerical controller 2 is housed.
[0026] 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 hardware processor 201 and sends various commands to the servo amplifier 4 to drive the servo motor 5. The axis control circuit 207 sends, for example, a torque command to control the torque of the servo motor 5 to the servo amplifier 4.
[0027] The servo amplifier 4 receives a command from the axis control circuit 207 and supplies a current to the servo motor 5.
[0028] The servo motor 5 is driven by a current supplied from the servo amplifier 4. A servo motor 5 is provided on each control axis of the machining device 1. When the machining device 1 is a five-axis machining device, the servo motors 5 include, for example, an X-axis servo motor, a Y-axis servo motor, a Z-axis servo motor, an A-axis servo motor, and a C-axis servo motor.
[0029] The servo motor 5 is connected, for example, to a ball screw that drives a tool holder. When the servo motor 5 is driven, a component of the machining device 1, such as a tool holder, moves in a direction along a predetermined control axis. The servo motor has an encoder (not shown) that detects a position and a feed rate on the control axis. Position feedback information and speed feedback information indicating the position on the control axis and the feed rate on the control axis, respectively detected by the decoder, are fed back to the axis control circuit 207. As a result, the axis control circuit 207 performs feedback control of the control axis.
[0030] The spindle control circuit 208 is a circuit for controlling the spindle motor 7. The spindle control circuit 208 receives a control command from the hardware processor 201 and sends a command to drive the spindle motor 7 to the spindle amplifier 6. The spindle control circuit 208 sends, for example, a spindle speed command to control the rotation speed of the spindle motor 7 to the spindle amplifier 6.
[0031] The spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies a current to the spindle motor 7.
[0032] The spindle motor 7 is driven by a current supplied by the spindle amplifier 6. The spindle motor 7 is connected to the spindle and rotates the main spindle.
[0033] The PLC 209 is a device that executes a ladder program and controls the auxiliary device 8. The PLC 209 sends commands to the auxiliary device 8 via the I / O unit 210.
[0034] The I / O unit 210 is an interface that connects the PLC 209 and the auxiliary device 8. The I / O unit 210 sends the commands received from the PLC 209 to the auxiliary device 8.
[0035] The auxiliary device 8 is a device installed in the machining device 1 and performing an auxiliary operation in the machining device 1. The auxiliary device 8 operates based on a command received from the I / O unit 210. The auxiliary device 8 may be a device installed in the vicinity of the machining device 1. The auxiliary device 8 is, for example, a tool changer, a cutting fluid injection device, or a drive for an opening / closing door.
[0036] Next, the functions of the numerical control 2 will be described.
[0037] Fig. Figure 2 is a block diagram showing an example of the functions of the numerical controller 2. The numerical controller 2 includes a display device 20. The numerical controller 2 also includes a storage unit 21 and a control unit 22.
[0038] The storage unit 21 is implemented by storing various data and various programs in the RAM 204 or the non-volatile memory 205. The control unit 22 is implemented by the hardware processor 210 performing arithmetic processing using the system program stored in the ROM 203, the machining program, and various data stored in the non-volatile memory 205.
[0039] The storage unit 21 stores tool data indicating a shape of a tool and material data indicating a shape of a material. The storage unit 21 also stores the machining program.
[0040] The tool data is data that specifies the shape of the tool. The tool is, for example, a cutting tool. The tool data includes, for example, data that specifies a tool type. The tool type includes a square end mill, a ball end mill, a milling tool, and a chisel. The tool data can include data that specifies a blade diameter, a blade length, a shank diameter, and an overall length. The tool data can be three-dimensional computer-aided design (CAD) data that specifies the shape of the tool.
[0041] The material data is data indicating the shape of the material before processing. The material is a workpiece to be processed by the processing device 1. The shape of the material includes a rectangular parallelepiped shape, a columnar shape, and a cylindrical shape. The material data includes data indicating the size of the material. The data indicating the size includes data indicating the length, height, thickness, and depth of each side. The material data can be three-dimensional CAD data indicating the shape of the material.
[0042] The control unit 22 controls one or more control axes. The control unit 22 controls each control axis based on the machining program stored in the storage unit 21. The one or more control axes include at least one of an X-axis, a Y-axis, and a Z-axis. The plurality of control axes may further include at least one of an A-axis, a B-axis, and a C-axis.
[0043] The display device 20 includes a tool data acquisition unit 211, a material data acquisition unit 212, a position data acquisition unit 213, a simulation unit 214, a linking unit 215, a waveform image generation unit 216, a selection unit 217, and a display unit 218. The tool data acquisition unit 211, the material data acquisition unit 212, the position data acquisition unit 213, the simulation unit 214, the linking unit 215, the waveform image generation unit 216, the selection unit 217, and the display unit 218 are implemented, for example, by the hardware processor 201 performing arithmetic processing using a display program stored in the ROM 203 and various data stored in the nonvolatile memory 205.
[0044] The tool data acquisition unit 211 acquires the tool data stored in the storage unit 21 of the numerical controller 2. The tool data acquisition unit 211 may acquire the tool data from an external device connected to the numerical controller 2. Examples of the external device include a server connected to the numerical controller 2 via a network and a PC.
[0045] The material data acquisition unit 212 acquires the material data stored in the storage unit 21 of the numerical controller 2. The material data acquisition unit 212 may acquire the material data from the external device connected to the numerical controller 2.
[0046] The position data acquisition unit 213 acquires position data indicating the positions on the multiple control axes of the machining device 1. The position data is, for example, feedback data from a detector that detects positions on the multiple control axes of the machining device 1. In this case, the position data acquisition unit 213 acquires position data from the detector that detects the position on the control axis at each predetermined sampling time. That is, the position data acquired by the position data acquisition unit 213 is time-series data. The position data acquisition unit 213 acquires the position data via the control unit 22.
[0047] The detector that detects the positions on the multiple control axes is, for example, the servo motor 5. The detector may be a linear encoder arranged along each linear axis of the machining device 1 or a rotary encoder arranged around each rotary axis.
[0048] The position data may be data indicating coordinate values converted from the feedback data in a predetermined coordinate system. For example, the position data may be data indicating the position of the tool tip. In this case, the position data is, for example, data indicating positions on the X-axis, Y-axis, and Z-axis of the tool in an orthogonal coordinate system. The orthogonal coordinate system may be a machine coordinate system or a workpiece coordinate system. The position data is not limited to the feedback data but may also be command data that commands the rotational position of the servo motor 5.
[0049] The simulation unit 214 performs machining simulation based on the tool data acquired by the tool data acquisition unit 211, the material data acquired by the material data acquisition unit 212, and the position data acquired by the position data acquisition unit 213 to generate a machined surface image indicating the machined surface of the material.
[0050] The machined surface image is an image of a surface newly created by the tool cutting an unnecessary portion of the material based on the machining program. The machined surface image will be described in detail later.
[0051] The linking unit 215 links the position data of the tool obtained by the position data obtaining unit 213 with the image of the machined surface generated by the simulation unit 214.
[0052] Fig. Figures 3A to 3C are diagrams explaining the relationship between the position data and the image of the machined area. Fig. Figure 3A is a diagram showing an image of a rectangular parallelepiped material M when viewed from the positive direction of the Z-axis to the negative direction. This image shows that a portion of the upper surface has been cut by a square end mill. The cut portion is a machined surface F.
[0053] Fig. Figure 3B is an enlarged view of the machined surface F shown in Fig. 3A is shown. (X1, Y1, Z1), (X2, Y2, Z2), (X3, Y3, Z3), (Xn-1, Yn-1, Zn-1) and (Xn, Yn, Zn) which are in Fig. 3B are position data acquired at each predetermined sampling time during the machining of the material M by the tool. An identification information ID may be appended to each position data.
[0054] The linking unit 215 links the image of the machined surface F machined by the tool during a predetermined sampling time t with the position data.
[0055] For example, the linking unit 215 links an image of a machined surface A1 of the machined surface F, which was machined during the sampling time t by moving the position of the tool from (X0, Y0, Z0) to (X1, Y1, Z1), with position data (X1, Y1, Z1). The linking unit 215 links an image of a machined surface A2 of the machined surface F, which was machined during the next sampling time t by moving the position of the tool from (X1, Y1, Z1) to (X2, Y2, Z2), with position data (X2, Y2, Z2). Furthermore, the linking unit 215 links an image of a machined surface A3 of the machined surface F, which was machined during the next sampling time t by moving the position of the tool from (X2, Y2, Z2) to (X3, Y3, Z3), with position data (X3, Y3, Z3).
[0056] Similarly, the linking unit 215 links a machined surface image An-1 of the machined surface F, which was machined during the sampling time t by moving the position of the tool from (Xn-2, Yn-2, Zn-2) to (Xn-1, Yn-1, Zn-1), with position data (Xn-1, Yn-1, Zn-1). Furthermore, the linking unit 215 links a machined surface image An of the machined surface F, which was machined during the next sampling time t by moving the position of the tool from (Xn-1, Yn-1, Zn-1) to (Xn, Yn, Zn), with position data (Xn, Yn, Zn).
[0057] Fig. Figure 3C shows an image of a machined surface when part of the material in Fig. 3A is viewed from the diagonal front. By cutting the upper surface of the material M with the square end mill, a machined surface F parallel to the xy plane and a machined surface F parallel to the yz plane are formed on the material M. That is, the machined surface image A1, the machined surface image A2, the machined surface image A3, the machined surface image An-1, and the machined surface image An each contain a machined surface image of the machined surface F parallel to the xy plane and a machined surface image of the machined surface F parallel to the yz plane. Now, the description returns to Fig. 2 back.
[0058] The waveform image generation unit 216 generates a waveform image based on the position data. The waveform image is an image of time-series data indicating the position on each of the plurality of control axes. The waveform image will be described in detail later.
[0059] The display unit 218 displays the image of the machined surface, which has been linked to the position data by the linking unit 215, on a display screen. Along with the image of the machined surface, the display unit 218 can display the waveform image on the display screen.
[0060] Fig. 4A and Fig. 4B are diagrams showing an example of the image of the machined area. Fig. Figure 4B is an enlarged view of a portion of the image of the machined area shown in Fig. 4A. An operator observes the machined surface image displayed on the display screen and checks whether a quality-related defect such as a flaw has occurred on the surface of the machined surface image generated by the simulation.
[0061] When the operator determines that a defect has occurred on the machined surface F by observing the image of the machined surface, the display unit 218 magnifies the portion where the defect has occurred based on an operator operation. Here, the operator operation is an operation to magnify the image of the machined surface. When the input / output device 3 is a touch panel, the operator magnifies the image of the machined surface, for example, by performing a pinch operation on the touch panel.
[0062] The selection unit 217 selects a portion of the image of the processed area. The selection unit 217 selects the portion of the image of the processed area, for example, based on an operator's operation to select a portion of the image of the processed area displayed on the display screen of the input / output device 3. The operator performs the selection operation, for example, by touching a defective portion of the enlarged image of the processed area.
[0063] When a portion of the machined area image is selected, the display unit 218 displays a waveform image corresponding to the portion of the machined area image. The waveform image corresponding to a portion of the machined area image is a waveform image generated based on the position data combined with the machined area image by the combining unit 215.
[0064] Fig. Figure 5 is a diagram showing an example of a waveform image. The waveform image indicates changes in the position data on the X-axis, the position data on the Y-axis, and the position data on the Z-axis. That is, the waveform image is an image showing the temporal transition of the position data indicating the position on one or more control axes.
[0065] The waveform image indicates the position on each control axis when machining the vicinity of the machined area F corresponding to a part of the machined area image selected by the selection unit 217. For example, the waveform image in Fig. 5 an image indicating the position on each control axis when the vicinity of the defective portion included in the image of the machined surface in Fig. 4B is shown, is processed.
[0066] In the waveform image of Fig. 5, the waveform indicating the Z-axis position fluctuates significantly. Therefore, the operator can judge that the defect drawn in the image of the machined surface is due to the influence of the change in the Z-axis position.
[0067] Next, the processing performed by the display device 20 will be described.
[0068] Fig. 6 is a flowchart showing an example of processing performed by the display device 20. When the machining program is executed and the operation of the machining device 1 begins, the display device 20 acquires data (step SA1). Here, the tool data acquisition unit 211 acquires tool data. The material data acquisition unit 212 acquires material data. The position data acquisition unit 213 begins acquiring position data.
[0069] It should be noted that the material M does not necessarily have to be actually processed during the operation of the processing device 1. That is, the processing device 1 can be operated without setting up the material M in the processing device 1.
[0070] Next, the simulation unit 214 performs a machining simulation based on the tool data, the material data, and the position data to generate a machined surface image indicating the machined surface F of the material M (step SA2). Note that the simulation unit 214 may perform the simulation during the operation of the machining device 1. However, the simulation unit 214 does not necessarily need to perform the simulation during the operation of the machining device 1. For example, the position data acquisition unit 213 may store position data acquired during the execution of the machining program in a predetermined storage unit (not shown), and the simulation unit 214 may perform the simulation using the position data stored in the storage unit.
[0071] Next, the linking unit 215 links the position data with the image of the machined surface (step SA3).
[0072] Subsequently, the waveform image generation unit 216 generates a waveform image based on the position data (step SA4). For example, the waveform image generation unit 216 generates a waveform image after the operation of the processing device has ended.
[0073] Next, the display unit 218 displays the image of the machined surface on the display screen (step SA5). At this time, the display unit 218 may display the waveform image on the display screen along with the image of the machined surface.
[0074] Next, the selection unit 217 selects a part of the image of the machined area based on, for example, an operation by the operator (step SA6).
[0075] Then, the display unit 218 displays the waveform image corresponding to the part of the machined area image (step SA7), thus ending the processing.
[0076] As described above, the display device 20 includes a tool data acquisition unit 211 that acquires tool data indicating a shape of a tool; a material data acquisition unit 212 that acquires material data indicating a shape of a material M; a position data acquisition unit 213 that acquires position data indicating a position on each of a plurality of control axes; a simulation unit 214 that performs machining simulation based on the tool data, the material data, and the position data to generate a machined surface image indicating a machined surface F of the material M; a linking unit 215 that links the position data with the machined surface image;a waveform image generation unit 216 that generates a waveform image indicating a change in the position data or in the physical quantity on each of the plurality of control axes based on the position data or on a physical quantity, the physical quantity being acquired at the time of acquiring the position data; a selection unit 217 that selects a part of the image of the machined surface; and a display unit 218 that, when a part of the image of the machined surface has been selected, displays a waveform image corresponding to the part of the image of the machined surface on a display screen.
[0077] Therefore, the display device 20 allows the operator to easily grasp the correspondence between the position of the workpiece on the machined surface F and the position on each control axis obtained during the machining of the machined surface F. Specifically, by the operator selecting a part of the machined surface image in which a defect or the like is displayed, the display device 218 can display a part of the waveform image corresponding to the part of the machined surface image in which the defect is displayed on the display screen. This allows the operator to judge which of the multiple control axes an error has occurred on.
[0078] Based on the operator's operation to select a part of the waveform image, the display device 20 can display an image of the machined area corresponding to the part of the waveform image. In this case, the display unit 218 displays the waveform image on the display screen and accepts a selection operation made by the operator on a part of the waveform image.
[0079] Fig. 7 is a diagram showing an example of the waveform image. When the operator observes the waveform image and determines that an abnormality has occurred in the waveform on a control axis, the display unit 218 magnifies a portion of the waveform image based on an operator operation. Here, the operator operation is an operation to enlarge the waveform image. When the input / output device 3 is a touch panel, the operator enlarges the waveform image, for example, by performing a pinch operation on the touch panel.
[0080] Next, the selection unit 217 selects a part of the waveform image. The selection unit 217 selects the part of the waveform image, for example, based on an operator's operation to select a part of the waveform image displayed on the display screen of the input / output device 3. The operator performs the selection operation, for example, by touching a portion of the enlarged waveform image. Note that the selection unit 217 may automatically select, for example, a part where the waveform amplitude exceeds a predetermined threshold, regardless of a selection operation by the operator.
[0081] When a portion of the waveform image is selected, the display unit 218 displays a portion of the machined area image corresponding to the portion of the waveform image. The machined area image corresponding to the portion of the waveform image is an image of the machined area associated with position data representing elements for forming the waveform image.
[0082] For example, if a dashed part of the waveform image is in Fig. 7 has been selected, the display unit 218 shows, for example, the Fig. 4B on the display screen. As a result, the display unit 218 can display the image of the machined area corresponding to the part of the waveform image on the display screen.
[0083] Next, a description will be given of a flow of processing executed by the display device 20 when the display device 20 displays an image of the machined surface corresponding to the part of the waveform image based on an operation of the operator to select a part of the waveform image.
[0084] Fig. Fig. 8 is a flowchart showing an example of a flow of processing executed by the display device 20. The flow of processing from step SB1 to step SB4 is similar to the flow shown in Fig. 6 is the same as the processes shown from step SA1 to step SA4, which is why its description is omitted here.
[0085] When the process of Figure SB4 ends, the display unit 218 displays the waveform image on the display screen (step SB5).
[0086] Next, the selection unit 217 selects a part of the waveform image based on, for example, an operation by the operator (step SB6).
[0087] Next, the display unit 218 displays the image of the machined area corresponding to the part of the waveform image (step SB7), thus ending the processing.
[0088] As described above, the display device 20 includes a tool data acquisition unit 211 that acquires tool data indicating a shape of a tool; a material data acquisition unit 212 that acquires material data indicating a shape of a material M; a position data acquisition unit 213 that acquires position data indicating a position on each of a plurality of control axes; a simulation unit 214 that performs machining simulation based on the tool data, the material data, and the position data to generate a machined surface image indicating a machined surface F of the material M; a linking unit 215 that links the position data with the machined surface image;a waveform image generation unit 216 that generates a waveform image indicating a change in the position data or in the physical quantity on each of the plurality of control axes based on the position data or on a physical quantity, the physical quantity being acquired at the time of acquiring the position data; a selection unit 217 that selects a part of the machined surface image or a part of the waveform image; and a display unit 218 that, when a part of the machined surface image is selected, displays a waveform image corresponding to the part of the machined surface image on a display screen.
[0089] Therefore, the display device 20 allows the operator to easily grasp the correspondence between the position of the workpiece on the machined surface F and the position on each control axis obtained during the machining of the machined surface F. Specifically, by the operator selecting a part of the waveform image in which an abnormality is suspected to have occurred on a control axis in the waveform, the display device 218 can display a part of the machined surface image corresponding to that part of the waveform image. This allows the operator to quickly locate a portion of the machined surface F where a defect or the like may occur.
[0090] In the above-described embodiment, the display unit 20 displays the correspondence relationship between the machined surface image indicating the machined surface F of the material M to be machined and the position on each control axis when the machined surface F is machined on the display screen. However, the display device 20 may display a correspondence relationship between the machined surface image indicating the machined surface F of the material M to be machined and a physical quantity on each control axis when the machined surface F is machined on the display screen.
[0091] Fig. Fig. 9 is a block diagram showing an example of functions of a display device 20 installed on the numerical controller 2. The display device 20 shown in Fig. 9 is different from the display device 20 shown in Fig. 2, in that it has a physical quantity data acquisition unit 219. Therefore, the physical quantity data acquisition unit 219 and the function associated therewith will be described here, while a description of the same functions as those described with reference to Fig. 2 will be omitted.
[0092] The physical quantity data acquisition unit 219 is implemented, for example, by having the hardware processor 201 perform arithmetic processing using the display program stored in the ROM 203 and various data stored in the nonvolatile memory 205.
[0093] The physical quantity data acquisition unit 219 acquires physical quantity data indicating a physical quantity on a plurality of control axes. The physical quantity is a physical quantity other than position and includes at least one of velocity, acceleration, jerk, or torque.
[0094] The physical quantity data acquisition unit 219 acquires a physical quantity based, for example, on a signal from a detector that acquires the physical quantity of each control axis. The physical quantity data acquisition unit 219 acquires physical quantity data from the detector at each predetermined sampling time. That is, the physical quantity data acquired by the physical quantity data acquisition unit 219 is time-series data.
[0095] The detector that detects the physical quantity on the control axis is, for example, the servo motor 5. For example, the physical quantity data acquisition unit 219 acquires physical quantity data indicating the speed of each control axis by detecting the amount of change per unit time in the rotational position of the servo motor. Or, the physical quantity data acquisition unit 219 acquires physical quantity data indicating the magnitude of the torque of the servo motor based on the current value supplied to the servo motor.
[0096] The waveform image generation unit 216 generates, based on the physical quantity data, a waveform image indicating the physical quantity on the multiple control axes acquired at the time the position data was acquired. For example, the position data and the physical quantity data are assigned the same index according to the acquisition time. Thus, the waveform image generation unit 216 generates the waveform image of the physical quantity data acquired at the time the position data was acquired. Here, the physical quantity data acquired at the time the position data was acquired is not necessarily data acquired at exactly the same time. For example, the position data and the physical quantity data may be data acquired shifted from each other by several milliseconds to several tens of milliseconds.
[0097] Fig. Figure 10 is a diagram showing an example of a waveform image generated based on physical quantity data. The waveform image generated in Fig. For example, Figure 10 is a waveform diagram indicating a change in the torque of each control axis.
[0098] When the waveform image generating unit 216 generates the waveform image, the selecting unit 217 selects a part of the image of the machined area or a part of the waveform image.
[0099] For example, when the display unit 218 displays the processed area image and the waveform image on the display screen, and the operator performs an operation to select a part of the processed area image, the selection unit 217 selects a part of the processed area image. On the other hand, when the operator performs an operation to select a part of the waveform image, the selection unit 217 selects a part of the waveform image.
[0100] If a portion of the machined area image is selected, the display unit 218 displays a waveform image corresponding to the portion of the machined area image. On the other hand, if a portion of the waveform image is selected, the display unit 218 displays a portion of the machined area image corresponding to the portion of the waveform image.
[0101] As described above, the display device 20 includes a tool data acquisition unit 211 that acquires tool data indicating a shape of a tool; a material data acquisition unit 212 that acquires material data indicating a shape of a material M; a position data acquisition unit 213 that acquires position data indicating a position on each of a plurality of control axes; a simulation unit 214 that performs machining simulation based on the tool data, the material data, and the position data to generate a machined surface image indicating a machined surface F of the material M; a linking unit 215 that links the position data with the machined surface image;a waveform image generation unit 216 that generates a waveform image indicating a change in the position data or in the physical quantity on each of the plurality of control axes based on the position data or on a physical quantity, the physical quantity being acquired at the time the position data is acquired; a selection unit 217 that selects a part of the machined surface image or a part of the waveform image; and a display unit 218 that, when a part of the machined surface image is selected, displays the waveform image corresponding to the part of the machined surface image on a display screen, and, when a part of the waveform image is selected, displays a part of the machined surface image corresponding to the part of the waveform image.
[0102] Therefore, the display device 20 allows the operator to easily grasp the correspondence between the position of the workpiece on the machined surface F and the physical quantity on each control axis obtained during the machining of the machined surface F. Specifically, by the user selecting a portion of the machined surface image in which a defect or the like is drawn, the display device 218 can display a portion of the waveform image corresponding to the portion of the machined surface image in which the defect is drawn on the display screen. This allows the user to quickly assess which of the multiple control axes an error has occurred.
[0103] When the operator judges from the waveform that a defect has occurred on a control axis, the display device 20 can display a portion of the machined surface image corresponding to a portion of the waveform image based on an operator's operation. This allows the operator to quickly locate a portion of the machined surface F where a defect or the like may occur.
[0104] The display device 20 may further include a reference area data acquisition unit and a difference data acquisition unit.
[0105] Fig. 11 is a block diagram showing an example of functions of a display device 20 including a reference area data acquisition unit 220 and a difference data acquisition unit 221. The display device 20 shown in Fig. 11 is different from the display device 20 shown in Fig. 2, in that it has a reference area data acquisition unit 220 and a difference data acquisition unit 221. Therefore, the reference area data acquisition unit 220, the difference data acquisition unit 221 and the functions associated therewith will be described here, while a description of the same functions as those described with reference to Fig. 2 will be omitted.
[0106] The reference area data acquisition unit 220 and the difference data acquisition unit 220 are implemented, for example, by the hardware processor 201 performing calculation processing using the display program stored in the ROM 203 and various data stored in the nonvolatile memory 205.
[0107] The reference surface data acquisition unit 220 acquires reference surface data indicating a reference surface serving as the reference for the machined surface F. The reference surface is a machined surface generated based on the material data, the tool data, and the tool movement path determined by the machining program. That is, the reference surface data is surface data indicating the ideal shape of the machined surface F.
[0108] The difference data acquisition unit 221 acquires difference data indicating a difference between the position of the reference surface indicated by the reference surface data and the position of the machined surface F indicated by the image of the machined surface generated by the simulation unit 214. That is, the difference data is data indicating the deviation of the shape of the machined surface F generated by the simulation from the shape of the machined surface with the ideal shape.
[0109] Based on the difference data, the display unit 218 displays the difference image indicating the difference on the machined surface F. The difference image is drawn, for example, by adding a predetermined color to the image of the machined surface.
[0110] The display device 20 may further include a threshold storage unit 222 that stores a threshold to be compared with the difference obtained by the difference data obtaining unit 221, and a comparison unit 223 that compares the difference with the threshold.
[0111] Fig. 12 is a diagram showing an example of functions of a display device 20 including the threshold storage unit 222 and the comparison unit 223. The display device 20 shown in Fig. 12 is different from the display device 20 shown in Fig. 11, in that it comprises a threshold storage unit 221 and a comparison unit 222. Therefore, the threshold storage unit 222, the comparison unit 223 and the functions associated therewith will be described here, while a description of the same functions as those described with reference to Fig. 11 will be omitted.
[0112] The threshold storage unit 222 is implemented by storing data indicating the threshold in the RAM 204 or the non-volatile memory 205. The comparison unit 223 is implemented, for example, by the hardware processor 201 performing calculation processing using the display program stored in the ROM 203 and various data stored in the non-volatile memory 205.
[0113] The threshold storage unit 222 stores a threshold to be compared with the difference indicated by the difference data acquired by the difference data acquisition unit 221.
[0114] The comparison unit 223 compares the difference with the threshold value. If the difference is equal to or greater than the threshold value, the display unit 218 displays the difference image based on the difference data on the image of the machined area. For example, the display unit 218 displays the difference image on the image of the machined area by adding a color to the image of the machined area.
[0115] Fig. Figure 13 is a diagram showing an example of an image of a machined surface on which a difference image is drawn. Fig. 13, some sections of the image of the machined surface (sections indicated by black squares) are colored differently than the other sections. This allows the operator to recognize that some sections of the machined surface that are colored differently than the other parts are sections with large deviations from the reference surface.
[0116] The threshold storage unit 222 may store multiple thresholds. For example, the threshold storage unit 222 may store a first threshold and a second threshold that is greater than the first threshold. In this case, the comparison unit 223 compares each difference value constituting the difference data with the first threshold and the second threshold.
[0117] The display unit 20 can classify each difference value into a group of values less than the first threshold, a group of values equal to or greater than the first threshold and less than the second threshold, and a group of values equal to or greater than the second threshold, and display difference images for each group in a different color. This allows the operator to estimate the deviation of the machined surface F created by performing the machining from the ideal machined shape.
[0118] Note that the present disclosure is not limited to the above embodiment, but can be modified as appropriate without departing from its essence. In the present disclosure, any component of the embodiment can be modified, and any component of the embodiment can be omitted. List of reference symbols 1 processing device 2 numerical control 20 Display device 21 storage unit 22 Control unit 201 hardware processor 202 Bus 203 ROM 204 RAM 205 non-volatile memory 206 Interface 207 Axis control circuit 208 spindle control circuit 209 PLC 210 I / O unit 211 Tool data acquisition unit 212 Material Data Acquisition Unit 213 Position data acquisition unit 214 Simulation Unit 215 Linking unit 216 Waveform image generation unit 217 Voting Unit 218 display unit 219 Physical Quantity Data Acquisition Unit 220 Reference area data acquisition unit 221 Difference Data Acquisition Unit 222 Threshold storage unit 223 Comparison unit 3 Input / output device 4 servo amplifiers 5 Servo motor 6 spindle amplifiers 7 spindle motor 8 Auxiliary equipment QUOTES CONTAINED IN THE DESCRIPTION
[0000] This list of documents submitted by the applicant was generated automatically and is included solely for the convenience of the reader. This list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions. Cited patent literature
[0000] JP 2011-22688 A
[0004]
Claims
[1] Display device, comprising a tool data acquiring unit that acquires tool data indicating a shape of a tool; a material data acquisition unit that acquires material data indicating a shape of a material; a position data acquisition unit that acquires position data indicating a position on each of a plurality of control axes; a simulation unit that performs machining simulation based on the tool data, the material data, and the position data to generate a machined surface image indicating a machined surface of the material; a linking unit that links the position data with the image of the machined area; a waveform image generation unit that generates a waveform image indicating a change in the position data or in the physical quantity on each of the plurality of control axes based on the position data or on a physical quantity, the physical quantity being acquired at a time of acquiring the position data; a selection unit that selects a part of the image of the machined area or a part of the waveform image; and a display unit that, when a part of the image of the machined area has been selected, displays the waveform image corresponding to the part of the image of the machined area, and, when a part of the waveform image has been selected, displays a part of the image of the machined area corresponding to the part of the waveform image on a display screen. [2] The display device according to claim 1, wherein the physical quantity is at least one of a speed, an acceleration, a jerk, or a torque. [3] The display device according to claim 1 or 2, further comprising a reference surface data acquisition unit that acquires reference surface data indicating a reference surface as a reference for the machined surface; and a difference data acquisition unit that acquires difference data indicating a difference between a position of the reference surface and a position of the machined surface, wherein the display unit displays a difference image indicating the difference on the image of the machined surface based on the difference data. [4] The display device according to claim 3, further comprising a threshold storage unit that stores a threshold to be compared with the difference; and a comparison unit that compares the difference with the threshold value, wherein the display unit displays the difference image based on the difference data on the image of the machined area when the difference is equal to or greater than the threshold value. [5] Computer-readable storage medium that stores an instruction that causes a computer to obtaining tool data that specify a shape of a tool, obtaining material data that specify a shape of a material, obtaining position data indicating a position on each of several control axes, performing a machining simulation based on the tool data, the material data and the position data to generate a machined surface image indicating a machined surface of the material, linking the position data with the image of the machined area, generating a waveform image indicating a change in the position data or in a physical quantity on each of the plurality of control axes based on the position data or on the physical quantity, the physical quantity being obtained at a time of obtaining the position data, selecting a part of the image of the machined area or a part of the waveform image, and displaying the waveform image corresponding to the part of the image of the machined area when a part of the image of the machined area has been selected, and displaying a part of the image of the machined area corresponding to the part of the waveform image when a part of the waveform image has been selected, on a display screen.
Citation Information
Patent Citations
Tool path display apparatus for machine tool
JP2011022688A
