Consumable chip and working method thereof, consumable container and printing equipment

By calculating the number of target clock signals in the consumable chip and outputting all zero data, the communication interference problem of the consumable chip to other chips when pulling down the command is solved, ensuring efficient communication of the printing equipment.

CN120363606APending Publication Date: 2025-07-25ZHUHAI TIANWEI TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510419487.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

Existing inkjet printing equipment and laser printing equipment have problems of inefficient communication and interference during the communication process of consumable chips, especially when the toner cartridge chip executes the pull-down instructions, which affects the communication efficiency of other consumable chips.

Method used

It provides a consumable chip. After receiving the pull-down command through the controller, it calculates the number of target clock signals, and couples the target clock signal to the clock bus within the pull-down time, and outputs all zero data to the data bus, ensuring that it stops immediately after the pull-down time is over, avoiding affecting the communication of other consumable chips.

Benefits of technology

It realizes that while meeting the requirements for consumable container verification, it does not affect the communication of other consumable chips, and improves the overall communication efficiency and reliability of printing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120363606A_ABST
    Figure CN120363606A_ABST
Patent Text Reader

Abstract

The invention provides a consumable chip and a working method thereof, a consumable container and printing equipment, the consumable chip is provided with an electronic module, the electronic module is provided with a controller, after the controller receives a pull-down instruction through a data bus, the controller determines the pull-down time length according to the pull-down instruction, and the pull-down time length is sent to the electronic module. The target number of target clock signals needing to be coupled to the clock bus is calculated according to the pull-down duration; the controller couples the target number of the target clock signals to the clock bus according to the calculated target number of the target clock signals needing to be coupled, and the controller continuously outputs all-zero data to the data bus during coupling of the target clock signals; and after the number of the coupled target clock signals reaches the target number, stopping coupling the target clock signals to the clock bus, and stopping outputting all-zero data to the data bus. The invention further provides a working method of the consumable chip. According to the invention, the communication between each consumable chip and the printing equipment can be prevented from being influenced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of inkjet printing. Specifically, it relates to a consumable chip, a working method of such a consumable chip, a consumable container having such a consumable chip, and a printing device installed with such a consumable container. Background Art

[0002] As a common office device, a printing device provides great convenience for modern office work. Common printing devices are divided into inkjet printing devices and laser printing devices. An inkjet printing device uses an ink cartridge containing ink as a consumable container to spray ink onto paper to form the text or pattern to be printed on the paper; a laser printing device uses a toner cartridge containing toner as a consumable container to form the text or pattern to be printed on a medium.

[0003] See Figure 1 , there is a conventional color inkjet printing device having a housing 11. Figure 1 The shown inkjet printing device omits the tray of the housing 11. Inside the housing 11, there is a core unit 12 of the inkjet printing device, and a slide bar is provided. The print carriage 14 reciprocates along the slide bar driven by a motor ( Figure 1 not visible in the figure). Inside the print carriage 14, there is a main control circuit board ( Figure 1 not visible in the figure). The main control circuit board communicates with the core unit 12 through a flexible cable 13.

[0004] A plurality of ink cartridges 15 are detachably installed on the print carriage 14, and different ink cartridges 15 contain different colors of ink. The structure of the ink cartridge 15 is as shown in Figure 2 . The ink cartridge 15 has a cartridge body 16. The cartridge body 16 encloses a cavity for containing ink. An ink outlet 17 is provided at the lower end of the cavity. The ink in the cavity flows out through the ink outlet 17 and supplies ink to the ink supply needle of the print carriage 14.

[0005] A chip 18 is installed on the outer wall of the cartridge body 16 of the ink cartridge 15. The chip 18 has a substrate. On one side of the substrate, there are a plurality of connection terminals 19 for electrically connecting with the contact pins on the print carriage 14. On the other side of the substrate, there are a controller and a memory ( Figure 2 not visible in the figure). Usually, the memory is a non-volatile memory, such as EEPROM or FLASH, which stores information related to the ink cartridge, including variable information and invariant information. The variable information is information that will continuously change with the printing operation, such as ink remaining amount, printing duration, number of printed papers, etc. The invariant information is information that will not change with the printing operation, such as ink cartridge model, applicable inkjet printing device model, ink color, etc.

