1. Field of the Invention
The present invention relates to a printing apparatus in which the temperature of a printhead is detected, a method of correcting in the printing apparatus and a storage medium storing a program for performing the correction.
2. Description of the Related Art
In general, since an ink-jet printing apparatus prints by discharging ink from a printhead, it is important that the amount of ink discharged be made constant in order to stabilize print density. Since the temperature of the ink changes owing to the fact that heat from the surrounding environment or from the printhead acts upon the ink, the viscosity of the ink varies. It is known that the amount of ink discharged varies as a result of this variation in viscosity. Accordingly, control for maintaining temperature is performed in such a manner that the temperature of the printhead will remain constant. Further, control is exercised so as to hold the amount of discharged ink constant as by measuring the temperature of the printhead (which is equivalent to measuring the ink temperature) and controlling the head driving signal in accordance with the temperature measured. In order to accomplish this, it is vital that the temperature of the printhead be measured accurately. The specification of Japanese Patent Laid-Open No. 2001-63028 describes a method of reading printhead temperature by providing an amplifier, which amplifies the output of a temperature sensor, on a carriage substrate, amplifies the output of the temperature sensor up to a high voltage and then outputs the high-voltage signal.
However, since the foregoing method requires that the amplifier be placed on the carriage substrate, the substrate is of a larger size and higher cost. Further, with the method of detecting printhead temperature by a temperature sensor installed on the printhead, there is an issue that must be taken into account in order to achieve real-time detection of temperature during a printing operation. Specifically, it is necessary to prevent a decline in detection accuracy ascribable to the effects of wiring crosstalk, which is a consequence of a data transfer signal for the purpose of driving the printhead, and the effects of crosstalk resulting from the printhead driving voltage at the time of printing.
An aspect of the present invention is to eliminate the above-mentioned problems with the conventional technology. The present invention provides a printing apparatus in which the effects of crosstalk are prevented when printhead temperature is detected, a method of correcting in the printing apparatus and a storage medium storing a program for performing the correction.
The present invention in its first aspect provides a printing apparatus having a sensor for detecting temperature of a printhead and outputting the detected temperature as a voltage, and a controller for detecting the voltage, which has been output by the sensor, via a cable and controlling driving of the printhead, the apparatus comprising: a switch settable to two states, one in which current is supplied to the sensor and one in which current is not supplied to the sensor; and a correction unit configured to subtract a first voltage detected by the controller in a case where the state in which current is not supplied to the sensor has been set by the switch from a second voltage detected by the controller in a case where the state in which current is supplied to the sensor has been set by the switch, thereby obtaining a correction voltage corrected for a crosstalk component produced in the cable.
The present invention in its second aspect provides a correction method executed in a printing apparatus having a sensor for detecting temperature of a printhead and outputting the detected temperature as a voltage, a controller for detecting the voltage, which has been output by the sensor, via a cable and controlling driving of the printhead, and a switch settable to two states, one in which current is supplied to the sensor and one in which current is not supplied to the sensor, the method correcting a voltage that has been output by the sensor and comprising: a first setting step of setting the state in which current is not supplied to the sensor; a first detection step of detecting a first voltage that has been output by the sensor in accordance with the current set at the first setting step; a second setting step of setting a state in which current is supplied to the sensor; a second detection step of detecting a second voltage that has been output by the sensor in accordance with the current set at the second setting step; and a correction step of subtracting the first voltage from the second voltage to thereby obtain a correction voltage corrected for a crosstalk component produced in the cable.
The present invention in its third aspect provides a computer-readable storage medium storing a program executed in a printing apparatus having a sensor for detecting temperature of a printhead and outputting the detected temperature as a voltage, a controller for detecting the voltage, which has been output by the sensor, via a cable and controlling driving of the printhead, and a switch settable to two states, one in which current is supplied to the sensor and one in which current is not supplied to the sensor, the program correcting a voltage that has been output by the sensor and causing a computer to function so as to: set a state in which current is not supplied to the sensor and detect a first voltage that has been output by the sensor in accordance with the current set; set a state in which current is supplied to the sensor and detect a second voltage that has been output by the sensor in accordance with the current set; and subtract the first voltage from the second voltage to thereby a correction voltage corrected for a crosstalk component produced in the cable.
In accordance with the present invention, the effects of crosstalk can be prevented when printhead temperature is detected.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Preferred embodiments of the present invention will now be described hereinafter in detail, with reference to the accompanying drawings. It is to be understood that the following embodiments are not intended to limit the claims of the present invention, and that not all of the combinations of the aspects that are described according to the following embodiments are necessarily required with respect to the means to solve the problems according to the present invention. Identical structural elements are designated by like reference characters and a redundant description thereof is omitted.
A DMA 26 reads out the print data, which has been stored in the DRAM 33, successively and transfers a print data signal via a printhead controller 30 to the printhead 2 mounted on a carriage 21. The printhead controller 30 further generates and transmits a heater selection signal and a heat pulse signal necessary in order to drive a heater 8 (described later) inside the printhead. A temperature sensor 7 (described later) for detecting the temperature of the printhead also is provided on the printhead 2, amplification and an analog-to-digital conversion are carried out by a temperature detection unit 35, and a heat pulse signal suited to the temperature of the printhead 2 is generated.
The printing apparatus 10 further includes motor drivers 34 for driving carriage motors 36; motor controllers 32 for controlling the motor drivers 34; a control panel 22 for accepting external settings made by the user; a panel controller 31 for controlling the control panel 22; and a RAM 25 and ROM 28 serving as storage areas.
The operation of the printhead 2 will now be described in detail. First, the serial/parallel converter 41 receives print data D synchronized to a print data clock CLK from the controller 1. Next, in response to a LAT signal, the print-data latch 42 latches the print data, which has been converted to parallel data by the serial/parallel converter 41. Next, the selector 43 outputs a drive signal to a heater 8 selected by a selection signal SEL for driving the selected heater in time-shared fashion. The drive signal drives the selected heater 8 by a heat signal HEAT for a prescribed period of time only. The reason for time-shared driving of the heater 8 is for the purpose of suppressing peak current, reducing EMI (emission noise) and reducing peak current capacity of the power supply by diminishing the number of times the heaters 8 are driven simultaneously. Next, the heater 8 is driven by the driver of transistor 44. The temperature sensor 7, which is a diode-type temperature sensor, is provided on the printhead 2 and detects temperature based upon a change in forward voltage versus temperature.
In the ink-jet printing apparatus of this embodiment, there are instances where a printed result is adversely affected as a consequence of a change in ink viscosity with ink temperature. This means that detecting the temperature of the printhead that discharges the ink and controlling the above-mentioned HEAT signal is important in order to stabilize printing.
Port No. 1 of an integrated circuit 3 such as an ASIC shown in
The output of the temperature sensor 7 is converted to a digital signal by an analog/digital converter 6, the digital signal is read in by CPU 24 (not shown in
Next, the operation of the arrangement shown in
Next, the difference (V1−V0) between the read sensor voltages is found, this is adopted as the sensor-detected result (a correction voltage to which a correction has been applied) and the temperature is determined using the predetermined sensor voltage-temperature conversion table. The reading of temperature described above is performed repeatedly every 10 ms. The value of 0 mA referred to above is an example of a current value at which the temperature sensor will be substantially non-functional; another value may be used if desired. Further, the value of 0.1 mA is an example of a current value for causing the temperature sensor to function; another value may be used if desired. Further, the values of 0.5 ms and 10 ms illustrated in
Thus, in this embodiment as set forth above, the result of measurement obtained when no current is allowed to flow into the temperature sensor 7 and the temperature sensor is thus rendered non-functional is found as a crosstalk component (error component) produced in the connecting cable, and the actual output from the temperature sensor 7 is corrected based upon this error component. As a result, highly accurate measurement of temperature is possible.
Next, a modification of the first embodiment will be described with reference to
If the temperature sensor 7 is a diode, connecting the analog switch to the terminal b will set the switch to a voltage (0.3 V, for example) less than the forward voltage of the diode. As a result, the measurement current can be set to 0 mA.
The operation of the arrangement shown in
Next, the difference calculation (V1−V0−VR) regarding the sensor voltages is performed, the value calculated is adopted as the sensor-detected result (a correction voltage to which a correction has been applied) and the temperature is determined using the predetermined sensor voltage-temperature conversion table.
Generally speaking, the sensor voltage of a temperature sensor that utilizes a diode is such that the slope of the voltage (which corresponds to sensitivity) tends to diminish when current increases. That is, a characterizing feature of such a sensor is that sensitivity is high when there is little current and low when there is much current. On the other hand, enlarging the measurement current of a temperature sensor enables crosstalk-induced impedance to be lowered and the influence of crosstalk to be relatively mitigated. In this embodiment, the aim is to reduce the crosstalk error component by setting the measurement current of the temperature sensor to a suitable value in accordance with the magnitude of the crosstalk level.
The operation of
Thus, in the second embodiment, temperature measurement is performed at the optimum sensor current in dependence upon the crosstalk error component at such time that no current is allowed to flow into the temperature sensor and the temperature sensor is thus rendered non-functional. For example, in a case where the crosstalk voltage is lower than the reference value, as mentioned above, it is possible to read a temperature the accuracy of which is maintained satisfactorily even in the region where sensitivity is low. In this case, therefore, the sensor voltage V2 measured at the higher measurement current (1 mA) is selected.
On the other hand, in a case where the crosstalk voltage is greater than the reference value, it is necessary to read the temperature while maintaining accuracy in the region where sensitivity is high. In this case, therefore, the sensor voltage V1 measured at the lower measurement current (0.1 mA) is selected. Thus, in this embodiment, the fact that temperature measurement is performed at the optimum sensor current in accordance with the level of the crosstalk voltage means that the accuracy with which temperature is read can be maintained in accordance with the level of the crosstalk error component.
In addition to changing over the current source as described above, a changeover of voltage source and a changeover of resistance are also available and serve as modifications of the second embodiment. A circuit arrangement of the kind shown in
According to the arrangement described above, the difference value (|V0−VR|) between crosstalk voltage V0 and voltage VR is found and either sensor voltage V1 or V2 is selected based upon the result of the comparison between this difference value and reference value Vk. For example, the sensor voltage V2 is selected if |V0−VR|<Vk holds, and the sensor voltage V1 is selected if |V0−VR|>·Vk holds or |V0−VR|=Vk holds. The temperature is found by referring to the predetermined sensor voltage-temperature conversion table with regard to the sensor voltage selected.
The third embodiment aims to improve measurement accuracy by obtaining a correction value using predetermined print patterns and correcting the result of measurement using the obtained correction value when an actual temperature measurement is performed.
Character a shown in
First, at B1 in
Error components ascribable to crosstalk at each of these print densities versus measurement current are found from these obtained results. At G1 and G0, for example, let VG1a, VG1b, VG1c, VG0a, VG0b, VG0c represent the respective measurement values, and let VGa, VGb, VGc represent the respective crosstalk error components at each of the measurement current levels. The crosstalk error components are then calculated according to Equations (1) to (3) below.
VGa=VG1a−VG0a (1)
VGb=VG1b−VG0b (2)
VGc=VG1c−VG0c (3)
It should be noted that since VG1a and VG0a are voltages that prevail when the temperature sensor is non-operational, these need not be measured in actuality. The crosstalk error components VGa, VGb, VGc represent errors influenced by the HEAT signal and by the printhead driving signal at respective ones of the measurement current levels.
This embodiment applies a correction by further subtracting the above-mentioned VGb or VGc from V1−V0 or V2−V0 (first correction voltage) obtained with regard to the respective measurement current levels (0.1 mA and 1 mA) in the case where the second embodiment is implemented with regard to each of the printing densities. This correction is an example of a second correction in this embodiment. As a result, it is possible to obtain a sensor voltage (second correction voltage) from which has been excluded not only crosstalk voltage that exists when no measurement current is allowed to flow but also error components ascribable to the effects of the HEAT signal and printhead driving signal when measurement current is flowing. This makes more accurate measurement possible.
The correction of this embodiment may be factory-implemented and the correction values (VGa, VGb, VGc) stored in advance, by way of example. Further, it may be arranged so as to implement the correction a single time when power is introduced to the printing apparatus and store the correction values in advance, or so as to implement the correction suitably when printing is quiescent and store the correction values in advance. Further, rather than implement the correction with regard to the printing densities of all of the print patterns shown in
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium).
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2010-052193, filed Mar. 9, 2010, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2010-052193 | Mar 2010 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20040183849 | Kawatoko | Sep 2004 | A1 |
20060146086 | Ou et al. | Jul 2006 | A1 |
20060221144 | Nagashima | Oct 2006 | A1 |
20070291081 | Kanno et al. | Dec 2007 | A1 |
20080143775 | Shihoh et al. | Jun 2008 | A1 |
20080231651 | Jung | Sep 2008 | A1 |
20080252674 | Ushinohama | Oct 2008 | A1 |
Number | Date | Country |
---|---|---|
2001-063028 | Mar 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20110221819 A1 | Sep 2011 | US |