Key cutting method, key cutting device, key cutting machine and readable storage medium

文档序号:78001 发布日期:2021-10-08 浏览:39次 中文

阅读说明:本技术 钥匙切割方法、装置、钥匙切割机和可读存储介质 (Key cutting method, key cutting device, key cutting machine and readable storage medium ) 是由 管雪峰 池佳豪 于 2021-06-16 设计创作,主要内容包括:一种钥匙切割方法、装置、钥匙切割机和可读存储介质,所述方法包括:获取目标内铣钥匙的齿型轮廓;所述齿型轮廓包括头部齿型轮廓;根据所述齿型轮廓确定轮廓中心轨迹;根据所述头部齿型轮廓控制铣刀往复切割钥匙胚的钥匙头部,且根据所述轮廓中心轨迹以及所述齿型轮廓控制铣刀切割所述钥匙胚,直至根据所述齿型轮廓切割完成,获得所述目标内铣钥匙。采用本申请的方法可以提高钥匙加工精度。(A key cutting method, device, key cutting machine and readable storage medium, the method comprising: acquiring a tooth profile of a target internal milling key; the profile comprises a head profile; determining a profile center track according to the tooth profile; and controlling a milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting is finished according to the tooth profile, so as to obtain the target inner milling key. By adopting the method, the key processing precision can be improved.)

1. A key cutting method, characterized in that the method comprises:

acquiring a tooth profile of a target internal milling key; the profile comprises a head profile;

determining a profile center track according to the tooth profile;

and controlling a milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting is finished according to the tooth profile, so as to obtain the target inner milling key.

2. The method of claim 1, wherein said determining a profile center trajectory from said profile comprises:

acquiring each characteristic point in the tooth profile;

according to a characteristic point located on one side of a key plugging direction in a tooth profile, finding a target coordinate point matched with a target coordinate value of the characteristic point on the tooth profile on the other side of the key plugging direction; the target coordinate value is a coordinate value in a direction perpendicular to the key plugging direction;

and determining the contour center track according to each characteristic point and the corresponding target coordinate point.

3. The method of claim 1, wherein said controlling a milling cutter to reciprocally cut a key head of a key blank according to said head profile comprises:

acquiring a head point set on the head tooth profile; the head point set comprises at least three head points;

and controlling the milling cutter to cut the key head of the key blank according to a head cutting track formed from one side head point to the other side head point of the head point set.

4. The method of claim 3, wherein said obtaining a set of head points on said head profile comprises:

and taking the radius of the milling cutter as the distance between the head point on one side of the key blank and the head point on the other side of the key blank in the key plugging and unplugging direction, and taking points to obtain a head point set.

5. The method of claim 1, further comprising:

determining the cutting tooth flat width under the condition that the slope corresponding to the concave teeth in the tooth profile meets the tooth slope condition; the slope is the slope of a straight line obtained from the cutting end point of the concave tooth to the cutting start point of the next tooth position;

controlling the milling cutter to cut the key blank according to the profile of the tooth shape, comprising:

and when the milling cutter is controlled to move to the position corresponding to the concave tooth according to the tooth profile, controlling the position corresponding to the key blank cut by the milling cutter according to the cutting tooth flatness.

6. The method of claim 5, wherein determining the cutting tooth flat width in the case that the slope corresponding to the concave tooth in the profile meets a profile slope condition comprises:

obtaining a straight line formed by a cutting end point of the concave tooth and a cutting start point of the next tooth position;

taking a first point and a second point from the straight line; the first point and the second point are not the same point;

determining a first coordinate difference between the first point and the second point, and determining a second coordinate difference between the first point and the second point;

determining the ratio of the second coordinate difference to a preset tooth profile slope;

determining the horizontal width of the incremental cutting tooth according to the difference value between the first coordinate difference value and the ratio;

and obtaining the cutting tooth flat width according to the incremental cutting tooth flat width and the reference tooth flat width corresponding to the tooth profile.

7. The method according to any one of claims 1 to 6, further comprising:

acquiring a target cutting depth of a target internal milling key;

when the first cutting depth of the target inner milling key after cutting according to the tooth profile does not reach the target cutting depth, determining a second cutting depth according to the target cutting depth and the first cutting depth;

and executing the steps of controlling the milling cutter to cut the key head of the key blank in a reciprocating manner according to the head tooth profile and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile according to the second cutting depth until the target cutting depth is reached, and obtaining the target inner milling key.

8. A key cutting device, characterized in that the device comprises:

the acquisition module is used for acquiring the tooth profile of the target internal milling key; the profile comprises a head profile;

the determining module is used for determining a contour center track according to the tooth profile;

and the cutting module is used for controlling the milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head, controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting is finished according to the tooth profile, and obtaining the target inner milling key.

