The present application is based on, and claims priority from JP Application Serial Number 2019-150128, filed Aug. 20, 2019, the disclosure of which is hereby incorporated by reference here in its entirety.
The present disclosure relates to a printer and the like.
In the related art, there is known a method for determining the presence or absence of ink in an ink container in a printer performing printing by using ink. For example, in JP-A-2001-105627, an ink supply device that detects a liquid level of ink by receiving light emitted from a light emitter and passing through an ink bottle by using a light receiver is disclosed. Further improvements of the printer have been required.
There has been a demand for further improvements in printers.
According to an aspect of the present disclosure, there is provided a printer including: an ink tank; a print head that performs printing by using ink in the ink tank; a light source that emits light into the ink tank; a sensor that detects first light of a first wavelength band and second light of a second wavelength band incident from an ink tank side, in a period during which the light source emits light; and a processing section that acquires a first light amount of the first light at a position where the ink exists and a second light amount of the second light at the position where the ink exists from the sensor, and determines an ink type of the ink in the ink tank based on the first light amount and the second light amount.
Hereinafter, the present embodiment will be described. The present embodiment described below does not unduly limit the content described in claims. Also, not all configurations described in the present embodiment are essential configuration requirements. The plurality of embodiments described below may be combined with each other or may be replaced with each other.
The electronic apparatus 10 has an operation panel 101 as a user interface section. The operation panel 101 is provided with buttons for performing, for example, an ON/OFF operation of a power supply of the electronic apparatus 10, an operation related to printing using the printing function, and an operation related to reading of a document using the scanning function. The operation panel 101 is also provided with a display section 150 for displaying an operating state of the electronic apparatus 10 and a message or the like. Further, the display section 150 displays an ink amount detected by the method described later. Further, the operation panel 101 may be provided with a reset button for the user to replenish ink in the ink tank 310 to execute reset processing.
A printer unit 100 performs printing on a printing medium P such as printing paper by ejecting ink. The printer unit 100 has a case 102 which is an outer shell of the printer unit 100. On a front side of the case 102, a front cover 104 is provided. Here, the “front” represents a face on which the operation panel 101 is provided and represents a face in the +Y direction of the electronic apparatus 10. The operation panel 101 and the front cover 104 are rotatable around the X-axis with respect to the case 102. The electronic apparatus 10 includes a paper cassette (not illustrated), and the paper cassette is provided in the −Y direction with respect to the front cover 104. The paper cassette is connected to the front cover 104 and detachably attached to the case 102. A paper discharge tray (not illustrated) is provided in the +Z direction of the paper cassette, and the paper discharge tray can be expanded and contracted in the +Y direction and the −Y direction. The paper discharge tray is provided in the −Y direction with respect to the operation panel 101 in the state illustrated in
The X-axis is a main scanning axis HD of a print head 107, and the Y-axis is a sub-scanning axis VD of the printer unit 100. A plurality of printing media P are placed in a stacked state on the paper cassette. The printing media P placed on the paper cassette are supplied one by one into the case 102 along the sub-scanning axis VD, printed by the printer unit 100, discharged along the sub-scanning axis VD, and placed on the paper discharge tray.
The scanner unit 200 is mounted on the printer unit 100. The scanner unit 200 has a case 201. The case 201 constitutes the outer shell of the scanner unit 200. The scanner unit 200 is of a flat bed type and has a document table formed of a transparent plate-like member such as glass and an image sensor. The scanner unit 200 reads an image or the like recorded on a medium such as paper as image data via an image sensor. The electronic apparatus 10 may be provided with an automatic document feeder (not illustrated). The scanner unit 200 sequentially feeds a plurality of stacked documents while reversing them one by one by the automatic document feeder, and reads them by using the image sensor.
The ink tank unit 300 has a function of supplying ink IK to the print head 107 included in the printer unit 100. The ink tank unit 300 includes a case 301, and the case 301 has a lid 302. A plurality of ink tanks 310 are accommodated in the case 301.
In the example illustrated in
The ink tanks 310a, 310b, 310c, 310d, and 310e are disposed side by side in this order along the +X direction, and fixed in the case 301. Hereinafter, when the five ink tanks 310a, 310b, 310c, 310d, and 310e and the five kinds of inks IKa, IKb, IKc, IKd, and IKe are not distinguished, they are simply expressed as the ink tank 310 and the ink IK.
In the present embodiment, ink IK is configured to be able to be filled into the ink tank 310 from the outside of the electronic apparatus 10 for each of the five ink tanks 310. Specifically, the user of the electronic apparatus 10 fills to replenish ink IK accommodated in another container into the ink tank 310.
In the present embodiment, the capacity of the ink tank 310a is greater than the capacities of the ink tanks 310b, 310c, 310d, and 310e. The capacities of the ink tanks 310b, 310c, 310d, and 310e are the same as each other. In the printer unit 100, it is assumed that the black pigment ink IKa is consumed more compared to the color inks IKb, IKc, and IKd and the black dye ink IKe. The ink tank 310a accommodating the black pigment ink IKa is disposed at a position close to the center of the electronic apparatus 10 on the X-axis. In this way, for example, when the case 301 has a window portion for causing the user to visually recognize the side surface of the ink tank 310, it becomes easier to check the remaining amount of ink frequently used. However, the disposition order of the five ink tanks 310a, 310b, 310c, 310d, and 310e is not particularly limited. When any of the other inks IKb, IKc, IKd, and IKe is consumed more than the black pigment ink IKa, the ink IK may be accommodated in the ink tank 310a having a large capacity.
When the ink tank unit 300 includes a plurality of ink tanks 310 as described above, each of the plurality of ink tanks 310 may be configured separately or may be configured integrally. When the ink tank 310 is integrally configured, the ink tank 310 may be integrally formed, or a plurality of ink tanks 310 formed separately may be integrally bundled or connected together.
The ink tank 310 includes a filling port 311 into which ink IK is filled by the user, and a discharging port 312 for discharging the ink IK toward the print head 107. In the present embodiment, the upper surface of the portion on the +Y direction side that is a front side of the ink tank 310 is higher than the upper surface of the portion on the −Y direction side that is a rear side. The filling port 311 for filling ink IK from the outside is provided on the upper surface of the portion on the front side of the ink tank 310. The filling port 311 is exposed by opening the lid 302 and the cap as described above with reference to
A print head 107 is mounted on the carriage 106. The print head 107 has a plurality of nozzles for ejecting ink IK in the −Z direction on the bottom surface side of the carriage 106. The tube 105 is provided between the print head 107 and each ink tank 310. Each ink IK in the ink tank 310 is sent to the print head 107 via the tube 105 coupled to the discharging port 312. The print head 107 ejects each ink IK sent from the ink tanks 310 to the printing medium P from the plurality of nozzles as ink droplets.
The carriage 106 is driven by the carriage motor 109 to reciprocate along the main scanning axis HD on the printing medium P. The paper feed motor 108 rotationally drives the paper feed roller 110 to transport the printing medium P along the sub-scanning axis VD. The ejection control of the print head 107 is performed by the processing section 120 via a cable.
In the printer unit 100, printing is performed on the printing medium P by the carriage 106 ejecting the ink IK from the plurality of nozzles of the print head 107 to the printing medium P transported to the sub-scanning axis VD while moving along the main scanning axis HD, based on the control of the processing section 120.
One end of the carriage 106 on the main scanning axis HD in a moving area is a home position area where the carriage 106 stands by. In the home position area, for example, a cap or the like (not illustrated) for performing maintenance such as cleaning the nozzle of the print head 107 is disposed. Also, a waste ink box for receiving waste ink when flushing or cleaning of the print head 107 is performed is disposed in the moving area of the carriage 106. The flushing means that ink IK is ejected from each nozzle of the print head 107 regardless of printing during printing of the printing medium P. The cleaning means cleaning the inside of the print head by sucking the print head by a pump or the like provided in the waste ink box, without driving the print head 107.
Here, an off-carriage type printer in which the ink tank 310 is provided at a location different from the carriage 106 is assumed. However, the printer unit 100 may be an on-carriage type printer in which the ink tank 310 is mounted on the carriage 106 and moved along the main scanning axis HD together with the print head 107. The on-carriage type printer will be described later with reference to
The operation section 160 and the display section 150 as a user interface section are coupled to the processing section 120. The display section 150 is for displaying various display screens and can be realized by, for example, a liquid crystal display or an organic EL display. The operation section 160 is for the user to perform various operations and can be realized by various buttons, GUI, or the like. For example, as illustrated in
For example, in
An external device can be coupled to the processing section 120 via the external I/F section 170. The external device here is, for example, a personal computer (PC). The processing section 120 receives the image data from the external device via the external I/F section 170, and performs control for printing the image on the printing medium P by the printer unit 100. In addition, the processing section 120 controls the scanner unit 200 to read the document and transmit the image data as a reading result to the external device via the external I/F section 170, or to print the image data as the reading result.
The processing section 120 performs, for example, a drive control, consumption calculation processing, ink amount detection processing, and ink type determination processing. The processing section 120 of the present embodiment is configured by the following hardware. The hardware can include at least one of a circuit for processing a digital signal and a circuit for processing an analog signal. For example, the hardware can be configured by one or more circuit devices mounted on the circuit substrate or one or more circuit elements. The one or more circuit devices are, for example, ICs or the like. The one or more circuit elements are, for example, resistances, capacitors, or the like.
The processing section 120 may be realized by the following processor. The electronic apparatus 10 of the present embodiment includes a memory that stores information, and a processor that operates based on information stored in the memory. The information is, for example, a program and various kinds of data. The processor includes hardware. As the processor, various processors such as a central processing unit (CPU), graphics processing unit (GPU), digital signal processor (DSP), or the like can be used. The memory may be a semiconductor memory such as a static random access memory (SRAM), a dynamic random access memory (DRAM), or the like, and may be a register, or a magnetic storage device such as a hard disk device, or may be an optical storage device such as an optical disk device or the like. For example, the memory stores an instruction that can be read by a computer, and the function of each section of the electronic apparatus 10 is realized as processing by executing the instruction by the processor. The instruction here may be an instruction of an instruction set constituting the program or an instruction for instructing the operation to the hardware circuit of the processor.
The processing section 120 controls the carriage motor 109 to perform drive control for moving the carriage 106. Based on the drive control, the carriage motor 109 drives to move the print head 107 provided on the carriage 106.
The processing section 120 performs the consumption calculation processing of calculating a consumption of ink consumed by ejecting the ink IK from each nozzle of the print head 107. The processing section 120 starts the consumption calculation processing with the state where each ink tank 310 is filled with the ink IK as an initial value. More specifically, when the user replenishes the ink IK to the ink tank 310 and presses a reset button, the processing section 120 initializes a count value of the ink consumption with respect to the ink tank 310. Specifically, the count value of the ink consumption is set to 0 g. The processing section 120 starts the consumption calculation processing with the pressing operation of the reset button as a trigger.
The processing section 120 performs ink amount detection processing of detecting the amount of ink IK accommodated in the ink tank 310, based on the output of a sensor unit 320 provided corresponding to the ink tank 310. The processing section 120 performs ink type determination processing of determining the type of the ink IK accommodated in the ink tank 310, based on the output of the sensor unit 320 provided corresponding to the ink tank 310. Details of the ink amount detection processing and the ink type determination processing are described later.
The light source 323 and the photoelectric conversion device 322 are mounted on the substrate 321. The photoelectric conversion device 322 is a linear image sensor in which, for example, photoelectric conversion elements are disposed in a predetermined direction. The linear image sensor may be a sensor in which photoelectric conversion elements are disposed in one row or a sensor in which photoelectric conversion elements are disposed in two or more rows. The photoelectric conversion element is, for example, a photodiode (PD). A plurality of output signals based on a plurality of photoelectric conversion elements are acquired by using the linear image sensor. Therefore, not only the presence or absence of the ink IK but also the position of the liquid level can be estimated. Note that, the liquid level may be restated as an interface between ink and air.
The light source 323 has, for example, R, G, and B light emitting diodes (LED: Light emitting diode) and emits light sequentially while switching the R, G, and B light emitting diodes at high speed. Hereinafter, the light emitting diode of R is represented as a red LED 323R, the light emitting diode of G is represented as a green LED 323G, and the light emitting diode of B is represented as a blue LED 323B. The light guide 324 is a rod-like member for guiding light, and the cross-sectional shape may be a square shape, a circular shape, or another shape. The longitudinal direction of the light guide 324 is a direction along the longitudinal direction of the photoelectric conversion device 322. Since light from the light source 323 goes out from the light guide 324, the light guide 324 and the light source 323 may be collectively referred to as a light source when it is not necessary to distinguish the light guide 324 and the light source 323.
The light source 323, the light guide 324, the lens array 325, and the photoelectric conversion device 322 are accommodated between the case 326 and the substrate 321. The case 326 is provided with a first opening portion 327 for a light source and a second opening portion 328 for a photoelectric conversion device. Light emitted from the light source 323 enters the light guide 324, thereby the entire light guide emits light. Light emitted from the light guide 324 is emitted to the outside of the case 326 through the first opening portion 327. Light from the outside is input to the lens array 325 through the second opening portion 328. The lens array 325 guides the input light to the photoelectric conversion device 322. Specifically, the lens array 325 has a Selfoc lens array (Selfoc is a registered trademark) in which many refractive index distribution type lenses are disposed.
In the example illustrated in
As illustrated in
As described above, the “discharging port” in the present embodiment includes the discharging port 312 for discharging ink IK to the outside of the ink tank 310, and the second discharging port 313 for discharging ink IK from the main container 315 to the discharging port 312. Among them, the second discharging port 313 is more strongly related to whether ink IK is supplied to the print head 107. As illustrated in
The sensor unit 320 may be bonded to the ink tank 310, for example. Alternatively, the sensor unit 320 may be mounted on the ink tank 310 by providing fixing members respectively to the sensor unit 320 and the ink tank 310 and fixing the members by fitting or the like. Various modifications can be performed in the shape, material, or the like of the fixing member. Further, as will be described later with reference to
The photoelectric conversion device 322 is provided in the range of z1 to z2, for example, in the Z-axis. The z1 and z2 are coordinate values in the Z-axis, and z1<z2. When the ink tank 310 is irradiated with light from the light source 323, absorption and scattering of light occur by the ink IK filled in the ink tank 310. Therefore, the portion of the ink tank 310 not filled with the ink IK becomes relatively bright, and the portion filled with the ink IK becomes relatively dark. For example, when the liquid level of the ink IK exists at the position having a coordinate value in the Z-axis of z0, in the ink tank 310, the area having a coordinate value in the Z-axis of z0 or smaller becomes dark and the area having a coordinate value in the Z-axis of greater than z0 becomes bright.
As illustrated in
In consideration of the accurate detection of the ink amount, it is preferable that light emitted to the ink tank 310 be made to be approximately the same degree regardless of the position in the vertical direction. As described above, since the presence or absence of the ink IK appears as a difference in brightness, variation in light amount of the irradiation light leads to reduction in accuracy. Therefore, the sensor unit 320 has a light guide 324 disposed so that the longitudinal direction thereof is the vertical direction. The light guide 324 here is a rod-like light guide as described above. In consideration of uniformly illuminating the light guide 324, in the light source 323, light preferably enters the light guide 324 from the lateral direction, that is, the direction along the longitudinal direction of the light guide 324. Since the incident angle becomes large in this way, total reflection is easily generated.
It is desirable that at least a portion of the inner wall of the ink tank 310 that faces the photoelectric conversion device 322 is higher in ink repellency than the outer wall of the ink tank 310. Of course, the entire inner wall of the ink tank 310 may be processed to enhance the ink repellency in comparison with the outer wall of the ink tank 310. The portion facing the photoelectric conversion device 322 may be the entire inner wall in the −Y direction of the ink tank 310 or a portion of the inner wall. Specifically, in the inner walls of the ink tank 310 in the −Y direction, the portion of the inner wall is an area including a portion where the position on the XZ plane overlaps the photoelectric conversion device 322. When an ink droplet adheres to the inner wall of the ink tank 310, the portion of the ink droplet becomes darker than a portion where no ink exists. Therefore, there is a possibility that the ink amount detection accuracy may be lowered due to the ink droplet. By enhancing the ink repellency of the inner wall of the ink tank 310, the adhesion of the ink droplet can be suppressed.
In
The AFE circuit 130 is realized by, for example, an integrated circuit (IC). The AFE circuit 130 includes a non-volatile memory (not illustrated). The non-volatile memory here is, for example, an SRAM. Note that, the AFE circuit 130 may be provided on the substrate 321 or may be provided on a substrate different from the substrate 321.
The processing section 120 controls the operation of the sensor unit 320. First, the processing section 120 controls operations of the red LED 323R, the green LED 323G, and the blue LED 323B. Specifically, the processing section 120 supplies a drive signal DrvR to the red LED 323R at a fixed period T for a fixed exposure time Δt and causes the red LED 323R to emit light. Similarly, the processing section 120 supplies the green LED 323G with a drive signal DrvG for the exposure time Δt at the period T to cause the green LED 323G to emit light, and supplies the blue LED 323B with a drive signal DrvB for the exposure time Δt at the period T to cause the blue LED 323B to emit light. The processing section 120 causes the red LED 323R, the green LED 323G, and the blue LED 323B to emit light exclusively one by one in order during the period T.
The processing section 120 controls operations of n photoelectric conversion devices 323 (322-1 to 322-n). Specifically, the processing section 120 supplies the clock signals CLK in common to the n photoelectric conversion devices 322. The clock signals CLK are operation clock signals of the n photoelectric conversion devices 322, and each of the n photoelectric conversion devices 322 operates based on the clock signal CLK.
Each photoelectric conversion device 322-j (j=1 to n) generates and outputs an output signal OS based on light received by each photoelectric conversion element in synchronization with the clock signal CLK, when receiving a chip enable signal ENj after each photoelectric conversion element receives light.
The processing section 120 causes the red LED 323R, the green LED 323G, or the blue LED 323B to emit light, generates a chip enable signal EN1 that is active only until the photoelectric conversion device 322-1 finishes outputting the output signal OS, and supplies it to the photoelectric conversion device 322-1.
The photoelectric conversion device 322-j generates a chip enable signal ENj+1 before the output of the output signal OS is finished. The chip enable signals EN2 to ENn are supplied to photoelectric conversion devices 322-2 to 322-n, respectively.
Thus, after the red LED 323R, the green LED 323G, or the blue LED 323B emits light, the n photoelectric conversion devices 322 sequentially output the output signals OS. Then, the sensor unit 320 outputs the output signal OS sequentially output by the n photoelectric conversion devices 322 from a terminal (not illustrated). The output signal OS is transferred to the AFE circuit 130.
The AFE circuit 130 sequentially receives the output signals OS output from the n photoelectric conversion devices 322 in order, performs amplification processing and A/D conversion processing with respect to each output signal OS to convert into digital data including a digital value corresponding to the amount of light received by each photoelectric conversion element, and sequentially transmits each digital data to the processing section 120. The processing section 120 receives each digital data sequentially transmitted from the AFE circuit 130, and performs ink amount detection processing and ink type determination processing described later.
The photoelectric conversion device 322 is supplied with a power supply voltage VDD and a power supply voltage VSS from the two power supply terminals VDP and VSP, respectively. The photoelectric conversion device 322 operates based on a chip enable signal EN_I, a clock signal CLK, and a reference voltage VREF supplied from a reference voltage supply terminal VRP. The power supply voltage VDD corresponds to a high potential side power supply, and is 3.3 V, for example. The VSS corresponds to a low potential side power supply, and is 0 V, for example. The chip enable signal EN_I is any one of chip enable signals EN1 to ENn in
The chip enable signal EN_I and the clock signal CLK are input to the control circuit 3222. The control circuit 3222 controls operations of the boosting circuit 3223, the pixel drive circuit 3224, the p pixel portions 3225, the CDS circuit 3226, and the sample hold circuit 3227 based on the chip enable signal EN_I and the clock signal CLK. Specifically, the control circuit 3222 generates a control signal CPC that controls the boosting circuit 3223, a control signal DRC that controls the pixel drive circuit 3224, a control signal CDSC that controls the CDS circuit 3226, a sampling signal SMP that controls the sample hold circuit 3227, a pixel selection signal SEL0 that controls the pixel portion 3225, a reset signal RST, and a chip enable signal EN_O.
The boosting circuit 3223 boosts the power supply voltage VDD based on the control signal CPC from the control circuit 3222, and generates a transfer control signal Tx that sets the boosted power supply voltage to a high level. The transfer control signal Tx is a control signal for transferring electric charges generated during exposure time Δt based on photoelectric conversion by the photoelectric conversion element and is commonly supplied to the p pixel portions 3225.
The pixel drive circuit 3224 generates a drive signal Dry for driving the p pixel portions 3225 based on the control signal DRC from the control circuit 3222. The p pixel portions 3225 are disposed side by side in a one-dimensional direction, and the drive signal Dry is transferred to the p pixel portions 3225. When the drive signal Dry is active and a pixel selection signal SELi−1 is active, an i-th, i being any one of 1 to p, pixel portion 3225 activates a pixel selection signal SELi and outputs a signal. The pixel selection signal SELi is output to an (i+1)-th pixel portion 3225.
The p pixel portions 3225 include photoelectric conversion elements that receive light and perform photoelectric conversion, and based on the transfer control signal Tx, the pixel selection signal SEL (any one of SEL0 to SELp−1), the reset signal RST, and the drive signal Drv, output a signal having a voltage corresponding to light received by the photoelectric conversion element during the exposure time Δt respectively. Signals output from the p pixel portions 3225 are sequentially transferred to the CDS circuit 3226.
The CDS circuit 3226 receives a signal Vo sequentially including the signals respectively output from the p pixel portions 3225, and operates based on the control signal CDSC from the control circuit 3222. The CDS circuit 3226 removes noise generated by the characteristics variation in the amplification transistors of the p pixel portions 3225 and superimposed on the signal Vo by the correlated double sampling with the reference voltage VREF as a reference. That is, the CDS circuit 3226 is a noise reduction circuit for reducing noise included in the signals output from the p pixel portions 3225.
The sample hold circuit 3227 samples the signal from which noise is removed by the CDS circuit 3226 based on the sampling signal SMP, holds the sampled signal, and outputs it to the output circuit 3228.
The output circuit 3228 amplifies the signal output from the sample hold circuit 3227 to generate the output signal OS. As described above, the output signal OS is output from the photoelectric conversion device 322 via an output terminal OP1 and supplied to the AFE circuit 130.
The control circuit 3222 generates a chip enable signal EN_O which is a high pulse signal shortly before the output of the output signal OS from the output circuit 3228 is finished, and outputs it from an output terminal OP2 to a next-stage of photoelectric conversion device 322. The chip enable signal EN_O here is any one of chip enable signals EN2 to ENn+1 in
As described above, the sensor 190 of the present embodiment includes the photoelectric conversion device 322 and the AFE circuit 130 coupled to the photoelectric conversion device 322. In this way, it becomes possible to output appropriate pixel data based on the output signal OS output from the photoelectric conversion device 322. The output signal OS is an analog signal and the pixel data is digital data. Note that, the sensor 190 may output pixel data of a number corresponding to the number of photoelectric conversion elements included in the photoelectric conversion device 322, and the number is not limited to this. As will be described later with reference to
As described above, the sensor unit 320 of the present embodiment includes a lens array 325 in which a plurality of Selfoc lenses are disposed side by side in a predetermined direction. The photoelectric conversion element included in the photoelectric conversion device 322 outputs a signal corresponding to the light amount by receiving light from the lens array 325.
In the present embodiment, the ink amount detection processing and the ink type determination processing are performed based on the light amount detected by the photoelectric conversion device 322 as described later. The light amount unevenness becomes a factor that reduces the accuracy of these processing. Specifically, an erroneous determination may occur in comparison processing with a threshold which will be described later, due to the light amount unevenness.
When the lens array 325 and the photoelectric conversion device 322 are used in a scanner, a shading correction is performed. Since the reference value in the shading correction becomes information including the light amount unevenness, it is possible to reduce the light amount unevenness by performing the shading correction using the reference value. Also, in the present embodiment, it is not hindered to perform the shading correction. However, in order to perform the shading correction, it is necessary to measure the reference value in advance and write it in the non-volatile memory. Therefore, the number of steps before shipment increases, which leads to an increase in cost. Further, the processing section 120 needs to perform ink amount detection processing or the like after performing correction processing using a reference value on the pixel data output from the sensor 190. Therefore, the processing load during the operation of the printer is also large.
Therefore, in the present embodiment, the pitch of the plurality of lenses may be k times the pixel pitch of the sensor 190, k being an integer of 2 or more. The lens pitch is a disposition interval of the lenses included in the lens array 325. Specifically, the lens pitch is a distance from a reference position of a given lens to a reference position of an adjacent lens. The reference position here may be a center of the lens, one end point on the Z-axis, or another position. As illustrated in
Then, the processing section 120 determines the ink amount based on the sum of the outputs of the k continuous pixels. The pixel here corresponds to the pixel portion 3225 in
As described above, the light amount unevenness of the lens array 325 has a periodicity corresponding to the lens pitch. By setting the lens pitch to be k times the pixel pitch, k continuous pixels have a length corresponding to a wavelength of the light amount unevenness. Therefore, the light amount unevenness can be reduced by summing the outputs of k continuous pixels. For example, the degree of occurrence of light amount unevenness in three pixels indicated by A1 in
Here, the lens pitch is, for example, 300 micrometers. 300 micrometers is a pitch widely used in the Selfoc lens array. For example, the Selfoc lens array widely used in the scanners can be applied to the method of the present embodiment.
Further, k may be 3 to 5. The size of the photoelectric conversion element can be variously designed. However, it is not easy to manufacture an excessively large element. Further, an extremely high resolution is not required for the ink amount detection processing and the like in the present embodiment. For example, a scanner may have a resolution of 600 dpi (dots per inch), 1200 dpi, 4800 dpi, or the like, but the resolution of the present embodiment may be lower than this. For example, by using the photoelectric conversion device 322 having a pixel pitch used in a low-resolution scanner having a resolution of about 250 to 430 dpi, it is possible to reduce costs while diverting parts. When the lens pitch is 300 micrometers, the pixel pitch is about 60 to 100 micrometers. Hereinafter, an example of k=3 will be described.
The sensor 190 may output pixel data in one pixel unit to the processing section 120, and the processing section 120 may perform processing of obtaining the sum or average of pixel data of k continuous pixels. Also, in this case, it is possible to reduce the light amount unevenness.
Alternatively, the sensor 190 may output pixel data corresponding to the sum of the outputs of k continuous pixels. In this way, the sensor 190 performs the processing of obtaining the sum or average of the pixel data. Compared to when the processing section 120 calculates the sum or the average, it is possible to reduce the amount of data stored in the SRAM in the AFE circuit 130, and the amount of communication data between the AFE circuit 130 and the processing section 120. Details of the data amount will be described later with reference to
The control circuit 3222 turns on the switches SW0, SW1, and SW2 and turns off the other switches in a period during which the first to third pixel portions 3225 out of the p pixel portions 3225 output signals. In this case, the analog signal corresponding to the sum of the three pixel portions 3225 is output from the output terminal OP1. By subjecting the signal to A/D conversion processing in the AFE circuit 130, pixel data corresponding to the sum of the outputs of three continuous pixels is output. Note that, the pixel portion 3225 may include an amplifier. In this case, by adjusting the gain of the amplifier in advance, it is possible to output the sum for the three pixels or the average for the three pixels. Alternatively, the gain of the amplifier included in the AFE circuit 130 may be adjusted.
Similarly, in the period during which the fourth to sixth pixel portions 3225 output signals, the switches SW3, SW4, and SW5 are turned on, and the other switches are turned off, so that the sum for the next three continuous pixels is output. The same applies to the subsequent steps, and the sensor 190 can output pixel data corresponding to the sum of the outputs of the k continuous pixels by performing control to sequentially turn on a set of k switches. In this case, the output signal OS output from one photoelectric conversion device 322 is a signal including p/k signals in order.
Note that, the photoelectric conversion device 322 may output pixel data in one pixel unit to the AFE circuit 130, and the AFE circuit 130 may perform processing of obtaining the sum or average of the pixel data for the k continuous pixels.
Further, the sensor 190 may be capable of switching the output in one pixel unit and the output in units of k pixels. For example, the processing section 120 gives the sensor 190 either an output instruction in one pixel unit or an output instruction in units of k pixels. When the output instruction in one pixel unit is received, the control circuit 3222 of the photoelectric conversion device 322 turns on the switches provided corresponding to the pixel portions 3225 one by one. Specifically, only the switch corresponding to the active pixel portion 3225 is turned on and the other switches are turned off. Further, when the output instruction in units of k pixels is received, the control circuit 3222 of the photoelectric conversion device 322 turns on the switches provided corresponding to the pixel portions 3225 in groups of k, as described above. In this way, it is possible to switch whether the light amount unevenness is corrected by the sensor 190. For example, when the processing load on the processing section 120 is reduced, the outputs for k pixels are summed by the sensor 190. On the other hand, when the accuracy is important, the sensor 190 outputs pixel data in one pixel unit, and the processing section 120 performs the shading correction.
Note that, the lens pitch is, for example, 300 micrometers, the pixel pitch is, 100 micrometers, and k=3, for example. However, since a manufacturing error occurs in the lens pitch and the pixel pitch, the lens pitch may not be the integral multiple of the pixel pitch. As described above, when strictly correcting the light amount unevenness, it is desirable to set so that the lens pitch matches k times the pixel pitch. This is because the k continuous pixels correspond to the wavelength of the light amount unevenness. However, it is confirmed that, by using the pixel data corresponding to the sum of a plurality of continuous pixels, it is possible to reduce the light amount unevenness to the extent that there is no problem in the ink amount detection processing. Therefore, the fact that “the lens pitch is k times the pixel pitch” in the present embodiment means that it is sufficient as long as the lens pitch is designed to be k times or substantially k times the pixel pitch, and the actual pitch ratio is not limited to being the integral multiple. For example, the lens pitch, the pixel pitch, and k in the present embodiment have an effective digit of one digit.
In other words, the processing section 120 determines the ink amount based on the sum of the outputs of k continuous pixels provided in the sensor 190 corresponding to each lens of the plurality of lenses. That is, it is sufficient as long as the lens and the k continuous pixels have a correspondence relationship, and they do not have to exactly match.
For example, the lens pitch may be 300±40 micrometers. In the present embodiment, it is confirmed that the ink amount detection processing can be performed with sufficient accuracy, even when an error of about 10% occurs in the lens pitch, the pixel pitch, or a relative relationship between the two pitches.
Next, processing of determining the amount of ink IK accommodated in the ink tank 310 based on the output of the sensor 190 will be described.
The horizontal axis of
When the longitudinal direction of the photoelectric conversion device 322 is the vertical direction, the left direction on the horizontal axis corresponds to the −Z direction, and the right direction corresponds to the +Z direction. When the positional relationship between the photoelectric conversion device 322 and the ink tank 310 is known, it is possible to associate each photoelectric conversion element with the distance from the reference position of the ink tank 310. The reference position of the ink tank 310 is, for example, a position corresponding to an inner bottom surface of the ink tank 310. The inner bottom surface is the position of the assumed lowest ink level.
Further, pixel data corresponding to one photoelectric conversion element is, for example, 8-bit data and has a value in the range of 0 to 255. However, the values of the vertical axis can be replaced with data after the normalization processing or the like is performed. Of course, it is not limited to 8 bits, and other bits such as 4 bits or 12 bits may be used.
As described above, the photoelectric conversion element corresponding to the area where the ink IK does not exist has relatively large amount of light received, and the photoelectric conversion element corresponding to the area where the ink IK exists has relatively small amount of light received. In the example illustrated in
The processing section 120 performs ink amount detection processing based on the pixel data output by the sensor 190. Specifically, the processing section 120 detects a position of the liquid level of the ink IK based on the pixel data. As illustrated in
For example, the processing section 120 specifies the maximum value of the pixel data as the value of the pixel data in the ink non-detection area. The processing section 120 determines a value smaller than the specified value by a predetermined amount as the threshold Th. Alternatively, the processing section 120 specifies the minimum value of the pixel data as the value of the pixel data in the ink detection area. The processing section 120 determines a value greater than the specified value by a predetermined amount as the threshold Th. Alternatively, the processing section 120 may determine the threshold Th based on the average of the maximum value and the minimum value of the pixel data.
However, when the type of the ink IK and the type of the light source 323 are determined, the value of the pixel data corresponding to the ink level can be determined in advance. Therefore, the processing section 120 may perform processing of reading out the predetermined threshold Th from the storage section 140 without obtaining the threshold Th each time.
When the threshold Th is acquired, the processing section 120 detects a position where the output value becomes Th as a position of the liquid level of the ink IK. In this way, the amount of ink included in the ink tank 310 can be detected by using the photoelectric conversion device 322 which is a linear image sensor. Information obtained directly by using Th is a relative position of the ink level with respect to the photoelectric conversion device 322. Therefore, the processing section 120 may perform calculation for obtaining the remaining amount of the ink IK based on the position of the liquid level.
When all output data is greater than Th, the processing section 120 determines that ink does not exist in the target range of the ink amount detection, that is, the liquid level is located at a position lower than the end point of the photoelectric conversion device 322 in the −Z direction. When all output data is smaller than Th, the processing section 120 determines that the target range of the ink amount detection is filled with ink, that is, the liquid level is at a position higher than the end point of the photoelectric conversion device 322 in the +Z direction. When it is not possible that the liquid level is located at a position higher than the end point of the photoelectric conversion device 322 in the +Z direction, it may be determined that an abnormality has occurred.
The ink amount detection processing is not limited to processing using the threshold Th in
As for the ink amount detection processing, which processing is actually adopted from the above-mentioned a plurality of processing and other processing may be determined by conducting an experiment for each type of ink IK and each type of the light source 323 and selecting processing of deriving a value that more closely matches the actual liquid level.
When a plurality of pixel data is acquired based on a plurality of lights having different wavelength bands as illustrated in
Next, the processing section 120 performs ink amount detection processing based on the acquired pixel data (S103). As described above, various modifications can be made to the specific processing of S103, such as comparison processing of comparing with the threshold Th and detection processing of detecting the maximum value of the inclination.
The processing section 120 determines the amount of ink IK filled in the ink tank 310 based on the detected position of the liquid level (S104). For example, the processing section 120 sets ink amounts in three stages of “large remaining amount”, “small remaining amount”, and “ink end” in advance, and determines whether the current ink amount corresponds to which one of them. The large remaining amount represents a state in which a sufficient amount of the ink IK is left and no user action is required for continuing printing. The small remaining amount represents a state in which the continuation of printing itself is possible but the amount of ink is reduced and replenishment by the user is desirable. The ink end represents a situation where the ink amount is remarkably reduced and the printing operation should be stopped.
When it is determined that the remaining amount is large in processing of S104 (S105), the processing section 120 ends the processing without performing notification or the like. When it is determined that the remaining amount is small in the processing of S104 (S106), the processing section 120 performs notification processing for urging the user to replenish the ink IK (S107). The notification processing is performed by displaying a text or an image on a display section 150, for example. However, the notification processing is not limited to display. It may be notification by emitting light from a light emitting section for notification, notification by sound using a speaker, notification by the means such as electronic mail sent to a predetermined computer at a remote place, or notification of combination of these. When the ink end is determined in the processing of S104 (S108), the processing section 120 performs notification processing of urging the user to replenish the ink IK (S109). The notification processing of S109 may be the same as the notification processing of S107. However, as described above, it is difficult to continue the printing operation in the ink end, which is a serious state as compared with the small remaining amount. Thus, the processing section 120 may perform notification processing in S109 different from that of S107. Specifically, when comparing with the processing of S107, the processing section 120 may execute processing such as changing the text to be displayed to a content that strongly urges the user to replenish the ink IK, increasing the light emission frequency, increasing the sound, and the like in S109. The processing section 120 may perform processing (not illustrated) such as printing operation stop control after the processing of S109.
The execution trigger of the ink amount detection processing illustrated in
The processing section 120 may store the ink amount detected by in the ink amount detection processing to the storage section 140. The processing section 120 performs processing based on the time series change of the detected ink amount. For example, the processing section 120 obtains an ink increase amount or an ink decrease amount based on a difference between the ink amount detected at a given timing and the ink amount detected at a timing before the given timing.
Since the ink IK is used for printing, head cleaning, or the like, the reduction of the ink amount is natural in consideration of the operation of the electronic apparatus 10. However, the amount of ink IK consumed per unit time in printing and the amount of ink IK consumed per head cleaning are determined to some extent, and when the amount of consumption is extremely large, there may be an abnormality such as ink leakage.
For example, the processing section 120 obtains a standard ink consumption assumed in printing or the like in advance. The standard ink consumption may be obtained based on the estimated ink consumption per unit time or based on the estimated ink consumption per job. The processing section 120 determines that there is an abnormality when the ink reduction amount obtained based on the time-series ink amount detection processing is greater than the standard ink consumption by a predetermined amount or more. Alternatively, the processing section 120 may perform consumption calculation processing of calculating the amount of ink consumption by counting the number of times of discharge of ink IK. In this case, the processing section 120 determines that there is an abnormality when the ink reduction amount obtained based on the time series ink amount detection processing is greater than the ink consumption calculated by the consumption calculation processing by a predetermined amount or more.
The processing section 120 sets an abnormality flag to be ON when the abnormality is determined. In this way, when the ink amount is excessively reduced, some kind of error processing can be executed. Various processing can be considered when the abnormality flag is set to ON. For example, the processing section 120 may re-execute the ink amount detection processing illustrated in
The ink amount increases by replenishing the ink IK by the user. However, it is conceivable that the ink amount increases even when the ink IK is not replenished, such as a temporary change of the liquid level due to the shaking of the electronic apparatus 10, a backflow of ink IK from the tube 105, a detection error of the photoelectric conversion device 322, or the like. Therefore, when the ink increase amount is equal to or less than a given threshold, the processing section 120 determines that the ink IK is not replenished and the increase width is within an allowable error range. In this case, since it is determined that the change in the ink amount is in a normal state, no additional processing is performed.
On the other hand, when the ink increase amount is greater than the given threshold, the processing section 120 determines that the ink is replenished and sets an ink replenishment flag to ON. The ink replenishment flag is used as the execution trigger for ink type determination processing which will be described later, for example. The ink replenishment flag may be used as a trigger for processing of resetting an initial value in the consumption calculation processing.
However, when the ink increase amount is greater than the given threshold, it cannot be denied that there is a possibility of an unacceptably large error due to some abnormality. Thus, the processing section 120 performs notification processing for requesting the user to input whether the ink IK has been replenished, and may determine whether to set the abnormality flag or the ink replenishment flag based on the result input by the user.
As described above with reference to
For example, the AFE circuit 130 receives an output signal OS including q signals based on q photoelectric conversion elements, performs A/D conversion of the output signal OS, and writes q pieces of pixel data which is the result of the A/D conversion, in the SRAM. Note that, as described above with reference to
When one pixel data is represented by 8 bits, the SRAM included in the AFE circuit 130 needs to be able to store q×8 bits of data, which increases the size of the SRAM. The interface between the AFE circuit 130 and the processing section 120 is a serial interface such as a serial peripheral interface (SPI). Therefore, when the amount of transfer data is large, the time required for communication becomes long. Therefore, the sensor 190 of the present embodiment may reduce the amount of data. Hereinafter, a specific method will be described.
For example, the processing section 120 designates a reading area for the sensor 190, and determines the ink amount based on the pixel data of the reading area output from the sensor 190. The reading area here represents a part of the area where the sensor 190 can detect light. The area where the sensor 190 can detect light is an area where the photoelectric conversion elements are disposed.
In the present embodiment, there is a case where the photoelectric conversion element is disposed in a range wider than the area corresponding a range from an ink-low state to an ink-full state. The ink-low state corresponds to the minimum amount of ink IK to be detected, and the ink-full state corresponds to the maximum amount of ink IK to be detected. Hereinafter, an area corresponding to a range from the ink-low state to the ink-full state will be referred to as a detection area.
For example, when the detection area is a range corresponding to 180 photoelectric conversion elements, the sensor 190 having 200 photoelectric conversion elements is used. In this way, even when the relative position of the sensor unit 320 with respect to the ink tank 310 is deviated in the ±Z direction due to the mounting error, it is possible to perform the ink amount detection processing for the detection area. However, in this case, the photoelectric conversion elements are disposed at a position that is not the target of the ink amount detection, and the output of the photoelectric conversion element is less required to be used for the processing.
The designation of the reading area in the present embodiment may be designation of the detection area in the area where the photoelectric conversion element is provided. For example, the ink tank 310 may have a mark at a predetermined position on the wall surface on the sensor unit 320 side. The processing section 120 detects the mark position based on the output of the sensor 190. Since the relationship between the mark position and the detection area is known, the processing section 120 designates the target range of the ink amount detection processing as the reading area based on the mark detection result.
The photoelectric conversion device 322 performs the output in one pixel unit as described above, and the AFE circuit 130 receives the output signal OS including 200 signals based on 200 photoelectric conversion elements. The AFE circuit 130 stores, in the SRAM, pixel data obtained by A/D converting signals corresponding to 180 designated photoelectric conversion elements out of 200 signals. On the other hand, the AFE circuit 130 discards the signals corresponding to the 20 undesignated photoelectric conversion elements out of the 200 signals without storing them in the SRAM. In this way, it is possible to reduce the amount of data stored in the SRAM and the amount of data transmitted to the processing section 120.
In consideration of further reducing the data amount, the designated reading area may be a part of the detection area. For example, it is possible to reduce the pixel data stored in the SRAM to 90 by setting the reading area to a lower half area of the detection area. The “lower” here represents the −Z direction. However, when the liquid level of the ink IK exists in the upper half area of the detection area, the ink amount cannot be appropriately detected. Specifically, the values of all pixel data become small, and the liquid level position cannot be determined.
Therefore, the processing section 120 may estimate the position of the liquid level of the ink IK based on the low resolution pixel data output by the sensor 190, and designate the area including the estimated position of the liquid level as the reading area. Then, the processing section 120 determines the ink amount based on the high resolution pixel data in the reading area output from the sensor 190. In other words, the processing section 120 instructs the sensor 190 to perform a two-stage reading.
First, by estimating an approximate position of the liquid level and designating the reading area based on the estimated position, it is possible to increase the probability that the liquid level exists in the reading area. Therefore, even when a part of the detection area is excluded from the reading area, the ink amount can be appropriately determined. Note that, it is desirable that the reading area does not include the area outside the detection area. This is because, as described above, the photoelectric conversion element outside the detection area is provided in consideration of the mounting error and the like, and it is not necessary to detect the liquid level outside the detection area. Hereinafter, an example will be described in which the detection area is an area corresponding to 180 photoelectric conversion elements, and a part of the area is designated as a reading area. However, in consideration of reducing the data amount, the reading area may be limited to a part of the area where the photoelectric conversion element is provided, and the reading area may include the area outside the detection area.
Various methods are conceivable for acquisition of low resolution pixel data and setting of the reading area. For example, the sensor 190 may include a plurality of photoelectric conversion elements, and the processing section 120 may acquire pixel data obtained by thinning out the outputs from a part of the photoelectric conversion elements out of a plurality of photoelectric conversion elements as low resolution pixel data.
When the liquid level exists at the position illustrated in
The processing section 120 sets the reading area so as to include the area between the third pixel data and the fourth pixel data. However, when the liquid level position is located in the vicinity of the photoelectric conversion element of the 37th pixel, the value of the third pixel data may change significantly depending on the fluctuation of the liquid level or the like. In other words, since it was erroneously determined that the liquid level position was located between the 37th pixel and the 55th pixel due to noise, it is also conceivable that the actual liquid level position is below the 37th pixel. Similarly, it is conceivable that the actual liquid level position exists above the 55th pixel.
Therefore, when the processing section 120 estimates that there is a liquid level position between the t-th pixel data, t being an integer satisfying 2≤t≤s−2, and the (t+1)-th pixel data of the first pixel data to the s-th pixel data, s being an integer of 4 or more, which are the pixel data after thinning, the processing section 120 designates an area obtained by expanding the area as a reading area. The designation of the area obtained by expanding the area means, for example, in this case, designating an area including a section between the (t−1)-th pixel data and the (t+2)-th pixel data as a reading area. In the above example, s=10 and t=3.
In addition, when it is determined that the liquid level exists between the first pixel data and the second pixel data, there is no area lower than that, and thus the processing section 120 designates two sections between the first pixel data and the third pixel data as the reading area. Similarly, when it is determined that the liquid level exists above the tenth pixel data, the processing section 120 designates two sections, between the ninth pixel data and the tenth pixel data, and above the tenth pixel data as the reading areas. Further, the first pixel data existing at the end point of the detection area can be omitted. Even when the first pixel data is omitted, it is possible to determine whether the liquid level is below the second pixel data, based on the value of the second pixel data.
The processing section 120 acquires pixel data that is not thinned out in the reading area as high resolution pixel data. In the above example, the AFE circuit 130 discards the information of the first to 18th pixels based on the designation of the reading area from the processing section 120, stores the pixel data for 55 pixels corresponding to the 19th pixel to the 73rd pixel in the SRAM, and discards the information of the 74th pixel to the 180th pixel. The processing section 120 acquires 55 pieces of pixel data from the AFE circuit 130 as high resolution pixel data, and determines the liquid level position by performing processing such as a threshold determination as described above with reference to
Next, the processing section 120 estimates an approximate position of the liquid level based on the low resolution pixel data (S203). The processing of S203 is, for example, as described above, comparison processing of comparing the pixel data after thinning with the threshold. The processing section 120 sets a reading area used for the acquisition of the high resolution pixel data based on the estimated position of the liquid level (S204).
The sensor 190 receives an instruction with respect to the reading area by the processing section 120 (S205). Specifically, the sensor 190 is instructed to output the high resolution pixel data in which pixels are not thinned out in the reading area. The sensor 190 outputs the high resolution pixel data based on the instruction from the processing section 120. The processing section 120 acquires the high resolution pixel data from the sensor 190 (S206).
The processing section 120 determines a highly accurate liquid level position based on the acquired high resolution pixel data (S207). The processing of S207 is the same as that of S103 of
Further, the low resolution pixel data for estimating the approximate position of the liquid level is not limited to the pixel data acquired by thinning out some pixels. For example, the pixel data including information corresponding to the sum or average of outputs of a plurality of pixels may be low resolution pixel data.
The low resolution pixel data in the example of
For example, the first data is the sum or average of 90 pieces of pixel data from the first pixel to the 90th pixel. The photoelectric conversion device 322 outputs the output signal OS including the signals corresponding to the 180 photoelectric conversion elements to the AFE circuit 130 as described above. The AFE circuit 130 sequentially A/D converts 180 analog signals included in the output signal OS.
The AFE circuit 130 includes, for example, a digital adder, sequentially adds the pixel data of the first pixel to the 90th pixel, and stores only the addition result in the SRAM. Since the sum of 90 pieces of pixel data has a value in the range of 0 to 255×90, it can be represented by 15 bits. The sum output of the first area is calculated by adding up to the pixel data of the 90th pixel. The AFE circuit 130 may output the sum to the processing section 120 as the first data, or may perform a calculation for obtaining an average and output the obtained average to the processing section 120 as the first data. Similarly, the AFE circuit 130 sequentially adds the pixel data of the 91st pixel to the 180th pixel, and stores only the addition result in the SRAM to obtain the second data. The AFE circuit 130 sequentially adds the pixel data of the 46th pixel to the 135th pixel, and stores only the addition result in the SRAM to obtain the third data.
For example, the AFE circuit 130 performs addition processing of obtaining the first data for the first pixel to the 45th pixel. By using two digital adders for the 46th pixel to the 90th pixel, the addition processing of obtaining the first data and the addition processing of obtaining the third data are performed in parallel. By using two digital adders for the 91st pixel to the 135th pixel, the addition processing of obtaining the third data and the addition processing of obtaining the second data are performed in parallel. Since the addition processing of the first data is completed in this range, the adder for the first data can be used for the addition processing of obtaining the second data. For the 136th pixel to the 180th pixel, addition processing of obtaining the second data is performed. In this case, the SRAM only needs to hold the three addition results, and for example, it is sufficient as long as it has an area of 3×15 bits. That is, the data amount can be reduced as compared with a case of holding 180 pieces of 8-bit pixel data. Although an example of digitally performing the addition processing has been described above, the AFE circuit 130 does not prevent the addition processing from being performed in an analog manner.
The processing section 120 designates the reading area based on the first data, the second data, and the third data. Hereinafter, an example in which the first to third data are average data will be described.
When the first area is entirely included in the ink detection area, the values of all pixel data corresponding to the first area are sufficiently small, and thus the first data also has a small value. On the other hand, when the first area is entirely included in the ink non-detection area, the values of all pixel data corresponding to the first area are sufficiently large, and thus the first data also has a large value. For simplification of explanation, it is assumed that the value of the pixel data in the ink detection area is normalized to 0 and the value of the pixel data in the ink non-detection area is normalized to 255. In this case, the first data is 0 when the entire first area is the ink detection area, and the first data is 255 when the entire first area is the ink non-detection area.
When the liquid level is at any position in the first area, the pixel data from the first pixel to the lower side of the liquid level in the first area is 0, and the pixel data above the liquid level is 255. The first data that is the average data has a value between 0 and 255, and the value changes according to the height of the liquid level. For example, when the liquid level is at the center of the first area, the number of pixel data to be 0 is equal to the number of pixel data to be 255, so that the first data has a value of about 128. The same applies to the second area and the third area, and the approximate position of the liquid level in each area can be estimated according to the values of the second data and the third data.
The processing section 120 determines the reading area for acquiring the high resolution pixel data based on the approximate position of the liquid level estimated from the first to third data. For example, the processing section 120 determines whether the estimated position of the liquid level is below B4, between B4 and B5, or above B5. B4 is a position near the center of the overlapping portion of the first area and the third area. In this case, the first data has a value of about 50, the second data has a value of about 255, and the third data has a value of about 200. B5 is a position near the center of the overlapping portion of the second area and the third area. In this case, the first data has a value of about 0, the second data has a value of about 200, and the third data has a value of about 50. By comparing these values with the actual first to third data, it is possible to determine whether the estimated position of the liquid level is below B4, between B4 and B5, or above B5.
Note that, as described above with reference to
As illustrated in
In the example illustrated in
The processing flow in
Even when the method illustrated in
Note that, in
The data amount reduction in the ink amount detection processing is not limited to the above method. For example, the processing section 120 determines the ink amount based on the low resolution pixel data output by the sensor 190 in the first reading area and the high resolution pixel data output by the sensor 190 in the second reading area other than the first reading area. In this way, by setting the area for outputting the low resolution pixel data and the area for outputting the high resolution pixel data respectively, the data amount can be reduced as compared with the case where the high resolution pixel data is used for all areas. Each of the first reading area and the second reading area is a part of the area that can be read by the sensor 190, and is a part of the detection area in a narrow sense. The second reading area is an area different from the first reading area, and is specifically an area that does not overlap the first reading area. More specifically, the second reading area is an area other than the first reading area in the area that can be read by the sensor 190 or the detection area.
Specifically, the sensor 190 outputs low resolution pixel data and high resolution pixel data by one time of reading. In this way, it is possible to shorten the time required for the ink amount detection processing as compared with the two-stage reading described above with reference to
In addition, the processing section 120 may acquire pixel data obtained by thinning out the outputs from a part of photoelectric conversion elements of the plurality of photoelectric conversion elements as low resolution pixel data. For example, as in the example described above with reference to
The processing section 120 performs processing of designating the first reading area and the second reading area for the sensor 190. In the example of
In this way, the sensor 190 can output appropriate low resolution pixel data and high resolution pixel data based on the instruction from the processing section 120. A fixed value may be used for the position of the boundary pixel and the ratio of pixels thinned out in the first reading area, and the processing section 120 may be able to dynamically change the value. For example, when executing a print job, the position of the boundary pixel may be a position obtained by adding a predetermined number of pixels as a margin to the position of the liquid level corresponding to the ink amount required for the print job.
The setting of the first reading area and the second reading area is not limited to that illustrated in
The ink-full state represents a state in which the ink amount is sufficiently large, and in a narrow sense, the ink-full state represents the maximum amount of ink IK to be detected. More specifically, the ink-full state is a state in which the ink amount is close to the maximum value of the capacity of the ink tank 310. When the user further replenishes the ink IK from the ink-full state, the ink overflows from the ink tank 310, which may cause stains or malfunction inside the printer. Therefore, when the ink-full state is detected, the processing section 120 may perform notification processing for suppressing further ink replenishment. By setting the area including the liquid level position corresponding to the ink-full state as the second reading area, it is possible to increase the detection accuracy of ink-full state, so that the overflow of the ink can be appropriately suppressed.
The settings of the first reading area and the second reading area may be set in advance. Specifically, the sensor 190 itself may be configured of an area where the photoelectric conversion element is provided at a low resolution and an area where the photoelectric conversion element is provided at a high resolution.
As illustrated in
In the above, various methods capable of reducing the data amount in one ink amount detection processing have been described. In the present embodiment, it is assumed that the ink amount detection processing is repeatedly executed. This is for appropriately detecting the fluctuation, because the ink amount fluctuates with the lapse of time. The fluctuation of the ink amount can be considered to be a decrease due to the execution of printing or maintenance, or an increase due to the user replenishing the ink IK.
However, it is possible to predict the fluctuation of the ink amount to some extent. For example, the consumption of the ink IK for printing can be estimated by the product of the number of times the ink IK is discharged from the nozzle and the discharge amount per one time. Further, the amount of ink IK consumed by one flushing or cleaning can be estimated in advance based on the design. Therefore, the processing section 120 can estimate the current ink amount based on the ink amount determined by the previous ink amount detection processing and the execution status of printing or maintenance from the previous ink amount detection processing to the present. Alternatively, in order to reduce the processing load, simple ink amount estimation may be performed based on the result of the previous ink amount detection processing and the elapsed time. In order to further simplify the processing, it is also possible to use the result of the previous ink amount detection processing as it is as the estimated amount of the current ink amount.
In this case, the ink amount can be appropriately determined by intensively searching the area including the liquid level position corresponding to the estimated amount of the ink IK. For example, the processing section 120 designates the first reading area and the second reading area for the sensor 190 based on the predicted ink amount.
Specifically, the processing section 120 sets an area including the liquid level position corresponding to the estimated ink amount as the second reading area. For example, an area of a given pixel range with the estimated liquid level position as the center is set as the second reading area. The processing section 120 sets the area other than the second reading area in the detection area as the first reading area.
Alternatively, the first reading area may not be used in consideration of reducing the load of the ink amount detection processing and increasing the speed. Specifically, when the predicted amount of the ink amount can be acquired, the processing section 120 acquires high resolution pixel data for only a part of the detection area, as in the two-stage reading illustrated in
Further, in the first color of the light source, the liquid level may be detected by any of the above-described methods, in the second and subsequent colors, the area including the detected liquid level may be the second reading area. In this way, the processing up to S203 in
Note that, it is also possible to combine the method of reducing the data amount described above and the method of reducing the light amount unevenness described above with reference to
The processing of obtaining the sum of the outputs of k continuous pixels may be performed by the processing section 120. In this case, the processing section 120 performs processing of obtaining the sum of k pieces of pixel data corresponding to the k continuous pixels out of the pixel data acquired from the sensor 190. When the low resolution pixel data is data obtained by thinning out a part of pixels, the low resolution pixel data may not have pixel data corresponding to k continuous pixels. Therefore, in this case, the processing section 120 performs processing of obtaining the sum of k pieces of pixel data corresponding to k continuous pixels for the high resolution pixel data. Alternatively, low resolution pixel data may be used such that k continuous pixels remain after thinning. For example, in
Alternatively, the processing of obtaining the sum of the outputs of the k continuous pixels may be performed by the sensor 190, or in a narrow sense, may be performed by the photoelectric conversion device 322 as illustrated in
In this case, it is possible to perform the same processing as in the above example by assuming that the number of pixels corresponding to the detection area is changed to 60 instead of 180. For example, in a first-stage reading illustrated in
That is, also when suppressing the light amount unevenness, as in the example of
When acquiring the low resolution pixel data, the processing section 120 may control the sensor 190 to output pixel data corresponding to the sum of the outputs of k continuous pixels. Specifically, the low resolution pixel data here is pixel data obtained by thinning out the outputs from a part of the photoelectric conversion elements out of the plurality of photoelectric conversion elements. That is, the low resolution pixel data is pixel data acquired by thinning out a part of the pixels.
When pixels are thinned out, information on the thinned pixels is lost. When the outputs of the k continuous pixels are not summed, for example, 17 pixels out of 18 pixels are thinned out as described above. Since the ratio of the remaining pixels is small, when the pixel data of the remaining pixels include noise, the influence of the noise on the ink amount detection processing becomes large. On the other hand, when the sensor 190 obtains the sum of the k continuous pixels, the pixel data output from the sensor 190 includes information for k pixels. For example, when outputting 10 pieces of pixel data as the low resolution pixel data in the same example as in
Further, in the present embodiment, the processing section 120 may determine the ink type of the ink IK in the ink tank 310 based on the output of the sensor 190.
As described above with reference to
For example, when the ink tank 310 to be filled with yellow ink is filled with magenta ink, the color of the printing result largely deviates from the desired color. That is, in order to perform appropriate printing, it is necessary to appropriately detect the error of the ink color. Therefore, the processing section 120 determines the ink color as the ink type.
In the present embodiment, the ink IK is irradiated with R light corresponding to a red color, G light corresponding to a green color, and B light corresponding to a blue color. For example, the wavelength band of B light is approximately 430 to 500 nm, the wavelength band of G light is approximately 500 to 600 nm, and the wavelength band of R light is approximately 600 to 650 nm. However, various modifications can be made to the wavelength band of each light, a peak wavelength, a half width, and the like.
Further, as illustrated in
When the input of the photoelectric conversion element is D, the spectral emission characteristic of the irradiation light is S (λ), and the spectral reflection characteristic of the ink IK is R (λ), D is represented by the following formula (1), for example. Since D is the result of receiving light from the area where the ink IK exists, the pixel data in the ink detection area has a value that correlates with D and a spectral sensitivity characteristic of the photoelectric conversion element. As described above, since the spectral reflection characteristic R (λ) in the wavelength band of RGB varies depending on the ink color, the characteristic of the pixel data in the ink detection area varies depending on the ink color.
Further, in the present embodiment, the white ink and the clear ink may be targets of ink color determination. White ink is ink having a white color, and is used as a base when printing on a transparent material, for example. The clear ink is a transparent or semi-transparent ink that transmits light, and is used for the purpose of giving gloss to the printing medium P, changing the texture, giving a thickness, and the like.
As illustrated in
The sensor 190 of the present embodiment detects first light of a first wavelength band and second light of a second wavelength band that are incident from the ink tank 310 side in a period during which the light source 323 emits light. The processing section 120 determines the ink type of the ink IK in the ink tank 310 based on a first light amount of the first light at the position where the ink IK exists and a second light amount of the second light at the position where the ink IK exists. The processing section 120 acquires the first light amount and the second light amount from the sensor 190.
The first light amount and the second light amount are specifically pixel data in the ink detection area. The first light amount and the second light amount are, for example, the minimum values of pixel data in the ink detection area. However, as the first light amount and the second light amount, other information such as the average value or the median value of the pixel data in the ink detection area may be used. Further, the first wavelength band and the second wavelength band may be different from each other to the extent that there is a difference in the spectral reflection characteristic of the ink IK, and it is not prevented that the parts of them overlap.
In this way, it is possible to appropriately determine the ink type by using the light of a plurality of wavelength bands. For example, the black ink has a different B light amount when compared with the cyan ink. Further, the black ink has a different R light amount when compared with the magenta, yellow, white, and clear inks. That is, by using the R light and the B light, it is possible to distinguish the black ink from other inks.
The processing section 120 of the present embodiment may perform the ink color determination of the pigment ink based on the first light amount and the second light amount. This is because, as illustrated in
Hereinafter, an example in which the ink type determination is a pigment ink color determination will be described. However, even for the pigment ink having the same color, the color material used differs depending on the manufacturer, model number, and the like, and therefore, the characteristics of the light amount in the ink detection area are different. Here, the difference in the color material may be a difference in the substance itself as a material or a difference in the compounding ratio of a plurality of materials. For example, the waveform illustrated in
The light source 323 of the present embodiment may emit the first light and the second light. For example, the light source 323 includes a plurality of light sources such as a red LED 323R, a green LED 323G, and a blue LED 323B that have different wavelength bands of light to be emitted. Alternatively, the light source 323 may include a color filter, and by switching the color filter, the first light and the second light may be emitted in a time-division manner. The first light amount is an output of the sensor 190 when the light source 323 emits the first light, and the second light amount is an output of the sensor when the light source 323 emits the second light. In this way, the ink type can be appropriately determined by using the light source 323 that can emit light of different wavelength bands.
However, in the ink type determination of the present embodiment, it is sufficient as long as the sensor 190 can receive a plurality of lights having different wavelength bands. For example, the light source 323 emits light having a wide wavelength band, for example, white light, and the sensor 190 receives the first light and the second light by using a color filter. In this case, the color filter includes an R filter, a G filter, and a B filter having a spectral transmission characteristic equivalent to the spectral emission characteristic of
The sensor 190 may also detect light of a third color. The processing section 120 detects the ink type based on a third light amount of the light of the third color, the first light amount, and the second light amount. By increasing the types of light used, more detailed ink type determination can be performed. For example, it is possible not only to determine whether the ink IK to be determined is black ink, but also to determine what color the ink IK is. As can be seen from the above description, the ink color determination of the present embodiment may be a determination of whether the ink IK to be determined is a correct color, or a determination of specifying the color of the ink IK.
Hereinafter, an example in which the first light, the second light, and the third light are R light corresponding to the red wavelength band, G light corresponding to the green wavelength band, and B light corresponding to the blue wavelength band will be described. The first light and the second light are any two of the R light, the G light, and the B light, and the combination of the lights when the ink type determination is performed based on the two lights is optional.
The processing section 120 determines the ink type based on the R light amount representing the amount of the R light incident on the sensor 190, the G light amount representing the amount of the G light incident on the sensor, and the B light amount representing the amount of the B light incident on the sensor. Hereinafter, an example in which each light amount is the minimum value of the pixel data will be described, but as described above, the data representing the light amount can be variously modified.
In this way, the ink type can be determined using the lights of the three colors of RGB. As illustrated in
However, as can be seen from
At the position where the ink IK exists, the processing section 120 determines that the ink IK is black ink when the R light amount is equal to or less than a threshold ThBk_R, the G light amount is equal to or less than a threshold ThBk_G, and the B light amount is equal to or less than a threshold ThBk_B.
As illustrated in
The light amount in the ink detection area in the present embodiment may be the pixel data itself in the ink detection area, or may be a difference between the pixel data based on the ink non-detection area. As described above, the pixel data in the ink non-detection area is information corresponding to the wall surface of the ink tank 310, and the influence of the type of ink IK is small. Therefore, the light amount in the ink detection area may be calculated with reference to the light amount in the ink non-detection area. In this case, the determination as to whether or not the light amount in the ink detection area is equal to or less than the threshold can be realized by determining whether the differential value of the pixel data is equal to or more than the predetermined threshold. That is, the magnitude relationship in the threshold determination can be changed appropriately according to the expression of the light amount.
Further, at the position where the ink IK exists, the processing section 120 determines that the ink IK is cyan ink when the R light amount is equal to or less than a threshold ThC_R, the G light amount is equal to or less than a threshold ThC_G, and the B light amount is greater than a threshold ThC_B. Similarly to the example of the black ink, ThC_R and ThC_G are set to values greater than the assumed value of the light amount by Δ. Further, the threshold value ThC_B is set to a value that is smaller than the assumed value of the light amount by Δ. For example, (ThC_R, ThC_G, ThC_B)=(50, 50, 50).
Further, at the position where the ink IK exists, the processing section 120 determines that the ink IK is magenta ink when the R light amount is greater than a threshold ThM_R, the G light amount is equal to or less than a threshold ThM_G, and the B light amount is equal to or less than a threshold ThM_B. For example, (ThM_R, ThM_G, ThM_B)=(130, 50, 70). Note that, in consideration of sharing the determination with another ink color, ThM_B=50 may be used.
Further, at the position where the ink IK exists, the processing section 120 determines that the ink is yellow ink when the R light amount is greater than the threshold ThY_R, the G light amount is greater than the threshold ThY_G, and the B light amount is equal to or less than the threshold ThY_B. For example, (ThY_R, ThY_G, ThY_B)=(220, 100, 50).
In addition, the processing section 120 determines that the ink IK is white ink, in at least two of the R light amount, the G light amount, and the B light amount, when the light amount at the position where the ink IK exists is greater than the light amount at the position where the ink IK does not exist. In this case, the processing section 120 obtains the value of the light amount in the ink non-detection area as a reference value, and determines whether the light amount exceeds the reference value at a position on the −Z side.
It should be noted that instead of actually measuring the reference value, a value assumed from the design may be set in advance. For example, the processing section 120 determines that the ink IK is white ink when the R light amount is greater than a threshold ThW_R, the G light amount is greater than a threshold ThW_G, and the B light amount is greater than a threshold ThW_B. For example, (ThY_R, ThY_G, ThY_B)=(220, 220, 220).
Further, at the position where the ink IK exists, the processing section 120 determines that the ink IK is clear ink when the R light amount is greater than a threshold ThCL_R, the G light amount is greater than a threshold ThCL_B, and the B light amount is greater than a threshold ThCL_B. For example, (ThCL_R, ThCL_G, ThCL_R)=(50, 50, 50).
Since the white ink also satisfies the condition, it is desirable to identify the white ink by performing the above-described determination regarding the white ink in advance, or to set two types of the lower limit threshold and the upper limit threshold in the clear ink determination. For example, the processing section 120 sets the lower limit threshold to 50 and the upper limit threshold to 150, and determines that the ink IK is clear ink when the respective RGB light amounts are between the lower limit threshold and the upper limit threshold. Also, for the ink IK other than the clear ink, the lower limit threshold and the upper limit threshold may be set when the assumed value is an intermediate value. For example, for the B light amount of cyan ink, in addition to setting the lower limit threshold to 50, the upper limit threshold may be set to 150. For the R light amount of magenta ink, in addition to setting the lower limit threshold to 130, the upper limit threshold may be set to 220. For the G light amount of yellow ink, in addition to setting the lower limit threshold to 100, the upper limit threshold may be set to 200.
As described above, the processing section 120 may determine whether the ink IK to be determined is the first ink color based on a first ink color threshold corresponding to the first ink color, and determine whether the ink IK to be determined is the second ink color based on a second ink color threshold corresponding to the second ink color. That is, in the determination based on the first ink color threshold, only the ink of the first ink color satisfies the condition and the inks of other colors do not satisfy the condition. Therefore, the ink type can be determined by performing the determination using the threshold corresponding to the ink color.
In the present embodiment, light of a plurality of wavelength bands is used as described above. Therefore, the first ink color threshold includes a threshold Th11 used for comparison with the first light amount and a threshold Th12 used for comparison with the second light amount, and the second ink color threshold includes a threshold Th21 used for comparison with the first light amount and a threshold Th22 used for comparison with the second light amount. When the first ink color is black, the threshold Th11 is, for example, ThBk_R, and the threshold Th12 is, for example, ThBk_G. Further, as described above, the threshold such as Th11 is not limited to one value, and may include the lower limit threshold and the upper limit threshold. Further, the values of the respective thresholds described above are examples, and various modifications can be made to specific numerical values.
As described above, in order to perform appropriate printing, it is important to detect whether a given ink tank 310 is filled with an inappropriate type of ink IK. For example, for the ink tank 310 for black ink, it suffices to be able to detect whether the ink other than the black ink is filled, and it may not be necessary to specify the specific ink color. Therefore, the processing section 120 performs the ink color determination for determining whether the ink to be determined has the predicted ink color, based on the threshold set to correspond to the predicted ink color. The ink color determination starts, for example, when it is detected in the ink amount determination that the ink amount has increased beyond the range assumed to be an error.
Next, the processing section 120 branches the processing based on the predicted ink color (S303). When the predicted ink color is black, the processing section 120 determines whether the ink is black ink (S304). The determination as to whether the ink is black ink is specifically a threshold determination using ThBk_R, ThBk_G, and ThBk_B. Similarly, when the predicted ink color is cyan, the processing section 120 determines whether the ink is cyan ink (S305). When the predicted ink color is magenta, it is determined whether the ink is magenta ink (S306). When the predicted ink color is yellow, it is determined whether the ink is yellow ink (S307). When the predicted ink color is white, it is determined whether the ink is white ink (S308). When the predicted ink color is clear, it is determined whether the ink is clear ink (S309). In addition, when it is determined in S304 to S309 that the ink color is not the predicted ink color, the processing section 120 sets an error flag to ON.
Next, the processing section 120 determines whether the error flag is on (S310). When the error flag is on (Yes in S310), it is determined that the given ink tank 310 is filled with the inappropriate ink IK. Therefore, the processing section 120 performs processing of notifying the user to that effect (S311). When the error flag is off (No in S310), the processing ends without performing the notification processing.
The processing section 120 determines whether the ink IK to be determined is black ink (S402). The processing of S402 is the same as that of S304. When it is determined that the ink IK is black ink (Yes in S402), the processing section 120 ends the ink color determination processing.
When it is determined that the ink IK is not black ink (No in S402), the processing section 120 determines whether the ink IK to be determined is cyan ink (S403). The processing of S403 is the same as that of S305. When it is determined that the ink IK is cyan ink (Yes in S403), the processing section 120 ends the ink color determination processing.
Hereinafter, the processing section 120 sequentially determines whether the ink IK is magenta ink, yellow ink, white ink, or clear ink (S404 to S407), and ends the processing when it is determined that the ink color is one of the ink colors. The order of the processing of S402 to S407 is not limited to the example illustrated in
By performing the processing illustrated in
As illustrated in
The example in which the R light amount, the G light amount, and the B light amount are the minimum value or the average value of the pixel data in the ink detection area has been described above. That is, the light amount is one numerical data, and the ink color determination processing is comparison processing of the numerical data and the threshold. However, the light amount in the present embodiment may be a set of a plurality of pixel data in the ink detection area. For example, the processing section 120 performs comparison processing with the threshold for each pixel data of a plurality of pixel data. Then, the ink color of the ink IK to be determined is determined based on whether the pixel data of a predetermined ratio or more satisfies the condition.
Alternatively, the light amount may be waveform information including a plurality of pixel data in the ink detection area. For example, the storage section 140 stores reference waveform information for each color of ink IK. The reference waveform information is waveform information assumed for the ink IK of the corresponding color. For example, the reference waveform information of black ink is set based on the waveform information actually measured for the black ink. The processing section 120 may determine the ink color of the ink IK to be determined by comparing the waveform information acquired from the sensor 190 with the reference waveform information for each ink color. Here, the waveform information is a set of a plurality of pixel data in the ink detection area. Although the substance can be represented by a list of numbers or a mathematical expression, it is referred to as waveform information because it looks like a wave when graphed as illustrated in
Further, in the above, an example in which the comparison processing using the threshold corresponding to the predetermined ink color is performed to determine whether the ink has the predetermined ink color has been described. In this case, a threshold for black ink, a threshold for cyan ink, and the like are individually set, and each threshold includes a threshold for comparison with the R light amount, a threshold for comparison with the G light amount, and a threshold for comparison with the B light amount. In other words, the method of making a determination based on the ink color has been described.
However, the method of the present embodiment is not limited to this. The processing section 120 may perform comparison processing using the first light amount and the first light amount threshold including a plurality of thresholds having different values, and classify which of the three or more characteristics the first light amount characteristic corresponds to. Similarly, the processing section 120 performs the comparison processing using the second light amount and the second light amount threshold including a plurality of thresholds having different values, thereby classifying which of the three or more characteristics the second light amount characteristic corresponds to. Then, the processing section 120 performs the ink color determination based on the combination patterns of the first light amount characteristic and the second light amount characteristic. When the third light is used, the processing section 120 performs comparison processing using the third light amount and a third light amount threshold including a plurality of thresholds having different values, thereby classifying which of the three or more characteristics the third light amount characteristic corresponds to. Then, the ink color determination is performed based on the combination patterns of the first to third light amount characteristics.
For example, in consideration of
A second characteristic is a characteristic in which the difference between the pixel data in the ink detection area and the pixel data in the ink non-detection area is very small, like the R light amount of magenta ink. For example, the pixel data in the ink detection area and the pixel data in the ink non-detection area are both near 200. Such a light amount characteristic has a small variation range of the value in the vicinity of the liquid level, and is not suitable for the ink amount detection processing. For the G light amount of the yellow ink, the pixel data in the ink detection area has a value of about 150, but the value of the ink non-detection area also has a value of about 160 to 170. Therefore, the G light amount characteristic of the yellow ink is the second characteristic.
A third characteristic is a characteristic in which the difference between the pixel data in the ink detection area and the pixel data in the ink non-detection area has an intermediate value, like the B light amount of cyan ink. For example, the difference between the pixel data in the ink detection area and the pixel data in the ink non-detection area is about 100. As for the light amount characteristic, since the variation range of the value in the vicinity of the liquid level is moderate, the ink amount detection processing is possible. However, it is difficult to make a determination with high accuracy as compared with the first characteristic.
A fourth characteristic is a characteristic in which the pixel data in the ink detection area has a larger value than the pixel data in the ink non-detection area. The fourth characteristic corresponds to a case where the reflectance of the ink IK becomes very high. For example, the R light amount characteristic of the yellow ink or each light amount characteristic of the white ink is the fourth characteristic.
As illustrated in
As can be seen from
For example, the processing section 120 obtains a difference absolute value between the pixel data in the ink non-detection area and the pixel data in the ink detection area as the light amount. Then, the processing section 120 determines the first characteristic when the light amount is greater than 150, and determines the third characteristic when the light amount is greater than 50 and 150 or smaller. When the light amount is 50 or smaller, the magnitude relationship between the pixel data of the ink detection area and the pixel data of the ink non-detection area is determined. The processing section 120 determines the second characteristic when the pixel data of the ink detection area is relatively small, and determines the fourth characteristic when the pixel data of the ink detection area is relatively large. In this case, the plurality of thresholds included in the first light amount threshold are two, that is 50 and 150. Similarly, the plurality of thresholds included in the second light amount threshold are two, that is, 50 and 150. However, the specific numerical value of the threshold can be modified in various ways. Further, the plurality of thresholds included in the first light amount threshold and the plurality of thresholds included in the second light amount threshold may not match. For example, the threshold for determining the R light amount characteristic may be different from the threshold for determining the G light amount characteristic.
Further, here, an example in which the pixel data in the ink detection area based on the pixel data in the ink non-detection area is used as the light amount has been described, but the pixel data in the ink detection area may be used as it is as the light amount. For example, the processing section 120 sets three thresholds of 50, 150, and 220 as the first light amount threshold. Then, the processing section 120 determines the first characteristic when the pixel data value in the ink detection area is 50 or smaller, determines the third characteristic when the pixel data value is greater than 50 and 150 or smaller, determines the second characteristic when the pixel data value is greater than 150 and 220 or smaller, and determines the fourth characteristic when the pixel data value is greater than 220. For the second light amount threshold and the third light amount threshold, the light amount characteristic may be determined based on three thresholds in the same manner.
As can be seen from
An example in which the ink type determination is performed after acquiring all the light amounts of RGB has been described above. However, this can also be modified. In order to simplify the description, processing of performing ink color determination will be described below for the four colors of black, cyan, magenta, and yellow.
When the R light amount characteristic is the first characteristic (Yes in S502), the ink IK to be determined is determined to be black or cyan. Therefore, the processing section 120 acquires the B light amount (S503). In S503, the emission control of the blue LED 323B is performed, and emission controls of the red LED 323R and the green LED 323G are unnecessary. The processing section 120 performs determination using the B light amount (S504). When the B light amount characteristic is the first characteristic (Yes in S504), the processing section 120 determines that the ink IK to be determined is black ink (S505). When the B light amount characteristic is not the first characteristic (No in S504), the processing section 120 determines that the ink IK to be determined is cyan ink (S506).
When the R light amount characteristic is not the first characteristic (No in S502), the ink IK to be determined is determined to be magenta or yellow. Therefore, the processing section 120 acquires the G light amount (S507). In S507, the emission control of the green LED 323G is performed, and the emission controls of the red LED 323R and the blue LED 323B are unnecessary. The processing section 120 performs determination using the G light amount (S508). When the G light amount characteristic is the first characteristic (Yes in S508), the processing section 120 determines that the ink IK to be determined is magenta ink (S509). When the G light amount characteristic is not the first characteristic (No in S508), the processing section 120 determines that the ink IK to be determined is cyan ink (S510).
In the processing illustrated in
Further, in the present embodiment, the light source 323 used in the ink amount detection processing may be determined based on the ink type. Specifically, when the ink IK of any one of black ink, cyan ink, magenta ink, and yellow ink is targeted, the light source 323 having the first characteristic as the light amount characteristic is used for the ink amount detection processing. As described above, in the first characteristic, the difference in the pixel data between the ink detection area and the ink non-detection area is large. Therefore, by using the pixel data of the first characteristic, it is possible to improve the accuracy of the ink amount detection processing as compared with the case of using the pixel data of other characteristics.
An example in which the processing of
When it is determined that the ink IK to be determined is cyan ink (S506), the processing section 120 performs the ink amount detection processing based on the R pixel data acquired in S501. When it is determined that the ink IK to be determined is magenta ink (S509), the processing section 120 performs the ink amount detection processing based on the G pixel data acquired in S507.
When it is determined that the ink IK to be determined is yellow ink (S510), the processing section 120 performs the ink amount detection processing based on the B pixel data. However, since the B light amount has not been acquired at the stage of S510, the processing section 120 acquires the B light amount by performing the emission control of the blue LED 323B, and then performs the ink amount detection processing based on the acquired pixel data of B.
An example in which the light source 323 included in the sensor unit 320 is used in the ink amount detection processing or the ink type determination processing has been described above. That is, the light source 323 emits light toward the side surface of the ink tank 310. However, the light source 323 can also have these other functions.
For example, an electronic apparatus 10, which is a printer, may include a light guide 112 that guides light from the light source 323 to the outside of the housing, in addition to the ink tank 310, the print head 107, the light source 323, the sensor 190, and the processing section 120. The housing here is a member that accommodates each part of the printer. For example, the electronic apparatus 10 includes a housing that accommodates the ink tank 310, the print head 107, the light source 323, the sensor 190, and the processing section 120. The housing here corresponds to the case 102 of the printer unit 100, but the housing may include the case 201 of the scanner unit 200, the case 301 of the ink tank unit 300, and the like. The light guide 324 described above with reference to
In this way, the light source 323 used for the ink amount detection processing and the ink type determination processing can be used for other purposes. Specifically, the light source 323 is used to visually notify the state of the printer. For example, based on the light emission of the light source 323, it is possible to urge the user to take appropriate measures by notifying about the ink amount and notifying the occurrence of errors. In this way, it is not necessary to provide a light source dedicated to the notification in addition to the light source 323, so that the cost of the printer can be reduced.
Further, the light source 323 is provided at a position in the −Y direction with respect to the ink tank 310 and the light guide 112, and irradiates the ink tank 310 or the side surface on the −Y direction side of the light guide 112 with light. Here, as illustrated in
As described above with reference to
Furthermore, it is also possible to perform control to switch between a state where the positions of the ink tank 310a and the sensor unit 320 on the X-axis overlap and a state where the positions of the ink tank 310b and the sensor unit 320 on the X-axis overlap. Therefore, it is possible to execute the ink amount detection processing and the ink type determination processing for a plurality of ink tanks 310 by using a small number of sensor units 320, or one sensor unit 320 in a narrow sense.
More specifically, the light guide 112 includes a first light guide 112-1 mounted on the carriage 106 and a second light guide 112-2 provided outside the carriage 106 and fixed to the housing. Then, the light passing through the first light guide 112-1 is emitted to the outside of the housing via the second light guide 112-2. By mounting the first light guide 112-1 on the carriage 106, the positional relationship between the light guide 112 and the sensor unit 320 on the X-axis can be adjusted. That is, as illustrated in
Note that, as illustrated in
The printer includes a light guide 112 and an indicator including a window portion. That is, by making a part of the housing a transparent window portion, the light from the light source 323 guided by the light guide 112 can be emitted to the outside of the housing. Hereinafter, an example will be described in which the window portion transmits the light without changing the wavelength band of the light emitted from the light source 323. For example, when the light source 323 causes the red LED 323R to emit light, the indicator emits red light. However, the method of the present embodiment is not limited to this, and some filtering may be performed on the light from the light source 323, and the filtered light may be emitted to the outside of the housing. Further, the light from the light source 323 may be used as a backlight of a liquid crystal display or the like. The window portion may be a translucent member or an opening provided in the housing.
The processing section 120 controls the light guided to the outside by the light guide 112 based on the state of the printer. In this way, it becomes possible to appropriately notify the user of the state of the printer. The state here is specifically an error state of the printer or a state of the ink IK in the ink tank. The state of the ink IK is specifically a state corresponding to the ink-low state or the ink-full state. The error represented by the error state is assumed to be various errors such as discharge failure of the print head 107, paper jam, ink leakage, motor failure, and pump failure. The error state is a state in which printing cannot be executed, or a state in which printing cannot be executed unless the user takes a countermeasure. Therefore, it is important to notify the error state. Further, ink-low state is a state in which there is a possibility that the print head 107 may be defective due to the ink being exhausted, and ink-full state is a state in which ink leakage may occur due to further replenishment. Also in these cases, by notifying the user, the printer can be operated appropriately.
The notification control according to the state may be control regarding a light source of any color included in the light source 323, for example. In this case, the processing section 120 performs control of indicating the state by turning on, turning off, or blinking of the light source. The processing section 120 may notify the state in a distinguishable manner by adjusting the blinking interval or the like.
Alternatively, the light source 323 may emit light of a plurality of colors. The processing section 120 controls light according to the state based on the light emission patterns of light of a plurality of colors. As described above, in the ink amount detection processing and the ink type determination processing, for example, lights of three colors of RGB are emitted. Therefore, the processing section 120 may control not only a light emission timing of turning on, turning off, blinking, or the like, but also the light emission color of the indicator. For example, the processing section 120 adjusts the amount of light of each wavelength band of RGB by pulse width modulation (PWM) control and mixes the colors to cause the indicator to emit light of the ink color to be notified.
The method of the present embodiment includes the ink tank 310, the print head 107, the light source 323, the sensor 190, and the processing section 120, and the processing section 120 controls the light source 323 according to the state of the printer, so that the processing section 120 can be applied to the printer that performs processing for notifying the user of the state. That is, the printer according to the present embodiment may have a configuration capable of executing the notification using the light from the light source 323, and the configuration is not limited to the light guide 112. It is also applicable to a so-called off-carriage type printer in which the ink tank is provided outside the carriage. In this case, the light source 323 may be moved to a position facing the light guide fixed to the housing so as to line up with the ink tank, so that the notification using the light can be executed.
The electronic apparatus 10 according to the present embodiment may be a multifunction peripheral having a printing function and a scanning function.
The electronic apparatus 10 includes the image reading section including a first sensor module, the ink tank 310, the print head 107, the second sensor module, and the processing section 120. The image reading section reads the document by using the first sensor module including m linear image sensor chips, m being an integer of two or more. The second sensor module includes n linear image sensor chips, n being an integer of 1 or more and n<m, and detects light incident from the ink tank 310. The processing section 120 detects the amount of ink in the ink tank based on the output of the second sensor module. The first sensor module is a sensor module used for scanning an image in the scanner unit 200, and the second sensor module is a sensor module used for the ink amount detection processing in the ink tank unit 300.
Both the first sensor module and the second sensor module include a linear image sensor chip. The specific configuration of the linear image sensor chip is the same as that of the photoelectric conversion device 322 described above, and a plurality of photoelectric conversion elements are disposed side by side in a predetermined direction. Since the linear image sensor used for the image reading and the linear image sensor used for the ink amount detection processing can be used in common, it is possible to improve the manufacturing efficiency of the electronic apparatus 10.
However, the first sensor module needs to have a length corresponding to the document size to be read. Since the length of one linear image sensor chip is about 10 mm, for example, the first sensor module needs to include at least two linear image sensor chips. On the other hand, the second sensor module has a length corresponding to the target range of ink amount detection. The target range of ink amount detection can be variously modified but is generally shorter than that of the image reading. That is, as described above, m is an integer of 2 or more, n is an integer of 1 or more, and m>n. In this way, the number of linear image sensor chips can be appropriately set according to the application.
The difference between the first sensor module and the second sensor module is not limited to the number of linear image sensor chips. In the m linear image sensor chips of the first sensor module, the longitudinal direction is provided along the horizontal direction. In the n linear image sensor chips of the second sensor module, the longitudinal direction is provided along the vertical direction. Since the second sensor module needs to detect the liquid level of the ink IK as described above, the longitudinal direction thereof becomes vertical direction.
On the other hand, in consideration of reading the image of the document, the longitudinal direction of the first sensor module needs to be the horizontal direction. This is because when the longitudinal direction of the first sensor module is set to the vertical direction, it is difficult to stably set the document on the document table 202, or it is difficult to stabilize the document posture when the document is transported by the ADF. By setting the longitudinal direction of the linear image sensor chip in accordance with the application, the ink amount detection processing and the image reading can be performed appropriately.
The first sensor module operates at a first operating frequency, and the second sensor module operates at a second operating frequency lower than the first operating frequency. In image reading, it is necessary to continuously acquire signals corresponding to many pixels and to form image data by performing A/D conversion processing, correction processing, or the like of the signals. Therefore, it is desirable to perform reading by the first sensor module at high speed. On the other hand, the ink amount detection is less likely to be a problem even when the number of photoelectric conversion elements is small and it takes a certain amount of time to detect the ink amount. By setting the operating frequency for each sensor module, each sensor module can be operated at an appropriate speed.
As described above, the printer according to the present embodiment includes an ink tank, a print head, a light source, a sensor, and a processing section. The print head performs printing by using ink in the ink tank. The light source emits light into the ink tank. The sensor detects the first light in the first wavelength band that is incident from the ink tank side and the second light in the second wavelength band, in the period during which the light source emits light. The processing section acquires the first light amount of the first light at the position where the ink exists and the second light amount of the second light at the position where the ink exists from the sensor, and determines the ink type of the ink in the ink tank based on the first light amount and the second light amount.
In the printer of the present embodiment, the ink type of the ink in the ink tank is determined by detecting a plurality of lights having different wavelength bands using a sensor. By determining the ink type, it is possible to detect, for example, that the ink tank is filled with the wrong type of ink, and thus it is possible to suppress inappropriate printing. At this time, it is possible to appropriately determine the ink type by using the light of a plurality of wavelength bands.
Further, the sensor of the present embodiment may detect the third light in the third wavelength band. The processing section acquires the third light amount of the third light at the position where the ink exists from the sensor, and determines the ink type based on the first light amount, the second light amount, and the third light amount.
As described above, by using three or more lights of different wavelength bands, it is possible to increase the number of ink types that can be determined and to improve the determination accuracy.
Further, the light source of the present embodiment may emit the first light and the second light. The first light amount is the output of the sensor when the light source emits the first light, and the second light amount is the output of the sensor when the light source emits the second light.
In this way, by using a plurality of light sources, it is possible to realize ink type determination processing using light of a plurality of wavelength bands.
In addition, the processing section of the present embodiment may perform the ink color determination of the pigment ink based on the first light amount and the second light amount.
In this way, it is possible to appropriately determine the color of the pigment ink.
Further, the processing section of the present embodiment may perform the ink color determination for determining whether the ink in the ink tank has the predicted ink color, based on the threshold set to correspond to the predicted ink color.
In this way, it is possible to determine whether the ink tank is filled with ink of an appropriate color.
Further, the processing section of the present embodiment may determine whether the ink in the ink tank has the first ink color based on the first ink color threshold corresponding to the first ink color, and determine whether the ink in the ink tank has the second ink color based on the second ink color threshold corresponding to the second ink color. The first ink color threshold includes a threshold Th11 used for comparison with the first light amount and a threshold Th12 used for comparison with the second light amount. The second ink color threshold includes a threshold Th21 used for comparison with the first light amount and a threshold Th22 used for comparison with the second light amount.
In this way, it is possible to determine whether the ink in the ink tank has the corresponding ink color by performing the threshold determination using the threshold for each ink color.
Further, the processing section of the present embodiment may perform comparison processing using the first light amount and the first light amount threshold including a plurality of thresholds having different values, and classify which of the three or more characteristics the first light amount characteristic is. Further, the processing section 120 may perform comparison processing using the second light amount and the second light amount threshold including a plurality of thresholds having different values, and classify which of the three or more characteristics the second light amount characteristic is. The processing section 120 performs the ink color determination based on the combination patterns of the first light amount characteristic and the second light amount characteristic.
In this way, the ink color of the ink to be determined can be determined by performing the threshold determination using the threshold for each wavelength band of light.
Further, in the present embodiment, the first light, the second light, and the third light may be R light corresponding to the red wavelength band, G light corresponding to the green wavelength band, and B light corresponding to the blue wavelength band. The processing section determines the ink type based on the R light amount representing the amount of R light incident on the sensor, the G light amount representing the amount of G light incident on the sensor, and the B light amount representing the amount of B light incident on the sensor.
In this way, ink type determination processing using the lights of the three colors of RGB becomes possible.
Further, the processing section of the present embodiment may determine that the ink in the ink tank is black ink, at the position where the ink exists, when the R light amount is equal to or less than the threshold ThBk_R, the G light amount is equal to or less than the threshold ThBk_G, and the B light amount is equal to or less than the threshold ThBk_B.
In this way, it is possible to determine whether the ink to be determined is black ink based on each light amount of RGB.
Further, the processing section of the present embodiment may determine that the ink in the ink tank is cyan ink, at the position where the ink exists, when the R light amount is equal to or less than the threshold ThC_R, the G light amount is equal to or less than the threshold ThC_G, and the B light amount is greater than the threshold ThC_B.
In this way, it is possible to determine whether the ink to be determined is cyan ink, based on each light amount of RGB.
Further, the processing section of the present embodiment may determine that the ink in the ink tank is magenta ink at the position where the ink exists when the R light amount is greater than the threshold ThM_R, the G light amount is equal to or less than the threshold ThM_G, and the B light amount is equal to or less than the threshold ThM_B.
In this way, it is possible to determine whether the ink to be determined is magenta ink, based on each light amount of RGB.
Further, the processing section of the present embodiment may determine that the ink in the ink tank is yellow ink at the position where the ink exists when the R light amount is greater than the threshold ThY_R, the G light amount is greater than the threshold ThY_G, and the B light amount is equal to or less than the threshold ThY_B.
In this way, it is possible to determine whether the ink to be determined is yellow ink, based on each light amount of RGB.
Further, the processing section of the present embodiment may determine that the ink in the ink tank is white ink, in at least two of the R light amount, the G light amount, and the B light amount, when the light amount at the position where ink exists is greater than the light amount at the position where ink does not exist.
In this way, it is possible to determine whether the ink to be determined is white ink, based on each light amount of RGB.
Further, the processing section of the present embodiment may determine that the ink in the ink tank is clear ink at the position where the ink exists when the R light amount is greater than the threshold ThCL_R, the G light amount is greater than the threshold ThCL_G, and the B light amount is greater than the threshold ThCL_B.
In this way, it is possible to determine whether the ink to be determined is clear ink, based on each light amount of RGB.
Further, the sensor of the present embodiment may include a photoelectric conversion device and an analog front end (AFE) circuit coupled to the photoelectric conversion device.
In this way, it becomes possible to realize a sensor that outputs pixel data that is digital data.
Further, the photoelectric conversion device of the present embodiment may be a linear image sensor.
In this way, the ink type can be accurately detected by using a plurality of photoelectric conversion elements disposed in a predetermined direction.
Further, the linear image sensor of the present embodiment may be provided such that a longitudinal direction thereof follows the vertical direction.
In this way, the ink type can be accurately detected by using a plurality of photoelectric conversion elements disposed in the vertical direction.
Although the present embodiment has been described in detail as described above, a person skilled in the art can easily understand that many modifications that do not substantially depart from the novel matters and effects of the present embodiment are possible. Accordingly, all such modifications are intended to be included within the scope of the present disclosure. For example, a term described at least once together with a different term having a broader meaning or the same meaning in the specification or the drawings can be replaced with the different term anywhere in the specification or the drawings. All combinations of the present embodiment and the modifications are also included in the scope of the present disclosure. The configurations and operations of the electronic apparatus, printer unit, scanner unit, ink tank unit, and the like are not limited to those described in the present embodiment, and various modifications can be made. For example, it may be applied to a serial printer or a line printer. It can also be applied to the ink jet printer and the laser printer.
For example, the photoelectric conversion device may be provided for each ink tank, or only one photoelectric conversion device may be provided for a plurality of ink tanks. For example, as the photoelectric conversion device, the linear image sensor may be disposed not in the vertical direction but in the horizontal direction or obliquely from the horizontal direction. In this case, by disposing a plurality of linear image sensors in the vertical direction or moving them in the vertical direction relative to the ink tank, the same information as when the linear image sensors are disposed in the vertical direction can be obtained. The photoelectric conversion device may be one or more area image sensors. In this way, one image sensor may be straddled across a plurality of ink tanks.
Number | Date | Country | Kind |
---|---|---|---|
2019-150128 | Aug 2019 | JP | national |