A flash-jet printing method for a printer carriage, a printer, equipment, and media.

By actively reading the position of the printer carriage and executing the flash spray function after confirming that it is within the flash spray range, the problem of printhead clogging caused by the delay in printer carriage coordinate feedback is solved, ensuring stable printer operation.

CN120039046BActive Publication Date: 2025-11-14BEIJING BOYUAN HENGXIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510071782.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-11-14
Estimated Expiration
2045-01-16

AI Technical Summary

Technical Problem

The existing printer carriage's coordinate feedback delay causes the printer carriage to be unable to accurately determine whether it has entered the flash spray range, which in turn leads to printhead clogging.

Method used

The printer motherboard actively reads the position of the printer carriage, sends a position query signal to the DSP at a preset time interval to determine whether the carriage is within the flash spray range, and controls the carriage to perform the flash spray function after confirmation.

Benefits of technology

This effectively prevents the printer carriage nozzle from clogging, improving the printer's operational stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120039046B_ABST
    Figure CN120039046B_ABST
Patent Text Reader

Abstract

This invention discloses a flash-spray method for a printer carriage, a printer, an apparatus, and a medium, relating to the field of planar printing. The flash-spray method for the printer carriage is applied to the mainboard of a printer and includes: when the printer is in a ready state, in response to receiving a flash-spray cleaning command, sequentially sending multiple position query signals for the printer carriage to the printer's DSP at preset time intervals; obtaining the printer carriage positions returned by the DSP corresponding to each of the position query signals; determining at least whether at least one of the multiple printer carriage positions is within the flash-spray range; and controlling the printer carriage to activate the flash-spray function when at least one of the multiple printer carriage positions is within the flash-spray range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of planar printing, and more particularly to a flash printing method for a printer carriage, a printer, equipment, and media. Background Technology

[0002] In existing printers, after printing, the printer carriage returns to the flash print position. However, due to the inherent delay in the printer carriage's coordinate feedback, and the fact that coordinate acquisition ceases after the carriage stops moving, errors can occur in the printer carriage coordinates transmitted from the printer's DSP to the mainboard. Sometimes, even when the printer carriage has actually moved into the flash print area, the acquired coordinates may not yet be within that area, thus failing to trigger the flash print action. This inability to properly activate the flash print on the printer carriage can lead to printhead clogging.

[0003] Therefore, how to ensure that the flash print function of the printer carriage can be turned on normally and avoid printer head clogging has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0004] The purpose of this invention is to provide a flash printing method for a printer carriage, a printer, an equipment, and a medium to enable flash printing of the printer carriage, allowing the flash printing to start normally and avoiding printer head clogging.

[0005] To achieve the above objectives, the present invention provides the following technical solution:

[0006] A flash spraying method for a printer carriage, applied to the printer's mainboard, includes:

[0007] When the printer is in a ready state or a paused state, in response to receiving a flash spray cleaning command, multiple position query signals for the printer carriage are sent to the printer's DSP at preset time intervals. The ready state is when the printer is idle, and the paused state is when any task is stopped.

[0008] Obtain the printer carriage position returned by the DSP, corresponding to each of the position query signals;

[0009] It is determined whether at least one of the multiple printer carriage positions is within the flash spray range. If at least one of the multiple printer carriage positions is within the flash spray range, the printer carriage is controlled to activate the flash spray function.

[0010] In one optional embodiment of this application, the plurality of printer carriage positions include: a first printer carriage position and a second printer carriage position;

[0011] The step of determining whether at least one of the multiple printer carriage positions is within the flash spray range, and controlling the printer carriage to activate the flash spray function when at least one of the multiple printer carriage positions is within the flash spray range, includes:

[0012] Determine whether the positions of the first printer carriage and the second printer carriage are the same;

[0013] If the positions of the first printer carriage and the second printer carriage are the same, determine whether the positions of the first printer carriage and the second printer carriage are within the flash spray range;

[0014] When the first printer carriage position and the second printer carriage position are within the flash spray range, control the printer carriage to activate the flash spray function.

[0015] In one optional embodiment of this application, obtaining the printer carriage position returned by the DSP corresponding to each of the position query signals includes:

[0016] Multiple printer carriage positions corresponding to the position query signal returned by the DSP when the printer carriage is stopped are obtained at preset time intervals.

[0017] In one optional embodiment of this application, determining whether at least one of the plurality of printer carriage positions is within the flash spray range includes:

[0018] Determine whether the difference between at least one of the multiple printer carriage positions and a preset flash position is less than or equal to a preset difference threshold;

[0019] If the difference between at least one of the plurality of printer carriage positions and a preset flash spray position is less than or equal to a preset difference threshold, the printer carriage is determined to be within the flash spray range;

[0020] If the difference between at least one of the multiple printer carriage positions and a preset flash spray position is less than a preset difference threshold, it is determined that the printer carriage is not within the flash spray range.

[0021] In one optional embodiment of this application, the printer's DSP is used to send pulse signals to the printer's motor to control the motor to start or stop, wherein the motor is used to drive the printer carriage to move; the printer carriage is used to send the printer carriage position to the DSP.

[0022] In one optional embodiment of this application, it further includes:

[0023] Determine whether the printer's printing task has ended or been canceled; if the printer's printing task has ended or been canceled, determine that the printer is in a ready state.

[0024] or,

[0025] Determine whether the printer carriage is in a moving state; if the printer carriage is not in a moving state, determine that the printer is in a ready state.

[0026] or,

[0027] Determine whether the cleaning process of the printer carriage has ended. If the cleaning process of the printer carriage has ended, determine that the printer is in a ready state.

[0028] Compared with the prior art, the flash spray method for the printer carriage provided by the present invention determines whether the printer carriage is within the flash spray range by actively reading the position of the printer carriage from the printer's mainboard. This helps to avoid the printer's DSP sending the printer carriage position information to the printer's mainboard with a large delay. At the same time, the printer's mainboard sends position query signals for the printer carriage to the printer's DSP at preset time intervals, which helps to understand the position changes of the printer carriage in a timely manner, enabling the printer carriage to perform flash spray in a timely manner and avoiding printhead clogging.

[0029] This invention also provides a flash spraying method for a printer carriage, applied to the printer's DSP, comprising:

[0030] In response to receiving multiple position query signals for the printer carriage sent by the printer's motherboard, the printer carriage position corresponding to each of the position query signals is sent to the printer's motherboard.

[0031] The printer's mainboard is configured to, in response to receiving a flash-spray cleaning command, sequentially send multiple position query signals for the printer carriage to the printer's DSP at preset time intervals when the printer is in a ready or paused state; and to determine at least whether at least one of the multiple printer carriage positions is within the flash-spray range, and if at least one of the multiple printer carriage positions is within the flash-spray range, control the printer carriage to activate the flash-spray function; wherein the ready state is when the printer is idle, and the paused state is when any task is stopped.

[0032] In one optional embodiment of this application, the plurality of printer carriage positions include: a first printer carriage position and a second printer carriage position;

[0033] The step of determining whether at least one of the multiple printer carriage positions is within the flash spray range, and controlling the printer carriage to activate the flash spray function when at least one of the multiple printer carriage positions is within the flash spray range, includes:

[0034] Determine whether the positions of the first printer carriage and the second printer carriage are the same;

[0035] If the positions of the first printer carriage and the second printer carriage are the same, determine whether the positions of the first printer carriage and the second printer carriage are within the flash spray range;

[0036] When the first printer carriage position and the second printer carriage position are within the flash spray range, control the printer carriage to activate the flash spray function.

[0037] Compared with the prior art, the beneficial effects of the second flash spray method for printer carriage provided by the present invention are the same as those of the first flash spray method for printer carriage described above, and will not be repeated here.

[0038] The present invention also provides a printer system, including: a motherboard and a DSP;

[0039] The motherboard is configured to, in response to receiving a flash-spray cleaning command, sequentially send multiple position query signals for the printer carriage to the printer's DSP at preset time intervals when the printer is in a ready or paused state; obtain the printer carriage position returned by the DSP corresponding to each of the position query signals; determine at least whether at least one of the multiple printer carriage positions is within the flash-spray range; and, if at least one of the multiple printer carriage positions is within the flash-spray range, control the printer carriage to activate the flash-spray function; wherein, the ready state is when the printer is idle, and the paused state is when any task is stopped;

[0040] The DSP is used to send the printer carriage position corresponding to each of the multiple position query signals to the motherboard of the printer in response to receiving multiple position query signals for the printer carriage.

[0041] In one optional embodiment of this application, the printer system further includes: a motor and a printer carriage;

[0042] The motor is connected to the printer carriage and is used to receive pulse signals sent by the DSP to control the movement of the printer carriage.

[0043] The printer carriage is used to send the printer carriage position to the DSP.

[0044] Compared with the prior art, the beneficial effects of the printer provided by the present invention are the same as those of the flash spray method of the printer carriage described above, and will not be repeated here.

[0045] The present invention also provides an electronic device, comprising:

[0046] processor;

[0047] Memory used to store the processor's executable instructions;

[0048] The processor is used to execute the flash-printing method of the printer carriage by running instructions in the memory.

[0049] Compared with the prior art, the beneficial effects of the electronic device provided by the present invention are the same as those of the flash spray method of the printer carriage described in the above technical solution, and will not be repeated here.

[0050] The present invention also provides a computer storage medium storing instructions that, when executed, implement the above-described flash-printing method for the printer carriage.

[0051] Compared with the prior art, the beneficial effects of the computer storage medium provided by the present invention are the same as those of the flash spray method of the printer carriage described in the above technical solution, and will not be repeated here. Attached Figure Description

[0052] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:

[0053] Figure 1 This is a schematic diagram of the printer structure provided in an embodiment of this application;

[0054] Figure 2 Schematic diagram of the flash-jet printing method for the printer carriage provided in this application embodiment Figure 1 ;

[0055] Figure 3 This is a schematic diagram of the printer's state transitions provided in an embodiment of this application;

[0056] Figure 4 The flash printing method flow of the printer carriage provided in the embodiments of this application Figure 2 ;

[0057] Figure 5 The flash spray device structure of the printer carriage provided in the embodiments of this application Figure 1 ;

[0058] Figure 6The flash spray device structure of the printer carriage provided in the embodiments of this application Figure 2 ;

[0059] Figure 7 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0060] To facilitate a clear description of the technical solutions in the embodiments of the present invention, the terms "first" and "second" are used to distinguish identical or similar items with essentially the same function and effect. For example, the first threshold and the second threshold are merely used to distinguish different thresholds and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" are not necessarily different.

[0061] It should be noted that in this invention, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0062] In this invention, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a combination of a and b, a combination of a and c, a combination of b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0063] In existing printer equipment, after printing is completed, the printer carriage returns to the flash print position. Due to the certain delay in the coordinate feedback of the printer carriage, there may be errors in the printer carriage coordinates transmitted from the printer's DSP to the printer's main board. This can cause the flash print to fail to start properly, leading to printer head clogging.

[0064] Therefore, how to achieve flash printing of the printer carriage, ensure that flash printing can start normally, and avoid printer head clogging has become a technical problem that urgently needs to be solved by those skilled in the art.

[0065] To address the aforementioned technical problems, this application provides a flash printing method for a printer carriage, a printer, an apparatus, and a medium, which will be described in detail in the following embodiments.

[0066] This application first provides a printer in its first embodiment. Please refer to [link / reference]. Figure 1 , Figure 1 This is a schematic diagram of the printer provided in an embodiment of this application.

[0067] like Figure 1 As shown, the printer includes: a motherboard, a DSP, a motor, and a printer carriage.

[0068] The printer's motherboard can be understood as the printer's control board or main control board, which is one of the core components of the printer. It is responsible for controlling and coordinating the printer's various functions and operations. In one optional embodiment of this application, the printer's motherboard typically includes a microprocessor, memory, interface circuits, and other necessary electronic devices to ensure that the printer can work normally.

[0069] In this embodiment of the application, the mainboard of the printer is mainly used to send multiple position query signals for the printer carriage to the DSP of the printer in a preset time interval in response to receiving a flash cleaning command when the printer is in a ready state or a paused state. The ready state is when the printer is in an idle state, and the paused state is when any task is stopped.

[0070] The flash-spray cleaning command can be received when the printer is in a ready or paused state, or in any other state. However, it only starts sending position query signals to the DSP when the printer is in a ready or paused state. Specifically, when the printer is in a ready or paused state, the motherboard receives the flash-spray cleaning command and continuously sends multiple position query signals to the DSP. When the printer is in a cleaning, printing, or moving state, the motherboard can store the flash-spray cleaning command upon receiving it, and then send multiple position query signals to the DSP and release the command when the printer is in a ready or paused state. It can also report an error and clear the flash-spray cleaning command.

[0071] A printer's DSP (Digital Signal Processor) is a microprocessor specifically designed for processing digital signals. In the embodiments of this application, the DSP is mainly used for signal processing tasks. In practical applications, the DSP is also used to process image data from the printer (such as inkjet printers, laser printers, etc.) to ensure the printer's printing quality.

[0072] In this embodiment of the application, the DSP is mainly used to obtain the printer carriage position sent by the printer carriage, and in response to obtaining multiple position query signals for the printer carriage sent by the motherboard of the printer, to send the printer carriage position corresponding to each of the position query signals to the motherboard of the printer.

[0073] After the printer's mainboard receives each of the position query signals, the mainboard is further configured to determine whether at least one of the position query signals is within the flash spray range, and if at least one of the multiple printer carriage positions is within the flash spray range, control the printer carriage to activate the flash spray function.

[0074] In this embodiment of the application, the motherboard of the printer is also used to control the movement state of the printer carriage.

[0075] When the printer carriage needs to perform a printing task in a designated printing area or needs to reach a designated area, the motherboard of the printer is used to send a movement command to the DSP. In response to receiving the movement command, the DSP sends a pulse signal to the motor to control the motor to start, thereby driving the printer carriage to move. During the movement, the printer carriage generates position coordinates (i.e., the position of the printer carriage) and feeds them back to the DSP.

[0076] In existing technology, during the movement of the printer carriage, the encoder generates carriage coordinate information at preset time intervals and sends the coordinate information to the DSP. The encoder can be a grating encoder or a servo motor encoder, etc., and this embodiment is not limited to this. The DSP sends the coordinate information to the motherboard, which determines the carriage position based on the received coordinate information from the DSP. It is evident that in existing technology, if the carriage stops moving, the motherboard will not receive the coordinate information. In this application, after receiving the flash-spray cleaning command, the motherboard continuously sends multiple carriage position query signals to the DSP after the printer carriage stops moving. Therefore, it can not only obtain the position coordinate information during carriage movement but also continue to obtain coordinate information when the carriage stops moving. This solves the technical problem that due to the delay in carriage coordinate feedback, the carriage has already moved into the flash-spray range, but the coordinates obtained by the motherboard are outside the flash-spray range, thus failing to trigger the flash-spray action and leading to nozzle clogging on the printhead.

[0077] In an optional embodiment, the motherboard sends a movement command to the DSP. The DSP generates a pulse signal based on the movement command and sends it to the encoder. Typically, the encoder determines whether the carriage is in motion based on whether it receives the pulse signal used to control the carriage's movement. Understandably, in existing technology, when the encoder does not receive a pulse signal, it determines that the carriage has stopped moving. After determining that the carriage has stopped moving, it also stops generating coordinate information and sending the coordinate information to the DSP. Existing technology ignores the fact that in some systems, there is a delay in the encoder's coordinate information generation process, causing the encoder to determine that the carriage has stopped after reading the pulse signal, thus ceasing coordinate information generation. This results in the DSP being unable to obtain the carriage's real-time coordinate information. When the carriage has not yet entered the flash-printing range, the generation and transmission of coordinate information has already stopped. When the carriage enters the flash-printing range and the printer is in a ready or paused state, the flash-printing action cannot be triggered, leading to nozzle clogging. In this application, when the vehicle is in motion, the encoder actively generates coordinate information in response to received pulse signals. When the encoder does not receive pulse signals, the main board actively sends multiple position query signals to the DSP. The DSP requests and obtains the coordinate information generated by the encoder. This coordinate information can be read by the grating encoder reader or generated by the servo motor encoder. In response to the multiple position query signals sent by the main board, the DSP will provide the corresponding coordinate information. In this application, the main board actively obtains the coordinate information, which avoids the technical problem of errors in obtaining the vehicle's position coordinates due to encoder reading delays. This error prevents accurate determination of whether the vehicle has reached the flash spray range, thus preventing normal flash spraying and causing nozzle clogging.