9. A key cutting machine comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 7.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of key processing, in particular to a key cutting method, a key cutting device, a key cutting machine and a readable storage medium.

Background

The inner milling key is a key obtained by processing an inner groove on a key blank in a milling mode. The traditional key cutting method is to cut a key blank by a numerical control machine, however, the traditional key cutting method has the problem of low processing precision due to unreasonable path planning.

Disclosure of Invention

In view of the above, it is necessary to provide a key cutting method, a key cutting device, a key cutting machine and a readable storage medium.

A key cutting method, the method comprising:

acquiring a tooth profile of a target internal milling key; the profile comprises a head profile;

determining a profile center track according to the tooth profile;

and controlling a milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting is finished according to the tooth profile, so as to obtain the target inner milling key.

A key cutting device, the device comprising:

the acquisition module is used for acquiring the tooth profile of the target internal milling key; the profile comprises a head profile;

the determining module is used for determining a contour center track according to the tooth profile;

and the cutting module is used for controlling the milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head, controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting is finished according to the tooth profile, and obtaining the target inner milling key.

A key cutting machine comprising a memory storing a computer program and a processor implementing the steps of the method of embodiments of the present application when the processor executes the computer program.

A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of embodiments of the application.

According to the key cutting method, the key cutting device, the key cutting machine and the readable storage medium, the target internal milling key is obtained by obtaining the tooth profile of the target internal milling key, wherein the tooth profile comprises a head tooth profile, determining the profile center track according to the tooth profile, controlling the milling cutter to cut the key head of the key blank in a reciprocating manner according to the head tooth profile, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting according to the tooth profile is completed; the head of the key blank is cut in a reciprocating way according to the cutting track, so that the problem of cutting residue of the head of the key can be solved; and the cutting is carried out according to the profile center track and the tooth profile, so that the cutting effect of the target internal milling key can be ensured under the condition that the width of the tooth profile is large, and the cutting precision of the key is improved.

Drawings

FIG. 1 is a schematic flow chart diagram of a key cutting method in one embodiment;

FIG. 2 is a schematic illustration of in-target key milling in one embodiment;

FIG. 3 is a schematic illustration of a key cut trajectory in one embodiment;

FIG. 4 is a schematic illustration of a cutting trajectory of a key head in one embodiment;

FIG. 5 is a schematic view of a concave tooth and a convex tooth in one embodiment;

FIG. 6 is a schematic illustration of tooth widths corresponding to an inner key cutter in one embodiment;

FIG. 7 is a block diagram of a key cutting device according to one embodiment;

FIG. 8 is an internal block diagram of a key cutting machine in one embodiment.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.

It should be noted that all directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly, and the connection may be a direct connection or an indirect connection.

In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.

The present application will explain the case where the key cutting method in each embodiment is applied to a key cutting machine. In one embodiment, as shown in fig. 1, a schematic flow chart of a key cutting method in one embodiment includes steps 102 to 106:

102, acquiring a tooth profile of a target internal milling key; the profile includes a head profile.

Wherein the profile of the teeth comprises a profile of the positions of the teeth of the target inner milling key. Referring now to FIG. 2, a diagram of a target inner milling key in one embodiment is shown, including a profile 202.

The head tooth profile is the profile between the first contact point and the first tooth position during key insertion.

Specifically, in response to a key identifier of a selected target internal milling key on the key cutting machine, the key cutting machine obtains a tooth profile of the target internal milling key corresponding to the key identifier from a local storage, or obtains a tooth profile of the target internal milling key corresponding to the key identifier from a key database.

In this embodiment, the key cutting machine may obtain the selected key identifier from the electronic device, and obtain the corresponding tooth profile from the local storage according to the key identifier. The electronic device may be a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, or the like. The key cutting machine and the electronic device may be connected through a wired connection or a wireless connection, wherein the wireless connection may be realized through communication methods such as bluetooth, WIFI, NFC (near field communication), and the like. Through obtaining the selected key identification from the electronic equipment, the Internet of things communication connection between the electronic equipment and the key cutting machine can be realized, and the key cutting can be carried out more conveniently and rapidly.

In this embodiment, in response to the key fitting operation, after the tool setting of the key cutting machine is completed, the profile of the tooth shape of the target inner milling key is acquired through probe acquisition. The specific key cutting machine collects and refers to the tooth profile of the inner milling key through the probe, and when the inner milling key is touched, the inner milling key is retracted by a preset distance to continue collecting reference coordinate points, so that the reference coordinate points are simplified, and the tooth profile with tooth profile characteristics is obtained. Wherein, the simplification processing of the reference coordinate point comprises the following steps: and keeping a straight line starting coordinate point and a straight line end point coordinate point in the reference coordinate points on the same straight line. Through simplifying the collected coordinate points, the storage space can be reduced, and the storage resources are saved.

