MACHINING SIMULATION DISPLAY APPARATUS AND MACHINING SIMULATION DISPLAY METHOD
20190235473 ยท 2019-08-01
Assignee
Inventors
Cpc classification
G05B19/402
PHYSICS
Y02P90/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G05B2219/35335
PHYSICS
International classification
G05B19/4068
PHYSICS
Abstract
A machining simulation display apparatus displays, on a display screen, an image of a shape of a workpiece and a shape of a tool that machines the workpiece, and includes a display update unit to provide a command to combine, at a change point on a trajectory of the tool, an image of the shape of the tool displayed on the display screen and an image of the shape of the workpiece at a first display update timing at which the image displayed on the display screen is updated or at a second display update timing that is a time point after a lapse of a constant display update interval since the first display update timing, the change point being present between the first display update timing and the second display update timing.
Claims
1. A machining simulation display apparatus that displays, on a display screen, an image of a shape of a workpiece and a shape of a tool that machines the workpiece and that displays an animation of a process of machining the workpiece and a process of moving the tool, the apparatus comprising: display update circuitry to provide a command to combine, at a change point on a trajectory of the tool, an image of the shape of the tool displayed on the display screen and an image of the shape of the workpiece, the change point being present between a first display update timing at which the image displayed on the display screen is updated and a second display update timing that is a time point after a lapse of a constant display update interval since the first display update timing,. wherein the image displayed on the display screen includes an image of the shape of the workpiece and an image of the shape of the tool at the change point.
2. The machining simulation display apparatus according to claim 1, wherein the change point is a position at which a translational axis or a rotational axis of the machine tool is reversed.
3. The machining simulation display apparatus according to claim 1, wherein the change point is a position at which a shape of the trajectory of the tool changes.
4. The machining simulation display apparatus according to claim 1, wherein the display update circuitry combines an image of the shape of the workpiece updated at the second display update timing and an image of the shape of the tool updated.
5. The machining simulation display apparatus according to claim 1, wherein the display update circuitry combines an image of the shape of the workpiece updated at the first display update timing and an image of the shape of the tool updated at the change point.
6. A machining simulation display method performed by a machining simulation display apparatus that displays, on a display screen, an image of a shape of a workpiece and a shape of a tool that machines the workpiece and that displays an animation of a process of machining the workpiece and a process of moving the tool, the method comprising: determining a change point on a trajectory of the tool between a first display update timing at which the image displayed on the display screen is updated and a second display update timing that is a time point after a lapse of a constant display update interval since the first display update timing; combining an image of the shape of the workpiece updated at the first display update timing and an image of the shape of the tool updated at the change point and displaying a combined image on the display screen; and combining an image of the shape of the workpiece updated at the second display update timing and an image of the shape of the tool updated at the second display update timing and displaying a combined image on the display screen.
7. The machining simulation display apparatus according to claim 2, wherein the change point is a position at which a shape of the trajectory of the tool changes.
8. The machining simulation display apparatus according to claim 2, wherein the display updater combines an image of the shape of the workpiece updated at the second display update timing and an image of the shape of the tool updated at the change point.
9. The machining simulation display apparatus according to claim 3, wherein the display updater combines an image of the shape of the workpiece updated at the second display update timing and an image of the shape of the tool updated at the change point.
10. The machining simulation display apparatus according to claim 7, wherein the display updater combines an image of the shape of the workpiece updated at the second display update timing and an image of the shape of the tool updated at the change point.
11. The machining simulation display apparatus according to claim 2, wherein the display updater combines an image of the shape of the workpiece updated at the first display update timing and an image of the shape of the tool updated at the change point.
12. The machining simulation display apparatus according to claim 3, wherein the display updater combines an image of the shape of the workpiece updated at the first display update timing and an image of the shape of the tool updated at the change point.
13. The machining simulation display apparatus according to claim 7, wherein the display updater combines an image of the shape of the workpiece updated at the first display update timing and an image of the shape of the tool updated at the change point.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
DESCRIPTION OF EMBODIMENTS
[0020] A machining simulation display apparatus and a machining simulation display method according to embodiments of the present invention will be described below in detail with reference to the drawings. This invention is not limited to the embodiments.
First Embodiment
[0021]
[0022]
[0023] The machine tool 200 illustrated in
[0024] The x-axis driving mechanism 26x includes an x-axis motor 27x; a feed shaft 28z. driven by the x-axis motor 27x; and a rotation-angle detector 29x that detects the rotation angle of the feed shaft 23x. The y-axis driving mechanism 26y includes a y-axis motor 27y; a feed shaft 28y driven by the y-axis motor 27y; and a rotation-angle detector 22y that detects the rotation angle of the feed shaft 28y. The x-axis driving mechanism 26z includes a z-axis motor 21z; a feed shaft 28z driven by the x-axis motor 27z; and a rotation-angle detector 29z that detects the rotation angle of the feed shaft 28z. Examples of the machine tool include, other than the orthogonal three-axis vertical machine tool illustrated as an example in
[0025] The x-axis driving mechanism 26x moves the work table 23, and the y-axis driving mechanism 26y moves the saddle 22 and the x-axis driving mechanism 26x placed on the top of the saddle 22. The z-axis driving mechanism 26 attached to the column 24 moves the ram 25 and a spindle 30, and the workpiece 300 is machined by a tool 31 attached to the tip of the spindle 30. As a result, with the combination of two degrees of freedom in movement of the workpiece 300 in the xy plane and one degree of freedom in movement of the tool 31 in the s-axis direction, the material of the workpiece 300 is removed from its surface at the portion where the tool 31 intersects with the workpiece 300 in the xyz space or three-dimensional space, i.e., with three degrees of freedom. Consequently, a three-dimensional shape is created.
[0026] The machining simulator 100 illustrated in
[0027] The machining program data 10 is data that describes a plurality of tool movement commands that are movement commands for the tool 31 in
[0028] The workpiece shape data 11 is data obtained by simulating, with a three-dimensional shape model, the instantaneous shape of the workpiece 300 from the machining start position to the machining end position. The workpiece display image data 13 is image data for a workpiece obtained by projecting the three-dimensional shape model represented by the workpiece shape data 11 in accordance with the projection display parameter 12. The workpiece display image data 13 is a combination of color data representing brightness and color of pixels and depth data representing the depth information for the projection.
[0029] The machining simulator 100 further includes a tool shape display unit 3 that performs, on the basis of the position and posture of the tool at a designated time point during the machining simulation, a projection process or; the three-dimensional shape model represented by the tool, shape data 14 in accordance with the projection display parameter 12 and then outputs tool, display image data 15. The tool shape data 14 is data obtained by simulating the shape of the tool 31 by using a three-dimensional shape model. The tool display image data 25 is a display image obtained by projecting the three-dimensional shape model represented by the tool shape data 14 in accordance with the projection display parameter 12. The tool display image data 15 is a combination of color data representing brightness and color or pixels and depth data representing the depth information for the projection.
[0030] The machining simulator 100 further includes a display image combining unit 4 that, on the basis of the workpiece display image data 13 and the tool display image data 15, combines a workpiece shape image and a tool shape image to generate and output combined display image data 16 for displaying, on a display screen 400, the combined image of the workpiece shape image and the tool shape image. The combined display image data 16 is image data obtained by performing a hidden surface elimination process on the workpiece display image data 13 and the tool display image data 15 by using z-buffering. The combined display image data 16 is output to the display screen 400 connected to the machining simulator 100. The display screen 400 displays, on the basis of the combined display image data 16, an image that reproduces the shapes of the workpiece 300 and the tool 31 illustrated in
[0031] The machining simulator 100 further includes a display update unit 5 that updates an image of the shape of the tool displayed on the display screen 400 at a change point on the tool trajectory between the first display update timing at which an image displayed on the display screen 400 is updated and the second display update timing that is a time point after the lapse of a constant display update interval since the first display update timing. The display update unit 5 outputs an execution command 5a to cause the workpiece shape display unit 2, the tool shape display unit 3, and the display image combining unit 4 to update image data at the time when the display update interval has elapsed. Examples of the time when the display update interval has elapsed include a time point when a certain period of time has elapsed and a time point when a certain number of tool movement commands among a plurality of tool movement commands have been executed.
[0032] The display update unit 5 includes a control unit 51 and a storage unit 52. The control unit 51 detects the position at which a translational axis or a rotational axis of the machine tool is reversed on the tool trajectory between the first display update timing and the second display update timing during simulation based on the tool movement commands described in the machining program data 10. Hereinafter, the position at which a translational axis or a rotational axis is reversed is in some cases referred to as a change point or an intermediate point. The period of time between the first display update timing and the second display update timing corresponds to the display update interval described above. The feed shafts 28x, 28y, and 23z illustrated in
[0033] When there are one or a plurality of pieces of the tool intermediate point data 17 at intermediate points between the first display update timing and the second display update timing, the control unit 51 controls the tool shape display unit 3 on the basis of the position and posture of the tool at the one or a plurality of intermediate points. Consequently, the tool display image data 15 at the intermediate point(s) is generated in the tool shape display unit 3. The display image combining unit 4 combines a workpiece shape image and a tool shape image at an intermediate point on the basis of the tool display image data 15 and the workpiece display image data 13 at the intermediate point so as to generate the combine display image data 16.
[0034] After the tool display image data 15 is generate for all the tool intermediate points, the control unit 51 outputs the execution command 5a at the second display update timing. Consequently, the tool display image data 15 at the second display update timing is generated in the tool shape display unit 3 and the display image combining unit 4 combines a workpiece shape image and a tool shape image at the second display update timing on the basis of the tool display image data 15 arid the workpiece display image data 13 at the second display update timing so as to generate the combined display image data 16.
[0035]
[0036] An operation performed by the machining simulator 100 will be described next.
[0037]
[0038] The workpiece shape image 300A is an image displayed on the display screen 400 on the basis of the workpiece display image data 13 generated by the workpiece shape display unit 2 illustrated in
[0039] A tool trajectory 40 indicated by a dotted line represents the trajectory of the tool shape image 31A during simulation and specifically represents a virtual trajectory of the tool shape image 31A between the first display update timing t1 and the second display update timing t2 illustrated in
[0040]
[0041] In the machining simulator 100 according to the first embodiment, display images updated at intermediate points are inserted between the display image updated at the first display update timing t1 and the display image updated at the second display update timing t2; therefore, the operator of the machining simulator 100 can visually recognize the tool trajectory between the first display update timing t1 and the second display update timing t2.
[0042]
[0043] Next, the machining simulator 100 analyzes the tool trajectory between the first display update timing t1 and the second display update timing t2. If there is a position at which a translational axis or a rotational axis is reversed, i.e., an intermediate point (Yes at Step S12), the machining simulator 100 stores, as the tool intermediate point data 17, the position and posture of the tool at a position at which a translational axis or a rotational axis is reversed in the storage unit 52 (Step S13).
[0044] At Step S12, if there is no intermediate point (No at Step S12), the machining simulator 100 performs the process at Step S17.
[0045] At Step S14, the machining simulator 100 refers to the tool intermediate point data 17 stored in the storage unit 52 and determines whether the tool display image data 15 corresponding to ail the pieces of the tool intermediate point data 17 has been generated.
[0046] If the tool, display image data 15 corresponding to any one or more pieces of the tool intermediate point data 17 has not been generated (No at Step S14), the machining simulator 100 generates the tool, display image data 15 corresponding to each intermediate point (Step S15).
[0047] The machining simulator 100 combines a tool shape image at each intermediate point and a workpiece shape image at the second display update timing t2 on the basis of the tool display image data 15 at a corresponding intermediate point and the workpiece display image data 13 at the second display update timing t2 (Step S16). The data for the combined images is sent as the combined display image data 16 to the display screen 400. The images displayed on the display screen 400 in this case correspond to the images in
[0048] At Step S14, if the tool display image data 15 corresponding to all the pieces of tool intermediate point data 17 has been generated (Yes at Step 314), the machining simulator 100 generates the workpiece display image data 13 and the tool display image data 15 at the second display update timing t2 (Step S17).
[0049] The machining simulator 100 generates, on the basis of the tool display image data 15 and the workpiece display image data 13 at the second display update timing t2, the combined display image data 16 in which the workpiece shape image and the tool shape image at the second display update timing t2 are combined, and it then outputs the combined display image data 16 to the display screen 400 (Step S18). The machining simulator 100 then ends the display update process. The image displayed on the display screen 400 at this time point corresponds to the image in
[0050] As described above, with the machining simulator 100 according to the first embodiment, the operator can easily follow the tool trajectory between the first display update timing t1 and the second display update timing t2. Thus, any unintentional machining operation can be easily found. Moreover, with the machining simulator 100 according to the first embodiment., it is possible to minimise additional overhead during the machining simulation display process for the period of time between the first display update timing t1 and the second display update timing 12.
Second Embodiment
[0051] In the first embodiment, a description is given of an exemplary configuration in which the tool display image data 15 generated at an intermediate point is combined with the workpiece display image data 13 generated at the second display update timing t2. Combining the tool display image data 35 generated at an intermediate point with the workpiece display image data 13 generated at the first display update timing t1 can also produce a similar effect to that of the first embodiment. In the second embodiment, a description will be given of an exemplary configuration in which displaying based on the tool display image data 15 at an intermediate point is updated by using the workpiece display image data 13 generated at the first display update timing t1. The machining simulator 100 according to the second embodiment has a functional configuration similar to that of the machining simulator 100 illustrated in
[0052]
[0053]
[0054] At Step S16 illustrated in
[0055] Because the shape of a workpiece is complicated compared with the shape of a tool, the process of generating a display image of a workpiece consumes more time than the process of generating a display image of a tool. In order to shorten the processing time required for generating a display image of a workpiece, the machining simulator 100 according to the second embodiment is configured to display, on the display screen 400, an image obtained by combining a tool shape image at each intermediate point and a workpiece shape image at the first display update timing t1. With this configuration, the processing time required for generating a display image of a workpiece can be shortened. Moreover, the operator can easily follow the tool trajectory; therefore, an operation for testing a machining program becomes easy.
[0056] The display screen 400 illustrated in
[0057]
[0058] The machining simulation display method according to the present embodiment is a machining simulation display method performed by a machining simulation display apparatus that displays, on a display screen, an image of the shape of a workpiece and the shape of a tool that machines the workpiece. The machining simulation display method according to the present embodiment includes a change point, determining step of determining a change point on the tool trajectory between the first display update timing at which an image displayed on the display screen is updated and the second display update timing that is a time point after the lapse of a constant display update interval since the first display update timing. The machining simulation display method according to the present, embodiment further includes a first displaying step of combining an image of the shape of the workpiece updated at the first display update timing and an image of the shape of the tool updated at the change point on the tool trajectory and displaying a combined image on the display screen; and a second displaying step of combining an image of the shape of the workpiece updated at the second display update timing and an image of the shape of the tool updated at the second display update timing and displaying a combined image on the display screen. With the machining simulation display method according to the present embodiment, the processing time required for generating a display image of a workpiece can be shortened. Moreover, the operator can easily follow the tool trajectory; therefore, an operation for testing a machining program becomes easy.
[0059]
[0060] The configurations described in the foregoing embodiments are merely examples of aspects of the present invention. These configurations may be combined with other known technologies, and moreover, part of such configurations may be omitted or modified without departing from the spirit of the present invention.
REFERENCE SIGNS LIST
[0061] 1 workpiece shape processing unit; 2 workpiece shape display unit; 3 tool shape display unit; 4 display image combining unit; 5 display update unit; 5a execution command; 10 machining program data; 11 workpiece shape data; 12 projection display parameter; 13 workpiece display image data; 14 tool shape data; 15 tool display image data; 16 combined display image data; 17 tool intermediate point data; 21 mount; 22 saddle; 23 work table; 24 column; 25 ram; 26x x-axis driving mechanism; 26y y-axis driving mechanism; 26z z-axis driving mechanism; 27x x-axis motor; 27y y-axis motor; 27z z-axis motor; 26x, 28y, 28z feed shaft; 29x, 29y, 29z rotation-angle detector; 30 spindle; 31 tool; 31A tool shape image; 40 tool trajectory; 41 first intermediate point; 42 second intermediate point; 43 point that is an intermediate point of an arc movement command and at which a translational axis is reversed across quadrants; 44 point at which the shape of the tool trajectory changes from line to arc; 45 point at which the tool trajectory changes from arc to line; 51 control unit; 52 storage unit; 60 display unit; 61 memory; 62 processor; 63 input/output, unit; 100 machining simulation display apparatus; 200 machine tool; 300 workpiece; 300A workpiece shape image; 400 display screen.