CN107708923A - A kind of orientation trouble method, numerical control device and Digit Control Machine Tool - Google Patents

A kind of orientation trouble method, numerical control device and Digit Control Machine Tool Download PDF

Info

Publication number
CN107708923A
CN107708923A CN201580081081.5A CN201580081081A CN107708923A CN 107708923 A CN107708923 A CN 107708923A CN 201580081081 A CN201580081081 A CN 201580081081A CN 107708923 A CN107708923 A CN 107708923A
Authority
CN
China
Prior art keywords
angle
spindle encoder
zero signal
spindle
main shaft
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.)
Pending
Application number
CN201580081081.5A
Other languages
Chinese (zh)
Inventor
龚丽辉
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.)
Shenzhen A&E Intelligent Technology Institute Co Ltd
Original Assignee
Shenzhen A&E Intelligent Technology Institute 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 Shenzhen A&E Intelligent Technology Institute Co Ltd filed Critical Shenzhen A&E Intelligent Technology Institute Co Ltd
Publication of CN107708923A publication Critical patent/CN107708923A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q5/00Driving or feeding mechanisms; Control arrangements therefor
    • B23Q5/02Driving main working members
    • B23Q5/04Driving main working members rotary shafts, e.g. working-spindles
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

A kind of orientation trouble method, including:Main shaft is arranged to position control mode;Determine first angle of the current location relative to zero signal position;Orientation trouble angle on target is subtracted into first angle and obtains second angle, wherein orientation trouble angle on target is angle on target and the relative angle of zero signal position;Control main shaft rotates second angle to reach target location.This method realizes orientation trouble by the position control function of digital control system, improves the application of digital control system.Further relate to a kind of numerical control device and Digit Control Machine Tool using this orientation trouble method.

Description

