A real-time feedback inkjet code detection method and device
By setting up laser beams and optical sensors on industrial inkjet printers, combined with pre-stored calculation models, the position of ink dots can be detected in real time, solving the problem of low detection efficiency of inkjet printers and achieving fast and accurate detection of inkjet printing anomalies.
Patent Information
- Application Number
- CN202111494661.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2041-12-07
AI Technical Summary
Existing industrial inkjet printers have low detection efficiency, especially in detecting coding anomalies, where the speed is limited and the cost is high.
The real-time feedback inkjet printing detection method is adopted. A laser beam is set in the direction of the inkjet path, and optical sensors are set on one side and in front of the laser beam to obtain the reflection information of the ink droplets. The actual position of the ink droplets is calculated using a pre-stored calculation model, and it is determined whether the center point of the ink droplet is within the target area to determine whether the inkjet printing is normal.
It achieves fast and accurate detection of inkjet printing anomalies, improves detection speed and efficiency, reduces detection costs, and requires no complex hardware devices.
Smart Images

Figure CN114324379B_ABST
Abstract
Description
[0001] The present application relates to the technical field of industrial inkjet printing, and in particular to a real-time feedback ink code detection method and device.
[0002] With the improvement of living needs, the requirements for product quality are continuously improved, and consumers understand and determine product quality through product identification, so the identification on the product is important information, such as production date, production batch number, etc. These information is mostly completed in the form of ink code.
[0003] However, in the process of ink code, various factors will cause abnormal phenomenon of ink code, and the current common solution is to use machine vision method for character detection and recognition processing in the back end, which is limited in recognition speed and high in cost, so the detection efficiency is low.
[0004] To solve the problem of low detection efficiency of the existing industrial inkjet printer, the present application provides a real-time feedback ink code detection method and device.
[0005] The technical scheme of the present application is: a real-time feedback ink code detection method for real-time feedback ink code detection of ink dots of an industrial inkjet printer, comprising the following steps:
[0006] S1: obtaining a target area of an ink dot;
[0007] S2: obtaining an actual position of the ink dot;
[0008] S3: taking the center point of the actual position of the ink dot as a reference, when the center point of the actual position of the ink dot is within the target area, it is determined that the inkjet is normal.
[0009] Preferably, in step S1, the target area of the ink dot is obtained, and the target timing information of the ink dot is also obtained, and the target area corresponds to the target timing one by one;
[0010] Step S2 specifically comprises: obtaining the actual position of the ink dot and the corresponding arrival timing information;
[0011] Step S3 specifically comprises the following steps:
[0012] Step S31: obtaining the target area corresponding to the target timing information according to the arrival timing information;
[0013] Step S32: taking the center point of the actual position of the ink dot as a reference, when the center point of the actual position of the ink dot is within the target area, it is determined that the inkjet is normal.
[0014] Preferably, the step S1 specifically comprises the following steps:
[0015] Step S11: obtaining the inkjet character and generating a command according to the inkjet character;
[0016] Step S12: obtaining the target area of the ink dot according to the command.
[0017] Preferably, the way of obtaining the actual position of the ink dot in the step S2 is specifically as follows:
[0018] A laser beam is arranged in the direction of the inkjet path of the ink dot, and a light sensor is arranged on the side parallel to the direction of the inkjet path of the ink dot, the ink dot passes through the laser beam and reflects the laser beam, and the light sensor obtains reflection information of the ink dot when passing through the laser beam and obtains the actual position of the ink dot according to the reflection information.
[0019] Preferably, the number of the light sensors is at least three.
[0020] Preferably, the way of obtaining the actual position according to the reflection information is specifically as follows:
[0021] The reflection information is input into a pre-stored calculation model, and the pre-stored calculation model outputs the corresponding actual position after calculation.
[0022] Preferably, the pre-stored calculation model is established by the following steps:
[0023] A plurality of ink dots are jetted from different positions and pass through the laser beam arranged on the inkjet path, the plurality of ink dots reflect the laser beam, and the light sensor obtains reflection information of each ink dot reflecting the laser beam;
[0024] The actual position information of each ink dot is obtained;
[0025] The pre-stored calculation model is established by the relationship between the reflection information and the actual position information.
[0026] The application also provides a real-time feedback inkjet detection device, the inkjet detection device comprising a calculation module, an inkjet module, a light emitting module and a light sensor module,
[0027] The inkjet module jets ink dots according to a command, the light emitting module emits a high-frequency modulated laser beam on the inkjet path of the ink dot, and the light sensor module obtains reflection information of the ink dot reflecting the laser beam when passing through the laser beam; the calculation module is connected with the light sensor signal, and obtains the actual position of the ink dot according to the reflection information and judges whether the center point of the actual position of the ink dot is located in a pre-set target area, if yes, it is determined that the inkjet is normal.
[0028] Preferably, the light emitting module comprises a laser emitting a laser beam and a modulator high-frequency modulating the laser beam.
[0029] Preferably, the light sensor module comprises a plurality of light sensitive elements arranged on one or both sides of the ink module to receive the signal reflected by the ink dots via the laser beam.
[0030] Compared with the prior art, the real-time feedback code printing detection method provided by the application has the following advantages:
[0031] 1. The real-time feedback code printing detection method provided by the embodiment of the application is used for real-time feedback code printing detection of ink dots of an industrial code printing machine, the target area of the ink dots is acquired, the actual position of the ink dots is acquired, and the center point of the actual position of the ink dots is taken as a reference, and when the center point of the actual position of the ink dots is in the target area, it is determined that the ink printing is normal. The detection speed is fast, and whether the ink printing of the industrial code printing machine is abnormal can be directly and quickly judged by whether the center point of the actual position of the ink dots is in the target area. Compared with the existing image detection algorithm, the detection method provided by the application has great advantages in speed, and the accuracy and detection efficiency of the industrial code printing machine detection method can be further improved.
[0032] 2. The real-time feedback code printing detection method provided by the embodiment of the application acquires target timing information of the ink dots and a corresponding target area, the position and time information of each ink dot can be acquired synchronously by obtaining the target timing information, the position of the ink dots can be detected, and whether the industrial code printing machine has a missing printing can be detected. By acquiring the target area corresponding to the target timing, the target area of each ink dot can be obtained. In addition, the actual position of the ink dots and the corresponding arrival timing information are acquired, by acquiring the actual position of the ink dots and the corresponding arrival timing information, the position of the actually printed ink dots and the time of reaching the target area can be known, and the corresponding target area to be reached by the actually printed ink dots can also be obtained, so that the actual position of the ink dots and the corresponding target area can be compared. In addition, the corresponding target area of the printed ink dots is obtained according to the arrival timing information; finally, the center point of the actual position of the ink dots is taken as a reference, and when the center point of the actual position of the ink dots is in the target area, it is determined that the ink printing is normal. By this design, whether the ink printing is abnormal can be detected more accurately.
[0033] 3. The real-time feedback inkjet code detection method provided by the embodiment of the present application further comprises: obtaining an inkjet code character and generating a command according to the inkjet code character before obtaining the target area of the ink dot; and obtaining the target area of the ink dot according to the command. The theoretical position of the ink dot can be obtained by obtaining the inkjet code character and generating the command according to the inkjet code character, that is, the target area of the ink dot can be obtained.
[0034] 4. The real-time feedback inkjet code detection method provided by the embodiment of the present application, which is characterized in that: a laser beam is arranged in the direction of the inkjet code path of the ink dot, and a light sensor is arranged on the side parallel to the direction of the inkjet code path of the ink dot and opposite to the laser beam. The ink dot reflects the laser beam when passing through the laser beam. The light reflection information of the ink dot at different positions can be detected by arranging the light sensor and obtaining the reflection information. The reflected laser beams at different positions have different contributions to the light sensors at different positions. The actual position of the ink dot can be obtained by the light reflection information obtained by the light sensor. In addition, the light sensor opposite to the laser beam can provide more reliable reflected light information by detecting the blocking timing of the ink dot. The actual position of the ink dot can be more accurately obtained by this design, and the accuracy of the real-time feedback inkjet code detection method can be improved.
[0035] 5. The real-time feedback inkjet code detection method provided by the embodiment of the present application, which is characterized in that: the number of the light sensors is at least three, and the positions of the light sensors are different. At least three light sensors are arranged to improve the stability of the real-time feedback inkjet code detection method, considering the size and shape fluctuation of the ink dot in the inkjet process.
[0036] 6. The real-time feedback inkjet code detection method provided by the embodiment of the present application, which is characterized in that: the pre-stored calculation model is obtained in advance, the reflection information is input into the pre-stored calculation model, the pre-stored calculation model outputs the actual information of the ink dot after calculation, and the design can have high accuracy and improve the detection speed.
[0037] 7. The real-time feedback inkjet code detection method provided by the embodiment of the present application, which is characterized in that: the pre-stored calculation model is obtained by spraying a plurality of ink dots from different positions and passing through the laser beam arranged on the inkjet code path. The plurality of ink dots reflect the laser beam, and the light sensor obtains the reflection information of each ink dot reflecting the laser beam. The actual information of each ink dot is obtained. The calculation model is established according to the relationship between the reflection information and the actual position. This design can reduce errors and improve the accuracy of the real-time feedback inkjet code detection method.
[0038] 8. The real-time feedback inkjet code detection device provided by the embodiment of the present application, which is characterized in that: the structure is simple, and the complex hardware device required by the camera and its recognition algorithm does not need to be additionally matched, so that the inkjet code detection can be realized, and the arrangement cost is low.
DRAWINGS
[0039] Figure 1 is a step flowchart of a real-time feedback inkjet code detection method provided in the first embodiment of the present application Figure 1 ;
[0040] Figure 2 is a step flowchart of a real-time feedback inkjet code detection method provided in the first embodiment of the present application Figure 2 ;
[0041] Figure 3 is a method flowchart of obtaining a target area of an ink dot in a real-time inkjet detection method provided in the first embodiment of the present application
[0042] Figure 4 is a method flowchart of obtaining a pre-stored calculation model in a real-time inkjet detection method provided in the first embodiment of the present application
[0043] Figure 5 is a schematic diagram of inkjet generation according to a character in a real-time inkjet detection method provided in the first embodiment of the present application
[0044] Figure 6 is a structural schematic diagram of a real-time inkjet detection device provided in the second embodiment of the present application
[0045] Explanation of the attached drawings:
[0046] 10, inkjet module; 11, calculation module; 12, light emitting module; 13, light sensor module
[0047] 20, target area; 21, first target area; 22, second target area; 23, third target area; 24, fourth target area; 25, fifth target area
[0048] 31, light emitter; 32, laser beam; 33, light sensor
DETAILED DESCRIPTION
[0049] In order to make the purpose, technical scheme and advantages of the present application clearer and more understandable, the present application will be further described in detail below in combination with the attached drawings and implementation examples. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0050] It should be noted that the real-time feedback inkjet code detection method provided by the present application is for an industrial inkjet code machine. The industrial inkjet code machine has the following characteristics: the industrial inkjet code machine has only one nozzle or only one ink outlet hole. The path direction of the deflection of the ink dot sprayed by the industrial inkjet code machine is equivalent to the arrangement direction of the multiple inkjet heads of a common inkjet machine. The formation of a character by the ink dot is achieved by different deflection of the ink dot with different charges in an electric field.
[0051] VQ is vector quantization, SVM is support vector machine, BP neural network is back-propagation neuron network, CNN is convolutional neural network, and KNN is K-nearest neighbor classification algorithm.
[0052] Referring to Figures 1 to 5 Based on the industrial inkjet printer described above, the first embodiment of the present application provides a real-time feedback inkjet detection method for real-time feedback inkjet detection of ink dots of an industrial inkjet printer, comprising the following steps:
[0053] S1: obtaining a target area of an ink dot; in step S1, the target area of the ink dot is obtained, and target timing information of the ink dot is also obtained, the target area and the target timing correspond one by one.
[0054] It can be understood that the target timing information of the ink dot is obtained to synchronize the position information and the time information of each ink dot, and the target area is the theoretical position information of each ink dot. By obtaining the target timing information of the ink dot, it can be obtained that, for example, the first ink dot to be sprayed should be sprayed at position 1, the second ink dot to be sprayed should be sprayed at position 4, and the serial number of the ink dot sprayed by the industrial inkjet printer, i.e. the first ink dot, the second ink dot, …, is obtained. According to the timing information, it can be obtained that where the theoretical target area of each ink dot should be, and then the target area is obtained according to the timing information. By obtaining the position information and the time information of the ink dot, it is convenient to verify whether the actually detected ink dot is abnormal ink spraying in the subsequent process, and it is convenient to obtain the timing information to synchronize the position information of the ink dot to detect whether the position of the inkjet dot is correct, and to synchronize the time information of the ink dot to detect whether the industrial inkjet printer has missed spraying, i.e. whether the ink dot is sprayed at the time when it should be sprayed.
[0055] Further, step S1 specifically comprises the following steps:
[0056] Step S11: obtaining an inkjet character, and generating a command according to the inkjet character;
[0057] Step S12: obtaining the target area of the ink dot according to the command.
[0058] It can be understood that in step S11: the ink-jet character is acquired, and a command is generated according to the ink-jet character, specifically: first, the ink-jet character is acquired, and the ink-jet character to be jetted is set on the industrial ink-jet machine, and the industrial ink-jet machine processes the ink-jet character into corresponding instructions, such as the angle at which the jetted ink dots need to be deflected, or the position at which the ink dots should be jetted, or the time at which the ink dots should be jetted, etc. That is, the ink-jet character is parsed to obtain the information of deflection of each ink dot, that is, the industrial ink-jet machine obtains the command to be executed, and finally the obtained instructions are transmitted to the ink-jet device, and the ink-jet device jets the ink dots.
[0059] Specifically, assuming that the character to be jetted is "2", at this time, only the 5 ink dots in the first column need to be concerned, and the second column to the fifth column are processed 5 times by relying on the movement of the conveying belt, and the first column of 5 ink dots is obtained by sequentially deflecting and jetting the ink dots according to the ink jet orifice, and the industrial ink-jet machine generates corresponding commands according to the character to be jetted, and the industrial ink-jet machine obtains the position of the ink dots to be jetted after parsing the commands, that is, the position of each ink dot is divided into a plurality of target regions 20, wherein the plurality of target regions are regular closed regions, and specifically, the plurality of target regions of the first embodiment of the present application are all squares.
[0060] Please refer to Figure 5 , the light emitter 31 is arranged on the path of the jetted ink dots, the laser beam 32 covers the path of the jetted ink dots, the light sensor 33 is arranged on the side parallel to the direction of the ink-jet path and opposite to the position of the laser beam 32, and the number of the light sensor 33 is at least three, the light sensor arranged opposite to the position of the laser beam can sense whether the laser beam is emitted or not, and can receive the timing information of the blocked ink dots, and the light sensor arranged on the side is used to receive the light reflection information of the ink dots, in the figure, the X direction is the deflection direction of the ink dots, the Y direction is the movement direction of the conveying belt, and the Z direction is the ink-jet direction and is perpendicular to the paper surface. The first target region 21 is the target region of the first jetted ink dot, and the first target region 21 corresponds to the target region of the first jetted ink dot. Correspondingly, the fourth target region 22 corresponds to the target region corresponding to the second ink dot, the sixth target region 23 corresponds to the target region corresponding to the third ink dot, the seventh target region 24 corresponds to the target region corresponding to the fourth ink dot, and the eighth target region 25 corresponds to the target region corresponding to the fifth ink dot, that is, the first ink dot should be jetted in the first target region 21 (i.e. the first column and the first row), the second ink dot should be jetted in the second target region 22 (i.e. the first column and the third row), the third ink dot should be jetted in the third target region 23 (i.e. the first column and the fourth row), and the industrial ink-jet machine can obtain the theoretical position of the jetted ink dots after processing the obtained ink-jet character, that is, the target region of each ink dot is obtained.
[0061] It can be understood that in step S12, the target area of the ink dot is specifically obtained as follows: according to the obtained code character, the industrial inkjet printer generates a command for each ink dot according to the code character, and then obtains the theoretical position of each ink dot according to the command. The obtained theoretical position is the target area of the ink dot.
[0062] Please continue to see Figures 1 to 5 Further, S2: obtaining the actual position of the ink dot; obtaining the actual position of the ink dot and the corresponding arrival time sequence information.
[0063] It can be understood that by obtaining the actual position of the ink dot and the corresponding arrival time sequence information, that is, by obtaining the arrival time sequence information of the actually sprayed ink dot, the theoretical time sequence information corresponding to the arrival time sequence information of the ink dot can be known, and then the target area of the ink dot can be known. Then the position of the actually sprayed ink dot and the target area of the ink dot can be compared, and by comparing the target area of the ink dot and the actual position, it can be detected whether the inkjet is abnormal. By obtaining the arrival time sequence information of the ink dot and the corresponding target area, first, the target area of the actually sprayed ink dot can be obtained, and then by comparing the target area and the actual position of the ink dot, it can be detected whether the position of the sprayed ink dot is correct, and second, it can be detected whether the industrial inkjet printer has a missing spray during the inkjet process.
[0064] It can be understood that by obtaining the actual deflection position of the ink dot and the corresponding arrival time sequence information, the first step obtains the theoretical time sequence information of the ink dot, that is, the target area of the ink dot and its spray sequence number are obtained, that is, the industrial inkjet printer sprays the first ink dot. Then by obtaining the actual position of the ink dot and the arrival time sequence information, it should be noted that in this process, there may be a missing spray. The advantage of defining the target area of the ink dot by the arrival time sequence information is that even if the industrial inkjet printer has a missing spray during the code spraying process, the target area corresponding to the target time sequence can still be obtained by the arrival time sequence information, and then the corresponding target area of the actually sprayed ink dot can be obtained. That is, it can be known that the position of the actually sprayed ink dot should be sprayed and the time of reaching the target area, and the corresponding theoretical target area of the actually sprayed ink dot can also be obtained, which facilitates the comparison of the actual position of the ink dot and the corresponding target area, so as to determine where the target area of the actually sprayed ink dot should be sprayed. Through this design, the detection method is more accurate.
[0065] Further, the way of obtaining the actual deflection position of the ink dot in step S2 is specifically as follows:
[0066] A laser beam is arranged in the direction of the ink dot printing path, a light sensor is arranged on the side parallel to the direction of the ink dot printing path, the ink dot passes through the laser beam and reflects the laser beam, the light sensor acquires the reflection information of the laser beam and obtains the actual position of the ink dot according to the reflection information.
[0067] It should be noted that, in specific applications, considering the fluctuation of the size and shape of the ink dot in the industrial process, 5-7 light sensors are arranged in the embodiment for robustness, and the reflection information of the laser beam reflected by each ink dot at different positions is comprehensively collected.
[0068] Understandably, the ink dot sprayed by the industrial inkjet printer has a certain position distribution, the first embodiment of the present application arranges a plurality of light sensors in parallel according to the ink dot printing path, each ink dot reflects the laser beam when passing through the laser beam, and the light reflection information received by each light sensor is different according to the position of the ink dot during the deflection of the ink dot. The actual position of the ink dot is obtained by combining the reflection information obtained by the light sensor.
[0069] Further, the way to obtain the actual position according to the reflection information is that the reflection information is input into a pre-stored calculation model, and the pre-stored calculation model outputs corresponding actual information through calculation.
[0070] Understandably, the pre-stored calculation model of the embodiment can be one of VQ template matching, BP neural network, support vector machine, convolutional neural network or KNN.
[0071] Further, in order to reduce the detection error, the pre-stored calculation model is established by the following steps: a plurality of ink dots are sprayed from different positions and pass through the laser beam arranged on the printing path, the plurality of ink dots reflect the laser beam, the light sensor acquires the reflection information of each ink dot reflecting the laser beam, and the actual information of each ink dot is acquired; a calculation model is established through the relationship between the reflection information and the actual position.
[0072] Specifically, the pre-stored calculation model of the first embodiment of the present application adopts VQ-based template matching as the pre-stored calculation model.
[0073] Understandably, the reflection information of the laser beam reflected by each ink dot passing through the laser beam at different deflection positions is collected by a plurality of light sensors, and a training sample database is established. The purpose of establishing the training sample database is to determine the mapping relationship between the actual deflection position information of each ink dot and the reflection information acquired by the light sensor, and the detection error can be reduced by establishing the training sample database.
[0074] The mapping relationship (functional relationship) between the actual position of the ink dot and the detection result of the light sensor is determined, and the relationship is determined through a large amount of training and stored in the system as prior knowledge. In the actual interpretation process, the actual deflection position information of the ink dot can be directly obtained from the detection results of multiple light sensors through the relationship. Through the training of a sufficient database, the error can be reduced as much as possible, and this work is offline and does not affect the final real-time ink dot position recognition.
[0075] Further, through the training of a large number of offline samples by the VQ (vector quantization) method, the optimal codebook is obtained and applied to the subsequent recognition process; the reflection information of the ink dot when passing through the laser beam is input to the trained optimal codebook for comparison and matching, and then the actual position information of the ink dot is obtained.
[0076] It can be understood that the technical method of the recognition link cannot be too time-consuming, that is, the calculation amount of the method cannot be too large, because the time requirement of the real-time position judgment of the ink dot is very high, and therefore the first embodiment of the present application selects the VQ optimal codebook matching to perform recognition, and through the use of this recognition method, the recognition speed can be faster.
[0077] In this way, in the actual inkjet process, when each ink dot passes through the laser beam, the ink dot reflects the laser beam, and the light reflection information of the ink dot when passing through the laser beam and reflecting the laser beam is obtained by the light sensor, and the obtained light reflection information is input to the trained VQ model, so that the actual deflection position information of the ink dot can be obtained.
[0078] Further, the laser beam of the embodiment is high-frequency modulated, and through the design of setting the laser beam as a high-frequency modulated laser beam, the subsequent light sensor can more accurately extract the emission information of the ink dot when passing through the laser beam and reflecting the laser beam.
[0079] Further, the modulation frequency of the high-frequency modulated laser beam needs to be greater than 4 times the highest frequency of the inkjet code machine, and through this design, the sampling error can be eliminated, and the accuracy of the detection method of the industrial inkjet code machine is further improved.
[0080] S3: Taking the center point of the actual deflection position of the ink dot as a reference, when the center point of the actual deflection position of the ink dot is in the target area, it is determined that the inkjet is normal.
[0081] It can be understood that the corresponding target area is obtained according to the arrival timing information; taking the center point of the actual deflection position of the ink dot as a reference, when the center point of the actual deflection position of the ink dot is in the target area, it is determined that the inkjet is normal, and through this design, whether the inkjet is abnormal can be detected more accurately.
[0082] In summary, the first embodiment of the present application provides a real-time feedback code printing detection method for real-time feedback code printing detection of ink dots of an industrial code printing machine. During detection, first, a code character is acquired, and the industrial code printing machine generates a corresponding command according to the code character, and the target area of the ink dot can be obtained according to the generated command; then, the time sequence information and the corresponding target area of the ink dot are acquired, that is, the theoretical time sequence information and the corresponding target area of the ink dot are obtained, and then the actual deflection position of the actually sprayed ink dot is obtained, the reflection information of the reflected laser beam when the ink dot passes through the laser beam is collected by the optical sensor, and the reflection information is input to the pre-stored calculation model, so that the actual position of the ink dot can be obtained; the actual deflection position of the actually sprayed ink dot and the corresponding arrival time sequence information are obtained; secondly, the theoretical time sequence information and the corresponding target area of the ink dot are compared with the actual deflection position of the actually sprayed ink dot and the corresponding arrival time sequence information, so that the target area that the actually sprayed ink dot should spray can be obtained; finally, the center point of the actual deflection position of the ink dot is taken as a reference, and when the center point of the actual deflection position of the ink dot is in the target area, it is determined that the ink spraying is normal.
[0083] Referring to Figure 6 The second embodiment of the present application provides a real-time feedback code printing detection device for real-time detection of ink dots of an industrial code printing machine by the detection method in the first embodiment of the present application. The code printing detection device comprises a calculation module 11, an ink spraying module 10, a light emitting module 12 and an optical sensor module 13, the ink spraying module 10 sprays ink dots according to a command, the light emitting module 12 emits a high-frequency modulated laser beam on the ink dot code printing path, and the optical sensor module 13 acquires reflection information of the reflected laser beam when the ink dot passes through the laser beam; the calculation module 11 is signal connected with the optical sensor 13, and acquires the actual position of the ink dot and judges whether the center point of the actual position of the ink dot is located in a preset target area according to the reflection information, and if so, it is determined that the ink spraying is normal.
[0084] Understandably, the light emitting module 12 comprises a laser and a modulator, the laser emits a laser beam, the laser beam emitted by the laser covers the spraying path of the ink dot, and the modulator modulates the laser beam.
[0085] Preferably, the laser frequency of the laser beam modulated by the modulator is greater than 4 times the highest frequency of the ink spraying of the industrial code printing machine.
[0086] Understandably, by designing the laser frequency of the laser beam modulated by the modulator to be greater than 4 times the highest frequency of the ink spraying of the industrial code printing machine, the sampling error can be largely eliminated.
[0087] Further, the light sensor module 13 comprises a plurality of light sensitive elements arranged on one or both sides of the inkjet module 10 to receive the signal reflected by the ink dots from the laser beam.
[0088] The second embodiment of the present application provides a real-time feedback code printing detection device, which has simple structure and low arrangement cost, and can realize code printing detection without complex hardware devices required by cameras and identification algorithms.
[0089] Compared with the prior art, the real-time feedback code printing detection method provided by the present application has the following advantages:
[0090] Compared with the prior art, the real-time feedback code printing detection method provided by the present application has the following advantages:
[0091] 1. The real-time feedback code printing detection method provided by the embodiment of the present application is used for real-time feedback code printing detection of ink dots of an industrial code printing machine, the target area of the ink dots is acquired, the actual position of the ink dots is acquired, and the center point of the actual position of the ink dots is taken as a reference, and when the center point of the actual position of the ink dots is in the target area, it is determined that the ink printing is normal. The detection speed of the detection method is fast, and whether the center point of the actual position of the ink dots is in the target area can be directly and quickly judged to determine whether the ink printing of the industrial code printing machine is abnormal. Compared with the existing image detection and other detection algorithms, the detection method provided by the present application has great advantages in speed, and can further improve the accuracy and detection efficiency of the industrial code printing machine detection method.
[0092] 2. The real-time feedback code printing detection method provided by the embodiment of the present application acquires target timing information of ink dots and corresponding target areas, the position and time information of each ink dot can be acquired synchronously by obtaining the target timing information, the position of the ink dot can be detected, and whether the industrial code printing machine has a missing printing can be detected. By acquiring the target area corresponding to the target timing, the target area of each ink dot can be obtained. In addition, the actual position of the ink dot and the corresponding arrival timing information are acquired, by acquiring the actual position of the ink dot and the corresponding arrival timing information, the position of the actually printed ink dot and the time of reaching the target area can be known, and the corresponding target area of the actually printed ink dot can also be obtained, so that the actual position of the ink dot and the corresponding target area can be compared. In addition, the corresponding target area of the printed ink dot is obtained according to the arrival timing information; finally, the center point of the actual position of the ink dot is taken as a reference, and when the center point of the actual position of the ink dot is in the target area, it is determined that the ink printing is normal. By this design, whether the ink printing is abnormal can be detected more accurately.
[0093] 3. The real-time feedback inkjet code detection method provided by the embodiment of the present application further comprises: obtaining an inkjet code character and generating a command according to the inkjet code character before obtaining the target area of the ink dot; and obtaining the target area of the ink dot according to the command. The theoretical position of the ink dot can be obtained by obtaining the inkjet code character and generating the command according to the inkjet code character, that is, the target area of the ink dot can be obtained.
[0094] 4. The real-time feedback inkjet code detection method provided by the embodiment of the present application can detect the light reflection information of the ink dot at different positions by setting a laser beam in the direction of the inkjet code path of the ink dot, setting a light sensor on the side parallel to the direction of the inkjet code path of the ink dot and the position directly opposite to the laser beam, and reflecting the laser beam when the ink dot passes through the laser beam. The light reflection information of the ink dot at different positions can be detected by setting the light sensor and obtaining the reflection information. The reflected laser beam of each ink dot at a different position has different contributions to the light sensor at different positions, and the actual position of the ink dot can be obtained by the light reflection information obtained by the light sensor. In addition, the light sensor directly opposite to the laser beam can provide more reliable reflected light information by detecting the blocking timing of the ink dot. The actual position of the ink dot can be more accurately obtained by this design, and the accuracy of the real-time feedback inkjet code detection method of the present application can be improved.
[0095] 5. The real-time feedback inkjet code detection method provided by the embodiment of the present application can improve the stability of the real-time feedback inkjet code detection method by setting at least three light sensors in consideration of the size and shape fluctuation of the ink dot in the inkjet process.
[0096] 6. The real-time feedback inkjet code detection method provided by the embodiment of the present application can have high accuracy and improve the detection speed by pre-obtaining a pre-stored calculation model, inputting the reflection information into the pre-stored calculation model, and outputting the actual information of the ink dot corresponding to the pre-stored calculation model after calculation.
[0097] 7. The real-time feedback inkjet code detection method provided by the embodiment of the present application can reduce errors and improve the accuracy of the real-time feedback inkjet code detection method by pre-storing a calculation model through the reflection of a laser beam by multiple ink dots at different positions and setting the laser beam on the inkjet code path, the light sensor obtaining the reflection information of the reflection of the laser beam by each ink dot, obtaining the actual information of each ink dot, and establishing a calculation model according to the relationship between the reflection information and the actual position.
[0098] 8. The real-time feedback inkjet code detection device provided by the embodiment of the present application has a simple structure, does not need complex hardware devices required by a camera and its recognition algorithm, and can realize inkjet code detection at a low layout cost.
[0099] The above merely provides the preferred embodiment of the present application, and not intended to limit the present application. Accordingly, any modification, equivalent replacement and improvement made within the principle of the present application shall fall in the protection scope of the present application.
Claims
1. A real-time feedback inkjet code detection method, characterized in that: The application discloses a real-time feedback ink point detection method for an industrial ink jet printer, and relates to the technical field of ink jet printers. S1: obtaining a target area of an ink point; S2: obtaining an actual position of the ink point; The actual position of the ink point in step S2 is obtained in the following manner: A laser beam is arranged in the direction of the ink jet path of the ink point, and a light sensor is arranged on the side parallel to the direction of the ink jet path of the ink point, the ink point passes through the laser beam and reflects the laser beam, the light sensor obtains reflection information of the ink point when passing through the laser beam and obtains the actual position of the ink point according to the reflection information; S3: taking the center point of the actual position of the ink point as a reference, when the center point of the actual position of the ink point is in the target area, it is determined that the ink jet is normal.
2. The real-time feedback inkjet print detection method of claim 1, wherein: In step S1, the target area of the ink point is obtained, and target timing information of the ink point is also obtained, the target area corresponds to the target timing information one by one; Step S2 specifically comprises the following steps: Step S31: obtaining the target area corresponding to the target timing information according to the arrival timing information; Step S32: taking the center point of the actual position of the ink point as a reference, when the center point of the actual position of the ink point is in the target area, it is determined that the ink jet is normal. Step S1 specifically comprises the following steps:
3. The real-time feedback inkjet print detection method of claim 2, wherein: Step S11: obtaining an ink jet character and generating a command according to the ink jet character; Step S12: obtaining the target area of the ink point according to the command. The number of the light sensors is at least three.
4. The real-time feedback inkjet print detection method of claim 1, wherein: The actual position is obtained according to the reflection information in the following manner: the reflection information is input into a pre-stored calculation model, and the pre-stored calculation model outputs the corresponding actual position after calculation.
5. The real-time feedback inkjet print detection method of claim 1, wherein: The pre-stored calculation model is established in the following manner:
6. The real-time feedback inkjet print detection method of claim 5, wherein: A plurality of ink points are jetted from different positions and pass through the laser beam arranged on the ink jet path, the plurality of ink points reflect the laser beam, and the light sensor obtains reflection information of each ink point reflecting the laser beam; The actual position information of each ink point is obtained; The pre-stored calculation model is established according to the relationship between the reflection information and the actual position information. The ink jet detection device comprises a calculation module, an ink jet module, a light emitting module and a light sensor module, 7. A real-time feedback inkjet code detection device applied to the real-time feedback inkjet code detection method of any one of claims 1-6, characterized in that: The ink jet module jets ink points according to a command, the light emitting module emits a high-frequency modulated laser beam on the ink jet path of the ink points, the light sensor module obtains reflection information of the laser beam reflected by the ink points when the ink points pass through the laser beam, the calculation module is connected with the light sensor signal, and the actual position of the ink points is obtained according to the reflection information, and it is determined whether the center point of the actual position of the ink points is located in a preset target area, if yes, it is determined that the ink jet is normal. The light emitting module comprises a laser and a modulator, the laser emits a laser beam, and the modulator performs high-frequency modulation on the laser beam.
8. The real-time feedback inkjet print detection device of claim 7, wherein: The light sensor module comprises a plurality of photosensitive elements, and the plurality of photosensitive elements are arranged on one side or both sides of the ink jet module to receive the signals reflected by the ink points when passing through the laser beam.
9. The real-time feedback inkjet print detection apparatus of claim 7, wherein:
Citation Information
Patent Citations
Detection method and device based on point-like code spraying
CN113408388A
Nozzle detection device and have nozzle detection device's ink jet printer
CN207901880U