Ink supply device, ink supply method, and ink jet printing device

JP2025049946A5Pending Publication Date: 2026-07-09SCREEN HOLDINGS CO LTD

Patent Information

Authority / Receiving Office
JP Β· JP
Patent Type
Applications
Current Assignee / Owner
SCREEN HOLDINGS CO LTD
Filing Date
2023-09-22
Publication Date
2026-07-09

AI Technical Summary

Technical Problem

Existing methods for detecting the remaining ink amount in ink tanks of inkjet printing devices face challenges such as inaccurate calculations due to pump variability, durability issues with floats, and the need for dedicated configurations for level detection.

Method used

An ink supply device with a tank support mechanism that adjusts the vertical position or tilt of the tank based on its weight, combined with an image pickup unit and image analysis unit to determine the remaining ink amount from captured image data.

Benefits of technology

This solution provides accurate detection of the remaining ink amount with a simple structure and low maintenance costs, outperforming methods that rely on float durability or pump operation time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To accurately detect an ink residual amount in a tank for storing the ink with a low maintenance cost and a simple structure in an ink supply device.SOLUTION: A trapezoidal part 31a in a body 31 of an ink supply device 30 of an ink jet printing device is provided with a plate-like member 331 rotatable about a rotation axis 331a and a tank support mechanism 330 configured to rotate in accordance with the weight of an ink tank 32 using an elastic member 332. A label 51 of a QR code (registered trademark) registering ink information is stuck to a backside 32B of the ink tank 32. A control unit 100 performs image analysis using imaging data by a camera 41 for imaging the label 51, calculates inclination of the ink tank 32 on the basis of an interval or the like between the upper side and the lower side of the label 51 in the captured image, and determines an ink residual amount in the ink tank 32 from this inclination.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an ink supply device and an inkjet printing device equipped with the same, and more particularly to detection of the amount of ink remaining in an ink tank that stores ink in an ink supply device. [Background technology]

[0002] In an inkjet printing device, an image is formed on a recording medium such as a long sheet of printing paper being conveyed by ejecting ink onto the recording medium. C (cyan), M (magenta), Y (yellow), and K (black) inks are usually used as the inks ejected onto the recording medium. For example, in a commercial inkjet printing device, an ink supply device that supplies the C, M, Y, and K inks is provided separately from the printing device main body. The ink supply device includes tanks (also called "main tanks") that store the C, M, Y, and K inks, respectively, and pumps for moving the C, M, Y, and K inks, and the remaining amount of ink in each tank is detected while the inkjet printing device is in operation.

[0003] In such a configuration, the amount of ink remaining in each tank can be detected, for example, by calculating the amount of ink based on the driving time of a pump for moving the ink in the tank, or by detecting the ink level in the tank using a float, etc. Also known are methods for optically detecting the position of the ink level in the tank using the blocking, transmission, or refraction of light from a light source, and methods for capturing an image of the ink level with an imaging device (see, for example, JP 2008-200955 A and JP 2020-19243 A). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2008-200955 A [Patent Document 2] JP 2020-19243 A [Patent Document 3] JP 2020-49660 A Summary of the Invention [Problem to be solved by the invention]

[0005] Among the above conventional methods for detecting the remaining amount of ink in a tank (hereinafter referred to as an "ink tank") that stores ink used in an inkjet printing device, the method of calculating the remaining amount of ink from the driving time of a pump does not necessarily provide sufficient detection accuracy for the remaining amount of ink because the pump's liquid delivery capacity varies depending on the pump start-up time, deterioration over time, etc. Also, the method of detecting the ink level in an ink tank using a float has problems with the durability of the float and the need for regular cleaning. Furthermore, the method of detecting the ink level using a float, the method of optically detecting the ink level, and the method of imaging the ink level require a dedicated configuration to implement these methods.

[0006] Therefore, it is desirable to accurately detect the remaining amount of ink in a tank that stores ink in an ink supply device using a simple configuration with low maintenance costs. [Means for solving the problem]

[0007] A first aspect of the present invention is an ink supply device, comprising: A tank for storing ink; a support mechanism that supports the tank such that a vertical position or an inclination of the tank changes according to a weight of the tank, the support mechanism including an elastic member that supports a bottom surface of the tank; an imaging unit that images the tank and generates imaging data showing at least a portion of the tank; an image analysis unit that determines the vertical position or the inclination based on the imaging data; and a remaining ink amount determination unit that determines the remaining amount of ink in the tank based on the vertical position or the inclination determined by the image analysis unit.

[0008] A second aspect of the present invention relates to a method for producing a composition according to the first aspect of the present invention, The tank has a front surface, a back surface and two sides; the support mechanism is configured to support the tank such that lower sides of the two side surfaces are inclined relative to a horizontal direction in response to a weight of the tank, the imaging unit is disposed at a position capable of imaging one of the front surface, the back surface, and the two side surfaces, the image analysis unit extracts a specific pattern in an image represented by the imaging data based on the imaging data, and determines the inclination based on the extracted specific pattern; The remaining ink amount determination unit determines the remaining ink amount based on the slope determined by the image analysis unit.

[0009] A third aspect of the present invention relates to a method for producing a composition according to the second aspect of the present invention, the imaging unit is disposed at a position capable of imaging one of the front surface and the back surface, a label is affixed to said one surface; the specific pattern is two linear patterns indicating the upper and lower ends of the label, The image analysis unit obtains a distance between the two linear patterns in the image represented by the imaging data, and obtains the inclination based on the distance.

[0010] A fourth aspect of the present invention relates to a method for producing a composition according to the second aspect of the present invention, the imaging unit is disposed at a position capable of imaging one of the two side surfaces, the specific pattern is a linear pattern indicating a lower side of the one surface, The image analysis unit determines, as the inclination, an angle that the linear pattern makes with respect to a horizontal direction in the image represented by the imaging data.

[0011] A fifth aspect of the present invention relates to a method for producing a composition according to the second aspect of the present invention, the imaging unit is disposed at a position capable of imaging one of the front surface and the back surface, a mark including two indicators spaced apart in a vertical direction is provided on one of the front surface and the back surface; the specific pattern is a pattern showing the two indicators, The image analysis unit obtains a distance between the two indices in an image represented by the imaging data, and obtains the inclination based on the distance.

[0012] A sixth aspect of the present invention relates to a method for producing a composition according to the first aspect of the present invention, the support mechanism supports the tank such that the tank does not tilt and the vertical position of the tank changes in response to the weight of the tank, The tank has a front surface, a back surface and two sides; the imaging unit is disposed at a position capable of imaging one of the front surface, the back surface, and the two side surfaces, The image analysis unit extracts a specific pattern in an image represented by the imaging data based on the imaging data, and determines a vertical position of the extracted specific pattern; The remaining ink amount determination unit determines the remaining ink amount based on the vertical position of the specific pattern determined by the image analysis unit.

[0013] A seventh aspect of the present invention relates to a method for producing a composition according to the sixth aspect of the present invention, The specific pattern is a linear pattern indicating the upper side or the lower side of the one surface.

[0014] An eighth aspect of the present invention relates to a method for producing a composition according to the sixth aspect of the present invention, a label is affixed to said one surface; The specific pattern is a linear pattern indicating the top or bottom edge of the label.

[0015] A ninth aspect of the present invention relates to a method for producing a composition according to the sixth aspect of the present invention, A mark including an index is provided on the one surface, the specific pattern is a pattern indicating the index, The image analysis unit determines a vertical position of the index in the image represented by the imaging data, The remaining ink amount determination unit determines the remaining ink amount based on the vertical position of the indicator determined by the image analysis unit.

[0016] A tenth aspect of the present invention relates to a method for producing a composition comprising the steps of: the label is a label including a QR code (registered trademark) that records ink information, The image analysis unit acquires the ink information from the imaging data.

[0017] An eleventh aspect of the present invention relates to a method for producing a composition according to the fifth or ninth aspect of the present invention, the mark is a QR code that records ink information related to the ink stored in the tank to which the mark is attached, The image analysis unit acquires the ink information from the imaging data.

[0018] A twelfth aspect of the present invention is an inkjet printing apparatus comprising: A conveying mechanism for conveying a long recording medium; a recording head that ejects ink onto the recording medium; a print execution control unit that controls the recording head and the transport mechanism so that a print image is formed on the recording medium; and an ink supply device according to any one of the first to eighth aspects, which supplies ink to be ejected by the recording head.

[0019] A thirteenth aspect of the present invention is an ink supplying method for supplying ink from a tank that stores ink in an ink supplying device, comprising: an ink remaining amount detection step for detecting the amount of ink remaining in the tank; The ink supply device includes: a support mechanism that supports the tank such that a vertical position or an inclination of the tank changes according to a weight of the tank, the support mechanism including an elastic member that supports a bottom surface of the tank; an imaging unit that images the tank, The ink remaining amount detection step includes: an imaging step of imaging the tank by the imaging unit and generating imaging data showing at least a portion of the tank; an image analysis step of determining the vertical position or the inclination based on the imaging data; and determining the amount of ink remaining in the tank based on the vertical position or the inclination determined in the image analysis step.

[0020] Other aspects of the present invention will be apparent from the above aspects of the present invention and the following description of the embodiments and their modifications, and therefore further description thereof will be omitted. Effect of the Invention

[0021] In a first aspect of the present invention, a tank support mechanism that supports a tank that stores ink is configured so that the vertical position or inclination of the tank changes depending on the weight of the tank, and the vertical position or inclination of the tank is found by an image analysis unit based on imaging data of the tank, and the remaining amount of ink in the ink tank is determined based on the found vertical position or inclination. This requires less maintenance costs than a configuration that uses a float to detect the remaining amount of ink, and has higher accuracy in detecting the remaining amount of ink than a configuration that calculates the remaining amount of ink based on the driving time of a pump that supplies ink. In this way, according to the first aspect of the present invention, the remaining amount of ink in a tank that stores ink in an ink supply device can be accurately detected with a simple configuration that requires less maintenance costs. In addition, in the case where a label including a QR code that records ink information is attached to the outer surface of a tank and an imaging unit that images the label to obtain the ink information is already provided in the ink supply device as in the tenth aspect of the present invention, or in the case where a QR code that records ink information is attached to a tank and an imaging unit that images the QR code to obtain the ink information is already provided in the ink supply device as in the eleventh aspect of the present invention, the remaining ink level can be detected simply by adding software for image analysis based on the image data of the imaging unit, etc. This makes it possible to detect the remaining ink level at a lower cost.

[0022] The second to twelfth aspects of the present invention also provide the same effects as the first aspect of the present invention. In addition, the fourth and sixth to ninth aspects of the present invention provide the following unique effects.

[0023] That is, in the fourth aspect of the present invention, an imaging unit is disposed so as to be able to image the side of a tank attached to a tank support mechanism, and in an image represented by imaging data generated by the imaging unit, a linear pattern indicating the bottom edge of the side is extracted as a specific pattern, and the angle that the linear pattern makes with respect to the horizontal direction is found as the inclination of the tank. In this way, the inclination of the tank can be directly found based on imaging data obtained by imaging the tank from the side, and the remaining ink amount can be detected with higher accuracy than in the second and third aspects of the present invention.

[0024] Furthermore, in the sixth to ninth aspects of the present invention, the tank support mechanism that supports the tank that stores ink is configured so that the vertical position of the tank can be changed in accordance with the weight of the tank without tilting the tank. Therefore, even if the tank has a large capacity, ink can be supplied to the printing mechanism stably and safely while detecting the remaining ink level, compared to the first to fifth aspects of the present invention.

[0025] The effects of other aspects of the present invention will be apparent from the description of the effects of the above aspects of the present invention and the effects of the following embodiment and its modified examples, and therefore will not be described here. [Brief description of the drawings]

[0026] [Figure 1] 1 is a schematic diagram showing a configuration of an inkjet printing apparatus according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a perspective view that roughly shows an ink supply mechanism in the first embodiment. [Diagram 3] 2 is a diagram showing a configuration of an ink supply device in the first embodiment. [Figure 4] FIG. 4 is a block diagram showing a hardware configuration of a control unit in the first embodiment. [Diagram 5] FIG. 4 is a block diagram showing a functional configuration of a control unit in the first embodiment. [Figure 6] 4A to 4C are diagrams for explaining a configuration for detecting the remaining amount of ink in the first embodiment. [Figure 7A] 5A to 5C are diagrams showing a state of the ink supply device in the first embodiment when a large amount of ink remains. [Figure 7B] 5A to 5C are diagrams showing a state of the ink supply device when the remaining amount of ink is small in the first embodiment. [Figure 8] 6 is a flowchart showing an example of a remaining ink amount detection process in the first embodiment. [Figure 9] 10 is a flowchart showing another example of the remaining ink amount detection process in the first embodiment. [Figure 10] 10A to 10C are diagrams for explaining image analysis in another example of the remaining ink amount detection process in the first embodiment. [Figure 11A] 13 is a diagram for explaining a configuration for detecting the remaining amount of ink in an ink supply device in a modified example of the first embodiment. FIG. [Figure 11B] FIG. 11 is a diagram showing a captured image obtained in the modified example of the first embodiment. [Figure 12] 13 is a flowchart showing an example of a remaining ink amount detection process in a modified example of the first embodiment. [Figure 13] FIG. 11 is a diagram illustrating a configuration for detecting the remaining amount of ink in an inkjet printing apparatus according to a second embodiment of the present invention. [Figure 14A] 13A and 13B are diagrams showing a state of the ink supply device when a large amount of ink remains in the second embodiment. [Figure 14B] 13A and 13B are diagrams showing a state of the ink supply device when the remaining amount of ink is small in the second embodiment. [Figure 15] 10 is a flowchart showing a first example of a process for detecting the remaining ink level in the second embodiment. [Figure 16] 10 is a flowchart showing a second example of the remaining ink amount detection process in the second embodiment. [Figure 17] 13 is a flowchart showing a third example of the remaining ink amount detection process in the second embodiment. [Figure 18]5A to 5C are diagrams for explaining advantages and disadvantages of the configuration for detecting the amount of remaining ink in the first embodiment, in comparison with other configurations for detecting the amount of remaining ink. [Figure 19] 13A to 13C are diagrams for explaining advantages and disadvantages of the configuration for detecting the amount of remaining ink in the second embodiment, in comparison with other configurations for detecting the amount of remaining ink. [Figure 20] 13A and 13B are diagrams for explaining advantages and disadvantages of a configuration for detecting the amount of remaining ink in the modified example of the first embodiment, in comparison with other configurations for detecting the amount of remaining ink. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.

[0028] <1. First embodiment> <1.1 Overall structure> 1 is a schematic diagram showing the configuration of an inkjet printing device 10 according to a first embodiment of the present invention. The printing device 10 includes a paper delivery section 202 that unwinds and supplies recording paper (hereinafter, also simply referred to as "paper") 5 as a long continuous recording medium from a roll of paper as a roll-shaped recording medium, a first drive roller 203 for transporting the paper 5 into the inside of a printing mechanism 200, a plurality of support rollers 204 for transporting the paper 5 inside the printing mechanism 200, a recording section 205 that ejects ink onto the paper 5 to perform printing, an ink supply mechanism 300 that supplies ink to the recording section 205, a second drive roller 207 for outputting the paper 5 from inside the printing mechanism 200, and a paper winding section 208 that winds up the paper 5 after printing. The first drive roller 203, the support roller 204, and the second drive roller 207 form a transport mechanism for moving the paper 5. The recording unit 205 includes first to fourth recording heads 20C, 20M, 20Y, 20K that eject C (Cyan), M (Magenta), Y (Yellow), and K (Black) inks, respectively, and first to fourth sub-tanks 22C, 22M, 22Y, 22K that store the C, M, Y, and K inks before ejection, respectively, and the first to fourth recording heads 20C, 20M, 20Y, 20K are connected to the first to fourth sub-tanks 22C, 22M, 22Y, 22K by piping, respectively. The ink supply mechanism 300 includes first to fourth ink supply devices 30C, 30M, 30Y, 30K that supply C, M, Y, and K inks, respectively. The ink supplied from each ink supply device 30X is temporarily stored in a sub-tank 22X (X=C, M, Y, K) in the printing mechanism 200. Each recording head 20X ejects the ink stored in the sub-tank 22X (X=C, M, Y, K) according to the image to be printed, thereby forming the image as a color print image on the paper 5. This inkjet printing device 10 further includes a control unit 100 that controls each unit in the printing mechanism 200 and the ink supply mechanism 300. The control unit 100 will be described in detail later.

[0029] Conventionally, there has been known an ink supply mechanism in which a label including a QR code (registered trademark) recording ink information such as the composition of the ink stored in an ink tank (main tank), the date of manufacture, color, model number, etc. is attached to the ink tank, and the ink information is acquired by reading the QR code with a camera. In this embodiment, the ink supply mechanism 300 also has such a configuration. FIG. 2 is a perspective view showing a schematic diagram of the ink supply mechanism 300 in this embodiment. The main body 31 of this ink supply mechanism 300 is composed of a platform portion 31a having a horizontal upper surface and a wall portion 31b having a vertical front surface. As described above, the ink supply mechanism 300 includes the first to fourth ink supply devices 30C, 30M, 30Y, and 30K, and the first to fourth ink tanks 32 that store the C, M, Y, and K inks, respectively, are mounted on the platform portion 31a in the first to fourth ink supply devices 30C, 30M, 30Y, and 30K, and a tank support mechanism for this purpose is provided on the platform portion 31a (described in detail later). A QR code label recording ink information is affixed to the surface facing the front surface of the wall portion 31b of the main body 31, i.e., the back surface, of the outer surface of each ink tank, and a camera 41 for reading the QR code is built into the wall portion 31b.

[0030] <1.2 Ink supply device> In the ink supply mechanism 300 of this embodiment, the first to fourth ink supply devices 30C, 30M, 30Y, and 30K that supply C, M, Y, and K inks, respectively, have the same configuration and operate in the same manner, except for the color of ink they supply. Therefore, in the following, the configuration and operation of one of these four ink supply devices 30C, 30M, 30Y, and 30K will be described with focus on the ink supply device (hereinafter, the ink supply device of interest will be denoted by the reference symbol "30").

[0031] 3 is a block diagram showing the configuration of the ink supply device 30. The ink supply device 30 includes an ink tank 32, a tank support mechanism 330, a camera 41, a first liquid supply pipe 62, an intermediate tank 33, and a second liquid supply pipe 64. The ink tank 32 is also called a main tank. In the following description, the upstream side of the ink supply path will be simply called the "upstream side," and the downstream side of the ink supply path will be simply called the "downstream side."

[0032] The tank support mechanism 330 is a base for supporting the ink tank 32 as an ink supply source, and is configured so that the ink tank 32 tilts (the bottom surface of the ink tank 32 tilts with respect to the horizontal direction) according to the amount of ink stored in the ink tank 32 (hereinafter also referred to as "remaining ink amount"), that is, according to the weight of the ink tank 32. The ink tank 32 is a rectangular parallelepiped container, and a QR code (registered trademark) label 51 is attached to the back surface 32B thereof as a two-dimensional barcode recording ink information such as the ink composition, manufacturing date, color, and model number. The camera 41 is an imaging unit provided for reading this QR code. Unused ink is stored in the ink tank 32. The initial amount of ink stored in the ink tank 32 is, for example, approximately 200 liters at most.

[0033] The first liquid supply pipe 62 is a pipe for supplying ink from the ink tank 32 to the intermediate tank 33. As shown in FIG. 3, the first liquid supply pipe 62 has a suction pipe 321, a curved pipe 324, a descending pipe 322, and a main pipe 323. The suction pipe 321 supplies ink in the ink tank 32 in an upward direction. The curved pipe 324 is connected to the downstream end (upper end) of the suction pipe 321, and changes the ink supply direction to a downward direction. The descending pipe 322 supplies ink in a downward direction. The downstream end (lower end) of the descending pipe 322 is connected to the main pipe 323, which supplies ink from the descending pipe 322 to the intermediate tank 33.

[0034] The suction pipe 321 is a pipe for sucking up ink from inside the ink tank 32. The suction pipe 321 has a suction port at its upstream end (lower end), and the suction port is disposed near the bottom surface inside the ink tank 32. Specifically, the upstream end of the suction pipe 321 abuts against the bottom surface inside the ink tank 32, and a suction port that opens obliquely with respect to the bottom surface of the ink tank 32 is formed at this end.

[0035] The descending pipe 322 is a pipe located downstream of the curved pipe 324. The height of the descending pipe 322 gradually decreases toward the downstream side. The descending pipe 322 in this embodiment extends downward along the vertical direction.

[0036] The main pipe 323 is a pipe connecting the downstream end of the descending pipe 232 and the intermediate tank 33. An electromagnetic valve 305 and a first pump 301 are interposed near the upstream end of the main pipe 323. The electromagnetic valve 305 switches between a closed state in which the flow path in the pipe is closed and an open state in which the flow path in the pipe is open according to a control signal from the control unit 100. The first pump 301 forms a flow of ink toward the downstream side in the first liquid supply pipe 62. When the first pump 301 is operated with the electromagnetic valve 305 in the open state, ink is supplied from the ink tank 32 through the suction pipe 321, the descending pipe 322, and the main pipe 323 to the intermediate tank 33.

[0037] The intermediate tank 33 is a tank that stores ink between the first liquid supply pipe 62 and the second liquid supply pipe 64. The capacity of the intermediate tank 33 is smaller than the capacity of the ink tank 32. For example, it is a maximum of about 20 liters. The downstream end of the main pipe 323 is located inside the intermediate tank 33. The intermediate tank 33 temporarily stores ink and serves as a buffer to prevent ink shortage downstream of the intermediate tank 33.

[0038] First and second liquid level sensors (not shown) are provided near the outer side of the wall surface of the intermediate tank 33. The first liquid level sensor 231 is a sensor that detects the presence or absence of ink at a predetermined lower limit position of the intermediate tank 23. The control unit 100 determines whether the amount of ink stored in the intermediate tank 33 is within an allowable range based on the detection results of the first and second liquid level sensors.

[0039] The second liquid supply pipe 64 is a pipe connecting the intermediate tank 33 and the sub-tank 22 (the sub-tank connected to the ink supply device 30 of interest among the sub-tanks 22C, 22M, 22Y, and 22K) in the printing mechanism 200. The upstream end of the second liquid supply pipe 24 is located near the bottom surface in the intermediate tank 33. The downstream end of the second liquid supply pipe 64 is connected to the sub-tank 22. In addition, a second pump 302 is interposed on the path of the second liquid supply pipe 64. The second pump 302 forms a flow of ink toward the downstream side in the second liquid supply pipe 64. When the second pump 302 is driven, the ink stored in the intermediate tank 33 is supplied to the sub-tank 22 through the second liquid supply pipe 64.

[0040] <1.3 Configuration of the control unit> FIG. 4 is a block diagram showing a hardware configuration of the control unit 100 in this embodiment. The control unit 100 includes a main body 11, an auxiliary storage device 12, a display unit 14, and an operation unit 15. The main body 11 includes a CPU 111, a memory 112, a disk interface unit 113, a display control unit 115, an input interface unit 116, a print execution control interface unit 117, an ink supply control interface unit 118, an image capture interface unit 119, and a network interface unit 120. The CPU 111, the memory 112, the disk interface unit 113, the display control unit 115, the input interface unit 116, the print execution control interface unit 117, the ink supply control interface unit 118, the image capture interface unit 119, and the network interface unit 120 are connected to each other via a system bus. The auxiliary storage device 12 is connected to the disk interface unit 113. The display unit 14 is connected to the display control unit 115. The operation unit 15 including a keyboard, a mouse, and the like is connected to the input interface unit 116. A network 3 is connected to the network interface unit 120, and the control unit 100 is connected to a host device or the like via this network 3. The auxiliary storage device 12 is a magnetic disk device or the like. The display unit 14 is a liquid crystal display or the like. The display unit 14 is used to display information desired by an operator. The operation unit 15 is used to input instruction operation information Iop that indicates instructions from the operator to the inkjet printing device 10.

[0041] The auxiliary storage device 12 stores a print control program 17 for generating print data from submitted data received via the network 3 and for causing the print mechanism 200 to print an image represented by the print data. This print control program includes an ink supply control program for controlling the supply of ink to the print mechanism 200, and an ink remaining amount detection program for detecting the amount of ink remaining in the ink tanks 32 in each of the ink supply devices 30C, 30M, 30Y, and 30K that supply the ink.

[0042] The CPU 111 reads out the print control program 17 stored in the auxiliary storage device 12 into the memory 112 and executes it to realize various functions of the inkjet printing device 10. The memory 112 includes a RAM (Random Access Memory) and a ROM (Read Only Memory). The memory 112 functions as a work area for the CPU 111 to execute the print control program 17.

[0043] The print execution control interface unit 117 functions as an interface for the CPU 111 executing the print control program to control each unit of the print mechanism 200. The imaging interface unit 119 functions as an interface for the CPU 111 executing the print control program to receive imaging data obtained by the camera 41 in each of the ink supply devices 30C, 30M, 30Y, and 30K capturing an image of the QR code or the like in the ink tank 32.

[0044] Fig. 5 is a block diagram showing the functional configuration of the main functions of control unit 100 in this embodiment. As described above, control unit 100 having the functional configuration shown in Fig. 5 is realized by CPU 111 executing print control program 17. As shown in Fig. 5, this control unit 100 functionally includes a print execution control unit 150, an ink supply control unit 152, an image analysis unit 162, and a remaining ink amount determination unit 164, and image analysis unit 162 and remaining ink amount determination unit 164 constitute a remaining ink amount detection processing unit 160.

[0045] The print execution control unit 150 outputs control signals (hereinafter referred to as "print execution control signals") for controlling the recording heads 20C, 20M, 20Y, and 20K and the drive rollers 203, 207 in the transport mechanism, etc., in response to instruction operation information Iop input based on the operator's operation on the operation unit 15. The ink supply control unit 152 receives information related to the control of the recording heads 20C, 20M, 20Y, and 20K from the print execution control unit 110, and outputs control signals (hereinafter referred to as "ink supply control signals") for controlling the pumps 301, 302 and the solenoid valves 305 in each of the ink supply devices 30C, 30M, 30Y, and 30K based on the information. The recording heads 20C, 20M, 20Y, 20K and drive rollers 203, 207, etc. in the printing mechanism 200 operate based on the print execution control signal, and the pumps 301, 302 and solenoid valve 305 in the ink supply devices 30C, 30M, 30Y, 30K operate based on the ink supply control signal, causing ink to be ejected from each recording head 20C, 20M, 20Y, 20K onto the transferred paper 5, and a color image based on the instruction operation information Iop is formed on the paper 5 as a printed image.

[0046] In parallel with controlling the printing mechanism 200 and the ink supply mechanism 300 (ink supply devices 30C, 30M, 30Y, 30K), the ink remaining amount detection processing unit 160 receives imaging data Dim obtained by imaging the above-mentioned QR code labels 51 and the like with the camera 41 in each of the ink supply devices 30C, 30M, 30Y, 30K. In the ink remaining amount detection processing unit 160, the image analysis unit 162 performs image analysis, which will be described later, on the image represented by this imaging data Dim, and the ink remaining amount determination unit 164 determines the amount of ink remaining in the ink tank 32 based on the results of the image analysis. The amount of ink remaining determined in this manner is sent to the print execution control unit 150.

[0047] When the print execution control unit 150 receives the remaining ink amount from the remaining ink amount determination unit 164, it controls the display unit 14, the printing mechanism 200, and / or the ink supply mechanism 300 based on that remaining ink amount. For example, it displays the remaining ink amount on the display unit 14 in response to instruction operation information Iop that instructs the display of the remaining ink amount, and if the remaining ink amount is below a predetermined amount, it displays warning information or information urging the user to replenish ink on the display unit 14 and / or stops the operation of the printing mechanism 200 and the ink supply mechanism 300.

[0048] Incidentally, the camera 41 is originally provided to read the QR code on the ink tank 32 and obtain ink information (such as ink components, production date, color, and model number). For this reason, the image analysis unit 162 has a function of receiving imaging data Dim representing a captured image including an image of the QR code from the camera 41, obtaining ink information from the imaging data Dim, and sending the ink information to the print execution control unit 150. This makes it possible to prevent the use of inappropriate ink.

[0049] <1.4 Configuration and operation for detecting remaining ink level> Next, the configuration and operation for detecting the remaining amount of ink (hereinafter simply referred to as "remaining amount of ink") in the ink tank 32 provided in each of the four ink supply devices 30C, 30M, 30Y, 30K in this embodiment will be described with a focus on one ink supply device 30 among these four ink supply devices 30C, 30M, 30Y, 30K (see FIG. 3). Note that hereinafter, among the main body part 31 of the ink supply mechanism 300, its platform part 31a, and its wall part 31b (see FIG. 2), the parts corresponding to the ink supply device 30 of interest will also be referred to as the "main body part 31", the "platform part 31a", and the "wall part 31b".

[0050] FIG. 6 is a diagram for explaining the configuration for detecting the remaining ink amount in this embodiment. In the ink supply device 30 in this embodiment, the main body 31 has a platform part 31a having a horizontal upper surface and a wall part 31b having a vertical front surface. A plate-like member 331 configured to be rotatable around a rotation shaft 331a fixed to the upper surface of the platform part 31a in the main body 31 is attached, and the rotation shaft 331a is arranged so as to be parallel to the front surface of the wall part 51b of the main body 31. The ink tank 32 is mounted so that its bottom surface is fixed to the upper surface of the plate-like member 331 by a mounting member (not shown). This plate-like member 331 is configured so that the rotation shaft 331a is parallel to the lower side of the back surface 32B of the ink tank 32 when the ink tank 32 is mounted thereon. An elastic member 332 is interposed between this plate-like member 331 and the pedestal portion 31a of the main body 31, and the plate-like member 331, the pedestal portion 31a, and the elastic member 332 form a tank support mechanism 330 for the ink tank 32. In this manner, the tank support mechanism 330 supports the ink tank 32 attached to the plate-like member 331 with the elastic member 332, and is configured so that (the bottom surface of) the ink tank 32 is inclined with respect to the horizontal plane in accordance with the weight of the ink tank 32.

[0051] In the example shown in Fig. 6, the elastic member 332 interposed between the plate-like member 331 and the pedestal portion 31a of the main body 31 is a spring, but instead of this, other elastic members such as a leaf spring may be used. In Fig. 6, the tank support mechanism 330 is shown in a schematic manner, and the specific configuration of the tank support mechanism 330 (the number, shape, size, arrangement, etc. of the elastic members 332) is appropriately designed to suit the purpose described below of detecting the remaining ink amount by the inclination of the ink tank 32 (the inclination of the plate-like member 331). In this embodiment, the ink tank 32 is an opaque container, but in Fig. 6, for convenience of explanation, the ink tank 32 is drawn as if it were a transparent container (the same applies to Figs. 6A to 19 described below).

[0052] 6, a QR code label 51 recording ink information (ink ingredients, production date, color, model number, etc.) is affixed to the surface of the rectangular parallelepiped container serving as the ink tank 32 that faces the front surface of the wall portion 31b of the main body 31, i.e., the back surface 32B. A camera 41 for capturing an image of the label 51 is built into the wall portion 31b of the main body 31.

[0053] Fig. 7A shows the state of the ink supply device 30 in this embodiment when the remaining amount of ink is large, and Fig. 7B shows the state of the ink supply device 30 in this embodiment when the remaining amount of ink is small. When the amount of ink 35 stored in the ink tank 32 attached to the ink supply device 30 (remaining ink amount) is large, the weight of the ink tank 32 is large, so that the inclination ΞΈ1 of the plate-like member 331 to which the bottom surface of the ink tank 32 is fixed relative to the horizontal plane (hereinafter simply referred to as the "inclination of the ink tank 32") is small, as shown in Fig. 7A. Fig. 7A also shows a captured image Im represented by the captured image data Dim obtained from the camera 41 at this time.

[0054] In contrast, when the amount of ink 35 stored in the ink tank 32 attached to the ink supply device 30 (remaining ink amount) is small, the weight of the ink tank 32 is small, so the inclination ΞΈ2 of the ink tank 32 is large, as shown in Fig. 7B. Fig. 7B also shows a captured image Im represented by the imaging data Dim obtained from the camera 41 at this time.