A kind of orientation trouble method, numerical control device and numerically-controlled machine tool Technical field
The present invention relates to automatic field more particularly to a kind of orientation trouble methods, numerical control device and numerically-controlled machine tool.
Background technique
In that proces of numerically controlled machine tool, it often may require that the angle that main shaft is accurately positioned and needs to rotate on main shaft some fixation to some angle, i.e. orientation trouble, such as when tool changing, it otherwise can not tool changing.
The method for realizing orientation trouble at present is mainly completed by spindle driver, it can permit the angle of user setting orientation trouble in spindle driver, and provide an input and an output port, when needing to carry out orientation trouble, digital control system sends a high level signal to the input port of spindle driver, spindle driver starts to carry out orientation trouble after receiving this signal, after the completion of orientation, spindle driver exports a high level by output port, and digital control system thinks that orientation trouble is completed after receiving this signal.
Premise using this method for realizing orientation trouble by spindle driver is the spindle driver supporting spindle orientating function that numerically-controlled machine tool is installed, when supporting spindle does not orient the spindle driver that numerically-controlled machine tool is installed, which cannot achieve orientation trouble.Therefore, the shortcomings that this scheme it is function that main shaft of numerical control machine tool orientating function depends critically upon spindle driver, when spindle driver does not have orientation trouble function or orientation trouble disabler, numerically-controlled machine tool can not carry out normal process.
Summary of the invention
The present invention provides a kind of orientation trouble method, numerical control device and numerically-controlled machine tool, enable in the case where supporting spindle does not orient spindle driver, numerically-controlled machine tool can also work normally.
First aspect of the embodiment of the present invention provides a kind of orientation trouble method, comprising:
Position control mode is set by main shaft;Determine first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;Orientation trouble target angle is subtracted into first angle and obtains second angle, orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;Main shaft rotation second angle is controlled to reach target position.
In this way, the embodiment of the present invention realizes orientation trouble by the position control function of digital control system, and no longer The orientating function by spindle driver is needed, the application range of digital control system is substantially increased.
With reference to first aspect, in the first possible implementation of the first aspect, include: before determining first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position
First obtain the angle of spindle encoder zero signal position;When main shaft stops rotating, the angle of the current location of spindle encoder feedback is obtained;Determine that the current location of spindle encoder feedback relative to the first angle of spindle encoder zero signal position includes: that the angle of the current location of spindle encoder feedback is subtracted the angle of spindle encoder zero signal position to obtain first angle.
The possible implementation of with reference to first aspect the first, in the second possible implementation of the first aspect, the angle for obtaining spindle encoder zero signal position includes:
Judge the angle that spindle encoder null positions whether are stored in memory;If being stored with the angle of spindle encoder null positions, the angle of the spindle encoder null positions stored in memory is read.
The possible implementation of second with reference to first aspect, in a third possible implementation of the first aspect, the angle for obtaining spindle encoder null positions includes:
If not storing the angle of spindle encoder null positions, main shaft is then controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting zero signal, using the angle as spindle encoder null positions.
Because only that first time orientation trouble just needs to search for main shaft null positions (absolute position), this process is no longer needed after second, and the angle of main shaft null positions is directly read from memory, main shaft directly can quickly rotate to directional angle, substantially increase the efficiency of orientation trouble.
Second aspect, the embodiment of the invention provides a kind of numerical control devices, comprising:
Control mode switch module, for setting position control mode for main shaft;
Current location angle-determining module, for determining first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;
Spindle rotation angle degree computing module obtains second angle for orientation trouble target angle to be subtracted first angle, and orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;
Main shaft rotates control module, for controlling main shaft rotation second angle to reach target position.
In conjunction with second aspect, in the first possible implementation of the second aspect, current location angle-determining module is specifically used for: obtaining the angle of spindle encoder zero signal position;When main shaft stops rotating, then obtain the angle of the current location of spindle encoder feedback;By the angle of the current location of spindle encoder feedback The angle that degree subtracts spindle encoder zero signal position obtains first angle.
In conjunction with the first possible implementation of second aspect, in a second possible implementation of the second aspect, current location angle-determining module, specifically for the angle for judging whether to be stored with spindle encoder null positions in memory;If it is determined that being stored with the angle of spindle encoder null positions in memory, then the angle of the spindle encoder null positions stored in memory is read;When main shaft stops rotating, then obtain the angle of the current location of spindle encoder feedback;The angle that the angle of the current location of spindle encoder feedback subtracts spindle encoder zero signal position is obtained into first angle.
In conjunction with second of possible implementation of second aspect, in the third possible implementation of the second aspect, current location angle-determining module, specifically for the angle for judging whether to be stored with spindle encoder null positions in memory;If it is determined that not having to store the angle of spindle encoder null positions in memory, main shaft is then controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting zero signal, using the angle as spindle encoder null positions;When main shaft stops rotating, then obtain the angle of the current location of spindle encoder feedback;The angle that the angle of the current location of spindle encoder feedback subtracts spindle encoder zero signal position is obtained into first angle.
The third aspect, the embodiment of the invention provides a kind of numerically-controlled machine tool, which includes:
Processor, memory, main shaft and spindle encoder, wherein memory executes control program for storing control program, processor to be used for:
Position control mode is set by main shaft;Determine first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;Orientation trouble target angle is subtracted into first angle and obtains second angle, orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;Main shaft rotation second angle is controlled to reach target position.
In conjunction with the third aspect, in the first possible implementation of the third aspect, processor is specifically used for:
Obtain the angle of spindle encoder zero signal position;When main shaft stops rotating, the angle of the current location of spindle encoder feedback is obtained;The angle that the angle of the current location of spindle encoder feedback subtracts spindle encoder zero signal position is obtained into first angle.
In conjunction with the first possible implementation of the third aspect, in the second possible implementation of the third aspect, processor is specifically used for:
Judge the angle that spindle encoder null positions whether are stored in memory;
If it is determined that being stored with the angle of spindle encoder null positions in memory, then the angle of the spindle encoder null positions stored in memory is read.
In conjunction with second of possible implementation of the third aspect, in the third possible implementation of the third aspect, processor is specifically used for:
When determining the angle for not having to store spindle encoder null positions in memory, main shaft is then controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting zero signal, using the angle as spindle encoder null positions.
As can be seen from the above technical solutions, the scheme of the embodiment of the present invention has the following beneficial effects:
By setting position control mode for main shaft, determine first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position, orientation trouble target angle is subtracted into the first angle and obtains second angle, wherein orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;Later, control main shaft rotation second angle can reach the target position.The embodiment of the present invention is able to achieve orientation trouble by digital control system position control function, so that numerically-controlled machine tool no longer needs spindle driver to have the function of orientation trouble, in the case where supporting spindle does not orient spindle driver, numerically-controlled machine tool can also work normally, so that the application range of digital control system is wider.
Detailed description of the invention
Fig. 1 is a kind of flow chart of orientation trouble method in the embodiment of the present invention;
Fig. 2 is another flow chart of orientation trouble method in the embodiment of the present invention;
Fig. 3 is a kind of functional module structure schematic diagram of numerical control device in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of numerically-controlled machine tool in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention; technical scheme in the embodiment of the invention is clearly and completely described; obviously; described embodiments are only a part of the embodiments of the present invention; instead of all the embodiments; based on the embodiments of the present invention, those skilled in the art's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " Two ", the (if present)s such as " third " " 4th " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be implemented with the sequence other than the content for illustrating or describing herein.Furthermore, term " includes " and " having " and their any deformation, it is intended to cover and non-exclusive includes, such as, the process, method, system, product or equipment for containing a series of steps or units those of are not necessarily limited to be clearly listed step or unit, but may include other step or units being not clearly listed or intrinsic for these process, methods, product or equipment.
In the prior art, the precondition that the method for orientation trouble is realized by spindle driver is that the spindle driver that numerically-controlled machine tool is installed needs supporting spindle to orient, a kind of method that the embodiment of the present invention proposes the position control function by digital control system to realize orientation trouble, so that numerically-controlled machine tool no longer depends critically upon the function of spindle driver, in the case where supporting spindle does not orient spindle driver, numerically-controlled machine tool can also be worked normally.
The executing subject of the embodiment of the present invention is the processor of digital control system, it is in practical applications digital control system, digital control system is according to the control program stored in computer storage, execution part or whole numerical control functions, and the dedicated computer system equipped with interface circuit and servo drive.One or more mechanical equipment action control is realized by the digital command using number, text and symbol composition, it can control the mechanical quantities such as position, angle, speed and switching value.
Main shaft in the embodiment of the present invention refers to the axis for receiving power from engine or motor and it being transmitted to other parts.Spindle encoder is mounted on main shaft come the rotation speed and the component that is detected of position to main shaft, applied in numerically controlled lathe cutting thread, it is using its lock-out pulse as the control signal of lathe tool feed point and withdrawing point, to guarantee that cutted thread will not be detained disorderly.
The embodiment of the present invention is to control spindle encoder by the processor of digital control system to be oriented to main shaft.Fig. 1 is the flow chart of the orientation trouble method in the embodiment of the present invention, is executed by the processor of digital control system, comprising:
101, position control mode is set by main shaft;
Processor sends to spindle driver and instructs, position control mode is set by main shaft, specifically by main shaft from speed control mode switch be position control mode, to give the rotation direction and angle of main shaft with digit pulse or data communication mode, it controls main shaft and turns over corresponding angle by given direction, rotation Angle (setting position) and speed can control.
102, first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position is determined;
Spindle encoder is had the photoelectric code disk of axis by a center, there is annular to lead to thereon, dark groove, there are photoemission and receiving device to read, it obtains four groups of sine wave signals and is combined into A, B, C, D, each sine wave differs 90 degree of phase differences (being 360 degree relative to a cycle), C, D signal is reversed, it is superimposed upon in A, B two-phase, stabilization signal can be enhanced;Transfer out a Z phase pulse often to represent zero reference position, i.e. zero signal position, the corresponding motor physical location of spindle encoder zero signal is fixed.
First difference of the current location of acquisition spindle encoder feedback relative to the angle of the zero signal position of spindle encoder.
103, orientation trouble target angle is subtracted into first angle and obtains second angle;
The final position of orientation trouble (i.e. target position) is the position apart from one fixed angle of motor zero signal, this fixed angle is the orientation trouble target angle of user setting.
Orientation trouble target angle is subtracted into the first difference and obtains the second difference, the angle of the second difference is angle of the current position of spindle encoder relative to the final position of orientation trouble.
104, control main shaft rotates the second angle to reach the target position.
Therefore, the processor control main shaft rotation of digital control system, the angle of rotation is calculated angle in step 103, so that it may be directed to target position, orientation trouble can be completed.
In the embodiment of the present invention, by setting position control mode for main shaft, determine first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position, orientation trouble target angle is subtracted into the first angle and obtains second angle, wherein orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;Later, control main shaft rotation second angle can reach the target position.The embodiment of the present invention is able to achieve orientation trouble by digital control system position control function, so that numerically-controlled machine tool no longer needs spindle driver to have the function of orientation trouble, in the case where supporting spindle does not orient spindle driver, numerically-controlled machine tool can also work normally, so that the application range of digital control system is wider.
Specifically, during realizing orientation trouble by the position control function of digital control system, need first to judge whether completed orientation trouble before numerically-controlled machine tool, if not completing, then need first to determine and save the position of spindle encoder zero signal, later, the position can be directly read from memory, so that search The process of null positions only needs the execution when orienting first time.
In conjunction with Fig. 2, the orientation trouble method in the embodiment of the present invention is described in detail.
201, when starting orientation trouble, position control mode is set by main shaft first;
202, judge the process for whether having had orientation trouble before system, if not having orientation trouble process before, 203 are thened follow the steps, if there is orientation trouble process before, the main shaft zero signal position POS1 of record then can be directly read from memory, then executes step 207;
If 203, this is to carry out orientation trouble for the first time, rotated according to the orientation trouble speed control main shaft of user setting;
204, judge whether detect spindle encoder zero signal (Z signal) during rotation, when detecting Z signal, then follow the steps 205, if not detecting Z signal, continue to execute step 203;
205, when detecting Z signal, the feedback position POS (Position) 1 of current spindle encoder is recorded, and plans that main shaft stops simultaneously;
206, may determine that whether main shaft stops according to conditions such as the velocities of rotation of main shaft, when main shaft stop when, execute step 207, when main shaft also rotation when, then continue waiting for main shaft stopping;
207, after main shaft stops, recording the angular distance of the feedback position POS2, POS2 of current spindle encoder between POS1 is at a distance from current main spindle's and zero signal position;
208, then the orientation trouble angle of user setting is subtracted to the angular distance of the POS2 and POS1 in above-mentioned steps 207 again to get the angle A NGLE for also needing to rotate to main shaft;
209, finally control main shaft rotates angle ANGLE again, i.e. completion orientation trouble process.
Since the corresponding motor physical location of spindle encoder zero signal is fixed, so according to the method provided by the invention, the final position of orientation trouble is the position apart from one fixed angle of motor zero signal, this fixed angle is the orientation trouble angle of user setting.In the above process, if having there is orientation trouble process before, there is the value of POS1, the process for obtaining POS1 can be omitted, only first time orientation trouble just needs to search for main shaft null positions (absolute position), this process is no longer needed after second, main shaft directly can quickly rotate to directional angle, substantially increase the efficiency of orientation trouble.
Fig. 3 is the schematic diagram of the numerical control device in the embodiment of the present invention, and the numerical control device is in practical applications For the digital control system in numerically-controlled machine tool, from functional module for, the device in the embodiment of the present invention includes:
Control mode switch module 301, for setting position control mode for main shaft;
Current location angle-determining module 302, for determining first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;
Spindle rotation angle degree computing module 303 obtains second angle for orientation trouble target angle to be subtracted first angle, and orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;
Main shaft rotates control module 304, for controlling main shaft rotation second angle to reach target position.
In some specific embodiments, current location angle-determining module 302 is specifically used for: obtaining the angle of spindle encoder zero signal position;When main shaft stops rotating, then obtain the angle of the current location of spindle encoder feedback;The angle that the angle of the current location of spindle encoder feedback subtracts spindle encoder zero signal position is obtained into first angle.
In some specific embodiments, current location angle-determining module 302, specifically for the angle for judging whether to be stored with spindle encoder null positions in memory;If it is determined that being stored with the angle of spindle encoder null positions in memory, then the angle of the spindle encoder null positions stored in memory is read;When main shaft stops rotating, then obtain the angle of the current location of spindle encoder feedback;The angle that the angle of the current location of spindle encoder feedback subtracts spindle encoder zero signal position is obtained into first angle.
In some specific embodiments, current location angle-determining module 302, specifically for the angle for judging whether to be stored with spindle encoder null positions in memory;If it is determined that not having to store the angle of spindle encoder null positions in memory, main shaft is then controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting zero signal, using the angle as spindle encoder null positions;When main shaft stops rotating, then obtain the angle of the current location of spindle encoder feedback;The angle that the angle of the current location of spindle encoder feedback subtracts spindle encoder zero signal position is obtained into first angle.
The embodiment of the present invention sets position control mode for main shaft by control mode switch module 301;Current location angle-determining module 302 determines first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;Orientation trouble target angle is subtracted first angle and obtains second angle by Spindle rotation angle degree computing module 303, and orientation trouble target angle is that target position and spindle encoder zero-bit are believed The relative angle of number position;Main shaft rotates control module 304 and controls main shaft rotation second angle to reach target position.In this way, the embodiment of the present invention is to realize orientation trouble by the position control function of digital control system, and no longer need the orientating function by spindle driver, the application range of digital control system is substantially increased.
Fig. 4 is the schematic diagram of the numerically-controlled machine tool in the embodiment of the present invention, which includes at least:
Processor 401, memory 402, main shaft 403 and spindle encoder 404;
Wherein, main shaft 403 refers to the axis for receiving power from engine or motor and it being transmitted to other parts;Spindle encoder 404 is mounted on main shaft 403 come the rotation speed and the component that is detected of position to main shaft.
Processor 401 is the processor of digital control system 41 described in the embodiment of the present invention;Memory 402 is the storage medium in the embodiment of the present invention in digital control system 41.Wherein, in practical applications, numerical control device described in embodiment shown in Fig. 3 is exactly digital control system 41 described in Fig. 4 embodiment.
Memory 402 calls the control program stored in memory 402 for storing control program, processor 401, for executing all or part of movement in embodiment of the method shown in fig. 1 or fig. 2:
Position control mode is set by main shaft;Determine first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;Orientation trouble target angle is subtracted into first angle and obtains second angle, orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;Main shaft rotation second angle is controlled to reach target position.
In some specific embodiments, processor 401 is specifically used for:
Obtain the angle of spindle encoder zero signal position;When main shaft stops rotating, the angle of the current location of spindle encoder feedback is obtained;The angle that the angle of the current location of spindle encoder feedback subtracts spindle encoder zero signal position is obtained into first angle.
In some specific embodiments, memory 402 is also stored with the spindle encoder zero signal position detected when numerically-controlled machine tool carries out orientation trouble for the first time, i.e., the POS1 in embodiment shown in Fig. 2.
Processor 401 is specifically used for:
Judge the angle that spindle encoder null positions whether are stored in memory;
If it is determined that being stored with the angle of spindle encoder null positions in memory, then the angle of the spindle encoder null positions stored in memory is read.
In some specific embodiments, processor 401 is specifically used for:
Judge the angle that spindle encoder null positions whether are stored in memory;
If it is determined that being stored with the angle of spindle encoder null positions in memory, then the angle of the spindle encoder null positions stored in memory is read;
If it is determined that not having to store the angle of spindle encoder null positions in memory, main shaft is then controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting zero signal, using the angle as spindle encoder null positions.
It should be noted that, memory 402 may include read-only memory and random access memory, and instruction and data is provided to processor 401, the a part of of memory 402 can also be including that may include high-speed random access memory (RAM, Random Access Memory), it is also possible to it further include non-labile memory (non-volatile memory).
In addition, the numerically-controlled machine tool in the embodiment of the present invention after power amplification, Shape correction, can also be converted into the straight-line displacement or angular displacement campaign of lathe execution unit for receiving the command information from processor 401 including spindle driver 405.
In addition, in practical applications, main shaft 403 is a component in machine tool main body 42, and machine tool main body 42 further includes the mechanical parts such as lathe bed, pedestal, column, crossbeam, slide, workbench, spindle box, feed mechanism, knife rest and automatic tool changer.It is the mechanical part that various machinings are automatically completed on numerically-controlled machine tool.
In addition to this, numerically-controlled machine tool can also include different auxiliary devices according to practical application, and common auxiliary device includes: pneumatic, hydraulic device, chip removal device, cooling, lubricating arrangement, rotary table and NC dividing head, protection, the various auxiliary devices such as illumination.Specifically it is not repeated herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the part being described in detail in some embodiment, reference can be made to the related descriptions of other embodiments.
It is apparent to those skilled in the art that for convenience and simplicity of description, the specific work process of the system, apparatus, and unit of foregoing description can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, such as, the division of the unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components may be combined or can be integrated into another System, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, and component shown as a unit may or may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, can store in a computer readable storage medium.Based on this understanding, substantially all or part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products technical solution of the present invention in other words, the computer software product is stored in a storage medium, it uses including some instructions so that a computer equipment (can be personal computer, server or the network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program code such as magnetic or disk.
Used herein a specific example illustrates the principle and implementation of the invention, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;At the same time, for those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (12)

  1. A kind of orientation trouble method characterized by comprising
    Position control mode is set by main shaft;
    Determine first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;
    Orientation trouble target angle is subtracted into the first angle and obtains second angle, the orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;
    It controls main shaft and rotates the second angle to reach the target position.
  2. The method according to claim 1, wherein including: before first angle of the current location of the determining spindle encoder feedback relative to spindle encoder zero signal position
    Obtain the angle of spindle encoder zero signal position;
    When the main shaft stops rotating, the angle of the current location of the spindle encoder feedback is obtained;
    The current location of the determining spindle encoder feedback includes: relative to the first angle of spindle encoder zero signal position
    The angle that the angle for the current location that the spindle encoder is fed back subtracts spindle encoder zero signal position is obtained into the first angle.
  3. According to the method described in claim 2, it is characterized in that, the angle for obtaining spindle encoder zero signal position includes:
    Judge the angle that the spindle encoder null positions whether are stored in memory;
    If being stored with the angle of the spindle encoder null positions, the angle of the spindle encoder null positions stored in the memory is read.
  4. According to the method described in claim 3, it is characterized in that, the angle for obtaining spindle encoder null positions includes:
    If not storing the angle of the spindle encoder null positions, the main shaft is then controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of the spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting the zero signal, using the angle as the spindle encoder null positions.
  5. A kind of numerical control device, which is characterized in that the numerical control device includes:
    Control mode switch module, for setting position control mode for main shaft;
    Current location angle-determining module, for determining first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;
    Angle calculation module is rotated, obtains second angle for orientation trouble target angle to be subtracted the first angle, the orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;
    Control module is rotated, rotates the second angle for controlling main shaft to reach the target position.
  6. Numerical control device according to claim 5, which is characterized in that the current location angle-determining module is specifically used for:
    Obtain the angle of spindle encoder zero signal position;When the main shaft stops rotating, then obtain the angle of the current location of the spindle encoder feedback;The angle that the angle for the current location that the spindle encoder is fed back subtracts spindle encoder zero signal position is obtained into the first angle.
  7. Numerical control device according to claim 6, it is characterised in that:
    The current location angle-determining module, specifically for the angle for judging whether to be stored with the spindle encoder null positions in memory;If it is determined that being stored with the angle of the spindle encoder null positions in the memory, then the angle of the spindle encoder null positions stored in the memory is read;When the main shaft stops rotating, then obtain the angle of the current location of the spindle encoder feedback;The angle that the angle for the current location that the spindle encoder is fed back subtracts spindle encoder zero signal position is obtained into the first angle.
  8. Numerical control device according to claim 7, it is characterised in that:
    The current location angle-determining module, specifically for the angle for judging whether to be stored with the spindle encoder null positions in the memory;If it is determined that not storing the angle of the spindle encoder null positions in the memory, the main shaft is then controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of the spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting the zero signal, using the angle as the spindle encoder null positions;When the main shaft stops rotating, then obtain the angle of the current location of the spindle encoder feedback;The angle that the angle for the current location that the spindle encoder is fed back subtracts spindle encoder zero signal position is obtained into the first angle.
  9. A kind of numerically-controlled machine tool, which is characterized in that the numerically-controlled machine tool includes:
    Processor, memory, main shaft and spindle encoder, wherein the memory executes the control program for storing control program, the processor to be used for:
    Position control mode is set by main shaft;Determine first angle of the current location of spindle encoder feedback relative to spindle encoder zero signal position;Orientation trouble target angle is subtracted into the first angle and obtains second angle, the orientation trouble target angle is the relative angle of target position and spindle encoder zero signal position;It controls main shaft and rotates the second angle to reach the target position.
  10. Numerically-controlled machine tool according to claim 9, which is characterized in that the processor is specifically used for:
    Obtain the angle of spindle encoder zero signal position;When the main shaft stops rotating, the angle of the current location of the spindle encoder feedback is obtained;The angle that the angle for the current location that the spindle encoder is fed back subtracts spindle encoder zero signal position is obtained into the first angle.
  11. Numerically-controlled machine tool according to claim 10, which is characterized in that the processor is specifically used for:
    Judge the angle that the spindle encoder null positions whether are stored in memory;
    When determining the angle for being stored with the spindle encoder null positions in the memory, then the angle of the spindle encoder null positions stored in the memory is read.
  12. Numerically-controlled machine tool according to claim 11, which is characterized in that the processor is specifically used for:
    When determining the angle for not storing the spindle encoder null positions in the memory, the main shaft is controlled to be rotated by the orientation trouble speed of setting, if detecting the zero signal of the spindle encoder, the angle for then saving the position of spindle encoder feedback when detecting the zero signal, using the angle as the spindle encoder null positions.
CN201580081081.5A 2015-12-31 2015-12-31 A kind of orientation trouble method, numerical control device and Digit Control Machine Tool Pending CN107708923A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/100192 WO2017113331A1 (en) 2015-12-31 2015-12-31 Spindle orientation method, numerical control device, and numerically controlled machine tool

Publications (1)

Publication Number Publication Date
CN107708923A true CN107708923A (en) 2018-02-16

Family

ID=59224368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580081081.5A Pending CN107708923A (en) 2015-12-31 2015-12-31 A kind of orientation trouble method, numerical control device and Digit Control Machine Tool

Country Status (2)

Country Link
CN (1) CN107708923A (en)
WO (1) WO2017113331A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955274B (en) * 2019-11-27 2023-03-07 歌尔股份有限公司 Displacement control method, system, servo motor and storage medium
CN111506121B (en) * 2020-05-26 2023-04-14 广州彩熠灯光股份有限公司 Stage lamp and positioning method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201151059Y (en) * 2008-02-01 2008-11-19 代建东 Principal axis orientation system of machine tool
JP2010280028A (en) * 2009-06-04 2010-12-16 Fasotec Co Ltd Nc machining method and nc data creating method
CN101987365A (en) * 2009-08-07 2011-03-23 唐山重型机床厂 Roll turning center of numerical control double-motor tensile reducer and processing method thereof
CN102463263A (en) * 2010-11-16 2012-05-23 宝山钢铁股份有限公司 Method for automatically positioning main shaft during roller exchange of finishing mill
CN202894859U (en) * 2012-11-06 2013-04-24 兆山集团襄樊机床有限公司 Spindle transmission device
CN103488109A (en) * 2013-09-18 2014-01-01 大连大森数控技术发展中心有限公司 Device and method for achieving spindle orientation by using analog frequency converter
CN104615079A (en) * 2014-11-04 2015-05-13 江苏新瑞重工科技有限公司 Numerically-controlled machine tool spindle multi-point directing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1058265A (en) * 1996-08-20 1998-03-03 Hitachi Seiki Co Ltd Control method and device for main spindle speed of machine tool
CN104057344A (en) * 2014-07-02 2014-09-24 滨州盟威戴卡轮毂有限公司 Numerically controlled lathe spindle position control system and control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201151059Y (en) * 2008-02-01 2008-11-19 代建东 Principal axis orientation system of machine tool
JP2010280028A (en) * 2009-06-04 2010-12-16 Fasotec Co Ltd Nc machining method and nc data creating method
CN101987365A (en) * 2009-08-07 2011-03-23 唐山重型机床厂 Roll turning center of numerical control double-motor tensile reducer and processing method thereof
CN102463263A (en) * 2010-11-16 2012-05-23 宝山钢铁股份有限公司 Method for automatically positioning main shaft during roller exchange of finishing mill
CN202894859U (en) * 2012-11-06 2013-04-24 兆山集团襄樊机床有限公司 Spindle transmission device
CN103488109A (en) * 2013-09-18 2014-01-01 大连大森数控技术发展中心有限公司 Device and method for achieving spindle orientation by using analog frequency converter
CN104615079A (en) * 2014-11-04 2015-05-13 江苏新瑞重工科技有限公司 Numerically-controlled machine tool spindle multi-point directing method

Also Published As

Publication number Publication date
WO2017113331A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN208342239U (en) A kind of five-axle linkage swing hair style machining center
CN107214521B (en) Turning and milling combined drilling and tapping center
GB1567762A (en) Machine-tool control
CN203266102U (en) Six-axis drilling and milling numerically-controlled machine tool
CN106374715A (en) Code wheel-based motor and control method and control device thereof
GB1596451A (en) Grinding workpieces
CN107708923A (en) A kind of orientation trouble method, numerical control device and Digit Control Machine Tool
CN104942653A (en) Automatic indexing jig
CN207387177U (en) PMC axis servo tool magazines
CN106814703A (en) A kind of method of high-speed single chip microcontroller control model fast and smooth handoff
CN105403190A (en) Displacement detection system of stepping machine
CN204700668U (en) A kind of automatic indexing tool
US10108173B2 (en) Numerical control device
CN217019559U (en) D-shaped tool magazine for 12 cutters
US3806788A (en) Drive apparatus for machine tool feed motors
CN204524963U (en) A kind of automatic tool changer of Digit Control Machine Tool
CN114425714A (en) D-shaped tool magazine with 12 cutters and tool changing method thereof
KR20160085047A (en) Apparatus and method for changing tool automatically
CN101893870B (en) Numerical value control device of four-shaft processor
CN108247395A (en) A kind of tool changing positioning device for numerically controlled lathe
CN208231288U (en) A kind of double end docking numerically-controlled machine tool
CN103358105A (en) Synchronous-timing-sequence multiple-shaft and multi-face machining method
CN208496534U (en) Numerically controlled processing equipment
CN202306336U (en) Indexing rotating device of automatic device
CN205852410U (en) Digit Control Machine Tool

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180216