US20090132191A1 - System and method for zero resetting of a measuring machine - Google Patents

System and method for zero resetting of a measuring machine Download PDF

Info

Publication number
US20090132191A1
US20090132191A1 US12/198,325 US19832508A US2009132191A1 US 20090132191 A1 US20090132191 A1 US 20090132191A1 US 19832508 A US19832508 A US 19832508A US 2009132191 A1 US2009132191 A1 US 2009132191A1
Authority
US
United States
Prior art keywords
movable arm
zero
trigger position
setting
reached
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/198,325
Inventor
Chih-Kuang Chang
Hua-Wei Yang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Assigned to HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD., HON HAI PRECISION INDUSTRY CO., LTD. reassignment HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHANG, CHIH-KUANG, YANG, HUA-WEI
Publication of US20090132191A1 publication Critical patent/US20090132191A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/401Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37193Multicoordinate measuring system, machine, cmm

Definitions

  • Embodiments of the present disclosure relate to a system and method for zero resetting of a measuring machine.
  • a prototype is usually made, inspected, and tested before a product is mass-produced. Computers have been introduced in the measuring process, and the accuracy of measurements has greatly improved.
  • a measuring machine such as a three-dimensional measuring machine or a coordinate measuring machine (CMM) controlled by a computer, is commonly used to measure the dimensions of the prototype. The prototype is placed on a measuring area of the CMM.
  • a movable arm with a charge-coupled device collects images of the prototype. The collected images are used for measuring the prototype.
  • the typical method of zero resetting counters of measuring machines is not accurate because only one trigger position is used.
  • the speed of zero resetting is very slow.
  • zero resetting may be inaccurate.
  • a system for zero resetting a measuring machine includes a control card, a computer, and a measuring machine.
  • the measuring machine has three shafts. Each shaft has a movable arm and a limit switch fixed on the shaft corresponding to a first trigger position.
  • Each movable arm includes a reader and a raster ruler having a reference mark corresponding to a second trigger position.
  • the control card includes a receiving module, a setting module, an executing module and a detecting module.
  • the receiving module is configured for receiving a zero-reset instruction from the computer, and receiving a first feedback pulse from the limit switch when the movable arm stops.
  • the setting module is configured for setting a zero-reset direction S 1 of the movable arm, setting a zero-reset direction S 2 of the movable arm, setting the first trigger position; and setting a position of the second trigger position.
  • the executing module is configured for executing the zero-reset instruction.
  • the detecting module is configured for detecting if the movable arm has reached the first trigger position according to the first feedback pulse.
  • the receiving module is further configured for receiving a second feedback pulse from the reader when the movable arm stops after the executing module executes the zero-reset instruction again.
  • the detecting module is further configured for detecting if the movable arm has reached the second trigger position according to the second feedback pulse.
  • FIG. 1 is a schematic block diagram of one embodiment of a system for zero resetting a measuring machine, the system, including a computer, a control card, and a measuring machine;
  • FIG. 2 is a schematic diagram illustrating one embodiment of a shaft of the measuring machine
  • FIG. 3 is a block diagram of one embodiment of the control card of the system of FIG. 1 ;
  • FIG. 4 is a flowchart of one embodiment of making preparations before zero resetting a measuring machine
  • FIG. 5 is a flowchart of one embodiment of a method for zero resetting a measuring machine
  • Open loop an open loop circuit of a servo
  • Closed loop a closed loop circuit of a servo
  • Hard limit a stop position of a movable arm that is set by a limit switch
  • Soft limit a programmed stop position of a movable arm
  • Initial position when a measuring machine is powered on, the measuring machine is at or returns to an initial reference position whose three dimensional coordinates are usually designated as (0, 0, 0).
  • FIG. 1 is a schematic diagram of one embodiment of a system for zero resetting a measuring machine (hereinafter, “the system”).
  • the system typically includes a computer 1 , a control card 2 , and a measuring machine 100 .
  • the measuring machine 100 has a servo 3 , and a raster ruler measuring system 4 .
  • the measuring machine has an x-shaft, a y-shaft, and a z-shaft, each with a movable arm (not shown) and a limit switch 5 .
  • the movable arm of each shaft zero resets in turn.
  • the computer 1 is configured for sending a zero-reset instruction to the control card 2 , using a protocol such as RS232 or TCP/IP.
  • the servo 3 drives the movable arms (not shown in FIG.1 ) to move on each shaft of the measuring machine 100 .
  • the raster ruler measuring system 4 includes a raster ruler 40 and a reader 41 , each of which is fixed on the movable arm.
  • the reader 41 reads data on the raster ruler 40 and outputs a feedback pulse to the control card 2 , when the movable arm moves.
  • the limit switch 5 connects to an input/output port (I/O port) of the control card 2 via a signal wire.
  • the limit switch 5 may be a photoelectric limit switch, a mechanical limit switch, or any other type of limit switch. In this embodiment, the limit switch 5 is a photoelectric limit switch.
  • FIG. 2 is a schematic diagram illustrating one embodiment of a shaft of the measuring machine.
  • the movable arm 201 moves along the shaft 200 .
  • a first trigger position of the movable arm 201 corresponds to where the limit switch 5 is fixed on the shaft 200 .
  • the raster ruler 40 is fixed on the movable arm.
  • a second trigger position of the movable arm 201 corresponds to where a reference mark is on the raster ruler 40 .
  • the reference mark is one of the reference marks nearest to the limit switch 5 .
  • FIG. 3 is a block diagram of one embodiment of the control card of the system of FIG. 1 comprising software function modules.
  • the order of the zero reset actions of the shafts is z-shaft, x-shaft, and y-shaft.
  • the software function modules may be used to implement certain functions.
  • the software function modules include a receiving module 10 , a defining module 12 , a setting module 14 , an executing module 16 , and a detecting module 18 . It may be understood that one or more specialized or general purpose processors (not shown) in the control card 2 may be used to execute the software function modules 10 , 12 , 14 , 16 and 18 .
  • the receiving module 10 is configured for receiving a zero-reset instruction from the computer 1 .
  • the defining module 12 is configured for defining variables. These variables include a servo status value, a hard limit state, a soft limit state, a movable arm speed, a limit switch status value, and a raster ruler reference mark status value.
  • the servo status value identifies if the servo is in the closed loop state.
  • the soft limit state and the hard limit state each include a valid state and an invalid state of the movable arm.
  • the movable arm speed identifies whether the movable arm is in motion or at rest.
  • the limit switch status value may be true if the movable arm has reached a position of the limit switch 5 , or false if the movable arm has not reached a position of the limit switch 5 .
  • the raster ruler reference mark status value may be true if the movable arm has reached a position corresponding to where the one of the reference marks 204 nearest the limit switch 5 , or false if the movable arm has not reached the position corresponding to where the one of the reference marks 204 nearest the limit switch 5 .
  • the setting module 14 is configured for setting zero-reset parameters, for example, setting the soft limit state and the hard limit state as invalid, and setting a first offset of the initial position of the shaft as zero. If the first offset of the initial position is set as zero, the movable arm is unable to move after reaching the limit switch 5 .
  • the setting module 14 is also configured for setting a zero-reset direction S 1 of the movable arm of the z-shaft, setting a position of the limit switch 5 fixed on the z-shaft as a first trigger position, and setting a state value of a zero resetting flag.
  • the state value 0 means that the zero resetting has not been completed.
  • the state value 1 means that the zero resetting has been completed.
  • the executing module 16 is configured for executing the zero-reset instruction from the computer 1 .
  • the detecting module 18 is configured for detecting if the movable arm has stopped according to the movable arm speed. For example, if the movable arm speed is substantially zero, the movable arm has stopped.
  • the receiving module 10 is also configured for receiving a first feedback pulse from the limit switch 5 when the movable arm stops.
  • the detecting module 18 is also configured for detecting if the movable arm has reached the first trigger position according to the first feedback pulse. In one embodiment, if the first feedback pulse is 1 (high level), the movable arm has reached the first trigger position. If the first feedback pulse is 0 (low level), the movable arm has not reached the first trigger position. If the movable arm stops but has not reached the first trigger position, the executing module 16 executes the zero-reset instruction again.
  • the setting module 14 is also configured for setting a zero-reset direction S 2 of the movable arm of the z-shaft, setting a second offset of the initial position, and setting a second trigger position.
  • the zero-reset direction S 2 is opposite the zero-reset direction S 1 .
  • the second offset may be a positive number or a negative number.
  • the positive number is a distance that the movable arm moves in the S 2 direction after the movable arm reaches at the limit switch 5 .
  • the negative number is a distance that the movable arm moves in the S 1 direction after the movable arm reaches at the limit switch 5 .
  • the receiving module 10 is also configured for receiving a second feedback pulse from the reader 41 when the movable arm stops.
  • the detecting module 18 is also configured for detecting if the movable arm reaches the second trigger position according to the second feedback pulse. In one embodiment, if the second feedback pulse is 1 (high level), the movable arm has reached the second trigger position. If the second feedback pulse is 0 (low level), the movable arm has not reached the second trigger position. If the movable arm stops but has not reached the second trigger position, the executing module 16 executes the zero-reset instruction again.
  • the detecting module 18 is further configured for detecting if all the shafts have returned to their respective initial positions. In one embodiment, if the x-shaft and y-shaft have not performed the zero-resetting yet, the x-shaft and y-shaft may do the movement in turn.
  • the setting module 18 is further configured for setting parameters after all the shafts have returned to their respective initial positions.
  • the parameters include a limit to a distance the movable arms move on the shafts, the soft limit state, the hard limit state, and the value of the zero resetting flag.
  • the setting module 18 sets the soft limit state and hard limit state as valid and sets the value of the zero resetting flag as 1.
  • FIG. 4 is a flowchart of one embodiment of making preparations before zero-resetting a measuring machine.
  • the computer 1 checks the state of the measuring machine before the measuring machine begins the zero-resetting, in order to ensure the safety and reliability of the measuring machine. Depending on the embodiment, additional blocks may be added, others removed, and the ordering of the blocks may be changed.
  • the computer 1 checks whether the measuring machine is in a power-on state or a power-off state.
  • a block S 301 if the measuring machine is in the power-off state, the measuring machine is powered.
  • the computer 1 detects if connected to the control card 2 of the measuring machine.
  • a block S 303 if the control card 2 is not connected to the computer 1 , the computer 1 connects to the control card 2 .
  • a block S 304 the computer 1 checks if the limit switch 5 is in a working state.
  • a block S 305 if the limit switch 5 is not in the working state, the user may switch the limit switch 5 to the working state.
  • a block S 306 the computer 1 checks if the raster ruler measuring system 4 is in a working state.
  • a block S 307 if the raster ruler measure system 4 is not in the working state, the user may switch the raster ruler measure system 4 to the working state.
  • a block S 308 the computer 1 detects if the servo 3 is in a closed loop state.
  • a block S 309 if the servo 3 is in an opened loop state, the user may close the loop so that the servo is in the closed loop state.
  • a block S 310 the computer 1 sends a zero-reset instruction to the control card 2 .
  • FIG. 5 is a flowchart of one embodiment of a method for zero resetting a measuring machine. Depending on the embodiment, in FIG. 5 , additional blocks may be added, others removed, and the ordering of the blocks may be changed.
  • the receiving module 10 receives a zero-reset instruction from the computer 1 .
  • the defining module 12 defines variables, such as the servo status value, the hard limit state, the soft limit state, the movable arm speed, the limit switch status value, and the raster ruler reference mark status value.
  • the setting module 14 sets zero-reset parameters, for example, the setting module 14 sets the soft limit state and the hard limit state as invalid, and sets a first offset of the initial position of the measuring machine as zero.
  • executing module 16 executes the zero-reset instruction from the computer 1 .
  • detecting module 18 detects if the movable arm has stopped according to the movable arm speed. If the movable arm is in motion, the flow may move to the block S 405 . Otherwise if the movable arm stops, the flow may move to the block S 406 .
  • the receiving module 10 receives a first feedback pulse from the limit switch 5 .
  • the detecting module 18 detects if the movable arm has reached the first trigger position according to the first feedback pulse. If the movable arm has stopped but not reached the first trigger position, the flow may move to the block S 404 .
  • the setting module 14 sets a zero-reset direction S 2 of the movable arm of the z-shaft.
  • the zero-reset direction S 2 is opposite the zero-reset direction S 1 .
  • the setting module 14 sets a second offset of the initial position of the z-shaft and sets a second trigger position.
  • a block S 409 the executing module 16 executes the zero-reset instruction again.
  • the detecting module 18 detects if the movable arm has stopped. If the movable arm has not stopped, the flow may return to the block S 410 . Otherwise if the movable arm has stopped, the flow may move to the block S 411 .
  • the receiving module 10 receives a second feedback pulse from the reader 41 .
  • the detecting module 18 detects if the movable arm reaches the second trigger position according to the second feedback pulse. If the movable arm stops but not reached the second trigger position, the flow may return to the block S 409 . If the movable arm has reached the second trigger position, the flow may move to the block S 412 .
  • the detecting module 18 detects whether all the shafts have returned to their respective initial positions. If there is any movable arm of one shaft having not performed the zero-resetting, the flow may return to the block S 402 and do the zero-resetting of the next shaft. In one embodiment, if the x-shaft and y-shaft have not performed the zero-resetting yet, the x-shaft and y-shaft may do the movement in turn
  • the setting module 14 sets parameters after all the shaft have returned to their respective initial positions.
  • the parameters include a limit to the distance the movable arms move on the shafts, the soft limit state, the hard limit state, and the value of the zero resetting flag.
  • the setting module 18 sets the soft limit state and the hard limit state as valid and sets the value of the zero resetting flag as 1, the procedure goes to end.

