Search

CN-120765685-B - Method and system for automatically calculating mechanical movement track curve

CN120765685BCN 120765685 BCN120765685 BCN 120765685BCN-120765685-B

Abstract

The embodiment of the invention provides a method and a system for automatically calculating a mechanical motion track curve, wherein an image A t and shot parameter information are acquired by acquisition equipment in a sampling period of one second, the image and shot parameter information are acquired, a speed value can be acquired through information in two adjacent images, displacement is not required to be acquired, the speed is calculated, the calculated speed value is greatly simplified, displacement and speed of a sampling interval are calculated respectively by different methods, difference values of a current value and a previous value are calculated respectively, and judgment is carried out, the probability of misjudgment is reduced, the accuracy of the curve is improved, when DeltaV is smaller than a first threshold value, deltaS is smaller than a second threshold value, the values of DeltaV and DeltaS are judged, if DeltaV is larger than DeltaS, the calculated vt and vt-1 are larger in deviation, and because the calculated V t and S t re are identical in numerical value, the method is replaced with the value of vt to be t re , and the accuracy of the curve is improved.

Inventors

  • WANG LI
  • HU CUNCHAO

Assignees

  • 温州峻雁科技有限公司

Dates

Publication Date
20260505
Application Date
20250728

Claims (10)

  1. 1. A method of automatically calculating a mechanical motion profile, the method comprising: The method comprises the steps of collecting images A t , t=1, and n in a mechanical movement process by an collecting device in a sampling period of one second, wherein the sampled images comprise observation points and reference points of the mechanical movement in a concentrated manner, the reference points are points with fixed positions in the mechanical movement process, and the observation points are points with variable positions in the mechanical movement process; Acquiring shot parameter information; Acquiring a pixel coordinate P t pc of an observation point in an image A t , and calculating to obtain a mechanical movement speed V t according to the pixel coordinates P t pc and P t-1 pc and photographed parameter information; Acquiring a reference point pixel coordinate P t rpc in an image A t , and calculating to obtain an actual distance s t re between an observation point and a reference point on mechanical equipment according to the pixel coordinates P t pc and P t-1 pc , the reference point pixel coordinate P t rpc and shot parameter information, wherein the actual distance of mechanical movement is s t re -s t-1 re ; Calculating a difference DeltaV=V t -V t-1 between the current speed and the previous speed and a difference DeltaS=s t re -s t-1 re between the distance of the current mechanical movement and the distance of the previous mechanical movement, outputting and displaying V t and S t re if DeltaV is larger than a first threshold value and DeltaS is larger than a second threshold value, outputting and displaying the value of S t re as the value of V t and the value of V t and S t re if DeltaV is larger than the first threshold value and DeltaS is larger than the second threshold value, and outputting and displaying the value of V t as the value of S t re and the values of V t and S t re to obtain a speed curve and a position curve.
  2. 2. The method for automatically calculating a mechanical motion trajectory curve according to claim 1, further comprising judging the magnitudes of the values of DeltaV and DeltaS if DeltaV is smaller than a first threshold value and DeltaS is smaller than a second threshold value, setting the value of S t re as the value of V t if DeltaV is larger than DeltaS, setting the value of V t as the value of S t re if DeltaV is smaller than DeltaS, and outputting and displaying V t and S t re to obtain a speed curve and a position curve.
  3. 3. The method for automatically calculating a mechanical motion profile according to claim 1, wherein, The shot parameter information comprises a distance D between a shot point and a plane where a mechanical motion track is located, a pixel distance s of an image and a distance D between the shot point and an imaging plane.
  4. 4. The method of claim 1, wherein the acquisition device is a photographing device or a video recording device.
  5. 5. A system for automatically calculating a mechanical motion profile, the system comprising: The information acquisition unit acquires images A t , t=1, and n during mechanical movement in a sampling period of one second through the acquisition equipment, wherein the sampled images comprise observation points and reference points of the mechanical movement in a concentrated manner, the reference points are points with fixed positions during the mechanical movement, and the observation points are points with position changes during the mechanical movement; The speed calculation unit is used for obtaining a pixel coordinate P t pc of an observation point in the image A t in the image, and calculating to obtain a speed V t of mechanical movement according to the pixel coordinates P t pc and P t-1 pc and photographed parameter information; The displacement calculation unit is used for obtaining a reference point pixel coordinate P t rpc in the image A t , calculating to obtain an actual distance s t re between an observation point and the reference point on the mechanical equipment according to the pixel coordinates P t pc and P t-1 pc , the reference point pixel coordinate P t rpc and shot parameter information, wherein the actual distance of mechanical movement is s t re -s t-1 re ; And a curve output unit for calculating a difference DeltaV=V t -V t-1 between the current speed and the previous speed and a difference DeltaS=s t re -s t-1 re between the distance of the current mechanical movement and the distance of the previous mechanical movement, outputting and displaying V t and S t re if DeltaV is larger than a first threshold value and DeltaS is larger than a second threshold value, outputting and displaying the value of S t re as a value of V t and outputting and displaying V t and S t re if DeltaV is larger than the first threshold value and DeltaS is larger than the second threshold value, and outputting and displaying the value of V t as a value of S t re and V t and S t re to obtain a speed curve and a position curve.
  6. 6. The system according to claim 5, wherein the curve output unit further comprises determining the magnitudes of the values of DeltaV and DeltaS if DeltaV is smaller than the first threshold value and DeltaS is smaller than the second threshold value, determining the value of S t re as the value of V t if DeltaV is larger than DeltaS, determining the value of V t as the value of S t re if DeltaV is smaller than DeltaS, and outputting and displaying the values of V t and S t re to obtain the speed curve and the position curve.
  7. 7. The system for automatically calculating a mechanical motion trajectory profile according to claim 6, wherein the photographed parameter information includes a distance D between a photographed point and a plane of the mechanical motion trajectory, a pixel distance s of the image, and a distance D between the photographed point and an imaging plane.
  8. 8. The system for automatically calculating a mechanical motion profile according to claim 6, wherein the acquisition device is a photographing device or a video recording device.
  9. 9. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing program instructions that, when executed by the processor, cause the electronic device to perform the method of automatically calculating a mechanical motion profile of any one of claims 1-4.
  10. 10. A computer readable storage medium comprising a computer program which, when run on an electronic device, causes the electronic device to perform the method of automatically calculating a mechanical motion profile according to any one of claims 1-4.

