A method of determining tension of a ribbon, a printer, and a storage medium

By using a constant light source and an illuminance sensor to measure the light intensity of the ribbon in the printer, the problem of difficult tension measurement in existing technologies has been solved, achieving non-contact, high-precision tension measurement and improving the safety and efficiency of printer operation.

CN117021799BActive Publication Date: 2026-02-27SHANGHAI DIKAI CODING IND
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310996661.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-08
Publication Date
2026-02-27
Estimated Expiration
2043-08-08

AI Technical Summary

Technical Problem

Existing ribbon tension measurement technology based on force sensors has problems such as difficult installation, susceptibility to external interference, and easy wear of the ribbon, making it difficult to apply on a large scale. In addition, printers are prone to uneven tension when the ribbon roll radius is inconsistent, which affects print quality.

Method used

A constant light source and an illuminance sensor are used to measure the light intensity of the ribbon. By comparing the real-time light intensity with the reference light intensity, the tension of the ribbon is determined, achieving non-contact, high-precision tension measurement.

Benefits of technology

It achieves non-contact, high-precision tension measurement, avoiding ribbon entanglement with other components and improving the printer's operational safety and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117021799B_ABST
    Figure CN117021799B_ABST
Patent Text Reader

Abstract

The application discloses a color band tension determination method, a printer and a storage medium. The application relates to the technical field of printers and is applied to a printer. The method comprises the following steps: obtaining real-time illumination intensity based on an illumination sensor during printer operation; determining whether the real-time illumination intensity is greater than or equal to a reference illumination intensity, wherein the reference illumination intensity is the illumination intensity of constant light emitted by a light source and passing through a color band when the color band is not stretched in a standby state of the printer; and if the real-time illumination intensity is greater than or equal to the reference illumination intensity, determining the tension of the color band according to the real-time illumination intensity and the reference illumination intensity. According to the technical scheme of the application, the real-time illumination intensity is obtained during the operation of the printer, and when the real-time illumination intensity is greater than or equal to the reference illumination intensity, the tension of the color band is determined according to the real-time illumination intensity and the reference illumination intensity, the slack state of the color band is determined, and non-contact and high-precision tension measurement can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of printers, and particularly relates to a method for determining tension of a ribbon, a printer and a storage medium. BACKGROUND

[0002] With the development of thermal transfer printer technology, the requirement for printing accuracy is increasingly improved.

[0003] At present, in the actual engineering application process of the printer, the radii of the two ribbon rolls of the printer are different, and the take-up and release of the ribbon are often inconsistent, which can result in two phenomena: (1) the ribbon is elongated, resulting in a large tension of the ribbon, and further resulting in printing deviation, reducing the printing quality, and even possibly breaking the ribbon; (2) the ribbon is relaxed, which makes it difficult to control the printing of the ribbon. Therefore, judging whether the tension of the ribbon is generated and calculating the size of the tension are important means to improve the printing quality. However, the existing ribbon tension measurement technology based on a force sensor has the disadvantages of difficult installation, being easily affected by external interference, and easily wearing the ribbon, which leads to difficult large-scale application. SUMMARY

[0004] The present application provides a method for determining tension of a ribbon, a printer and a storage medium, which aims to judge the relaxed state of the ribbon of the printer by using a constant light source, and to realize non-contact and high-precision tension measurement.

[0005] According to an aspect of the present application, a printer is provided, the printer comprising a housing and a printing mechanism arranged in the housing, characterized in that the printing mechanism comprises: a first stepper motor, a first ribbon roll, a second ribbon roll, a second stepper motor, a ribbon, a print head, a light source and a light intensity sensor; wherein,

[0006] The two ends of the ribbon are wound on the first ribbon roll and the second ribbon roll respectively; the first ribbon roll releases the ribbon under the driving of the first stepper motor, and the second ribbon roll recovers the ribbon under the driving of the second stepper motor;

[0007] The light intensity sensor and the light source are oppositely arranged and located on the two sides of the ribbon respectively; the light source is used for emitting constant light; and the light intensity sensor is used for measuring the light intensity of the constant light passing through the ribbon.