Abstract

A method for zero resetting of a measuring machine is provided. A zero-reset instruction is received. A zero-reset direction S1 of a movable arm and a position where the limit switch is fixed on the shaft is set as a first trigger position. The zero-reset instruction is executed. A first feedback pulse from the limit switch is received. A zero-reset direction S2 of the movable arm is set if the movable arm has reached the first trigger position. A position of a reference mark on a raster ruler fixed on the movable arm is set as a second trigger position. The zero-reset instruction is executed again. A second feedback pulse from a reader fixed on the movable arm is received. If the movable arm has reached the second trigger position, the zero resetting ends.

Description

    BACKGROUND
  • 1. Field of the Invention
  • Embodiments of the present disclosure relate to a system and method for zero resetting of a measuring machine.
  • 2. Description of Related Art
  • Product quality is an important factor in improving the competitiveness of an enterprise. A prototype is usually made, inspected, and tested before a product is mass-produced. Computers have been introduced in the measuring process, and the accuracy of measurements has greatly improved. A measuring machine such as a three-dimensional measuring machine or a coordinate measuring machine (CMM) controlled by a computer, is commonly used to measure the dimensions of the prototype. The prototype is placed on a measuring area of the CMM. A movable arm with a charge-coupled device collects images of the prototype. The collected images are used for measuring the prototype.
  • However, the typical method of zero resetting counters of measuring machines is not accurate because only one trigger position is used. When the shaft is very long, the speed of zero resetting is very slow. Additionally, if there is any interference, such as electromagnetic interference from the servomotor, zero resetting may be inaccurate.
  • Therefore, an accurate system and method for zero resetting of a measuring machine is desired to overcome the above-described shortcomings.
  • SUMMARY
  • In one aspect, the aforementioned needs are satisfied by a system for zero resetting a measuring machine includes a control card, a computer, and a measuring machine. The measuring machine has three shafts. Each shaft has a movable arm and a limit switch fixed on the shaft corresponding to a first trigger position. Each movable arm includes a reader and a raster ruler having a reference mark corresponding to a second trigger position. The control card includes a receiving module, a setting module, an executing module and a detecting module. The receiving module is configured for receiving a zero-reset instruction from the computer, and receiving a first feedback pulse from the limit switch when the movable arm stops. The setting module is configured for setting a zero-reset direction S1 of the movable arm, setting a zero-reset direction S2 of the movable arm, setting the first trigger position; and setting a position of the second trigger position. The executing module is configured for executing the zero-reset instruction. The detecting module is configured for detecting if the movable arm has reached the first trigger position according to the first feedback pulse. The receiving module is further configured for receiving a second feedback pulse from the reader when the movable arm stops after the executing module executes the zero-reset instruction again. The detecting module is further configured for detecting if the movable arm has reached the second trigger position according to the second feedback pulse.
  • Other objects, advantages and novel features of the present disclosure will become more apparent from the following detailed description of the embodiments when taken in conjunction with the accompanying drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a schematic block diagram of one embodiment of a system for zero resetting a measuring machine, the system, including a computer, a control card, and a measuring machine;
  • FIG. 2 is a schematic diagram illustrating one embodiment of a shaft of the measuring machine;
  • FIG. 3 is a block diagram of one embodiment of the control card of the system of FIG. 1;
  • FIG. 4 is a flowchart of one embodiment of making preparations before zero resetting a measuring machine;
  • FIG. 5 is a flowchart of one embodiment of a method for zero resetting a measuring machine;
  • DETAILED DESCRIPTION OF CERTAIN INVENTIVE EMBODIMENTS
  • The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of at least one embodiment. In the drawings, like reference numerals designate corresponding parts throughout the various views.
  • Definition of Terms:
  • In order to describe the embodiments conveniently, the following technical terms are defined below.
  • Open loop: an open loop circuit of a servo;
  • Closed loop: a closed loop circuit of a servo;
  • Hard limit: a stop position of a movable arm that is set by a limit switch;
  • Soft limit: a programmed stop position of a movable arm;
  • Initial position: when a measuring machine is powered on, the measuring machine is at or returns to an initial reference position whose three dimensional coordinates are usually designated as (0, 0, 0).
  • FIG. 1 is a schematic diagram of one embodiment of a system for zero resetting a measuring machine (hereinafter, “the system”). The system typically includes a computer 1, a control card 2, and a measuring machine 100. The measuring machine 100 has a servo 3, and a raster ruler measuring system 4. The measuring machine has an x-shaft, a y-shaft, and a z-shaft, each with a movable arm (not shown) and a limit switch 5. The movable arm of each shaft zero resets in turn. The computer 1 is configured for sending a zero-reset instruction to the control card 2, using a protocol such as RS232 or TCP/IP.
  • The servo 3 drives the movable arms (not shown in FIG.1) to move on each shaft of the measuring machine 100.
  • The raster ruler measuring system 4 includes a raster ruler 40 and a reader 41, each of which is fixed on the movable arm. The reader 41 reads data on the raster ruler 40 and outputs a feedback pulse to the control card 2, when the movable arm moves. There are one or more reference marks 204 on the raster ruler 40.
  • The limit switch 5 connects to an input/output port (I/O port) of the control card 2 via a signal wire. The limit switch 5 may be a photoelectric limit switch, a mechanical limit switch, or any other type of limit switch. In this embodiment, the limit switch 5 is a photoelectric limit switch.
  • FIG. 2 is a schematic diagram illustrating one embodiment of a shaft of the measuring machine. The movable arm 201 moves along the shaft 200. A first trigger position of the movable arm 201 corresponds to where the limit switch 5 is fixed on the shaft 200. The raster ruler 40 is fixed on the movable arm. A second trigger position of the movable arm 201 corresponds to where a reference mark is on the raster ruler 40. The reference mark is one of the reference marks nearest to the limit switch 5.
  • FIG. 3 is a block diagram of one embodiment of the control card of the system of FIG. 1 comprising software function modules. In one embodiment, the order of the zero reset actions of the shafts is z-shaft, x-shaft, and y-shaft. The software function modules may be used to implement certain functions. In one embodiment, the software function modules include a receiving module 10, a defining module 12, a setting module 14, an executing module 16, and a detecting module 18. It may be understood that one or more specialized or general purpose processors (not shown) in the control card 2 may be used to execute the software function modules 10, 12, 14, 16 and 18.
  • The receiving module 10 is configured for receiving a zero-reset instruction from the computer 1.
  • The defining module 12 is configured for defining variables. These variables include a servo status value, a hard limit state, a soft limit state, a movable arm speed, a limit switch status value, and a raster ruler reference mark status value. The servo status value identifies if the servo is in the closed loop state. The soft limit state and the hard limit state each include a valid state and an invalid state of the movable arm. The movable arm speed identifies whether the movable arm is in motion or at rest. The limit switch status value may be true if the movable arm has reached a position of the limit switch 5, or false if the movable arm has not reached a position of the limit switch 5. The raster ruler reference mark status value may be true if the movable arm has reached a position corresponding to where the one of the reference marks 204 nearest the limit switch 5, or false if the movable arm has not reached the position corresponding to where the one of the reference marks 204 nearest the limit switch 5.
  • The setting module 14 is configured for setting zero-reset parameters, for example, setting the soft limit state and the hard limit state as invalid, and setting a first offset of the initial position of the shaft as zero. If the first offset of the initial position is set as zero, the movable arm is unable to move after reaching the limit switch 5.
  • The setting module 14 is also configured for setting a zero-reset direction S1 of the movable arm of the z-shaft, setting a position of the limit switch 5 fixed on the z-shaft as a first trigger position, and setting a state value of a zero resetting flag. The state value 0 means that the zero resetting has not been completed. The state value 1 means that the zero resetting has been completed.
  • The executing module 16 is configured for executing the zero-reset instruction from the computer 1.
  • The detecting module 18 is configured for detecting if the movable arm has stopped according to the movable arm speed. For example, if the movable arm speed is substantially zero, the movable arm has stopped.
  • The receiving module 10 is also configured for receiving a first feedback pulse from the limit switch 5 when the movable arm stops.
  • The detecting module 18 is also configured for detecting if the movable arm has reached the first trigger position according to the first feedback pulse. In one embodiment, if the first feedback pulse is 1 (high level), the movable arm has reached the first trigger position. If the first feedback pulse is 0 (low level), the movable arm has not reached the first trigger position. If the movable arm stops but has not reached the first trigger position, the executing module 16 executes the zero-reset instruction again.
  • The setting module 14 is also configured for setting a zero-reset direction S2 of the movable arm of the z-shaft, setting a second offset of the initial position, and setting a second trigger position. The zero-reset direction S2 is opposite the zero-reset direction S1. The second offset may be a positive number or a negative number. The positive number is a distance that the movable arm moves in the S2 direction after the movable arm reaches at the limit switch 5. The negative number is a distance that the movable arm moves in the S1 direction after the movable arm reaches at the limit switch 5.
  • The receiving module 10 is also configured for receiving a second feedback pulse from the reader 41 when the movable arm stops.
  • The detecting module 18 is also configured for detecting if the movable arm reaches the second trigger position according to the second feedback pulse. In one embodiment, if the second feedback pulse is 1 (high level), the movable arm has reached the second trigger position. If the second feedback pulse is 0 (low level), the movable arm has not reached the second trigger position. If the movable arm stops but has not reached the second trigger position, the executing module 16 executes the zero-reset instruction again.
  • The detecting module 18 is further configured for detecting if all the shafts have returned to their respective initial positions. In one embodiment, if the x-shaft and y-shaft have not performed the zero-resetting yet, the x-shaft and y-shaft may do the movement in turn.
  • The setting module 18 is further configured for setting parameters after all the shafts have returned to their respective initial positions. The parameters include a limit to a distance the movable arms move on the shafts, the soft limit state, the hard limit state, and the value of the zero resetting flag. The setting module 18 sets the soft limit state and hard limit state as valid and sets the value of the zero resetting flag as 1.
  • FIG. 4 is a flowchart of one embodiment of making preparations before zero-resetting a measuring machine. The computer 1 checks the state of the measuring machine before the measuring machine begins the zero-resetting, in order to ensure the safety and reliability of the measuring machine. Depending on the embodiment, additional blocks may be added, others removed, and the ordering of the blocks may be changed. In a block S300, the computer 1 checks whether the measuring machine is in a power-on state or a power-off state. In a block S301, if the measuring machine is in the power-off state, the measuring machine is powered.
  • In a block S302, the computer 1 detects if connected to the control card 2 of the measuring machine.
  • In a block S303, if the control card 2 is not connected to the computer 1, the computer 1 connects to the control card 2.
  • In a block S304, the computer 1 checks if the limit switch 5 is in a working state.
  • In a block S305, if the limit switch 5 is not in the working state, the user may switch the limit switch 5 to the working state.
  • In a block S306, the computer 1 checks if the raster ruler measuring system 4 is in a working state.
  • In a block S307, if the raster ruler measure system 4 is not in the working state, the user may switch the raster ruler measure system 4 to the working state.
  • In a block S308, the computer 1 detects if the servo 3 is in a closed loop state.
  • In a block S309, if the servo 3 is in an opened loop state, the user may close the loop so that the servo is in the closed loop state.
  • In a block S310, the computer 1 sends a zero-reset instruction to the control card 2.
  • FIG. 5 is a flowchart of one embodiment of a method for zero resetting a measuring machine. Depending on the embodiment, in FIG. 5, additional blocks may be added, others removed, and the ordering of the blocks may be changed.
  • In a block S401, the receiving module 10 receives a zero-reset instruction from the computer 1.
  • In a block S402, the defining module 12 defines variables, such as the servo status value, the hard limit state, the soft limit state, the movable arm speed, the limit switch status value, and the raster ruler reference mark status value.
  • In a block S403, the setting module 14 sets zero-reset parameters, for example, the setting module 14 sets the soft limit state and the hard limit state as invalid, and sets a first offset of the initial position of the measuring machine as zero.
  • In a block S404, executing module 16 executes the zero-reset instruction from the computer 1.
  • In a block S405, detecting module 18 detects if the movable arm has stopped according to the movable arm speed. If the movable arm is in motion, the flow may move to the block S405. Otherwise if the movable arm stops, the flow may move to the block S406.
  • In a block S406, the receiving module 10 receives a first feedback pulse from the limit switch 5. The detecting module 18 detects if the movable arm has reached the first trigger position according to the first feedback pulse. If the movable arm has stopped but not reached the first trigger position, the flow may move to the block S404.
  • In a block S407, if the movable arm reached the first trigger position, the setting module 14 sets a zero-reset direction S2 of the movable arm of the z-shaft. The zero-reset direction S2 is opposite the zero-reset direction S1.
  • In a block S408, the setting module 14 sets a second offset of the initial position of the z-shaft and sets a second trigger position.
  • In a block S409, the executing module 16 executes the zero-reset instruction again.
  • In a block S410, the detecting module 18 detects if the movable arm has stopped. If the movable arm has not stopped, the flow may return to the block S410. Otherwise if the movable arm has stopped, the flow may move to the block S411.
  • In a block S411, the receiving module 10 receives a second feedback pulse from the reader 41. The detecting module 18 detects if the movable arm reaches the second trigger position according to the second feedback pulse. If the movable arm stops but not reached the second trigger position, the flow may return to the block S409. If the movable arm has reached the second trigger position, the flow may move to the block S412.
  • In a block S412, the detecting module 18 detects whether all the shafts have returned to their respective initial positions. If there is any movable arm of one shaft having not performed the zero-resetting, the flow may return to the block S402 and do the zero-resetting of the next shaft. In one embodiment, if the x-shaft and y-shaft have not performed the zero-resetting yet, the x-shaft and y-shaft may do the movement in turn
  • In a block S413, the setting module 14 sets parameters after all the shaft have returned to their respective initial positions. The parameters include a limit to the distance the movable arms move on the shafts, the soft limit state, the hard limit state, and the value of the zero resetting flag. The setting module 18 sets the soft limit state and the hard limit state as valid and sets the value of the zero resetting flag as 1, the procedure goes to end.
  • Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.

