CN117227326A - Consumable chip data storage method, consumable chip and imaging box - Google Patents
Consumable chip data storage method, consumable chip and imaging box Download PDFInfo
- Publication number
- CN117227326A CN117227326A CN202311054367.7A CN202311054367A CN117227326A CN 117227326 A CN117227326 A CN 117227326A CN 202311054367 A CN202311054367 A CN 202311054367A CN 117227326 A CN117227326 A CN 117227326A
- Authority
- CN
- China
- Prior art keywords
- consumable chip
- data
- chip
- consumable
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000003384 imaging method Methods 0.000 title claims abstract description 18
- 238000013500 data storage Methods 0.000 title claims abstract description 14
- 230000015654 memory Effects 0.000 claims abstract description 72
- 238000007639 printing Methods 0.000 claims abstract description 63
- 238000012544 monitoring process Methods 0.000 claims abstract description 8
- 230000002035 prolonged effect Effects 0.000 claims abstract description 6
- 238000001514 detection method Methods 0.000 claims description 14
- 239000003990 capacitor Substances 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 3
- 230000008054 signal transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- BUGBHKTXTAQXES-UHFFFAOYSA-N Selenium Chemical compound [Se] BUGBHKTXTAQXES-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 229910052711 selenium Inorganic materials 0.000 description 1
- 239000011669 selenium Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000004148 unit process Methods 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention provides a consumable chip data storage method, which comprises the following steps: s101, after a consumable chip is electrified, monitoring the power supply voltage of the consumable chip; s102, when the voltage of the consumable chip supplied by the printing equipment is monitored to be reduced to the rated value, the power supply voltage reduction time of the consumable chip is prolonged through the power-down delay circuit, and data in the volatile memory are written into the nonvolatile memory. The invention also provides a consumable chip and an imaging box. The invention can effectively prolong the storage life of the consumable chip, so that the imaging box can be reused for a plurality of times more effectively.
Description
Technical Field
The present invention relates to a printing apparatus, and more particularly, to a consumable chip data storage method, a consumable chip, and an image forming cartridge.
Background
The memory is widely used for imaging cartridges such as selenium drums, powder boxes, fixing devices, ink boxes and the like of printing equipment, and is called a consumable chip and used for recording factory information of the imaging cartridges and consumable state information in a printing process. The consumable chip is a nonvolatile memory, and is commonly used in FLASH or EEPROM, and the storage life is limited, and generally 10 ten thousand times of erasing life is long. Once the imaging box consumable is exhausted, the consumable can be added to the imaging box, and the data of the consumable chip is reset, so that the old consumable can be reused. However, in the printing process, the printing equipment continuously reads and writes consumable chips of the imaging box, the storage life of the chips is also consumed, the consumable chips can reach the storage life after the imaging box is repeatedly used for one time and twice, and data storage can not be normally carried out any more, so that the whole imaging box can not be repeatedly used.
Disclosure of Invention
Aiming at the problems in the background technology, the invention provides a consumable chip data storage method, which comprises the following steps:
s101, after a consumable chip is electrified, monitoring the power supply voltage of the consumable chip; s102, when the voltage of the consumable chip supplied by the printing equipment is monitored to be reduced to the rated value, the power supply voltage reduction time of the consumable chip is prolonged through the power-down delay circuit, and data in the volatile memory are written into the nonvolatile memory.
In another aspect, the present invention provides a consumable chip, including: the low-voltage detection unit is used for detecting whether the power supply of the printing equipment to the consumable chip is powered off or not, and if the power supply voltage is reduced to the threshold voltage, a signal is sent to inform the main control unit; a main control unit which processes a command transmitted by the printing apparatus; the signal interface unit is a signal transmission channel for communication between the printing equipment and the main control unit; volatile memory and nonvolatile memory; and the power-down delay circuit is used for prolonging the power-down time of the internal circuit of the consumable chip when the printing equipment powers off the consumable chip, so that the main control unit stores the data of the corresponding address of the volatile memory into the nonvolatile memory.
In another aspect, the present invention provides an imaging cartridge comprising a consumable chip as described above.
The beneficial effects of the invention are as follows: the storage life of the consumable chip is effectively prolonged, so that the imaging box can be reused for a plurality of times more effectively.
Drawings
For easier understanding of the present invention, the present invention will be described in more detail by referring to specific embodiments shown in the drawings. These drawings depict only typical embodiments of the invention and are not therefore to be considered to limit the scope of the invention.
Fig. 1 is a schematic circuit diagram of a consumable chip of the present invention.
Fig. 2 is a flowchart of a method of operating a consumable chip of the present invention.
Fig. 3 is a circuit component diagram of an embodiment of the consumable chip of the present invention.
Detailed Description
Embodiments of the present invention will be described below with reference to the accompanying drawings so that those skilled in the art can better understand the present invention and implement it, but the examples listed are not limiting to the present invention, and the following examples and technical features of the examples may be combined with each other without conflict, wherein like parts are denoted by like reference numerals.
First embodiment
As shown in fig. 1, the consumable chip data storage method of the present invention.
S101, after the consumable chip is electrified, monitoring the power supply voltage of the consumable chip.
Preferably, in one embodiment, after the consumable chip is powered up, the data on the nonvolatile memory is read and stored in the volatile memory, and then the monitoring of the supply voltage of the consumable chip is started.
S102, when the voltage of the consumable chip supplied by the printing equipment is monitored to be reduced to the rated value, the power supply voltage reduction time of the consumable chip is prolonged through the power-down delay circuit, and data in the volatile memory are written into the nonvolatile memory. Preferably, the data is written to a corresponding address of the non-volatile memory.
Preferably, the method of the present invention further comprises: and S103, after the consumable chip is electrified, detecting a command signal sent by the printing equipment, and if not, continuing to wait.
Preferably, the method of the present invention further comprises: and S104, if the consumable chip is a read command, the consumable chip reads the data of the corresponding address of the volatile memory and responds the data to the printing equipment through the signal interface unit. S105, if the data is a write command, the chip main control unit stores the write command data to the corresponding address of the volatile memory. And S106, if the chip is the other command, the chip performs corresponding command processing and responds the related information to the printing equipment through the signal interface unit. S107, if it is not a read command, a write command, or other commands, the signal sent by the printing apparatus next time is continued to be waited.
Preferably, after the working voltage of the printing equipment for the consumable chip is monitored to be reduced to the rated value, an interrupt signal is generated, the consumable chip performs interrupt service, data of the volatile memory is saved back to a corresponding address of the nonvolatile memory in the interrupt service, and the consumable chip returns to an operation state before the consumable chip after the data are saved.
Preferably, a capacitor is used in the power down delay circuit to extend the supply voltage drop time of the consumable chip.
According to a second aspect, the present invention proposes a consumable chip, as shown in fig. 2, comprising: the device comprises a main control unit, a volatile memory, a nonvolatile memory, a low voltage detection unit, a power-down delay circuit and a signal interface unit.
The signal interface unit is connected with the printing equipment. The signal interface unit is a signal transmission channel for communication between the printing device and the main control unit.
The main control unit processes the signals transmitted by the signal interface unit and responds the data to the printing equipment through the signal interface unit. The main control unit reads and writes data of the volatile memory and the nonvolatile memory. When receiving the low voltage alarm signal sent by the low voltage detection unit, the main control unit enters a low voltage interrupt service and writes the data in the volatile memory into the nonvolatile memory.
The nonvolatile memory is a common FLASH and EEPROM nonvolatile memory. The nonvolatile memory stores factory information of the imaging box chip, such as consumable type, printing capacity, serial number, factory date and the like. When the chip is powered down, the nonvolatile memory stores data written into the consumable chip by the printing equipment in the printing process, such as a printing date, a printing page number, a residual capacity and the like.
The volatile memory is used for temporarily storing data written into the consumable chip by the printing equipment in the printing process, such as a printing date, a printing page number, a residual capacity and the like, and is commonly used in the SRAM volatile memory.
The low-voltage detection unit is used for detecting whether the power supply of the printing equipment to the consumable chip is powered down, and if the power supply voltage is reduced to the rated voltage, the low-voltage detection unit sends a signal to inform the main control unit to perform corresponding power-down processing work.
The power-down delay circuit is used for prolonging the power-down time of the internal circuit of the consumable chip when the printing equipment powers down the consumable chip, and ensuring that enough time and power supply exist for the main control unit to store the data of the corresponding address of the volatile memory into the nonvolatile memory.
The printing equipment can read and write the consumable chip of the imaging box for a plurality of times in the same printing process, and in the process, the printing equipment can keep the consumable chip in an electrified working state. After receiving a write command of the printing equipment, the main control unit of the consumable chip of the invention temporarily stores data in the command on the volatile memory. The low voltage detection unit monitors the power supply voltage, and when detecting that the voltage of the consumable chip supplied by the printing equipment is reduced, the power-down delay unit slowly powers down the voltage, so that enough time and voltage are ensured to write the data to be written from the volatile memory to the corresponding address of the nonvolatile memory of the consumable chip. Therefore, the consumable chip for erasing and writing for a plurality of times in the original printing process is reduced to one-time erasing and writing. Greatly improving the service life of the imaging box chip.
Specifically, after receiving a write command of the printing device, the consumable chip temporarily stores data in the command on a volatile memory. More specifically, the consumable chip is powered up, reads data of the nonvolatile memory, and saves the data into the volatile memory.
Starting the low-voltage detection unit, and collecting the power supply voltage of the consumable chip in real time to perform real-time monitoring.
Meanwhile, the main control unit detects whether the signal interface unit has a command signal sent by the printing equipment, and if not, the main control unit continues waiting. If the data is the read command, the main control unit reads the data of the corresponding address of the volatile memory and responds the data to the printing equipment through the signal interface unit. If the data is a write command, the chip main control unit stores the write command data to the corresponding address of the volatile memory. If the command is other commands, the chip processes the corresponding commands and responds the related information to the printing equipment through the signal interface unit. If the command is not a read command, a write command or other commands, the signal sent by the printing device next time is continued to be waited.
When the low voltage detection unit detects that the voltage supplied by the printing equipment to the consumable chip is reduced to the rated value, the low voltage detection unit generates an interrupt signal to the main control unit, the main control unit performs low voltage detection interrupt service, data of the volatile memory are saved back to a corresponding address of the nonvolatile memory in the interrupt service, and the data are returned to an execution state before the main control unit after the data are saved.
Fig. 3 shows a preferred embodiment of the consumable chip of the present invention.
The main control unit, the volatile memory, the nonvolatile memory storage unit and the low voltage detection unit are integrated in an MCU (reference numeral U1), and the model of the MCU is CX32L 003. A capacitor C1 (10 uF) is connected in parallel between VCC and GND of U1 to serve as a power-down delay circuit. P1 is a signal interface unit, and U1 communicates with the printing apparatus through P1.
The calculation formula of the capacitance parameter C in the delay circuit is as follows:
C=I max *T max /ΔU
wherein I is max For the maximum working current of the consumable chip, T max For the longest time required to erase a block, ΔU is the voltage from the trigger voltage that triggers the low voltage detector to the lowest operating voltage of the consumable chipAnd (3) difference.
Taking the embodiment shown in fig. 3 as an example, the maximum working current of the U1 is 3mA, the time for erasing one storage block (one block is 512 bytes, enough storage space is used for storing data for consumable chips) is at most 5ms, the voltage supplied by the printing equipment to the consumable chips is 5V, namely the voltage supplied to the U1 is 5V, if power is lost, when the voltage drops to the rated voltage of 4.4V for the consumable chips to work, the low voltage detector of the U1 is triggered to generate low voltage detection interrupt information, so that the main control unit of the U1 enters an interrupt service routine. The minimum operating voltage of U1 is 2.4V (referring to the minimum operating voltage of the master control unit and the two memories). There is a 2V differential from 4.4V when the low voltage detector is triggered to the lowest operating voltage of U1, 2.4V. According to the above parameters and the calculation formula c=i max *T max According to the embodiment, a power-down delay capacitor of 10uF is adopted, so that the main control unit of U1 has enough time and power supply to transfer the data of the easily lost storage unit into the nonvolatile memory, the power-down data storage is realized, and the erasing times of the nonvolatile memory in the internal use process of the printing equipment can be reduced, and the storage life of the nonvolatile memory is prolonged.
In this embodiment, in the printing apparatus, once the printing apparatus supplies power to the consumable chip through the signal interface unit P1 of the consumable chip, the main control unit of U1 reads the corresponding address data of the nonvolatile memory inside U1 and stores it in the volatile memory inside U1. If the U1 receives the read command sent by the printing device through the signal interface unit P1, the main control unit in the U1 responds the corresponding address data of the volatile memory in the U1 to the printing device through the signal interface unit P1. If the U1 receives the write command sent by the printing device through the signal interface unit P1, the main control unit in the U1 stores the data in the corresponding address of the volatile memory in the U1. If the command is other, the main control unit in the U1 processes other corresponding commands and responds to the related information to the printing equipment through the signal interface unit P1.
In another aspect, the invention also provides an imaging cartridge comprising a consumable chip as described above.
The foregoing embodiments, but only the preferred embodiments of the invention, use of the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments" in this specification may all refer to one or more of the same or different embodiments in accordance with the present disclosure. Common variations and substitutions by those skilled in the art within the scope of the present invention are intended to be included in the scope of the present invention.
Claims (10)
1. A consumable chip data storage method, comprising:
s101, after a consumable chip is electrified, monitoring the power supply voltage of the consumable chip;
s102, when the voltage of the consumable chip supplied by the printing equipment is monitored to be reduced to the rated value, the power supply voltage reduction time of the consumable chip is prolonged through the power-down delay circuit, and data in the volatile memory are written into the nonvolatile memory.
2. The consumable chip data storage method of claim 1, wherein the consumable chip data is stored in a memory of the memory device,
in step S101, after the consumable chip is powered on, data on the nonvolatile memory is read and stored in the volatile memory, and then monitoring of the supply voltage of the consumable chip is started.
3. The consumable chip data storage method of claim 1, further comprising:
and S103, after the consumable chip is electrified, detecting a command signal sent by the printing equipment, and if not, continuing to wait.
4. A consumable chip data storage method according to claim 3, further comprising:
s104, if the consumable chip is a read command, the consumable chip reads the data of the corresponding address of the volatile memory and responds the data to the printing equipment through the signal interface unit;
s105, if the write command is received, the chip main control unit stores the write command data to the corresponding address of the volatile memory;
s106, if the chip is the other command, the chip processes the corresponding command and responds the related information to the printing equipment through the signal interface unit;
s107, if it is not a read command, a write command, or other commands, the signal sent by the printing apparatus next time is continued to be waited.
5. A consumable chip data storage method according to claim 3, wherein,
in step S102, after the operating voltage of the printing apparatus for the consumable chip is monitored to be reduced to the rated value, an interrupt signal is generated, the consumable chip performs interrupt service, and in the interrupt service, data of the volatile memory is saved back to a corresponding address of the nonvolatile memory, and after the saving is completed, the consumable chip returns to the operation state before the consumable chip.
6. The consumable chip data storage method of claim 1, wherein the consumable chip data is stored in a memory of the memory device,
the capacitor is used in the power-down delay circuit to prolong the power supply voltage drop time of the consumable chip, and the calculation formula of the capacitor is as follows:
C=I max *T max /ΔU
wherein I is max For the maximum working current of the consumable chip, T max The maximum time it takes to erase a memory block for a consumable chip, ΔU is the voltage difference from the trigger voltage that triggers the low voltage detector to the lowest operating voltage of the consumable chip.
7. A consumable chip, comprising:
the low-voltage detection unit is used for detecting whether the power supply of the printing equipment to the consumable chip is powered off or not, and if the power supply voltage is reduced to the threshold voltage, a signal is sent to inform the main control unit;
a main control unit which processes a command transmitted by the printing apparatus;
the signal interface unit is a signal transmission channel for communication between the printing equipment and the main control unit;
volatile memory and nonvolatile memory;
and the power-down delay circuit is used for prolonging the power-down time of the internal circuit of the consumable chip when the printing equipment powers off the consumable chip, so that the main control unit stores the data of the corresponding address of the volatile memory into the nonvolatile memory.
8. The consumable chip of claim 7, wherein the consumable chip comprises a plurality of chips,
after the consumable chip is electrified, reading data on the nonvolatile memory and storing the data in the volatile memory, and then starting a low-voltage detection unit to start monitoring the power supply voltage of the consumable chip;
after the working voltage of the consumable chip, which is monitored by the printing equipment, is reduced to a rated value, an interrupt signal is generated, the consumable chip performs interrupt service, data of the volatile memory is saved back to a corresponding address of the nonvolatile memory in the interrupt service, and the consumable chip returns to an operation state before the consumable chip after the data are saved;
a capacitor is used in the power-down delay circuit to prolong the power supply voltage drop time of the consumable chip.
9. The consumable chip of claim 8, wherein the consumable chip comprises a plurality of chips,
the capacitor is used in the power-down delay circuit to prolong the power supply voltage drop time of the consumable chip, and the calculation formula of the capacitor is as follows:
C=I max *T max /ΔU
wherein I is max For the maximum working current of the consumable chip, T max The maximum time it takes to erase a memory block for a consumable chip, ΔU is the voltage difference from the trigger voltage that triggers the low voltage detector to the lowest operating voltage of the consumable chip.
10. An imaging cartridge comprising a consumable chip according to any one of claims 8-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311054367.7A CN117227326A (en) | 2023-08-21 | 2023-08-21 | Consumable chip data storage method, consumable chip and imaging box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311054367.7A CN117227326A (en) | 2023-08-21 | 2023-08-21 | Consumable chip data storage method, consumable chip and imaging box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117227326A true CN117227326A (en) | 2023-12-15 |
Family
ID=89090138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311054367.7A Pending CN117227326A (en) | 2023-08-21 | 2023-08-21 | Consumable chip data storage method, consumable chip and imaging box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117227326A (en) |
-
2023
- 2023-08-21 CN CN202311054367.7A patent/CN117227326A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102166886B (en) | Consumable chip, data read-write method thereof and consumable container | |
KR101986872B1 (en) | Memory chip power management | |
US6370628B2 (en) | Nonvolatile semiconductor disk device limiting a number of simultaneous transfers and associated control process | |
WO2011006444A1 (en) | Storage chip in imaging box for imaging device | |
KR20060068450A (en) | Memory storage apparatus for improvement in operation performance | |
US7721166B2 (en) | Method for managing defect blocks in non-volatile memory | |
US20180059970A1 (en) | Storage device and method of writing data into storage device | |
US20020105829A1 (en) | Nonvolatile semiconductor storage device and control method thereof | |
JP2006252535A (en) | Storage apparatus | |
CN102381036B (en) | Consumable chip, consumable container and data writing method for consumable chip | |
JP2003036205A (en) | Storage device | |
JP2007141170A (en) | Data carrier system and data saving/restoring method thereof | |
CN104275939A (en) | Consumable chip, data write-in method of consumable chip and consumable container | |
JP2008310888A (en) | Non-volatile semiconductor storage device | |
KR100739775B1 (en) | Apparatus and method for controlling power | |
JP4841069B2 (en) | Storage device | |
CN117227326A (en) | Consumable chip data storage method, consumable chip and imaging box | |
US10585633B2 (en) | Method for recording chip usage state information, chip of imaging cartridge and imaging cartridge | |
CN107301024B (en) | Imaging box chip, imaging box and data processing method | |
JPH10134558A (en) | Power source feed circuit of semiconductor memory application device | |
CN113352770B (en) | Consumable chip and imaging box | |
JP2001290791A (en) | Microcomputer with built-in nonvolatile semiconductor memory and its control method | |
JP2009205216A (en) | Electronic apparatus and standby voltage control method for volatile memory | |
JP2007156864A (en) | Data retention unit | |
KR20200131749A (en) | Semiconductor device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |