1. Technical Field
The present invention relates to a liquid ejecting apparatus, which is able to be mounted with a cartridge, and a liquid ejecting apparatus control method.
2. Related Art
In recent years, as printing device cartridges, cartridges that are mounted with a memory device which stores information relating to ink (for example, the remaining amount of ink) are used. In many cases, in the memory device of the cartridge, an ID which distinguishes individual cartridges is stored. In the past, a printing device has been proposed (JP-A-1991-220572, JP-A-11-237816, and JP-A-2004-227012) where the mounting of unsuitable cartridges is prevented by registering the ID of the mounted cartridge.
However, typically, there is a possibility that a fault such as a memory error will be generated in the memory device. If a memory error is generated in the memory device of the cartridge, there is a possibility that the printing device is not able to correctly perform processing in relation to the cartridge (for example, calculation of the remaining amount of ink or determination of whether the cartridge needs to be replaced). However, in the related art, with regard to countermeasures in the case where a fault such as a memory error is generated in a circuit included in the memory device of the cartridge, it was the case that there was no sufficient mechanism.
Additionally, in the past, there has been a desire for correctly determining whether or not a new cartridge has been mounted, and after that, to reliably perform appropriate processing (such as a process of filling ink into the printing head) using the ID stored in the memory device of the cartridge.
In addition, the various problems described above are not limited to the printing device and are common to liquid ejecting apparatuses which are able to be mounted with a cartridge.
An advantage of some aspects of the invention is that a technique is provided where it is possible to take appropriate countermeasures in a case where a fault is generated in a circuit included in a memory device of the cartridge, and a technique is provided where it is possible to reliably determine whether or not a new cartridge has been mounted using an ID stored in the memory device of the cartridge.
It is possible to realize the invention as the embodiments and application examples below.
According to this application example of the invention, there is provided a liquid ejecting apparatus, which is able to be mounted with a cartridge which is provided with a memory device which stores liquid usage information relating to a consumption amount or a remaining amount of liquid accommodated in the cartridge and a unique ID which uniquely distinguishes the cartridge, and which is provided with a non-volatile memory for storing cartridge information including the unique ID of the cartridge and the liquid usage information relating to the cartridge mounted one or more times in the liquid ejecting apparatus and a control section which controls a plurality of circuits including the non-volatile memory and the memory device of the cartridge mounted in the liquid ejecting apparatus, where the control section executes a fault countermeasure process in relation to the memory device of the cartridge in a case where the relationship between a first liquid consumption amount obtained from the liquid usage information stored in the memory device of the cartridge mounted in the liquid ejecting apparatus and a second liquid consumption amount obtained from the liquid usage information stored in the non-volatile memory with regard to the cartridge is outside of a permitted range set in advance.
According to the configuration, it is possible to determine whether or not there is a possibility that a fault will be generated in the circuits included in the memory device of the cartridge according to whether or not the relationship between the first and second liquid consumption amounts is outside of the permitted range set in advance. Additionally, in the case where there is the possibility that a fault will be generated, it is possible to execute an appropriate fault countermeasure process in relation to the memory device. Furthermore, it is possible to correctly determine whether or not a new cartridge has been mounted since the unique ID of the cartridge mounted one or more times in the liquid ejecting apparatus is stored in the non-volatile memory of the liquid ejecting apparatus.
In regard to the liquid ejecting apparatus of application example 1, the control section performs writing which updates the liquid usage information more frequently in the memory device of the cartridge than in the non-volatile memory, and in a case where the second liquid consumption amount is larger than the first liquid consumption amount, the control section determines that the relationship between the first and second liquid consumption amounts is outside of the permitted range and executes an appropriate fault countermeasure process.
According to the configuration, in a case where the second liquid consumption amount with a low updating frequency is larger than the first liquid consumption amount with a high updating frequency, since it is possible to determine that there is an error in the liquid usage information stored in the memory device of the cartridge, it is possible to execute an appropriate fault countermeasure process in relation to the memory device.
In regard to the liquid ejecting apparatus of application example 2, the control section executes a process of storing the liquid usage information, which is stored in the non-volatile memory, in the memory device of the cartridge as the fault countermeasure process.
According to the configuration, it is possible to rewrite incorrect liquid usage information stored in the memory device of the cartridge with more accurate liquid usage information.
In regard to the liquid ejecting apparatus of any one of application examples 1 to 3, the non-volatile memory is a flash memory, and the control section adds a grouping of the unique ID of the cartridge and the liquid usage information in the flash memory as a new grouping of the cartridge information only when the consumption amount or the remaining amount of the liquid relating to the cartridge mounted in the liquid ejecting apparatus has reached a plurality of prescribed values set in advance.
According to the configuration, it is possible to reduce the number of times of writing into the flash memory, and it is possible to also reduce the number of times of deleting a sector which is required in a case when the flash memory is full.
In regard to the liquid ejecting apparatus of any one of application examples 1 to 4, the flash memory has a plurality of sectors, and the control section selects one out of the plurality of sectors as a writing sector and executes an addition of the cartridge information, and in a case when the writing sector has become full, (i) only the latest cartridge information of each unique ID is selected out of a plurality of groups of cartridge information stored in the writing sector and (ii) the selected cartridge information is written into a sector which is next after the writing sector and the next sector is selected as the new writing sector.
According to the configuration, in the case when one sector has become full, since the next sector is reconfigured with only the latest cartridge information, it is possible to write into the next sector only the minimum required cartridge information. Additionally, since the same information as the reconfigured latest cartridge information also remains in the previous writing sector, even if an unexpected situation occurs such as a loss of power when the next sector is being deleted or the like, it is possible to prevent a loss of the latest cartridge information.
In regard to the liquid ejecting apparatus of application example 5, in a case where the writing sector has become full, the control section deletes the cartridge information, which shows that the liquid usage information has exceeded the upper limit value of the consumption amount of the liquid, and the cartridge information, which includes the unique ID which is the same as the cartridge information out of the plurality of groupings of cartridge information stored in the writing sector, from the cartridge information which is to be written into the next sector.
According to the configuration, it is possible to further reduce the latest cartridge information which is to be written into the next sector and it is possible to more effectively use the flash memory.
In addition, it is possible to realize the invention with various formations, and it is possible for the invention to be realized in the form of a printing device, a liquid ejecting apparatus, control methods of such devices, a computer program for realizing these methods or functions of a device, a recording medium which records the computer program, or the like. Furthermore, in the invention, the “recording medium” has a meaning of a substantive recording medium such as a DVD or a hard disk.
The invention will be described with reference to the accompanying drawings, wherein like numbers reference like elements.
The printer 20 is provided with a sub scanning and feeding mechanism, a main scanning and feeding mechanism, a head driving mechanism, and a main control section 40. The sub scanning and feeding mechanism is provided with a paper feeding motor 22 and a paper feeding roller 26, and a sheet of paper PA is transported in a sub scanning direction using the paper feeding roller 26. The main scanning and feeding mechanism is provided with a carriage motor 32, a pulley 38, a driving belt 36 which extends between the carriage motor and the pulley, and a sliding axis 34 provided in parallel with the axis of the paper feeding roller 26. The sliding axis 34 supports the carriage 30, which is fixed to the driving belt 36, so as to be able to slide. The rotation of the carriage motor 32 is transmitted to the carriage 30 via the driving belt 36, and the carriage 30 reciprocates along the sliding axis 34 in a main scanning direction which is parallel to an axial direction of the paper feeding roller 26. The head driving mechanism is provided with a printing head unit 60 mounted on the carriage 30, drives the printing head, and discharges ink onto the paper PA. The main control section 40 controls each of the mechanisms described above and executes a printing process. For example, the main control section 40 receives a printing job from a user via the computer 90, controls each of the mechanisms described above, and executes printing based on the contents of the received printing job. The printing head unit 60 has a sub control section 50 which cooperates with the main control section 40 and executes various controls. In the printing head unit 60, a printing head is provided which has a plurality of nozzle rows which respectively discharge different inks. Additionally, in a holder provided in an upper portion of the printing head unit 60, a plurality of ink cartridges which respectively accommodates different inks is able to be mounted so as to be removable. The printer 20 is further provided with an operation section 70 for the user to perform various settings of the printer 20 and to confirm the status of the printer 20. The operation section 70 is provided with a display section 72 for performing various notifications to the user.
The individual cartridges IC1, IC2, . . . have a memory device 200 configured by a non-volatile memory. In the memory device 200, the unique ID which uniquely distinguishes the cartridge is stored in advance. Additionally, when ink is consumed from the inside of the cartridge, the ink consumption amount (or remaining amount of ink) and ink end information are stored in the memory device 200. “Ink end information” is information showing that the ink consumption amount of the cartridge has exceeded an upper limit (for example, 99%) set in advance. In addition, it is possible to not include the ink end information in the memory device 200.
The main control section 40 is provided with an ink consumption amount calculating section 42, a busy list updating section 44, an EEPROM 46 (EEPROM is a registered trademark), and a flash memory 48. The flash memory 48 has two sectors and the sectors are used as busy list buffers BLB1 and BLB2. The busy lists stored in the busy list buffers BLB1 and BLB2 are lists where cartridge information including the unique ID and the ink consumption amount are registered in relation to the cartridge mounted in the printer 20 one or more times. In the EEPROM 46, a busy list address BLA is stored which shows a writing location in the flash memory 48. The busy list address BLA is used by being copied onto a main memory (not shown) of the main control section 40 after the power of the printer 20 is turned on.
The ink consumption amount calculating section 42 calculates the ink consumption amount of each cartridge which is consumed in a printing process or a printing head cleaning process. The busy list updating section 44 updates the busy list in the flash memory 48 based on the ink consumption amount calculated by the ink consumption amount calculating section 42. In the updating of the busy list, new cartridge information is added to the address specified by the busy list address BLA and the busy list address BLA is counted up. Then, in a case when one sector becomes full, the next sector is selected as the new writing sector. In the case when the flash memory 48 has only two sectors as shown in
In step T110 of
In step T120, from the busy list buffer that has become full, only the latest cartridge information relating to each unique ID is selected. For example, in a state of
In step T130, the sector of the other buffer (the second busy list buffer BLB2 in the example in
In this manner, in the busy list updating process of the embodiment, when the sector (busy list buffer) which has become the writing target out of the plurality of sectors in the flash memory has become full, only the latest cartridge information of each unique ID is selected out of the plurality of groupings of cartridge information stored in the writing sector, and the latest cartridge information is written into the other sector and the other sector is selected as the new writing sector. In this manner, since the next sector is reconfigured with only the latest cartridge information, it is possible to only write the minimum required cartridge information into the next sector. Furthermore, since the same information as the reconfigured latest cartridge information also remains in the previous writing sector, even if an unexpected situation occurs such as a loss of power (for example, the power plug is pulled out) when the next sector is being deleted or the like, it is possible to prevent a loss of the latest cartridge information.
In addition, since the deleting of the stored content of the sector of the flash memory 48 takes a considerably long time, there is a possibility that the stored content of the sector is inappropriate if there is a loss of power in the printer 20 during deleting. Therefore, during deleting of a sector, a flag which shows that the sector is being deleted may be registered in the EEPROM 46 and the flag may be deleted after the completion of the deleting of the sector. In this manner, even in the case where there is a loss of power in the printer 20 during deleting of the sector, it is possible to execute the deleting of the sector again after the printer 20 is restarted.
Additionally, in the busy list updating process of the embodiment, since the cartridge information which shows the ink consumption is ink end and the cartridge information including the same unique ID as the cartridge information is removed from the latest cartridge information to be written into the next sector, it is possible to effectively use the storing content of the flash memory.
Furthermore, in the busy list updating process of the embodiment, the unique ID and the ink consumption amount of the cartridge are added in the flash memory as a new grouping of cartridge information only when the ink consumption amount of the cartridge mounted in the printing device reaches any of the plurality of prescribed values set in advance. Accordingly, it is possible to limit the number of times of writing into the flash memory to the smallest possible number of times.
Here, the reason for storing the busy list in the flash memory and not in the EEPROM is because the flash memory is cheaper. However, the busy list may be stored in a different type of non-volatile memory other than the flash memory.
Here, in regard to the fourth unique ID “ssss” out of the four unique IDs “aaaa”, “bbbb”, “cccc”, and “ssss” shown in
So as to be able to understand from the description of steps S230, S270 and S280 described above, since the cartridge information which includes the unique ID which uniquely distinguishes the cartridge and the ink consumption amount are sequentially stored in the busy list buffer, it is possible to correctly recognize the cartridge where the unique ID is not registered in the busy list as a new cartridge. Accordingly, it is possible to correctly perform the exchange cleaning (process of filling ink into the ink path) to be executed in the case where a new cartridge is mounted. As a result, it is possible to prevent missing dots which are caused by the exchange cleaning not being correctly performed.
In the case where the unique ID is registered in the busy list in step S230, with regard to the unique ID, a latest ink consumption amount IC-BL registered in the busy list and an ink consumption amount IC-CM which is read out from the memory device 200 of the cartridge are compared in step S240. As described previously, the ink consumption amount is registered in the busy list only at a timing when it has exceeded any of the plurality of prescribed values set in advance (for example, 10%, 30%, 50%, 70%, and 90%). On the other hand, at a predetermined timing including the turning off of the printer, the latest ink consumption amount is written into the memory device 200 of the cartridge more frequently than the updating of the busy list. Accordingly, the ink consumption amount IC-BL registered in the busy list is normally equal to or less than the ink consumption amount IC-CM which is stored in the cartridge memory. Therefore, in a case where IC-BL≦IC-CM, it is determined that the relationship between IC-BL and IC-CM is normal and the flow of processes is moved to step S260. On the other hand, in a case where IC-BL>IC-CM, it is considered that there is a fault in either the flash memory 48 (or periphery circuits) or the memory device 200 of the cartridge (or periphery circuits). Normally, there is a high possibility that the fault is generated in the circuits including the memory device 200 of the cartridge rather than the flash memory 48. The reason is because there is a possibility that a fault is caused in the memory circuit which is generated by a connection defect such as a short circuit when the cartridge is mounted in a holder of the printer or a high voltage causes a fault in the memory circuit when a high voltage is applied to the circuits of the cartridge for detecting the remaining amount of ink in the cartridge or detecting the mounting of a cartridge. Therefore, in the case where IC-BL>IC-CM, the main control section 40 determines that a fault has been generated in the circuits including the memory of the cartridge and a process is executed which is set in advance as the fault countermeasure process in relation to the memory device 200 in step S250.
It is possible to adopt various processes as the fault countermeasure process, and for example, it is possible to set in advance so that one or more of the processes below are executed.
(1) The ink consumption amount IC-CM is read out again from the memory device 200 of the cartridge. (2) The ink consumption amount IC-BL which is registered in the busy list is written into the memory device 200 of the cartridge. (3) A display prompting the exchange of the cartridge or the remounting of the cartridge is displayed on the display section 72 of the printer 20 or a screen of the computer 90.
The reason for performing the process (1) is because, in a case where there is a terminal communication error between the printer and the cartridge, there is a possibility that the correct ink consumption amount can be obtained from the memory device 200 of the cartridge by being read out again. In a case when the correct ink consumption amount is obtained by being read out again, it is not necessary to perform the processes (2) or (3). If the process (2) is performed, it is possible for an incorrect ink consumption amount stored in the memory device 200 of the cartridge to be revised to a more accurate ink consumption amount. The reason for performing the process (3) is because, in a case where the cause of an ink consumption amount error of the cartridge memory is a communication error due to a connection defect, there is a possibility that the terminal connection default or the like is resolved by the same cartridge being removed and mounted again. Here, in a case where the exchange or the remounting of the cartridge is performed, the process from step S210 is started again with regard to the cartridge.
In step S260, it is determined whether or not the cartridge checking in relation to all of the cartridges has been completed, and in a case where there is a cartridge remaining, the processes after step S210 are executed in relation to the next cartridge.
In this manner, in the cartridge checking of the embodiment, in the case where the ink consumption amount IC-BL registered in the busy list is a larger value than the ink consumption amount IC-CM stored in the cartridge memory, since it is determined that a fault has been generated in the circuits including the cartridge memory, it is possible to prevent further processes from continuously using the erroneous ink consumption amount. In the embodiment, as described in
Additionally, as the fault countermeasure process in relation to the memory device 200, if the ink consumption amount IC-BL stored in the flash memory 48 is written into the memory device 200 of the cartridge, in the case where a memory error is generated in the cartridge, it is possible to change the ink consumption amount in the memory device 200 to a more accurate value.
When a user performs a printing instruction after the cartridge checking is completed, the printing operation in step S140 of
In step S340, it is determined whether or not the ink consumption amount has exceeded the ink end value (for example, 99%). In a case where the ink end value is exceeded, the main control section 40 stores the ink end information in both the memory device 200 of the cartridge and the busy list in the flash memory 48. Here, the ink end information may be stored in only either one of the memory device 200 of the cartridge or the busy list in the flash memory 48, or the ink end information may be stored in neither. In addition, the process of
When the updating of the storing of the ink consumption amount in this manner is completed, the main control section 40 determines whether or not there is the cartridge where the ink end has been reached in step S160 of
In this manner, in the embodiment, the cartridge information including the ink consumption amount of the ink cartridge is stored using the flash memory which is cheap compared to the EEPROM. In particular, since the timing of additional registering of the cartridge information including the ink consumption amount in the flash memory is limited to a point in time when the ink consumption amount reaches any of the plurality of prescribed values set in advance, it is possible to significantly reduce the memory capacity required in the flash memory.
Additionally, in the embodiment, in the case where the ink consumption amount stored in the flash memory is larger than the ink consumption amount stored in the memory of the cartridge, it is determined that there is a high possibility that a fault has been generated in the circuits including the memory of the cartridge. On the other hand, in the case where the ink consumption amount stored in the flash memory is equal to or less than the ink consumption amount stored in the memory of the cartridge, since it is possible to determine that the ink consumption amount stored in the memory of the cartridge is the correct value, it is possible to appropriately calculate the ink consumption amount afterwards using the ink consumption amount.
Furthermore, since the cartridge information including the unique ID which uniquely distinguishes the cartridge and the ink consumption amount are sequentially stored in the busy list buffer, when a cartridge is mounted where the unique ID is not registered in the busy list buffer, it is possible to be correctly recognized as a new cartridge. Accordingly, it is possible to correctly perform the exchange cleaning (process of filling ink into the ink path) to be executed in the case where a new cartridge is mounted.
In addition, the invention is not limited to the application examples or the embodiment described above but various embodiments are possible within the scope without departing from the gist of the invention, and for example, the following modifications can be made.
In the embodiment described above, the ink consumption amount (an accumulated value of the used amount of ink) is stored in the cartridge and in the memory of the printer. However, instead of this, the remaining amount of ink in the cartridge may be stored. Typically, it is possible to calculate and store in the memory the ink usage information relating to the consumption amount and the remaining amount of ink.
In the embodiment described above, a new grouping of the cartridge information including the unique ID and the ink consumption amount of the cartridge are added in the busy list buffer only when the ink consumption amount of the cartridge reaches any of the plurality of prescribed values set in advance. However, a new grouping of the cartridge information may be added in the busy list at a different timing. For example, a new grouping of the cartridge information may be added in the busy list every constant period of time. However, even in this case, it is preferable if the ink consumption amount is updated more frequently than the busy list (that is, the latest ink consumption amount is written in). Here, it is possible to set each type of frequency set in advance so that the frequency of updating the ink consumption amount in the memory device of the cartridge is performed for every constant period of time or constant amount of printing (for example, one page).
In the embodiment described above, when the relationship between the latest ink consumption amount IC-BL registered in the busy list and the ink consumption amount IC-CM which is read out from the memory device of the cartridge is IC-BL>IC-CM, it is determined that a fault has been generated in the circuits including the memory device of the cartridge (step S240 of
Out of each of the constituent elements described in the embodiment described above, it is possible to not include constituent elements which have no relation to a particular object, action, or effect. For example, the sub control section 50 (
In the embodiment described above, an ink jet type of printing device and ink cartridge has been adopted. However, a liquid ejecting apparatus which ejects or discharges a different liquid other than ink or a liquid container which supplies liquid to a liquid ejecting apparatus may be adopted. The liquid referred to here includes a fluid body such as a gel or liquid body where particles of functional materials are dispersed in a solvent. For example, a liquid ejecting apparatus which ejects a liquid with a material in a dispersed or dissolved form such as an electrode material or a colorant used in manufacturing liquid crystal displays, EL (electroluminescence) displays, surface emitting displays or color filters, a liquid ejecting apparatus which ejects a biological organic material used in manufacturing biochips, or a liquid ejecting apparatus which used as a precision pipette which ejects a liquid which is a sample may be adopted. Furthermore, a liquid ejecting apparatus which precisely ejects lubrication oil in a precision device such as a watch or a camera, a liquid ejecting apparatus which ejects a transparent resin liquid such as an ultraviolet curing resin onto a substrate to form, for example, miniature hemispherical lenses (optical lenses) used in optical communication elements and the like, a fluid ejecting apparatus which ejects an acidic or alkaline etching liquid to perform etching of substrates and the like, or a liquid container which supplies liquid to these liquid ejecting apparatuses may be adopted. Then, it is possible to apply the invention to any one type of the ejecting apparatus and the liquid container. Furthermore, the invention is not limited to an ink jet type of printer and it is also possible to apply the invention also to a laser printer or a toner cartridge which execute printing using a recording material such as toner.
The entire disclosure of Japanese Patent Application No. 2010-143586, filed Jun. 24, 2010 is expressly incorporated by reference herein.
Number | Date | Country | Kind |
---|---|---|---|
2010-143586 | Jun 2010 | JP | national |