[0008] The print head is arranged in contact with the ribbon, and is used for performing a printing operation.

[0009] Optionally, at least two rotating shafts; the ribbon is wound through each rotating shaft in sequence.

[0010] Optionally, the number of rotating shafts is 2; the contact position of the ribbon with the print head is located between the two rotating shafts; and the position where the constant light emitted by the light source irradiates on the ribbon is located between the two rotating shafts.

[0011] According to another aspect of the present application, there is provided a method for determining tension of a ribbon, applied to any printer, comprising:

[0012] During operation of the printer, obtaining real-time illumination intensity based on the illumination sensor;

[0013] Determining whether the real-time illumination intensity is greater than or equal to a reference illumination intensity, wherein the reference illumination intensity is the illumination intensity of constant light emitted by the light source passing through the ribbon when the printer is in a standby state and the ribbon is not stretched;

[0014] If the real-time illumination intensity is greater than or equal to the reference illumination intensity, determining the tension of the ribbon according to the real-time illumination intensity and the reference illumination intensity.

[0015] Optionally, determining the tension of the ribbon according to the real-time illumination intensity and the reference illumination intensity comprises: determining an illumination ratio according to the real-time illumination intensity and the reference illumination intensity; and determining the tension of the ribbon according to the illumination ratio.

[0016] Optionally, determining the tension of the ribbon according to the illumination ratio comprises: searching for the tension of the ribbon in a tension-illumination ratio table according to the illumination ratio; or determining a constant parameter of the ribbon; and determining the tension of the ribbon according to the constant parameter and the illumination ratio.

[0017] Optionally, the tension of the ribbon f = g · ln(l Δ ) ; wherein g is a constant parameter, l Δ is the illumination ratio, l0 is the reference illumination intensity, and l is the real-time illumination intensity.

[0018] Optionally, determining the constant parameter of the ribbon comprises: obtaining basic parameters of the ribbon, the basic parameters comprising width q, unit length absorbance c, Poisson ratio v, and elastic modulus E; and determining the constant parameter of the ribbon according to the basic parameters

[0019] Optionally, determining the constant parameter of the ribbon comprises: obtaining a first calibration illumination intensity and a second calibration illumination intensity of the illumination sensor; wherein the first calibration illumination intensity is the illumination intensity of constant light emitted by the light source passing through the ribbon when the printer is in a calibration state and the ribbon is not stretched, and the second calibration illumination intensity is the illumination intensity of constant light emitted by the light source passing through the ribbon when the printer is in the calibration state and a calibration tension is applied to the ribbon; and determining the constant parameter of the ribbon according to the first calibration illumination intensity, the second calibration illumination intensity, and the calibration tension wherein, is the calibration tension, l is the second calibration illumination intensity, and l0 is the first calibration illumination intensity.

[0020] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method of determining the tension of the color band according to any of the embodiments of the present application when executed.

[0021] The technical solution of the present application obtains the real-time illumination intensity based on the illumination sensor during the operation of the printer; determines whether the real-time illumination intensity is greater than or equal to the reference illumination intensity, wherein the reference illumination intensity is the illumination intensity of the constant light emitted by the light source passing through the color band when the color band is not stretched in the standby state of the printer; and determines the tension of the color band according to the real-time illumination intensity and the reference illumination intensity if the real-time illumination intensity is greater than or equal to the reference illumination intensity. The technical solution of the present application obtains the real-time illumination intensity during the operation of the printer, and determines the tension of the color band according to the real-time illumination intensity and the reference illumination intensity if the real-time illumination intensity is greater than or equal to the reference illumination intensity, so as to judge the slack state of the color band, thereby realizing the non-contact and high-precision tension measurement.

[0022] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the present application, the drawings required in the following embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0024] Figure 1 is a structural schematic diagram of a printing structure provided by embodiment one;

[0025] Figure 2 is a flow chart of a method for determining the tension of a color band provided by embodiment two;

[0026] Figure 3 is a flow chart of a method for determining the tension of a color band provided by embodiment three;

[0027] Figure 4 is a structural schematic diagram of a printing structure when the color band is in a slack state provided by embodiment three;