[0006] A toner cartridge is installed inside the existing laser printing device. See Figure 4, the existing toner cartridge has a housing 21 which encloses a cavity for accommodating toner. There is a chip mounting position 22 provided on the outer wall of the housing, and a chip 23 is mounted on the chip mounting position 22. Similar to the chip of an ink cartridge, the chip 23 of the toner cartridge also has a substrate, and multiple connection terminals 24 are provided on the substrate for data exchange with a laser printing device, such as including a power supply terminal, a ground terminal, a data terminal, and a clock terminal. And, on the other side of the substrate, there is an electronic module electrically connected to the connection terminals 24, and there are a controller and a memory, etc. on the electronic module. Communication between the electronic module and the laser printing device is carried out through the standard I2C protocol (Inter-integrated Circuit protocol).

[0007] Since multiple toner cartridges can be installed in a laser printing device and the toner contained in different toner cartridges has different colors, the laser printing device needs to verify whether each toner cartridge is properly installed. There is a resistor provided between the voltage source of an existing laser printing device and the host data terminal of the laser printing device, and there are also resistors provided between the data terminals of each toner cartridge. The analog-to-digital converter is also connected to the host data terminal. The laser printing device issues a pull-down command on the communication bus to make the chip of a specific color toner cartridge execute the pull-down command so that the analog-to-digital converter of the laser printing device can collect different voltage values. The laser printing device determines whether the installation position of the toner cartridge of this color is correct according to the collected voltage values.

[0008] Each pull-down command sent by the laser printing device includes both a command address and a pull-down duration. Therefore, after each toner cartridge chip receives the pull-down command, it first needs to check whether the command address matches its own I2C address. When the addresses match, the toner cartridge chip decrypts the pull-down command to obtain the pull-down duration, then immediately pulls down the level of the data bus, and uses an internal timer to time the pull-down duration. When the timing ends, it releases the data bus to end the response to the pull-down command. And, during the response of the toner cartridge chip to the pull-down command, since the level on the data bus remains at a low level all the time, if there is an instruction sent to other toner cartridge chips on the bus at this time, other toner cartridge chips cannot receive this instruction either and can only wait for the toner cartridge chip of the current color to end the pull-down operation, which affects the communication efficiency.

[0009] In addition, the process by which the toner cartridge chip executes the pull-down instruction is not the process of receiving and sending data in the standard I2C protocol. When the toner cartridge chip starts to execute the pull-down operation, since the level of the clock signal is high at this time, pulling down the level of the data bus is equivalent to generating a start condition. However, after generating the start condition, since the level of the clock bus has been high and the level of the data bus has also remained low, it is equivalent to no data transmission on the data bus at this time. After a start condition is generated on the data bus, other toner cartridge chips are waiting to receive the first byte of data representing the addressing address on the data bus. However, if there is no data on the data bus, it may cause other toner cartridge chips to think that the host has an error and freezes, or wait for a timeout and enter the low-power mode, etc., affecting subsequent communication. Summary of the Invention

[0010] The first object of the present invention is to provide a consumable chip that can meet the verification requirements of the consumable container without affecting the communication requirements of other consumable chips.

[0011] The second object of the present invention is to provide a working method for the above-mentioned consumable chip.

[0012] The third object of the present invention is to provide a consumable container provided with the above-mentioned consumable chip.

[0013] The fourth object of the present invention is to provide a printing device for detachably installing the above-mentioned consumable container.

[0014] To achieve the first object of the present invention, the consumable chip provided by the present invention is detachably installed in the printing device. The consumable chip is provided with an electronic module, and the electronic module communicates with the printing device through a clock bus and a data bus. Among them, the electronic module is provided with a controller. After receiving the pull-down instruction through the data bus, the controller determines the pull-down duration according to the pull-down instruction, and calculates the target number of target clock signals that need to be coupled to the clock bus according to the pull-down duration. The controller couples the target number of target clock signals to the clock bus according to the calculated target number of target clock signals to be coupled, and during the coupling of the target clock signals, the controller continuously outputs all-zero data to the data bus. After the number of coupled target clock signals reaches the target number, the controller stops coupling the target clock signals to the clock bus and stops outputting all-zero data to the data bus.