And 104, determining a profile center track according to the tooth profile.

Specifically, the key cutting machine determines a profile center cutting track according to the profile of teeth on two sides of the key in the inserting and pulling direction.

In this embodiment, the key cutting machine acquires coordinate values of each point in the tooth profile on both sides in the key insertion and extraction direction, and averages the coordinates having the same coordinate value in the direction perpendicular to the key insertion and extraction direction to obtain the profile center trajectory.

In this embodiment, the profile includes a head profile and a body profile, and the key cutting machine determines the profile center trajectory from the body profile.

And 106, controlling the milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting according to the tooth profile is finished, so as to obtain the target inner milling key.

Specifically, the key cutting machine controls the milling cutter to cut the key head of the key blank in a reciprocating mode according to the tooth profile of the head, continues to control the milling cutter to cut the key blank according to the profile center track, returns to the original point of the key blank, controls the milling cutter to cut the key blank according to the tooth profile until cutting according to the tooth profile is completed, and obtains the target inner milling key.

In this embodiment, the key cutting machine controls the milling cutter to cut the key head of the key blank back and forth according to the tooth profile of the head, and continues to control the milling cutter to cut the key blank along the profile center track, and after returning to the origin of the key blank, controls the milling cutter to be at a position away from the tooth profile by the radius of the milling cutter

Or the key cutting machine controls the milling cutter to cut the key blank according to the profile center track, then cuts the key head of the key blank in a reciprocating mode according to the profile of the tooth part of the head, cuts the key blank according to the tooth profile until the cutting according to the tooth profile is finished, and the target inner milling key is obtained.

According to the key cutting method, the target internal milling key is obtained by obtaining the tooth profile of the target internal milling key, wherein the tooth profile comprises a head tooth profile, determining the center track of the profile according to the tooth profile, controlling a milling cutter to cut the key head of a key blank in a reciprocating manner according to the head tooth profile, and controlling the milling cutter to cut the key blank according to the center track of the profile and the tooth profile until the cutting according to the tooth profile is completed; the head of the key blank is cut in a reciprocating way according to the cutting track, so that the problem of cutting residue of the head of the key can be solved; and the cutting is carried out according to the profile center track and the tooth profile, so that the cutting effect of the target internal milling key can be ensured under the condition that the width of the tooth profile is large, and the cutting precision of the key is improved.

In one embodiment, determining a profile center trajectory from a profile comprises: acquiring each characteristic point in the tooth profile;

according to the feature point on one side of the key plugging direction in the tooth-shaped profile, finding a target coordinate point matched with the target coordinate value of the feature point on the tooth-shaped profile on the other side of the key plugging direction; the target coordinate value is a coordinate value in a direction perpendicular to the key plugging direction;

and determining the contour center track according to each characteristic point and the corresponding target coordinate point.

The feature points refer to points for characterizing the tooth portions. For example, the characteristic point is an apex in the tooth profile. The target coordinate value is a coordinate value in a direction perpendicular to the key insertion/extraction direction.

Specifically, the key cutting machine acquires each feature point in the tooth profile, and searches for a target coordinate point matched with a target coordinate value of the feature point on the tooth profile on the other side of the tooth profile in the key inserting and extracting direction according to the feature point on one side of the two sides of the tooth profile in the key inserting and extracting direction. It is to be understood that the target coordinate point that matches the target coordinate value of the feature point may be a target coordinate point corresponding to a coordinate value of the target coordinate value of the feature point within a preset error range. And the key cutting machine determines a center coordinate point according to each characteristic point and the corresponding target coordinate point, and determines a contour center track according to each center coordinate point.

In this embodiment, as shown in fig. 3, a schematic diagram of a key cutting trajectory in one embodiment is shown. Including the contour center trajectory 302. As can be seen from the figure, the points on the center locus of the outline include center points between the respective feature points and the mapping points on the other side in the key insertion and extraction direction. And the key cutting machine cuts the key blank according to the sequence of the head cutting track (I → the outline center track (II → the tooth position cutting track (III)).

In this embodiment, each feature point in the tooth-shaped profile is obtained, and according to the feature point located on one side of the key in the tooth-shaped profile in the key inserting and extracting direction, the target coordinate point matched with the target coordinate value of the feature point is found on the tooth-shaped profile on the other side of the key inserting and extracting direction, so that the number of the tooth-shaped profiles on both sides is the same, and then the profile center trajectory is determined according to each feature point and the corresponding target coordinate point, so that the cutting amount required in the middle can be obtained, and thus, it is ensured that no residue is left in cutting the key body.

In one embodiment, a key head for multiple cutting of a key blank according to a head bitting profile, comprises: acquiring a head point set on the head tooth profile; the head point set comprises at least three head points; and controlling the milling cutter to cut the key head of the key blank according to a head cutting track formed from one side head point to the other side head point of the head point set.

Wherein, the head point set comprises at least three head points.

Specifically, a head point set on a head tooth profile is obtained in a key cutting machine, and a key head of a key blank is cut according to a head cutting track formed by the head points concentrated from one head point on one side of a key inserting and extracting direction to the other head point of the key inserting and extracting direction; and finishing the cutting of the key head until the head points in the head point set are traversed.

Fig. 4 is a schematic diagram of a cutting trajectory of the key head in one embodiment. Including a head tooth profile 402, a plurality of head points 404, and a head cut trajectory 406. The head cut trajectory 406 is formed from one side head point to the other side head point in the set of head points.

In this embodiment, because the internal milling key has a large head range, the problem of cutting residue is likely to occur, so that a head point set on the tooth profile of the head is obtained, and the milling cutter is controlled to cut the key head of the key blank according to a head cutting track formed by the head point set from one head point to the other head point, so as to ensure that no residue is left in the head cutting.

In one embodiment, acquiring a set of head points on a head profile comprises: and taking the radius of the milling cutter as the distance between the head point on one side of the key blank and the head point on the other side of the key blank in the key plugging and unplugging direction, and taking points to obtain a head point set.

Specifically, the key cutting machine takes the radius of the milling cutter as the vertical distance between the head point on one side and the head point on the other side of the key blank in the key inserting and pulling direction, and a head point set is obtained by taking points. Namely, the distance between the head points on the same side of the key blank is the diameter of the milling cutter. Referring to fig. 4, the distance between the head point on the left side in fig. 4 and the corresponding head point on the right side in the key extracting direction is the milling cutter radius. The distance between the left head points is the mill diameter.

In the embodiment, the radius of the milling cutter is used as the distance between the head point on one side and the head point on the other side of the key blank in the key plugging direction, the point is taken to obtain the head point set, the cutting is carried out according to the formed track, the part needing to be cut can be traversed, the cutting frequency can be reduced as much as possible under the condition that the head of the key is ensured not to be residual, and the cutting efficiency is improved.

In one embodiment, the key cutting method further comprises: determining the flat width of the cutting tooth under the condition that the slope corresponding to the concave tooth in the tooth profile meets the tooth profile slope condition; the slope is a slope of a straight line obtained from a cutting end point of the concave tooth to a cutting start point of the next tooth position.

Controlling a milling cutter to cut a key blank according to a profile of a tooth, comprising: and when the milling cutter is controlled to move to the position corresponding to the concave tooth according to the tooth profile, controlling the milling cutter to cut the position corresponding to the key blank according to the cutting tooth flat width.

And the corresponding tooth part surrounded by the tooth positions during cutting is a concave tooth. The tooth part which is not surrounded by the tooth position when the milling cutter is used for cutting is a convex tooth. The flat width of the tooth means the width of the tooth in the key insertion direction.

FIG. 5 is a schematic view of a concave tooth and a convex tooth in one embodiment. As shown in fig. 5 (a), a schematic diagram of the cutting of the target tooth profile 502 above the cutting trajectory 504 is shown. Fig. 5 (b) is a schematic diagram of the cutting of the target tooth profile 502 below the cutting trajectory. As can be seen from fig. 5 (a) and (b), the tooth portion surrounded by the tooth space during cutting of the milling cutter is a concave tooth, and the tooth portion not surrounded by the tooth space during cutting of the milling cutter is a convex tooth. Also, in general, the width of the tooth flat cut only in accordance with the concave profile is much smaller than the actual width of the tooth flat.

The slope refers to the slope of a straight line obtained from the cutting end point of the current concave tooth to the cutting start point of the next tooth position.

The profile slope condition refers to the profile slope required for key unlocking. For example, satisfying the profile slope condition may be satisfying the condition that the profile slope is less than 66 degrees.

Specifically, the key cutting machine may set the slope of the straight line passing through the cutting start point of the next tooth position to satisfy the tooth profile slope condition, to obtain the updated tooth profile corresponding to the concave tooth; and determining the flat width of the cutting tooth according to the updated tooth profile corresponding to the concave tooth. Specifically, the flat width of the cutting tooth is determined according to the updated tooth profile corresponding to the concave tooth and the radius of the milling cutter.

FIG. 6 is a diagram illustrating the tooth widths associated with an inner key. Including a mill 600, a line 602, and a line 604. The straight line 602 is a straight line obtained from the cutting end point of the present concave tooth to the cutting start point of the next tooth position. Line 604 is the line corresponding to the concave teeth in the tooth profile. As can be seen, the slope of line 604 is less than the slope of line 602. Fig. 6 includes an incremental cutting tooth flat width (r), a tooth flat width (r) obtained by cutting according to the tooth profile(s), a cutting tooth flat width (r), and a target tooth flat width (r) in the tooth profile(s). As can be seen from fig. 6, if the cutting is performed according to the tooth profile due to the large milling cutter, the difference between the reference tooth flat width (c) obtained according to the tooth profile and the target tooth flat width (c) in the tooth profile is large due to the restriction of the straight line 604. The tooth flat width is important in the key and is related to whether the lock can be unlocked, and the straight line between the concave tooth and the cutting starting point of the next tooth position has limited influence on the unlocking, so that the cutting tooth flat width can be adjusted under the condition of meeting the tooth form slope. The incremental cutting tooth width (r) is therefore determined if the slope of the straight line 602 corresponding to the concave tooth in the tooth profile satisfies the tooth profile slope. In the actual cutting process, when the milling cutter is controlled to move to the position corresponding to the concave tooth according to the tooth profile, the milling cutter is controlled to cut the tooth position corresponding to the key blank according to the flat width of the cutting tooth.

In this embodiment, because the radius of the milling cutter is generally large, and the tooth position of the key is small, the tooth width obtained by cutting the concave teeth is smaller than the tooth width in the tooth profile, but the tooth width is related to whether the key can unlock the corresponding lock, so that the cutting tooth width in the actual cutting process needs to be determined under the condition that the slope corresponding to the concave teeth in the tooth profile meets the tooth slope condition, and when the milling cutter moves to the position corresponding to the concave teeth, the concave teeth corresponding to the cutting tooth width are cut, so that the tooth width of the concave teeth is closer to the tooth profile, and the cutting accuracy of the key is improved.

In one embodiment, determining the cutting tooth flat width in the case that the slope corresponding to the concave tooth in the profile meets the profile slope condition comprises:

and (a 1) acquiring a straight line formed by the cutting end point of the concave tooth and the cutting start point of the next tooth position.

And (a 2) taking a first point and a second point from the straight line, the first point and the second point not being the same point.

Specifically, the key cutting machine takes a first point coordinate and a second point coordinate in a straight line, the first point and the second point being different from the same point.

A step (a 3) of determining a first coordinate difference between the first point and the second point and a second coordinate difference between the first point and the second point.

And when the first coordinate difference is the coordinate difference in the Y-axis direction, the second coordinate difference is the coordinate difference in the X-axis direction. When the first coordinate difference is a coordinate difference in the X-axis direction, the second coordinate difference is a coordinate difference in the Y-axis direction.

Specifically, the key cutting machine determines a first coordinate difference value and a second coordinate difference value between a first point and a second point.

And (a 4) determining the ratio of the second coordinate difference to the preset profile slope.

The preset profile slope may specifically refer to a maximum slope corresponding to a slope of the straight line. The predetermined tooth profile slope may also be the slope less than the maximum slope and greater than or equal to the slope corresponding to the set tooth in the tooth profile. For example, the maximum slope is 55 degrees, the predetermined profile slope may be 55 degrees, 40 degrees, 30 degrees … … degrees

And (a 5) determining the incremental cutting tooth flat width according to the difference between the first coordinate difference and the ratio.

The incremental cutting tooth flat width refers to the tooth flat width which is increased on the original tooth flat width corresponding to the tooth profile. The teeth are cut flat (r) as in the incremental cut of fig. 6.

Specifically, the first coordinate difference is a coordinate difference in the Y-axis direction, the second coordinate value is a coordinate difference in the X-axis direction, and the first point is (X)1,y1) The second point is (x)2,y2) If the predetermined profile slope is tan α, and the incremental cutting tooth mean width is Δ b, then the first coordinate difference = y2-y1First coordinate difference = x2- x1. The slope of the line 602 should satisfy the following relationship:

tanα=(x2- x1)/(y2-y1-△b)

then Δ b = (y)2-y1)-(x2- x1)/ tanα

And (a 6) obtaining the cutting tooth flat width according to the incremental cutting tooth flat width and the reference tooth flat width corresponding to the tooth profile.

Wherein the reference tooth flat width is obtained according to the reference cutting track; the original cutting path is planned according to the tooth profile and the radius of the milling cutter. Such as the reference tooth width of fig. 6.

Specifically, the cutting tooth flat width (c) is obtained according to the sum of the incremental cutting tooth flat width (c) and the reference tooth flat width (c) corresponding to the tooth profile.

In this embodiment, a first point and a second point are taken from a straight line, a first coordinate difference between the first point and the second point is determined, a ratio between the second coordinate difference and a preset tooth profile slope is determined, and an incremental cutting tooth flat width is determined according to a difference between the first coordinate difference and the ratio, so that the cutting tooth flat width is obtained, the cutting tooth flat width is quickly obtained through simple calculation, and the operation efficiency is improved.

In one embodiment, the key cutting method further comprises:

acquiring a target cutting depth of a target internal milling key;

when the first cutting depth of the target internal milling key after cutting according to the tooth profile does not reach the target cutting depth, determining a second cutting depth according to the target cutting depth and the first cutting depth;