[0028] Figure 5 is a sectional view of a color band provided by embodiment three.

[0029] The accompanying drawings are included to provide a further understanding of the present application and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the present application and, together with the description, serve to explain the principles of the present application. In the drawings: DETAILED DESCRIPTION

[0030] For those skilled in the art to better understand the present application, the technical solutions of the present application will be described clearly and completely below in combination with the drawings of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.

[0031] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0032] Embodiment one

[0033] Figure 1 is a structural schematic diagram of a printing structure provided by embodiment one, and the present embodiment can be applied to the tension determination condition of a printer. As shown in the figure, the printer comprises a shell and a printing mechanism arranged in the shell. The printing mechanism 1 comprises a first stepping motor 10, a first ribbon roll 11, a second ribbon roll 12, a second stepping motor 13, a ribbon 14, a print head 15, a light source 16 and a light intensity sensor 17. Figure 1

[0034] Among them, two ends of the ribbon 14 are wound on the first ribbon roll 11 and the second ribbon roll 12 respectively; the first ribbon roll 11 releases the ribbon 14 under the driving of the first stepping motor 10, and the second ribbon roll 12 recycles the ribbon 14 under the driving of the second stepping motor 13.

[0035] ​The printing mechanism 1 is an internal structure of the printer. The printing mechanism 1 comprises a first stepper motor 10, a first ribbon roll 11, a second ribbon roll 12, a second stepper motor 13, a ribbon 14, a print head 15, a light source 16 and a light intensity sensor 17, and further comprises a fixed back plate 18. The first ribbon roll 11 is connected with the first stepper motor 10, and the second ribbon roll 12 is connected with the second stepper motor 13. The first stepper motor 10 is a release stepper motor, which is used to drive the first ribbon roll 11 to release the ribbon 14. The second stepper motor 13 is a recycling stepper motor, which is used to drive the second ribbon roll 12 to recycle the ribbon 14. The first stepper motor 10, the second stepper motor 13, the print head 15, the light source 16 and the light intensity sensor 17 are all fixed on the fixed back plate 18 through a fixed column 19.

[0036] In an embodiment, the light intensity sensor 17 and the light source 16 are oppositely arranged and respectively located at two sides of the ribbon 14. The light source 16 is used to emit constant light. The light intensity sensor 17 is used to measure the light intensity of the constant light passing through the ribbon 14.

[0037] In an embodiment, the light source 16 has constant power and color temperature, for example, can adopt a light emitting diode (Led) lamp and a laser light source, etc. The embodiment does not limit this. The light intensity sensor 17 is used to measure the light intensity of the light passing through the ribbon 14 and display and output the measured light intensity.

[0038] In an embodiment, the print head 15 is arranged in contact with the ribbon 14, which is used to perform a printing operation.

[0039] Specifically, when the printer starts to work, the first stepper motor 10 drives the first ribbon roll 11 to release the ribbon 14, and then the ribbon 14 passes between the light intensity sensor 17 and the light source 16, completes printing at the print head 15, and then is recycled by the second stepper motor 13.

[0040] In an embodiment, the printing mechanism 1 in the shell further comprises at least two rotating shafts 20. The ribbon 14 passes through each rotating shaft 20 in turn.

[0041] In an embodiment, the number of rotating shafts 20 is two. The contact position of the ribbon 14 with the print head 15 is located between the two rotating shafts 20. The position where the constant light emitted by the light source 16 irradiates on the ribbon 14 is located between the two rotating shafts 20.

[0042] Specifically, the first stepper motor 10 drives the first ribbon roll 11 to release the ribbon 14, and then the ribbon 14 passes through the rotating shaft 20, passes between the light intensity sensor 17 and the light source 16, completes printing at the print head 15, passes through the rotating shaft 20 again, and finally is recycled by the second stepper motor 13.

[0043] The advantage of such an arrangement is that the ribbon 14 can be properly released and recovered by the rotating shaft 20, improving the efficiency and safety of printing while avoiding the ribbon 14 from being entangled with other components.