[0055] As described above, the inclination ΞΈ2 when the remaining amount of ink is small is larger than the inclination ΞΈ1 when the remaining amount of ink is large. When the inclination ΞΈ of the ink tank 32 differs in this way, the vertical distance between the two predetermined patterns that are separated in the vertical direction in the captured image Im differs according to the difference in the inclination. That is, the vertical distance between the two predetermined patterns in the captured image Im changes according to the remaining amount of ink. For example, the vertical distance h2 between the upper and lower sides of the QR code label 51 in the captured image Im obtained when the remaining amount of ink is small is smaller than the vertical distance h1 between the upper and lower sides of the QR code label 51 in the captured image Im obtained when the remaining amount of ink is large. Therefore, the remaining amount of ink can be estimated by determining the vertical distance between the upper and lower sides of the QR code label 51 from the captured image data Dim obtained by the camera 41 provided to read the QR code on which the ink information is recorded. However, the color of the label 51 is different from the color of the outer surface of the ink tank 32.

[0056] Therefore, in the control unit 100 of this embodiment, the CPU 111 performs the following remaining ink detection process, thereby realizing in software the remaining ink detection processing unit 160 (see Figure 5) including the above-mentioned image analysis unit 162 and remaining ink determination unit 164.

[0057] 8 is a flow chart showing an example of the remaining ink amount detection process in this embodiment. In this remaining ink amount detection process, the CPU 111 operates as follows.

[0058] First, the imaging data Dim generated by imaging the QR code label 51 is received from the camera 41 (step S10). Next, based on this imaging data Dim, two linear patterns indicating the upper and lower ends, i.e., the upper and lower sides, of the label 51 are extracted from the captured image (image represented by the imaging data Dim) Im (step S12), and the interval between the two extracted linear patterns is obtained. Since the magnitude of this interval h corresponds to the magnitude of the inclination ΞΈ of the ink tank 32, the inclination ΞΈ of the ink tank 32 is obtained based on this interval h (step S16). For example, a lookup table showing the relationship between this interval h and the inclination ΞΈ of the ink tank 32 is created in advance, and the inclination ΞΈ of the ink tank 32 is obtained from the interval h between the two linear patterns by referring to the lookup table. Alternatively, instead of such a lookup table, a formula showing the relationship may be obtained in advance. After that, the remaining ink amount Aik is determined based on the inclination ΞΈ of the ink tank 32 obtained in this way (step S18). Specifically, similarly to the above, a lookup table or formula showing the relationship between the inclination ΞΈ of the ink tank 32 and the remaining ink amount Aik is created in advance, and the remaining ink amount Aik is determined from the inclination ΞΈ using that lookup table or formula. Once the remaining ink amount Aik has been determined in this manner, the remaining ink amount detection process ends.

[0059] Of the remaining ink amount detection process shown in FIG. 8, steps S10 to S16 implement the image analysis unit 162 shown in FIG. 5, and step S18 implements the remaining ink amount determination unit 164 shown in FIG.

[0060] Fig. 9 is a flow chart showing another example of the remaining ink detection process in this embodiment. In the remaining ink detection process shown in Fig. 8, the inclination ΞΈ is calculated by focusing on the fact that the distance between the upper and lower sides of the QR code label 51 changes depending on the inclination ΞΈ of the ink tank 32, whereas in the remaining ink detection process shown in Fig. 9, the inclination ΞΈ is calculated by focusing on the fact that the distance d (see Fig. 10) between two cut-out symbols (finder patterns) spaced apart in the vertical direction as cut-out symbols included in the QR code in the captured image Im changes depending on the inclination ΞΈ of the ink tank 32. In this type of remaining ink detection process (another example), the CPU 111 operates as follows.

[0061] First, similar to step S10 shown in FIG. 8, image data Dim generated by capturing an image of the QR code label 51 is received from the camera 41 (step S20). Next, based on this image data Dim, two cut-out symbols separated vertically from each other among the cut-out symbols included in the QR code are extracted from the captured image Im (step S22), and the distance d between the two extracted cut-out symbols is obtained. Since the size of this distance d corresponds to the inclination ΞΈ of the ink tank 32, the inclination ΞΈ of the ink tank 32 is obtained based on this distance d (step S26). Then, similar to step S18 shown in FIG. 8, the remaining ink amount Aik is determined based on the obtained inclination ΞΈ of the ink tank 32 (step S28), and the remaining ink amount detection process ends.

[0062] Of the remaining ink amount detection process shown in FIG. 9, steps S20 to S26 implement the image analysis unit 162 shown in FIG. 5, and step S28 implements the remaining ink amount determination unit 164 shown in FIG.

[0063] <1.5 Effects> As described above, in this embodiment, the tank support mechanism 330 in the ink supply device 30 is configured so that the ink tank 32 is tilted in accordance with the weight of the ink tank 32 (so that the plate-like member 331 to which the bottom surface of the ink tank 32 is fixed is tilted with respect to the horizontal plane) as shown in Figures 7A and 7B. The tilt ΞΈ of the ink tank 32 is obtained by using a camera 41 provided to read the QR code attached to the ink tank 32 and obtain ink information (see Figures 6, 8, and 9). That is, an image analysis is performed on the captured image Im based on the captured image data Dim generated by the camera 41, and the vertical distance between two predetermined patterns (the distance h between the upper and lower sides of the label 51 or the vertical distance d between two cut-out symbols in the QR code) is obtained as a result of the analysis, and the tilt ΞΈ of the ink tank 32 is obtained based on this distance. In this way, by using the camera 41 that captures the image of the QR code label 51 and software processing such as image analysis based on the captured image data Dim, the remaining ink amount can be detected with less maintenance cost than when a float is used in the ink tank, and with higher accuracy than a method based on the driving time of a pump for supplying ink. Moreover, in an inkjet printing device provided with a camera that captures an image of the QR code label attached to the ink tank to obtain ink information, the captured image data from the camera can be used to detect the remaining ink amount, so the remaining ink amount can be detected simply by adding the software for the remaining ink amount detection process shown in Figure 8 or Figure 9. Therefore, according to this embodiment, the remaining ink amount in a tank that stores ink in an ink supply device can be detected with high accuracy using a simple configuration with low maintenance cost.

[0064] <1.6 Modification> In the first embodiment, the inclination ΞΈ of the ink tank 32 is calculated from the vertical distance between two predetermined patterns in the captured image Im based on the image data Dim of the QR code label 51 attached to the rear surface 32B of the ink tank 32, and the remaining ink amount Aik is determined based on the inclination ΞΈ (see Figs. 7A, 7B, 8, and 9). If it is desired to improve the detection accuracy of the remaining ink amount more than in the first embodiment, it is possible to arrange the camera 41 at a position facing the side surface of the ink tank 32 rather than the rear surface 32B so that an image directly showing the inclination ΞΈ of the ink tank 32 can be obtained. Hereinafter, an inkjet supply device including an ink supply device 30 having such a configuration will be described as a modified example of the first embodiment. Note that the hardware configuration other than the arrangement position of the camera 41 and the affixing position of the QR code label 51 is the same as in the first embodiment, and the functional configuration of the control unit 100 is also the same as in the first embodiment (see Fig. 5), so that the same or corresponding parts are given the same reference symbols and detailed description will be omitted. The remaining ink level detection process in this modified example differs from the remaining ink level detection process (FIGS. 8 and 9) in the first embodiment described above, and will be described later.

[0065] Fig. 11A is a diagram for explaining a configuration for detecting the remaining amount of ink in ink supply device 30 in this modified example. Fig. 11B is a diagram showing a captured image Im obtained in this modified example. Unlike the first embodiment in which a QR code label was attached to rear surface 32B of ink tank 32 as shown in Fig. 6, in this modified example, a QR code label 51 is attached to the side surface of ink tank 32 as shown in Fig. 11A. Camera 41 in this modified example is positioned so as to face the side surface to which QR code label 51 is attached, i.e., so that the imaging direction of camera 41 is perpendicular to that side surface (see Fig. 20 described later).

[0066] In this configuration, a captured image Im as shown in Fig. 11B is obtained by the camera 41. The captured image data Dim (image data representing the captured image Im) generated by the camera 41 is sent to the control unit 100, and the CPU 111 performs a remaining ink amount detection process as shown in Fig. 12, thereby realizing in software the remaining ink amount detection processing unit 160 including the image analysis unit 162 and remaining ink amount determination unit 164 shown in Fig. 5.