Claims (13)

1. A system for zero resetting of a measuring machine, the system comprising:
a computer;
a measuring machine, the measuring machine having three shafts, each shaft having a movable arm and a limit switch fixed on the shaft corresponding to a first trigger position, wherein each movable arm comprises a reader and a raster ruler having a reference mark corresponding to a second trigger position;
a control card comprising:
a receiving module configured for receiving a zero-reset instruction from the computer, and receiving a first feedback pulse from the limit switch when the movable arm stops;
a setting module configured for setting a zero-reset direction S1 of the movable arm, setting a zero-reset direction S2 of the movable arm, setting the first trigger position, and setting the second trigger position;
an executing module configured for executing the zero-reset instruction;
a detecting module configured for detecting if the movable arm has reached the first trigger position according to the first feedback pulse;
wherein the receiving module is further configured for receiving a second feedback pulse from the reader when the movable arm stops after the executing module executes the zero-reset instruction again; the detecting module is further configured for detecting if the movable arm has reached the second trigger position according to the second feedback pulse.
2. The system of claim 1, wherein the control card further comprises a defining module configured for defining variables, the variables including a limit switch status value for identifying if the movable arm has reached the first trigger position, and a raster ruler reference mark status value for identifying if the movable arm has reached the second trigger position.
3. The system of claim 1, wherein the zero-reset direction S2 is opposite the zero-reset direction S1.
4. The system of claim 1, wherein the setting module is further configured for setting a soft limit state and a hard limit state of the moveable arm as invalid and setting an offset of an initial position of the shaft as zero.
5. The system of claim 4, wherein the detecting module is further configured for detecting if each movable arm has returned to an initial position; the setting module is further configured for setting the soft limit state and the hard limit state of each movable arm as valid if each movable arm has returned to the initial position.
6. The system of claim 1, wherein the second trigger position corresponds to one of the reference marks nearest to the limit switch.
7. A method for zero resetting of a measuring machine, the method comprising:
(a) receiving a zero-reset instruction by a control card sent from a computer connected to the control card;
(b) setting a zero-reset direction S1 of a movable arm of a shaft of the measuring machine, and setting a first trigger position corresponding to where a limit switch is fixed on the shaft;
(c) executing the zero-reset instruction by the control card;
(d) receiving a first feedback pulse sent from the limit switch when the movable arm stops;
(e) detecting if the movable arm has reached the first trigger position according to the first feedback pulse;
(f) setting a zero-reset direction S2 of the movable arm if the movable arm has reached the first trigger position, and setting a second trigger position corresponding to where a reference mark is on a raster ruler fixed on the movable arm;
(g) executing the zero-reset instruction again by the control card;
(h) receiving a second feedback pulse from a reader fixed on the movable arm when the movable arm stops; and
(i) detecting if the movable arm has reached the second trigger position according to the second feedback pulse; if the movable arm has reached the second trigger position, the zero resetting ends.
8. The method of claim 7, further comprising: defining variables, the variables including a limit switch status value for identifying if the movable arm has reached the first trigger position, and a raster ruler reference mark status value for identifying if the movable arm has reached the second trigger position, after block (a) and before block (b).
9. The method of claim 7, wherein the zero-reset direction S2 is opposite the zero-reset direction S1.
10. The method of claim 7, wherein the block (b) further comprises:
setting a soft limit state and a hard limit state of the movable arm as invalid and setting an offset of an initial position of the shaft as zero.
11. The method of claim 10, further comprising:
detecting if each movable arm has returned to an initial position; and
setting the soft limit state and the hard limit state of each movable arm as valid if each movable arm has returned to the initial position.
12. The method of claim 7, wherein the second trigger position corresponds to one of the reference marks nearest to the limit switch.
13. A medium having stored instructions for zero resetting of a measuring machine, the medium, when executed by a control card, causes the control card to:
(a) receiving a zero-reset instruction by a control card sent from a computer connected to the control card;
(b) setting a zero-reset direction S1 of a movable arm of an shaft of the measuring machine, and setting a first trigger position corresponding to where a limit switch is fixed on the shaft;
(c) executing the zero-reset instruction by the control card;
(d) receiving a first feedback pulse sent from the limit switch when the movable arm stops;
(e) detecting if the movable arm has reached the first trigger position according to the first feedback pulse;
(f) setting a zero-reset direction S2 of the movable arm if the movable arm has reached the first trigger position, and setting a second trigger position corresponding to where a reference mark is on a raster ruler fixed on the movable arm;
(g) executing the zero-reset instruction again by the control card;
(h) receiving a second feedback pulse from a reader fixed on the movable arm when the movable arm stops; and
(i) detecting if the movable arm has reached the second trigger position according to the second feedback pulse; if the movable arm has reached the second trigger position, the zero resetting ends.
US12/198,325 2007-11-15 2008-08-26 System and method for zero resetting of a measuring machine Abandoned US20090132191A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710202562.4 2007-11-15
CN2007102025624A CN101436052B (en) 2007-11-15 2007-11-15 Machine platform zero return moving system and method

Publications (1)

Publication Number Publication Date
US20090132191A1 true US20090132191A1 (en) 2009-05-21

Family

ID=40642838

Family Applications (1)

Application Number Title Priority Date Filing Date
US12/198,325 Abandoned US20090132191A1 (en) 2007-11-15 2008-08-26 System and method for zero resetting of a measuring machine

Country Status (2)

Country Link
US (1) US20090132191A1 (en)
CN (1) CN101436052B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865560A (en) * 2019-11-06 2020-03-06 泰德激光惠州有限公司 Zero-returning motion control method, terminal device and computer readable storage medium

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923336B (en) * 2009-06-09 2012-08-29 鸿富锦精密工业(深圳)有限公司 System for controlling motion of machine platform and method thereof
TWI464589B (en) * 2009-06-16 2014-12-11 Hon Hai Prec Ind Co Ltd System and method for controlling motion of a measuring machine
CN101806580A (en) * 2010-03-19 2010-08-18 东华大学 Motion control system and method for high-precision image measuring apparatus
CN102707662B (en) * 2012-05-15 2014-06-25 广州数控设备有限公司 Zero returning control method based on industrial Ethernet bus technology
CN103092127B (en) * 2012-12-31 2018-01-23 深圳市配天智造装备股份有限公司 A kind of method and control device of lathe return reference point
CN104759944A (en) * 2014-01-06 2015-07-08 苏州易昌光电科技有限公司 Sensing system for zero return of machine tool and control method thereof
CN108021153A (en) * 2017-11-13 2018-05-11 深圳市显控科技股份有限公司 A kind of workbench back to zero control method and system
CN111007802B (en) * 2019-10-09 2020-11-27 珠海格力电器股份有限公司 Control method and control system for shutdown of numerical control machine tool due to data loss
CN111258273B (en) * 2020-01-13 2021-02-19 浙江工业大学 Variable zero-returning method and system based on multi-axis point drilling machine motion platform
CN113866535A (en) * 2021-08-26 2021-12-31 深圳市研控自动化科技有限公司 Drive zero-returning test method, device, equipment, medium and computer program product
CN115603630B (en) * 2022-12-14 2023-03-10 四川大学 Method for quickly determining reference zero point of servo motor in high-precision situation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4242621A (en) * 1978-03-27 1980-12-30 Spaulding Carl P Programmable limit switch for a movable member, particularly a machine tool slide
US6158136A (en) * 1998-03-06 2000-12-12 Carl-Zeiss-Stiftung Coordinate measuring apparatus with user assist
US20030069709A1 (en) * 2001-10-04 2003-04-10 Mitutoyo Corporation Method for calibrating scanning probe and computer-readable medium therefor
US20050166413A1 (en) * 2003-04-28 2005-08-04 Crampton Stephen J. CMM arm with exoskeleton
US20070186426A1 (en) * 2006-02-16 2007-08-16 Precise Automation. Llc Robotic system with traction drive

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4242621A (en) * 1978-03-27 1980-12-30 Spaulding Carl P Programmable limit switch for a movable member, particularly a machine tool slide
US6158136A (en) * 1998-03-06 2000-12-12 Carl-Zeiss-Stiftung Coordinate measuring apparatus with user assist
US20030069709A1 (en) * 2001-10-04 2003-04-10 Mitutoyo Corporation Method for calibrating scanning probe and computer-readable medium therefor
US20050166413A1 (en) * 2003-04-28 2005-08-04 Crampton Stephen J. CMM arm with exoskeleton
US20070186426A1 (en) * 2006-02-16 2007-08-16 Precise Automation. Llc Robotic system with traction drive
US7343684B2 (en) * 2006-02-16 2008-03-18 Brian Carlisle Robotic system with traction drive

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865560A (en) * 2019-11-06 2020-03-06 泰德激光惠州有限公司 Zero-returning motion control method, terminal device and computer readable storage medium

Also Published As

Publication number Publication date
CN101436052B (en) 2010-09-29
CN101436052A (en) 2009-05-20

Similar Documents

Publication Publication Date Title
US20090132191A1 (en) System and method for zero resetting of a measuring machine
CN110348279A (en) Object identification processing unit and method and object sorting plant and method
US8238639B2 (en) Method and system for dynamic feature detection
WO2017068930A1 (en) Teaching point correcting method, program, recording medium, robot apparatus, imaging point creating method, and imaging point creating apparatus
CN103313921A (en) Image processing apparatus and image processing system
CN110293553B (en) Method and device for controlling mechanical arm to operate object and method and device for model training
CN105538313B (en) A kind of industrial robot laser trace detection means
US10664939B2 (en) Position control system, position detection device, and non-transitory recording medium
CN105509671A (en) Method for calibrating central point of robot tool through employing plane calibration plate
KR102385606B1 (en) Trigger management device for measuring equipment
CN209104025U (en) A kind of rail traction substation control cabinet button vision positioning device
CN111132800A (en) On-machine measuring method and control device for machine tool
Shen et al. Automatic camera calibration for a multiple-sensor integrated coordinate measurement system
CN113172636B (en) Automatic hand-eye calibration method and device and storage medium
CN113884278B (en) System calibration method and device for line laser equipment
CN109631764A (en) Size Measuring System and method based on RealSense camera
CN101660895B (en) Computer system and method for accurately positioning element to be measured
US20210162606A1 (en) Picking system, information processing device, and computer readable storage medium
WO2019202944A1 (en) Control system, control method, and program
CN203606106U (en) Optical center calibrating system for projection equipment
CN113793391A (en) Method and device for establishing actual kinematic transformation relation of multi-axis motion system and terminal equipment
Uudelepp Positional calibration methods for linear pipetting robot
CN117739884A (en) Test system, and method and device for testing distance accuracy of industrial robot
Lv et al. Design of automatic parts monitoring system based on capacitance method
Li et al. Hand-eye calibration for flexible manipulator

Legal Events

Date Code Title Description
AS Assignment

Owner name: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHANG, CHIH-KUANG;YANG, HUA-WEI;REEL/FRAME:021442/0415

Effective date: 20080814

Owner name: HON HAI PRECISION INDUSTRY CO., LTD., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHANG, CHIH-KUANG;YANG, HUA-WEI;REEL/FRAME:021442/0415

Effective date: 20080814

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION