CN109719313A - lathe control method, device and system - Google Patents
lathe control method, device and system Download PDFInfo
- Publication number
- CN109719313A CN109719313A CN201811616134.0A CN201811616134A CN109719313A CN 109719313 A CN109719313 A CN 109719313A CN 201811616134 A CN201811616134 A CN 201811616134A CN 109719313 A CN109719313 A CN 109719313A
- Authority
- CN
- China
- Prior art keywords
- tailstock
- knife rest
- coordinate
- lathe
- range
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000008569 process Effects 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000035939 shock Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004886 process control Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
The invention discloses a lathe control method, device and system. The lathe at least comprises: the tool rest and the tailstock are both moving parts, wherein the method comprises the following steps: acquiring a first coordinate of a tool rest and a second coordinate of a tailstock; judging whether collision risks exist between the tool rest and the tailstock or not based on the first coordinate and the second coordinate; and under the condition that the collision risk of the tool rest and the tailstock is determined, controlling the tool rest and the tailstock to stop moving. The lathe tailstock structure solves the technical problem that in the prior art, a lathe tool rest and a tailstock are easy to collide during the working process of a lathe, so that the lathe is damaged.
Description
Technical field
The present invention relates to automation control areas, in particular to a kind of Lathe control methods, devices and systems.
Background technique
General numerically controlled lathe is made of movement knife rest platform, main shaft, tailstock and external equipment etc..Main shaft is for clamping workpiece
Rotation;Cutting tool is installed on knife rest platform, stock removal action is carried out to workpiece according to the gauge of procedure stipulation;Tailstock is
Need to carry out top tight workpiece according to processing.Since knife rest and tailstock are all moving parts, the two moving range, which exists, to be handed over
Collection.And both position moment, all in variation, therefore lathe is in operation or process, it is easy to knife rest platform occur
The phenomenon that hitting with tailstock, causes lathe to damage.
The phenomenon that being easy to appear knife rest and tailstock shock during the work time for lathe in the prior art, causes lathe to damage
Bad problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of Lathe control methods, devices and systems, at least to solve vehicle in the prior art
The technical issues of bed is easy to appear the phenomenon that knife rest and tailstock shock during the work time, and lathe is caused to damage.
According to an aspect of an embodiment of the present invention, provide a kind of Lathe control method, lathe includes at least: knife rest and
Tailstock, knife rest and tailstock are moving parts, wherein the above method include: obtain knife rest the first coordinate and tailstock second
Coordinate;Based on the first coordinate and the second coordinate, judge knife rest and tailstock with the presence or absence of risk of collision;Determining knife rest and tailstock
There are in the case where risk of collision, control knife rest and tailstock stopping movement.
Further, the first coordinate of knife rest and the second coordinate of tailstock are obtained, comprising: obtain the of knife rest on lathe
One position, the second position of the tailstock on lathe;Based on the coordinate system and first position pre-established, the first coordinate is obtained,
In, coordinate system is located in the plane where lathe;Based on coordinate system and the second position, the second coordinate is obtained.
Further, the axis of movement of tailstock is parallel with the default axis in coordinate system.
Further, lathe further include: main shaft, the axis of movement of tailstock intersect with the center of main shaft.
Further, it is based on the first coordinate and the second coordinate, judges knife rest and tailstock with the presence or absence of risk of collision, comprising:
Based on the first coordinate, the first range of knife rest is obtained;Based on the second coordinate, the second range of tailstock is obtained;Judge the first range
It whether there is intersection with the second range;Determine the first range and the second range there are in the case where intersection, determine knife rest and
There are risk of collision for tailstock;In the case where determining that the first range and the second range do not have intersection, knife rest and tailstock are determined
There is no risk of collision.
Further, the first coordinate is located at the center of the first range, and the second coordinate is located at the center of the second range.
Further, knife rest is located in the first range, and tailstock is located in the second range.
Further, determining that knife rest and tailstock there are in the case where risk of collision, export for prompting knife rest and tail
The warning message that seat collides.
Further, determine knife rest and tailstock there is no in the case where risk of collision, control knife rest and tailstock according to
Desired guiding trajectory continues to move.
According to another aspect of an embodiment of the present invention, a kind of lathe control device is additionally provided, lathe includes at least: knife rest
And tailstock, knife rest and tailstock are moving parts, wherein above-mentioned apparatus includes: acquisition module, and first for obtaining knife rest sits
Second coordinate of mark and tailstock;Judgment module judges that knife rest and tailstock whether there is for being based on the first coordinate and the second coordinate
Risk of collision;Control module, for controlling knife rest and tailstock stopping determining knife rest and tailstock there are in the case where risk of collision
Only move.
According to another aspect of an embodiment of the present invention, a kind of lathe control system is additionally provided, lathe includes at least: knife rest
And tailstock, knife rest and tailstock are moving parts, wherein above system includes: data acquisition device, for obtaining the of knife rest
Second coordinate of one coordinate and tailstock;Control device is connect with data acquisition device, for being sat based on the first coordinate and second
Mark, judge knife rest and tailstock with the presence or absence of risk of collision, determine knife rest and tailstock there are in the case where risk of collision, control
Knife rest and tailstock stop movement.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, storage medium includes the journey of storage
Sequence, wherein equipment where control storage medium executes above-mentioned Lathe control method in program operation.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, processor is used to run program,
In, program executes above-mentioned Lathe control method when running.
In embodiments of the present invention, it after the second coordinate of the first coordinate and tailstock that get knife rest, can be based on
First coordinate and the second coordinate judge that knife rest and tailstock with the presence or absence of risk of collision, are collided determining that knife rest and tailstock exist
In the case where risk, controls knife rest and tailstock stops movement, realize the purpose of lathe anticollision control.Compared with prior art, nothing
How to change by the mobile position of knife rest and tailstock, can realize that cutter setting frame and tailstock are sentenced with the presence or absence of risk of collision
It is disconnected, it causes collision to endanger to exclude the improper factor of manual operation, reaches the technical effect for improving lathe safety, and then solve
Lathe is during the work time easy to appear knife rest and the phenomenon that tailstock is hit in the prior art, and the technology for causing lathe to damage is asked
Topic.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of Lathe control method according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of optional lathe layout according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the security boundary range of optional knife rest and tailstock according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of lathe control device according to an embodiment of the present invention;And
Fig. 5 is a kind of schematic diagram of lathe control system according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of Lathe control method is provided, it should be noted that in attached drawing
The step of process illustrates can execute in a computer system such as a set of computer executable instructions, although also,
Logical order is shown in flow chart, but in some cases, it can be to be different from shown by sequence execution herein or retouch
The step of stating.
Optionally, lathe includes at least: knife rest and tailstock, knife rest and tailstock are moving parts.
Above-mentioned lathe can be numerically controlled lathe (Computer Numerical Control, CNC), by CNC system into
Row control.Knife rest is the loading platform of cutter, and tailstock is the ancillary equipment of top tight workpiece, and two components add where lathe
It is moved in work plane, the two moving range causes to collide it is possible that intersection.
Fig. 1 is a kind of flow chart of Lathe control method according to an embodiment of the present invention, as shown in Figure 1, this method includes
Following steps:
Step S102 obtains the first coordinate of knife rest and the second coordinate of tailstock.
Knife rest and tailstock move in processing plane, and the position that knife rest and tailstock collide is random.In order to avoid occurring
Collision can construct the coordinate system of X-axis line and z axis composition in processing plane in advance.What knife rest moved in processing plane
Position can be considered as the first coordinate in the coordinate system, and the position that tailstock moves in processing plane can be considered as in the coordinate
The second coordinate in system.
CNC system has data acquisition function, can acquire the first coordinate of knife rest in real time by axis data acquisition device
With the second coordinate of tailstock.
Step S104 is based on the first coordinate and the second coordinate, judges knife rest and tailstock with the presence or absence of risk of collision.
Also there are CNC system data to analyze comparing function.In order to avoid knife rest and tailstock are hit, need to judge in advance
Knife rest and tailstock whether there is risk of collision, can preset a risk of collision range, get the first coordinate and the
After two coordinates, it can judge whether two coordinates are located at collision by comparing system according to the relative position of two coordinates
In risk range, to determine knife rest and tailstock with the presence or absence of risk of collision.
Step S106, determining knife rest and tailstock, there are in the case where risk of collision, control knife rest and tailstock stopping shifting
It is dynamic.
Determining knife rest and tailstock there are in the case where risk of collision, in order to avoid knife rest and tailstock continue to move toward one another
It collides, can will continue to move toward one another according to control process control knife rest and tailstock stopping by comparing system, and avoid knife
Frame and tailstock collide.
Above-described embodiment through the invention can be with after the second coordinate of the first coordinate and tailstock that get knife rest
Based on the first coordinate and the second coordinate, judge that knife rest and tailstock with the presence or absence of risk of collision, are determining knife rest and tailstock presence
In the case where risk of collision, controls knife rest and tailstock stops movement, realize the purpose of lathe anticollision control.With prior art phase
Than, no matter how the mobile position of knife rest and tailstock changes, can realize cutter setting frame and tailstock with the presence or absence of risk of collision into
Row judgement causes collision to endanger, reaches the technical effect for improving lathe safety, in turn to exclude the improper factor of manual operation
Solves the phenomenon that lathe in the prior art is easy to appear knife rest and tailstock shock during the work time, the skill for causing lathe to damage
Art problem.
Optionally, in the above embodiment of the present invention, step S102, obtains the first coordinate of knife rest and the second of tailstock sits
Mark, comprising: obtain first position of the knife rest on lathe, the second position of the tailstock on lathe;Based on the coordinate pre-established
System and first position, obtain the first coordinate, wherein coordinate system is located in the plane where lathe;Based on coordinate system and second
It sets, obtains the second coordinate.
Optionally, the axis of movement of tailstock is parallel with the default axis in coordinate system.
Optionally, lathe further include: main shaft, the axis of movement of tailstock intersect with the center of main shaft.
As shown in Fig. 2, being disposed with knife rest 1, tailstock 2 and main shaft 3 on lathe.XZ can be established in the processing plane of lathe
Coordinate system, zero point of reference frame are (X0, Z0), and z axis is horizontal direction, and X-axis line is vertical direction, wherein the positive direction of z axis
For right, the positive direction of X-axis line is top.Knife rest can move in entirely processing plane along z axis and X-axis line, therefore, knife
First coordinate of frame can be (Xa, Za).The axis of movement of tailstock is B axle line, B axle line and z axis (i.e. above-mentioned default axis
Line) in parallel, and intersect with the center of main shaft, since B axle line is X1 at a distance from z axis, then X of the tailstock in moving process is sat
Mark is fixed, and Z coordinate changes, and therefore, the second coordinate of tailstock is (- X1, Zb).
CNC system can be with the shift position of real-time detection knife rest and tailstock, and combines XZ coordinate system, determines the first of knife rest
Coordinate (Xa, Za), the second coordinate (- X1, Zb) of tailstock.
Optionally, in the above embodiment of the present invention, step S104 is based on the first coordinate and the second coordinate, judges knife rest
It whether there is risk of collision with tailstock, comprising: be based on the first coordinate, obtain the first range of knife rest;Based on the second coordinate, obtain
Second range of tailstock;Judge the first range and the second range with the presence or absence of intersection;Determining the first range and the second range
There are knife rest and tailstock in the case where intersection, is determined, there are risk of collision;Determining that the first range do not exist with the second range
In the case where intersection, determining knife rest and tailstock, there is no risk of collision.
Optionally, the first coordinate is located at the center of the first range, and the second coordinate is located at the center of the second range.
Optionally, knife rest is located in the first range, and tailstock is located in the second range.
In order to avoid knife rest and tailstock collide, as shown in figure 3, the security boundary model an of knife rest can be preset
It enclosing, knife rest is within the scope of the security boundary, it is assumed that the first coordinate of knife rest is (Xa, Za), then X axis boundary value is Xa+R1,
Xa-R1, Z axis are Za+R1, Za-R1 to boundary value, may thereby determine that the first range.Similarly, a tailstock can be preset
Security boundary range, tailstock is equally within the scope of the security boundary, it is assumed that the second coordinate of tailstock is (- X1, Zb), then X-axis
It is-X1+R2 to boundary value ,-X1-R2, Z axis is Zb+R2, Zb-R2 to boundary value, may thereby determine that the second range.
It should be noted that in embodiments of the present invention, the first range and the second range are square, but are not limited only to
This, the first range and the second range are also possible to circle, ellipse, rectangle etc., can according to the shape of knife rest and tailstock, and
Control accuracy is determined.
After determining the first range and the second range, by judging that two ranges with the presence or absence of intersection, can determine
Whether knife rest and tailstock within the scope of risk of collision, if there is intersection, it is determined that knife rest and tailstock within the scope of risk of collision,
There are risk of collision;If there is no intersection, it is determined that risk of collision is not present not in collision range in knife rest and tailstock.
Optionally, in the above embodiment of the present invention, determine knife rest and tailstock there are in the case where risk of collision, it is defeated
Warning message for prompting knife rest and tailstock to collide out.
Knife rest and tailstock are being determined there are after risk of collision, CNC system can issue alarm according to control program instruction
Stopping signal prompts user's knife rest and tailstock that can collide, while controlling knife rest and tailstock stopping continues to move toward one another, and avoids
Knife rest and tailstock collide.
Optionally, in the above embodiment of the present invention, in the case where determining that risk of collision is not present in knife rest and tailstock,
Control knife rest and tailstock continue to move according to desired guiding trajectory.
Above-mentioned desired guiding trajectory can be the set gauge of control knife rest and tailstock work.
Knife rest and tailstock are being determined there is no after risk of collision, CNC system can continue to control knife according to control program
Frame and tailstock are run according to set gauge.
Embodiment 2
According to embodiments of the present invention, a kind of embodiment of lathe control device is provided.
Optionally, lathe includes at least: knife rest and tailstock, knife rest and tailstock are moving parts.
Above-mentioned lathe can be numerically controlled lathe, be controlled by CNC system.Knife rest is the loading platform of cutter, tailstock
It is the ancillary equipment of top tight workpiece, two components are processed in plane where lathe and moved, and the two moving range may
There is intersection, causes to collide.
Fig. 4 is a kind of schematic diagram of lathe control device according to an embodiment of the present invention, as shown in figure 4, the device includes:
Module 42 is obtained, for obtaining the first coordinate of knife rest and the second coordinate of tailstock.
Knife rest and tailstock move in processing plane, and the position that knife rest and tailstock collide is random.In order to avoid occurring
Collision can construct the coordinate system of X-axis line and z axis composition in processing plane in advance.What knife rest moved in processing plane
Position can be considered as the first coordinate in the coordinate system, and the position that tailstock moves in processing plane can be considered as in the coordinate
The second coordinate in system.
CNC system has data acquisition function, can acquire the first coordinate of knife rest in real time by axis data acquisition device
With the second coordinate of tailstock.
Judgment module 44 judges knife rest and tailstock with the presence or absence of risk of collision for being based on the first coordinate and the second coordinate.
Also there are CNC system data to analyze comparing function.In order to avoid knife rest and tailstock are hit, need to judge in advance
Knife rest and tailstock whether there is risk of collision, can preset a risk of collision range, get the first coordinate and the
After two coordinates, it can judge whether two coordinates are located at collision by comparing system according to the relative position of two coordinates
In risk range, to determine knife rest and tailstock with the presence or absence of risk of collision.
Control module 46, for determining that knife rest and tailstock there are in the case where risk of collision, control knife rest and tailstock
Stop movement.
Determining knife rest and tailstock there are in the case where risk of collision, in order to avoid knife rest and tailstock continue to move toward one another
It collides, can will continue to move toward one another according to control process control knife rest and tailstock stopping by comparing system, and avoid knife
Frame and tailstock collide.
Above-described embodiment through the invention can be with after the second coordinate of the first coordinate and tailstock that get knife rest
Based on the first coordinate and the second coordinate, judge that knife rest and tailstock with the presence or absence of risk of collision, are determining knife rest and tailstock presence
In the case where risk of collision, controls knife rest and tailstock stops movement, realize the purpose of lathe anticollision control.With prior art phase
Than, no matter how the mobile position of knife rest and tailstock changes, can realize cutter setting frame and tailstock with the presence or absence of risk of collision into
Row judgement causes collision to endanger, reaches the technical effect for improving lathe safety, in turn to exclude the improper factor of manual operation
Solves the phenomenon that lathe in the prior art is easy to appear knife rest and tailstock shock during the work time, the skill for causing lathe to damage
Art problem.
Optionally, in the above embodiment of the present invention, obtaining module includes: acquiring unit, for obtaining knife rest in lathe
On first position, the second position of the tailstock on lathe;First processing units, for based on the coordinate system pre-established and
One position obtains the first coordinate, wherein coordinate system is located in the plane where lathe;The second processing unit, for being based on coordinate
System and the second position, obtain the second coordinate.
Optionally, the axis of movement of tailstock is parallel with the default axis in coordinate system.
Optionally, lathe further include: main shaft, the axis of movement of tailstock intersect with the center of main shaft.
Optionally, in the above embodiment of the present invention, judgment module includes: third processing unit, for sitting based on first
Mark, obtains the first range of knife rest;Fourth processing unit obtains the second range of tailstock for being based on the second coordinate;Judgement is single
Member, for judging the first range and the second range with the presence or absence of intersection;Determination unit, for determining the first range and second
There are risk of collision there are knife rest and tailstock in the case where intersection, is determined for range, are determining the first range and the second range not
There are knife rest and tailstock in the case where intersection, is determined, there is no risk of collision.
Optionally, the first coordinate is located at the center of the first range, and the second coordinate is located at the center of the second range.
Optionally, knife rest is located in the first range, and tailstock is located in the second range.
Optionally, in the above embodiment of the present invention, the device further include: output module, for determine knife rest and
Tailstock exports the warning message for prompting knife rest and tailstock to collide there are in the case where risk of collision.
Optionally, in the above embodiment of the present invention, control module is also used to determining that there is no touch for knife rest and tailstock
In the case where hitting risk, controls knife rest and tailstock continues to move according to desired guiding trajectory.
Embodiment 3
According to embodiments of the present invention, a kind of embodiment of lathe control system is provided.
Optionally, lathe includes at least: knife rest and tailstock, knife rest and tailstock are moving parts.
Above-mentioned lathe can be numerically controlled lathe, be controlled by CNC system.Knife rest is the loading platform of cutter, tailstock
It is the ancillary equipment of top tight workpiece, two components are processed in plane where lathe and moved, and the two moving range may
There is intersection, causes to collide.
Fig. 5 is a kind of schematic diagram of lathe control system according to an embodiment of the present invention, as shown in figure 5, the system includes:
Data acquisition device 52, for obtaining the first coordinate of knife rest and the second coordinate of tailstock.
Knife rest and tailstock move in processing plane, and the position that knife rest and tailstock collide is random.In order to avoid occurring
Collision can construct the coordinate system of X-axis line and z axis composition in processing plane in advance.What knife rest moved in processing plane
Position can be considered as the first coordinate in the coordinate system, and the position that tailstock moves in processing plane can be considered as in the coordinate
The second coordinate in system.
CNC system has data acquisition function, can pass through axis data acquisition device (i.e. above-mentioned data acquisition device)
Second coordinate of the first coordinate of acquisition knife rest and tailstock in real time.
Control device 54, connect with data acquisition device, for being based on the first coordinate and the second coordinate, judges knife rest and tail
Seat whether there is risk of collision.
Also there are CNC system data to analyze comparing function.In order to avoid knife rest and tailstock are hit, need to judge in advance
Knife rest and tailstock whether there is risk of collision, can preset a risk of collision range, get the first coordinate and the
After two coordinates, two can be judged by comparing system (i.e. above-mentioned control device) according to the relative position of two coordinates
Whether a coordinate is located within the scope of risk of collision, to determine knife rest and tailstock with the presence or absence of risk of collision.
Determining knife rest and tailstock there are in the case where risk of collision, in order to avoid knife rest and tailstock continue to move toward one another
It collides, can will continue to move toward one another according to control process control knife rest and tailstock stopping by comparing system, and avoid knife
Frame and tailstock collide.
Above-described embodiment through the invention can be with after the second coordinate of the first coordinate and tailstock that get knife rest
Based on the first coordinate and the second coordinate, judge that knife rest and tailstock with the presence or absence of risk of collision, are determining knife rest and tailstock presence
In the case where risk of collision, controls knife rest and tailstock stops movement, realize the purpose of lathe anticollision control.With prior art phase
Than, no matter how the mobile position of knife rest and tailstock changes, can realize cutter setting frame and tailstock with the presence or absence of risk of collision into
Row judgement causes collision to endanger, reaches the technical effect for improving lathe safety, in turn to exclude the improper factor of manual operation
Solves the phenomenon that lathe in the prior art is easy to appear knife rest and tailstock shock during the work time, the skill for causing lathe to damage
Art problem.
Optionally, in the above embodiment of the present invention, control device is also used to obtain first position of the knife rest on lathe,
The second position of the tailstock on lathe obtains the first coordinate based on the coordinate system and first position pre-established, and is based on coordinate
System and the second position, obtain the second coordinate, wherein coordinate system is located in the plane where lathe.
Optionally, the axis of movement of tailstock is parallel with the default axis in coordinate system.
Optionally, lathe further include: main shaft, the axis of movement of tailstock intersect with the center of main shaft.
Optionally, in the above embodiment of the present invention, control device is also used to obtain the first of knife rest based on the first coordinate
Range is based on the second coordinate, obtains the second range of tailstock, and judges that the first range and the second range whether there is intersection,
Determining the first range and the second range, there are risk of collision there are knife rest and tailstock in the case where intersection, is determined, are determining
In the case that first range and the second range do not have intersection, determining knife rest and tailstock, there is no risk of collision.
Optionally, the first coordinate is located at the center of the first range, and the second coordinate is located at the center of the second range.
Optionally, knife rest is located in the first range, and tailstock is located in the second range.
Optionally, in the above embodiment of the present invention, control device is also used to determining knife rest and tailstock in the presence of collision
In the case where risk, the warning message for prompting knife rest and tailstock to collide is exported.
Optionally, in the above embodiment of the present invention, control device is also used to determining that there is no touch for knife rest and tailstock
In the case where hitting risk, controls knife rest and tailstock continues to move according to desired guiding trajectory.
Embodiment 4
According to embodiments of the present invention, a kind of embodiment of storage medium is provided, storage medium includes the program of storage,
In, in program operation, equipment where control storage medium executes the Lathe control method in above-described embodiment 1.
Embodiment 5
According to embodiments of the present invention, a kind of embodiment of processor is provided, processor is for running program, wherein journey
The Lathe control method in above-described embodiment 1 is executed when sort run.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.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.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member 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 sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (13)
1. a kind of Lathe control method, which is characterized in that the lathe includes at least: knife rest and tailstock, the knife rest and described
Tailstock is moving parts, wherein the described method includes:
Obtain the first coordinate of the knife rest and the second coordinate of the tailstock;
Based on first coordinate and second coordinate, judge the knife rest and the tailstock with the presence or absence of risk of collision;
Determining the knife rest and the tailstock, there are in the case where risk of collision, control the knife rest and tailstock stopping
It is mobile.
2. the method according to claim 1, wherein obtain the knife rest the first coordinate and the tailstock
Two coordinates, comprising:
Obtain first position of the knife rest on the lathe, the second position of the tailstock on the lathe;
Based on the coordinate system and the first position pre-established, first coordinate is obtained, wherein the coordinate system is located at institute
It states in the plane where lathe;
Based on the coordinate system and the second position, second coordinate is obtained.
3. according to the method described in claim 2, it is characterized in that, the axis of movement of the tailstock with it is pre- in the coordinate system
If axis is parallel.
4. according to the method described in claim 3, it is characterized in that, the lathe further include: main shaft, the kinematic axis of the tailstock
Line intersects with the center of the main shaft.
5. judging the method according to claim 1, wherein being based on first coordinate and second coordinate
The knife rest and the tailstock whether there is risk of collision, comprising:
Based on first coordinate, the first range of the knife rest is obtained;
Based on second coordinate, the second range of the tailstock is obtained;
Judge first range and second range with the presence or absence of intersection;
Determining that first range and second range there are in the case where intersection, determine the knife rest and the tailstock
There are risk of collision;
In the case where determining that first range and second range do not have intersection, the knife rest and the tail are determined
Risk of collision is not present in seat.
6. according to the method described in claim 5, it is characterized in that, first coordinate is located at the center of first range,
Second coordinate is located at the center of second range.
7. according to the method described in claim 5, it is characterized in that, the knife rest is located in first range, the tailstock
In second range.
8. the method according to claim 1, wherein colliding wind determining that the knife rest and the tailstock exist
In the case where danger, the warning message for prompting the knife rest and the tailstock to collide is exported.
9. the method according to claim 1, wherein determining the knife rest and the tailstock, there is no collisions
In the case where risk, controls the knife rest and tailstock and continue to move according to desired guiding trajectory.
10. a kind of lathe control device, which is characterized in that the lathe includes at least: knife rest and tailstock, the knife rest and described
Tailstock is moving parts, wherein described device includes:
Module is obtained, for obtaining the first coordinate of the knife rest and the second coordinate of the tailstock;
Judgment module judges whether the knife rest and the tailstock are deposited for being based on first coordinate and second coordinate
In risk of collision;
Control module, for determining that the knife rest and the tailstock there are in the case where risk of collision, control the knife rest
Stop moving with the tailstock.
11. a kind of lathe control system, which is characterized in that the lathe includes at least: knife rest and tailstock, the knife rest and described
Tailstock is moving parts, wherein the system comprises:
Data acquisition device, for obtaining the first coordinate of the knife rest and the second coordinate of the tailstock;
Control device is connect with the data acquisition device, for being based on first coordinate and second coordinate, judges institute
Knife rest and the tailstock are stated with the presence or absence of risk of collision, the case where determining the knife rest and the tailstock there are risk of collision
Under, it controls the knife rest and the tailstock stops movement.
12. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 9 described in Lathe control method.
13. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 9 described in Lathe control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811616134.0A CN109719313B (en) | 2018-12-27 | 2018-12-27 | Lathe control method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811616134.0A CN109719313B (en) | 2018-12-27 | 2018-12-27 | Lathe control method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109719313A true CN109719313A (en) | 2019-05-07 |
CN109719313B CN109719313B (en) | 2021-06-29 |
Family
ID=66296716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811616134.0A Active CN109719313B (en) | 2018-12-27 | 2018-12-27 | Lathe control method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109719313B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113843423A (en) * | 2021-10-26 | 2021-12-28 | 湖北文特斯智能科技有限公司 | Lathe control method for preventing tool rest from being impacted |
CN113998479A (en) * | 2021-11-23 | 2022-02-01 | 中国电建集团长春发电设备有限公司 | Calculation and control method for preventing interference of arm support of parallel track bucket wheel machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2185983A1 (en) * | 2007-08-20 | 2010-05-19 | Renishaw PLC | Course of motion determination |
CN106383493A (en) * | 2016-09-30 | 2017-02-08 | 同济大学 | Numerical control machine tool real-time anti-collision method |
CN108296854A (en) * | 2018-02-01 | 2018-07-20 | 上海铼钠克数控科技股份有限公司 | Lathe avoiding collision and device |
CN108526987A (en) * | 2018-05-05 | 2018-09-14 | 孙秋梅 | A kind of anticollision knife system of CNC milling machine |
-
2018
- 2018-12-27 CN CN201811616134.0A patent/CN109719313B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2185983A1 (en) * | 2007-08-20 | 2010-05-19 | Renishaw PLC | Course of motion determination |
CN106383493A (en) * | 2016-09-30 | 2017-02-08 | 同济大学 | Numerical control machine tool real-time anti-collision method |
CN108296854A (en) * | 2018-02-01 | 2018-07-20 | 上海铼钠克数控科技股份有限公司 | Lathe avoiding collision and device |
CN108526987A (en) * | 2018-05-05 | 2018-09-14 | 孙秋梅 | A kind of anticollision knife system of CNC milling machine |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113843423A (en) * | 2021-10-26 | 2021-12-28 | 湖北文特斯智能科技有限公司 | Lathe control method for preventing tool rest from being impacted |
CN113843423B (en) * | 2021-10-26 | 2024-02-27 | 湖北文特斯智能科技有限公司 | Lathe control method for preventing tool rest from collision |
CN113998479A (en) * | 2021-11-23 | 2022-02-01 | 中国电建集团长春发电设备有限公司 | Calculation and control method for preventing interference of arm support of parallel track bucket wheel machine |
Also Published As
Publication number | Publication date |
---|---|
CN109719313B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104428107B (en) | The method that robot arranges and is used for controlling robot | |
CN109719313A (en) | lathe control method, device and system | |
CN103507808B (en) | System and method for preventing collision | |
CN110103821A (en) | A kind of preventing car door collision method for early warning, system and relevant device | |
CN106133751A (en) | For the method and apparatus running vehicle | |
JP4904731B2 (en) | Interference check device for machine tools | |
CN106687371B (en) | The control method of unmanned vehicle, apparatus and system | |
US20160026751A1 (en) | Method And Means For Designing And/or Operating A Robot | |
CN110026820B (en) | Machine tool anti-collision method and system applying same | |
CN103076762A (en) | Three-dimensional online anti-collision method based on HTM 40100 turn-milling machining center | |
US20160369630A1 (en) | Proximity detection systems and methods | |
CN106383493B (en) | A kind of real-time collision-proof method of numerically-controlled machine tool | |
CN109901578A (en) | A kind of method, apparatus and terminal device controlling multirobot | |
CN107092259A (en) | The anti-fall method and device of robot | |
CN108212807A (en) | A kind of method, apparatus and mechanical arm of robot segregating articles | |
CN109500657A (en) | A kind of knife-breaking detecting method and system of view-based access control model | |
CN103135446A (en) | Motion trail authentication device of multiaxis numerical control machine tool | |
CN109079800A (en) | Robot collision detection method and device, storage medium, processor and robot | |
EP3686624B1 (en) | Method for monitoring a protected area | |
JP2000284819A (en) | Interference detecting method in numerically controlled machine tool and numerical controller | |
DE102011082026B4 (en) | Collision prevention method and apparatus | |
CN109732598A (en) | A kind of barrier-avoiding method, device and collaborative robot | |
KR102289375B1 (en) | Real-time safety evaluation method of robot based on the big data of collision physical force using graphic information | |
CN104985223B (en) | A kind of method and device of depth drill programming | |
CN109877837A (en) | Robot control method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |