Equipment processing method and system based on multi-speed production line
By editing the processing content of production lines at different speeds in the laser equipment control software and automatically switching the encoder, combined with the calculation of the galvanometer compensation amount, the problems of low utilization rate and low processing efficiency of laser marking equipment are solved, and efficient and accurate laser marking processing is achieved.
Patent Information
- Application Number
- CN202411824885.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-12-12
AI Technical Summary
In the prior art, the utilization rate and processing efficiency of laser marking equipment are low, resulting in waste of resources and increased production costs.
Using a multi-speed production line-based equipment processing method, by editing the processing content of production lines of different speeds in the control software of the laser equipment, and setting an IO signal to automatically switch the encoder and its processing content, the compensation amount of the galvanometer is calculated to ensure accurate marking.
It significantly improves the overall utilization rate of the equipment, ensures processing accuracy and product quality, and achieves high production efficiency and accuracy.
Smart Images

Figure CN119282412B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser processing, and in particular to an equipment processing method and system based on a multi-speed production line. Background Art
[0002] In many modern manufacturing processes, the application of production lines and laser equipment has become increasingly widespread. Especially in situations where precise identification and tracking of product information is required, laser marking technology has become an indispensable part due to its high precision, high speed and non-contact processing characteristics.
[0003] Chinese patent publication number: CN111299844B discloses a fully automatic door sheet metal flipping, weighing and marking equipment. It includes a first conveyor belt, a second conveyor belt, a flipping mechanism and a marking mechanism. A two-axis moving mechanism connected to the marking mechanism is arranged on one side of the end of the first conveyor belt. The flipping mechanism is fixedly arranged on one side of the first conveyor belt. Several platforms for supporting the door are arranged on the first conveyor belt and the second conveyor belt. A lifting cylinder and several stopping cylinders are arranged on the inner bottom of the first conveyor belt. A weighing mechanism is arranged on the top output end of the lifting cylinder. It has the advantages of simple and practical structure, easy integration into existing production lines, and the ability to efficiently complete the flipping, weighing and marking of car door sheet metal parts. However, in the actual production process, some shortcomings are also exposed, especially in terms of the overall efficiency of the production line and the utilization rate of laser equipment. The efficiency of the production line as a whole is jointly affected by the production speed of each process link. In this invention, the frequency of use of the laser marking equipment directly depends on the production speed of the preceding process (such as processing and transmission of car door sheet metal parts). If the preceding process is complicated or requires a long processing time, it will cause the laser marking equipment to generate a lot of idle time while waiting for the arrival of the preceding workpiece, thereby reducing The overall equipment utilization and production efficiency, this mismatch may lead to waste of resources and increase production costs, and laser marking usually relies on the precise control of the laser galvanometer to achieve marking on the workpiece surface. However, in actual applications, not all device identification content needs to occupy the entire marking space of the laser galvanometer. For some cases with smaller identification content, only a small part of the galvanometer marking capacity may be used, while most of the remaining marking space is unused. The waste of galvanometer marking range caused by this partial use not only limits the efficient use of laser equipment, but may also increase the number of equipment adjustments due to frequent small-range marking, further affecting production efficiency. Summary of the invention
[0004] To this end, the present invention provides an equipment processing method and system based on a multi-speed production line, so as to overcome the problems of low utilization rate and low processing efficiency of processing equipment in the prior art.
[0005] To achieve the above object, the present invention provides an equipment processing method based on a multi-speed production line, comprising:
[0006] Step S1, according to the processing requirements of two production lines with different speeds, respectively edit the processing contents of the upper and lower areas in the control software of the laser equipment, and set the production line corresponding to each area;
[0007] Step S2, inputting the key parameters of the encoders respectively connected to the two production lines into the parameter setting area of the first encoder and the second encoder of the control software respectively;
[0008] Step S3, setting IO signals corresponding to the first encoder and the second encoder in the control software, wherein the IO signals are used to control the laser device to automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line;
[0009] Step S4, starting the laser device and waiting to receive an IO signal;
[0010] Step S5, automatically switching the corresponding encoder and its corresponding processing content according to the IO signal received by the laser device;
[0011] Step S6, obtaining a measurement signal of the switched encoder, calculating a moving distance in the X direction according to the measurement signal, and calculating a compensation amount in the X direction of the galvanometer in the laser device according to the moving distance in the X direction;
[0012] Step S7, applying the compensation amount to the moving trajectory of the galvanometer, and performing preliminary laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0013] Step S8, real-time monitoring and data recording of the laser marking position after the initial application of the compensation amount;
[0014] Step S9, determining whether there is a deviation between the monitored marking position and the expected marking position;
[0015] Step S10, correcting the compensation amount with deviation;
[0016] Step S11, applying the corrected compensation amount to the moving trajectory of the galvanometer, and performing laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0017] Step S12, real-time monitoring and data recording of the laser marking position after applying the corrected compensation amount;
[0018] Step S13, determining whether there is still a deviation between the monitored marking position after correction and the expected marking position, and if there is a deviation, detecting whether the encoder is abnormal, and determining a correction measure according to the detection result until the deviation is within a preset deviation range;
[0019] Step S14, detecting whether the processing content of the current production line is all completed, and stopping the processing of the current production line when the processing is completed.
[0020] Furthermore, the key parameters in step S2 include the number of pulses per revolution of the encoder and the diameter of the auxiliary wheel connected to the encoder.
[0021] Further, in step S6, when calculating the compensation amount of the galvanometer in the laser device in the X direction according to the moving distance in the X direction, the deviation E between the moving distance in the X direction and the expected moving distance is calculated, and the compensation amount P is calculated according to the preset deviation compensation coefficient k, wherein P=E×k.
[0022] Furthermore, in step S7, when the compensation amount is applied to the moving trajectory of the galvanometer, the compensation amount is used to compensate for the initial position point of the galvanometer to obtain the compensated position point of the galvanometer, and the moving trajectory of the galvanometer in the control software is updated according to the compensated position point of the galvanometer, so that the control software controls the movement of the galvanometer according to the moving trajectory.
[0023] Further, in step S9, when determining whether there is a deviation between the monitored marking position and the expected marking position, the difference Q between the monitored marking position and the expected marking position is calculated, and the difference Q is compared with the first preset difference Q0 to determine whether the deviation between the monitored marking position and the expected marking position is within a normal deviation range, wherein:
[0024] If 0≤Q≤Q0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range;
[0025] If -Q0≤Q<0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range;
[0026] If Q>Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal;
[0027] If Q<-Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal.
[0028] Further, in the step S10, when the compensation amount with deviation is corrected, if it is determined that the deviation between the monitored marking position and the expected marking position is abnormal, the difference Q is compared with the second preset difference Q1, and the corresponding compensation amount is corrected according to the abnormal situation, wherein 0≤Q0<Q1, wherein:
[0029] If Q0<Q≤Q1, the deviation is judged to be abnormal within the abnormal range, and the correction coefficient v1 is set, and 0.1≤v1≤0.2 is set, and the corrected compensation amount P1=PQ×v1;
[0030] If Q>Q1, it is determined that the deviation is abnormal beyond the abnormal range, and the correction coefficient v2 is set, and 0.2<v2≤0.5 is set, and the corrected compensation amount P1=PQ×v2;
[0031] If -Q1≤Q<-Q0, the deviation is judged to be within the abnormal range, and the correction coefficient v1 is set, and 0.1≤v1≤0.2 is set. The corrected compensation amount P1=PQ×v1;
[0032] If Q<-Q1, it is determined that the deviation is abnormal beyond the abnormal range, and the correction coefficient v2 is set, and 0.2<v2≤0.5 is set. The corrected compensation amount P1=PQ×v2.
[0033] Further, in step S13, when judging whether there is still a deviation between the corrected monitored marking position and the expected marking position, the difference Q' between the corrected monitored marking position and the expected marking position is calculated, and the difference Q' is compared with the first preset difference Q0 to judge whether the deviation between the monitored marking position and the expected marking position is within the normal deviation range, wherein:
[0034] If 0≤Q'≤Q0, it is determined that the deviation between the corrected monitored marking position and the expected marking position is within the normal deviation range;
[0035] If -Q0≤Q'<0, it is determined that the deviation between the corrected monitored marking position and the expected marking position is within the normal deviation range;
[0036] If Q'>Q0, it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal;
[0037] If Q'<-Q0, it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal.
[0038] Furthermore, in step S13, when detecting whether the encoder is abnormal, if it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal, the encoder is subjected to performance and environmental monitoring, wherein:
[0039] The signal waveform information, accuracy test results, working environment temperature and working environment electromagnetic interference information of the encoder are obtained, and compared with the corresponding standard thresholds respectively, and whether the encoder is abnormal is determined according to the comparison results, wherein:
[0040] If one of the signal waveform information, the accuracy test result, the working environment temperature and the working environment electromagnetic interference information is abnormal, the encoder is determined to be abnormal.
[0041] Furthermore, in step S13, when determining corrective measures based on the detection results, if the encoder is detected to be abnormal based on the signal waveform information and / or the accuracy test results, the internal components of the encoder are monitored; if the encoder is detected to be abnormal based on the working environment temperature and / or the working environment electromagnetic interference information, the working environment of the encoder is improved.
[0042] The present invention also provides a system applied to the equipment processing method based on the multi-speed production line, comprising:
[0043] Partitioning module, which is used to edit the processing content of the upper and lower areas in the control software of the laser equipment according to the processing requirements of two production lines with different speeds, and set the corresponding production line for each area;
[0044] An input module, used to input key parameters of encoders respectively connected to the two production lines into parameter setting areas of the first encoder and the second encoder of the control software respectively;
[0045] A setting module, used to set IO signals corresponding to the first encoder and the second encoder in the control software, wherein the IO signals are used to control the laser device to automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line;
[0046] An operation module is used to start the laser device and wait for receiving an IO signal;
[0047] A switching module, used to automatically switch the corresponding encoder and its corresponding processing content according to the IO signal received by the laser device;
[0048] A calculation module, used for obtaining a measurement signal of the switched encoder, calculating a moving distance in the X direction according to the measurement signal, and calculating a compensation amount of the galvanometer in the laser device in the X direction according to the moving distance in the X direction;
[0049] A preliminary processing module, used for applying the compensation amount to the moving track of the galvanometer, and performing preliminary laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0050] A first monitoring module is used to monitor and record data of the laser marking position in real time after the initial application of the compensation amount;
[0051] A first judgment module is used to judge whether there is a deviation between the monitored marking position and the expected marking position;
[0052] A correction module, used to correct the compensation amount with deviation;
[0053] A processing module, used for applying the corrected compensation amount to the moving track of the galvanometer, and performing laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0054] A second monitoring module is used to monitor and record data of the laser marking position after applying the corrected compensation amount in real time;
[0055] The second judgment module is used to judge whether there is still a deviation between the monitored marking position after correction and the expected marking position, and if there is a deviation, detect whether the encoder is abnormal, and determine the correction measures according to the detection result until the deviation is within the preset deviation range;
[0056] The control module is used to detect whether the processing content of the current production line is completed, and stop the processing of the current production line when the processing is completed.
[0057] Compared with the prior art, the beneficial effect of the present invention is that the present invention is used for the processing requirements of two production lines with different speeds, and the production line corresponding to each area is clearly set, so as to realize the accurate allocation of processing tasks. Subsequently, by inputting the key parameters of the encoders connected to the two production lines respectively, and setting the corresponding IO signals, the laser equipment can automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line, thereby greatly reducing the idle time of the equipment and improving the overall utilization rate of the equipment. In this process, attention is also paid to the guarantee of processing accuracy. By obtaining the measurement signal of the encoder after switching, the moving distance in the X direction is calculated, and the compensation amount of the galvanometer in the X direction of the laser equipment is calculated accordingly, so as to ensure that the laser beam can be accurately aligned with the target position. The laser marking position after the initial application of the compensation amount will be monitored in real time and data recorded. Once a deviation is found, the compensation amount will be corrected immediately and applied to the moving trajectory of the galvanometer again until the deviation of the marking position is controlled within the preset acceptance range. In addition, the process also has a complete troubleshooting mechanism. If there is still a deviation after the compensation amount is corrected, the encoder will be detected to be abnormal, and corresponding correction measures will be taken according to the detection results to ensure that the processing accuracy and product quality are not affected. Finally, it can accurately determine whether the processing content of the current production line is completed, and automatically stop the processing of the current production line when the processing is completed, thereby achieving high efficiency and accuracy of production. In summary, the above processes together constitute an efficient and accurate laser equipment control process, which provides a strong guarantee for improving the performance of the production line and product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 Schematic diagram of the process flow of the equipment processing method based on the multi-speed production line of this embodiment;
[0059] Figure 2 This is a schematic diagram of area allocation for two production lines in this embodiment;
[0060] Figure 3 It is a structural schematic diagram of the equipment processing system based on the multi-speed production line of this embodiment. DETAILED DESCRIPTION
[0061] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0062] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0063] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0064] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0065] See also Figure 1 As shown, the present invention provides an equipment processing method based on a multi-speed production line, which specifically includes:
[0066] Step S1, according to the processing requirements of two production lines with different speeds, respectively edit the processing contents of the upper and lower areas in the control software of the laser equipment, and set the production line corresponding to each area;
[0067] Set up a laser device to process the processing tasks on two production lines at the same time. The speeds of the two production lines can be the same or different, but the beats are different, that is, they cannot be in the processing beat at the same time, so that the laser device no longer needs to wait for one production line to complete before transferring to another production line. When one production line is temporarily idle, it can process the equipment of another production line, reducing the idle time of the equipment and improving the overall utilization of the equipment. According to the needs of the two production lines, edit the processing content of the upper and lower areas in the control software of the laser device respectively, and set which production line each area corresponds to, such as Figure 2 As shown, there are production line 1 and production line 2. The square area is the position that can be marked by the galvanometer in the laser equipment. The corresponding marking content is drawn for the two production lines at this position. For example, the marking content of production line 1 is 123, and the marking content of production line 2 is ABC.
[0068] Step S2, inputting the key parameters of the encoders respectively connected to the two production lines into the parameter setting area of the first encoder and the second encoder of the control software respectively;
[0069] Input the parameters of the encoders connected to the two production lines into the corresponding parameters of the first encoder A and the second encoder B of the control software of the laser equipment respectively;
[0070] Step S3, setting IO signals corresponding to the first encoder and the second encoder in the control software, wherein the IO signals are used to control the laser device to automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line;
[0071] Set the encoders corresponding to different IO signals in the control software of the laser equipment. For example, the IO1 signal corresponds to the first encoder A connected to production line 1, and the IO2 signal corresponds to the second encoder B connected to production line 2;
[0072] Step S4, starting the laser device and waiting to receive an IO signal;
[0073] Step S5, automatically switching the corresponding encoder and its corresponding processing content according to the IO signal received by the laser device;
[0074] For example, if production line 1 is running and sends out an IO1 signal, when receiving the IO1 signal, the laser device will automatically switch to the first encoder A and its corresponding processing content (marking content 123); if production line 2 sends out an IO2 signal, when receiving the IO2 signal, the laser device will automatically switch to encoder B and its corresponding processing content (marking content ABC);
[0075] Step S6, obtaining a measurement signal of the switched encoder, calculating a moving distance in the X direction according to the measurement signal, and calculating a compensation amount in the X direction of the galvanometer in the laser device according to the moving distance in the X direction;
[0076] The present invention temporarily only considers the movement in the X direction, but can also be used to calculate the distance in the Y direction. By obtaining the measurement signal after switching the encoder, the movement amount of the galvanometer in the laser device in the X direction is calculated and compensated to ensure the processing accuracy; the measurement signal of the encoder is used to feedback the position or speed to the control system, so as to achieve accurate positioning control or speed monitoring, and the movement distance in the X direction is calculated according to the signal, and then the compensation amount of the galvanometer in the laser device in the X direction is calculated, the purpose is to ensure the processing or positioning accuracy of the laser device in the X direction, and eliminate or reduce the positioning deviation caused by factors such as encoder switching, mechanical transmission error, thermal expansion, etc. through real-time feedback and compensation mechanism, so as to achieve more accurate control and processing effect;
[0077] Step S7, applying the compensation amount to the moving trajectory of the galvanometer, and performing preliminary laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0078] Applying the calculated compensation amount to the moving trajectory of the galvanometer is used to adjust the initial position of the galvanometer and perform preliminary laser marking processing. This step ensures that the laser beam can accurately align with the target position by adjusting the initial position of the galvanometer, which can avoid large deviations in the formal marking process and improve processing accuracy and efficiency.
[0079] Step S8, real-time monitoring and data recording of the laser marking position after the initial application of the compensation amount;
[0080] Step S9, determining whether there is a deviation between the monitored marking position and the expected marking position;
[0081] Step S10, correcting the compensation amount with deviation;
[0082] Step S11, applying the corrected compensation amount to the moving trajectory of the galvanometer, and performing laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0083] Step S12, real-time monitoring and data recording of the laser marking position after applying the corrected compensation amount;
[0084] Step S13, determining whether there is still a deviation between the monitored marking position after correction and the expected marking position, and if there is a deviation, detecting whether the encoder is abnormal, and determining a correction measure according to the detection result until the deviation is within a preset deviation range;
[0085] If there is still a deviation after the compensation amount is corrected, it is necessary to check the encoder for faults, because the accuracy of the encoder directly affects the positioning of the laser beam. According to the detection results of the encoder, take corresponding correction measures and make continuous iterative adjustments until the deviation of the marking position is controlled within the preset acceptance range to ensure processing accuracy and product quality;
[0086] Step S14, detecting whether the processing content of the current production line is all completed, and stopping the processing of the current production line when the processing is completed;
[0087] The processing time can be tracked by counting the number of processed products or using a timer. When the preset number or time is reached, the processing task can be judged to be completed. Sensors such as photoelectric sensors and proximity switches can also be installed at key locations of the production line to detect the flow of products or the completion of specific processes. When all expected products pass through the sensor or the specific process is completed, the processing can be judged to be completed.
[0088] The present invention is applicable to any process for laser marking of equipment;
[0089] The present invention is used for the processing requirements of two production lines with different speeds; by pre-editing the processing contents of the upper and lower areas in the control software of the laser equipment, and clearly setting the production line corresponding to each area, the accurate allocation of processing tasks is achieved; then, by inputting the key parameters of the encoders connected to the two production lines respectively, and setting the corresponding IO signals, the laser equipment can automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line, thereby greatly reducing the idle time of the equipment and improving the overall utilization rate of the equipment. In this process, attention is also paid to the guarantee of processing accuracy. By obtaining the measurement signal of the encoder after switching, calculating the moving distance in the X direction, and calculating the compensation amount of the galvanometer in the X direction of the laser equipment accordingly, it is ensured that the laser beam can be accurately aligned with the target position; the laser marking position after the initial application of the compensation amount will be monitored in real time and data recorded. Once a deviation is found, the compensation amount will be immediately corrected and applied to the moving trajectory of the galvanometer again until the deviation of the marking position is controlled within the preset acceptance range; in addition, the process also has a complete troubleshooting mechanism. If there is still a deviation after correcting the compensation amount, the encoder will be detected whether it is abnormal, and corresponding corrective measures will be taken according to the detection results to ensure that the processing accuracy and product quality are not affected; finally, it can accurately determine whether the processing content of the current production line is completed, and automatically stop the processing of the current production line when the processing is completed, thereby achieving high efficiency and accuracy of production; in summary, the above processes together constitute an efficient and precise laser equipment control process, which provides a strong guarantee for improving the performance of the production line and product quality.
[0090] In one embodiment, the key parameters in step S2 include the number of pulses per revolution of the encoder and the diameter of the auxiliary wheel connected to the encoder.
[0091] Specifically, the number of pulses per revolution of the encoder determines the resolution of the encoder. The higher the number of pulses, the denser the pulse signal output by the encoder during rotation, which can more accurately reflect the change in displacement. This is crucial for laser equipment because the precise positioning and control of the laser beam is the key to achieving high-precision processing. The diameter of the auxiliary wheel connected to the encoder affects the measurement accuracy of the encoder. Based on the number of pulses and the diameter each time, the distance moved by a pulse can be calculated, and then the displacement can be calculated based on the number of pulses received from the encoder. The encoder plays an important role in ensuring position accuracy and real-time monitoring of movement speed during laser processing.
[0092] In one embodiment, in step S6, when calculating the compensation amount of the galvanometer in the laser device in the X direction according to the moving distance in the X direction, the deviation E between the moving distance in the X direction and the expected moving distance is calculated, and the compensation amount P is calculated according to the preset deviation compensation coefficient k, wherein P=E×k; the compensation amount P refers to the deviation between the actual position and the expected position of the laser beam in the X direction (usually the horizontal direction) in order to correct the deviation, and the preset deviation compensation coefficient is a preset amount, and a matching compensation coefficient can be selected according to the actual deviation value.
[0093] Specifically, this embodiment determines the compensation amount P of the galvanometer in the laser device in the X direction by calculating the deviation E between the actual moving distance and the expected moving distance in the X direction, and combines the preset deviation compensation coefficient k, and the position adjustment amount of the galvanometer (i.e., the guide device of the laser beam) that needs to be made; this calculation method can dynamically adjust the compensation amount according to the actual situation to ensure that the laser beam can be more accurately aligned with the target position; its beneficial effect is that through real-time feedback and compensation mechanism, the positioning deviation caused by encoder switching, mechanical transmission error, thermal expansion and other factors is effectively eliminated, thereby significantly improving the processing accuracy and stability of the laser equipment and ensuring product quality.
[0094] In one embodiment, in step S7, when the compensation amount is applied to the moving trajectory of the galvanometer, the compensation amount is used to compensate for the initial position point of the galvanometer to obtain the compensated position point of the galvanometer, and the moving trajectory of the galvanometer in the control software is updated according to the compensated position point of the galvanometer, so that the control software controls the movement of the galvanometer according to the moving trajectory.
[0095] Specifically, in laser equipment, the initial position of the galvanometer can be pre-set or the position after the last marking task is completed. The position is the position when it is not driven by an external signal or is in a static state, so that the control system can accurately know the starting position of the galvanometer, thereby accurately controlling the direction and position of the laser beam.
[0096] Specifically, this embodiment obtains a more accurate galvanometer position by applying the calculated compensation amount to the initial position point of the galvanometer, and updates the movement trajectory in the control software in real time, so that the laser equipment can accurately control the movement of the galvanometer according to the corrected trajectory, thereby significantly improving the processing accuracy and efficiency.
[0097] In one embodiment, in step S9, when determining whether there is a deviation between the monitored marking position and the expected marking position, a difference Q between the monitored marking position and the expected marking position is calculated, and the difference Q is compared with a first preset difference Q0 to determine whether the deviation between the monitored marking position and the expected marking position is within a normal deviation range, wherein:
[0098] If 0≤Q≤Q0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range;
[0099] If -Q0≤Q<0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range;
[0100] If Q>Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal;
[0101] If Q<-Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal.
[0102] This embodiment calculates the difference Q between the monitored marking position and the expected marking position, and compares it accurately with the first preset difference Q0, so as to accurately and timely determine whether there is a deviation in the marking position, and promptly discover and deal with possible problems, thereby avoiding batch processing errors and reducing losses.
[0103] Further, in the step S10, when the compensation amount with deviation is corrected, if it is determined that the deviation between the monitored marking position and the expected marking position is abnormal, the difference Q is compared with the second preset difference Q1, and the corresponding compensation amount is corrected according to the abnormal situation, wherein 0≤Q0<Q1, wherein:
[0104] If Q0<Q≤Q1, the deviation is judged to be abnormal within the abnormal range, and the correction coefficient v1 is set, and 0.1≤v1≤0.2 is set, and the corrected compensation amount P1=PQ×v1;
[0105] If Q>Q1, it is determined that the deviation is abnormal beyond the abnormal range, and the correction coefficient v2 is set, and 0.2<v2≤0.5 is set, and the corrected compensation amount P1=PQ×v2;
[0106] If -Q1≤Q<-Q0, the deviation is judged to be within the abnormal range, and the correction coefficient v1 is set, and 0.1≤v1≤0.2 is set. The corrected compensation amount P1=PQ×v1;
[0107] If Q<-Q1, it is determined that the deviation is abnormal beyond the abnormal range, and the correction coefficient v2 is set, and 0.2<v2≤0.5 is set. The corrected compensation amount P1=PQ×v2.
[0108] The above process is described below with an example, assuming that: the expected moving distance is 3, the compensation coefficient k=1, the first preset difference Q0=1, the second preset difference Q1=2, the correction coefficient v1=0.1, and the correction coefficient v2=0.5.
[0109] When k=1, the compensation amount P=E=X-direction moving distance-expected moving distance; the difference Q=calculated and monitored marking position-expected marking position, therefore, the compensation amount P=difference Q;
[0110] The first group: If the moving distance in the X direction is 3.5, the deviation E=3.5-3=0.5, and the compensation amount P=0.5, then the difference Q=3.5-3=0.5;
[0111] Since 0≤Q≤Q0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range.
[0112] The second group: If the moving distance in the X direction is 4.09, the deviation E=4.09-3=1.09, and the compensation amount P=1.09, then the difference Q=4.09-3=1.09;
[0113] Since Q>Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal.
[0114] When determining that the deviation is abnormal, the difference Q is compared with the second preset difference Q1, where Q0<Q≤Q1. If the deviation is abnormal and it is determined to be within the abnormal range, the correction coefficient v1 is used for correction. The corrected compensation amount P1=1.09-1.09×0.1=0.981.
[0115] The third group: The moving distance in the X direction is 2.5, the deviation E=2.5-3=-0.5, the compensation amount P=-0.5, then the difference Q=2.5-3=-0.5;
[0116] Since -Q0<Q<0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range.
[0117] The fourth group: X-direction moving distance is 1.91, deviation E=1.91-3=-1.09, compensation amount P=-1.09, then the difference Q=1.91-3=-1.09;
[0118] Since Q<-Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal.
[0119] When determining that the deviation is abnormal, the difference Q is compared with the second preset difference Q1, where -Q1≤Q<-Q0. If the deviation is abnormal within the abnormal range, the correction coefficient v1 is used for correction. The corrected compensation amount P1=-1.09-(-1.09)×0.1=-0.981.
[0120] Specifically, this embodiment sets different correction coefficients in segments according to the deviation between the monitored marking position and the expected marking position, and makes fine corrections to the compensation amount with deviation. This segmented correction strategy can ensure that when the deviation is abnormal, the compensation amount can be adjusted in time and accurately, so as to quickly correct the marking position, further improve the processing accuracy and stability of laser marking, and effectively deal with deviations of different degrees. Different correction coefficients (v1 and v2) are set for different degrees of deviation, which can optimize the correction effect. Smaller correction coefficients are suitable for fine-tuning, which can avoid new deviations caused by over-correction; larger correction coefficients can quickly correct larger deviations. This differentiated correction strategy helps to achieve a more ideal correction effect.
[0121] In one embodiment, in step S13, when determining whether there is still a deviation between the corrected monitored marking position and the expected marking position, the difference Q' between the corrected monitored marking position and the expected marking position is calculated, and the difference Q' is compared with the first preset difference Q0 to determine whether the deviation between the monitored marking position and the expected marking position is within a normal deviation range, wherein:
[0122] If 0≤Q'≤Q0, it is determined that the deviation between the corrected monitored marking position and the expected marking position is within the normal deviation range;
[0123] If -Q0≤Q'<0, it is determined that the deviation between the corrected monitored marking position and the expected marking position is within the normal deviation range;
[0124] If Q'>Q0, it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal;
[0125] If Q'<-Q0, it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal.
[0126] According to the examples of the second and fourth groups above, P1=0.981, P1=-0.981, then Q'=0.981, Q'=-0.981, compare the difference Q' with the first preset difference Q0, among which, in the second group, 0<Q'<Q0, it is determined that the deviation between the two groups of monitored marking positions after correction and the expected marking positions is within the normal deviation range; in the fourth group, -Q0≤Q'<0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range.
[0127] Specifically, this embodiment can effectively verify the effect of the correction measures by recalculating the difference Q' between the monitored marking position after correction and the expected marking position, and comparing it with the first preset difference Q0, thereby ensuring that the laser marking position deviation is accurately corrected, thereby improving processing accuracy and product quality, and enhancing the system's ability and reliability to correct deviations.
[0128] Furthermore, in step S13, when detecting whether the encoder is abnormal, if it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal, the encoder is subjected to performance and environmental monitoring, wherein:
[0129] The signal waveform information, accuracy test results, working environment temperature and working environment electromagnetic interference information of the encoder are obtained, and compared with the corresponding standard thresholds respectively, and whether the encoder is abnormal is determined according to the comparison results, wherein:
[0130] If one of the signal waveform information, the accuracy test result, the working environment temperature and the working environment electromagnetic interference information is abnormal, the encoder is determined to be abnormal.
[0131] Specifically, signal waveform information refers to the waveform of the electrical signal output by the encoder, such as pulse waveform, amplitude, frequency, etc. By monitoring the signal waveform, it is possible to determine whether the encoder is working stably, whether the signal transmission is disturbed or attenuated, and thus evaluate the encoder's health status; use equipment such as a rotating table and an angle encoder calibrator to test the encoder's accuracy; the encoder's working performance is greatly affected by temperature; excessively high or low temperatures may cause changes in the performance of the encoder's internal components, thereby affecting its measurement accuracy and stability; therefore, monitoring the working environment temperature is an important part of ensuring the normal operation of the encoder; as an electronic device, the encoder's working performance is easily affected by the surrounding electromagnetic environment; strong electromagnetic interference may cause the encoder signal to be distorted or lost, thereby affecting its measurement accuracy; therefore, monitoring the electromagnetic interference in the working environment is crucial to ensuring the normal operation of the encoder.
[0132] Specifically, this embodiment can more accurately determine whether the encoder is abnormal by comprehensively monitoring the encoder's signal waveform information, accuracy test results, working environment temperature and electromagnetic interference information, thereby avoiding the risk of misjudgment caused by a single indicator judgment; real-time monitoring of the encoder's various performance indicators can promptly discover and deal with problems with the encoder, such as signal distortion, reduced accuracy, etc., thereby avoiding these problems from having adverse effects on the laser marking process.
[0133] Furthermore, in step S13, when determining corrective measures based on the detection results, if the encoder is detected to be abnormal based on the signal waveform information and / or the accuracy test results, the internal components of the encoder are monitored; if the encoder is detected to be abnormal based on the working environment temperature and / or the working environment electromagnetic interference information, the working environment of the encoder is improved.
[0134] Specifically, monitoring the internal components of the encoder may include: if the monitoring mechanical parts (such as grating disks, bearings) are worn or loose, they need to be replaced or tightened accordingly; if the electrical components (such as photoelectric sensors, amplifier circuits) are faulty, they need to be repaired or replaced. Improving the working environment of the encoder may include: if the temperature is too high or too low, taking cooling or heating measures, such as installing air conditioners, fans, heaters, etc., to ensure that the encoder works within a suitable temperature range; for situations with severe electromagnetic interference, shielding measures can be taken, such as using metal covers, filters, shielded wires, etc., to reduce the interference of external electromagnetic fields on the encoder.
[0135] Specifically, this embodiment can significantly improve the stability and accuracy of the encoder by carefully analyzing the causes of encoder abnormalities and taking corresponding corrective measures; timely replacement, tightening or repair of wear, looseness or electrical failure of internal components of the encoder can be carried out, effectively avoiding measurement errors caused by component problems; at the same time, by improving the working environment of the encoder, such as adjusting the temperature and reducing electromagnetic interference, the high precision and long-term stable operation of the encoder are further ensured, thereby greatly improving the overall performance and product quality of the laser marking system, and further improving processing efficiency and effectiveness.
[0136] See also Figure 3 As shown, it is a structural schematic diagram of the equipment processing system based on the multi-speed production line of this embodiment, and the system includes:
[0137] Partitioning module, which is used to edit the processing content of the upper and lower areas in the control software of the laser equipment according to the processing requirements of two production lines with different speeds, and set the corresponding production line for each area;
[0138] An input module, used to input key parameters of encoders respectively connected to the two production lines into parameter setting areas of the first encoder and the second encoder of the control software respectively;
[0139] A setting module, used to set IO signals corresponding to the first encoder and the second encoder in the control software, wherein the IO signals are used to control the laser device to automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line;
[0140] An operation module is used to start the laser device and wait for receiving an IO signal;
[0141] A switching module, used to automatically switch the corresponding encoder and its corresponding processing content according to the IO signal received by the laser device;
[0142] A calculation module, used for obtaining a measurement signal of the switched encoder, calculating a moving distance in the X direction according to the measurement signal, and calculating a compensation amount of the galvanometer in the laser device in the X direction according to the moving distance in the X direction;
[0143] A preliminary processing module, used for applying the compensation amount to the moving track of the galvanometer, and performing preliminary laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0144] A first monitoring module is used to monitor and record data of the laser marking position in real time after the initial application of the compensation amount;
[0145] A first judgment module is used to judge whether there is a deviation between the monitored marking position and the expected marking position;
[0146] A correction module, used to correct the compensation amount with deviation;
[0147] A processing module, used for applying the corrected compensation amount to the moving track of the galvanometer, and performing laser marking processing on the target equipment on the corresponding production line according to the processing content;
[0148] A second monitoring module is used to monitor and record data of the laser marking position after applying the corrected compensation amount in real time;
[0149] The second judgment module is used to judge whether there is still a deviation between the monitored marking position after correction and the expected marking position, and if there is a deviation, detect whether the encoder is abnormal, and determine the correction measures according to the detection result until the deviation is within the preset deviation range;
[0150] The control module is used to detect whether the processing content of the current production line is completed, and stop the processing of the current production line when the processing is completed.
[0151] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A device processing method based on a multi-speed production line, characterized in that: include: Step S1, according to the processing requirements of two production lines with different speeds, respectively edit the processing contents of the upper and lower areas in the control software of the laser equipment, and set the production line corresponding to each area; Step S2, inputting the key parameters of the encoders respectively connected to the two production lines into the parameter setting area of the first encoder and the second encoder of the control software respectively; Step S3, setting IO signals corresponding to the first encoder and the second encoder in the control software, wherein the IO signals are used to control the laser device to automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line; Step S4, starting the laser device and waiting to receive an IO signal; Step S5, automatically switching the corresponding encoder and its corresponding processing content according to the IO signal received by the laser device; Step S6, obtaining a measurement signal of the switched encoder, calculating a moving distance in the X direction according to the measurement signal, and calculating a compensation amount in the X direction of the galvanometer in the laser device according to the moving distance in the X direction; Step S7, applying the compensation amount to the moving trajectory of the galvanometer, and performing preliminary laser marking processing on the target equipment on the corresponding production line according to the processing content; Step S8, real-time monitoring and data recording of the laser marking position after the initial application of the compensation amount; Step S9, determining whether there is a deviation between the monitored marking position and the expected marking position; Step S10, correcting the compensation amount with deviation; Step S11, applying the corrected compensation amount to the moving trajectory of the galvanometer, and performing laser marking processing on the target equipment on the corresponding production line according to the processing content; Step S12, real-time monitoring and data recording of the laser marking position after applying the corrected compensation amount; Step S13, determining whether there is still a deviation between the monitored marking position after correction and the expected marking position, and if there is a deviation, detecting whether the encoder is abnormal, and determining a correction measure according to the detection result until the deviation is within a preset deviation range; Step S14, detecting whether the processing content of the current production line is all completed, and stopping the processing of the current production line when the processing is completed.
2. The equipment processing method based on a multi-speed production line according to claim 1 is characterized in that: The key parameters in step S2 include the number of pulses per revolution of the encoder and the diameter of the auxiliary wheel connected to the encoder.
3. The equipment processing method based on a multi-speed production line according to claim 1 is characterized in that: In step S6, when calculating the compensation amount of the galvanometer in the laser device in the X direction according to the moving distance in the X direction, the deviation E between the moving distance in the X direction and the expected moving distance is calculated, and the compensation amount P is calculated according to the preset deviation compensation coefficient k, where P=E×k.
4. The equipment processing method based on a multi-speed production line according to claim 1 is characterized in that: In step S7, when the compensation amount is applied to the moving trajectory of the galvanometer, the compensation amount is used to compensate for the initial position point of the galvanometer to obtain the compensated position point of the galvanometer, and the moving trajectory of the galvanometer in the control software is updated according to the compensated position point of the galvanometer, so that the control software controls the movement of the galvanometer according to the moving trajectory.
5. The equipment processing method based on a multi-speed production line according to claim 1 is characterized in that: In step S9, when determining whether there is a deviation between the monitored marking position and the expected marking position, the difference Q between the monitored marking position and the expected marking position is calculated, and the difference Q is compared with the first preset difference Q0 to determine whether the deviation between the monitored marking position and the expected marking position is within a normal deviation range, wherein: If 0≤Q≤Q0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range; If -Q0≤Q<0, it is determined that the deviation between the monitored marking position and the expected marking position is within the normal deviation range; If Q>Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal; If Q<-Q0, it is determined that the deviation between the monitored marking position and the expected marking position is abnormal.
6. The equipment processing method based on a multi-speed production line according to claim 5 is characterized in that: In the step S10, when the compensation amount with deviation is corrected, if it is determined that the deviation between the monitored marking position and the expected marking position is abnormal, the difference Q is compared with the second preset difference Q1, and the corresponding compensation amount is corrected according to the abnormal situation, wherein 0≤Q0<Q1, wherein: If Q0<Q≤Q1, the deviation is judged to be abnormal within the abnormal range, and the correction coefficient v1 is set, and 0.1≤v1≤0.2 is set. The corrected compensation amount P1=PQ×v1; If Q>Q1, it is determined that the deviation is abnormal beyond the abnormal range, and the correction coefficient v2 is set, and 0.2<v2≤0.5 is set, and the corrected compensation amount P1=PQ×v2; If -Q1≤Q<-Q0, the deviation is judged to be within the abnormal range, and the correction coefficient v1 is set, and 0.1≤v1≤0.2 is set. The corrected compensation amount P1=PQ×v1; If Q<-Q1, it is determined that the deviation is abnormal beyond the abnormal range, and the correction coefficient v2 is set, and 0.2<v2≤0.5 is set. The corrected compensation amount P1=PQ×v2.
7. The equipment processing method based on a multi-speed production line according to claim 1 is characterized in that: In step S13, when judging whether there is still a deviation between the corrected monitored marking position and the expected marking position, the difference Q' between the corrected monitored marking position and the expected marking position is calculated, and the difference Q' is compared with the first preset difference Q0 to judge whether the deviation between the monitored marking position and the expected marking position is within the normal deviation range, wherein: If 0≤Q'≤Q0, it is determined that the deviation between the corrected monitored marking position and the expected marking position is within the normal deviation range; If -Q0≤Q'<0, it is determined that the deviation between the corrected monitored marking position and the expected marking position is within the normal deviation range; If Q'>Q0, it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal; If Q'<-Q0, it is determined that the deviation between the monitored marking position after correction and the expected marking position is abnormal.
8. The equipment processing method based on a multi-speed production line according to claim 7 is characterized in that: In step S13, when detecting whether the encoder is abnormal, if it is determined that the deviation between the corrected monitored marking position and the expected marking position is abnormal, the encoder is subjected to performance and environmental monitoring, wherein: The signal waveform information, accuracy test results, working environment temperature and working environment electromagnetic interference information of the encoder are obtained, and compared with the corresponding standard thresholds respectively, and whether the encoder is abnormal is determined according to the comparison results, wherein: If one of the signal waveform information, the accuracy test result, the working environment temperature and the working environment electromagnetic interference information is abnormal, the encoder is determined to be abnormal.
9. The equipment processing method based on a multi-speed production line according to claim 8, characterized in that: In step S13, when determining corrective measures based on the detection results, if the encoder is detected to be abnormal based on the signal waveform information and / or the accuracy test results, the internal components of the encoder are monitored; if the encoder is detected to be abnormal based on the working environment temperature and / or the working environment electromagnetic interference information, the working environment of the encoder is improved.
10. A system applied to the equipment processing method based on a multi-speed production line as claimed in any one of claims 1 to 9, characterized in that: include: Partitioning module, which is used to edit the processing content of the upper and lower areas in the control software of the laser equipment according to the processing requirements of two production lines with different speeds, and set the corresponding production line for each area; An input module, used to input key parameters of encoders respectively connected to the two production lines into parameter setting areas of the first encoder and the second encoder of the control software respectively; A setting module, used to set IO signals corresponding to the first encoder and the second encoder in the control software, wherein the IO signals are used to control the laser device to automatically switch to the corresponding encoder and its processing content according to the actual operation status of the production line; An operation module is used to start the laser device and wait for receiving an IO signal; A switching module, used to automatically switch the corresponding encoder and its corresponding processing content according to the IO signal received by the laser device; A calculation module, used for obtaining a measurement signal of the switched encoder, calculating a moving distance in the X direction according to the measurement signal, and calculating a compensation amount of the galvanometer in the laser device in the X direction according to the moving distance in the X direction; A preliminary processing module, used for applying the compensation amount to the moving track of the galvanometer, and performing preliminary laser marking processing on the target equipment on the corresponding production line according to the processing content; A first monitoring module is used to monitor and record data of the laser marking position in real time after the initial application of the compensation amount; A first judgment module is used to judge whether there is a deviation between the monitored marking position and the expected marking position; A correction module, used to correct the compensation amount with deviation; A processing module, used for applying the corrected compensation amount to the moving track of the galvanometer, and performing laser marking processing on the target equipment on the corresponding production line according to the processing content; A second monitoring module is used to monitor and record data of the laser marking position after applying the corrected compensation amount in real time; The second judgment module is used to judge whether there is still a deviation between the monitored marking position after correction and the expected marking position, and if there is a deviation, detect whether the encoder is abnormal, and determine the correction measures according to the detection result until the deviation is within the preset deviation range; The control module is used to detect whether the processing content of the current production line is completed, and stop the processing of the current production line when the processing is completed.
Citation Information
Patent Citations
A fully automatic door sheet metal parts flipping, weighing, and marking equipment
CN111299844B
Two-dimensional code making method based on laser marking
CN111185676A
Training method of geometric error compensation model and geometric error compensation method
CN113102882A