[0078] The coordinate information fed back by the DSP can include coordinates during the movement of the carriage and coordinates when the carriage stops moving. When multiple coordinate information are all different, it indicates that the coordinate information is the coordinate during the movement of the carriage, meaning that there is a delay in the coordinates generated by the encoder, and the coordinate information during movement can still be read even after the carriage has stopped moving. When at least two of the multiple coordinate information are the same, it indicates that the coordinate information is the coordinate of the carriage when it stops moving. If one of the multiple coordinates reaches the flash spray range, the flash spray action can be triggered. If multiple coordinates do not reach the flash spray range and include at least two of the same coordinates, and there are no other coordinates with values ​​after the at least two of the same coordinates, it can be determined that the carriage has not reached the flash spray range. If multiple coordinates do not reach the flash spray range and include at least two of the same coordinates, and there are still different coordinates after the at least two of the same coordinates, it indicates that there is a fault in the printing system. The motherboard generates an alarm signal and sends it to the PC. The fault may be in the encoder, DSP, motherboard, etc.

[0079] Furthermore, Embodiment 2 of this application also provides a flash spraying method for a printer carriage, applied to a printer motherboard.

[0080] Please refer to Figure 2 , Figure 2 Schematic diagram of the flash-jet printing method for the printer carriage provided in this application embodiment Figure 1 ;

[0081] like Figure 1 As shown, the flash spraying method of the printer carriage includes the following steps S201 to S203:

[0082] S201, when the printer is in a ready or paused state, in response to receiving a flash cleaning command, sequentially sends multiple position query signals for the printer carriage to the printer's DSP at preset time intervals.

[0083] In this embodiment of the application, the printer's status mainly includes:

[0084] Ready state: The ready state of a printer refers to the state in which the printer is idle and ready to receive and process instructions. In this state, all hardware components of the printer are working normally without errors or warnings, but flash printing needs to be turned on to prevent the printhead from clogging.

[0085] Printing Status: The printing status of a printer refers to the state of the printer when it is processing a print job. In this state, the printer is processing one or more print jobs.

[0086] Paused state: The printer's paused state means that the printer temporarily stops processing the current printing task. In actual use, users can manually operate the printer to put it into pause state, which makes it easier to change paper, clear paper jams, and other operations.

[0087] Movement status: The movement status of a printer refers to the state of the printer carriage when it moves from one position to another after receiving a movement command.

[0088] Cleaning status: The printer's cleaning status refers to the state in which the printer is undergoing cleaning (such as flash printing) and maintenance operations. This status is usually to ensure that the printer's printhead or other critical components are in good working condition, thereby ensuring print quality and extending the printer's lifespan.

[0089] For further details, please refer to... Figure 3 , Figure 3 This is a schematic diagram of the printer's state transitions provided in an embodiment of this application.

[0090] like Figure 3 As shown, when the printer is in the ready state, it enters the printing state after receiving the printing command. After printing is completed, the printer returns to the ready state.

[0091] When the printer is in printing mode, if it receives a print pause command, it will enter a pause state. Once it receives a resume printing command, it will return to printing mode. Alternatively, if the printer is in a pause state, if it receives a cancel printing command, it will return to a ready state.

[0092] When the printer is in the ready state, after the printer carriage receives a move command, the printer enters the move state. After the printer carriage moves to the designated position, the move ends and the printer returns to the ready state.

[0093] When the printer is in a ready state, it enters the cleaning state after receiving a cleaning command. After the cleaning is completed, the printer returns to the ready state.

[0094] When the printer is paused, it will return to the ready state after receiving a cancel print command. Alternatively, after receiving a cleaning command, it will automatically cancel print quality and enter the cleaning state from the ready state. After the cleaning is completed, the printer will return to the paused state.

[0095] The flash-jet cleaning command is one type of cleaning command, and the cleaning action may include multiple steps such as ink scraping, ink suction, waste ink suction, and flash-jet printing. In practical applications, the printer's flash-jet function aims to check and clean the printheads by ejecting ink from the printheads. This process helps identify which printheads may be clogged and attempts to clean these clogged printheads by ejecting ink, restoring the printheads to normal operation and ensuring that all printheads are functioning properly, thereby improving print quality and print consistency.

[0096] When the printer is in a ready or paused state, the printer carriage can be in any position. However, when the printer needs to perform flash printing, the printer carriage needs to move to the position corresponding to the cleaning tray so that the flash printing operation can be performed at the position corresponding to the cleaning tray, in order to maintain a clean environment inside and outside the printer.

[0097] In one optional embodiment of this application, in order to ensure the smooth completion of the cleaning task and to ensure that the transition between the various states of the printer is not confused, after the printer motherboard receives the flash cleaning command, it will automatically determine whether the printer is in the ready state or the paused state. If the determination result is otherwise, it will output a state error prompt message so that the user can change the printer state to the ready state or the paused state in a timely manner.

[0098] Furthermore, in order to ensure that the printer carriage is positioned in the corresponding position of the cleaning tray when the printer performs flash spraying operation, when the printer's mainboard receives the flash spraying cleaning command, the printer's mainboard sends multiple position query signals for the printer carriage to the printer's DSP at preset time intervals, so that the DSP will send the position of the printer carriage to the printer's mainboard after receiving the position query signals.

[0099] In one optional embodiment of this application, the preset time interval can be 50 milliseconds, and the plurality of position query signals for the printer carriage can be three. In actual application, the preset time interval and the number of position query signals for the printer carriage can be set according to the actual situation, and this application does not limit them.

[0100] S202, obtain the printer carriage position returned by the DSP corresponding to each of the position query signals.

[0101] After obtaining the printer carriage position returned by the DSP corresponding to each of the position query signals, the printer's mainboard can combine the printer carriage position to execute the following S103, and then determine whether flash printing can be performed.

