Wire electrical discharge machine
10024644 ยท 2018-07-17
Assignee
Inventors
Cpc classification
G01B7/281
PHYSICS
G01B7/003
PHYSICS
B23H2500/20
PERFORMING OPERATIONS; TRANSPORTING
B23H7/26
PERFORMING OPERATIONS; TRANSPORTING
B23H7/20
PERFORMING OPERATIONS; TRANSPORTING
B23H7/06
PERFORMING OPERATIONS; TRANSPORTING
International classification
B23H7/26
PERFORMING OPERATIONS; TRANSPORTING
B23H7/06
PERFORMING OPERATIONS; TRANSPORTING
G01B7/00
PHYSICS
Abstract
A wire electrical discharge machine for detecting an end face of an object, configured so that when a contact detection movement is started and if contact between the wire electrode and the workpiece is detected, positions in which the contact between the wire electrode and the workpiece is detected are stored as contact detection positions and that when a non-contact detection movement is then started and if non-contact between the wire electrode and the workpiece is detected, positions in which the non-contact between the wire electrode and the workpiece is detected are stored as non-contact detection positions. When it is determined whether or not a set number of times of execution is reached and if the set number of times of execution is reached, a reference position is obtained by adding the radius of the wire electrode and a clearance of the wire guide to an end face determination position.
Claims
1. A wire electrical discharge machine having functions of relatively moving an object and a wire electrode supported by upper and lower wire guides and positioning the wire electrode or measuring the shape of the object based on a contact/non-contact state of the wire electrode and the object, the wire electrical discharge machine comprising: a voltage applying unit configured to apply a detection voltage for detecting the contact/non-contact state of the wire electrode and the object between the wire electrode and the object; a relative movement unit for relatively moving the wire electrode and the object; a wire electrode position detecting unit for detecting a center position of the wire electrode; a contact state detecting unit configured to detect the voltage between the wire electrode and the object in the course of relative movement of the wire electrode toward and away from the object by the relative movement unit and detect the contact/non-contact state of the wire electrode and the object based on the detected voltage; a wire electrode diameter storage unit for storing the diameter of the wire electrode; a wire electrode displacement amount storage unit for storing an amount of displacement such that the wire electrode is displaceable between the upper and lower wire guides in a direction perpendicular to a line segment connecting the upper and lower wire guides; an end face determination position detecting unit configured to detect an end face determination position in which the wire electrode is determined to be in contact with an end face of the object, based on the contact/non-contact state detected by the contact state detecting unit and the position of the wire electrode detected by the wire electrode position detecting unit; a set number of times executing unit configured to execute a set number of times a contact detection movement where the relative movement unit moves the wire electrode and the object in the direction in which the wire electrode and an end surface of the object come into contact with each other with the movement speed slowing down and a non-contact detection movement where the relative movement unit moves the wire electrode and the object in the direction in which the wire electrode and the object come out of contact with each other with the movement speed increasing in order to shorten the detection time of the end surface determination position; and an end face determination position compensation unit configured to obtain an average value of the end surface determination position at the time of the contact detection movement, which has been detected by the end surface determination position detection unit after the set number of times execution unit has executed the contact detection movements and the non-contact detection movements, and then obtain the end face determination position from the thus obtained average value by compensation using a compensation value obtained from the wire electrode diameter and the displacement amount, wherein the wire electrical discharge machine positions the wire electrode or measures the shape of the object based on the position obtained by the end face determination position compensation unit as a position of the object.
2. The wire electrical discharge machine according to claim 1, wherein the wire electrode displacement amount is a clearance of the wire guides, an amplitude of the wire electrode, or an amount of deflection of the wire electrode.
3. A wire electrical discharge machine having functions of relatively moving an object and a wire electrode supported by upper and lower wire guides and positioning the wire electrode or measuring the shape of the object based on a contact/non-contact state of the wire electrode and the object, the wire electrical discharge machine comprising: a voltage applying unit configured to apply a detection voltage for detecting the contact/non-contact state of the wire electrode and the object between the wire electrode and the object; a relative movement unit for relatively moving the wire electrode and the object; a wire electrode position detecting unit for detecting a center position of the wire electrode; a contact state detecting unit configured to detect the voltage between the wire electrode and the object in the course of relative movement of the wire electrode toward and away from the object by the relative movement unit and detect the contact/non-contact state of the wire electrode and the object based on the detected voltage; a wire electrode diameter storage unit for storing the diameter of the wire electrode; a wire electrode displacement amount storage unit for storing an amount of displacement such that the wire electrode is displaceable between the upper and lower wire guides in a direction perpendicular to a line segment connecting the upper and lower wire guides; an end face determination position detecting unit configured to detect an end face determination position in which the wire electrode is determined to be in contact with an end face of the object, based on the contact/non-contact state detected by the contact state detecting unit and the position of the wire electrode detected by the wire electrode position detecting unit; a set number of times executing unit configured to execute a set number of times a contact detection movement where the relative movement unit moves the wire electrode and the object in the direction in which the wire electrode and the object come into contact with each other with the movement speed increasing in order to shorten the detection time of the end surface determination position and a non-contact detection movement where the relative movement unit moves the wire electrode and the object in the direction in which the wire electrode and the end surface of the object come out of contact with each other with the movement speed slowing down during the detection of the contact; and an end face determination position compensation unit configured to obtain an average value of the end surface determination position at the time of the non-contact detection movement, which has been detected by the end surface determination position detection unit after the set number of times execution unit has executed the contact detection movements and the non-contact detection movements, and then obtain the end face determination position from the thus obtained average value by compensation using a compensation value obtained from the wire electrode diameter and the displacement amount, wherein the wire electrical discharge machine positions the wire electrode or measures the shape of the object based on the position obtained by the end face determination position compensation unit as a position of the object.
4. The wire electrical discharge machine according to claim 3, wherein the wire electrode displacement amount is a clearance of the wire guides, an amplitude of the wire electrode, or an amount of deflection of the wire electrode.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects and features of the present invention will be obvious from the ensuing description of embodiments with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(18) Embodiments of the present invention will now be described with reference to the accompanying drawings;
(19)
(20) The detection voltage applied by the voltage applying unit 24 is a voltage that is applied in order to detect contact and non-contact states and is not a voltage that causes electrical discharge. When the wire electrode 2 and the workpiece 1 contact each other, conduction occurs and the actually applied voltage fluctuates. A contact determination unit 25 monitors this fluctuation and determines the contact state in a mode described later.
(21) The machining voltage is a high voltage applied when the workpiece 1 is actually machined. The workpiece 1 is subjected to wire electrical discharge by applying the machining voltage as the XY-table 21 is moved in a horizontal direction (hereinafter referred to as X-direction) as illustrated and a depth direction (hereinafter referred to as Y-direction) perpendicular thereto according to a machining program or the like.
(22)
(23) The numerical controller 30 drives the XY-table 21 with the workpiece 1 thereon within an XY-plane to control the movement of the workpiece 1 toward and away from the wire electrode 2. Also, the voltage applying unit 24 is made to perform control to apply the detection voltage between the wire electrode 2 and the workpiece 1, and the contact determination unit 25 for detecting the detection voltage between wire electrode 2 and the workpiece 1 is made to control to detect contact or non-contact between the wire electrode 2 and the workpiece 1.
(24) In performing machining of the workpiece 1 by means of the wire electrical discharge machine, it is generally necessary to determine a so-called (machining) reference position. The following is a description of a method for detecting an end face of the workpiece 1 (end face detection processing of the present invention) in order to determine the reference position.
(25) The wire electrode and the workpiece are first kept in a definitely separate state (non-contact state) and then brought to such a state that a voltage for contact detection is applied between them. (1) The wire electrode and the workpiece are relatively moved so that contact detection is achieved. (2) The relative movement is stopped when the contact detection is achieved. (3) The wire electrode and the workpiece in the contact state are relatively moved so that non-contact detection is achieved. (4) The relative movement is stopped when the non-contact detection is achieved. (5) The operations (1) to (4) are performed a set number of times. (6) An end face determination position is obtained by averaging a plurality of detection positions. (7) The reference position is obtained by compensating the end face determination position in (6) with radius of the wire electrode and clearance of the wire guide as compensation values.
(26) The following is a description of a way of obtaining the end face determination position, that is, a method for detecting the state of contact between the wire electrode and the workpiece. To detect the state of contact according to the present invention is to obtain the end face determination position by detecting how the wire electrode and the workpiece are transferred from the non-contact state to the contact state, to obtain the end face determination position by detecting how the wire electrode and the workpiece are transferred from the contact state to the non-contact state, or to obtain the end face determination position by both these measures.
(27) The following is a description of three embodiments of the present invention. In any of these embodiments, the difference (clearance) between the diameter of the wire electrode and the inner diameter of the wire guide is given as the cause of detection errors.
Embodiment 1
(28) The flowchart of
(29) [Step S101] A contact detection movement is started. The workpiece and the wire electrode are relatively moved.
(30) [Step S102] It is determined whether or not contact between the wire electrode and the workpiece is detected. If the contact is detected, the processing proceeds to Step S103. If not, detection of the contact is awaited.
(31) [Step S103] Positions in which the contact between the wire electrode and the workpiece is detected in Step S102 are stored as contact detection positions.
(32) [Step S104] A non-contact detection movement is started.
(33) [Step S105] It is determined whether or not non-contact between the wire electrode and the workpiece is detected. If the non-contact is detected, the processing proceeds to Step S106. If not, detection of the non-contact is awaited.
(34) [Step S106] Positions in which the non-contact between the wire electrode and the workpiece is detected in Step S105 are stored as non-contact detection positions.
(35) [Step S107] It is determined whether or not a set number of times of execution is reached. If the set number of times of execution is reached, the processing proceeds to Step S108. If not, the processing returns to Step S101, whereupon the processing is continued.
(36) [Step S108] The reference position is obtained by adding the radius of the wire electrode and the clearance of the wire guide to the end face determination position (quotient of the sum of a plurality of detection positions ((contact detection positions+non-contact detection positions)/2) divided by the number of times of execution), whereupon the processing ends.
(37) As described in connection with Japanese Patent Application Laid-Open No. 2004-66393, the detection positions based on the contact detection and the non-contact detection are delayed due to various factors. In the contact detection, a position in which the wire electrode 2 slightly bites the workpiece 1 is recognized as a contact detection position 5 (see
(38) In Embodiment 1, the contact detection and the non-contact detection are performed by the set number of times of execution without reducing the moving speed at the time of detection. When this is done, the moving speeds at the times of the contact detection and the non-contact detection are supposed to be equal. The detection positions are subject to errors. Since both the contact and non-contact detection positions are used and the moving speeds at the detection times are equal, however, the errors can be canceled out by averaging. A position obtained by averaging a plurality of contact detection positions 5 and non-contact detection positions 6 is supposed to be an end face determination position 8 (see
(39)
Embodiment 2
(40) The flowchart of
(41) [Step S201] A contact detection movement is started. The workpiece and the wire electrode are relatively moved.
(42) [Step S202] It is determined whether or not contact between the wire electrode and the workpiece is detected. If the contact is detected, the processing proceeds to Step S203. If not, detection of the contact is awaited.
(43) [Step S203] Positions in which the contact between the wire electrode and the workpiece is detected in Step S202 are stored as contact detection positions.
(44) [Step S204] A non-contact detection movement is started.
(45) [Step S205] It is determined whether or not non-contact between the wire electrode and the workpiece is detected. If the non-contact is detected, the processing proceeds to Step S206. If not, detection of the non-contact is awaited.
(46) [Step S206] It is determined whether or not a set number of times of execution is reached. If the set number of times of execution is reached, the processing proceeds to Step S207. If not, the processing returns to Step S201, whereupon the processing is continued.
(47) [Step S207] The reference position is obtained by adding the radius of the wire electrode and the clearance of the wire guide to the end face determination position (quotient of the sum of a plurality of detection positions (contact detection positions) divided by the number of times of execution), whereupon the processing ends.
(48) In order to lessen the errors in detection positions due to detection delay, as described above, the moving speed of (1) should be extremely reduced. For the movement of (3) in which no detection positions are obtained, however, the time for end face determination can be reduced by increasing the moving speed. Alternatively, if a distance for the non-contact state is somewhat predictable, the movement of (3) may be rapidly made for a predetermined distance in a non-contact direction (see
(49) [Step S301] A contact detection movement is started. The workpiece and the wire electrode are relatively moved.
(50) [Step S302] It is determined whether or not contact between the wire electrode and the workpiece is detected. If the contact is detected, the processing proceeds to Step S303. If not, detection of the contact is awaited.
(51) [Step S303] Positions in which the contact between the wire electrode and the workpiece is detected in Step S302 are stored as contact detection positions.
(52) [Step S304] A non-contact detection movement is started.
(53) [Step S305] It is determined whether or not a set number of times of execution is reached. If the set number of times of execution is reached, the processing proceeds to Step S306. If not, the processing returns to Step S301, whereupon the processing is continued.
(54) [Step S306] The reference position is obtained by adding the radius of the wire electrode and the clearance of the wire guide to the end face determination position (quotient of the sum of a plurality of detection positions (contact detection positions) divided by the number of times of execution), whereupon the processing ends.
(55) The end face determination position is obtained according to equation (2) as follows:
(56)
Embodiment 3
(57) The flowchart of
(58) [Step S401] A contact detection movement is started. The workpiece and the wire electrode are relatively moved.
(59) [Step S402] It is determined whether or not contact between the wire electrode and the workpiece is detected. If the contact is detected, the processing proceeds to Step S403. If not, detection of the contact is awaited.
(60) [Step S403] A non-contact detection movement is started.
(61) [Step S404] It is determined whether or not non-contact between the wire electrode and the workpiece is detected. If the non-contact is detected, the processing proceeds to Step S405. If not, detection of the non-contact is awaited.
(62) [Step S405] The non-contact detection position detected in Step S404 is stored.
(63) [Step S406] It is determined whether or not a set number of times of execution is reached. If the set number of times of execution is reached, the processing proceeds to Step S407. If not, the processing returns to Step S401, whereupon the processing is continued.
(64) [Step S407] The reference position is obtained by adding the radius of the wire electrode and the clearance of the wire guide to the end face determination position (quotient of the sum of a plurality of detection positions (non-contact detection positions) divided by the number of times of execution), whereupon the processing ends.
(65) In order to lessen the errors in detection positions due to delay, as described above, the moving speed of (3) should be extremely reduced. For the movement of (1) in which no detection positions are obtained, however, the time for end face determination can be reduced by increasing the moving speed. Alternatively, if a distance for the contact state is somewhat predictable, the movement of (1) may be rapidly made for a predetermined distance in a contact direction (see
(66) [Step S501] The workpiece and the wire electrode are relatively moved for a predetermined distance in a direction in which they come into contact with each other.
(67) [Step S502] A non-contact detection movement is started.
(68) [Step S503] It is determined whether or not non-contact between the wire electrode and the workpiece is detected. If the non-contact is detected, the processing proceeds to Step S504. If not, detection of the non-contact is awaited.
(69) [Step S504] The non-contact detection position detected in Step S503 is stored.
(70) [Step S505] It is determined whether or not a set number of times of execution is reached. If the set number of times of execution is reached, the processing proceeds to Step S506. If not, the processing returns to Step S501, whereupon the processing is continued.
(71) [Step S506] The reference position is obtained by adding the radius of the wire electrode and the clearance of the wire guide to the end face determination position (quotient of the sum of a plurality of detection positions (non-contact detection positions) divided by the number of times of execution), whereupon the processing ends.
(72) The end face determination position is obtained according to equation (3) as follows:
(73)
(74) The following is a supplementary description of a way of obtaining the reference position. Normally, a diced guide having a gap of about 1 to 20 m relative to the outer diameter of the wire electrode 2 is used for a wire guide 3 that supports the wire electrode 2. If the wire electrode 2 is run through a pair of wire guides 3 that are arranged substantially at right angles to a reference plane, therefore, it moves within the range of gaps between itself and the wire guides 3 (gaps 10 of the wire guides), as indicated by movements (displacements) 9 (see
(75) Since the amount of the above-described displacement amount can be replaced with a clearance 12 of the wire guide, therefore, an accurate reference position 11 can be obtained by compensation based on the clearance after the end face determination position is obtained (
Reference position=end face determination position+wire electrode radius+wire guide clearance. (4)
(76) In connection with the foregoing embodiments of the present invention, the displacement amount of the wire electrode 2 is described as the clearance of the wire guide 3. If the wire electrode 2 vibrates, however, its amplitude may be regarded as the displacement amount. While the wire electrode is known to be deflected under the influence of a machining fluid or discharge repulsion force during electrical discharge machining, moreover, the amount of the deflection may be regarded as the displacement amount. The displacement is in a direction perpendicular to a line segment connecting the upper and lower wire guides.
(77) In general, furthermore, the wire electrode diameter and the displacement amount of the wire electrode are set and input through an operation screen and stored in a storage device. While these elements are normally set and stored individually, they may alternatively be set and stored collectively as one data.
(78) While the embodiments described above are related to a positioning operation for the wire electrode, the width dimension and inner diameter dimension of the workpiece can also be measured by using this positioning operation.
(79) While embodiments of the present invention have been described herein, the invention is not limited to the above-described embodiments and may be suitably modified and embodied in various forms.