[0044] The technical scheme of the embodiment comprises a printer including a housing 0 and a printing mechanism 1 arranged in the housing 0. The printing mechanism 1 comprises a first stepper motor 10, a first ribbon roll 11, a second ribbon roll 12, a second stepper motor 13, a ribbon 14, a print head 15, a light source 16 and a light intensity sensor 17. The two ends of the ribbon 14 are wound on the first ribbon roll 11 and the second ribbon roll 12 respectively. The first ribbon roll 11 releases the ribbon 14 under the driving of the first stepper motor 10, and the second ribbon roll 12 recovers the ribbon 14 under the driving of the second stepper motor 13. The light intensity sensor 17 and the light source 16 are oppositely arranged and located on the two sides of the ribbon 14 respectively. The light source 16 is used to emit constant light, and the light intensity sensor 17 is used to measure the light intensity of the constant light passing through the ribbon 14. The print head 15 is in contact with the ribbon 14 and is used to perform printing operation. In the technical scheme of the embodiment, the first stepper motor 10 drives the first ribbon roll 11 to release the ribbon 14, and then the ribbon 14 passes through the rotating shaft 19, the light intensity sensor 17 and the light source 16, and completes printing at the print head 15. After that, the ribbon 14 passes through the rotating shaft 19 again, and finally the second stepper motor 13 drives the second ribbon roll 12 to recover the ribbon 14. The light intensity sensor 17 and the light source 16 detect the light intensity of the ribbon 14 in real time, so as to determine the tension of the ribbon 14, adjust the release speed of the second stepper motor 13 and the first stepper motor 10, keep the ribbon 14 working normally, and improve the safety of the printer.

[0045] Embodiment Two

[0046] Figure 2 is a flowchart of a tension determination method of a ribbon provided by Embodiment Two. The embodiment can be applied to the tension determination of a printer, and the method can be executed by the printer and applied to the printer. As shown in Figure 2 , the method comprises the following steps.

[0047] S201, in the process of running the printer, acquiring real-time light intensity based on a light intensity sensor.

[0048] The light intensity sensor is arranged in the printer and is used to detect light intensity. The working principle is to convert the light intensity value into a voltage value.

[0049] Specifically, in the process of running the printer, the real-time light intensity of the ribbon is directly acquired based on the light intensity sensor.

[0050] S202, determine whether the real-time illumination intensity is greater than or equal to the reference illumination intensity.

[0051] The reference illumination intensity is the illumination intensity of the constant light emitted by the light source passing through the color band when the printer is in a standby state and the color band is not stretched.

[0052] Specifically, it is determined whether the obtained real-time illumination intensity is greater than or equal to the reference illumination intensity. If the real-time illumination intensity is less than the reference illumination intensity, it is determined that the color band is not relaxed, and the execution of S201 is returned. If the real-time illumination intensity is greater than or equal to the reference illumination intensity, S203 is executed.

[0053] S203, determining the tension of the color band according to the real-time illumination intensity and the reference illumination intensity.

[0054] Specifically, if the real-time illumination intensity is greater than or equal to the reference illumination intensity, it is determined that the color band is relaxed, and the ratio of the reference illumination intensity to the real-time illumination intensity is determined according to the real-time illumination intensity and the reference illumination intensity. The tension of the color band is determined based on the ratio of the reference illumination intensity to the real-time illumination intensity.

[0055] Further, the ratio of the reference illumination intensity to the real-time illumination intensity is searched for the tension of the color band in a pre-established tension and illumination ratio contrast table of the tension and illumination ratio of the color band. The constant parameter is determined according to the width q, the unit length absorbance c, the Poisson ratio v and the elastic modulus E, and the tension of the color band is determined according to the constant parameter and the ratio of the reference illumination intensity to the real-time illumination intensity. The constant parameter is determined according to the illumination intensity of the constant light emitted by the light source passing through the color band when the printer is in a calibration state and the color band is not stretched, the illumination intensity of the constant light emitted by the light source passing through the color band when the printer is in a calibration state and the color band is applied with a calibration tension, and the calibration tension. Finally, the tension of the color band is determined according to the constant parameter and the ratio of the reference illumination intensity to the real-time illumination intensity.

[0056] The advantage of such setting is that by determining the tension of the color band, it is determined whether the color band is in a stretched state or a relaxed state. When it is determined that the color band is relaxed, the rotation speed of the first stepping motor can be reduced or the rotation speed of the second stepping motor can be increased. When it is determined that the color band is stretched, the rotation speed of the first stepping motor can be increased or the rotation speed of the second stepping motor can be reduced, thereby avoiding the color band winding other components and improving the working efficiency and safety of the printer.

[0057] The technical scheme of the embodiment, in the process of printer operation, obtains real-time illumination intensity based on an illumination sensor; determines whether the real-time illumination intensity is greater than or equal to a reference illumination intensity, wherein the reference illumination intensity is the illumination intensity of constant light emitted by a light source passing through a ribbon when the printer is in a standby state and the ribbon is not stretched; if the real-time illumination intensity is greater than or equal to the reference illumination intensity, determines the tension of the ribbon according to the real-time illumination intensity and the reference illumination intensity. The technical scheme of the embodiment, by obtaining the real-time illumination intensity in the process of printer operation, when the real-time illumination intensity is greater than or equal to the reference illumination intensity, determines the tension of the ribbon according to the real-time illumination intensity and the reference illumination intensity, judges the slack state of the ribbon, and can realize non-contact and high-precision tension measurement.

[0058] Embodiment three

[0059] Figure 3 is a flowchart of a ribbon tension determination method provided by embodiment three, and the embodiment can be applied to the tension determination of a printer. The method can be executed by a printer and applied to the printer. On the basis of the above-mentioned embodiments, the determination of the tension of the ribbon according to the real-time illumination intensity and the reference illumination intensity is further optimized, and the specific steps are as shown in Figure 3 , and the method comprises:

[0060] S301, in the process of printer operation, obtaining real-time illumination intensity based on an illumination sensor.

[0061] Specifically, in the process of printer operation, the real-time illumination intensity of the ribbon is directly obtained based on the illumination sensor.

[0062] S302, determining whether the real-time illumination intensity is greater than or equal to a reference illumination intensity.

[0063] The reference illumination intensity is the illumination intensity of constant light emitted by a light source passing through a ribbon when the printer is in a standby state and the ribbon is not stretched.

[0064] Specifically, it is determined whether the obtained real-time illumination intensity is greater than or equal to the reference illumination intensity. If the real-time illumination intensity is less than the reference illumination intensity, it is determined that the ribbon is not slack, and the execution of S301 is returned. If the real-time illumination intensity is greater than or equal to the reference illumination intensity, S303 is executed.

[0065] S303, determining an illumination ratio according to the real-time illumination intensity and the reference illumination intensity.

[0066] The illumination ratio is the ratio of the reference illumination intensity to the real-time illumination intensity.

[0067] Specifically, if the real-time illumination intensity is greater than or equal to the reference illumination intensity, the illumination ratio is determined according to a ratio of the real-time illumination intensity and the reference illumination intensity.

[0068] In S304, the tension of the color band is determined according to the illumination ratio.

[0069] In one embodiment, the tension of the color band is determined according to the illumination ratio, including: according to the illumination ratio, searching for the tension of the color band in a tension-illumination ratio table.

[0070] The tension-illumination ratio table is a pre-established comparison relationship between the tension and the illumination ratio of the color band, and the specific comparison relationship of the tension-illumination ratio table depends on the model of the color band and is irrelevant to the constant light source. After completing the calibration of a certain model of color band once, the tension-illumination ratio table can be directly obtained.

[0071] Specifically, after the illumination ratio is determined, the tension of the color band is directly searched and determined in the tension-illumination ratio table according to the illumination ratio.

[0072] In one embodiment, the tension of the color band is determined according to the illumination ratio, including: determining a constant parameter of the color band; and determining the tension of the color band according to the constant parameter and the illumination ratio.

[0073] In one embodiment, the constant parameter of the color band is determined, including: obtaining a basic parameter of the color band; and determining the constant parameter of the color band according to the basic parameter.

[0074] The basic parameter includes width q, unit length absorbance c, Poisson ratio v, and elastic modulus E.

[0075] Specifically, the constant parameter is

[0076] In one embodiment, the constant parameter of the color band is determined, including: obtaining a first calibration illumination intensity and a second calibration illumination intensity of an illumination sensor; and determining the constant parameter of the color band according to the first calibration illumination intensity, the second calibration illumination intensity, and a calibration tension.

[0077] The first calibration illumination intensity is the illumination intensity of the constant light emitted by the light source passing through the color band when the printer is in a calibration state and the color band is not stretched, and the second calibration illumination intensity is the illumination intensity of the constant light emitted by the light source passing through the color band when the printer is in the calibration state and the calibration tension is applied to the color band.

[0078] Wherein, is the calibration tension, is the second calibration illumination intensity, is the first calibration illumination intensity.

[0079] Specifically, the constant parameter of the color band is determined according to the first calibration illumination intensity and the second calibration illumination intensity of the illumination sensor, and the calibration tension, by acquiring the first calibration illumination intensity and the second calibration illumination intensity of the illumination sensor.

[0080] Specifically, the tension f of the color band is g·ln(l Δ ); wherein g is a constant parameter, l Δ is an illumination ratio, l0 is a reference illumination intensity, and l is a real-time illumination intensity.

[0081] On the basis of the above embodiment, for example, first consider that the color band is just tensionless and not relaxed, at this time the angle between the light source and the normal vector of the color band is 0, at this time the reflectivity of the color band is at a minimum value due to the zero angle, and the minimum surface reflectivity is recorded as b0. Due to the existence of color band surface reflection and color band material absorption, the reference illumination intensity l0 obtained by the illumination sensor is wherein r is the illumination intensity received by the illumination sensor when there is no color band between the illumination sensor and the light source, a0 and a0 is the total absorption of the color band when there is no tension. The total absorption a0 of the color band is cp0. Therefore, the reference illumination intensity l0 is determined as

[0082] Considering the state of the color band relaxation, Figure 4 is a structural schematic diagram of a printing structure when the color band is in a relaxed state, as Figure 4 shown, based on the angle θ between the light and the normal vector of the color band, the color band has a stronger reflection phenomenon, and its reflectivity is recorded as b>b0. The real-time illumination intensity l obtained by the sensor is Due to b>b0, the real-time illumination intensity l of the color band in the relaxed state is less than the reference illumination intensity l0 in the critical state. Considering the case where there is tension, since the color band is straightened due to the tension, the angle between the light and the normal vector of the color band is also 0, and l is determined as e -cp (1-b0)r. Based on l=e -cp (1-b0)r and p0-p=ln(l / l0) / c is determined, wherein p=p0(1+ε z ), so that ln(l / l0) / c=-p0ε z . Wherein ε z is the vertical z-direction linear strain of the color band;

[0083] Figure 5 is a sectional view of the color band, as Figure 5 shown, indicating the strain of the color band in the x, y and z directions, the width q of the color band, and the absorption p of the color band. Since the color band is within the elastic range, the axial linear strain and the transverse linear strain existz =-υε x The relationship, ε x For the linear strain in the axial x-direction, ε z =-υε x Substituting ln(l / l0) / c=-p0ε z Determine ln(l / l0) / c=p0υε x Furthermore, based on stress-strain σ x =Eε x Substituting ln(l / l0) / c=p0υε x Determine ln(l / l0) / c=p0υσ x / E, further based on stress σ x =f / (p0q) determines the tension

[0084] Furthermore, by introducing a constant parameter Compared to light Thus, the tension of the ribbon is determined as f = g·ln(l Δ ).

[0085] The technical solution of this embodiment acquires real-time light intensity based on a light intensity sensor during printer operation; determines whether the real-time light intensity is greater than or equal to a reference light intensity, where the reference light intensity is the constant light intensity emitted by the light source when the ribbon is not stretched and passes through the ribbon in the printer's ready state; if the real-time light intensity is greater than or equal to the reference light intensity, the illuminance ratio is determined based on the real-time light intensity and the reference light intensity, and the ribbon tension is determined based on the illuminance ratio. This invention, by acquiring real-time light intensity during printer operation, determining the illuminance ratio based on the real-time light intensity and the reference light intensity when the real-time light intensity is greater than or equal to the reference light intensity, and finally determining the ribbon tension based on the illuminance ratio, and judging the ribbon's slack state based on the determined ribbon tension, allows for timely adjustment based on the ribbon's slack state, preventing the ribbon from tangling with other components, and achieves non-contact, high-precision tension measurement.