[0102] In one optional embodiment of this application, in order to minimize the delay deviation in the real-time return of the printer carriage position and improve the accuracy of the printer carriage position, obtaining the printer carriage position returned by the DSP corresponding to each of the position query signals includes:

[0103] Multiple printer carriage positions corresponding to the position query signal returned by the DSP when the printer carriage is stopped are obtained at preset time intervals.

[0104] That is, when the printer carriage is stopped, the motherboard sends multiple position query signals to the DSP at preset time intervals, and then receives multiple printer carriage positions returned by the DSP.

[0105] S203, determine whether at least one of the multiple printer carriage positions is within the flash spray range, and if at least one of the multiple printer carriage positions is within the flash spray range, control the printer carriage to start the flash spray function.

[0106] If the printer motherboard determines that at least one of the received multiple print carriage positions is within the flash spray range, it means that the print carriage has reached the flash spray position. At this time, the printer motherboard can control the print head of the print carriage to perform flash spray.

[0107] In another alternative embodiment of this application, considering that only one of the multiple printer carriage positions is determined to be within the flash spray range, the printer carriage may have only entered the flash spray range, but the printer carriage has not stopped moving at this time. In this case, the printer carriage is not in a ready state, and even if a flash spray command is issued, the printer carriage cannot start the flash spray function.

[0108] Therefore, to avoid the above situation, determining whether at least one of the multiple printer carriage positions is within the flash spray range, and controlling the printer carriage to activate the flash spray function when at least one of the multiple printer carriage positions is within the flash spray range, includes:

[0109] The step of determining whether at least one of the multiple printer carriage positions is within the flash spray range, and controlling the printer carriage to activate the flash spray function when at least one of the multiple printer carriage positions is within the flash spray range, includes:

[0110] Determine whether the positions of the first printer carriage and the second printer carriage are the same;

[0111] If the positions of the first printer carriage and the second printer carriage are the same, determine whether the positions of the first printer carriage and the second printer carriage are within the flash spray range;

[0112] When the first printer carriage position and the second printer carriage position are within the flash spray range, control the printer carriage to activate the flash spray function.

[0113] That is, after the printer's mainboard receives multiple printer carriage positions in succession, it compares whether the coordinates of two consecutive printer carriage positions are the same. If they are the same, it is considered that the printer carriage has stopped moving. Then, it is determined whether the stopping position of the printer carriage is within the flash spray range. If the stopping position of the printer carriage is within the flash spray range, the printer carriage is controlled to start the flash spray function.

[0114] Furthermore, in practical applications, the position of the printer carriage can be determined based on the printer's printing coordinate system. Under normal circumstances, the printer's flash spray position is usually located at the 0 point of the printing coordinate system. The flash spray range can be set according to the actual situation of the printer, for example, the flash spray range can be set to ±150mm.

[0115] In this embodiment, the flash spray range corresponds to the ink cartridge of the printer. In one implementation, the ink cartridge is located at both ends of the printer's printing coordinate system. For example, if the printer is a roll printer, the printer carriage moves towards the x-axis of the printing coordinate system during printing. In this case, the ink cartridge can be located at both ends of the y-axis of the printing coordinate system. If the printer is a flatbed printer, the printer carriage needs to move along both the x-axis and y-axis during printing. In this case, the ink cartridge can be located at either the x-axis or the y-axis of the printer coordinate system.

[0116] In another optional embodiment of this application, the ink cartridge can be mechanically mounted on the bottom of the printer carriage. When flash printing is not needed, the ink cartridge is retracted; when flash printing is needed, the ink cartridge is opened. In this case, the flash printing range is no longer limited by mechanical position or printer type, but only by the printer status. When the ink cartridge is mounted on the bottom of the printer carriage, flash printing can be performed as long as the printer carriage is within the XY coordinate system, regardless of whether it is in or out of the printing platform. This application monitors the printer status, allowing flash printing only when the printer is in a ready or paused state. Flash printing cannot be triggered when the printer is in other states, avoiding internal logic control confusion on the motherboard and preventing printer malfunctions. This improves the reliability and stability of printer operation.

[0117] Furthermore, to prevent ink from spraying onto the printing material during the flash printing process, the inkjet cartridge can be moved to the designated inkjet range by the printer carriage before the inkjet cartridge is opened.

[0118] In summary, the printer carriage flash spraying method provided in this application determines whether the printer carriage is within the flash spraying range by actively reading the printer carriage position from the printer's mainboard. This helps avoid the printer's DSP sending the printer carriage position information with a large delay to the printer's mainboard. At the same time, by having the printer's mainboard send position query signals for the printer carriage to the printer's DSP at preset time intervals, it is possible to understand the changes in the printer carriage position in a timely manner, which is conducive to the printer carriage performing flash spraying in a timely manner and avoiding printhead clogging of the printer carriage.

[0119] Embodiment 3 of this application also provides another flash-printing method for the printer carriage, applied to the printer's DSP. Please refer to [link / reference]. Figure 4 , Figure 4 The flash printing method flow of the printer carriage provided in the embodiments of this application Figure 2 .

[0120] like Figure 4As shown, the flash printing method of the printer carriage includes the following steps: S201:

[0121] S401, in response to receiving multiple position query signals for the printer carriage sent by the printer's mainboard, send the printer carriage position corresponding to each of the position query signals to the printer's mainboard.

[0122] The printer's mainboard is configured to, in response to receiving a flash-spray cleaning command, sequentially send multiple position query signals for the printer carriage to the printer's DSP at preset time intervals when the printer is in a ready or paused state; and to determine at least whether at least one of the multiple printer carriage positions is within the flash-spray range, and if at least one of the multiple printer carriage positions is within the flash-spray range, control the printer carriage to activate the flash-spray function; wherein the ready state is when the printer is idle, and the paused state is when any task is stopped.