[0067] 12 is a flow chart showing an example of the remaining ink amount detection process in this modified example. In this remaining ink amount detection process, the CPU 111 operates as follows.

[0068] First, the imaging data Dim generated by imaging the QR code label 51 on the side of the ink tank 32 is received from the camera 41 (step S30). Next, based on this imaging data Dim, a linear pattern indicating the bottom side of the side of the ink tank 32 is extracted from the captured image Im (step S32), and the inclination of the extracted linear pattern with respect to the horizontal direction is obtained as the inclination ΞΈ of the ink tank 32 (step S34). For example, in addition to the linear pattern indicating the bottom side of the side of the ink tank 32, a linear pattern indicating the horizontal upper surface of the platform portion 31a of the main body 31 is extracted from the captured image Im, and the angle between these two linear patterns is obtained as the inclination ΞΈ of the ink tank 32. Thereafter, the remaining ink amount Aik is determined based on the inclination ΞΈ of the ink tank 32 thus obtained (step S36), and the ink remaining amount detection process is terminated.

[0069] Of the remaining ink amount detection process shown in FIG. 12, steps S30 to S34 implement the image analysis unit 162 shown in FIG. 5, and step S36 implements the remaining ink amount determination unit 164 shown in FIG.

[0070] According to this modified example as described above, as in the first embodiment, the inclination ΞΈ of the ink tank 32 is obtained using the camera 41 provided to read the QR code attached to the ink tank 32 and obtain ink information, and the remaining ink amount Aik is determined based on this inclination ΞΈ, so that the same effect as the first embodiment can be obtained. Furthermore, according to this modified example, the inclination ΞΈ of the ink tank 32 is obtained directly from the imaging data Dim (FIGS. 11 and 12), so the remaining ink amount can be detected with higher accuracy than in the first embodiment. On the other hand, in this modified example, the camera 41 is disposed on the side of the ink tank 32 (FIGS. 11 and 20), so a larger space is required in the side direction of the ink tank 32 compared to the first embodiment (FIG. 6) in which the camera 41 was built into the main body 31 of the ink supply device 30.

[0071] <2. Second embodiment> In the first embodiment, as shown in Figs. 7A and 7B, the tank support mechanism 330 is configured so that the ink tank 32 tilts depending on the weight of the ink tank 32 it supports. However, when the capacity of the ink tank 32 is large (for example, when the capacity exceeds 200 liters), it is preferable to avoid a configuration in which the ink tank 32 tilts from the viewpoint of stability and safety. Therefore, in the inkjet printing device according to the second embodiment, the tank support mechanism 330 is configured so that the ink tank 32 changes its vertical position without tilting depending on the weight of the ink tank 32 it supports. Hereinafter, such a second embodiment will be described. Note that the other hardware configurations in this embodiment except for the tank support mechanism 330 are the same as those in the first embodiment, and the functional configuration of the control unit 100 is also basically the same as that in the first embodiment (see Fig. 5), so that the same or corresponding parts are given the same reference numerals and detailed description will be omitted. The specific content of the ink remaining amount detection process in this embodiment is different from the ink remaining amount detection process (Figs. 8 and 9) in the first embodiment, and will be described later.

[0072] 2.1 Configuration and operation for detecting remaining ink level Below, the configuration and operation for detecting the remaining amount of ink in the ink tank 32 provided in each of the four ink supply devices 30C, 30M, 30Y, and 30K in this embodiment will be explained, focusing on one ink supply device 30 out of these four ink supply devices 30C, 30M, 30Y, and 30K (see Figure 3).

[0073] FIG. 12 is a diagram for explaining the configuration for detecting the remaining ink amount in this embodiment. In the ink supply device 30 in this embodiment, the main body 31 has a platform part 31a having a horizontal upper surface and a wall part 31b having a vertical front surface, as in the first embodiment. A plate member 331 is attached to the upper surface of the platform part 31a of the main body 31 via an elastic member 332. The ink tank 32 is attached so that its bottom surface is fixed to the upper surface of the plate member 331 by a member not shown. This plate member 331 is configured so that when the ink tank 32 is attached thereto, the back surface 32B of the ink tank 32 is parallel to the front surface of the wall part 31b of the main body 31. The plate member 331, the platform part 31a of the main body 31, and the elastic member 332 constitute a support mechanism 330 for the ink tank 32. In this manner, the tank support mechanism 330 supports the ink tank 32 attached to the plate-like member 331 with the elastic member 332 , and is configured so that the vertical position of the ink tank 32 changes according to the weight of the ink tank 32 .

[0074] In the example shown in Fig. 13, the elastic member interposed between the plate-like member 331 and the pedestal portion 31a of the main body 31 is a spring 332, but other elastic members such as a leaf spring may be used instead. Also, in Fig. 13, the tank support mechanism 330 is shown diagrammatically, and the specific configuration of the tank support mechanism 330 (the number, shape, size, arrangement, etc. of the elastic members 332) is appropriately designed so as to suit the purpose of detecting the remaining amount of ink from the vertical position of the ink tank 32.

[0075] 13, in the present embodiment, as in the first embodiment, a QR code label 51 recording ink information (ink components, production date, color, model number, etc.) is affixed to the back surface 32B of the rectangular parallelepiped container serving as the ink tank 32. A camera 41 for capturing an image of this label 51 is built into the wall portion 31b of the main body 31.

[0076] Fig. 14A shows the state of the ink supply device 30 in this embodiment when the remaining amount of ink is large, and Fig. 14B shows the state of the ink supply device 30 in this embodiment when the remaining amount of ink is small. When the amount of ink 35 stored in the ink tank 32 attached to the ink supply device 30 (remaining ink amount) is large, the weight of the ink tank 32 is large, so that the vertical position of the ink tank 32 is low, as shown in Fig. 14A. Fig. 14A also shows a captured image Im represented by the imaging data Dim obtained from the camera 41 at this time.

[0077] In contrast, when the amount of ink 35 stored in the ink tank 32 attached to the ink supply device 30 (remaining ink amount) is small, the weight of the ink tank 32 is small, and therefore the vertical position of the ink tank 32 is high, as shown in Fig. 14B. Fig. 14B also shows a captured image Im represented by the imaging data Dim obtained from the camera 41 at this time.

[0078] As described above, the vertical position of the ink tank 32 changes depending on the amount of remaining ink, and the lower the amount of remaining ink, the higher the vertical position. Such changes in the vertical position of the ink tank 32 can be obtained from the image Im captured by the camera 41. Therefore, position information indicating the vertical position of the ink tank 32 in the captured image Im can be obtained based on the imaging data Dim, and the amount of remaining ink can be estimated from the position information.

[0079] Therefore, in the control unit 100 of this embodiment, the CPU 111 performs the remaining ink detection process described below, thereby realizing the remaining ink detection processing unit 160, which includes the above-mentioned image analysis unit 162 and remaining ink determination unit 164, in software.

[0080] 15 is a flow chart showing a first example of the remaining ink level detection process in this embodiment. In this remaining ink level detection process, the CPU 111 operates as follows.

[0081] First, similarly to the first embodiment, the imaging data Dim generated by imaging the QR code label 51 is received from the camera 41 (step S40). Next, based on this imaging data Dim, a linear pattern indicating the upper side of the back surface 32B of the ink tank 32 is extracted from the imaging image Im (step S42), and the vertical position of the extracted linear pattern is obtained. Here, the distance h from the lower end of the imaging image Im to the linear pattern (hereinafter referred to as the "tank upper end position") is obtained, and this is used as position information indicating the vertical position of the upper side of the back surface 32B of the ink tank 32. Note that in Figs. 14A and 14B, the hatched area in the imaging image Im indicates the outer surface (the back surface 32B in the ink tank 32). The tank upper end position h1 in the imaging image Im when the ink remaining amount is large as shown in Fig. 14A is lower than the tank upper end position h2 in the imaging image Im when the ink remaining amount is small as shown in Fig. 14B.

[0082] In this way, the tank top end position h in the captured image Im is obtained as position information indicating the vertical position of the ink tank 32, and then the remaining ink amount Aik is determined based on this tank top end position h. For example, a lookup table showing the relationship between this tank top end position h and the remaining ink amount Aik is created in advance, and the remaining ink amount Aik is determined from the tank top end position h in the captured image Im by referencing this lookup table. Also, instead of such a lookup table, a mathematical formula showing this relationship may be obtained in advance. Once the remaining ink amount Aik has been determined in this way, the remaining ink amount detection process ends.

[0083] In the remaining ink detection process shown in FIG. 15, steps S40 to S44 implement the image analysis unit 162 shown in FIG. 5, and step S46 implements the remaining ink determination unit 164 shown in FIG.

[0084] Fig. 16 is a flow chart showing a second example of the remaining ink amount detection process in this embodiment. In the first example of the remaining ink amount detection process shown in Fig. 15, the tank upper end position h in the captured image Im is obtained as position information indicating the vertical position of the ink tank 32, whereas in the second example, the height of the linear pattern indicating the upper end of the QR code label 51 in the captured image Im is obtained as position information indicating the vertical position of the ink tank 32. In this second example of remaining ink amount processing, the CPU 111 operates as follows.

[0085] First, similarly to step S10 shown in Fig. 8, imaging data Dim generated by imaging the QR code label 51 is received from the camera 41 (step S50). Next, based on this imaging data Dim, a linear pattern indicating the upper end of the QR code label 51 is extracted from the captured image Im (step S52), and the vertical position of the extracted linear pattern is obtained. Here, the distance from the lower end of the captured image Im to the linear pattern (hereinafter referred to as the "label upper end position") is obtained, and this is used as position information indicating the vertical position of the ink tank 32. Note that instead of obtaining the label upper end position, the distance from the lower end of the captured image Im to the linear pattern indicating the lower end of the QR code label 51 (hereinafter referred to as the "label lower end position") may be obtained.

[0086] In this way, the position of the top end of the label in the captured image Im is obtained as position information indicating the vertical position of the ink tank 32, and then the remaining ink amount Aik is determined based on this position of the top end of the label. For example, a lookup table showing the relationship between the position of the top end of the label and the amount of remaining ink Aik is created in advance, and the amount of remaining ink Aik is determined from the position of the top end of the label in the captured image Im by referring to this lookup table. Also, instead of such a lookup table, a formula showing this relationship may be obtained in advance. Once the amount of remaining ink Aik has been determined in this way, the remaining ink amount detection process ends.

[0087] In the remaining ink detection process shown in FIG. 16, steps S50 to S54 implement the image analysis unit 162 shown in FIG. 5, and step S56 implements the remaining ink determination unit 164 shown in FIG.

[0088] 17 is a flowchart showing a third example of the remaining ink amount detection process in this embodiment. In this third example, a predetermined cut-out symbol contained in a QR code in the captured image Im is extracted, and the vertical position of this cut-out symbol is found as position information indicating the vertical position of the ink tank 32. In this third example of remaining ink amount process, the CPU 111 operates as follows.

[0089] First, the imaging data Dim generated by imaging the QR code label 51 is received from the camera 41 (step S60). Next, based on this imaging data Dim, a specific cut-out symbol (for example, the upper left cut-out symbol in the QR code shown in FIG. 10) is extracted from the cut-out symbols included in the QR code in the captured image Im (step S62), and the vertical position of the extracted cut-out symbol in the captured image Im is obtained (step S64). Here, the distance from the bottom edge of the captured image Im to the cut-out symbol (hereinafter referred to as the "vertical position of the symbol") is obtained, and this is used as position information indicating the vertical position of the ink tank 32.

[0090] In this way, the vertical position of the symbol in the captured image Im is determined as position information indicating the vertical position of the ink tank 32, and then the remaining ink amount Aik is determined based on this vertical position of the symbol. For example, a lookup table showing the relationship between the vertical position of the symbol and the remaining ink amount Aik is created in advance, and the remaining ink amount Aik is determined from the vertical position of the symbol in the captured image Im by referring to this lookup table. Also, instead of such a lookup table, a mathematical formula showing this relationship may be determined in advance. Once the remaining ink amount Aik has been determined in this way, the remaining ink amount detection process ends.

[0091] In the remaining ink detection process shown in FIG. 17, steps S60 to S64 implement the image analysis unit 162 shown in FIG. 5, and step S66 implements the remaining ink determination unit 164 shown in FIG.

[0092] <2.2 Effects> As described above, in this embodiment, the tank support mechanism 330 in the ink supply device 30 is configured so that the vertical position of the ink tank 32 changes depending on the weight of the ink tank 32, as shown in Figs. 14A and 14B. The vertical position of the ink tank 32 is determined using a camera 41 provided to read the QR code attached to the ink tank 32 and obtain ink information (see Figs. 13, 15 to 17). That is, image analysis is performed on the captured image Im based on the captured image data Dim generated by the camera 41, and the vertical position of a predetermined linear pattern or a predetermined cut-out symbol as the analysis result is obtained, and the remaining ink amount is determined based on this vertical position (see Figs. 15 to 17). In this way, as in the first embodiment, the remaining ink amount is detected by the camera 41 capturing the image of the QR code label 51 and software processing such as image analysis based on the captured image data Dim. Therefore, according to this embodiment, as in the first embodiment, the remaining ink amount in a tank that stores ink in the ink supply device is accurately detected with a simple configuration with low maintenance costs.

[0093] In this embodiment, the tank support mechanism 330 is configured to change the vertical position of the ink tank 32 attached to the ink supply device 30 in accordance with its weight without tilting (FIGS. 14A and 14B). Therefore, compared to the first embodiment, even when using an ink tank 32 with a large capacity, ink can be stably and safely supplied to the printing mechanism 200 while detecting the remaining ink amount.

[0094] <3. Advantages and disadvantages of the configuration for detecting remaining ink level> The following three configurations for detecting the remaining ink level have been described above. The advantages and disadvantages of these three configurations will be explained below. (1) Configuration 1: As shown in FIG. 18, the ink tank 32 is supported so that it tilts according to its weight, and the camera 41 is positioned so that the rear surface 32B of the ink tank 32 is imaged from the front of the device body 31 (the configuration adopted in the first embodiment described above). (2) Configuration 2: As shown in FIG. 19, the ink tank 32 is supported so that the ink tank 32 does not tilt and its vertical position changes according to its weight, while the camera 41 is positioned so that the rear surface 32B of the ink tank 32 is imaged from the front of the device body 31 (the configuration adopted in the second embodiment described above). (3) Configuration 3: As shown in FIG. 20, the ink tank 32 is supported so that it tilts according to its weight, and the camera 41 is positioned so that the side of the ink tank 32 is imaged (the configuration adopted in the modified example of the first embodiment described above).

[0095] Configuration 1 is advantageous in that the ink tank is configured to tilt (rotate around pivot 331a) in accordance with its weight, and therefore the range of movement of the ink tank is small. On the other hand, configuration 1 is disadvantageous in that the configuration of the tank support mechanism 330 is more complicated than the tank support mechanism 330 in configuration 2, and configuration 1 is disadvantageous in terms of the accuracy of detecting the remaining ink amount, since the tilt ΞΈ of the ink tank is found based on the distance between two patterns spaced apart in the vertical direction in the captured image Im, and the remaining ink amount Aik is determined based on this tilt.

[0096] Configuration 2 is advantageous in that the configuration of the tank support mechanism 330 is simpler than configuration 1 and that, even if the capacity of the ink tank is large, ink can be stably and safely supplied to the printing mechanism 200 while detecting the amount of remaining ink. On the other hand, configuration 2 is disadvantageous in that, compared to configurations 1 and 2, the range over which the ink tank moves according to the amount of remaining ink is large and the mounting position of the ink tank on the tank support mechanism must be highly accurately positioned.

[0097] In configuration 3, the ink tank is configured to tilt according to its weight, and camera 41 is positioned so that the tilt ΞΈ of the ink tank is directly imaged from the side, so it is advantageous in that it can detect the remaining ink amount with high accuracy compared to configuration 1. On the other hand, configuration 3 is disadvantageous in that camera 41 is not built into device main body 31 but is positioned to face the side of the ink tank, requiring space to the side of the ink tank, making ink supply device 30 larger than configurations 1 and 3.

[0098] <4. Modifications> The present invention is not limited to the above-described embodiment and the above-described modified examples, and various modifications can be made without departing from the scope of the present invention.