[0086] Example 4

[0087] This fourth embodiment also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a ribbon tension determination method applicable to any printer; the method includes:

[0088] During printer operation, real-time light intensity is obtained based on a light intensity sensor;

[0089] determining whether the real-time light intensity is greater than or equal to a reference light intensity, wherein the reference light intensity is a constant light intensity of the light emitted by the light source passing through the color band when the color band is not stretched in the standby state of the printer;

[0090] if the real-time light intensity is greater than or equal to the reference light intensity, determining the tension of the color band according to the real-time light intensity and the reference light intensity.

[0091] Of course, the storage medium provided by the embodiment of the present application contains computer executable instructions, which are not limited to the method operations as above, but can also perform the related operations in the tension determination of the color band provided by any embodiment of the present application.

[0092] From the above description of the embodiments, those skilled in the art can clearly understand that the present application can be realized by means of software and necessary universal hardware, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a floppy disk, a read-only memory (ROM), a random access memory (RAM), a FLASH memory, a hard disk or an optical disk, etc., and includes a number of instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods of various embodiments of the present application.

[0093] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent replacement and improvement within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method of determining the tension of a ribbon, characterized by, The application is applied to a printer, which comprises a shell and a printing mechanism arranged in the shell, and the printing mechanism comprises a first stepper motor, a first ribbon roll, a second ribbon roll, a second stepper motor, a ribbon, a print head, a light source and a light intensity sensor; wherein two ends of the ribbon are wound on the first ribbon roll and the second ribbon roll respectively; the first ribbon roll releases the ribbon under the driving of the first stepper motor, and the second ribbon roll recycles the ribbon under the driving of the second stepper motor; the light intensity sensor and the light source are oppositely arranged and are respectively located on two sides of the ribbon; the light source is used for emitting constant light; the light intensity sensor is used for measuring the light intensity of the constant light passing through the ribbon; the print head is arranged in contact with the ribbon and is used for performing a printing operation; the method comprises: During the operation of the printer, the real-time light intensity is acquired based on the light intensity sensor; It is determined whether the real-time light intensity is greater than or equal to a reference light intensity, wherein the reference light intensity is the light intensity of the constant light emitted by the light source passing through the ribbon when the printer is in a standby state, the ribbon is not stretched and is not relaxed; If the real-time light intensity is greater than or equal to the reference light intensity, the tension of the ribbon is determined according to the real-time light intensity and the reference light intensity; The determination of the tension of the ribbon according to the real-time light intensity and the reference light intensity comprises: The light ratio is determined according to the real-time light intensity and the reference light intensity; The constant parameter of the ribbon is determined; determining a tension of the ribbon based on the constant parameter and the illumination ratio; the tension of the ribbon ; wherein, the constant parameter is the illumination ratio is , the reference illumination intensity is the real-time illumination intensity is The determining the constant parameters of the color band comprises: acquiring basic parameters of the color band, the basic parameters comprising width , unit length absorbance , Poisson ratio , and elastic modulus ; and determining the constant parameters of the color band according to the basic parameters .

2. The method of tension determination of a ribbon according to claim 1, wherein, The printer further comprises at least two rotating shafts; the ribbon passes through each rotating shaft in sequence.

3. The method of tension determination of a ribbon according to claim 2, wherein, The number of the rotating shafts is two; the contact position of the ribbon and the print head is located between the two rotating shafts; The position, at which the constant light emitted by the light source irradiates on the ribbon, is located between the two rotating shafts.

4. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, and the computer instructions are used for making the processor execute the tension determination method of the ribbon in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Web tension measuring device and method

    JP2007246184A

  • Tape drive with non-contact optical tape tension sensor

    US20040041528A1