and controlling the milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head according to the second cutting depth, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the target cutting depth is reached, so as to obtain the target inner milling key.

The target cutting depth is the depth perpendicular to the plane of the key tooth profile. The required cutting depth varies from key to key.

Specifically, the key cutting machine obtains a target cutting depth of a key milled in a target. When the first cutting depth of the target internal milling key after cutting according to the tooth profile does not reach the target cutting depth, the key cutting machine determines a second cutting depth according to the difference between the target cutting depth and the first cutting depth; and controlling the milling cutter to cut the key head of the key blank in a reciprocating manner according to the tooth profile of the head according to the second cutting depth, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the target cutting depth is reached, so as to obtain the target inner milling key.

In this embodiment, since the cutting depth of the milling cutter does not necessarily reach the cutting depth required by the target inner milling key, the cutting depth that has not been reached, that is, the second cutting depth, needs to be determined, and the key is cut in layers according to the second cutting depth, so that the target inner milling key is obtained, and the cutting accuracy of the key is improved.

In one embodiment, when the current tooth profile is a concave tooth profile, the milling cutter is controlled to cut concave teeth of a first tooth flat width; the first tooth flat width and the tooth flat width of the current tooth part profile are in a first preset proportion;

when the contour of the current tooth part is the contour of the convex gear, controlling the milling cutter to cut the convex gear with the second level width; the second gear width and the gear width of the convex gear profile are in a second preset proportion; the second preset proportion is larger than the first preset proportion.

The first preset proportion refers to the proportion of the flat width of the unlocking tooth corresponding to the concave tooth. That is, the first predetermined proportion is a predetermined proportion corresponding to the condition that the slope corresponding to the concave tooth satisfies the tooth profile slope. For example, the first predetermined proportion may be 30% to 40%. The second preset proportion is the proportion of the flat width of the unlocking tooth corresponding to the convex tooth. Namely, the second preset proportion is the preset proportion corresponding to the condition that the slope corresponding to the concave tooth meets the slope condition of the tooth profile. For example, the second predetermined ratio may be 60% to 80%, etc.

Specifically, when the current tooth profile at the insert is a concave tooth profile, the key cutting machine controls the milling cutter to cut a concave tooth of a first tooth flat width. The first tooth flat width and the tooth flat width of the current tooth profile are in a first preset proportion. When the current tooth profile at the cutter entering position is a convex tooth profile, the key cutting machine controls the milling cutter to cut convex teeth with a second level width; the second gear width is in a second preset proportion with the gear width of the convex gear profile. In practical applications, the tooth width of the concave teeth cut out according to the tooth profile is smaller than the tooth width of the convex teeth, so that the second predetermined ratio is greater than the first predetermined ratio.

In the embodiment, when the profile of the tooth part at the cutter feeding position is a concave profile, the milling cutter is controlled to cut a first tooth flat width; when the outline of the tooth part at the position of the cutter is a convex gear outline, the milling cutter is controlled to cut a second level width, and in the use process of an actual key, the level widths of the convex teeth and the concave teeth are related to whether unlocking can be achieved, and the milling cutter is actually large, so that the key is directly cut according to the standards of a first preset proportion and a second preset proportion respectively during cutting, and the accuracy of the key can be simply and quickly guaranteed.

In one embodiment, determining the cutting tooth flat width in the case that the slope corresponding to the concave tooth in the target profile meets the profile slope condition comprises: acquiring a first preset proportion which corresponds to the concave gear profile and meets the condition of the tooth profile slope; determining the flat width of the concave tooth cutting teeth according to the first preset proportion and the flat width of the teeth of the current tooth profile; the method further comprises the following steps: acquiring a second preset proportion which corresponds to the convex gear profile and meets the condition of the tooth form slope; and determining the flat width of the cutting teeth of the convex teeth according to the second preset proportion and the flat width of the teeth of the current tooth profile.

In one embodiment, a key cutting method includes:

and (b 1) acquiring the tooth profile of the milling key in the target. The profile includes a head profile.

And (b 2) acquiring each characteristic point in the tooth profile.

Step (b 3), according to the characteristic point at one side of the key inserting and extracting direction in the tooth profile, finding out the target coordinate point matched with the target coordinate value of the characteristic point on the tooth profile at the other side of the key inserting and extracting direction; the target coordinate value is a coordinate value in a direction perpendicular to the key insertion/extraction direction.

And (b 4) determining the contour center track according to the characteristic points and the corresponding target coordinate points.

Step (b 5), taking the radius of the milling cutter as the distance between the head point at one side and the head point at the other side of the key blank in the key plugging direction, and taking points to obtain a head point set; the set of head points includes at least three head points.