[0015] As can be seen from the above solution, after the controller receives the pull-down instruction, it calculates the target number of target clock signals according to the pull-down duration, and couples the target number of target clock signals to the clock bus. In this way, the consumable chip actually determines whether the pull-down duration has reached by calculating the number of target clock signals. Compared with the method of timing through an internal timer, using hardware such as a crystal oscillator for timing can calculate the arrival time of the pull-down duration more accurately. And within the pull-down duration, the consumable chip only needs to continuously output all-zero data according to the standard I2C protocol. In this way, when other consumable chips receive the addressing address with the first byte being 00, since their own I2C addresses do not match the address in this instruction, they will skip the pull-down instruction until they receive the next start instruction, so it will not affect subsequent communications.

[0016] A preferred solution is that the electronic module further includes a crystal oscillator and a switching device. The crystal oscillator outputs target clock signals to the clock bus through the switching device; the control end of the switching device receives the control signal output by the controller.

[0017] Thus, by controlling the on / off of the switching device, the crystal oscillator is controlled to load target clock signals to the clock bus, which facilitates the loading and withdrawal of target clock signals.

[0018] A further solution is that the electronic module is further provided with a first push-pull circuit, and the first push-pull circuit is arranged between the switching device and the clock bus.

[0019] Thus, through the first push-pull circuit, the driving ability of the target clock signal can be enhanced to ensure that the level of the clock bus can be pulled down.

[0020] An optional solution is that the electronic module is provided with a basic clock signal generation circuit and a frequency division circuit; the basic clock signal generation circuit is used to generate a high-frequency basic clock signal, and the frequency division circuit is used to divide the basic clock signal to obtain a target clock signal with the same frequency as the clock signal sent by the printing device to the clock bus; within the pull-down duration, the electronic module continuously couples the target clock signal to the clock bus.

[0021] Thus, the electronic module uses the internal basic clock signal generation circuit to generate a basic clock signal with a relatively high frequency and divides it to obtain the target clock signal, which can flexibly meet the frequency requirements of the clock signals of different printing devices.

[0022] A further solution is that the basic clock signal generation circuit includes an LC oscillator or a phase-locked loop.

[0023] Thus, using an LC oscillator or a phase-locked loop to generate the basic clock signal can implement the basic clock signal generation circuit at low cost.

[0024] To achieve the second object of the present invention, in the working method of the consumable chip provided by the present invention, the consumable chip is detachably installed in the printing device. The consumable chip is provided with an electronic module, and communication between the electronic module and the printing device is carried out through a clock bus and a data bus. The method includes: after the controller of the electronic module receives a pull-down instruction through the data bus, determining the pull-down duration according to the pull-down instruction, and calculating the target number of target clock signals that need to be coupled to the clock bus according to the pull-down duration; according to the calculated target number of target clock signals that need to be coupled, coupling the target number of target clock signals to the clock bus, and during the coupling of the target clock signals, the controller continuously outputs all-zero data to the data bus; after the number of coupled target clock signals reaches the target number, stopping coupling the target clock signals to the clock bus and stopping outputting all-zero data to the data bus.

[0025] As can be seen from the above solution, in the present invention, after the controller receives the pull-down instruction, it calculates the target number of target clock signals according to the pull-down duration, and couples the target number of target clock signals to the clock bus according to the target number. In this way, the consumable chip actually determines the end moment of the pull-down duration by calculating the number of target clock signals. Compared with the method of timing through an internal timer, using a crystal oscillator and other hardware for timing can calculate the arrival time of the pull-down duration more accurately. And within the pull-down duration, the consumable chip only needs to continuously output all-zero data according to the standard I2C protocol.

[0026] Applying the solution of the present invention, after other consumable chips receive the addressing address with the first byte being 00, since their own I2C addresses do not match the address in this instruction, they will skip the pull-down instruction until they receive the next start instruction, so it will not affect the communication of other consumable chips.

[0027] A preferred solution is that the electronic module further includes a crystal oscillator and a switching device, and the crystal oscillator outputs target clock signals to the clock bus through the switching device. The method further includes: during the pull-down duration, the controller controls the switching device to conduct, so that the crystal oscillator couples target clock signals to the clock bus through the switching device.

[0028] An alternative solution is that the electronic module is provided with a basic clock signal generation circuit and a frequency division circuit. The method further includes: the basic clock signal generation circuit generates a high-frequency basic clock signal, and the frequency division circuit divides the basic clock signal to obtain a target clock signal with the same frequency as the clock signal sent by the printing device to the clock bus; during the pull-down duration, the electronic module continuously couples the target clock signals to the clock bus.

[0029] To achieve the third object of the present invention, the consumable container provided by the present invention is detachably installed in a printing device. The consumable container includes a cartridge body, a cavity is formed in the cartridge body, a printing consumable is accommodated in the cavity, and a consumable outlet is provided on one side of the cavity; a consumable chip as described above is provided on the outer wall of the cartridge body.

[0030] To achieve the fourth object of the present invention, the printing device provided by the present invention includes a machine body, a main control circuit board is provided in the machine body, and one or more of the above-mentioned consumable containers are installed in the printing device. Description of the Drawings

[0031] Figure 1 is a structural diagram of an existing inkjet printing device.

[0032] Figure 2 is a schematic structural diagram of an existing ink cartridge.

[0033] Figure 3 is a schematic structural diagram of an existing toner cartridge.

[0034] Figure 4 is an electrical principle block diagram of the first embodiment of the consumable chip of the present invention and a laser printing device.

[0035] Figure 5 is a flowchart of the first embodiment of the working method of the consumable chip of the present invention.

[0036] Figure 6 is an electrical principle block diagram of the second embodiment of the consumable chip of the present invention and a laser printing device.

[0037] Figure 7 is a flowchart of the second embodiment of the working method of the consumable chip of the present invention.

[0038] Figure 8 is a flowchart of the embodiment of the instruction processing method of the consumable chip of the present invention.

[0039] The present invention will be further described below in conjunction with the drawings and embodiments. Detailed Embodiments

[0040] The printing device of the present invention can be an inkjet printing device or a laser printing device. Hereinafter, a laser printing device will be taken as an example for description. The laser printing device has a machine body, and one or more toner cartridges are provided in the machine body. The toner cartridge is the consumable container of the present invention, and a toner cartridge chip is provided on the side wall of each toner cartridge. An electronic module is provided on the toner cartridge chip of the present invention, the electronic module is provided with a controller, and the electronic module communicates with the laser printing device through a data bus and a clock bus.

[0041] First Embodiment: See Figure 4, the laser printing device 30 of this embodiment is provided with a body, and a plurality of toner cartridges are detachably installed in the body. Each toner cartridge has a cartridge body, and the cartridge body encloses a cavity containing toner. A powder outlet is provided on one side of the cavity. A toner cartridge chip is provided on the housing. The toner cartridge chip has a substrate, and a plurality of connection terminals are provided on the surface of the substrate, such as a power supply terminal, a ground terminal, a clock terminal, and a data terminal. The clock terminal is connected to the clock bus 39, and the data terminal is connected to the data bus 38.

[0042] An electronic module is further provided on the substrate of the toner cartridge chip. A controller 32 and a memory are provided in the electronic module. A crystal oscillator 33, a first push-pull circuit 34, and a switching device 35 are further provided on the substrate. The switching device 35 is a triode or a field-effect transistor. The switching device 35 is provided between the crystal oscillator 33 and the first push-pull circuit 34, and the controller 32 can output a control signal to the switching device 35 to control the state of the switching device 35, that is, to control the switching device 35 to operate in a conducting state or a cut-off state.