[0099] For example, in each of the above embodiments, a camera that captures an image of a label 51 such as a QR code on which ink information is recorded (hereinafter referred to as an "ink information acquisition camera") is used as the imaging unit for detecting the amount of ink remaining in the ink tank 32, but the present invention can also be applied to inkjet printing devices that are not provided with such a camera for acquiring ink information by providing a camera for detecting the amount of ink remaining. Also, in inkjet printing devices that are provided with such a camera for acquiring ink information, a separate camera for detecting the amount of ink remaining may be provided.

[0100] In addition, in each of the above embodiments, the camera 41 is disposed so as to face the back or side of the rectangular parallelepiped ink tank 32, but the camera may be disposed in another position (for example, a position facing the front of the ink tank 32) within the scope of the spirit of the present invention. However, in conjunction with a change in the camera position, the surface of the ink tank 32 to which the QR code label 51 is affixed should be appropriately changed as necessary.

[0101] Furthermore, in each of the above embodiments, the camera 41 is positioned so as to capture an image of the QR code label 51, but the camera 41 may be configured to capture an image of a label other than the QR code label 51 and having a color different from the color of the outer surface of the ink tank 32. Furthermore, in the case where the remaining ink amount is determined based on the vertical position of the ink tank 32 which is obtained based on a linear pattern indicating the upper end (upper side of the rear surface 32B) of the ink tank 32 in the captured image Im as in the first example (FIG. 15) of the above second embodiment, the camera 41 may be positioned so as to face the surface of the outer surface of the ink tank 32 that does not have the QR code label 51 or the like attached.

[0102] In the above embodiments and modifications, the ink tank 32 is a rectangular parallelepiped container, but containers of other shapes (for example, cylindrical containers) may be used without going against the spirit of the present invention. In the above embodiments and modifications, the label 51 including the QR code is affixed to the ink tank 32, but other two-dimensional bar codes, or more generally, other image codes that represent an identification code as an image, may be used instead of the QR code. Furthermore, instead of affixing the label 51 including the QR code to the ink tank 32, an image code such as a QR code may be recorded directly on the outer surface (back or side, etc.) of the ink tank 32. [Explanation of symbols]

[0103] 5...Paper (recording media) 10...Inkjet printing device 17 ... Print control program 20C, 20M, 20Y, 20K... recording head 22C, 22M, 22Y, 22K...Subtank 30C, 30M, 30Y, 30K...Subtank 32 ... Ink tank (main tank) 32B ... (back of ink tank) 35 ... Ink 41 ... Camera (imaging unit) 51 ... QR code label 100 ... control unit 111...CPU 150 ... Print execution control unit 152 ... Ink supply control unit 160 ... ink remaining amount detection processing unit 162 ... Image analysis section 164 ... Ink remaining amount determination section 200...printing mechanism 300 ... Ink supply mechanism 330 …Tank support mechanism 332 ... Elastic member Dim … Image data Im … Image capture

Claims

1. A tank for storing ink; a support mechanism that supports the tank such that a vertical position or an inclination of the tank changes according to a weight of the tank, the support mechanism including an elastic member that supports a bottom surface of the tank; an imaging unit that images the tank and generates imaging data showing at least a portion of the tank; an image analysis unit that determines the vertical position or the inclination based on the imaging data; a remaining ink amount determination unit that determines the remaining ink amount in the tank based on the vertical position or the inclination obtained by the image analysis unit; An ink supply device comprising:

2. The tank has a front surface, a back surface and two sides; the support mechanism is configured to support the tank such that lower sides of the two side surfaces are inclined relative to a horizontal direction in response to a weight of the tank, the imaging unit is disposed at a position capable of imaging one of the front surface, the back surface, and the two side surfaces, the image analysis unit extracts a specific pattern in an image represented by the imaging data based on the imaging data, and determines the inclination based on the extracted specific pattern; The ink supply device according to claim 1 , wherein the remaining ink amount determination unit determines the remaining ink amount based on the inclination obtained by the image analysis unit.

3. the imaging unit is disposed at a position capable of imaging one of the front surface and the back surface, a label attached to said one surface; the specific pattern is two linear patterns indicating the upper and lower ends of the label, The ink supply device according to claim 2 , wherein the image analysis section determines a distance between the two linear patterns in the image represented by the imaging data, and determines the inclination based on the distance.

4. the imaging unit is disposed at a position capable of imaging one of the two side surfaces, the specific pattern is a linear pattern indicating a lower side of the one surface, The ink supply device according to claim 2 , wherein the image analysis section determines, as the inclination, an angle that the linear pattern makes with respect to a horizontal direction in the image represented by the imaging data.

5. the imaging unit is disposed at a position capable of imaging one of the front surface and the back surface, a mark including two indicators spaced apart in a vertical direction is provided on one of the front surface and the back surface; the specific pattern is a pattern indicating the two indicators, The ink supply device according to claim 2 , wherein the image analysis section determines a distance between the two indices in the image represented by the imaging data, and determines the inclination based on the distance.

6. The mark is a QR code (registered trademark), The ink supply device according to claim 5 , wherein the two indicators are two cut-out symbols vertically spaced apart from each other among the cut-out symbols in the QR code.

7. the support mechanism includes a rotation shaft portion that is provided on a plate-like member to which a bottom surface of the tank is fixed and extends parallel to a lower side of the back surface, the elastic member is disposed so as to support the bottom surface directly or via the plate-like member at a position spaced apart from the pivot shaft portion, The ink supply device according to claim 2 , wherein the support mechanism supports the tank so as to rotate about the rotation shaft portion in accordance with a weight of the tank.

8. the support mechanism supports the tank such that the tank does not tilt and the vertical position of the tank changes in response to the weight of the tank, The tank has a front surface, a back surface and two sides; the imaging unit is disposed at a position capable of imaging one of the front surface, the back surface, and the two side surfaces, The image analysis unit extracts a specific pattern in an image represented by the imaging data based on the imaging data, and determines a vertical position of the extracted specific pattern; The ink supply device according to claim 1 , wherein the remaining ink amount determination unit determines the remaining ink amount based on the vertical position of the specific pattern obtained by the image analysis unit.

9. The ink supply device according to claim 8 , wherein the specific pattern is a linear pattern that indicates an upper side or a lower side of the one surface.

10. a label attached to said one surface; The ink supply device according to claim 8 , wherein the specific pattern is a linear pattern indicating an upper end or a lower end of the label.

11. A mark including an index is provided on the one surface, the specific pattern is a pattern indicating the index, The image analysis unit determines a vertical position of the index in the image represented by the imaging data, The ink supply device according to claim 8 , wherein the remaining ink amount determination unit determines the remaining ink amount based on the vertical position of the indicator obtained by the image analysis unit. Ink supply device.

12. The mark is a QR code, The ink supply device according to claim 11 , wherein the indicator is a specific cut-out symbol among cut-out symbols included in the QR code.

13. the label includes a QR code for recording ink information; The ink supply device according to claim 3 , wherein the image analysis section acquires the ink information from the imaging data.

14. the mark is a QR code that records ink information related to the ink stored in the tank to which the mark is attached, The ink supply device according to claim 5 , 6 , 11 , or 12 , wherein the image analysis section acquires the ink information from the imaging data.

15. A conveying mechanism for conveying a long recording medium; a recording head that ejects ink onto the recording medium; a print execution control unit that controls the recording head and the transport mechanism so that a print image is formed on the recording medium; 13. The ink supply device according to claim 1, which supplies ink to be ejected by the recording head. An inkjet printing apparatus comprising:

16. An ink supply method for supplying ink from a tank that stores ink in an ink supply device, comprising: an ink remaining amount detection step for detecting the amount of ink remaining in the tank; The ink supply device includes: a support mechanism that supports the tank such that a vertical position or an inclination of the tank changes according to a weight of the tank, the support mechanism including an elastic member that supports a bottom surface of the tank; an imaging unit that images the tank, The method for detecting remaining ink level comprises: an imaging step of imaging the tank by the imaging unit and generating imaging data showing at least a portion of the tank; an image analysis step of determining the vertical position or the inclination based on the imaging data; a remaining ink amount determination step of determining a remaining ink amount in the tank based on the vertical position or the inclination obtained by the image analysis step; 23. An ink supply method comprising: