Thermal printer roller detection method

Through infrared light source and image processing technology, combined with stepper motor drive rotation detection method, the problems of low efficiency and poor accuracy of roller shaft detection of existing thermal printers are solved, and automated and accurate roller shaft detection is achieved.

CN118565345BActive Publication Date: 2024-11-05ZHUHAI XPRINTER ELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410998497.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-05
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The existing thermal printer roller shaft detection methods are inefficient and have low accuracy. Relying on manual manual detection, it is impossible to effectively detect the flatness and shape regularity of the roller shaft.

Method used

Adopting infrared light source array, convex lens, light shielding plate, test bracket, stepper motor and gear conversion mechanism, infrared filter film, industrial camera and measurement control unit and LCD display screen, it is driven and rotated by infrared light source illumination, image processing and stepper motor Check the flatness and shape regularity of the roller shaft.

Benefits of technology

Automatic detection is realized, detection efficiency and accuracy are improved, and the flatness, coaxiality and shape regularity of the roller shaft can be effectively identified, manual errors are reduced, and the reliability of the detection results are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565345B_ABST
    Figure CN118565345B_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of printer roller detection, and in particular to a thermal printer roller detection method, comprising: an infrared light source array, a convex lens, a shading plate, a test bracket, a stepping motor and a gear conversion mechanism, an infrared filter film, an industrial camera, a measurement control unit and an LCD display screen; the specific method comprises the following steps: step S1: the measurement control unit lights up the infrared light source array; step S2: the radiant light emitted by the infrared light source array is transformed into parallel light through the convex lens; step S3: the parallel light passes through the shading plate to form a parallel light beam of a rectangular surface; step S4: the parallel light beam is irradiated on the roller to be measured, and a projection of the roller to be measured is formed on the infrared filter film; step S5: the measurement control unit controls the industrial camera to take pictures through a USB cable interface, and then reads out the picture data of the industrial camera and displays it on the LCD display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of printer roller detection, and in particular relates to a thermal printer roller detection method. Background Art

[0002] Thermal printers, as a printer that uses thermal printing, are mostly used in shopping malls, banks, supermarkets and other places. At present, printers generally use the method of upward paper output when printing. Among them, the roller components used, such as powder feeding rollers, charging rollers, developing rollers, transfer rollers, etc., are composed of a metal roller and an elastic material layer or a non-elastic material layer covering the metal roller. At present, the metal rollers of the roller components in the laser printer consumables sold on the market are all solid metal rollers. The main function of the solid metal roller is to conduct electricity and maintain the appropriate rigidity of the roller body.

[0003] After production, existing thermal printer rollers usually need to be tested before they can be used in practice. When testing thermal printer rollers, the flatness of their surface is usually tested. The existing testing method is usually for staff to use handheld measuring tools to test the surface flatness. Manual testing is not only inefficient but also has low accuracy. In view of this, we propose a thermal printer roller detection method. Summary of the invention

[0004] The purpose of the present invention is to provide a thermal printer roller detection method in view of the above-mentioned existing technical problems, so as to solve the problems raised in the above-mentioned background technology.

[0005] In view of this, the present invention provides a thermal printer roller detection method, comprising:

[0006] Infrared light source array, convex lens, shading plate, test bracket, stepper motor and gear conversion mechanism, infrared filter film, industrial camera and measurement control unit and LCD display;

[0007] The specific method includes the following steps:

[0008] Step S1: The measurement control unit lights up the infrared light source array;

[0009] Step S2: The radiant light emitted by the infrared light source array is transformed into parallel light by a convex lens;

[0010] Step S3: the parallel light rays pass through the shading plate to form a parallel light beam on a rectangular surface;

[0011] Step S4: a parallel light beam is irradiated onto the roller to be measured, and a projection of the roller to be measured is formed on the infrared filter film;

[0012] Step S5: The measurement control unit controls the industrial camera to take pictures through the USB cable interface, and then reads the image data of the industrial camera and displays it on the LCD display;

[0013] Step S6: the measurement control unit performs binarization processing on the image data, identifies the two long sides of the projection image of the measured roller, highlights them and superimposes them on the image data on the LCD display screen;

[0014] Step S7: The measuring control unit detects the parallelism and runout of the two long sides of the projected image of the measured roller, and if they exceed the standard, a prompt "unqualified" is displayed on the LCD display screen;

[0015] Step S8: the measurement control unit controls the stepper motor to drive the measured roller to rotate a subdivided angle (for example, 1°), and then jumps to step S5: continue processing;

[0016] Step S9: The measurement control unit superimposes the images at each angle and analyzes the conformity of the superimposed images. If they conform, a prompt of “qualified” is given; otherwise, a prompt of “unqualified” is given.

[0017] In the above technical solution, further, the detection algorithm of the measurement control unit is:

[0018] Check whether the roller surface is flat and whether the roller is bent by checking whether the two long sides are in a straight line;

[0019] Check whether the roller shape is regular by checking whether the two long sides are parallel;

[0020] Check the coaxiality and flatness by checking the runout on the two long sides;

[0021] Through the superposition of images at each angle, it is comprehensively determined whether the roller shape is regular, concentric, flat, or curved;

[0022] The perpendicular distance between the two parallel long sides is the roller diameter.

[0023] In the above technical solution, further, the infrared light source array is composed of 30 infrared emitting tubes, and the infrared wavelength is 850nm.

[0024] In the above technical solution, further, the convex lens is a rectangular convex lens, which functions to convert the radiant infrared light emitted by the infrared light source array into parallel infrared light.

[0025] In the above technical solution, further, a rectangular opening is opened in the middle area of ​​the shading plate, and its function is to block useless stray light and only pass infrared light with good parallelism.

[0026] In the above technical solution, further, the test bracket is used to fix the tested roller shaft, and the well-installed tested roller shaft will perfectly fit with the gear conversion mechanism, so as to control the rotation of the roller shaft through the stepper motor.

[0027] In the above technical solution, further, the stepper motor and the gear conversion mechanism are installed on the test bracket, and their function is to control the rotation of the tested roller.

[0028] In the above technical solution, further, the infrared filter film is used to filter out visible light to avoid the influence of visible light on the measurement results. The thickness of the infrared filter film is 0.05mm, and infrared light with a wavelength of more than 680nm can pass through.

[0029] In the above technical solution, further, the industrial camera is used to take pictures of the image formed on the infrared filter film, and the industrial camera uses a distortion-free industrial camera to reduce development workload and improve measurement accuracy.

[0030] In the above technical solution, further, the measurement control unit is the main control unit and calculation unit of the measurement process;

[0031] The measurement and control functions are mainly: controlling the on and off of the infrared light source array, controlling the rotation of the measured roller through the stepper motor, and reading the pictures taken from the industrial camera;

[0032] The calculation functions mainly include: image binarization processing, jitter detection and parallelism detection of the two long sides of the image.

[0033] The beneficial effects of the present invention are:

[0034] 1. The thermal printer roller detection method, the radiant light emitted by the infrared light source array is transformed into parallel light by a convex lens, the parallel light passes through a shading plate to form a parallel light beam of a rectangular surface, the parallel light beam irradiates the roller to be measured, and forms a projection of the roller to be measured on the infrared filter film, the measurement control unit controls the industrial camera to take pictures through the USB cable interface, and then reads the picture data of the industrial camera and displays it on the LCD display screen, the measurement control unit performs binarization processing on the picture data, identifies the two long sides of the projected image of the roller to be measured, highlights it and superimposes it on the picture data on the LCD display screen, the measurement control unit detects the parallelism and runout of the two long sides of the projected image of the roller to be measured, if it exceeds the standard, it prompts "unqualified" on the LCD display screen, the measurement control unit controls the stepper motor to drive the roller to be measured to rotate a subdivision angle (for example: 1°), jumps to the measurement control unit to control the industrial camera to take pictures through the USB cable interface, and then reads the picture data of the industrial camera and continues processing.

[0035] Among them, the measurement control unit may control the stepping motor to drive the measured roller to rotate 360°, and then prompt "qualified" on the LCD display screen.

[0036] At the same time, the measurement control unit superimposes the images at each angle and analyzes the conformity of the superimposed images. If they conform, it prompts "qualified", otherwise it prompts "unqualified".

[0037] 2. In the thermal printer roller detection method, the test bracket is used to fix the roller to be tested. The well-installed roller to be tested will fit perfectly with the gear change mechanism, so that the rotation of the roller can be controlled by the stepper motor. The stepper motor and the gear change mechanism are installed on the test bracket to control the rotation of the roller to be tested. The infrared filter film is used to filter out visible light to avoid the influence of visible light on the measurement results. The industrial camera is used to take pictures of the image formed on the infrared filter film. The industrial camera uses a distortion-free industrial camera to reduce the development workload and improve the measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a module diagram of the present invention;

[0039] Figure 2 It is a detection algorithm diagram of the measurement control unit of the present invention. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0041] In the description of the present application, it should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present application. For ease of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship. The technology, methods and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, methods and equipment should be regarded as part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as merely exemplary, rather than as a limitation. Therefore, other examples of the exemplary embodiments may have different values. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0042] It should be noted that, in the present application, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples. Embodiment 1:

[0043] See also Figure 1-Figure 2 As shown, this embodiment provides a roller detection method for a thermal printer.

[0044] include:

[0045] Infrared light source array, convex lens, shading plate, test bracket, stepper motor and gear conversion mechanism, infrared filter film, industrial camera and measurement control unit and LCD display;

[0046] The specific method includes the following steps:

[0047] Step S1: The measurement control unit lights up the infrared light source array;

[0048] Step S2: The radiant light emitted by the infrared light source array is transformed into parallel light by a convex lens;

[0049] Step S3: the parallel light rays pass through the shading plate to form a parallel light beam on a rectangular surface;

[0050] Step S4: a parallel light beam is irradiated onto the roller to be measured, and a projection of the roller to be measured is formed on the infrared filter film;

[0051] Step S5: The measurement control unit controls the industrial camera to take pictures through the USB cable interface, and then reads the image data of the industrial camera and displays it on the LCD display;

[0052] Step S6: the measurement control unit performs binarization processing on the image data, identifies the two long sides of the projection image of the measured roller, highlights them and superimposes them on the image data on the LCD display screen;

[0053] Step S7: The measuring control unit detects the parallelism and runout of the two long sides of the projected image of the measured roller, and if they exceed the standard, a prompt "unqualified" is displayed on the LCD display screen;

[0054] Step S8: the measurement control unit controls the stepper motor to drive the measured roller to rotate a subdivided angle (for example, 1°), and then jumps to step S5: continue processing;

[0055] Step S9: The measurement control unit superimposes the images at each angle and analyzes the conformity of the superimposed images. If they conform, a prompt of “qualified” is given; otherwise, a prompt of “unqualified” is given. Embodiment 2:

[0056] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0057] Among them, the detection algorithm of the measurement control unit is:

[0058] Check whether the roller surface is flat and whether the roller is bent by checking whether the two long sides are in a straight line;

[0059] Check whether the roller shape is regular by checking whether the two long sides are parallel;

[0060] Check the coaxiality and flatness by checking the runout on the two long sides;

[0061] Through the superposition of images at each angle, it is comprehensively determined whether the roller shape is regular, concentric, flat, or curved;

[0062] The perpendicular distance between the two parallel long sides is the roller diameter. Embodiment 3:

[0063] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0064] Among them, the infrared light source array is composed of 30 infrared emitting tubes, and the infrared wavelength is 850nm.

[0065] The convex lens is a rectangular convex lens, and its function is to convert the radiant infrared light emitted by the infrared light source array into parallel infrared light. Embodiment 4:

[0066] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0067] There is a rectangular opening in the middle area of ​​the shading plate, which is used to block useless stray light and only pass infrared light with good parallelism. Embodiment 5:

[0068] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0069] The test bracket is used to fix the roller to be tested. The well-installed roller to be tested will fit perfectly with the gear change mechanism, so that the rotation of the roller can be controlled by the stepper motor. Embodiment 6:

[0070] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0071] Among them, the stepper motor and the gear conversion mechanism are installed on the test bracket, and their function is to control the rotation of the tested roller. Embodiment 7:

[0072] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0073] Among them, the infrared filter film is used to filter out visible light to avoid the influence of visible light on the measurement results. The thickness of the infrared filter film is 0.05mm, and infrared light with a wavelength above 680nm can pass through. Embodiment 8:

[0074] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0075] Among them, the industrial camera is used to take pictures of images formed on the infrared filter film. The industrial camera uses a distortion-free industrial camera to reduce development workload and improve measurement accuracy. Embodiment 9:

[0076] This embodiment provides a thermal printer roller detection method, which, in addition to the technical solutions of the above embodiments, also has the following technical features.

[0077] Among them, the measurement control unit is the main control unit and calculation unit of the measurement process;

[0078] The measurement and control functions are mainly: controlling the on and off of the infrared light source array, controlling the rotation of the measured roller through the stepper motor, and reading the pictures taken from the industrial camera;

[0079] The calculation functions mainly include: image binarization processing, jitter detection and parallelism detection of the two long sides of the image.

[0080] When in use: the radiant light emitted by the infrared light source array is transformed into parallel light by the convex lens, and the parallel light passes through the shading plate to form a parallel light beam of a rectangular surface, which is irradiated on the roller to be measured, and forms a projection of the roller to be measured on the infrared filter film, and the measurement control unit controls the industrial camera to take pictures through the USB cable interface, and then reads out the picture data of the industrial camera and displays it on the LCD display screen, and the measurement control unit performs binarization processing on the picture data, identifies the two long sides of the projected image of the roller to be measured, highlights them and superimposes them on the picture data on the LCD display screen, and the measurement control unit detects the parallelism and runout of the two long sides of the projected image of the roller to be measured. If they exceed the standard, the LCD display screen prompts "unqualified", and the measurement control unit controls the stepper motor to drive the roller to be measured to rotate a subdivision angle (for example: 1°), and jumps to the measurement control unit to control the industrial camera to take pictures through the USB cable interface, and then reads out the picture data of the industrial camera and continues processing. Among them, the measurement control unit controls the stepper motor and drives the measured roller to rotate 360°, and then prompts "qualified" on the LCD display screen. At the same time, the measurement control unit superimposes the images of each angle and analyzes the conformity of the superimposed images. If it conforms, it prompts "qualified", otherwise it prompts unqualified. The test bracket is used to fix the tested roller. The well-installed tested roller will perfectly fit with the gear change mechanism to facilitate the control of the rotation of the roller by the stepper motor. The stepper motor and the gear change mechanism are installed on the test bracket, and their function is to control the rotation of the tested roller. The infrared filter film is used to filter out visible light to avoid the influence of visible light on the measurement results. The industrial camera is used to take pictures of the image formed on the infrared filter film. The industrial camera uses a distortion-free industrial camera to reduce development workload and improve measurement accuracy.

[0081] The embodiments of the present application are described above in conjunction with the accompanying drawings. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. Thermal printer roller detection method, It is characterized in that The detection device includes an infrared light source array, a convex lens, a shading plate, a test bracket, a stepping motor and a gear conversion mechanism, an infrared filter film, an industrial camera and a measurement control unit and an LCD display screen; The specific method of the thermal printer roller detection method comprises the following steps: Step S1: The measurement control unit lights up the infrared light source array; Step S2: The radiant light emitted by the infrared light source array is transformed into parallel light by a convex lens; Step S3: the parallel light rays pass through the shading plate to form a parallel light beam of a rectangular surface. A rectangular opening is opened in the middle area of ​​the shading plate, which is used to block useless stray light and only pass parallel infrared light; Step S4: a parallel light beam is irradiated on the roller to be measured, and a projection of the roller to be measured is formed on the infrared filter film. The infrared filter film is used to filter out visible light to avoid the influence of visible light on the measurement result. The thickness of the infrared filter film is 0.05 mm, and infrared light with a wavelength of more than 680 nm can pass through. Step S5: The measurement control unit controls the industrial camera to take pictures through the USB cable interface, and then reads the image data of the industrial camera and displays it on the LCD display; Step S6: the measurement control unit performs binarization processing on the image data, identifies the two long sides of the projection image of the measured roller, highlights them and superimposes them on the image data on the LCD display screen; Step S7: The measuring control unit detects the parallelism and runout of the two long sides of the projected image of the measured roller. If they exceed the standard, a "failed" prompt is displayed on the LCD display screen; Step S8: the measurement control unit controls the stepper motor to drive the measured roller to rotate a subdivision angle, and jumps to step S5: continue processing; Step S9: After the measurement control unit controls the stepper motor to drive the measured roller to rotate 360°, a "qualified" message is displayed on the LCD screen; Step S10: The measurement control unit superimposes the images at each angle and analyzes the conformity of the superimposed images. If they conform, it prompts "qualified", otherwise it prompts "unqualified"; The measurement control unit detection algorithm is: Check whether the roller surface is flat and whether the roller is bent by checking whether the two long sides are in a straight line; Check whether the roller shape is regular by checking whether the two long sides are parallel; Check the coaxiality and flatness by checking the runout on the two long sides; Through the superposition of images at each angle, it is comprehensively determined whether the roller shape is regular, concentric, flat, or curved; the vertical distance between the two parallel long sides is the roller diameter; The test bracket is used to fix the roller shaft to be tested. The well-installed roller shaft to be tested will fit with the gear change mechanism so that the rotation of the roller shaft can be controlled by the stepper motor. The stepper motor and the gear change mechanism are installed on the test bracket, and their function is to control the rotation of the tested roller; The industrial camera is used to take pictures of images formed on the infrared filter film, and the industrial camera is a distortion-free industrial camera.

2. The thermal printer roller detection method according to claim 1, It is characterized in that The infrared light source array is composed of 30 infrared emitting tubes, and the infrared wavelength is 850nm.

3. The thermal printer roller detection method according to claim 1, It is characterized in that The convex lens is a rectangular convex lens, and its function is to convert the radiant infrared light emitted by the infrared light source array into flat infrared light.

4. The thermal printer roller detection method according to claim 1, It is characterized in that The measurement control unit includes a main control unit and a calculation unit of the measurement process; The measurement and control functions are: controlling the on and off of the infrared light source array, controlling the rotation of the measured roller through the stepper motor, and reading the pictures taken from the industrial camera; The calculation functions include: image binarization, image jitter detection and parallelism detection of the two long sides of the image.