Print module, initialization method of printing device, and printing device
Patent Information
- Application Number
- CN202611253479.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-09-25
AI Technical Summary
[0004]这种方式打印模组芯片需设置较多专用检测触点,打印设备亦需配置同等数量的对应探针,硬件成本高且触点布局复杂;同时,这种方式仅能实现安装到位的检测功能,无法对打印模组进行初始化操作
[0011]根据本发明的另一方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现本发明任一实施例所述的打印设备的初始化方法。
Smart Images

Figure CN122808344A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of printing equipment technology, and in particular to a printing module, a printing equipment initialization method, and a printing equipment. Background Technology
[0002] In inkjet printing equipment, such as printers, copiers, and multifunction printers, the printing module, which carries ink and performs inkjet operations, is a key replaceable component and is usually installed in a detachable manner on the printing equipment. The printing equipment needs to establish an electrical connection with the printing module through electrical contacts on its surface to achieve power supply, data communication, and detection and initialization control after installation.
[0003] Currently, three, four, or even more dedicated contacts are typically set on the printing module, and the printing device is equipped with an equal number of probes. The printing device determines whether the printing module is installed correctly by reading the level status or signal characteristics of all dedicated contacts. When the signals of all designated contacts are detected to be normal, it is determined that the printing module has been installed correctly.
[0004] This method requires setting up a large number of dedicated detection contacts for the printed module chip, and the printing equipment also needs to be equipped with an equal number of corresponding probes, resulting in high hardware costs and complex contact layout. At the same time, this method can only realize the detection function after installation and cannot perform initialization operations on the printed module. Summary of the Invention
[0005] This invention provides an initialization method for a printing module and a printing device, as well as the printing device itself, to achieve the initialization operation of the printing module while reducing the number of detection contacts, lowering hardware costs, and simplifying the contact layout. This allows the printing module to enter a standby state after initialization and be ready to meet work requirements at any time.
[0006] According to one aspect of the present invention, a printing module is provided, the printing module being detachably mounted on a printing device, the printing module including a first contact and a second contact with different geometric shapes that together form a contact plane, the printing module performing at least one initialization phase initialization operation only through the first contact and the second contact; The first contact is used to receive an initialization command, triggering the printing module to perform an initialization operation corresponding to the target initialization stage of the initialization command; The second contact is used to output a target feedback signal when the initialization operation of the target initialization phase is determined to be completed.
[0007] According to another aspect of the present invention, an initialization method for a printing device is provided, executed by a printing module according to any embodiment of the present invention, the printing module including a first contact point and a second contact point with different geometric shapes that together constitute a contact plane; the initialization method for the printing device includes: The system receives an initialization command through the first contact point and performs an initialization operation for the target initialization stage corresponding to the initialization command. Upon completion of the initialization operation of the target initialization phase, a target feedback signal is output through the second contact.
[0008] According to another aspect of the present invention, a method for initializing a printing device is provided, characterized in that it is performed by a printing device comprising a printing module according to any embodiment of the present invention, the printing module comprising a first contact point and a second contact point with different geometric shapes that together constitute a contact plane, the initialization method of the printing device comprising: An initialization command is sent to the first contact point to trigger the printing module to perform the initialization operation of the target initialization stage corresponding to the initialization command; The target feedback signal is received from the second contact point, and the target feedback signal is used to indicate that the printing module has completed the initialization operation of the target initialization phase; Generate initialization instructions corresponding to the next initialization phase; Continue executing the step of sending the initialization command to the first contact point until all initialization phases are completed.
[0009] According to another aspect of the present invention, a printing apparatus is provided, the printing apparatus comprising: A detachable printing module is installed on the printing device. The printing module includes a first contact and a second contact with different geometric shapes that together form a contact plane. The printing module performs at least one initialization phase operation only through the first contact and the second contact. At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the initialization method of the printing device according to any embodiment of the present invention.
[0010] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the initialization method of the printing device according to any embodiment of the present invention.
[0011] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the initialization method of the printing device according to any embodiment of the present invention.
[0012] The technical solution of this invention involves a printing module that is detachably installed in a printing device. The printing module includes a first contact and a second contact with different geometric shapes that together form a contact plane. The printing module performs at least one initialization phase operation only through the first contact and the second contact. The first contact is used to receive an initialization command, triggering the printing module to execute an initialization operation for a target initialization phase corresponding to the initialization command. The second contact is used to output a target feedback signal when the initialization operation for the target initialization phase is determined to be completed. This is achieved by using a first contact and a second contact with different geometric shapes and coplanar features. The printing module is limited to receiving initialization commands and outputting target feedback signals only through these two contacts, embedding the installation detection logic within the initialization interaction process. Command reception and feedback output can only be completed when both contacts are effectively conductive. This directly reduces the total number of contacts, lowers hardware costs, and simplifies the contact layout without requiring additional dedicated detection contacts. At the same time, since the initialization process itself synchronously completes installation verification, and the printing module can automatically enter standby mode according to the protocol after initialization, the reliability of installation detection and functional integrity are still ensured while maintaining a simplified structure. This allows the printing module to respond to work commands at any time and meet immediate work requirements.
[0013] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 This is a schematic diagram of the structure of a printing module according to Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the layout of each contact point of a printing module according to Embodiment 1 of the present invention; Figure 3 This is a flowchart of an initialization method for a printing device according to Embodiment 2 of the present invention; Figure 4 This is a flowchart of an initialization method for a printing device according to Embodiment 3 of the present invention; Figure 5 This is a timing diagram of an initialization method for a printing device according to Embodiment 3 of the present invention; Figure 6 This is a schematic diagram of the structure of a printing device that implements the initialization method of the printing device according to an embodiment of the present invention. Detailed Implementation
[0016] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0017] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0018] Example 1 Figure 1 This is a schematic diagram of the structure of a printing module according to Embodiment 1 of the present invention. The printing module is detachably installed on a printing device. The printing module includes a first contact and a second contact with different geometric shapes that together form a contact plane. The printing module performs at least one initialization operation through the first contact and the second contact. The first contact is used to receive initialization instructions and trigger the printing module to perform initialization operations corresponding to the target initialization stage of the initialization instructions; The second contact is used to output a target feedback signal when the initialization operation of the target initialization phase is determined to be complete.
[0019] Understandably, a print module is an inkjet printhead assembly that can be plugged in and replaced as a whole from the printing device. For example, in an ink tank inkjet printer, when the ink runs out or the printhead ages, the entire module is removed from the device slot and replaced.
[0020] The contact plane is a macroscopic reference plane jointly defined by the geometrical outer contours of the first and second contacts on the assembly surface of the printing module. This plane does not refer to the microscopic area where the two contacts are actually conducting, but rather a geometric reference plane used to constrain the installation posture of the printing module. Only when the module is installed into the device in an posture flush with this reference plane can the first and second contacts synchronously form effective pressure with the corresponding host contacts on the device side, thereby providing a reliable physical connection basis for the command receiving path and the feedback output path.
[0021] The initialization phase is a collection of internal configuration and self-test subtasks executed sequentially or selectively between power-on and the printer module entering normal operating state. Examples include resetting the internal power domain, initializing the default states of input / output port pull-up / pull-down switches, calibrating or locking the internal clock, configuring internal registers, loading internally stored calibration parameters, performing built-in self-tests, and switching input / output ports from high-impedance to operating state. This embodiment does not limit the specific initialization phase. It modularizes the complex power-on preparation process, facilitating step-by-step verification and execution, ensuring that all functional modules within the module are in the correct configuration state before entering operating state. The target initialization phase can be any of the above-mentioned initialization phases, and this embodiment does not limit it either.
[0022] The initialization command is a trigger signal sent through the first contact by an independent circuit inside the printing device or printing module, or by an external signal source. For example, it can be transmitted in the form of a TTL level pulse signal or an LVTTL level pulse signal.
[0023] like Figure 1 As shown, the printing module 100 involved in this embodiment includes a first contact 110 and a second contact 120. In this embodiment, the first contact 110 and the second contact 120 can be disposed on the bottom substrate of the printing module 100. They have different physical shapes; for example, the first contact 110 is a dot-shaped structure, such as a circular structure, a rectangular structure, or an elliptical structure, while the second contact 120 is a long strip structure. Furthermore, their geometric outlines together form a contact plane on the mounting surface of the printing module 100 facing the printing device. Apart from power supply and reference ground, the printing module 100 can complete at least one initialization stage operation using only these two contacts, the first contact 110 and the second contact 120.
[0024] After the printing module 100 is installed in the printing device and the installation is confirmed to be in place, the first contact 110 is used to receive the initialization command transmitted by the printing device through the first host contact, and trigger the printing module 100 to execute the initialization operation of the target initialization stage corresponding to the initialization command. The second contact 120 is used to output a target feedback signal to the printing device when the printing module 100 determines that the initialization operation of the target initialization stage has been completed.
[0025] For example, after the printing module 100 is installed flat into the device along the guide rail and confirmed to be in place, the printing device first sends a pulse through the first contact 110, corresponding to the target initialization stage of internal power domain reset. After the printing module completes the power domain reset, it flips the level from high to low through the second contact 120 and sends out a feedback signal. After reading this feedback, the printing device sends out two more pulses through the first contact 110, corresponding to the target initialization stage of input / output port pull-up / pull-down default state initialization. After the printing module completes this process, it flips the level again through the second contact 120 and sends out feedback. This process continues in stages until all initialization stages are completed.
[0026] It should be noted that in printing equipment, the printing module, as a replaceable printhead assembly, can only print normally after being installed in the equipment and undergoing initial configuration. Existing solutions typically arrange three or more dedicated contacts on the surface of the printing module. These contacts are mainly used to transmit drive signals and only to determine whether the module is installed correctly; they do not participate in the initialization operation. Therefore, the number of contacts is large, the layout is complex, and the hardware cost is high. To address this problem, this invention sets only two electrical contacts with different functions on the printing module: the first contact and the second contact. The two contacts have different geometries and together form a contact plane. It is this geometric design of different shapes and a shared plane that determines that the module must be installed in the equipment with its face flush against this contact plane. Only then can the first contact and the second contact simultaneously and reliably press against the corresponding contacts on the equipment side, providing a stable physical contact foundation for the subsequent command receiving and feedback output paths. Based on this structure, the printing module can complete at least one initialization stage using only two contacts, besides the power supply and reference ground contacts. Once the module is installed and its position is confirmed, the first contact receives an initialization command from the outside and triggers the printing module to execute the initialization operation corresponding to the target initialization stage. After the printing module confirms the completion of the target initialization stage, the second contact outputs a target feedback signal, announcing the completion of the stage to the initiator of the initialization command. Thus, one initialization command corresponds to one target initialization stage, and one stage completion corresponds to one feedback output. The command and feedback ends have clear divisions of labor and progress step-by-step, enabling the module to complete the entire initialization interaction from receiving the command to transmitting progress using only two contacts. This significantly reduces the number of contacts, simplifies the module's surface layout, and lowers hardware costs, while overcoming the limitation of existing solutions that only detect without initializing, achieving the integration of installation detection and initialization on the same pair of contacts.
[0027] Optionally, in this embodiment, the second contact is a linear contact and the first contact is a point contact; the point contact can be a rectangular contact, a circular contact, or an elliptical contact; the length of the linear contact is not less than twice the width of the point contact, so that the linear contact and the point contact form a contact plane; the printing module also includes: a power contact and a ground contact.
[0028] The linear contact can be a strip-shaped conductive contact area that extends in a single direction and has a significant length dimension. In this embodiment, it is named the second contact, but it can also be named the detection contact or other contacts. This is not a limitation of the embodiment.
[0029] Point-type contacts can be conductive contact areas with a compact geometric shape on a plane, such as rectangular, circular, or elliptical. In this embodiment, they are used as the first contact, and can also be named initialization contacts or other contacts. This is not a limitation of the embodiment.
[0030] The power contact and ground contact are independently set power supply and reference potential connection terminals on the printing module. They are physically separated from the first contact and the second contact and are dedicated to providing working voltage and signal return path for the internal circuit of the module, ensuring that the feedback signal transmission is not affected by power supply noise.
[0031] In this embodiment, the second contact adopts a linear contact structure, and the first contact adopts a point contact structure. The point contact can be any of rectangular, circular, or elliptical shapes. The length of the linear contact is set to be no less than twice the width of the point contact to ensure that the geometric contours of both can jointly define a stable contact plane. This requires the module to be installed in a position flush with this reference plane, thereby ensuring that the first and second contacts synchronously form an effective contact with the host contact on the device side. At the same time, the effective contact area formed at the microscopic level after the two are pressed together can effectively compensate for positional deviations caused by assembly tolerances and wear during use, maintaining the stability of the contact resistance. The printing module also has independently provided power contacts and ground contacts, which are physically separated from the first and second contacts, respectively. These are dedicated to providing the module with working power and signal reference ground, avoiding interference from power supply noise on feedback signal transmission. This contact combination structure ensures reliable signal transmission without the need for additional precision alignment or elastic compensation mechanisms, simplifying the module assembly process and improving long-term durability.
[0032] This embodiment solves the problem of unstable contact caused by assembly tolerances, vibration, or wear in traditional homogeneous contacts through a line-point non-linear contact pairing structure: the length of the linear contact (second contact) is not less than twice the width of the point contact (first contact), so that the geometric contours of the two can jointly define a clear contact plane, forcing the module to be installed in a flat posture and ensuring synchronous pressing of the two contacts; at the same time, when the two are pressed together under mechanical pressure, the point contact can obtain sufficient tolerance compensation space in the length direction of the linear contact, even if there is assembly misalignment. Even with localized wear after prolonged use, point-type contacts can still fall entirely within the effective conductive area of linear contacts, preventing sudden reductions in contact area or momentary circuit breaks due to misalignment. Simultaneously, the extended shape of the linear contacts combined with the concentrated pressure of the point-type contacts creates a multi-point embedded effective contact area at the microscopic level. Compared to a single conductive point in pure point-to-point contact, this effective contact area significantly increases the number of effective conductive micro-protrusions, reducing contact resistance and narrowing its fluctuation range. This ensures that the feedback signal is not lost or erroneous due to sudden changes in contact impedance during transmission. Furthermore, the independent placement of power and ground contacts physically isolates the high-current power supply path from the small-signal feedback path, preventing power ripple and ground bounce noise from coupling to the second contact through a shared contact, further improving the signal-to-noise ratio of the feedback signal. The entire structural design, without adding additional elastic mechanisms or precision alignment components, achieves a highly reliable, low-noise, and vibration-resistant electrical connection solely through complementary geometric matching, providing a solid physical foundation for the stable transmission of the initial feedback signal.
[0033] Figure 2 This is a schematic diagram of the layout of each contact point of a printing module according to Embodiment 1 of the present invention; as shown Figure 2 As shown, the printing module includes 11 contacts. Contact 5 is the second contact, employing a linear contact structure in an obliquely arranged elongated shape. Its geometric dimensions meet the design requirement that its length is not less than twice the width of the adjacent point-type contact. Contact 6 is the first contact, employing a point-type contact and located to the right of contact 5. The geometric contours of both contact 5 and 6 together define the contact plane. Furthermore, the effective microscopic contact area formed after their compression ensures sufficient overlap and contact. Specifically, the linear contact 5 provides an extended conductive path, while the point-type contact 6 acts as a pressure support point, ensuring sufficient overlap and contact within mechanical tolerances, thereby guaranteeing reliable transmission of the initialization feedback signal. It should be noted that in this embodiment, the contact numbering, shape, and arrangement can be adjusted according to actual needs and are not limited to this illustration.
[0034] The remaining contacts are all point contacts, corresponding to power contacts, ground contacts, and other functional contacts, such as those for data communication and temperature detection. Their point shape helps reduce edge electric field concentration, improves insertion and removal durability, and facilitates automated assembly positioning. Specifically, the power contacts and ground contacts can be designated as numbers 1 and 8, respectively, and are positioned away from contacts 5 and 6 to achieve physical isolation between the power supply circuit and the signal feedback circuit, effectively suppressing power supply noise interference with the feedback signal of the second contact.
[0035] Optionally, in this embodiment, the printing device includes a first host contact corresponding to the first contact and a second host contact corresponding to the second contact; when the printing module is installed in the printing device, the first contact is electrically connected to the first host contact, and the second contact is electrically connected to the second host contact; when it is detected that the first host contact is conducting with the first contact and the level states of the second host contact and the second contact are consistent, it is determined that the printing module is installed in place.
[0036] The first host contact and the second host contact are conductive terminals located at the corresponding positions on the printing equipment and printing module, such as spring probes, elastic conductive springs, or gold-plated contact pads. "Conduction" refers to the formation of a low-impedance electrical path between the first host contact and the second host contact, allowing signals or current to be effectively transmitted between them. For example, a circuit impedance below a preset threshold, such as 50 milliohms, can be used as the criterion for determining continuity. This can serve as the first necessary condition for installation in place, confirming that the physical connection of the command transmission path has been established, ensuring that subsequent initialization commands can be reliably delivered to the module side. "Consistent level" means that the second host contact and the second host contact exhibit the same logic level after electrical connection, for example, both are either high or both are low, without floating, burrs, or level mismatches caused by poor contact. This can serve as the second necessary condition for determining installation in place, confirming that the physical connection of the feedback output path has been established and the signal quality is reliable, eliminating abnormal installation states such as loose connections, partial insertions, or contact contamination.
[0037] In one optional implementation of this embodiment, the printing device has host contacts within the mounting slot that mates with the printing module, each precisely corresponding to the first and second contacts of the module. Both contacts employ an elastic conductive structure to ensure a stable and reliable electrical connection with the module-side contacts after the module is installed. When the user pushes the printing module into the mounting slot along the guide rail, because the first and second contacts on the module side have different geometric shapes and jointly define a contact plane, only when the module is fully seated in a position flush against this contact plane will the two host contacts on the device side be synchronously compressed to their effective travel range, thereby forming good contact with their corresponding module contacts. If the module has an abnormal installation posture such as tilting, half-insertion, or warping, at least one host contact will not be able to fully press against the corresponding module contact, resulting in subsequent test results not meeting the requirements.
[0038] Optionally, in this embodiment, when the printing module is installed in the printing device, the first contact is electrically connected to the first host contact, and the second contact is electrically connected to the second host contact. At this time, the detection circuit of the printing device simultaneously performs two checks: on the one hand, it checks whether the first host contact is conductive to confirm that the physical connection of the command transmission path is valid; on the other hand, it checks whether the voltage level of the second host contact is consistent to confirm that the feedback output path is not only reliably connected, but also that the signal transmission quality meets the standard, thus eliminating the problem of high contact resistance caused by contact surface oxidation, slight contamination, or fatigue of elastic probes. Only when both conditions are met—that the first host contact is conductive and the voltage level of the second host contact is consistent—does the printing device determine that the printing module is installed in place and allows the subsequent initialization interaction process to proceed; if either condition is not met, the installation is deemed abnormal, the initialization command is prohibited from being sent, and the user is prompted to reinstall. This method fully reuses the two contacts used in the initialization interaction to complete the installation detection, avoiding the layout complexity and increased cost of adding dedicated detection pins. Furthermore, it enhances the ability to identify abnormal states such as loose connections, misalignments, and partial insertions through dual-condition joint verification, ensuring that the initialization interaction is based on a reliable physical connection. Only after confirming that the printing module is installed correctly will the printing device allow the sending of an initialization command from the first host contact to the first contact, thereby initiating the subsequent initialization process.
[0039] It should be noted that the solution in this embodiment uses the consistency of the voltage levels of the second host contact and the second contact as one of the criteria for determining whether the printing module is installed correctly. This is not merely a logical comparison of the electrical signals themselves, but rather an indirect characterization of the geometric accuracy of the physical alignment between the contacts through the consistency of the voltage levels, thereby establishing a substantial connection between voltage level consistency and the contact plane. Specifically, the first and second contacts are arranged non-collinearly in space. When the printing module is correctly installed, the two contacts simultaneously contact the corresponding first and second host contacts. At this time, the conduction state of the first host contact and the first contact determines the electrical connection reference between them, while the consistency of the voltage levels of the second host contact and the second contact further constrains the positional freedom of this connection in the direction perpendicular to the contact surface. Since two points determine a straight line, and the normal constraint of the contact surface can uniquely determine an assembly plane, only when both contacts reach the expected electrical state—that is, the first contact is conducting and the second contact has the same voltage level—can it be inferred that the installation posture of the printing module has fallen within the preset planar tolerance range. If the module has flatness deviations such as tilting, offset, or incomplete positioning, even if the first contact accidentally conducts, the second contact will have an inconsistent voltage level with the second host contact due to insufficient contact pressure, insufficient contact area, or relative misalignment. For example, voltage drift, noise interference, or inability to match the target voltage level may occur, leading the system to identify it as not meeting the installation requirements. Therefore, this application uses electrical signals as a carrier to quantify the physical alignment state between contacts, transforming abstract planar geometric constraints into real-time detectable and programmable electrical parameters. This allows the installation detection to perform both electrical connectivity verification and mechanical alignment accuracy confirmation. This design not only ensures that initialization commands are issued only under the premise of reliable physical alignment, overcoming the vulnerability to interference from single-contact detection, but also avoids the structural complexity caused by adding additional mechanical positioning sensors. It provides a solution for high-reliability installation detection of printing modules that is both simple and substantially relevant.
[0040] Optionally, in this embodiment, the initialization of the printing module is determined to be complete when all initialization operations in the initialization phase are completed. The printing module is also equipped with multiple input and output data contacts. When the initialization of the printing module is determined to be complete, the printing module enters a standby state, and all input and output data contacts switch from a high-resistance state to a low-resistance state.
[0041] The input / output data contacts can be multiple conductive terminals deployed on the printing module for bidirectional data communication with the printing device after initialization, undertaking signal interaction tasks during normal operation such as printing data transmission and status feedback.
[0042] The high-impedance state means that the electrical interfaces of each input and output data contact are in a high-impedance state, exhibiting an almost disconnected electrical characteristic to the outside world. It neither actively drives signals nor responds to external signals, which can effectively avoid communication abnormalities caused by false triggering or bus conflicts when the module is not ready.
[0043] The low-impedance state means that the electrical interfaces of each input and output data contact have switched to a low-impedance state, which enables normal signal driving and receiving capabilities and stable bidirectional data transmission with the printing device, indicating that the module is ready to perform the printing task.
[0044] In an optional implementation of this embodiment, after completing all initialization stages, the printing module determines that its initialization is complete and enters a standby state. All input / output data contacts deployed on the printing module switch from a high-resistance state to a low-resistance state. Specifically, during initialization, each input / output data contact remains in a high-resistance state, neither responding to external data requests nor actively outputting signals, to avoid erroneous communication or bus conflicts with the printing device before the module's internal configuration is ready. When the printing module completes the initialization operations corresponding to each initialization stage in sequence, and all initialization stages are confirmed to be complete, the module determines that initialization is complete and enters a standby state. At this time, the interface circuits of each input / output data contact switch from a high-resistance state to a low-resistance state, restoring normal signal driving and receiving capabilities, enabling bidirectional data communication with the printing device to receive printing data, transmit status feedback, and other information exchange required for subsequent operations. Specifically, after the processing unit completes the last target initialization stage and outputs the corresponding feedback signal through the second contact, it automatically switches all input / output data contacts from a high-resistance state to a low-resistance state without waiting for additional confirmation commands from the printing device.
[0045] It should be noted that during the initialization process, the internal configuration of the printing module is not yet fully loaded, and the status of each functional module is not confirmed. At this time, all input and output data contacts are kept in a high-resistance state to electrically isolate it from the bus, preventing the printing device or other bus devices from mistakenly sending printing data or reading an uninitialized error state, which could cause communication conflicts. Once all initialization stages are completed and passed, the module confirms that its functional modules are ready and the configuration parameters are correctly loaded. It then enters standby mode and switches all data contacts to a low-resistance state, officially announcing to the printing device that the module has the ability to receive printing data and conduct bidirectional communication. This ensures that the data communication channel is only opened after the module is fully ready, eliminating the risk of misoperation during initialization and allowing the printing device to determine whether the module has truly completed initialization by detecting changes in contact impedance. It also connects with the aforementioned installation detection, forming a complete state transition chain from installation detection, initialization, standby, to normal operation, providing a clear handshake signal for the reliable initiation of subsequent printing jobs.
[0046] Optionally, in this embodiment, the printing module further includes a processing unit, which is communicatively connected to the first contact and the second contact respectively; The first contact is specifically used to receive initialization instructions and transmit them to the processing unit; the initialization instructions are TTL level pulse signals or LVTTL level pulse signals; the initialization instructions are triggered by the printing device, the independent circuit inside the printing module, or an external signal source. The processing unit parses the initialization instruction, determines the number of pulses corresponding to the initialization instruction, determines the target initialization stage corresponding to the initialization instruction based on the number of pulses, and executes the initialization operation corresponding to the target initialization stage.
[0047] The processing unit can be a core control device located inside the printing module. It is communicatively connected to the first contact and the second contact, and is responsible for receiving and parsing initialization instructions, determining the target initialization stage, executing the corresponding initialization operation, and feeding back the status through the second contact after completion. It is the main body for executing the module initialization process.
[0048] The number of pulses is the encoded information carried in the initialization instruction. Each preset number of pulses uniquely corresponds to a target initialization stage. The processing unit can unambiguously determine the initialization task to be executed by counting the number of pulses, without the need for complex protocol parsing, thus reducing hardware overhead and error probability.
[0049] Independent circuits can be dedicated trigger circuits deployed inside the printing module and separated from the processing unit, which can generate initialization instructions autonomously without relying on external devices.
[0050] The external signal source is an external triggering device independent of the printing equipment and printing module, such as a test fixture, maintenance tool, or host computer debugging interface, which can send initialization commands to the first contact for production testing, fault diagnosis, or manual initialization under non-standard operating conditions.
[0051] Optionally, in this embodiment, the printing module may further include a processing unit, which is communicatively connected to the first contact and the second contact. The first contact is used to receive an initialization command and transmit the initialization command to the processing unit; the initialization command is a TTL level pulse signal or an LVTTL level pulse signal, which can be triggered by the printing device, an independent circuit inside the printing module, or an external signal source. In one embodiment, after the printing module is installed in the printing device and the installation is confirmed, the printing device sends an LVTTL level pulse signal to the first contact as an initialization command through the first host contact, triggering the normal initialization process; in another embodiment, when the printing module is powered on, its internal independent circuit automatically generates a TTL level pulse signal and sends it to the first contact, triggering the module's self-test initialization; in yet another embodiment, an external test fixture contacts the first contact through a dedicated probe, sending a preset number of TTL level pulse signals to trigger a specific stage of maintenance initialization. After receiving the initialization command, the processing unit parses the number of pulses, determines the target initialization stage corresponding to the number of pulses, and executes the initialization operation corresponding to the target initialization stage.
[0052] In this embodiment, when multiple trigger sources exist simultaneously, the processing unit can respond according to the priority of external signal source - internal independent circuit - printing device, or block the input of other trigger sources before the current initialization phase is completed, so as to avoid instruction conflicts.
[0053] In this embodiment, the first contact serves as an instruction receiving port, capable of receiving TTL or LVTTL level pulse signals from the printing device, the independent circuit within the printing module, or an external signal source. These three trigger sources correspond to different usage scenarios: the printing device trigger is used for automatic initialization after normal installation; the independent circuit trigger is used for module power-on self-test or abnormal recovery; and the external signal source trigger is used for production testing and maintenance debugging. All three share the same instruction format and parsing logic, requiring no additional adaptation circuitry. Upon receiving the pulse signal, the processing unit first counts the number of pulses and then determines the corresponding target initialization stage based on a preset mapping relationship. For example, 3 pulses correspond to the reset stage, 5 pulses to the nozzle detection stage, and 7 pulses to the parameter calibration stage. Subsequently, the initialization operation for that stage is executed, and the execution result is fed back through the second contact upon completion. The scheme in this embodiment uses pulse count encoding instead of a serial data protocol. On the one hand, it avoids complex configurations such as clock synchronization and baud rate matching, reducing the hardware resource consumption of the processing unit. On the other hand, the wide compatibility of TTL level pulse signals or LVTTL level pulse signals allows the module to be adapted to printing devices with different voltage platforms. The multi-trigger source design covers the full life cycle needs from normal use to production maintenance, ensuring that the initialization process can be reliably started and executed under various operating conditions.
[0054] It should be noted that in this embodiment, the printing device, the independent circuit inside the printing module, or the external signal source can send an initialization command to the first contact once at set time intervals, such as 3 seconds, 5 seconds, or 1 minute, so as to initialize the printing module at any time and facilitate the use of the printing module.
[0055] In another optional implementation of this embodiment, after confirming that the printing module is successfully installed, an initialization command can be sent to the first contact via the printing device, the independent circuit inside the printing module, or an external signal source so that the printing template can be initialized immediately after installation.
[0056] In another optional implementation of this embodiment, if a printing device malfunction is determined, for example, if the printing module does not spray ink or the text is unclear, an initialization command can be sent to the first contact through the printing device, the independent circuit inside the printing module, or an external signal source, so that initialization can be performed in time in the event of a printing device malfunction, thereby reducing erroneous printing.
[0057] Optionally, in this embodiment, the second contact is initially at a high level after power-on; after the processing unit completes the initialization operation of the target initialization stage, it inverts the level of the second contact to generate a target feedback signal and transmits the target feedback signal to the second contact; wherein, the target initialization stage includes at least one of the following: resetting the internal power domain, initializing the pull-up and pull-down default states of the input and output ports, calibrating or locking the internal clock, configuring the internal register, loading the internally stored calibration parameters, performing a built-in self-test, and switching the input and output ports from a high-impedance state to a working state; the second contact outputs the target feedback signal.
[0058] The initial high level is the default electrical state of the second contact after power-on and before any initialization operation is performed. It serves as the reference level for the feedback signal, providing a clear basis for comparison for subsequent level inversion, so that the printing device can determine whether the initialization is complete by detecting level changes.
[0059] Level inversion refers to the process unit switching the level of the second contact from high to low after completing the target initialization phase. This transition edge itself constitutes the target feedback signal, requiring no additional encoding or data frames, conveying the completion semantics with extremely simple hardware actions. After each target initialization phase is completed, the processing unit inverts the level of the second contact relative to the current state. The printing device can determine that the current phase is complete by detecting the level transition edge in any direction.
[0060] In this embodiment, the second contact is initially at a high level after power-on. After completing the initialization operation of the target initialization stage, the processing unit inverts the level of the second contact to generate a target feedback signal, and transmits the target feedback signal to the second contact for output. The target initialization stage includes at least one of the following: resetting the internal power domain, initializing the default pull-up / pull-down states of the input / output ports, calibrating or locking the internal clock, configuring the internal registers, loading internally stored calibration parameters, performing a built-in self-test, and switching the input / output ports from a high-impedance state to a working state. Specifically, after the printing module is powered on, the second contact remains at a high level by default; the processing unit executes the above initialization tasks sequentially. Upon completion of each target initialization stage, a level inversion operation is performed on the second contact, causing it to output the corresponding target feedback signal for the printing device or external detection device to identify the completion status of the current stage.
[0061] In this embodiment, the second contact remains high by default after power-on, serving as a static indicator of an unready state. After the processing unit sequentially completes the target initialization stages—including internal power domain reset, input / output port default state setting, clock calibration, register configuration, calibration parameter loading, built-in self-test, and input / output port switching from high impedance to working state—it actively reverses the level of the second contact. This transition edge becomes the target feedback signal. The printing device only needs to detect the level change of this pin to unambiguously determine that the current stage of initialization is complete, without needing to parse complex protocols or wait for data frames, greatly simplifying the handshake logic and timing constraints. This design compresses the completion confirmation of multi-stage initialization into a single physical event, avoiding timeout misjudgments due to communication anomalies and ensuring that the end of each stage has a clear hardware-level marker, facilitating debugging and fault location. Simultaneously, the seven types of initialization tasks cover the complete preparation chain from power stability, timing reference, and functional configuration to individual calibration and self-test, ensuring that all internal resources are in a definite and correct state before the module enters standby or working state.
[0062] Optionally, in this embodiment, if the printing module fails to complete the initialization operation of the target initialization stage within a preset timeout period, the initialization operation of the target initialization stage is determined to have failed, and the output of the target feedback signal through the second contact is stopped.
[0063] The preset timeout can be the maximum allowed execution time for each target initialization stage, such as 1s, 2s or 3s, etc., which is not limited in this embodiment. The time threshold is determined according to the normal time consumption and reasonable margin of each stage task, and is used to define whether the initialization operation is in an abnormal stagnation state. It is the time benchmark for judging whether the initialization is successful.
[0064] In this embodiment, if the printing module fails to complete the initialization operation of the target initialization stage within a preset timeout period, the initialization operation of that target initialization stage is determined to have failed, and the output of the target feedback signal through the second contact is stopped. Specifically, when the processing unit executes each target initialization stage, it synchronously starts a timer to monitor the execution duration of that stage. If the stage is completed normally within the preset timeout period, the level of the second contact is reversed to output the target feedback signal. If the timer fails to complete the stage after the preset timeout period, the initialization is determined to have failed, the processing unit stops the current operation and keeps the level of the second contact unchanged, and no longer outputs the target feedback signal. After initialization failure, the processing unit enters an error lockout state, and the second contact maintains its current level. It can only exit the lockout state and re-accept the initialization command after detecting a power failure restart or receiving a specific reset command. The printing device synchronously starts timeout monitoring after sending the initialization command. If no level change of the second contact is detected within the preset timeout period, the initialization of that stage is confirmed to have failed. Further subsequent processing such as retrying, reporting errors, or prohibiting printing can be performed.
[0065] Example 2 Figure 3 This is a flowchart of an initialization method for a printing device according to Embodiment 2 of the present invention. This embodiment is applicable to the initialization of a printing device using the printing model involved in the above embodiments. The printing module includes a first contact point and a second contact point with different geometric shapes that together form a contact plane. Figure 3 As shown, the method includes: Step 310: Receive the initialization instruction through the first contact point and execute the initialization operation of the target initialization stage corresponding to the initialization instruction.
[0066] Optionally, in this embodiment, after determining that the printing module is installed in the printing device, the initialization command can be received by the printing module through the printing device, an independent circuit inside the printing module, or an external signal source. The initialization command is received by the printing module in the form of a level pulse signal through the first contact. After receiving the initialization command, the printing module parses the pulse code to determine the target initialization stage to be executed, and then executes the initialization operation corresponding to the target initialization stage, thereby completing the configuration or self-test of the specific functional modules of the printing module.
[0067] Optionally, in this embodiment, the initialization instruction is a TTL level pulse signal or an LVTTL level pulse signal; executing the initialization operation of the target initialization stage corresponding to the initialization instruction may include: parsing the initialization instruction, determining the number of pulses in the initialization instruction, and determining the target initialization stage based on the number of pulses; wherein, the target initialization stage includes at least one of the following: resetting the internal power domain, initializing the default state of the pull-up / pull-down of the input / output ports, calibrating or locking the internal clock, configuring the internal registers, loading the internally stored calibration parameters, performing a built-in self-test, and switching the input / output ports from a high-impedance state to a working state; executing the initialization operation corresponding to the target initialization stage.
[0068] Optionally, in this embodiment, the initialization method of the printing device may further include: when the initialization operation of all initialization stages is completed, determining that the initialization of the printing module is completed, and switching the multiple input and output data contacts from a high-resistance state to a low-resistance state.
[0069] Optionally, in this embodiment, after receiving the initialization command through the first contact, the processing unit immediately performs signal identification on the initialization command to confirm that the initialization command is a TTL level pulse signal or an LVTTL level pulse signal. After confirming the signal type, the processing unit begins to parse the received level pulse signal, counting the complete pulse cycle one by one by detecting the level transition edges on the signal line, thereby determining the number of pulses contained in the initialization command. After obtaining the number of pulses, the processing unit compares and matches the currently parsed number of pulses with the specific initialization stage one by one according to the internally pre-stored mapping table, thereby determining the target initialization stage to be executed. The target initialization stage includes at least one of the following: resetting the internal power domain, initializing the pull-up / pull-down default state of the input / output ports, calibrating or locking the internal clock, configuring the internal registers, loading the internally stored calibration parameters, built-in self-test, and switching the input / output ports from a high-impedance state to a working state. After determining the target initialization stage, the processing unit immediately calls the initialization subroutine that matches the target initialization stage from within and executes the corresponding initialization operation. Specifically, when the target initialization phase is the reset of the internal power domain, the processing unit sequentially pulls down the output voltage of each internal power domain to below the reset threshold and maintains it for a preset time before releasing it, so that the internal logic circuit returns to the initial state; when the target initialization phase is the initialization of the pull-up and pull-down default states of the input and output ports, the processing unit configures the pull-up and pull-down resistors of each port to the default state according to the preset configuration table, so that unused ports are at a certain level; when the target initialization phase is the configuration of internal registers, the processing unit reads preset parameters from the internal non-volatile memory and writes them into the corresponding function registers in address order, completing the loading of key operating parameters; when the target initialization phase is the switching of the input and output ports from the high impedance state to the working state, the processing unit configures the pins in the high impedance floating state to the working mode with normal driving capability, thereby completing the configuration and self-test of specific functional modules of the printing module.
[0070] Optionally, in this embodiment, the initialization method of the printing device may further include: if, during the initialization operation of the target initialization phase, a preset timeout period is detected and the initialization operation of the target initialization phase is not completed, then the initialization operation of the target initialization phase is determined to have failed; in response to determining that the initialization operation of the target initialization phase has failed, the output of the target feedback signal through the second contact is stopped.
[0071] In an optional implementation of this embodiment, during the initialization operation of the target initialization phase performed by the processing unit, the timeout monitoring module inside the processing unit continuously times the execution time of the current phase. If the processing unit detects that the completion flag of the target initialization phase has not been set when the preset timeout period arrives, it determines that the initialization operation of the target initialization phase has failed. In response to determining that the initialization operation of the target initialization phase has failed, the processing unit immediately stops outputting the target feedback signal through the second contact. Specifically, the processing unit disables the enable control of the second contact output driver, so that the second contact always remains in the default low-level silent state and no longer generates any level transitions or pulse outputs. For example, if the target initialization phase involves resetting the internal power domain and no voltage stability flag is detected within a preset timeout period after the reset is released, the processing unit determines that the reset has failed and disables the second contact from outputting a high-level feedback pulse. If the target initialization phase involves loading internally stored calibration parameters and data verification is not completed within a preset timeout period, the processing unit determines that the loading has failed and prevents the second contact from outputting an LVTTL pulse sequence indicating success. If the target initialization phase involves a built-in self-test and no test pass result is returned within a preset timeout period, the processing unit similarly determines that the self-test has failed and keeps the second contact silent. Through the above mechanism, when the external receiver does not detect a valid target feedback signal within a preset waiting window, it can clearly determine that the current initialization phase has failed without additional error code parsing or status register querying, thus achieving rapid identification and reliable isolation of initialization anomalies.
[0072] Step 320: When the initialization operation of the target initialization phase is completed, output the target feedback signal through the second contact.
[0073] Optionally, in this embodiment, after the processing unit completes the initialization operation corresponding to the target initialization phase, the processing unit immediately reads the completion flag bit in the internal status register to confirm that all subtasks of the current target initialization phase have been completed normally and no timeout or error lockout has been triggered. After confirming that the initialization operation has been completed normally, the processing unit starts the feedback output timing and controls the output driver of the second contact to output the target feedback signal according to the preset level format. For example, when the target initialization phase is the reset of the internal power domain and the reset operation ends normally within a preset time, the processing unit can drive the second contact to output a high-level pulse with a first preset duration as the target feedback signal; when the target initialization phase is the configuration of the internal register and all register write verifications pass, the processing unit can drive the second contact to output an LVTTL level pulse containing a first preset number of complete cycles as the target feedback signal; when the target initialization phase is the switching of the input / output port from a high-impedance state to a working state and the port status reading verification passes, the processing unit can drive the second contact to output a continuous high level and maintain it for a second preset time as the target feedback signal.
[0074] Throughout the feedback output process, the processing unit precisely controls the output duration through an internal timer to ensure that the external receiver can stably sample and identify the target feedback signal. If the processing unit detects that the target initialization phase fails to complete normally due to timeout or internal abnormality, it will not drive the second contact to output any target feedback signal, keeping the second contact in a default low-level silent state. The external receiver can determine that the current initialization operation has failed by not detecting a valid feedback signal within a preset waiting window, thereby achieving reliable status feedback of the initialization execution result.
[0075] In this embodiment, the first contact receives instructions and triggers the corresponding stage of operation. The second contact only outputs a feedback signal after the operation is confirmed, avoiding signal conflicts or parsing ambiguities that might arise from transmitting instructions and returning status on the same path. Because the two contacts have different shapes, external devices will not confuse channels when sending instructions and collecting feedback, maintaining a stable correspondence even in high-cycle testing or frequent plugging / unplugging scenarios. The coplanar design ensures that instruction input and feedback output are established synchronously in terms of physical connection, preventing misjudgments due to the order of contact. The entire process eliminates the need for bidirectional handshakes or polling, simplifying control timing and reducing the risk of initialization freezes due to communication anomalies. This makes the initialization process more direct and reliable, especially suitable for rapid production line verification and automated debugging.
[0076] Example 3 Figure 4This is a flowchart of an initialization method for a printing device according to Embodiment 3 of the present invention. This embodiment is applicable to the initialization of a printing device using a printing device that works in conjunction with the printing model involved in the above embodiments. The printing module includes a first contact point and a second contact point with different geometric shapes that together form a contact plane. Figure 4 As shown, the method includes: Step 410: Send an initialization command to the first contact point to trigger the printing module to perform the initialization operation of the target initialization stage corresponding to the initialization command.
[0077] Optionally, in this embodiment, after determining that the printing module is ready for installation, the printing device sends an initialization command to the first contact of the printing module when it detects that the first host contact is conducting with the first contact and the level states of the second host contact are consistent with the second contact. This initialization command is generated by the main control unit inside the printing device based on the current initialization progress and applied to the first contact through the drive circuit corresponding to the first contact. Upon receiving the initialization command, the first contact transmits it to the processing unit inside the printing module. The processing unit parses the command, identifies the corresponding target initialization stage, and then calls the preset program or hardware logic matching the target initialization stage to initiate the corresponding initialization operation. Because the geometry of the first contact is significantly different from that of the second contact, the printing device can clearly distinguish between the command sending channel and the feedback receiving channel during physical connection, fundamentally eliminating the possibility of the initialization command mistakenly entering the feedback path due to interface confusion. Furthermore, the first and second contacts together form a contact plane, enabling the two contacts to make contact synchronously during the process of establishing an electrical connection between the printing device and the printing module. This avoids the loss or interruption of initialization commands during transmission due to inconsistent contact timing, thereby ensuring that the commands are delivered completely and reliably to the processing unit of the printing module, laying the foundation for the accurate execution of subsequent initialization operations.
[0078] In an optional implementation of this embodiment, before sending an initialization command to the first contact, the method may further include: detecting whether a first host contact corresponding to the first contact is conductive, and detecting whether the level state of a second host contact corresponding to the second contact meets a preset condition; when it is determined that the first host contact is conductive and the level state of the second host contact meets the preset condition, it is determined that the printing module is installed in place, and the step of sending an initialization command to the first contact is allowed.
[0079] In an optional implementation of this embodiment, before sending the initialization command to the first contact, the printing device also performs an installation-in-place detection process to ensure that the initialization operation is initiated only when the printing module is correctly installed. Specifically, the printing device first checks whether the first host contact corresponding to the first contact is conductive. This conductive state indicates that the first contact of the printing module has established a valid electrical connection with the first host contact of the printing device. Simultaneously, the printing device checks whether the voltage level of the second host contact corresponding to the second contact meets preset conditions, such as whether it is a stable low or high voltage level. This voltage level is used to verify the contact quality and signal path integrity between the second contact and the second host contact. Only when the first host contact is conductive and the voltage level of the second host contact simultaneously meets the preset conditions does the printing device determine that the printing module is installed in place and allow the subsequent initialization command sending step to proceed. If any detection item fails, the printing device prohibits the sending of the initialization command and may output an installation error message or wait for reinstallation. This detection mechanism verifies the reliability of the physical connection before the initialization process begins, avoiding problems such as failed initialization command transmission, lost feedback signals, or false triggering caused by loose contacts, loose modules, or misaligned installation. It ensures that the execution prerequisites of the initialization process are met from the source, improving the printing device's ability to perceive the installation status and the safety of the initialization process.
[0080] Step 420: Receive the target feedback signal from the second contact. The target feedback signal is used to indicate that the printing module has completed the initialization operation of the target initialization stage.
[0081] Optionally, in this embodiment, the printing device continuously monitors the level state of the second contact through its acquisition circuit corresponding to the second contact. Once a target feedback signal conforming to a preset format is detected, the initialization of this stage is determined to be successful, and the completion marker of this stage is recorded. Since the second contact is only used for output feedback and does not receive any input, and its geometry is different from that of the first contact, the printing device can directly distinguish the signal source through the physical structure when acquiring the feedback signal, and can confirm the validity of the signal without relying on software protocol parsing. At the same time, the coplanar design ensures that the output of the feedback signal and the reception of the command are established synchronously on the physical connection, avoiding feedback loss or misjudgment due to differences in contact timing. This effectively avoids feedback misreading, missed reading, or crosstalk problems that occur in complex electromagnetic environments or when multiple modules work in parallel, ensuring that the printing device can accurately and in real time obtain the completion status of the initialization stage.
[0082] Step 430: Generate initialization instructions corresponding to the next initialization phase.
[0083] Optionally, in this embodiment, after the printing device confirms receipt of a valid target feedback signal, its main control unit automatically determines the next initialization stage to be executed according to a preset initialization stage sequence and generates a corresponding initialization command. This generation process makes dynamic decisions based on completed stage identifiers, the current device status, and a pre-stored stage dependency graph: for example, if the previous stage was printhead temperature calibration and the feedback was normal, the next stage might be ink circulation testing; if the feedback is abnormal, it might jump to the fault diagnosis stage instead of continuing the regular process. It should be noted that the initialization command generated in this embodiment contains complete stage encoding information, and its format strictly matches the electrical interface specification of the first contact, ensuring that no additional conversion or adaptation is required during subsequent transmission.
[0084] Step 440: Continue executing the step of sending an initialization command to the first contact until all initialization phases are completed.
[0085] Optionally, in this embodiment, after the printing device generates the initialization command for the next stage, it returns to step 410 to send the command back to the printing module via the first contact, triggering a new round of target initialization stage operations. Thereafter, steps 420 to 430 are repeated sequentially, forming a closed-loop control cycle led by the printing device and using hardware contacts as the interaction medium. This cycle continues until all preset initialization stages are executed sequentially and each receives valid feedback confirmation. When the feedback signal of the last stage is received by the printing device, the main control unit recognizes that the initialization process is complete, stops generating new initialization commands, and can output a global completion flag or control the printing device to enter standby mode. Throughout the entire cycle, there is no time overlap or state coupling between stages. Even if a stage takes longer due to load changes, the printing device will not start subsequent stages prematurely, thus ensuring the determinism and reproducibility of the initialization process. Meanwhile, since the interaction mode is completely consistent at each stage, the printing device does not need to customize communication protocols or timing parameters for different stages, which greatly simplifies the design and maintenance costs of the control logic. It also enables the same initialization method to be seamlessly adapted to printing modules with different configurations or firmware versions, improving the versatility and scalability of the solution.
[0086] In this embodiment, the printing device uses the target feedback signal from the second contact point as the sole prerequisite for generating the next instruction. This ensures that each initialization stage is executed strictly in the order of its actual completion state, fundamentally avoiding process errors and resource conflicts caused by timing deviations or misjudgments of state. Simultaneously, this loop mechanism decouples multi-stage initialization into independent atomic operations; any anomaly in any stage will not trigger subsequent malfunctions, significantly improving the determinism and fault tolerance of the initialization process. Furthermore, the printing device reuses the same set of contact interaction logic throughout the process, eliminating the need to customize communication protocols for different stages. This simplifies control complexity and facilitates adaptation to different module requirements by adjusting the loop sequence, thus balancing the reliability, versatility, and maintenance efficiency of the solution.
[0087] Figure 5 This is a timing diagram of an initialization method for a printing device according to Embodiment 3 of the present invention, as shown below. Figure 5 As shown, the timing diagram has four vertical timing lines arranged from left to right, corresponding to four objects: the printing device, the first contact, the processing unit, and the second contact. The printing device is the main body of the printing module; the first contact is a dot-type contact on the printing module; the second contact is a line-type contact on the printing module; and the processing unit is a circuit unit inside the printing module that communicates with both the first and second contacts. The horizontal axis, from top to bottom, represents the timing logic relationship between each step, and the arrows indicate the direction of signal or information transmission.
[0088] I. Installation and Testing Phase After the printing module is installed in the printing device, the processing unit determines whether there is continuity between the first host contact and the second host contact, and whether the voltage levels of the second host contact and the second contact are consistent.
[0089] When the processing unit determines that the first host contact is conducting with the first contact and the second host contact has the same voltage level as the second contact, it determines that the printing module is installed correctly and enters the initialization process. When the processing unit determines that at least one of the above two conditions is not met, it determines that the printing module is not installed correctly, outputs a reinstallation prompt, and terminates the process.
[0090] It should be noted that, in this embodiment, the installation test of the printing module can also be performed by the printing device, that is, to determine whether there is continuity between the first host contact and the second host contact and the second contact, and whether the voltage levels are consistent. If it is determined that there is continuity between the first host contact and the voltage levels are consistent, the printing module is determined to be successfully installed.
[0091] II. Initialization Loop Phase After the printing module is installed, the initialization process can proceed. This process consists of multiple sequentially executed initialization stages. A loop variable K is used to indicate the sequence number of the target initialization stage to be executed. The initial value of K is 1, and the total number of initialization stages is denoted as N. The printing device sends an initialization command to the first contact via the first host contact. This initialization command is a TTL level pulse signal or an LVTTL level pulse signal, and the command is encoded by the number of pulses to indicate the target initialization stage. The first contact receives the initialization command and triggers the printing module to execute the initialization operation corresponding to the target initialization stage.
[0092] Upon receiving the initialization command, the first contact transmits the command to the processing unit. The processing unit parses the initialization command, determines the number of pulses corresponding to the command, identifies the target initialization stage based on the number of pulses, and executes the initialization operation corresponding to the target stage.
[0093] During the target initialization phase, the processing unit determines whether the target initialization phase has been completed within a preset timeout period. If the processing unit determines that the target initialization phase has not been completed within the preset timeout period, it determines that the target initialization phase has failed, stops outputting the target feedback signal through the second contact, and terminates the initialization process (i.e., the loop exits early). If the processing unit determines that the target initialization phase has been completed within the preset timeout period, it inverts the level of the second contact to generate the target feedback signal, and outputs the target feedback signal through the second contact. The second contact is initially at a high level after power-on, and becomes low level after the level is inverted, indicating the completion of the target initialization phase through the change in level state.
[0094] The target feedback signal output by the second contact is transmitted back to the printing device via the second host contact. After confirming that the target initialization phase is completed, the printing device increments the value of the loop variable K by 1. If the incremented value of K is not greater than the total number of initialization phases N, the printing device continues to send the initialization command corresponding to the current sequence number K and repeats the above initialization process. If the incremented value of K is greater than the total number of initialization phases N, all initialization phases are completed, the loop ends, and the process enters the initialization completion phase.
[0095] III. Initialization Completion Phase After all initialization phases are completed, the printing device determines that the printing module initialization is complete. The printing module enters standby mode, and all input / output data contacts switch from a high-resistance state to a low-resistance state to enter a ready state for data interaction.
[0096] In this embodiment, the printing module only needs two contacts—the first and second contacts—to complete the installation positioning detection and all initialization stages, reducing the number of contacts required and simplifying the contact layout. The accuracy of installation positioning detection is improved by jointly determining whether the first contact is in place and the second contact's voltage level consistency is detected, avoiding false judgments due to misalignment of the contact planes. Initialization instructions using pulse coding distinguish different initialization stages, allowing each stage to be executed sequentially and feedback provided at each level, thus enhancing the controllability of the initialization process.
[0097] The advantages of this invention are that it not only simplifies the detection method, using fewer signal contacts, but also simplifies the detection logic and improves reliability. Furthermore, this invention innovatively provides a method for providing feedback on the initialization progress of an external device. Key features include: 1. Use fewer contacts; 2. Feedback on initialization progress is provided; 3. This method can be used as a standalone external device detection method, or it can be used in other chips or integrated circuits that integrate this detection method; 4. Compatible with 5V VCC and 3.3V VCC level detection, applicable to a wider range of integrated circuit types, such as 5V VCC power supply commonly used in industrial applications and 3.3V VCC power supply used in consumer applications; 5. This application does not require multiple input contacts to perform complex high and low level logic judgments, which is simpler than other methods.
[0098] The solution of this invention requires only two functional contacts on the ink cartridge / printhead chip to simultaneously complete the installation detection and initialization operations. This significantly reduces the number of dedicated contacts on the chip, lowering the hardware cost and layout complexity of the ink cartridge / printhead chip. Simultaneously, the device side does not need to configure multiple corresponding probes / terminals, further reducing the cost of device-side connection devices. By outputting a level transition through the second contact during initialization, the internal initialization progress is fed back to the printing device in real time. This allows the printing device to accurately grasp the initialization status of the ink cartridge, ensuring that the ink cartridge enters standby mode promptly after initialization, ready to meet printing needs at any time. This solves the problems of existing technologies being unable to initialize ink cartridges and obtain initialization progress feedback. Furthermore, this application eliminates the need for complex high / low level logic judgments on multiple input contacts, resulting in simpler detection logic and higher reliability. It can be used as an independent initialization detection method or integrated into a chip or integrated circuit that includes this detection method.
[0099] Example 4 Figure 6This is a schematic diagram of the structure of a printing device implementing the initialization method of the printing device according to an embodiment of the present invention. The printing device is detachably installed in the printing module of the printing device. The printing module includes a first contact and a second contact with different geometric shapes that together form a contact plane. The printing module performs at least one initialization phase operation only through the first contact and the second contact. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.
[0100] like Figure 6 As shown, the printing device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded into the RAM 13 from the storage unit 18. The RAM 13 can also store various programs and data required for the operation of the printing device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0101] Multiple components in the printing device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, optical disk, etc.; and a communication unit 19, such as a network card, modem, wireless transceiver, etc. The communication unit 19 allows the printing device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0102] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods described above, such as the initialization method of a printing device.
[0103] In some embodiments, the initialization method for the printing device may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the printing device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the initialization method for the printing device described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the initialization method for the printing device by any other suitable means (e.g., by means of firmware).
[0104] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0105] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0106] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM), optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0107] To provide interaction with the user, the systems and techniques described herein can be implemented on a printing device having: a display device for displaying information to the user (e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the printing device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0108] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0109] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system. It addresses the shortcomings of traditional physical hosts and Virtual Private Servers (VPS) in terms of management difficulty and weak business scalability.
[0110] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0111] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
[0112] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the initialization method for a printing device as provided in any embodiment of this application.
[0113] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including LANs or WANs—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0114] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, they do not mean that the solution has been or necessarily used.
[0115] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A printing module, wherein the printing module is detachably installed in a printing device, characterized in that, The printing module includes a first contact and a second contact with different geometric shapes that together form a contact plane. The printing module performs at least one initialization phase operation only through the first contact and the second contact. The first contact is used to receive an initialization command, triggering the printing module to perform an initialization operation corresponding to the target initialization stage of the initialization command; The second contact is used to output a target feedback signal when the initialization operation of the target initialization phase is determined to be completed.
2. The printing module according to claim 1, characterized in that, The printing device includes a first host contact corresponding to the first contact and a second host contact corresponding to the second contact; When the printing module is installed in the printing device, the first contact is electrically connected to the first host contact, and the second contact is electrically connected to the second host contact. When it is detected that the first host contact is conducting with the first contact and the second host contact has the same voltage level as the second contact, it is determined that the printing module is installed in place.
3. The printing module according to claim 1, characterized in that, Once it is determined that all initialization operations in the initialization phase have been completed, the initialization of the printing module is deemed complete. The printing module is also equipped with multiple input / output data contacts. When the initialization of the printing module is completed, the printing module enters a standby state, and all input / output data contacts switch from a high-resistance state to a low-resistance state.
4. The printing module according to claim 1, characterized in that, The printing module further includes a processing unit, which is communicatively connected to the first contact and the second contact, respectively. The first contact is specifically used to receive the initialization command and transmit the initialization command to the processing unit; the initialization command is a TTL level pulse signal or an LVTTL level pulse signal; the initialization command is triggered by the printing device, an independent circuit inside the printing module, or an external signal source. The processing unit parses the initialization instruction, determines the number of pulses corresponding to the initialization instruction, determines the target initialization stage corresponding to the initialization instruction based on the number of pulses, and executes the initialization operation corresponding to the target initialization stage.
5. The printing module according to claim 4, characterized in that, The second contact is initially at a high level after power-on; After completing the initialization operation of the target initialization phase, the processing unit inverts the level of the second contact to generate the target feedback signal and transmits the target feedback signal to the second contact; wherein, the target initialization phase includes at least one of the following: resetting the internal power domain, initializing the pull-up / pull-down default state of the input / output ports, calibrating or locking the internal clock, configuring the internal registers, loading the internally stored calibration parameters, the built-in self-test, and switching the input / output ports from the high-impedance state to the working state; The second contact outputs the target feedback signal.
6. The printing module according to claim 1, characterized in that, If the printing module fails to complete the initialization operation of the target initialization phase within the preset timeout period, the initialization operation of the target initialization phase is determined to have failed, and the output of the target feedback signal through the second contact is stopped.
7. The printing module according to any one of claims 1-6, characterized in that, The second contact is a linear contact, and the first contact is a point contact; the point contact can be a rectangular contact, a circular contact, or an elliptical contact. The length of the linear contact is not less than twice the width of the point contact, so that the linear contact and the point contact form a contact plane; The printing module also includes power contacts and ground contacts.
8. A method for initializing a printing device, characterized in that, Performed by the printing module according to any one of claims 1-7, the printing module comprising a first contact and a second contact with different geometric shapes that together form a contact plane; the initialization method of the printing device includes: The system receives an initialization command through the first contact point and performs an initialization operation for the target initialization stage corresponding to the initialization command. When the initialization operation of the target initialization phase is completed, a target feedback signal is output through the second contact.
9. The initialization method for a printing device according to claim 8, characterized in that, The initialization command is a TTL level pulse signal or an LVTTL level pulse signal; The initialization operation of the target initialization phase corresponding to the initialization instruction includes: The initialization command is parsed to determine the number of pulses in the initialization command, and the target initialization stage is determined based on the number of pulses; wherein, the target initialization stage includes at least one of the following: resetting the internal power domain, initializing the pull-up / pull-down default state of the input / output ports, calibrating or locking the internal clock, configuring the internal registers, loading the internally stored calibration parameters, the built-in self-test, and switching the input / output ports from the high-impedance state to the working state; Perform the initialization operations corresponding to the target initialization phase.
10. The initialization method for a printing device according to claim 8, characterized in that, The initialization method for the printing device further includes: If, during the execution of the initialization operation of the target initialization phase, a preset timeout period is detected and the initialization operation of the target initialization phase is not completed, then the initialization operation of the target initialization phase is determined to have failed. In response to the determination that the initialization operation of the target initialization phase has failed, the output of the target feedback signal through the second contact is stopped.
11. The initialization method for a printing device according to claim 8, characterized in that, The initialization method for the printing device further includes: Upon completion of all initialization operations in the initialization phase, the initialization of the printing module is determined to be complete, and multiple input / output data contacts are switched from a high-resistance state to a low-resistance state.
12. A method for initializing a printing device, characterized in that, Performed by a printing device comprising a printing module according to any one of claims 1-7, the printing module comprising a first contact and a second contact with different geometries that together form a contact plane, the initialization method of the printing device comprising: An initialization command is sent to the first contact point to trigger the printing module to perform the initialization operation of the target initialization stage corresponding to the initialization command; The target feedback signal is received from the second contact point, and the target feedback signal is used to indicate that the printing module has completed the initialization operation of the target initialization phase; Generate initialization instructions corresponding to the next initialization phase; Continue executing the step of sending the initialization command to the first contact point until all initialization phases are completed.
13. The initialization method for a printing device according to claim 12, characterized in that, Before sending an initialization command to the first contact, the method further includes: Detect whether the first host contact corresponding to the first contact is conducting, and detect whether the level state of the second host contact corresponding to the second contact meets the preset conditions; When it is determined that the first host contact is connected to the first contact and the level state of the second host contact meets the preset conditions, it is determined that the printing module is installed in place and the step of sending an initialization command to the first contact is allowed to be executed.
14. A printing device, characterized in that, The printing device includes: A detachable printing module is installed on the printing device. The printing module includes a first contact and a second contact with different geometric shapes that together form a contact plane. The printing module performs at least one initialization phase operation only through the first contact and the second contact. At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the initialization method of the printing device according to any one of claims 8-11 or 12-13.