Description

Method and system for automatically calculating mechanical movement track curve Technical Field The invention relates to the field of image processing, in particular to a method and a system for automatically calculating a mechanical motion track curve. Background With the recent technological changes, various machine equipment has been studied to replace the use of the existing labor in recent years, wherein the punch press has become the fastest and most effective method to replace the labor in the punching process. The punching process is a process mode in which a punch is driven by a punch press as a processing device, and a material sheet is forced to break or form by matching with a punching die. In the conventional stamping process, the breaking or deformation mode generated on the material sheet is classified into punching and shearing process (SHEARING AND cutting), drawing process (drawing), forging process (forming), bending process (bending), and the like, while in the extending process, the material sheet generates complex stress and deformation, including compression, bending, extension tension, friction, and the like, fig. 1 is a drawing process schematic diagram, fig. 2 is a drawing process stamping curve of a punching machine, sections (1) and (4) are punches rapidly approaching to a workpiece and rapidly increasing the punches, the sections are not contacted with the workpiece, so that the speed is faster and better, the higher the production efficiency is achieved, sections (2) and (3) are parts for mainly processing the workpiece, the punch enters a stage (2) after contacting the workpiece, the workpiece is pulled into a die by the punch at a set speed, the punch moving distance of the punch at the stage (2) is the depth of extension, enters the stage (3) after moving to the set depth, and stays, so that the workpiece can rebound phenomenon occurs when the workpiece is temporarily raised, if the workpiece is deformed too rapidly. In the stamping process, the blank pulled into the female die by the punch is stretched, if the strain rate is too high, necking phenomenon can be generated, the wall thickness of a finished product is uneven or the situation of stretch cracking occurs, and the phenomenon can be avoided by selecting proper punch speed, so that the method has an important effect on obtaining a movement track curve of the punch, particularly a speed curve, and determining the working state of the punch and the quality of a stamped finished product. In the prior art, corresponding parameters can be acquired by installing a specific sensor at the punch to further obtain a motion curve of the punch, however, the sensor with high accuracy and high reliability is usually expensive, so that the later maintenance and maintenance costs are higher, in order to acquire the speed value of the punch, in the prior art, the speed value is usually acquired through acquiring the moving distance of the punch, so that the process is complicated, because of the working characteristics of the punch, such as before and after the intersection point of the parts (1) and (2) in fig. 2, or before and after the intersection point of the parts (2) and (3), or before and after the intersection point of the parts (3) and (4), the speed value has a larger difference, when the speed value is obtained through moving distance calculation, whether the difference value of the speed value and the speed value obtained in the previous time is larger than a specific threshold value is usually judged, and if the speed value belongs to the value after the inflection point is larger than the threshold value is judged, in the actual application process, the speed value obtained at this time is judged to be a normal value, and in the actual application process, because the speed value is influenced by various factors, such as when the intersection point of the parts (1) and (2) in the intersection point of the parts in fig. 2 is not reached, the curve is not obtained, the curve can be accurately judged, and the curve can be obtained by the curve is required to be accurately and accurately when the curve is obtained by setting in a single way. Disclosure of Invention In view of the above, the invention provides a method and a system for automatically calculating a mechanical motion track curve, which effectively simplify the cost for obtaining the motion curve, the complicated calculation process and the complex processing fitting process. In a first aspect, the present invention provides a method for automatically calculating a mechanical motion trajectory profile, comprising: The method comprises the steps of collecting images A t, t=1, and n in a mechanical movement process by an collecting device in a sampling period of one second, wherein the sampled images comprise observation points and reference points of the mechanical movement in a concentrated manner, the reference points are points with fixed positions in the mec