[0123] In one optional embodiment of this application, the plurality of printer carriage positions include: a first printer carriage position and a second printer carriage position;

[0124] Determining whether at least one of the multiple printer carriage positions is within the flash spray range, and if at least one of the multiple printer carriage positions is within the flash spray range, controlling the printer carriage to activate the flash spray function, including:

[0125] Determine whether the positions of the first printer carriage and the second printer carriage are the same;

[0126] If the positions of the first printer carriage and the second printer carriage are the same, determine whether the positions of the first printer carriage and the second printer carriage are within the flash spray range;

[0127] When the first printer carriage position and the second printer carriage position are within the flash spray range, control the printer carriage to activate the flash spray function.

[0128] In one optional embodiment of this application, determining whether at least one of the plurality of printer carriage positions is within the flash spray range includes:

[0129] Determine whether the difference between at least one of the multiple printer carriage positions and a preset flash position is less than or equal to a preset difference threshold;

[0130] If the difference between at least one of the plurality of printer carriage positions and a preset flash spray position is less than or equal to a preset difference threshold, the printer carriage is determined to be within the flash spray range;

[0131] If the difference between at least one of the multiple printer carriage positions and a preset flash spray position is less than a preset difference threshold, it is determined that the printer carriage is not within the flash spray range.

[0132] In one optional embodiment of this application, the printer's DSP is further configured to send pulse signals to the printer's motor to control the motor to start or stop, wherein the motor is configured to drive the printer carriage to move; and the printer carriage is configured to send the printer carriage position to the DSP.

[0133] It should be noted that the flash-spray method for the printer carriage provided in Embodiment 3 above and the flash-spray method for the printer carriage provided in Embodiment 2 above belong to the same application concept. For technical details not described in detail in Embodiment 3 above, please refer to the specific content of the flash-spray method for the printer carriage provided in Embodiment 2 of this application, which will not be repeated here.

[0134] Embodiment 4 of this application also provides a flash spraying device for a printer carriage, applied to the printer's mainboard. Please refer to [link / reference]. Figure 5 , Figure 5 The flash spray device structure of the printer carriage provided in the embodiments of this application Figure 1 .

[0135] like Figure 5 As shown, the flash spray device of the printer carriage includes:

[0136] The first signal sending unit 501 is used to send multiple position query signals for the printer carriage to the printer's DSP at preset time intervals in response to receiving a flash spray cleaning command when the printer is in a ready state or a paused state. The ready state is when the printer is in an idle state, and the paused state is when any task is stopped.

[0137] The signal acquisition unit 502 is used to acquire the printer carriage position returned by the DSP corresponding to each of the position query signals;

[0138] The data processing unit 503 is used to determine whether at least one of the plurality of printer carriage positions is within the flash spray range, and if at least one of the plurality of printer carriage positions is within the flash spray range, control the printer carriage to start the flash spray function.

[0139] In one optional embodiment of this application, the plurality of printer carriage positions include: a first printer carriage position and a second printer carriage position;

[0140] The step of determining whether at least one of the multiple printer carriage positions is within the flash spray range, and controlling the printer carriage to activate the flash spray function when at least one of the multiple printer carriage positions is within the flash spray range, includes:

[0141] Determine whether the positions of the first printer carriage and the second printer carriage are the same;

[0142] If the positions of the first printer carriage and the second printer carriage are the same, determine whether the positions of the first printer carriage and the second printer carriage are within the flash spray range;

[0143] When the first printer carriage position and the second printer carriage position are within the flash spray range, control the printer carriage to activate the flash spray function.

[0144] In one optional embodiment of this application, obtaining the printer carriage position returned by the DSP corresponding to each of the position query signals includes:

[0145] Multiple printer carriage positions corresponding to the position query signal returned by the DSP when the printer carriage is stopped are obtained at preset time intervals.

[0146] In one optional embodiment of this application, determining whether at least one of the plurality of printer carriage positions is within the flash spray range includes:

[0147] Determine whether the difference between at least one of the multiple printer carriage positions and a preset flash position is less than or equal to a preset difference threshold;

[0148] If the difference between at least one of the plurality of printer carriage positions and a preset flash spray position is less than or equal to a preset difference threshold, the printer carriage is determined to be within the flash spray range;

[0149] If the difference between at least one of the multiple printer carriage positions and a preset flash spray position is less than a preset difference threshold, it is determined that the printer carriage is not within the flash spray range.

[0150] In one optional embodiment of this application, the printer's DSP is used to send pulse signals to the printer's motor to control the motor to start or stop, wherein the motor is used to drive the printer carriage to move; the printer carriage is used to send the printer carriage position to the DSP.

[0151] In one optional embodiment of this application, the flash spray device of the printer carriage is further used for:

[0152] Determine whether the printer's printing task has ended or been canceled; if the printer's printing task has ended or been canceled, determine that the printer is in a ready state.

[0153] or,

[0154] Determine whether the printer carriage is in a moving state; if the printer carriage is not in a moving state, determine that the printer is in a ready state.

[0155] or,

[0156] Determine whether the cleaning process of the printer carriage has ended. If the cleaning process of the printer carriage has ended, determine that the printer is in a ready state.

[0157] The above-described embodiment four provided in this embodiment belongs to the same application concept as embodiment two of this application, and can execute the flash-printing method of the printer carriage provided in embodiment two of this application, possessing the corresponding functional modules and beneficial effects of the variable data printing method. Technical details not described in detail in this embodiment can be found in the specific processing content of the flash-printing method of the printer carriage provided in the above-described embodiments of this application, and will not be repeated here.

[0158] Embodiment 5 of this application also provides another flash-jet device for a printer carriage, applied to the DSP of the printer carriage. Please refer to [link / reference]. Figure 6 , Figure 6 The flash spray device structure of the printer carriage provided in the embodiments of this application Figure 2 .

[0159] like Figure 6 As shown, the flash spray device of the printer carriage includes:

[0160] The second signal transmitting unit 601 is used to send the printer carriage position corresponding to each of the multiple position query signals sent by the motherboard of the printer to the motherboard of the printer in response to the multiple position query signals sent by the motherboard of the printer.

[0161] The printer's mainboard is configured to, in response to receiving a flash-spray cleaning command, sequentially send multiple position query signals for the printer carriage to the printer's DSP at preset time intervals when the printer is in a ready or paused state; and to determine at least whether at least one of the multiple printer carriage positions is within the flash-spray range, and if at least one of the multiple printer carriage positions is within the flash-spray range, control the printer carriage to activate the flash-spray function; wherein the ready state is when the printer is idle, and the paused state is when any task is stopped.

[0162] In one optional embodiment of this application, the plurality of printer carriage positions include: a first printer carriage position and a second printer carriage position;

[0163] The step of determining whether at least one of the multiple printer carriage positions is within the flash spray range, and controlling the printer carriage to activate the flash spray function when at least one of the multiple printer carriage positions is within the flash spray range, includes:

[0164] Determine whether the positions of the first printer carriage and the second printer carriage are the same;

[0165] If the positions of the first printer carriage and the second printer carriage are the same, determine whether the positions of the first printer carriage and the second printer carriage are within the flash spray range;

[0166] When the first printer carriage position and the second printer carriage position are within the flash spray range, control the printer carriage to activate the flash spray function.

[0167] In one optional embodiment of this application, determining whether at least one of the plurality of printer carriage positions is within the flash spray range includes:

[0168] Determine whether the difference between at least one of the multiple printer carriage positions and a preset flash position is less than or equal to a preset difference threshold;

[0169] If the difference between at least one of the plurality of printer carriage positions and a preset flash spray position is less than or equal to a preset difference threshold, the printer carriage is determined to be within the flash spray range;

[0170] If the difference between at least one of the multiple printer carriage positions and a preset flash spray position is less than a preset difference threshold, it is determined that the printer carriage is not within the flash spray range.

[0171] In one optional embodiment of this application, the printer's DSP is further configured to send pulse signals to the printer's motor to control the motor to start or stop, wherein the motor is configured to drive the printer carriage to move; and the printer carriage is configured to send the printer carriage position to the DSP.

[0172] The fifth embodiment provided in this example belongs to the same concept as the third embodiment of this application. It can execute the flash-printing method of the printer carriage provided in the third embodiment of this application and has the corresponding functional modules and beneficial effects of executing the flash-printing method of the printer carriage. Technical details not described in detail in this example can be found in the specific processing content of the flash-printing method of the printer carriage provided in the above embodiments of this application, and will not be repeated here.

[0173] This application also provides an electronic device, please refer to... Figure 7 , Figure 7 This is a structural diagram of an electronic device provided in an embodiment of this application.

[0174] like Figure 7 As shown, the electronic device 400 includes a processor 410.

[0175] like Figure 7 As shown, the processor 410 described above can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present invention.

[0176] like Figure 7 As shown, the electronic device 400 may further include a communication line 440. The communication line 440 may include a path for transmitting information between the components.

[0177] Optional, such as Figure 7 As shown, the above-described electronic device may further include a communication interface 420. There may be one or more communication interfaces 420. The communication interface 420 may use any transceiver-like device for communicating with other devices or communication networks.

[0178] Optional, such as Figure 7 As shown, the electronic device may further include a memory 430. The memory 430 stores computer execution instructions for implementing the present invention, and its execution is controlled by a processor. The processor executes the computer execution instructions stored in the memory to implement the method provided in the embodiments of the present invention.

[0179] like Figure 7As shown, memory 430 can be read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory 430 can exist independently and be connected to processor 410 via communication line 440. Memory 430 can also be integrated with processor 410.

[0180] Optionally, the computer execution instructions in the embodiments of the present invention may also be referred to as application code, and the embodiments of the present invention do not specifically limit this.

[0181] In a specific implementation, as one example, such as Figure 7 As shown, processor 410 may include one or more CPUs, such as Figure 7 CPU0 and CPU1 in the CPU.

[0182] In a specific implementation, as one example, such as Figure 7 As shown, the terminal device may include multiple processors, such as Figure 7 The first processor 4101 and the second processor 4102 are included. Each of these processors can be a single-core processor or a multi-core processor.

[0183] The methods disclosed in the above embodiments of the present invention can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above methods can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above methods.

[0184] This application also provides a computer-readable storage medium storing instructions, which, when executed, implement the functions performed by the terminal device in the above embodiments.

[0185] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD).

[0186] Although the invention has been described herein in conjunction with various embodiments, those skilled in the art will understand and implement other variations of the disclosed embodiments by reviewing the accompanying drawings, the disclosure, and the appended claims in carrying out the claimed invention. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.

[0187] Although the invention has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made therein without departing from the spirit and scope of the invention. Accordingly, this specification and drawings are merely exemplary descriptions of the invention as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. Clearly, those skilled in the art can make various alterations and modifications to the invention without departing from its spirit and scope. Thus, if such modifications and modifications of the invention fall within the scope of the claims and their equivalents, the invention is also intended to include such modifications and modifications.

Claims