And (b 6) cutting the key head of the key blank according to a head cutting track formed from one head point to the other head point in the head point set, and controlling the milling cutter to cut the key blank according to the contour center track.

And (b 7) acquiring a straight line formed by the cutting end point of the concave tooth and the cutting start point of the next tooth position.

A step (b 8) of taking a first point and a second point from the straight line; the first point and the second point are not the same point.

And (b 9) determining a first coordinate difference between the first point and the second point, and determining a second coordinate difference between the first point and the second point.

And (b 10) determining the ratio of the second coordinate difference to the preset profile slope.

And (b 11) determining the incremental cutting tooth flat width according to the difference between the first coordinate difference and the ratio.

Step (b 12), obtaining the cutting tooth flat width according to the incremental cutting tooth flat width and the reference tooth flat width corresponding to the tooth profile; the slope is a slope of a straight line obtained from a cutting end point of the concave tooth to a cutting start point of the next tooth position.

And (b 13) acquiring the target cutting depth of the target inner milling key.

And (b 14) when the first cutting depth of the target inner milling key after cutting according to the tooth profile does not reach the target cutting depth, determining a second cutting depth according to the target cutting depth and the first cutting depth.

And (b 16) when the milling cutter is controlled to move to the position corresponding to the concave tooth according to the tooth profile, controlling the milling cutter to cut the position corresponding to the key blank according to the second cutting depth and the cutting tooth width until the cutting according to the tooth profile is completed and the target cutting depth is reached, and obtaining the target inner milling key.

According to the key cutting method, the target internal milling key is obtained by obtaining the tooth profile of the target internal milling key, wherein the tooth profile comprises a head tooth profile, determining the center track of the profile according to the tooth profile, controlling a milling cutter to cut the key head of a key blank in a reciprocating manner according to the head tooth profile, and controlling the milling cutter to cut the key blank according to the center track of the profile and the tooth profile until the cutting according to the tooth profile is completed; the head of the key blank is cut in a reciprocating way according to the cutting track, so that the problem of cutting residue of the head of the key can be solved; and the cutting is carried out according to the profile center track and the tooth profile, so that the cutting effect of the target internal milling key can be ensured under the condition that the width of the tooth profile is large, and the cutting precision of the key is improved.

It should be understood that, although the respective steps in the flowcharts of fig. 1 and 4 described above are sequentially displayed as indicated by arrows, and the respective steps in the steps (a 1) to (a 6), the step (b 1) to the step (b 16) are sequentially displayed as indicated by reference numerals, these steps are not necessarily sequentially performed in the order indicated by arrows or numerals. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 and 4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the other steps.

In one embodiment, as shown in fig. 7, a block diagram of a key cutting apparatus in one embodiment may be a software module or a hardware module, or a combination of the two modules, which is a part of a computer device, and specifically includes: an acquisition module 702, a determination module 704, and a cutting module 706, wherein:

an obtaining module 702, configured to obtain a tooth profile of a target inner milling key; the profile comprises a head profile;

a determining module 704, configured to determine a profile center trajectory according to the tooth profile;

and a cutting module 706, configured to control the milling cutter to cut the key head of the key blank back and forth according to the head profile and the profile center trajectory, and control the milling cutter to cut the key blank according to the profile until the cutting according to the profile is completed, so as to obtain the target inner milling key.

The key cutting device obtains the target internal milling key by obtaining the tooth profile of the target internal milling key, wherein the tooth profile comprises a head tooth profile, determining a profile center track according to the tooth profile, controlling a milling cutter to cut the key head of the key blank in a reciprocating manner according to the head tooth profile, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the cutting according to the tooth profile is completed; the head of the key blank is cut in a reciprocating way according to the cutting track, so that the problem of cutting residue of the head of the key can be solved; and the cutting is carried out according to the profile center track and the tooth profile, so that the cutting effect of the target internal milling key can be ensured under the condition that the width of the tooth profile is large, and the cutting precision of the key is improved.

In one embodiment, the determining module 704 is configured to obtain feature points in the profile;

according to the feature point on one side of the key plugging direction in the tooth-shaped profile, finding a target coordinate point matched with the target coordinate value of the feature point on the tooth-shaped profile on the other side of the key plugging direction; the target coordinate value is a coordinate value in a direction perpendicular to the key plugging direction;

and determining the contour center track according to each characteristic point and the corresponding target coordinate point.

In this embodiment, each feature point in the tooth-shaped profile is obtained, and according to the feature point located on one side of the key in the tooth-shaped profile in the key inserting and extracting direction, the target coordinate point matched with the target coordinate value of the feature point is found on the tooth-shaped profile on the other side of the key inserting and extracting direction, so that the number of the tooth-shaped profiles on both sides is the same, and then the profile center trajectory is determined according to each feature point and the corresponding target coordinate point, so that the cutting amount required in the middle can be obtained, and thus, it is ensured that no residue is left in cutting the key body.

In one embodiment, the cutting module 706 is configured to obtain a set of head points on the head profile; the head point set comprises at least three head points; and cutting the key head of the key blank according to a head cutting track formed from one head point to the other head point in the head point set.

In this embodiment, because the interior milling key head scope is great, the remaining problem of cutting appears easily, consequently obtains the head point set on the profile of head profile of tooth, according to the head cutting orbit that the head point set formed from head point of one side to head point of the opposite side, cuts the key head of key embryo, can guarantee that the head cutting does not have the residue.

In one embodiment, the obtaining module 702 is configured to take the radius of the milling cutter as a distance between a head point on one side of the key blank and a head point on the other side of the key blank in the key inserting and extracting direction, and obtain a head point set by taking points.

In the embodiment, the radius of the milling cutter is used as the distance between the head point on one side and the head point on the other side of the key blank in the key plugging direction, the point is taken to obtain the head point set, the cutting is carried out according to the formed track, the part needing to be cut can be traversed, the cutting frequency can be reduced as much as possible under the condition that the head of the key is ensured not to be residual, and the cutting efficiency is improved.

In one embodiment, the determining module 704 is further configured to determine the cutting tooth flat width if the slope corresponding to the concave tooth in the profile meets the profile slope condition; the slope is a slope of a straight line obtained from a cutting end point of the concave tooth to a cutting start point of the next tooth position. The cutting module 706 is used for controlling the milling cutter to cut the corresponding position of the key blank according to the cutting tooth width when the milling cutter is controlled to move to the corresponding position of the concave tooth according to the tooth profile.

In this embodiment, because the radius of the milling cutter is generally large, and the tooth position of the key is small, the tooth width obtained by cutting the concave teeth is smaller than the tooth width in the tooth profile, but the tooth width is related to whether the key can unlock the corresponding lock, so that the cutting tooth width in the actual cutting process needs to be determined under the condition that the slope corresponding to the concave teeth in the tooth profile meets the tooth slope condition, and when the milling cutter moves to the position corresponding to the concave teeth, the concave teeth corresponding to the cutting tooth width are cut, so that the tooth width of the concave teeth is closer to the tooth profile, and the cutting accuracy of the key is improved.

In one embodiment, the determining module 704 is further configured to obtain a straight line formed by a cutting end point of the concave tooth and a cutting start point of a next tooth position; taking a first point and a second point from the straight line, the first point and the second point not being the same point; determining a first coordinate difference between the first point and the second point and a second coordinate difference between the first point and the second point; determining the ratio of the second coordinate difference value to a preset tooth profile slope; determining the incremental cutting tooth flat width according to the difference between the first coordinate difference and the ratio; and obtaining the cutting tooth flat width according to the incremental cutting tooth flat width and the reference tooth flat width corresponding to the tooth profile.

In this embodiment, a first point and a second point are taken from a straight line, a first coordinate difference between the first point and the second point is determined, a ratio between the second coordinate difference and a preset tooth profile slope is determined, and an incremental cutting tooth flat width is determined according to a difference between the first coordinate difference and the ratio, so that the cutting tooth flat width is obtained, the cutting tooth flat width is quickly obtained through simple calculation, and the operation efficiency is improved.

In one embodiment, the obtaining module 702 is further configured to obtain a target cutting depth of the target inner milling key; the determining module 704 is further configured to determine a second cutting depth according to the target cutting depth and the first cutting depth when the first cutting depth of the target inner milling key after cutting according to the tooth profile does not reach the target cutting depth; the cutting module 706 is further configured to execute the steps of controlling the milling cutter to cut the key head of the key blank back and forth according to the head profile and the tooth profile according to the second cutting depth, and controlling the milling cutter to cut the key blank according to the profile center track and the tooth profile until the target cutting depth is reached, so as to obtain the target inner milling key.

In this embodiment, since the cutting depth of the milling cutter does not necessarily reach the cutting depth required by the target inner milling key, the cutting depth that has not been reached, that is, the second cutting depth, needs to be determined, and the key is cut in layers according to the second cutting depth, so that the target inner milling key is obtained, and the cutting accuracy of the key is improved.

For specific limitations of the key cutting device, reference may be made to the above limitations of the key cutting method, which are not described in detail herein. The various modules in the key cutting apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.

In one embodiment, a key cutting machine is provided, the internal structure of which may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a key cutting method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.

Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.

In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, performs the steps of the various key cutting method embodiments described above.

In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned key cutting method embodiments.

It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the above embodiments of the methods. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种加工吸波蜂窝的超声弧刃锯片铣刀

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!