A method, device and storage medium for detecting machine stepping transmission structure error
By installing magnetic grids on the inkjet printing platform and setting motor segmentation parameters, and combining software to capture data for analysis, the problem of difficult to accurately detect step errors in printing media in the prior art is solved, and the stepping transmission structure is realized Error detection and optimization improve the consistency and accuracy of print quality.
Patent Information
- Application Number
- CN202311781668.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2043-12-22
AI Technical Summary
Existing inkjet printing technology is difficult to accurately detect step errors of printing media, and it is impossible to determine the optimal motor segmentation parameters and paper removal speed, which affects the consistency and accuracy of printing quality.
By installing magnetic grids on the printing platform and setting motor segmentation parameters, combining software to capture data, establishing coordinate system feedback trends, statistically calculating the standard deviation and variance of step changes, switching different motor segmentation parameters and paper-moving speeds, Perform data grabbing and analysis to find the best combination to optimize the performance of the stepper transmission structure.
It realizes effective detection and optimization of machine stepping transmission structure errors, improves the accuracy and stability of the printing system, and ensures the consistency and accuracy of printing quality.
Smart Images

Figure CN117719263B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of inkjet printing, and in particular to a method, a device and a storage medium for detecting a stepping transmission structure error of a machine. Background Art
[0002] Inkjet printing technology refers to the technology of forming images or texts by ejecting ink droplets onto the printing medium. For example, the invention patent with patent publication number CN105799343A discloses an inkjet printing device and a printing medium step error detection method, which provides a method for detecting whether the printing medium is consistent. The first pass prints the reference line, and then the number of points corresponding to the number of passes of the corresponding nozzle is printed. The second pass prints the calibration line. After printing multiple times, check whether the spacing between adjacent calibration patterns is consistent to determine whether the printing medium is consistent.
[0003] We can only observe the changes in the spacing between adjacent calibration patterns on the surface, but we cannot know the specific rules and trends of the changes. We also cannot know which subdivision parameter and which paper feed speed will have better effects if we switch to different motor subdivisions and asynchronous paper feed speeds. We cannot provide specific evidence to the factory to allow them to determine the factory configuration parameters. Summary of the invention
[0004] The purpose of the present invention is to provide a method, device and storage medium for detecting the error of the stepping transmission structure of a machine. By adding magnetic grating feedback on a flat device and combining the data captured by the software, the stepping change of the printing medium under different parameter configurations and the state of the printing medium can be compared. Figure 4 As shown, Table 1 shows the data analysis of 100 paper feedings with different motor subdivisions. The table concludes that: under the condition of ensuring that the moving speed and moving distance of the paper feeding platform are the same, the paper feeding with large subdivisions is updated accurately; Table 2 shows the data analysis of 100 paper feedings with different paper feeding speeds. The table concludes that: under the same motor subdivision conditions, different speeds have no effect on the total paper feeding distance, but the discrete degree of low speed is lower and the paper feeding is better.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] The present application provides a method for detecting a stepping transmission structure error of a machine, comprising the following steps:
[0007] S1: Install the magnetic grid on the printing platform, set the subdivision parameters of the motor, and open the motor matching software;
[0008] S2: Confirm the number of printing passes to be tested, and print the corresponding calibration pattern until the maximum number of printing passes set is reached;
[0009] S3: Obtain the feedback data of the magnetic grating and the step pitch of adjacent passes from the software according to the corresponding precision requirements.
[0010] S4: Establish a coordinate system feedback trend, with the number of passes as the ordinate, the actual position and step pitch of each pass as the abscissa, and statistically calculate the standard deviation and variance of the actual walking distance.
[0011] S5: Switch different motor subdivision parameters, grab data through different paper feeding speeds, analyze and judge, compare the results under different parameter configurations, and find the best combination to optimize the performance of the stepping drive structure.
[0012] Preferably, according to steps S1 - S5, first install the mechanism, install the magnetic grating on the printing platform, then switch the subdivision parameters, speed and step amount. The nozzle prints the reference pattern for the first time and feeds the paper according to the specified step amount. The nozzle prints the calibration pattern for the second time and the (i + 1)-th time. When i < N, if i < N, then go back to the nozzle printing the reference pattern for the first time. When i >= N, establish a coordinate system and calculate the standard deviation and variance, where N represents the set number of printing times. Then judge again whether the data collection is completed. If the data is not collected completely, return to switch the subdivision parameters, speed and step amount. When the data collection is completed, make a comparison and then draw a conclusion.
[0013] Preferably, install the magnetic grating on the printing platform according to step S1. The magnetic grating read head is close to but does not touch the magnetic grating strip, and the distance between them is within 2 mm. At the same time, it is required that the installation direction of the magnetic grating is perpendicular to the machine crossbeam guide rail, and the installation surface of the magnetic grating is parallel to the printing table. Then set the subdivision parameters of the motor, configure the subdivision settings of the motor according to the required precision and step amount, and open the software matched with the motor for communication and control with the motor.
[0014] Preferably, according to step S2, confirm the number of printing passes to be tested, denoted as totalPass, then confirm the number of paper feeding holes on the printing platform, denoted as stepDots, convert the number of paper feeding holes into the corresponding number of pulses, and set the number of pulses corresponding to each paper feeding hole as pulsesPerDot. Then the converted number of pulses is steps = stepDots * pulsesPerDot. For the 1st pass, the nozzle's 1st nozzle hole prints the reference line. For each subsequent pass, the position of the nozzle hole is determined according to the step amount and the nozzle hole number. The printing platform feeds the paper forward by steps. The position range of the nozzle holes for the 2nd pass is from ((1 + stepDots) - 3) to ((1 + stepDots) + 3), and the corresponding calibration line is printed. The subsequent passes are repeated like this until the set maximum number of printings is reached.
[0015] Preferably, step S3 specifically includes calculating the actual number of paper feeding holes according to the number of paper feeding holes stepDots and the overlap position subscript value value, and the formula for the actual number of paper feeding holes is expressed as stepDots+value.
[0016] Preferably, step S4 specifically includes establishing a coordinate system with the pass number as the ordinate and the actual walking distance and the actual walking distance captured by the software as the abscissa, and fitting two curves for analysis;
[0017] According to the data of the actual walking distance and the number of pulses obtained in step S3, and the actual walking distance data captured by the software, they are represented as variables passDist, pulseCount and softwareDist respectively;
[0018] Calculate the average of the actual walking distance of each pass, recorded as meanPassDist, and calculate the average of the actual walking distance captured by the software, recorded as meanSoftwareDist;
[0019] For each pass, calculate the difference between the actual walking distance and the average value, recorded as passDiff = passDist - meanPassDist, and then calculate the difference between the actual walking distance captured by the software and the average value, recorded as softwareDiff = softwareDist - meanSoftwareDist;
[0020] Calculate the variance of passDiff, recorded as varPassDist=sum(passDiff 2 ) / (pass number - 1), calculate the variance of softwareDiff, recorded as varSoftwareDist = sum(softwareDiff 2 ) / (number of passes-1);
[0021] Calculate the standard deviation of passDiff, that is, the standard deviation of the actual walking distance, recorded as stdPassDist=sqrt(varPassDist), and calculate the standard deviation of softwareDiff, that is, the standard deviation of the actual walking distance captured by the software, recorded as stdSoftwareDist=sqrt(varSoftwareDist).
[0022] Preferably, according to step S5, different motor subdivision parameters are switched, different motor subdivision parameters are set according to system requirements and error analysis results, and the motor subdivision parameters are increased from the default setting to a higher value by increasing the number of subdivisions;
[0023] Change the paper feed speed of the printing platform, that is, the time or distance of each pass, increase or decrease the paper feed speed, gradually adjust the paper feed speed, and record the stepper transmission structure error at each speed;
[0024] After switching different motor subdivision parameters and paper feed speeds, re-capture the data, analyze and evaluate them, use the same method to obtain the magnetic grid feedback data and step spacing information, and compare the results under different parameter configurations based on statistical analysis and the establishment of a coordinate system;
[0025] Compare the results under different parameter configurations, observe the changing trends and rules of the stepper transmission structure error, and find the best combination, that is, the optimal configuration of motor subdivision parameters and paper feeding speed.
[0026] Preferably, error detection and correction are performed according to the setting of the installation magnetic grid and the motor subdivision parameters.
[0027] According to the error type and target to be detected, formulate a test plan, including determining the number of test passes, stepping amount and other parameters; then print on the printing platform according to the test plan, and ensure that each pass moves according to the set stepping amount to observe and measure the error;
[0028] Use the magnetic grating reader to obtain the actual position of each pass and the step spacing between adjacent passes, and record them for subsequent analysis. According to the acquired data, establish the coordinate system feedback trend, use statistical methods to analyze the data, evaluate the error of the stepping transmission structure, compare the position difference and step spacing between different passes, and find out the error source in the system;
[0029] According to the analysis results, measures are taken to correct the error of the stepper transmission structure. The correction methods include adjusting the motor subdivision parameters, optimizing the motor drive algorithm, and calibrating the mechanical structure of the printing platform. Through continuous adjustment and optimization, the error is gradually reduced and the accuracy and reliability of the transmission structure are improved.
[0030] After error correction, re-test and data analysis are performed to verify the correction effect. If errors still exist, further adjust parameters or take other measures to correct them. Finally, the correction results and data are fed back to the factory or technicians.
[0031] A device for detecting errors in a machine stepping transmission structure comprises at least one processor, at least one memory and computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the method described is implemented.
[0032] A storage medium stores computer program instructions, which implement the above-mentioned method when the computer program instructions are executed by a processor.
[0033] The beneficial effects of the present invention are:
[0034] By installing the magnetic grid, setting the motor subdivision parameters and performing error detection and correction, the accuracy of the stepping transmission structure can be effectively improved. By obtaining the feedback data of the magnetic grid and the step spacing of adjacent passes, more accurate stepping transmission structure error information can be obtained, and statistical analysis and parameter adjustment can be performed on it, which can optimize the performance and accuracy of the printing system and improve the consistency and accuracy of printing quality.
[0035] (2) By switching different motor subdivision parameters and paper feed speeds, and performing data capture, analysis, and comparison, the best combination can be found to optimize the performance of the stepper transmission structure. By observing the changing trend and law of the stepper transmission structure error, the optimal configuration of the motor subdivision parameters and paper feed speed can be determined, which can improve the accuracy and stability of the printing system.
[0036] (3) By establishing the feedback trend of the coordinate system and calculating statistical indicators such as standard deviation and variance, the error of the stepper transmission structure is analyzed. According to the analysis results, appropriate measures are taken to correct it, and re-testing and data analysis are carried out to verify the correction effect. By feeding back the correction results and related data to the factory or technical personnel, it can guide the improvement and optimization of the production and manufacturing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] For better understanding and implementation, the technical solution of the present application is described in detail below with reference to the accompanying drawings.
[0038] Figure 1 A flow chart of a method for detecting a stepping transmission structure error of a machine provided in Example 1 of the present application;
[0039] Figure 2 A flow chart of determining the number of print times according to the stepping amount of paper feeding in a method for detecting the error of a machine stepping transmission structure provided in Example 1 of the present application;
[0040] Figure 3 A schematic diagram of a reference-calibration line for a method for detecting a machine stepping transmission structure error provided in Example 1 of the present application;
[0041] Figure 4 A schematic diagram of step changes of different parameter configurations of a method for detecting machine step transmission structure errors provided in Example 1 of the present application. DETAILED DESCRIPTION
[0042] In order to further explain the technical means and effects taken by the present invention to achieve the predetermined invention purpose, exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of methods and systems consistent with some aspects of the present application as detailed in the attached claims.
[0043] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0044] The specific implementation methods, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments. Example
[0045] See also Figure 1-Figure 4 In this embodiment, a method, device and storage medium for detecting the error of the stepping transmission structure of a machine are provided. By adding magnetic grating feedback to a tablet device and combining the data captured by the software, the stepping change of the printing medium under different parameter configurations and the state of the printing medium can be compared. Figure 4 As shown, Table 1 shows the data analysis of 100 paper feedings with different motor subdivisions. The table concludes that: under the condition of ensuring that the moving speed and moving distance of the paper feeding platform are the same, the paper feeding with large subdivisions is updated accurately; Table 2 shows the data analysis of 100 paper feedings with different paper feeding speeds. The table concludes that: under the same motor subdivision conditions, different speeds have no effect on the total paper feeding distance, but the discrete degree of low speed is lower and the paper feeding is better.
[0046] The present invention provides a method for detecting a machine stepping transmission structure error, comprising the following steps:
[0047] S1: Install the magnetic grid on the printing platform, set the subdivision parameters of the motor, and open the motor matching software;
[0048] S2: Confirm the number of printing passes that need to be tested, and print the corresponding calibration pattern until the maximum number of printing passes set is reached;
[0049] S3: According to the corresponding accuracy requirements, obtain the feedback data of the magnetic grid and the stepping distance of adjacent passes from the software.
[0050] S4: Establish the coordinate system feedback trend, with the number of passes as the vertical axis, the actual position and the step pitch of each pass as the horizontal axis, and statistically calculate the standard deviation and variance of the actual walking distance.
[0051] S5: Switch different motor subdivision parameters, capture data through different paper feeding speeds, analyze and judge, compare the results under different parameter configurations, and find the best combination to optimize the performance of the stepper drive structure.
[0052] For example, install a magnetic scale on the printing platform, set the motor subdivision parameter to 1 / 8 step, that is, each step is subdivided into 8 equal parts, open the software matching the motor, confirm that the number of printing passes to be tested is 10, print the corresponding calibration pattern until the maximum number of printing passes 10 is reached, obtain the feedback data of the magnetic scale from the software. For example, the position of the first pass is 100 mm, the position of the second pass is 198 mm, calculate the step pitch between adjacent passes as 98 mm, establish the coordinate system feedback trend, with the number of passes as the vertical axis, the actual position and the step pitch of each pass as the horizontal axis, and statistically calculate the standard deviation and variance of the actual walking distance. For example, calculate the standard deviation of the step pitch of 10 passes as 2 mm and the variance as 4 mm; then switch different motor subdivision parameters, such as changing to 1 / 16 step, capture data through different paper feeding speeds, and analyze and judge, compare the results under different parameter configurations. For example, under the 1 / 8 step subdivision parameter, the standard deviation of the step pitch is 2 mm, and under the 1 / 16 step subdivision parameter, the standard deviation of the step pitch is 1 mm.
[0053] According to the comparison results, find the best combination to optimize the performance of the stepper drive structure.
[0054] Used to detect and analyze the errors of the machine's stepper drive structure. By installing a magnetic scale, obtaining the feedback data of the magnetic scale, and performing statistical analysis and parameter adjustment, more accurate error information of the stepper drive structure can be obtained, and it helps to optimize the performance and accuracy of the printing system.
[0055] In this embodiment, the number of printing times is judged according to steps S1 - S5 for the step amount of paper feeding, as Figure 2 shown, first install the mechanism, install a magnetic scale on the printing platform, then switch the subdivision parameter, speed and step amount, the nozzle prints the reference pattern for the first time, and feeds the paper according to the specified step amount, the nozzle prints the calibration pattern for the second time, the calibration pattern is printed for the (i + 1)-th time. When i < N, then go back to the nozzle printing the reference pattern for the first time. When i >= N, establish the coordinate system and calculate the standard deviation and variance, where N represents the set number of printing times, and judge again whether the data collection is completed. If the data is not collected completely, then return to switch the subdivision parameter, speed and step amount. When the data collection is completed, make a comparison and then draw a conclusion.
[0056] In this embodiment, a magnetic grating is installed on the printing platform described in step S1, and the magnetic grating reader is as close as possible to but not in contact with the magnetic grating strip, with a distance of 2 mm between the two to obtain a more accurate feedback signal. At the same time, the magnetic grating installation direction is required to be perpendicular to the machine beam guide rail to ensure the accuracy of the measurement, and the magnetic grating installation surface is parallel to the printing table to maintain a stable measurement environment. Then, the subdivision parameters of the motor are set, and the subdivision settings of the motor are configured according to the required accuracy and step size to improve the accuracy and control performance of the motor. The motor matching software is opened, and the software is used to communicate and control the motor. Through the software, the motion parameters of the motor can be monitored and adjusted in real time.
[0057] Assume that the distance between the magnetic grating reader and the magnetic grating strip is 1 mm, so that a more accurate feedback signal can be obtained. Next, set the subdivision parameters of the motor. Assume that the required accuracy is 0.1 mm and the step size is 0.01 mm. According to these requirements, the subdivision setting of the motor can be configured to 10 microsteps, which can improve the accuracy and control performance of the motor.
[0058] Then, open the software that matches the motor, such as an XYZ controller, which is used to communicate and control the motor. Through the software, the motion parameters of the motor can be monitored and adjusted in real time.
[0059] The process of installing the magnetic grid and configuring the motor subdivision parameters involves the calculation and evaluation of values such as distance, accuracy, and step size. For example, the distance between the magnetic grid reader and the magnetic grid strip is 1 mm, the motor subdivision is set to 10 microsteps, the accuracy requirement is 0.1 mm, and the step size is 0.01 mm.
[0060] In this embodiment, according to the confirmation of the number of printing passes to be tested in step S2, which is recorded as totalPass, the number of paper feed holes of the printing platform is confirmed, which is recorded as stepDots, and the number of paper feed holes is converted into the corresponding number of pulses to match the control parameters of the motor. The number of pulses corresponding to each paper feed hole is set as pulsesPerDot, and the converted number of pulses is steps=stepDots*pulsesPerDot; Figure 3 As shown, the first pass uses the first nozzle of the nozzle to print the reference horizontal line. In each subsequent pass, the position of the nozzle is determined according to the step amount and the nozzle number. The printing platform moves the paper forward steps. The nozzle position range of the second pass is from ((1+stepDots)-3) to ((1+stepDots)+3), and the nozzle prints the corresponding calibration line. The subsequent passes are repeated until the maximum number of prints set is reached.
[0061] According to the confirmation described in step S2, the number of printing passes that need to be tested corresponds to that required. Assuming that the number of printing passes that need to be tested is 10, the number of paper feed holes of the printing platform is confirmed. Assuming that the printing platform feeds paper through 2 holes per pass (stepDots=2), the number of paper feed holes is converted into the corresponding number of pulses. Assuming that the number of pulses corresponding to each paper feed hole is 5 (pulsesPerDot=5), the converted number of pulses is steps=stepDots*pulsesPerDot=2*5=10.
[0062] according to Figure 3 In the printing method shown, the first pass uses the first nozzle of the nozzle to print the reference horizontal line. In each subsequent pass, the position of the nozzle is determined according to the step amount and the nozzle number. Assuming that the step amount of each pass is 2 holes, the nozzle position range of the second pass is from ((1+2)-3) to ((1+2)+3), that is, the nozzle position range is 0 to 6.
[0063] Assume that the number of printing passes to be tested is 10, the printing platform feeds 2 holes in each pass (stepDots=2), the number of pulses corresponding to each feeding hole is 5 (pulsesPerDot=5), and the stepping amount of each pass is 2 holes;
[0064] Based on the above assumptions, the number of pulses required for the printing platform to feed the paper is calculated as: steps = stepDots * pulsesPerDot = 2 * 5 = 10. The nozzle position range of each pass is determined to be 0 to 6, and printing is performed until the 10th pass is printed.
[0065] The nozzle position of each pass can be determined, and the paper can be fed according to the set step amount. This can ensure that the movement of the printing platform meets the expected requirements and provide accurate data for subsequent error detection and analysis.
[0066] In this embodiment, according to step S3, the feedback data of the magnetic grid is obtained from the software. The actual paper feeding distance of the software after each paper feeding is dist1~distN by grabbing the magnetic grid, the unit is um, and it is accurate to one decimal place. Check the overlapping position of each pass baseline and calibration line, confirm the subscript value value, accurate to one decimal place, and calculate the actual number of paper feeding holes according to the number of paper feeding holes stepDots and the subscript value value of the overlapping position. The formula for the actual number of paper feeding holes is stepDots+value.
[0067] According to the paper feeding distance captured by the software and the overlapping position of the baseline and the calibration line, the actual number of paper feeding holes is calculated. In this way, more accurate actual stepping data of the stepping transmission structure can be obtained.
[0068] Assume that the paper travel distance captured by the software is dist1=24um, dist2=17um, dist3=29um, and the stepping amount stepDots is 10, and the overlapping position subscript value is 2.
[0069] First, according to the number of paper feed holes stepDots and the overlapping position subscript value value, calculate the actual number of paper feed holes: actual number of paper feed holes = stepDots + value = 10 + 2 = 12. Next, the total paper feed distance can be calculated according to the actual number of paper feed holes and the distance of each paper feed: total paper feed distance = dist1 + dist2 + dist3 = 24um + 17um + 29um = 69um. Therefore, in this example, the actual number of paper feed holes is 12, and the total paper feed distance is 69um.
[0070] In this embodiment, the standard deviation and variance of the actual walking distance are calculated according to the statistics described in step S4, the number of passes is used as the ordinate, and the actual position and step spacing of each pass are used as the abscissa, a coordinate system is established, and two curves are fitted for analysis;
[0071] According to the data of the actual walking distance and the number of pulses obtained in step S3, and the actual walking distance data captured by the software, they are represented as variables passDist, pulseCount and softwareDist respectively;
[0072] Calculate the average of the actual walking distance of each pass, recorded as meanPassDist, and calculate the average of the actual walking distance captured by the software, recorded as meanSoftwareDist;
[0073] For each pass, calculate the difference between the actual walking distance and the average value, recorded as passDiff = passDist - meanPassDist, and then calculate the difference between the actual walking distance captured by the software and the average value, recorded as softwareDiff = softwareDist - meanSoftwareDist;
[0074] Calculate the variance of passDiff, recorded as varPassDist=sum(passDiff 2 ) / (pass number - 1), calculate the variance of softwareDiff, recorded as varSoftwareDist = sum(softwareDiff 2 ) / (number of passes-1);
[0075] Calculate the standard deviation of passDiff, that is, the standard deviation of the actual walking distance, recorded as stdPassDist=sqrt(varPassDist), and calculate the standard deviation of softwareDiff, that is, the standard deviation of the actual walking distance captured by the software, recorded as stdSoftwareDist=sqrt(varSoftwareDist).
[0076] For example, suppose you have the following data:
[0077] passDist=[100,150,200,250,300]; pulseCount=[500,700,900,1100,1300]; softwareDist=[105,155,205,255,305];
[0078] First, calculate the average value of the actual walking distance: meanPassDist=(100+150+200+250+300) / 5=200 Then, calculate the average value of the actual walking distance captured by the software: meanSoftwareDist=(105+155+205+255+305) / 5=205;
[0079] Next, calculate the difference between the actual walking distance and the average value and the difference between the actual walking distance captured by the software and the average value:
[0080] passDiff=[100-200,150-200,200-200,250-200,300-200]=[-100,-50,0,50,100];
[0081] softwareDiff=[105-205,155-205,205-205,255-205,305-205]=[-100,-50,0,50,100] Then, calculate the variance of the actual walking distance: varPassDist=sum((-100) 2 ,(-50) 2 ,0 2 ,50 2 ,100 2 ) / (5-1)=3500 / 4=875 Then calculate the variance of the actual walking distance captured by the software: varSoftwareDist=sum((-100) 2 ,(-50) 2 ,0 2 ,50 2 ,100 2 ) / (5-1)=3500 / 4=875;
[0082] Finally, calculate the standard deviation of the actual walking distance and the standard deviation of the actual walking distance captured by the software: stdPassDist=sqrt(875)≈258stdSoftwareDist=sqrt(875≈258;
[0083] Example calculations for actual distance walked and actual distance walked captured by the software to evaluate and analyze the statistical characteristics of the data.
[0084] The standard deviation and variance of the actual walking distance and the actual walking distance captured by the software can be obtained. These statistical indicators can be used to evaluate the error of the stepping transmission structure and conduct analysis. A coordinate system with the pass number as the vertical coordinate and the actual walking distance and the actual walking distance captured by the software as the horizontal coordinate is established. Two curves can be fitted to further analyze the trend and law of the error.
[0085] In this embodiment, according to step S5, different motor subdivision parameters are switched and different motor subdivision parameters are set: different motor subdivision parameters are set according to system requirements and error analysis results. By increasing the number of subdivisions, the resolution and control accuracy of the motor can be improved. For example, the motor subdivision parameter is increased from the default setting to a higher value;
[0086] Change the paper feed speed of the printing platform, that is, the time or distance of each pass. You can try to increase or decrease the paper feed speed to observe the impact on the stepper drive structure error. You can gradually adjust the paper feed speed and record the stepper drive structure error at each speed;
[0087] After switching different motor subdivision parameters and paper feed speeds, re-capture the data, analyze and evaluate them, use the same method to obtain information such as magnetic grid feedback data and step spacing, and compare the results under different parameter configurations based on statistical analysis and the establishment of a coordinate system;
[0088] Compare the results under different parameter configurations, observe the changing trends and rules of the stepper transmission structure errors, find the best combination, that is, the optimal configuration of motor subdivision parameters and paper feed speed, to obtain better stepper transmission structure performance, select the best combination according to actual conditions, and further optimize it.
[0089] By switching different motor subdivision parameters and paper feed speeds, and performing data capture, analysis and comparison, the best combination can be found to optimize the performance of the stepper drive structure. This can improve the accuracy and stability of the printing system and reduce the impact of stepper drive structure errors on printing quality.
[0090] In this embodiment, error detection and correction are performed according to the installation of magnetic grid and the setting of motor subdivision parameters.
[0091] According to the error type and target to be detected, formulate a corresponding test plan, including determining the number of test passes, stepping amount and other related parameters; then print on the printing platform according to the test plan, and ensure that each pass moves according to the set stepping amount. These calibration patterns can be specific lines, grids or other shapes, which are used to observe and measure the error situation;
[0092] Use the magnetic grating reader to obtain the actual position of each pass and the step spacing between adjacent passes, and record these data for subsequent analysis. According to the acquired data, establish the feedback trend of the coordinate system, and use statistical methods, such as calculating the standard deviation and variance, to analyze the data to evaluate the error of the stepping transmission structure, compare the position difference and step spacing between different passes, and find out the error source in the system;
[0093] According to the analysis results, corresponding measures are taken to correct the error of the stepping transmission structure. The correction methods include adjusting the motor subdivision parameters, optimizing the motor drive algorithm, calibrating the mechanical structure of the printing platform, etc. Through continuous adjustment and optimization, the error is gradually reduced and the accuracy and reliability of the transmission structure are improved.
[0094] After error correction, retest and data analysis are performed to verify the correction effect. If errors still exist, parameters can be further adjusted or other measures can be taken to correct them. Finally, the correction results and related data are fed back to the factory or technicians to guide improvements and optimizations in the production and manufacturing processes.
[0095] The error detection and correction of the stepping transmission structure can be realized, the precision and stability of the printing system can be improved, and the consistency and accuracy of the printing quality can be ensured.
[0096] A device for detecting errors in a machine stepping transmission structure comprises at least one processor, at least one memory and computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the method described is implemented.
[0097] A storage medium stores computer program instructions, which implement the above-mentioned method when the computer program instructions are executed by a processor.
[0098] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A method for detecting a stepping transmission structure error of a machine, characterized in that: The steps include: S1: Install the magnetic grid on the printing platform, set the subdivision parameters of the motor, and open the motor matching software; S2: Confirm the number of printing passes to be tested, and print the corresponding calibration pattern until the maximum number of printing passes set is reached; S3: According to the corresponding accuracy requirements, obtain the feedback data of the magnetic grid and the stepping distance of adjacent passes from the software; S4: Establish a coordinate system feedback trend, with the number of passes as the ordinate and the actual position and step spacing of each pass as the abscissa, and statistically calculate the standard deviation and variance of the actual walking distance; S5: Switch different motor subdivision parameters, capture data through different paper feeding speeds, and analyze and judge, compare the results under different parameter configurations, and find the best combination to optimize the performance of the stepping transmission structure; Step S2 specifically includes: confirming the number of printing passes to be tested, recorded as totalPass, and then confirming the number of paper feed holes of the printing platform, recorded as stepDots, converting the number of paper feed holes into the corresponding number of pulses, setting the number of pulses corresponding to each paper feed hole as pulsesPerDot, and then the converted number of pulses is steps=stepDots*pulsesPerDot. The first pass uses the first nozzle of the nozzle to print the reference line. For each subsequent pass, the position of the nozzle is determined according to the step amount and the nozzle number, wherein the printing platform moves forward by steps, and the nozzle position range of the second pass is from ((1+stepDots)-3) to ((1+stepDots)+3), and the corresponding calibration line is printed. The subsequent passes are repeated in this way until the maximum number of prints set is reached. Step S3 specifically includes obtaining feedback data of the magnetic grid from the software. The software grabs the actual paper feeding distance of the magnetic grid after each paper feeding, which is dist1~distN, in um, accurate to one decimal place; checking the overlapping position of each pass baseline and calibration line, confirming the subscript value value, accurate to one decimal place, and calculating the actual number of paper feeding holes according to the number of paper feeding holes stepDots and the subscript value value of the overlapping position. The formula for the actual number of paper feeding holes is stepDots+value; Step S4 specifically includes establishing a coordinate system with the pass number as the ordinate and the actual walking distance and the actual walking distance captured by the software as the abscissa, and fitting two curves for analysis; According to the acquired data of actual walking distance and pulse number, and the actual walking distance data captured by the software, they are represented as variables passDist, pulseCount and softwareDist respectively; Calculate the average of the actual walking distance of each pass, recorded as meanPassDist, and calculate the average of the actual walking distance captured by the software, recorded as meanSoftwareDist; For each pass, calculate the difference between the actual walking distance and the average value, denoted as passDiff = passDist - meanPassDist, and then calculate the difference between the actual walking distance captured by the software and the average value, denoted as softwareDiff = softwareDist - meanSoftwareDist; Calculate the variance of passDiff, recorded as varPassDist=sum(passDiff 2 ) / (pass number - 1), calculate the variance of softwareDiff, recorded as varSoftwareDist = sum(softwareDiff 2 ) / (number of passes-1); Calculate the standard deviation of passDiff, which is the standard deviation of the actual walking distance, denoted as stdPassDist = sqrt(varPassDist), and calculate the standard deviation of softwareDiff, which is the standard deviation of the actual walking distance captured by the software, denoted as stdSoftwareDist = sqrt(varSoftwareDist).
2. A method for detecting a stepping transmission structure error of a machine according to claim 1, characterized in that: According to steps S1 - S5, first install the mechanism, install the magnetic scale on the printing platform, then switch the subdivision parameters and the step size. The nozzle prints the reference pattern for the first time and feeds the paper according to the specified step size. The nozzle prints the calibration pattern for the second time and the (i + 1)-th time. When i < N, then go back to the nozzle printing the reference pattern for the first time. When i >= N, establish a coordinate system and calculate the standard deviation and variance. Here, N represents the set number of prints. Then, determine again whether the data collection is completed. If the data is not collected completely, return to switch the subdivision parameters and the step size. When the data collection is completed, make a comparison and then draw a conclusion.
3. A method for detecting a machine stepping transmission structure error according to claim 1, characterized in that: Step S1 is specifically as follows: Install the magnetic scale on the printing platform. The magnetic scale head is close to but does not touch the magnetic scale strip, and the distance between them is within 2 mm. At the same time, the installation direction of the magnetic scale is perpendicular to the machine crossbeam guide rail, and the installation surface of the magnetic scale is parallel to the printing table. Then, set the subdivision parameters of the motor and configure the subdivision settings of the motor according to the required accuracy and step size. Open the software matched with the motor for communication and control with the motor.
4. A method for detecting a stepping transmission structure error of a machine according to claim 1, characterized in that: Step S5 is specifically as follows: Set different motor subdivision parameters. By increasing the number of subdivisions, increase the motor subdivision parameters from the default settings to higher values; Change the paper feeding speed of the printing platform, that is, the time or distance moved for each pass, increase or decrease the paper feeding speed, gradually adjust the paper feeding speed, and record the error situation of the stepping transmission structure at each speed; After switching different motor subdivision parameters and paper feeding speeds, re - capture the data and conduct analysis and evaluation. Use the same method to obtain the magnetic scale feedback data and the stepping pitch information, and compare the results under different parameter configurations according to the statistical analysis and establish a coordinate system; Compare the results under different parameter configurations, observe the changing trends and rules of the error of the stepping transmission structure, and find the best combination, that is, the optimal configuration of the motor subdivision parameters and the paper feeding speed.
5. A method for detecting a machine stepping transmission structure error according to claim 3, characterized in that: According to the installation of the magnetic scale and the setting of the motor subdivision parameters, conduct error detection and correction, According to the detected error type and target, formulate a test plan, including determining the number of passes, the step size, and other parameters for the test; then, according to the test plan, conduct printing on the printing platform and ensure that each pass moves according to the set step size for observing and measuring the error situation; Use the magnetic grating reader to obtain the actual position of each pass and the step spacing between adjacent passes, and record them for subsequent analysis. According to the acquired data, establish the coordinate system feedback trend, use statistical methods to analyze the data, evaluate the error of the stepping transmission structure, compare the position difference and step spacing between different passes, and find out the error source in the system; According to the analysis results, measures are taken to correct the errors of the stepper transmission structure. The correction methods include adjusting the motor subdivision parameters, optimizing the motor drive algorithm, and calibrating the mechanical structure of the printing platform through continuous adjustment and optimization; After error correction, re-test and data analysis are performed to verify the correction effect. If errors still exist, further adjust parameters or take other measures to correct them. Finally, the correction results and data are fed back to the factory or technicians.
6. A device for detecting the error of a machine stepping transmission structure, characterized in that: The method comprises at least one processor, at least one memory and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method according to any one of claims 1 to 5 is implemented.
7. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Ink-jet printing apparatus and printing medium stepping error detection method
CN105799343A
Digital printing machine conduction band stepping amount monitoring system and monitoring method
CN117146715A