1. Technical Field
The present disclosure relates to measuring systems and methods and, particularly, to a system and a method for measuring dimensions of a cutting tool.
2. Description of Related Art
In a computer numerical control (CNC) system, a cutting tool is a significant component used for machining metal workpieces. During a machining process, when a new cutting tool is chosen, dimensions, such as length and diameter of the new cutting tool should be measured to ensure precision of machining. However, measuring takes time and reduces productivity.
What is needed, therefore, is to provide a system and a method for measuring dimensions of a cutting tool to overcome the above described shortcomings.
Referring to
The cutting tool choosing device 20 is configured for choosing and clamping cutting tools under the control of the controller 10.
The cutting tool storage 30 is configured for storing a number of cutting tools. Each cutting tool has a serial number, primary dimensions, such as length, and location coordinates stored in the cutting tool storage 30. Therefore, each cutting tool can be chosen according to the serial numbers, primary dimensions, and location coordinates from the cutting tool storage 30.
The optical sensor 40 may be a non-contact optical sensor in one embodiment. The optical sensor 40 defines a slot 304. A light source of the optical sensor 40 emits a lightbeam Hj in the slot 304. The optical signal is converted into an electrical signal by the optical sensor 40, and then the electrical signal is sent to the controller 10. In one embodiment, when the cutting tool is not blocking or partially blocking the lightbeam Hj, the optical sensor 40 sends a low level electrical signal, such as 0V, to the controller 10. When the cutting tool is in the path of the lightbeam Hj, the optical sensor 40 sends a high level electrical signal, such as 5V, to the controller 10.
The controller 10 is configured for measuring dimensions, such as the length, diameter, or deviation value of the cutting tool, according to the electrical signal. The deviation value of the cutting tool is a value of the rotating cutting tool deviating from a desired position at the bottom region of the cutting tool because of vibration.
The cutting tool changing module 102 is configured for controlling the cutting tool choosing device 20 to choose a cutting tool (such as the cutting tool 302) from the cutting tool storage 30, according to one or more of preset serial numbers, primary dimensions, and location coordinates, moving the cutting tool 302 to a tip initial position H2 above the optical sensor 40, and adjusting a spindle of the cutting tool choosing device 20 to a preset speed. The cutting tool 302 then rotates at the preset speed.
The cutting tool control module 104 is configured for controlling the cutting tool choosing device 20 to move the cutting tool 302 from the tip initial position H2 to the height of the lightbeam Hj to touch the lightbeam Hj, and to move the cutting tool 302 to pass through the lightbeam Hj from side to side, such as ‘ox’ direction as shown in
The dimension calculating module 106 is configured for receiving the electrical signals from the optical sensor 40, for calculating dimensions, such as length, diameter, and deviation value of the cutting tool 302, according to changes in electrical signal levels, and for sending the dimensions to the dimension storage module 108. The length of the cutting tool 302 is equal to a bottom position H3 of the cutting tool choosing device 20 minus the tip initial position H2 of the cutting tool 302. The tip initial position H2 is equal to the distance Hx the cutting tool 302 must move to touch the lightbeam Hj from the tip initial position H2 plus the height H1 of the lightbeam Hj of the optical sensor 40, that is, Hx+H1, where H1, H3, and a falling speed of the cutting tool 302 are pre-stored in the dimension calculating module 106. For instance, if H1=1.9 m, H3=2.5 m, the falling speed of the cutting tool 302 is 5 m/s, the cutting tool 302 takes 0.02 s to touch the lightbeam Hj of the optical sensor 40, the moving distance Hx of the cutting tool 302 is 0.02*5=0.1 m, the tip initial position H2=1.9+0.1=2 m, the length of the cutting tool 302 is H3−H2=0.5 m. The working principle of the optical sensor 40 is as follows: when the lightbeam Hj of the optical sensor 40 is blocked, the optical sensor 40 outputs a high level electrical signal, such as 5V. When the lightbeam Hj of the optical sensor 40 is not blocked, the optical sensor 40 outputs a low level electrical signal, such as 0V. Thus, when the rotating cutting tool 302 touches the lightbeam Hj in an unstable manner because of shaking, the optical sensor 40 could send both high and low level electrical signals, when the rotating cutting tool 302 is in the path of the lightbeam Hj, the optical sensor 40 sends a high level electrical signal, then as the rotating cutting tool 302 moves out of the path of the lightbeam Hj and is only partially in the path of the lightbeam, the optical sensor 40 sends both high and low level electrical signals as shown in
The dimension storage module 108 is configured for receiving and storing the dimensions, such as the length, the diameter, or the deviation value of the cutting tool 302.
In other embodiments, if the dimensions of the cutting tool 302 need not to be stored, the storage module 108 can be omitted.
Referring to
In step S100, the cutting tool changing module 102 controls the cutting tool choosing device 20 to choose a cutting tool (such as the cutting tool 302) from the cutting tool storage 30, according to preset serial numbers, primary dimensions, or location coordinates.
In step S102, the cutting tool changing module 102 controls the cutting tool choosing device 20 to move the cutting tool 302 to a tip initial position above the optical sensor 40, and adjusting a spindle of the cutting tool choosing device 20 to the preset speed to make the cutting tool 302 rotate at the preset speed.
In step S104, the cutting tool control module 104 controls the cutting tool choosing device 20 to move the cutting tool 302 from the tip initial position H2 to the height of the lightbeam Hj to touch the lightbeam Hj.
In step S106, the cutting tool control module 104 controls the cutting tool choosing device 20 to move the cutting tool 302 to pass through the lightbeam Hj from side to side, such as ‘ox’ direction as shown in
In step S108, the dimension calculating module 106 receives the electrical signals from the optical sensor 40, calculates dimensions, such as a length, a diameter, or a deviation value of the cutting tool 302, according to changes in signal levels, and sends the dimensions to the dimension storage module 108. The length of the cutting tool 302 is equal to a bottom position H3 of the cutting tool choosing device 20 minus the tip initial position H2 of the cutting tool 302, that is, H3−H2. The tip initial position H2 is equal to the moving distance Hx plus the height H1 of the lightbeam Hj of the optical sensor 40, that is, Hx+H1. The diameter of the cutting tool 302 is the high level signal time OA multiplied by the moving speed of the cutting tool 302 when passing through the lightbeam Hj. The deviation value of the cutting tool 302 is the high and low level signal time AB multiplied by the moving speed of the cutting tool 302 when passing in and out of the lightbeam Hj.
In step S110, the dimension storage module 108 receives and stores the dimensions.
In other embodiments, if the dimensions of the cutting tool 302 need not to be stored, step S110 can be omitted.
It is to be understood, however, that even though numerous characteristics and advantages of the embodiments have been set forth in the foregoing description, together with details of the structure and function of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the embodiments to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
200810306398.6 | Dec 2008 | CN | national |