[0043] The controller 32 is implemented by a single-chip microcomputer or an application-specific integrated circuit. The crystal oscillator 33 can output a clock signal with a stable oscillation frequency. The first push-pull circuit 34 is used to amplify the clock signal output by the crystal oscillator 33, and can increase the driving ability of the clock signal output by the crystal oscillator 33. Therefore, the signal output by the first push-pull circuit 34 is also a clock signal, and the frequency of this clock signal is the same as the frequency of the clock signal output by the crystal oscillator 33. This clock signal is also the target clock signal of this embodiment. The first push-pull circuit 34 can couple the target clock signal to the clock bus 39.

[0044] The following will be combined with Figure 5 Describe the working method of the consumable chip of this embodiment. First, after the toner cartridge is installed in the laser printing device, the laser printing device supplies power to the toner cartridge chip, and the toner cartridge chip is powered on. The electronic module of the toner cartridge chip executes step S1, receives the data sent by the laser printing device through the data bus, such as various instructions, and receives the clock signal sent by the laser printing device through the clock bus. In the initial state, the controller does not output a conducting control signal to the switching device, and the switching device is in a cut-off state. Therefore, the crystal oscillator does not output a clock signal to the first push-pull circuit.

[0045] For each received instruction, the controller needs to identify the specific content of the instruction and execute step S2 to determine whether the instruction is a pull-down instruction. If it is not a pull-down instruction, the controller executes the operation corresponding to the instruction and continues to monitor whether a pull-down instruction is received. If the received instruction is a pull-down instruction, the controller first parses the pull-down instruction to obtain the duration to be pulled down, that is, the duration for executing the pull-down instruction, and then executes step S3.

[0046] Next, the controller executes step S4 to calculate the target number of target clock signals corresponding to the pull-down duration. Specifically, multiplying the pull-down duration by the oscillation frequency of the crystal oscillator obtains the target number of target clock signals. Then, the controller executes step S5 to output a control signal for turning on to the switching device, so that the switching device is in the on state. At this time, the clock signal generated by the crystal oscillator will be amplified by the first push-pull circuit and coupled to the clock bus. Since the laser printing device continuously loads a high-level signal to the clock bus during the response period of the pull-down instruction, when the target clock signal output by the first push-pull circuit is coupled to the clock bus, the clock bus presents a low level during the period when the target clock signal is at a low level.

[0047] During the pull-down duration, the controller also executes step S6 to output all-zero data to the data bus through the data terminal. Therefore, during the pull-down period, the data bus remains at a low-level signal. Then, the controller executes step S7 to determine whether the number of target clock signals coupled from the crystal oscillator to the clock bus through the first push-pull circuit reaches the target number. If not, the first push-pull circuit continues to couple target clock signals to the clock bus. If the target number is reached, the controller executes step S8 to output a control signal for turning off to the switching device. The switching device turns off, and the clock signal output by the crystal oscillator cannot be output to the first push-pull circuit. Therefore, the first push-pull circuit also does not couple target clock signals to the clock bus. At this time, the controller also stops outputting all-zero data to the data bus.

[0048] It can be seen that when the toner cartridge chip outputs all-zero data to the data bus, it is equivalent to outputting a start condition to the data bus. When the pull-down duration reaches, the toner cartridge chip stops outputting all-zero data to the data bus, that is, releases the data bus, which is equivalent to generating a stop condition. Since this embodiment uses the clock signal output by the crystal oscillator as the basis for counting the pull-down duration, that is, by calculating whether the number of clock signals output by the crystal oscillator reaches the target number to determine whether the pull-down duration is reached. Compared with the traditional solution that uses the internal timer of the controller for timing, using the clock signal output by the crystal oscillator for timing the pull-down duration is more accurate, and the controller does not need to perform timing, nor does it need to consider whether the termination moment of the pull-down duration is reached. It only needs to continuously output all-zero data to the data bus in accordance with the standard I2C protocol. In this way, during the execution of the pull-down instruction by the current toner cartridge chip, other toner cartridge chips can determine whether the addressed address is consistent with the I2C address of the toner cartridge chip after receiving the addressed address with the first byte being 00. Since the addressed addresses of the instructions received by other toner cartridge chips during the pull-down period are not consistent with the I2C address of this toner cartridge chip, the instruction will be skipped, that is, the instruction will not be executed until the next start condition is triggered. Therefore, this embodiment will not affect the communication between other toner cartridge chips, nor will it affect subsequent communication, while meeting the detection requirements of the laser printing device and avoiding affecting the communication of other toner cartridge chips.

[0049] Second Embodiment: Refer to Figure 6 , the laser printing device 40 of this embodiment is provided with a body, and a plurality of toner cartridges are detachably installed in the body. Each toner cartridge is provided with a toner cartridge chip. The toner cartridge chip has a substrate, and a plurality of connection terminals are arranged on the surface of the substrate, such as a power supply terminal, a ground terminal, a clock terminal, and a data terminal. The clock terminal is connected to the clock bus 49, and the data terminal is connected to the data bus 48.

[0050] An electronic module is further arranged on the substrate of the toner cartridge chip. The electronic module is provided with a controller 42, a memory, a frequency division circuit 43, and a second push-pull circuit 44. And the electronic module is further provided with a basic clock signal generation circuit. The basic clock signal generation circuit can be an LC oscillator or a phase-locked loop. The basic clock signal generation circuit is used to generate a high-frequency basic clock signal. The frequency of the basic clock signal needs to be much higher than the frequency of the clock signal on the clock bus 49 when the laser printing device 40 communicates with the toner cartridge chip.

[0051] The frequency division circuit 43 receives the basic clock signal output by the basic clock signal generation circuit, and divides the basic clock signal to obtain a target clock signal. In this embodiment, the frequency of the target clock signal is close to or the same as the frequency of the clock signal sent by the laser printing device 40 to the clock bus 49. The second push-pull circuit 44 is used to amplify the target clock signal output by the frequency division circuit 43 and couple the amplified target clock signal to the clock bus 49. Since the frequencies of the clock signals sent by different models of laser printing devices 40 to the clock bus 49 are not exactly the same, the frequency of the basic clock signal generated by the basic clock signal generation circuit needs to be very high, so that the basic clock signal can be divided by different multiples by the frequency division circuit 43, so as to obtain clock signals with different frequencies to match the frequencies of the clock signals sent by different models of laser printing devices 40.

[0052] The following will introduce the working method of the consumable chip in this embodiment in conjunction with Figure 7 First, after the toner cartridge is installed in the laser printing device, the laser printing device supplies power to the toner cartridge chip, and the toner cartridge chip is powered on. The electronic module of the toner cartridge chip executes step S11, receives the data sent by the laser printing device through the data bus, such as various instructions, and receives the clock signal sent by the laser printing device through the clock bus.

[0053] Then, the controller executes step S12 to determine whether the currently received instruction is a pull-down instruction. If it is not a pull-down instruction, the operation corresponding to the instruction is executed, and it continues to monitor whether a pull-down instruction is received. If the received instruction is a pull-down instruction, step S13 is executed to parse the pull-down instruction and obtain the duration to be pulled down from the pull-down instruction, that is, the duration of executing the pull-down instruction.

[0054] Next, step S14 is executed to calculate the target number of target clock signals corresponding to the pull-down duration. Specifically, the target number is obtained by multiplying the pull-down duration by the frequency of the clock signal sent by the laser printing device to the clock bus. Then, step S15 is executed. The basic clock signal generation circuit generates a basic clock signal, and the frequency division circuit divides the basic clock signal so that the frequency of the divided target clock signal is close to or the same as the frequency of the clock signal sent by the laser printing device to the clock bus. Moreover, the frequency division circuit couples the amplified target clock signal to the clock bus through the second push-pull circuit. Since the laser printing device continuously loads a high-level signal to the clock bus during the processing of the pull-down instruction, when the second push-pull circuit couples the amplified target clock signal to the clock bus, the clock bus presents a low level during the period when the target clock signal is at a low level.

[0055] During the pull-down duration, the controller also executes step S16 to output all-zero data to the data bus through the data terminal. Therefore, during the pull-down period, the data bus remains at a low-level signal. Then, step S17 is executed. The controller determines whether the number of target clock signals coupled to the clock bus reaches the target number. If not, the second push-pull circuit continues to couple the target clock signal to the clock bus. If the target number is reached, step S18 is executed to stop coupling the target clock signal to the clock bus and also stop outputting all-zero data to the data bus.

