The present invention relates to a tool path generating device which generates a tool path for machining a hairline and to a hairline machining system.
In the past, a method of arranging a transfer member with a hairline-shaped relief in a mold to form a hairline pattern on the surface of a shaped article by using in-mold shaping has been known (for example, see Patent Literature 1). However, this method requires a transfer member, so is unsuited for mass production of shaped articles.
Also, a method of rubbing the surface of a mold by sandpaper or a metal brush to form a large number of extremely fine grooves and thereby obtain a shaped article with a hairline pattern corresponding to the extremely fine grooves without using a transfer member has been known (for example, see Patent Literature 2).
However, in the method described in Patent Literature 2, since sandpaper or a metal brush is used to form the extremely fine grooves, there is a large variation in the surface shape of each mold. Therefore, it is difficult to obtain the hairline pattern of the same shape in the case of using different molds, and thus the product shapes are not stable.
Patent Literature 1
Japanese Unexamined Patent Publication No. 1-141014 A
Patent Literature 2
Japanese Unexamined Patent Publication No. 10-71677 A
The present invention is a tool path generating device generating a tool path for machining a hairline-shaped long narrow groove on a workpiece surface, which includes a shape data acquisition part acquiring shape data of a workpiece; a parameter setting part setting a shape parameter of a hairline corresponding to the long narrow groove; and a path generating part generating a tool path for a hairline machining, based on the shape data acquired by the data acquisition part and the shape parameter set by the parameter setting part.
Further, the present invention is a hairline machining system machining a hairline-shaped long narrow groove on a workpiece surface, which includes the above tool path generating device; and a machine tool causing a relative movement of a tool relative to a workpiece, in accordance with a tool path generated by the tool path generating device, and machining the long narrow groove on the workpiece surface.
Hereinafter, referring to
“Hairlines” are fine scratches of the extents of fineness of a hair which are formed to a workpiece surface along one direction and exhibit long narrow groove shapes. In
The configuration of the machine tool 100 of
A saddle 5 is supported movably on the bed 1 through the linear feed mechanism in the horizontal direction (Y-axis direction). A table 6 is supported movably on the saddle 5 in a horizontal direction perpendicular to the Y-axis direction (X-axis direction). The linear feed mechanism is configured by, for example, a ball screw and a servo motor which drives to rotate the ball screw. Due to this configuration, the tool 4 and the workpiece W move relatively in the perpendicular 3-axial directions (X-direction, Y-direction, and Z-direction) whereby a workpiece W is machined.
The spindle motor and the servo motors are controlled in accordance with a machining program by a control device 10. The machining program is set with a path of movement of the tool 4 as the tool path. The tool 4 moves relative to the workpiece W along this tool path.
The machining program is prepared utilizing a known CAD/CAM system. That is, the CAD data corresponding to the machined shape of the workpiece W is used as the basis to prepare CAM data of a set of fine linear commands. This CAM data is comprised of a massive amount of point group data. Therefore, so as to obtain an amount of data suitable for the machining program, data is thinned from the CAM data in accordance with a predetermined rule, and thus a machining program including a plurality of machining command points is prepared.
In the present embodiment, by processing inside the control device 10, the reference tool path L0 is generated and a waveform-shaped hairline is applied to this reference tool path L0 in the XZ plane vertical to the XY plane. Due to this, the reference tool path L0 is converted to a tool path L1 for a hairline machining (called “hairline tool path”) whereby, as shown in
The tool path generating device 20 has a CAM 21 which prepares a machining program 22 including the reference tool path L0 based on shape data of the CAD 11, a setting part 23 which sets various setting values relating to the hairline which is formed on the workpiece surface, and a path conversion part 24 which prepares a machining program 25 including the hairline tool path L1 based on data from the CAM 21 and setting values at the setting part 23.
The setting part 23 is configured including a control panel or keyboard or other input device and a storage device which stores input values input through the input device. The setting part 23 sets shape parameters of the hairline and limit values of the hairline shapes, etc. That is, it sets the initial phase, amplitude, wavelength, and other shape parameters of the hairline which exhibits a waveform shapes, and the maximum values and minimum values and other limit values of the amplitude and wavelength.
The path conversion part 24 is configured including a processing device which has a CPU, ROM, RAM, etc. The path conversion part 24 applies the hairline to the reference tool path L0 based on the shape parameters set by the setting part 23 to convert the reference tool path L0 to the hairline tool path L1, and prepares a machining program 25.
Z=A·sin((2π/λ)·X+α) (I)
In the formula (I), α, A, and λ are respectively the initial phase, amplitude, and wavelength. Therefore, if the setting part 23 sets the initial phase α, amplitude A, and wavelength λ as shape parameters of the hairline and sets the positional relationship between the reference line (X-axis) of the sine wave and the reference tool path L0 (amount of deviation ΔZ in Z-direction), it is possible to unambiguously determine the waveform shape of the hairline at the path conversion part 24. In
The machining operation of the workpiece surface W0 along the reference tool path L0 and the hairline machining operation along the hairline tool path L1 need not be performed separately. These operations can also be performed at one time. In this case, the tool path setting part 24 judges if the hairline tool path L1 shown in
Although, in
The initial phase α, amplitude A, and wavelength λ of the above formula (I) may be set as constants. However, these values may also be set as variables which have reproducibility. For example, random numbers R which have reproducibility may also be used to set α, A, and λ. Here, “have reproducibility” means the case of being able to generate the same string of random numbers. For example, it is possible to obtain them by using the linear congruential method shown by the following formula (II).
Rn+1=(B·Rn+C)modM (II)
In the above formula (II), B, C, and M are constants. If inputting the initial value R0 for Rn in the above formula (II), a pseudo random number string R1, R2, . . . having periodicity is generated. That is, the random number string is determined unambiguously in accordance with the constants B, C, and M and the initial value R0.
When using such a random number string to set the initial phase α, amplitude A, and wavelength λ, if setting the function α=f1(R) expressing the relationship between the initial phase α and the random number R, the function A=f2(R) expressing the relationship between the amplitude A and the random number R, and the function λ5=f3(R) expressing the relationship between the wavelength λ and the random number R in advance, it is possible to use the random number R as a parameter to calculate the initial phase α, amplitude A, and wavelength λ.
Specifically, the above formula (II) is used to calculate the random number string R1, R2, . . . , then for example, the random number R1 is used as a parameter to calculate the initial phase α by α=f1(R1). The amplitude A1, A2, . . . , An of the first cycle, the second cycle, . . . , the n-th cycle are successively calculated using the random number string R1, R2, . . . , Rn as parameters by A1=f2(R1), A2=f2(R2), . . . , An=f2(Rn). The wavelengths λ1, λ2, . . . , λn of the first cycle, the second cycle, . . . , the n-th cycle are successively calculated using the random number string R1, R2, . . . , Rn as parameters by λ1=f3(R1), λ2=f3(R2), . . . , kn=f3(Rn). The calculated initial phase α and amplitudes A and wavelengths λ corresponding to the different cycles are set as shape parameters. By entering these shape parameters in the above formula (I), it is possible to determine the hairline waveform for each cycle.
In this case, in calculating the amplitude A and wavelength λ, it is sufficient to consider the maximum values and the minimum values of the amplitude A and wavelength λ predetermined at the setting part 23, and calculate the amplitude A and wavelength λ within the ranges of the maximum values and the minimum values. Due to this, it is possible to form a hairline pattern which keeps the amplitude A and the wavelength λ within the predetermined ranges. The above functions f2(R) and f3(R) may be set so that the amplitude A and the wavelength λ become within the ranges of the maximum values and minimum values.
The setting of the initial phase α, amplitude A, and wavelength λ by using the above random number R can be carried out by the setting part 23 by giving the setting part 23 a processing function. It is also possible to set only various setting values B, C, M, and R0 by the setting part 23 and use these setting values to calculate the initial phase α, amplitude A, and wavelength λ by the path conversion part 24.
Above, the case for giving a hairline by sine waves is explained. However, waves other than sine waves may also be used to constitute a hairline.
y=2 sin(exp(1)x)+sin(x+log(2)) (III)
The operation of the hairline machining system according to the present embodiment may be summarized as follows:
First, as the operation of the tool path generating device 20, the shape data of the workpiece W obtained by the CAD 11 is input into the CAM 21. The CAM 21 prepares a machining program 22 including the reference tool path L0 based on this CAD data. When the workpiece W is, for example, a mold having a curved part, as shown in
On the other hand, the setting part 23 is set in advance with shape parameters of the hairline which is formed on the workpiece surface. For example, when configuring the hairline waveform by a sine wave and using the random number string obtained by the linear congruential method to set the initial phase α, amplitude A, and wavelength λ, the constants B, C, and M and the initial value R0 of the above formula (II) are set in advance by the user. The deviation ΔZ from the reference tool path L0 (workpiece surface W0) to the reference line L2 of the hairline waveform is also set.
The path conversion part 24 adds a hairline to the reference tool path L0 based on the shape parameters set by the setting part 23 to convert the reference tool path L0 to the hairline tool path L1 and prepare the machining program 25. In this case, the amplitude A of the hairline is, for example, as shown by the arrow of
The numerical control device 12 control the motors 13 for driving feed axes of the machine tool 100 based on the NC data set at the machining program 25. Due to this, it is possible to machine hairline-shaped long narrow grooves Wa on the workpiece surface W0. If, in the above way, for example forming long narrow grooves Wa on the surface of a mold, then using this mold to form a shaped article, a hairline pattern is given to the surface of the shaped article by transfer of the long narrow grooves Wa.
In this case, the long narrow grooves Wa are unambiguously determined in shape in accordance with the shape parameters of the hairline set by the setting part 23, so it is possible to obtain a plurality of molds having the same surface shapes. Therefore, even if using different molds, it is possible to give the same hairline pattern to the surfaces of shaped articles. The workpiece W may be other than a mold. For example, it is also possible to directly form a hairline on the surfaces of products.
According to the present embodiment, it is possible to exhibit the following such functions and effects:
(1) The CAM 21 generates a reference tool path L0 based on shape data of the workpiece W, the setting part 23 sets shape parameters of a hairline corresponding to the long narrow grooves Wa, and the path conversion part 24 converts the reference tool path L0 to the hairline tool path L1 based on the shape parameters. Due to this, it is possible to generate a tool path L1 which is unambiguously determined in accordance with the shape parameters and possible to obtain a hairline pattern with no variation for individual workpieces. Therefore, when machining a hairline on the surface of a mold, it is possible to obtain a plurality of molds with the same shapes as each other and it is possible to easily obtain a large number of shaped articles given the same hairline pattern.
(2) The initial phase α, wavelength λ, and amplitude A of the hairline waveform are set as shape parameters. Therefore, even when the hairline exhibits a waveform shape, it is possible to obtain a hairline pattern with no variation for individual workpieces.
(3) By making the hairline a waveform shape, it is possible to easily form long narrow grooves Wa of different depths at the workpiece surface W0.
(4) The random number string R which is unambiguously determined by the setting values B, C, M, and R0 is used to set the initial phase α, amplitude A, and wavelength λ of the hairline waveform. Therefore, it is possible to change irregularly shapes of the long narrow grooves Wa while being a hairline with reproducibility.
(5) The setting part 23 sets the maximum values and minimum values of the amplitude A and wavelength λ in advance and sets the amplitude A and the wavelength λ within the ranges of the maximum values and minimum values. Therefore, even when using the random number R, it is possible to keep the amplitude A and the wavelength λ within predetermined ranges.
Although, in the above embodiment, the workpiece surface W0 is given a waveform hairline, the hairline is not limit to this in shape. For example, a constant depth hairline may be given to the workpiece surface W0. Therefore, the processing of a parameter setting part comprised of the setting part 23 is also not limited to the one explained above.
Although shape data of the workpiece W (CAD data) is acquired by the CAM 21, a shape data acquisition part may also be provided at the outside of the CAM. Although the CAM 21 generates the reference tool path L0 based on the CAD data, and further a path conversion part 24 separate from the CAM 21 converts the reference tool path L0 to the hairline tool path L1 based on the shape parameters of the hairlines, the path generating part is not limited to this configuration. For example, the CAM itself may be given the function of converting the reference tool path L0 to the hairline tool path L1. Rather than converting the reference tool path L0 to the hairline tool path L1 to determine the tool path L1 for the hairline machining, it is also possible to directly generate the tool path L1 for the hairline machining, based on the CAD data and the shape parameters of the hairline corresponding to the long narrow grooves Wa.
In the above embodiment, a three-axis vertical machining center is used to form the machine tool 100. However, another machine tool may be used so long as it can cause a relative movement of a tool 4 relative to a workpiece W in accordance with a tool path generated by the tool path generating device 20 and form long narrow grooves Wa in a workpiece surface W0. For example, the tool path generating device according to the present invention can be applied to various machine tools such as a horizontal machining center or five-axis machining center, a machine tool other than a machining center, etc. In
According to the present invention, since a tool path for a hairline machining is generated based on the shape data of a workpiece obtained by the data acquisition part and shape parameters of a hairline set by the parameter setting part, it is possible to easily form the same shapes of hairline pattern on a workpiece surface.
This application is the national stage application under 35 USC 371 of International Application No. PCT/JP2011/059996, filed Apr. 19, 2011, the entire contents of which are incorporated herein by reference.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2011/059996 | 4/19/2011 | WO | 00 | 9/26/2013 |