1. A flash printing method for a printer carriage, characterized in that, The motherboard used in printers includes: When the printer is in a ready state or a paused state, in response to receiving a flash spray cleaning command, multiple position query signals for the printer carriage are sent to the printer's DSP at preset time intervals. The ready state is when the printer is idle, and the paused state is when any task is stopped. Obtain the printer carriage position returned by the DSP corresponding to each of the position query signals; determine whether at least one of the multiple printer carriage positions is within the flash spray range; if at least one of the multiple printer carriage positions is within the flash spray range, control the printer carriage to start the flash spray function. The plurality of printer carriage positions includes: a first printer carriage position and a second printer carriage position; determining whether at least one of the plurality of printer carriage positions is within the flash printing range, and controlling the printer carriage to activate the flash printing function when at least one of the plurality of printer carriage positions is within the flash printing range, includes: determining whether the first printer carriage position and the second printer carriage position are the same; if the first printer carriage position and the second printer carriage position are the same, determining whether the first printer carriage position and the second printer carriage position are within the flash printing range; if the first printer carriage position and the second printer carriage position are within the flash printing range, controlling the printer carriage to activate the flash printing function; The printer's DSP is used to send pulse signals to the printer's motor to control the motor to start or stop, wherein the motor is used to drive the printer carriage to move; the printer carriage is used to send the printer carriage position to the DSP.

2. The method according to claim 1, characterized in that, Obtaining the printer carriage position returned by the DSP corresponding to each of the position query signals includes: Multiple printer carriage positions corresponding to the position query signal returned by the DSP when the printer carriage is stopped are obtained at preset time intervals.

3. The method according to claim 1 or 2, characterized in that, Determining whether at least one of the multiple printer carriage positions is within the flash spray range includes: Determine whether the difference between at least one of the multiple printer carriage positions and a preset flash position is less than or equal to a preset difference threshold; If the difference between at least one of the plurality of printer carriage positions and a preset flash spray position is less than or equal to a preset difference threshold, the printer carriage is determined to be within the flash spray range; If the difference between at least one of the multiple printer carriage positions and a preset flash spray position is greater than a preset difference threshold, it is determined that the printer carriage is not within the flash spray range.

4. The method according to claim 1, characterized in that, Also includes: Determine whether the printer's printing task has ended or been canceled; if the printer's printing task has ended or been canceled, determine that the printer is in a ready state. or, Determine whether the printer carriage is in a moving state; if the printer carriage is not in a moving state, determine that the printer is in a ready state. or, Determine whether the cleaning process of the printer carriage has ended. If the cleaning process of the printer carriage has ended, determine that the printer is in a ready state.

5. A flash spraying method for a printer carriage, characterized in that, DSPs used in printers include: In response to receiving multiple position query signals for the printer carriage sent by the printer's motherboard, the printer carriage position corresponding to each of the position query signals is sent to the printer's motherboard. The printer's mainboard, when the printer is in a ready or paused state, responds to a flash-spray cleaning command by sequentially sending multiple position query signals for the printer carriage to the printer's DSP at preset time intervals. It also determines whether at least one of the multiple printer carriage positions is within the flash-spray range, and if at least one of the multiple printer carriage positions is within the flash-spray range, controls the printer carriage to activate the flash-spray function. The ready state refers to the printer being idle, and the paused state refers to the stop of any task. The multiple printer carriage positions include: a first printer carriage position and a second printer carriage position. The step of determining whether at least one of the multiple printer carriage positions is within the flash printing range, and controlling the printer carriage to activate the flash printing function when at least one of the multiple printer carriage positions is within the flash printing range, includes: determining whether the first printer carriage position and the second printer carriage position are the same; if the first printer carriage position and the second printer carriage position are the same, determining whether the first printer carriage position and the second printer carriage position are within the flash printing range; and if the first printer carriage position and the second printer carriage position are within the flash printing range, controlling the printer carriage to activate the flash printing function. The printer's DSP is used to send pulse signals to the printer's motor to control the motor to start or stop, wherein the motor is used to drive the printer carriage to move; the printer carriage is used to send the printer carriage position to the DSP.

6. A printer system, characterized in that, include: Motherboard, DSP; The motherboard is configured to, in response to receiving a flash-spray cleaning command, sequentially send multiple position query signals for the printer carriage to the printer's DSP at preset time intervals when the printer is in a ready or paused state; obtain the printer carriage position returned by the DSP corresponding to each of the position query signals; determine whether at least one of the multiple printer carriage positions is within the flash-spray range; and, if at least one of the multiple printer carriage positions is within the flash-spray range, control the printer carriage to activate the flash-spray function. The ready state refers to the printer being in an idle state, and the paused state refers to the stop state of any task. The plurality of printer carriage positions includes: a first printer carriage position and a second printer carriage position; determining whether at least one of the plurality of printer carriage positions is within the flash printing range, and controlling the printer carriage to activate the flash printing function when at least one of the plurality of printer carriage positions is within the flash printing range, includes: determining whether the first printer carriage position and the second printer carriage position are the same; if the first printer carriage position and the second printer carriage position are the same, determining whether the first printer carriage position and the second printer carriage position are within the flash printing range; if the first printer carriage position and the second printer carriage position are within the flash printing range, controlling the printer carriage to activate the flash printing function; The DSP is used to send the printer carriage position corresponding to each of the multiple position query signals to the motherboard of the printer in response to receiving multiple position query signals for the printer carriage. The DSP is also used to send pulse signals to the motor of the printer to control the motor to start or stop, and the motor is used to drive the printer carriage to move; the printer carriage is used to send the position of the printer carriage to the DSP.

7. A computer storage medium, characterized in that, The computer storage medium stores instructions that, when executed, implement the flash-jet method of the printer carriage as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Image recording apparatus

    CN101085575A

  • Trolley and trolley printing method

    CN104943416A