[0056] Third Embodiment: Since the purpose of the laser printing device sending the pull-down instruction is only to detect whether the toner cartridge is properly installed, the priority level of the pull-down instruction is relatively low. However, if a toner cartridge chip is responding to the pull-down instruction, the level of the data bus is forced to be set to a low level during the response period of the pull-down instruction. If a higher-priority instruction is sent on the data bus at this time, other toner cartridge chips cannot receive this instruction and can only wait until the toner cartridge chip currently executing the pull-down instruction finishes answering the pull-down instruction before they can receive other instructions. Therefore, when one of the toner cartridge chips is responding to the pull-down instruction, other toner cartridges will not be able to receive higher-priority instructions and thus cannot respond to these higher-priority instructions, affecting the communication between the laser printing device and the toner cartridge.

[0057] To solve this problem, the instruction processing method of the toner cartridge chip is improved in this embodiment. Refer to Figure 8 , first, step S21 is executed. The toner cartridge chip receives the data sent by the laser printing device through the data bus, such as various instructions, and receives the clock signal sent by the laser printing device through the clock bus.

[0058] Then, the controller executes step S22 to determine whether the currently received instruction is a pull-down instruction. If it is not a pull-down instruction, the operation corresponding to the instruction is executed, and it continues to monitor whether a pull-down instruction is received. If the received instruction is a pull-down instruction, step S23 is executed to parse the pull-down instruction and obtain the duration that needs to be pulled down from the pull-down instruction. Then, step S24 is executed. The toner cartridge chip generates a target clock signal, couples the target clock signal to the clock bus, and outputs all-zero data to the data bus.

[0059] During the period when the toner cartridge responds to the pull-down instruction, it is necessary to continuously monitor and detect the signals on the clock bus in real time, and step S25 is executed to determine whether the clock signal on the clock bus is abnormal. Specifically, it is to determine whether the clock signal has undergone deformation, for example, a low-level signal appears when the clock signal should be a high-level signal.

[0060] Specifically, during the response to the pull - down instruction, the controller sets one or more general - purpose input / output ports (GPIO) to output a low - level signal. Then, it releases the clock bus. When it is necessary to monitor the clock signal on the clock bus, the general - purpose input / output port is set to the input state, that is, to receive the signal on the clock bus. If the level on the clock bus is not high, it is determined that the clock signal has been distorted.

[0061] Since during the response to the pull - down instruction, the laser printing device continuously outputs a high - level signal to the clock bus, when the toner cartridge chip couples the target clock signal to the clock bus, during the period when the target clock signal is low, the clock bus presents a low level. Therefore, the toner cartridge chip coupling the target clock signal to the clock bus actually intermittently pulls down the level of the clock bus. Step S25 detects the level of the clock bus during the period when the toner cartridge chip does not pull down the level of the clock bus. If it is detected that the signal on the clock bus is low, it is determined that the laser printing device has sent other higher - level instructions. Since the laser printing device needs to load a clock signal to the clock bus when sending other instructions, and the clock signal loaded by the laser printing device to the clock bus and the target clock signal coupled by the toner cartridge chip to the clock bus are often not synchronized. Therefore, when the target clock signal is high, if it is detected that the clock bus is a low - level signal, it can be determined that the laser printing device has sent a clock signal to the clock bus, that is, the laser printing device has sent other instructions.

[0062] If the judgment result of step S25 is yes, step S26 is executed. The controller stops coupling the target clock signal to the clock bus and stops sending all - zero data to the data bus, that is, stops responding to the pull - down instruction. Finally, step S27 is executed. The controller receives a new instruction through the data bus. Of course, the received new instruction is not necessarily for the current toner cartridge chip. Therefore, after the toner cartridge chip receives the new instruction, it needs to parse the received new instruction to determine that the addressing information in the new instruction matches the I2C address information of the current toner cartridge chip before executing the instruction.

[0063] In this embodiment, by identifying the signal on the clock bus during the response to the pull - down instruction and determining whether the laser printing device has sent a new instruction, once it is found that the laser printing device has sent a new instruction, the response to the pull - down instruction is stopped, and a new instruction is received through the data bus. Since all toner cartridge chips can receive the instruction sent by the laser printing device after stopping responding to the pull - down instruction, it can ensure that each toner cartridge chip can promptly respond to the instruction sent by the laser printing device, ensuring the timeliness of communication between the laser printing device and each toner cartridge chip.

[0064] Finally, it should be emphasized that the above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A consumable chip, detachably installed in a printing device, the consumable chip is provided with an electronic module, and communication between the electronic module and the printing device is carried out through a clock bus and a data bus; Characterized in that: The electronic module is provided with a controller. After receiving a pull-down instruction through the data bus, the controller determines a pull-down duration according to the pull-down instruction, and calculates a target number of target clock signals that need to be coupled to the clock bus according to the pull-down duration; The controller couples the target number of target clock signals to the clock bus according to the calculated target number of target clock signals to be coupled. During the coupling of the target clock signals, the controller continuously outputs all-zero data to the data bus; After the number of coupled target clock signals reaches the target number, stop coupling target clock signals to the clock bus and stop outputting all-zero data to the data bus.

2. The consumable chip according to claim 1, characterized in that: The electronic module further includes a crystal oscillator and a switching device, and the crystal oscillator outputs the target clock signal to the clock bus through the switching device; The control end of the switching device receives a control signal output by the controller.

3. The consumable chip according to claim 2, characterized in that: The electronic module is further provided with a first push-pull circuit, and the first push-pull circuit is arranged between the switching device and the clock bus.

4. The consumable chip according to claim 1, characterized in that: The electronic module is provided with a basic clock signal generation circuit and a frequency division circuit; The basic clock signal generation circuit is used to generate a high-frequency basic clock signal, and the frequency division circuit is used to divide the basic clock signal to obtain the target clock signal with the same frequency as the clock signal sent by the printing device to the clock bus; During the pull-down duration, the electronic module continuously couples the target clock signal to the clock bus.

5. The consumable chip according to claim 4, characterized in that: The basic clock signal generation circuit includes an LC oscillator or a phase-locked loop.

6. A working method of a consumable chip, the consumable chip is detachably installed in a printing device, the consumable chip is provided with an electronic module, and communication between the electronic module and the printing device is carried out through a clock bus and a data bus; It is characterized in that The method includes: After the controller of the electronic module receives a pull-down instruction through the data bus, it determines a pull-down duration according to the pull-down instruction, and calculates a target number of target clock signals that need to be coupled to the clock bus according to the pull-down duration; According to the calculated target number of target clock signals to be coupled, couple the target number of target clock signals to the clock bus. During the coupling of the target clock signals, the controller continuously outputs all-zero data to the data bus; After the number of coupled target clock signals reaches the target number, stop coupling target clock signals to the clock bus and stop outputting all-zero data to the data bus.

7. The working method of the consumable chip according to claim 6, wherein: The electronic module further includes a crystal oscillator and a switching device, and the crystal oscillator outputs the target clock signal to the clock bus through the switching device; The method further includes: During the pulling-down duration, the controller controls the switching device to conduct, so that the crystal oscillator couples the target clock signal to the clock bus through the switching device.

8. The working method of the consumable chip according to claim 6, wherein: The electronic module is provided with a basic clock signal generating circuit and a frequency dividing circuit; The method further includes: The basic clock signal generating circuit generates a high-frequency basic clock signal, and the frequency dividing circuit divides the basic clock signal to obtain the target clock signal having the same frequency as the clock signal sent by the printing device to the clock bus; During the pulling-down duration, the electronic module continuously couples the target clock signal to the clock bus.

9. A consumable container detachably installed in a printing device, the consumable container comprising: A box body, a cavity is formed in the box body, printing consumables are accommodated in the cavity, and a consumable outlet is provided on one side of the cavity; Characterized in that: The consumable chip according to any one of claims 1 to 5 is provided on the outer wall of the box body.

10. A printing device, including a machine body, a main control circuit board is arranged in the machine body, characterized in that: One or more consumable containers according to claim 9 are installed in the printing device.