Method and system for measuring a figure of a workpiece

Information

  • Patent Application
  • 20060122727
  • Publication Number
    20060122727
  • Date Filed
    December 02, 2005
    19 years ago
  • Date Published
    June 08, 2006
    18 years ago
Abstract
A system for measuring a figure of a workpiece includes an application server (2). The application server provides a hardware detecting module (200) for detecting hardware after system activation and for determining whether any mistake occurs. A mistake prompting module (201) is provided for sending a dialog box to prompt user to maintain the system. A measuring module (202) is provided for measuring the figure of the workpieces, and for comparing measuring results. A measuring result output module (203) is provided for outputting measuring results with text. A related method is also disclosed.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to measuring a figure of a workpiece systems and methods, and more particularly to a system and method for measuring a figure of a workpiece via Computerized Numerical Control (CNC) three-dimension coordinate measurement.


2. General Background


Product quality has long been one of the most important factors in maintaining a typical manufacturing enterprise's competitiveness. How to improve the quality of products is an important ongoing pursuit of such enterprise. It is essential to verify the correctness and accuracy of samples before a batch production. The verification for determining whether the coordinates of measuring points on a workpiece are equal to theoretical value is achieved by manual work. This can slow down efficiency, increase errors, and can seriously affect the accuracy and consistency of the verification performed.


In recent years, with the performance of computer hardware and software continually improving and with the prices of such equipment becoming more competitive, computers play a major role in the process of verification. Computer equipment can greatly improve the efficiency and accuracy of verification. A present method for measuring a figure of center of molding and grinding includes the steps of: obtaining a figure of a workpiece; searching coordinates of the workpiece edge; setting a corresponding function as coordinates of the workpiece; calculating arc via curve approaching principle and regression calculation; calculating the coordinates of intersections between lines or between lines and arcs; determining whether outline of the whole workpiece is finished via above measuring process; if such outline of the whole workpiece is not finished, repeating the above measuring process until finishing the outline of the whole workpiece; calculating the trim size; comparing the trim size with workpiece size and calculating the difference; if the trim size less than workpiece size, reporting the difference.


Even though the method discloses how to measure a figure of a workpiece, the same kind of a workpieces have to repeat measurement, which would influence the processing speed and accuracy of measurement. Current technology does not teach how to measure a figure of the same kind of a workpiece automatically thereby simplifying measuring process and reducing operation time.


What is needed, therefore, is a system and method which can measure a figure of a workpiece automatically and simply.


SUMMARY

A system for measuring a figure of a workpiece in accordance with a preferred embodiment includes an application server, which includes: a hardware detecting module for detecting hardware after activating system and for determining whether any mistake occurs; a mistake prompting module for sending a dialog box to prompt user to maintain the system; a measuring module for measuring the figure of the workpieces and a measuring result output module for outputting the compared results with text. The measuring module includes: a measuring information acquiring sub-module for acquiring information of the workpiece, which includes a serial number of the workpiece; a manual execution sub-module for measuring multiple measuring points on the figure according to measurement demands, and for returning coordinates of the measuring points; a coordinate system maintenance sub-module for constructing a new coordinate system, and for converting coordinates of measuring points into coordinates based on the new constructed coordinate system; a measuring result comparing sub-module for comparing the converted coordinates of the measuring points with theoretical coordinates and determining whether the converted coordinates exceed over a tolerance range, and for acquiring the compared results; and an automatic execution sub-module for saving the whole measuring process and the comparing process as a program which is invoked for measuring the other workpieces that have the same serial number and for comparing measuring results automatically.


A method for measuring a figure of a workpiece in accordance with another preferred embodiment includes the steps of: activating the system, determining whether a mistake occurs in hardware; acquiring information of the workpiece if no mistake occurs, wherein the information comprising serial number of the workpiece; determining whether a program corresponding to the workpiece exists according to serial number of the workpiece; constructing a coordinate system if no program exists; measuring multiple measuring points on the figure and returning coordinates of the measuring points; converting coordinates of the measuring points into coordinates based on the constructed coordinate system and returns converted coordinates of the measuring points; comparing the converted coordinates with theoretical coordinates; saving the whole measuring process and the comparing process as a program, the program being corresponding to the serial number of the workpiece being measured; and outputting the converted coordinates of the measuring points and the compared results.


The method for measuring a figure of a workpiece, wherein the step of determining whether a mistake occurs in hardware comprises the step of sending a dialog box comprises mistake information to prompt user if such mistake occurs.


The method for measuring a figure of a workpiece, wherein the step of determining whether a program corresponding to the workpiece exists comprises the step of invoking the program to measure the workpiece and compare the measuring result automatically if such program exists.


Other advantages and novel features of the present invention will become more apparent from the following detailed description of preferred embodiments when taken in conjunction with the accompanying drawings, in which:




BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of hardware configuration of a system for measuring a figure of a workpiece in accordance with a preferred embodiment of the present invention;



FIG. 2 is a schematic diagram of main software function modules of the application server of FIG. 1;



FIG. 3 is a flowchart of a method for measuring a figure of a workpiece in accordance with a preferred embodiment of the present invention.




DETAILED DESCRIPTION OF THE INVENTION


FIG. 1 is a schematic diagram of hardware configuration of a system for measuring a figure of a workpiece (hereinafter, “the system”) in accordance with a preferred embodiment of the present invention. The system includes a client computer 1, an application server 2, a database 4, and a machine 5. The client computer 1 provides an operation interface for displaying operation status of the system dynamically, wherein the client computer 1 may be a desktop computer, a laptop computer or a notebook PC. The machine 5 includes a CCD (Charge Coupled Device) 50 for converting an optical signal into an electronic signal; a lens 51 for shooting an under-measurement workpiece; a work plane 52 for placing an under-measurement workpiece; a lamp 53 for providing different kinds of light to help the lens 51 shoot the under-measurement workpiece from different angles, such as ring light, outline light and coaxial light etc; a motor 54 for activating the machine 5; a handle 55 for controlling motion directions of the lens 51, let the lens 51 move to X-axis, Y-axis or Z-axis.


The application server 2 includes a controlling card 21 for controlling motion of the motor 54; a light controlling card 22 for controlling the lamp 53 of the machine 5; a figure acquiring card 23 for acquiring a figure of the under-measurement workpiece outputted from the CCD 50 and an A/D (analog/digital) card 24 for controlling the handle 55. The application server 2 further includes a plurality of software function modules installed therein for measuring the figure of the under-measurement workpieces and comparing coordinates of measuring points with theoretical coordinates and for storing the whole measuring process and the comparing process as a program, which can be invoked to measure the other workpieces have the same serial numbers. The application server 2 communicates with the client computer 1 and the machine 5 via network 6. The network 6 may be an intranet, the Internet, or any other suitable type of communications link.


The database 4 is provided for storing all kinds of data produced in the process of measurement, such as serial number of the workpiece, coordinates of measuring points, theoretical coordinates, tolerance range, program and compared results etc. The database 4 is connected with the application server 2 via connection 3. The connection 3 is a database connectivity, such as an ODBC (Open Database Connectivity) or a JDBC (Java Database Connectivity).



FIG. 2 is a schematic diagram of main software function modules of the application server 2. The application server 2 includes a hardware detecting module 200, a mistake prompting module 201, a measuring module 202, and a measuring result output module 203.


The hardware detecting module 200 is used for detecting hardware in the process of system activation and determining whether any mistake occurs. The mistake prompting module 201 is used for sending a dialog box including mistake information to prompt user to maintain the system when the hardware detecting module 200 determines a mistake occurred in the hardware.


The measuring module 202 is used for measuring the figure of the under-measurement workpieces and comparing coordinates of measuring points with theoretical coordinates and for storing the whole measuring process and the comparing process as a program. The measuring module 202 includes a measuring information acquiring sub-module 2020, a manual execution sub-module 2024, an automatic execution sub-module 2021, a coordinate system maintenance sub-module 2022 and a measuring result comparing sub-module 2023. The measuring information acquiring sub-module 2020 is used for acquiring information of an under-measurement workpiece. The information includes serial number of the under-measurement workpiece etc. Each workpiece is corresponding to a serial number stored in the database 4. The manual execution sub-module 2024 is used for measuring a figure of the under-measurement workpiece via measuring multiple measuring points according to measurement demands manually, and for returning coordinates of the measuring points. The objects that constructed the figure are measured by measuring multiple points on the objects, such as lines, planes, circles, holes etc. The coordinate system maintenance sub-module 2022 is used for constructing a new coordinate system according to normal elements, which include datum mark, datum line and datum plane etc. The coordinate system maintenance sub-module 2022 is also used for converting original coordinates of measuring points on the figure into coordinates based on the new constructed coordinate system.


The measuring result comparing sub-module 2023 is used for comparing the converted coordinates of the measuring points with theoretical coordinates and determining whether the converted coordinates exceed over a tolerance range, and for acquiring the compared results. The automatic execution sub-module 2021 is used for saving the whole measuring process and the comparing process as a program, the program is corresponding to the serial number of the workpiece be measured. The automatic execution sub-module 2021 is also used for invoking the program for measuring the other under-measurement workpieces that have the same serial number and for comparing measuring results automatically. The measuring result output module 203 is used for outputting the converted coordinates of the measuring points and the compared results with text for consulting subsequently.



FIG. 3 is a flowchart of a method for measuring a figure of a workpiece in accordance with a preferred embodiment of the present invention. In step S301, the application server 2 activates the system. In step S302, the hardware detecting module 200 detects hardware and determinates whether any mistake occurs. In step S303, if a mistake occurs in the hardware, the mistake prompting module 201 sends a dialog box, which includes a mistake information to prompt user. Otherwise, if no mistake occurs in the hardware, in step S304, directly entering operation system. In step S305, the lens 51 shoots a under-measurement workpiece placed on the work plane 52, the A/D card 24 controls the motion of the handle 55, the handle 55 makes the lens 51 near to the under-measurement workpiece, the CCD 50 converts the optical signal of the under-measurement workpiece into the electronic signal and sends the electronic signal to the application server 2. The figure acquiring card 23 installed in the application server 2 acquires a figure corresponding to the under-measurement workpiece outputted from the CCD 50. The measuring information acquiring sub-module 2020 acquires measurement information of the under-measurement workpiece, which includes the serial number of the under-measurement workpiece.


In step S306, the automatic execution sub-module 2021 searches the database 4 and determines whether a program according to the serial number of the workpiece exists. In step S307, if such program exists, the automatic execution sub-module 2021 invokes the program to measuring the under-measurement workpiece and comparing measuring results automatically, then the procedure goes directly to step S312. Otherwise, if no corresponding program exists in the database 4, in step S308, the coordinate system maintenance sub-module 2022 constructs a coordinate system according to normal elements, which include datum mark, datum line and datum plane etc. In step S309, the manual execution sub-module 2024 measures multiple measuring points on the figure according to measurement demands and returns coordinates of the measuring points, and the coordinate system maintenance sub-module 2022 converts original coordinates of the measuring points on the figure into coordinates based on the new constructed coordinate system and returns converted coordinates of the measuring points.


In step S310, the measuring result comparing sub-module 2023 compares the converted coordinates with theoretical coordinates stored in the database 4 and determines whether the converted coordinates exceed over a tolerance range stored in the database 4, then returns compared results. In step S311, the automatic execution sub-module 2021 saves the whole measuring process and the comparing process as a program, the program is corresponding to the serial number of the workpiece be measured. In step S312, the measuring result output sub-module 2023 outputs the converted coordinates of the measuring points and the compared results with text.


Although the present invention has been specifically described on the basis of a preferred embodiment and a preferred method, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to said embodiment and method without departing from the scope and spirit of the invention.

Claims
  • 1. A system for measuring a figure of a workpiece comprising an application server, the application server comprising: a hardware detecting module for detecting hardware after activating system and for determining whether any mistake occurs; a measuring module for measuring the figure of the workpieces, the measuring module comprising: a measuring information acquiring sub-module for acquiring information of the workpiece, which includes a serial number of the workpiece; a manual execution sub-module for measuring multiple measuring points on the figure according to measurement demands, and for returning coordinates of the measuring points; a coordinate system maintenance sub-module for constructing a new coordinate system, and for converting coordinates of measuring points into coordinates based on the new constructed coordinate system; a measuring result comparing sub-module for comparing the converted coordinates of the measuring points with theoretical coordinates and determining whether the converted coordinates exceed over a tolerance range, and for acquiring the compared results; and an automatic execution sub-module for saving the whole measuring process and the comparing process as a program, which is invoked for measuring the other workpieces having the same serial number and for comparing measuring results automatically.
  • 2. The system as claimed in claim 1, wherein the application server further comprises: a figure acquiring card for acquiring a figure of a workpiece.
  • 3. The system as claimed in claim 1, wherein the application server further comprises: a mistake prompting module for sending a dialog box to prompt user to maintain the system.
  • 4. The system as claimed in claim 1, wherein the application server further comprises: a measuring result output module for outputting converted coordinates of the measuring points and the compared results with text.
  • 5. A method for measuring a figure of a workpiece, comprising the steps of: activating the system, determining whether a mistake occurs in hardware; acquiring information of the workpiece if no mistake occurs, wherein the information comprising a serial number of the workpiece; determining whether a program corresponding to the workpiece exists according to serial number of the workpiece; constructing a coordinate system according to normal elements if no program exists; measuring multiple measuring points on the figure and returning coordinates of the measuring points; converting coordinates of the measuring points into coordinates based on the new constructed coordinate system and returns converted coordinates of the measuring points; comparing the converted coordinates with theoretical coordinates; and saving the whole measuring process and the comparing process as a program, the program is corresponding to the serial number of the workpiece be measured.
  • 6. The method according to claim 5, further comprising the steps of: outputting the converted coordinates of the measuring points, and the compared results with text.
  • 7. The method according to claim 5, wherein the step of determining whether a mistake occurs in hardware comprises the step of sending a dialog box comprises mistake information to prompt user if such mistake occurs.
  • 8. The method according to claim 5, wherein the step of determining whether a program corresponding to the workpiece exists comprises the step of invoking the program to measure the workpiece and compare the measuring result automatically if such program exists.
  • 9. A method for measuring figures of a series of workpieces, comprising the steps of: retrieving identifiable information of a workpiece to be measured related to identifying a series of workpieces said workpiece belongs thereto; verifying said identifiable information to retrieve an available program for said series of workpieces corresponding to said identifiable information; establishing said program when said program is not previously available; retrieving measured information of said workpiece by means of a measuring module according to said program; and verifying comparative results of said program with standard data of said series of workpieces in order to output said results.
  • 10. The method according to claim 9, wherein said program-establishing step further comprises the steps of constructing a coordinate system, measuring multiple measuring points on a figure of said workpiece to acquire coordinates of said measuring points, and converting said coordinates of said measuring points into coordinates based on said constructed coordinate system.
Priority Claims (1)
Number Date Country Kind
93137366 Dec 2004 TW national