Printer control method and printer
By introducing intelligent control methods into inkjet printers, the cleaning cycle of the nozzle is determined according to user instructions and cleaning is performed automatically, which solves the problem of nozzle clogging, saves user maintenance time and costs, and improves the efficiency of nozzle cleaning.
Patent Information
- Application Number
- CN202410769921.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-14
AI Technical Summary
Inkjet printer nozzles are prone to clogging, and existing cleaning methods are not smart enough, costing users a lot of time and being expensive.
Provides a printer control method that obtains user cleaning instructions, performs test actions to determine the cleaning cycle of the nozzle, and automatically performs cleaning, including a first cleaning cycle to prevent clogging and a second cleaning cycle to clear clogging and reduce ink usage.
Intelligent nozzle maintenance is realized, saving users time and costs, and improving the efficiency and economy of nozzle cleaning.
Smart Images

Figure CN118544697A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of printers, and in particular to a printer control method and a printer. Background Art
[0002] Inkjet printers generally face the problem of easy clogging of the printer nozzles. In particular, with the development of inkjet printing technology, the application scenarios of inkjet printers have been expanded. For example, inkjet printers can be used for printing living cells in the biochemical field, printing liquid crystal materials for OLED displays, printing conductive inks for flexible electronics, and printing white inks for DIY. The inks commonly used in these new inkjet printer application scenarios contain ink components that are easy to precipitate and condense. These components can cause the printer nozzles to become clogged, cut off, or even permanently clogged.
[0003] In order to prevent the printer nozzle from being blocked, the printer nozzle needs to be cleaned on a daily basis. The method for cleaning the printer nozzle provided in the related art is not smart enough and requires users to spend a lot of time to maintain the printer nozzle. Summary of the invention
[0004] In view of this, an embodiment of the present application provides a printer control method and a printer.
[0005] In a first aspect, an embodiment of the present application provides a method for controlling a printer, the method comprising:
[0006] Obtain a cleaning instruction for a printer nozzle from a user; when the cleaning instruction is a first cleaning instruction, control the printer to perform a first test action to determine a first cleaning cycle for the printer nozzle; control the printer to clean the printer nozzle according to the first cleaning cycle; wherein, during the first cleaning cycle, the printer nozzle is not clogged; when the cleaning instruction is a second cleaning instruction, control the printer to perform a second test action to determine a second cleaning cycle for the printer nozzle; control the printer to clean the printer nozzle according to the second cleaning cycle; wherein, during the second cleaning cycle, the printer nozzle is clogged, and after a preset number of cleanings, the printer nozzle can be unblocked.
[0007] In a second aspect, an embodiment of the present application provides a printer, which includes a first acquisition module, a first control module, and a second control module. The first acquisition module is used to obtain a user's cleaning instruction for the printer nozzle. The first control module is used to control the printer to perform a first test action when the cleaning instruction is a first cleaning instruction, determine the first cleaning cycle of the printer nozzle; control the printer to clean the printer nozzle according to the first cleaning cycle; wherein, during the first cleaning cycle, the printer nozzle is not blocked. The second control module is used to control the printer to perform a second test action when the cleaning instruction is a second cleaning instruction, determine the second cleaning cycle of the printer nozzle; control the printer to clean the printer nozzle according to the second cleaning cycle; wherein, during the second cleaning cycle, the printer nozzle is blocked, and after a preset number of cleanings, the printer nozzle can be unblocked.
[0008] Through the above settings, in the control method of the printer provided in the embodiment of the present application, the optimal cleaning method for the printer nozzle can be determined according to the user's cleaning instructions. Specifically, under the first cleaning instruction, the first cleaning cycle can be determined, and then the printer nozzle is automatically cleaned according to the first cleaning cycle; under the second cleaning instruction, the second cleaning cycle can be determined, and then the printer nozzle is automatically cleaned according to the second cleaning cycle. Compared with the cleaning method for the printer nozzle in the related art, the control method of the printer provided in the embodiment of the present application is more intelligent, and the maintenance of the printer nozzle is simpler, which can save the user's maintenance time for the printer nozzle, make the maintenance cost of the printer nozzle lower, and reduce the use of ink in the cleaning process of the printer nozzle; by determining the first cleaning cycle and the second cleaning cycle, it is possible to determine a better solution for cleaning the printer nozzle. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0010] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0011] Figure 1 A flowchart of a method for controlling a printer provided in an embodiment of the present application;
[0012] Figure 2 This is a schematic diagram of a test strip being disconnected in an embodiment of the present application;
[0013] Figure 3 A schematic diagram of the structure of a printer provided in an embodiment of the present application;
[0014] Figure 4 A hardware entity schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the application embodiments will be clearly and completely described below in conjunction with the drawings in the embodiments of this application; it is obvious that the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0016] An embodiment of the present application provides a printer control method, which can be used to clean the nozzle of a common inkjet printer, and can also be used to clean the nozzle of an inkjet printer for printing living cells in the biochemical field, an inkjet printer for printing liquid crystal materials for OLED display screens, an inkjet printer for printing conductive ink for flexible electronics, and an inkjet printer for printing white ink in the DIY field.
[0017] It should be noted that an embodiment of the present application provides a method for controlling a printer. It can be performed by an electronic device, wherein the electronic device can be a printer, a laptop, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital processing, a dedicated messaging device, a portable gaming device) and other types of terminals, and can also be implemented as a server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0018] Figure 1 A flowchart of a method for controlling a printer provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the control method includes steps S11 to S13, wherein:
[0019] Step S11, obtaining a user's instruction for cleaning the printer nozzle.
[0020] It should be noted that there may be various cleaning instructions for the printer nozzle depending on the usage frequency or purpose of the printer.
[0021] For example, in the embodiment of the present application, for the case where the printing frequency is relatively high or the printing quality requirement is relatively high, the purpose of cleaning the printer nozzle can be to prevent the printer nozzle from being blocked and to keep the printer nozzle in a clear state at any time. For the convenience of description, this situation can be referred to as the first situation.
[0022] In the case where the printing frequency is not very high or the printing quality requirement is not very high, the purpose of cleaning the printer nozzle may be to prevent the printer nozzle from being irreversibly blocked, that is, the printer nozzle may be allowed to be blocked, but after a preset number of cleanings, the printer nozzle can be unblocked. For the convenience of description, this situation may be referred to as the second situation.
[0023] It can be understood that, for the first case and the second case mentioned above, two different cleaning instructions can be set accordingly.
[0024] In addition, in the embodiment of the present application, the method of obtaining the user's cleaning instruction for the printer nozzle is not limited. For example, a physical button corresponding to the cleaning instruction can be set on the printer, and the user's cleaning instruction for the printer nozzle can be obtained by pressing the corresponding physical button. In addition, a touch screen can be set on the printer, and an icon button corresponding to the cleaning instruction is set on the touch screen, and the user's cleaning instruction for the printer nozzle can also be obtained through the icon button.
[0025] Step S12, when the cleaning instruction is the first cleaning instruction, control the printer to perform a first test action to determine the first cleaning cycle of the printer nozzle; control the printer to clean the printer nozzle according to the first cleaning cycle; wherein, during the first cleaning cycle, the printer nozzle is not blocked.
[0026] Specifically, corresponding to the first case and the second case mentioned above, two cleaning instructions may be set respectively. For the convenience of description, the two cleaning instructions may be referred to as the first cleaning instruction and the second cleaning instruction respectively.
[0027] In addition, in the embodiment of the present application, for the first and second situations mentioned above, the key lies in the cleaning cycle. For the convenience of description, the cleaning cycle corresponding to the first situation can be called the first cleaning cycle, and the cleaning cycle corresponding to the second situation can be called the second cleaning cycle.
[0028] Specifically, when the nozzle of the printer is cleaned according to the first cleaning cycle, the nozzle of the printer is not blocked, which can also be understood as cleaning the nozzle of the printer before the nozzle of the printer is blocked. Therefore, the first cleaning instruction can also be called "printable mode at any time".
[0029] Since the specific value of the duration corresponding to the first cleaning cycle is unknown, when the user's cleaning instruction is the first cleaning instruction, the printer can be controlled to perform a test to determine the first cleaning cycle.
[0030] Exemplarily, after the printer starts working for T time from the first time, the printer nozzle may or may not be clogged, and whether the printer nozzle is clogged can be determined by testing the printer nozzle. If the printer nozzle is not clogged after the printer starts working for T time from the first time, the printer nozzle can be tested after a longer interval. Specifically, if the printer nozzle is clogged after the printer starts working for T time from the first time, the printer nozzle can be tested after a shorter interval. In this way, by making multiple attempts according to the above method, a longest time interval can be found. When the printer nozzle is cleaned with this time interval as the cleaning cycle, the printer nozzle has not been clogged before each cleaning. For the convenience of description, this time interval can be referred to as the first cleaning cycle.
[0031] After determining the first cleaning cycle, the printer is controlled to clean the printer nozzle according to the first cleaning cycle. In this way, the printer nozzle is cleaned before it is clogged, and the printer nozzle will not be clogged.
[0032] Step S13, when the cleaning instruction is the second cleaning instruction, control the printer to perform a second test action to determine the second cleaning cycle of the printer nozzle; control the printer to clean the printer nozzle according to the second cleaning cycle; wherein, during the second cleaning cycle, the printer nozzle is clogged, and after a preset number of cleanings, the printer nozzle can be unblocked.
[0033] For the second situation mentioned above, the printer nozzle can be allowed to be blocked, as long as the printer nozzle can be unblocked after a preset number of cleanings. Therefore, the second cleaning instruction can also be called a "mode for preventing serious blockage of the printer nozzle".
[0034] It should be noted that in the embodiment of the present application, the above-mentioned preset number of times is not limited. For example, the above-mentioned preset number of times can be set to 3 times, etc., which is equivalent to, when the printer nozzle is cleaned according to the second cleaning cycle, before the corresponding cleaning of the printer nozzle is performed, the printer nozzle is in a blocked state, but after the printer nozzle is cleaned less than or equal to 3 times, the printer nozzle can be unblocked.
[0035] Since the specific value of the duration corresponding to the second cleaning cycle is unknown, when the user's cleaning instruction is the second cleaning instruction, the printer can be controlled to perform a test to determine the second cleaning cycle.
[0036] Exemplarily, after the printer has been turned on for T time since it was first started, the printer nozzle may or may not be blocked. The printer nozzle may be severely blocked (cannot be unblocked after a preset number of cleanings) or not severely blocked (can be unblocked after a preset number of cleanings). By testing and cleaning the printer nozzle, it can be determined whether the printer nozzle is not in a state of severe blockage. Specifically, if the printer nozzle is not blocked after the printer has been turned on for T time since it was first started, the printer nozzle can be tested after a longer interval until the printer nozzle is blocked and can be unblocked after a preset number of cleanings. In this way, by making multiple attempts according to the above method, a longest time interval can be found. When the printer nozzle is cleaned at this time interval, although the printer nozzle is blocked, it can be unblocked after a preset number of cleanings.
[0037] Through the above settings, in the control method of the printer provided in the embodiment of the present application, the optimal cleaning method for the printer nozzle can be determined according to the user's cleaning instructions. Specifically, under the first cleaning instruction, the first cleaning cycle can be determined, and then the printer nozzle is automatically cleaned according to the first cleaning cycle; under the second cleaning instruction, the second cleaning cycle can be determined, and then the printer nozzle is automatically cleaned according to the second cleaning cycle. Compared with the cleaning method for the printer nozzle in the related art, the control method of the printer provided in the embodiment of the present application is more intelligent, and the maintenance of the printer nozzle is simpler, which can save the user's maintenance time for the printer nozzle, make the maintenance cost of the printer nozzle lower, and reduce the use of ink in the cleaning process of the printer nozzle; by determining the first cleaning cycle and the second cleaning cycle, it is possible to determine a better solution for cleaning the printer nozzle.
[0038] On this basis, in some embodiments of the present application, controlling the printer to perform the first test action and determining the first cleaning cycle of the printer nozzle can be achieved in the following manner:
[0039] After the printer starts working for a period of time T, the printer nozzle is tested for the first time;
[0040] If the result of the first detection is clogging, continue to detect the printer nozzle;
[0041] Divide the time T into n consecutive time intervals of equal duration;
[0042] The printer nozzle is tested multiple times to determine an Nth time interval; wherein the printer nozzle is not clogged during a time period corresponding to the Nth time interval, and the printer nozzle is clogged during a time period corresponding to an N+1th time interval; wherein 2≤N≤n, N is a positive integer; 2≤n, n is a positive integer;
[0043] The time corresponding to the starting point of the Nth time interval is taken as the first cleaning cycle.
[0044] Specifically, in the embodiment of the present application, the numerical value of the time T is not limited, and the time T can be preset. For example, the time T can be set to 24 hours. That is, the first detection of the printer nozzle is performed 24 hours after the printer starts working.
[0045] Furthermore, the result of the first detection of the printer nozzle may be that the printer nozzle is clogged, or that the printer nozzle is not clogged.
[0046] On this basis, when the printer nozzle is clogged, it indicates that the first cleaning cycle needs to be set to a time shorter than T. In order to determine the first cleaning cycle, the printer nozzle may continue to be tested.
[0047] Furthermore, the time T may be divided into n consecutive time intervals of equal duration.
[0048] It should be noted that in the embodiment of the present application, the specific value of n is not limited, and can be determined according to the accuracy of the first cleaning cycle. When the accuracy of the first cleaning cycle needs to be determined to be higher, the value of n can be set to be larger, and when the accuracy of the first cleaning cycle needs to be determined to be smaller, the value of n can be set to be smaller.
[0049] For example, when T is set to 24 hours, n can be set to 12 or 24. When n is set to 12, 24 hours are divided into 12 time intervals, and the duration of each time interval is 2 hours. Specifically, they are [0,2], [2,4], [4,6], [6,8], [8,10], [10,12], [12,14], [14,16], [16,18], [18,20], [20,22], and [22,24].
[0050] On this basis, the printer nozzle can be tested according to the above time interval. For example, the middle time in the above time interval can be selected to test the printer nozzle. If the printer nozzle is not blocked during the time interval, the printer nozzle can be tested in the next time interval. Thus, a longer time when the printer nozzle is not blocked can be determined.
[0051] For example, 24 hours after the printer starts working, the printer nozzle is inspected for the first time. If the printer nozzle is clogged, the printer nozzle can be inspected again 1 hour after the first inspection (within the [0,2] time interval). If the printer nozzle is not clogged, the printer nozzle can be inspected again after 3 hours (within the [2,4] time interval). If the printer nozzle is not clogged, the printer nozzle can be inspected again in the next time interval.
[0052] The above steps are repeated until the Nth time interval. It should be noted that the printer nozzle is not clogged during the time corresponding to the Nth time interval, and the printer nozzle is clogged during the time corresponding to the N+1th time interval.
[0053] It should be noted that the Nth time interval and the N+1th time interval are two adjacent time intervals, and according to the order of the time intervals from small to large, the N+1th time interval is located after the Nth time interval.
[0054] Exemplarily, in the above 12 intervals, the time interval [2,4] is the second time interval, and the time interval [4,6] is the third time interval. If the last detection result is not blocked, and the detection result of the printer nozzle is not blocked after 3 hours (within the time interval [2,4]), and the detection result of the printer nozzle is blocked after 5 hours (within the time interval [4,6]), then N=2.
[0055] It should be noted that, in the embodiments of the present application, 2≤n, n is a positive integer; 2≤N≤n, N is a positive integer.
[0056] In addition, the Nth time interval may also be determined by a “binary method”. For the convenience of description, T is 24 hours.
[0057] First, 24 hours after the printer starts working, the printer nozzle is tested for the first time. If the first test result shows that the printer nozzle is clogged, the printer nozzle is tested for the second time 12 hours later. If the second test result shows that the printer nozzle is clogged, the printer nozzle is tested for the third time 6 hours later, and so on, until it is determined that the cleaning cycle of the printer nozzle is within the above time range.
[0058] On this basis, the time corresponding to the starting point of the Nth time interval can be taken as the first cleaning cycle.
[0059] For example, when the detection result of the printer nozzle is found to be clogged after 5 hours (within the [4, 6] time interval), 2 hours (the starting point of the [2, 4] time interval) can be used as the first cleaning cycle.
[0060] On this basis, in the embodiment of the present application, the length of the duration included in the time interval can be set to be less than or equal to 0.5 hours.
[0061] In this way, the accuracy of the first cleaning cycle can be improved, the length of the first cleaning cycle can be made as long as possible, and the number of times the printer nozzle is cleaned can be reduced.
[0062] In addition, in the embodiment of the present application, it is possible that the detection result of the printer nozzle is not blocked after the printer starts working for a time T. In this case, the detection time of the printer nozzle can be extended based on the time T to determine the first cleaning cycle.
[0063] On this basis, in some embodiments of the present application, controlling the printer to perform the first test action and determining the first cleaning cycle of the printer nozzle can be achieved in the following manner:
[0064] After the printer starts working for a period of time T, the printer nozzle is tested for the first time;
[0065] If the result of the first detection is that there is no blockage, continue to detect the printer nozzle;
[0066] If the result of the mth detection is not blocked, continue to perform the m+1th detection after A×m×T time, until the result of the mth detection is not blocked and the result of the m+1th detection is blocked;
[0067] Continue to detect the printer nozzle after the first time between A×m×T and A×(m+1)×T;
[0068] In the case where the nozzle of the printer is clogged, A×m×T is used as the first cleaning cycle;
[0069] When the printer nozzle is not clogged, the first time is used as the first cleaning cycle; wherein 1≤m, m is a positive integer, and 1<A.
[0070] It should be noted that in the embodiment of the present application, the value of A is not limited. For example, when the time T is set to 24 hours, A can be set to 7. This also means that when the printer nozzle is tested for the first time and the result of the first test is that it is not blocked, the printer nozzle is tested for the second time after 7 days. If the result of the second test is that it is not blocked, the printer nozzle is tested for the third time after 14 days, and so on.
[0071] Repeat the above steps until the mth detection result of the printer nozzle is not blocked and the m+1th detection result is blocked. This also shows that the longest unblocked time of the printer nozzle is between A×m×T and A×(m+1)×T.
[0072] On this basis, a time between A×m×T and A×(m+1)×T can be selected to continue testing the printer nozzle. For the convenience of description, the time between A×m×T and A×(m+1)×T can be called the first time. If the test result of the printer nozzle is blocked, A×m×T can be used as the first cleaning cycle; if the test result of the printer nozzle is not blocked, the first time can be used as the first cleaning cycle.
[0073] Exemplarily, the first time may be set to an intermediate time between A×m×T and A×(m+1)×T; in addition, the first time may also be set to other time between A×m×T and A×(m+1)×T.
[0074] For example, in some embodiments of the present application, T can be set to 24 hours, A can be set to 7, and the first time can be set to 7×m×24+4×24 hours. That is, in the case of days as the unit, the first time can be set to 7×m+4 days.
[0075] In addition, in some embodiments of the present application, controlling the printer to perform the second test action and determining the second cleaning cycle of the printer nozzle can be achieved in the following manner:
[0076] After the printer starts working for a period of time T, the printer nozzle is tested for the first time;
[0077] If the result of the first detection is that there is no blockage, the printer nozzle is detected and cleaned for multiple times until the detection result of the printer nozzle is that the blockage occurs and cannot be cleared after a preset number of cleanings, and the time t from the last cleaning of the printer nozzle is determined; wherein T<t;
[0078] Divide the time t into b consecutive time intervals of equal duration;
[0079] The printer nozzle is tested multiple times to determine the Bth time interval; wherein, during the time corresponding to the Bth time interval, the printer nozzle is blocked and can be unblocked after a preset number of cleanings, and during the time corresponding to the B+1th time interval, the printer nozzle is blocked and cannot be unblocked after a preset number of cleanings; wherein, 2≤B≤b, B is a positive integer; 2≤b, b is a positive integer;
[0080] The time corresponding to the starting point of the Nth time interval is the second cleaning cycle.
[0081] It can be understood that in the embodiment of the present application, the second cleaning cycle can be understood with reference to the above description of the first cleaning cycle, except that the conditions satisfied by the printer nozzle detection result are different.
[0082] Specifically, under the second cleaning instruction, a slight blockage of the printer nozzle is allowed, as long as the printer nozzle can be unblocked after a preset number of cleanings.
[0083] On this basis, the first detection of the printer nozzle can be performed after the printer nozzle starts working for a time T. At this time, the first detection result of the printer nozzle may be unblocked or blocked; when the printer nozzle is blocked, the printer nozzle is cleaned according to the preset number of times. At this time, the printer nozzle may be unblocked or unblocked. When the printer nozzle can be unblocked, the time of the next detection is extended based on the time T until the detection result of the printer nozzle is blocked and cannot be unblocked after a preset number of cleanings. Determine the time t from the last cleaning of the printer nozzle. It can be understood that T<t.
[0084] Furthermore, the time t can be divided into b consecutive time intervals of equal duration.
[0085] It should be noted that in the embodiment of the present application, the specific value of b is not limited, and can be determined according to the accuracy of the second cleaning cycle. When the accuracy of the second cleaning cycle needs to be determined to be higher, the value of b can be set to be larger, and when the accuracy of the second cleaning cycle needs to be determined to be smaller, the value of b can be set to be smaller.
[0086] For example, when t is 48 hours, b may be set to 12 or 24. Specifically, the division may be performed with reference to the above division of the time interval of T.
[0087] On this basis, the printer nozzle can be tested according to the above-mentioned time interval. Exemplarily, the middle time in the above-mentioned time interval can be selected to test the printer nozzle. If the printer nozzle is not blocked or blocked but can be unblocked after a preset number of cleanings during this time interval, continue to test the printer nozzle in the next time interval until the printer nozzle is blocked and cannot be unblocked after a preset number of cleanings. For the convenience of description, the time interval corresponding to the blockage of the printer nozzle and the inability to be unblocked after a preset number of cleanings can be called the B+1 time interval. It should be noted that when the printer nozzle is tested at the time corresponding to the Bth time interval, the printer nozzle is not blocked or blocked but can be unblocked after a preset number of cleanings.
[0088] It should be noted that the Bth time interval and the B+1th time interval are two adjacent time intervals, and according to the order of the time intervals from small to large, the B+1th time interval is located after the Bth time interval.
[0089] On this basis, the time corresponding to the starting point of the Bth time interval can be used as the second cleaning cycle.
[0090] Specifically, the above-mentioned method for determining the first cleaning cycle may be referred to for understanding.
[0091] In addition, in some embodiments of the present application, after the printer starts working for a period of time T, the result of the first inspection of the printer nozzle may be that it is not blocked or that it is blocked but can be unblocked after a preset number of cleanings.
[0092] On this basis, in some embodiments of the present application, controlling the printer to perform the second test action and determining the second cleaning cycle of the printer nozzle can be achieved in the following manner:
[0093] After the printer starts working for a period of time T, the printer nozzle is tested for the first time;
[0094] If the result of the first detection is that there is no blockage or the blockage can be cleared after a preset number of cleanings, continue to detect the printer nozzle;
[0095] If the b-th detection result shows that the blockage can be unblocked after the preset number of cleanings, continue to perform the b+1-th detection after C×b×T time, until the b-th detection result shows that the blockage can be unblocked after the preset number of cleanings, and the b+1-th detection result shows that the blockage cannot be unblocked after the preset number of cleanings;
[0096] Continue to detect the printer nozzle after a second time between C×b×T and C×(b+1)×T;
[0097] When the nozzle of the printer is clogged and cannot be cleared after a preset number of cleanings, C×b×T is used as the first cleaning cycle;
[0098] When the nozzle of the printer is clogged and can be unblocked after a preset number of cleanings, the second time is taken as the first cleaning cycle; wherein 1≤b, b is a positive integer, and 1<C.
[0099] It should be noted that in the embodiment of the present application, the value of C is not limited. For example, when the time T is set to 24 hours, C can be set to 7. This also means that when the printer nozzle is tested for the first time, if the result of the first side test is that it is not blocked or blocked but can be unblocked after a preset number of cleanings, the printer nozzle is tested for the second time after 7 days. If the result of the second test is that it is not blocked or blocked but can be unblocked after a preset number of cleanings, the printer nozzle is tested for the third time after 14 days, and so on.
[0100] Repeat the above steps until the printer nozzle is not clogged or clogged but can be unblocked after a preset number of cleanings in the bth detection result, and is clogged and cannot be unblocked after a preset number of cleanings in the b+1th detection result. This also shows that the longest time that the printer nozzle can be unblocked after a clogged and a preset number of cleanings is between C×b×T and C×(b+1).
[0101] On this basis, a time between C×b×T and C×(b+1) can be selected to continue testing the printer nozzle. For the convenience of description, the time between C×b×T and C×(b+1) can be called the second time. If the test result of the printer nozzle is blocked and cannot be unblocked after a preset number of cleanings, C×b×T can be used as the second cleaning cycle; if the test result of the printer nozzle is not blocked or blocked but can be unblocked after a preset number of cleanings, the second time can be used as the second cleaning cycle.
[0102] Exemplarily, the second time may be set to an intermediate time between C×b×T and C×(b+1); in addition, the second time may also be set to other time between C×b×T and C×(b+1).
[0103] Specifically, the description of the second time can be understood by referring to the aforementioned description of the first time.
[0104] In addition, in some embodiments, the ink used by the printer may be relatively expensive, such as 3D printing ink. For relatively expensive inks, the cleaning cost may be relatively high.
[0105] In view of this, in some embodiments of the present application, the first cleaning cycle and the second cleaning cycle can also be determined according to the amount of ink used in a single cleaning.
[0106] Specifically, in the embodiment of the present application, determining the first cleaning cycle of the printer nozzle can be achieved in the following manner:
[0107] Determine the amount of ink used for a single cleaning of the printer nozzle;
[0108] Based on the ink usage of a single cleaning of the printer nozzle, a first cleaning cycle of the printer nozzle is determined to minimize the ratio of the ink usage of a single cleaning to the first cleaning cycle.
[0109] It should be noted that the longer the cycle of cleaning the printer nozzle, the more ink will be used in a single cleaning. The total amount of ink used for cleaning the printer nozzle within a certain period of time is determined by the cycle of cleaning the printer nozzle and the amount of ink used in a single cleaning.
[0110] For example, assuming that the cleaning cycle of the printer nozzle is 4 hours, the amount of ink used in a single cleaning is Y; when the cleaning cycle of the printer nozzle is greater than 4 hours, the amount of ink used in a single cleaning is greater than Y.
[0111] On this basis, the ratio of the ink consumption of a single cleaning to the first cleaning cycle can be used to characterize the economic efficiency of cleaning the printer nozzle. In this way, the first cleaning cycle can be determined to minimize the ratio of the ink consumption of a single cleaning to the first cleaning cycle.
[0112] Similarly, determining the second cleaning cycle of the printer nozzle can be achieved in the following ways:
[0113] Determine the amount of ink used for a single cleaning of the printer nozzle;
[0114] Based on the ink usage of a single cleaning of the printer nozzle, a second cleaning cycle of the printer nozzle is determined to minimize the ratio of the ink usage of a single cleaning to the second cleaning cycle.
[0115] It should be noted that in order to determine the amount of ink used in a single cleaning of the printer nozzle, a code disk can be used with a photoelectric sensor to record the number of revolutions of the ink suction pump each time to measure the amount of ink used for each cleaning. In addition, the amount of ink used for each cleaning can also be approximately measured by using the time of the voltage acting on the ink suction pump.
[0116] It should be noted that in the embodiment of the present application, the printer nozzle is cleaned after each inspection of the printer nozzle, and each cleaning of the printer nozzle includes main cleaning, secondary cleaning and flash cleaning of the printer nozzle in sequence.
[0117] Cleaning the printer nozzle after each inspection can clear potential or unnoticed blockages (close to the state of the printer nozzle when the printer starts working), ensuring that the next inspection of the printer nozzle is based on the same starting point, which can make the inspection result of the printer nozzle more accurate.
[0118] It should be noted that in the embodiment of the present application, the main cleaning is mainly used to solve the problem of printer nozzle clogging, the secondary cleaning is mainly used to solve the problem of ink cross-talk between nozzles of different colors of the printer nozzle (for example, the red ink runs into the nozzle of the blue ink), and the flash cleaning is mainly used to solve potential ink cross-talk problems.
[0119] In the embodiment of the present application, in the main cleaning stage, the ink suction pump can be controlled to rotate slowly within 1 second, and then the ink suction pump can be controlled to rotate quickly for no more than 5 seconds (the duration should not be too long, as it will cause serious ink cross-talk); in the secondary cleaning stage, the ink suction pump can be controlled to rotate slowly within 0.3 seconds, and then the ink suction pump can be controlled to rotate quickly within 1 second; and then flash spraying can be performed for 1 second. In this way, potential ink cross-talk problems can be solved.
[0120] In addition, in some embodiments of the present application, a visual device may be used to detect whether the printer nozzle is clogged.
[0121] Specifically, in the embodiment of the present application, the printer nozzle can be detected in the following manner:
[0122] Control the printer to print the test strip;
[0123] Use visual equipment to inspect the test strip to determine whether the test strip is broken;
[0124] If the test strip is broken, it is determined that the printer nozzle is clogged; if the test strip is not broken, it is determined that the printer nozzle is not clogged.
[0125] It should be noted that in the embodiments of the present application, the type of visual device is not limited. For example, a scanning image sensor can be used to set the visual device, such as a line scan camera, which can be a contact line scan camera; or a non-contact line scan camera composed of an image sensor and a lens. In addition, an ordinary commercial camera can also be used as a visual device.
[0126] On this basis, by installing the visual device on the side of the printer nozzle carriage or at the paper outlet of the printer, the visual device can be used to obtain visual information of the print strip, and on this basis, it can be determined whether the test strip is broken.
[0127] For example, a visual recognition algorithm may be used to determine whether the printer test strip is broken. Specifically, a visual recognition algorithm in the Halcon software library or the OpenCV software library may be used. Figure 2 , which is a schematic diagram of a test strip with a broken wire.
[0128] In addition, in some embodiments of the present application, it is also possible not to use visual equipment to determine whether the test strip is broken, but to determine whether the test strip is broken based on the customer's visual judgment and through user input.
[0129] It should be noted that in the embodiments of the present application, the printer nozzle may still be clogged after many tests and cleanings. In this way, a clogging coefficient can be set. When it is less than the clogging coefficient, the printer nozzle can be considered qualified. Exemplarily, the clogging coefficient can be considered as the ratio of the number of nozzles clogged in the printer nozzle to the total number of nozzles. It is understandable that after the nozzles of the printer nozzle are used for a long time, they will be worn out, which may cause some nozzles to be unusable. However, the clogging of a few nozzles does not affect the use of the printer when the printing accuracy requirements are not high or for some special purposes (such as white ink nozzles for printing background).
[0130] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The software product is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a personal computer, server, network equipment or vehicle-mounted computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software and firmware.
[0131] Thus, in the embodiment of the present application, the above-mentioned readable medium can be used as a part of the printer and integrated into the mainboard of the printer when the printer is produced. In addition, the above-mentioned readable medium can also be integrated into a new mainboard, and the printer can be modified in combination with the hardware components in the above description (such as the above-mentioned image sensor). The new mainboard can be used to control the detection and cleaning of the printer nozzle, and can also be used to determine whether the test strip is broken using a visual device; in addition, the new mainboard can also be used to control the ink suction pump and control the movement of the printer nozzle carriage. Specifically, by detecting the grating information, the specific position of the printer nozzle carriage can be determined, because in the process of cleaning the printer nozzle, the printer nozzle carriage needs to be moved. In order to ensure that there is no cumulative error in the position control of the printer nozzle carriage, the position of the printer nozzle carriage needs to be calibrated and calibrated frequently. On this basis, a photoelectric sensor can be used for the calibration of the printer nozzle carriage.
[0132] On this basis, the embodiment of the present application also provides a printer, such as Figure 3 As shown, the printer 300 includes a first acquisition module 301, a first control module 302 and a second control module 303. Among them:
[0133] The first acquisition module 301 is used to obtain a user's instruction for cleaning the printer nozzle.
[0134] The first control module 302 is used to control the printer to perform a first test action and determine a first cleaning cycle of the printer nozzle when the cleaning instruction is a first cleaning instruction; control the printer to clean the printer nozzle according to the first cleaning cycle; wherein, during the first cleaning cycle, the printer nozzle is not blocked.
[0135] The second control module 303 is used to control the printer to perform a second test action and determine a second cleaning cycle of the printer nozzle when the cleaning instruction is a second cleaning instruction; control the printer to clean the printer nozzle according to the second cleaning cycle; wherein, during the second cleaning cycle, the printer nozzle is clogged, and after a preset number of cleanings, the printer nozzle can be unblocked.
[0136] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0137] An embodiment of the present application provides an electronic device, which includes a processor, a memory, a communication interface and a communication bus, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.
[0138] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.
[0139] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in an electronic device, a processor in the electronic device executes some or all of the steps for implementing the above method.
[0140] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK) and the like.
[0141] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
[0142] The present application also provides an electronic device, which should be noted that, referring to Figure 4 , is a schematic diagram of the hardware entity of the electronic device in the embodiment of the present application. It can be understood that in the embodiment of the present application, the electronic device can be a printer. Figure 4 As shown, the hardware entity of the electronic device 400 includes: a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein:
[0143] The processor 401 generally controls the overall operation of the electronic device 400;
[0144] The communication interface 402 and the communication bus 404 may enable the electronic device 400 to communicate with other terminals or servers via a network;
[0145] The memory 403 is configured to store instructions and applications executable by the processor 401, and can also cache data to be processed or processed by the processor 401 and each module in the electronic device 400 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data transmission can be performed between the processor 401, the communication interface 402, and the memory 403 through the bus 404.
[0146] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.
[0147] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0148] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0149] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0150] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0151] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0152] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0153] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for controlling a printer, characterized in that: The control method comprises: Get the user's instructions for cleaning the printer nozzle; When the cleaning instruction is a first cleaning instruction, the printer is controlled to perform a first test action to determine a first cleaning cycle of the printer nozzle; the printer is controlled to clean the printer nozzle according to the first cleaning cycle; wherein, during the first cleaning cycle, the printer nozzle is not blocked; When the cleaning instruction is the second cleaning instruction, the printer is controlled to perform a second test action to determine a second cleaning cycle of the printer nozzle; the printer is controlled to clean the printer nozzle according to the second cleaning cycle; wherein, during the second cleaning cycle, the printer nozzle is clogged, and after a preset number of cleanings, the printer nozzle can be unblocked.
2. The control method according to claim 1, characterized in that: The controlling the printer to perform a first test action to determine a first cleaning cycle of the printer nozzle includes: After the printer starts working for a period of time T, the printer nozzle is tested for the first time; If the result of the first detection is blockage, continue to detect the printer nozzle; Divide the time T into n consecutive time intervals of equal duration; The printer nozzle is tested multiple times to determine an Nth time interval; wherein the printer nozzle is not clogged during a time period corresponding to the Nth time interval, and the printer nozzle is clogged during a time period corresponding to an N+1th time interval; wherein 2≤N≤n, N is a positive integer; 2≤n, n is a positive integer; The time corresponding to the starting point of the Nth time interval is taken as the first cleaning cycle.
3. The control method according to claim 2, characterized in that: The time interval includes a duration that is less than or equal to 0.5 hours.
4. The control method according to claim 1, characterized in that: The controlling the printer to perform a first test action to determine a first cleaning cycle of the printer nozzle includes: After the printer starts working for a period of time T, the printer nozzle is tested for the first time; If the result of the first detection is that there is no blockage, continue to detect the printer nozzle; If the result of the mth detection is not blocked, continue to perform the m+1th detection after A×m×T time, until the result of the mth detection is not blocked and the result of the m+1th detection is blocked; Continue to detect the printer nozzle after the first time between A×m×T and A×(m+1)×T; In the case where the nozzle of the printer is clogged, A×m×T is used as the first cleaning cycle; When the printer nozzle is not clogged, the first time is used as the first cleaning cycle; wherein 1≤m, m is a positive integer, and 1<A.
5. The control method according to claim 1, characterized in that: The controlling the printer to perform a second test action to determine a second cleaning cycle of the printer nozzle includes: After the printer starts working for a period of time T, the printer nozzle is tested for the first time; If the result of the first detection is that the nozzle is not blocked, the nozzle of the printer is detected and cleaned for multiple times until the detection result of the nozzle of the printer is blocked and cannot be unblocked after a preset number of cleanings, and the time t from the last cleaning of the nozzle of the printer is determined; wherein T<t; Divide the time t into b consecutive time intervals of equal duration; The printer nozzle is tested multiple times to determine the Bth time interval; wherein, during the time corresponding to the Bth time interval, the printer nozzle is blocked and can be unblocked after a preset number of cleanings, and during the time corresponding to the B+1th time interval, the printer nozzle is blocked and cannot be unblocked after a preset number of cleanings; wherein, 2≤B≤b, B is a positive integer; 2≤b, b is a positive integer; The time corresponding to the starting point of the Bth time interval is the second cleaning cycle.
6. The control method according to claim 2, characterized in that: The controlling the printer to perform a second test action to determine a second cleaning cycle of the printer nozzle includes: After the printer starts working for a period of time T, the printer nozzle is tested for the first time; If the result of the first detection is that there is no blockage or the blockage can be cleared after a preset number of cleanings, continue to detect the printer nozzle; If the b-th detection result shows that the blockage can be unblocked after the preset number of cleanings, continue to perform the b+1-th detection after C×b×T time, until the b-th detection result shows that the blockage can be unblocked after the preset number of cleanings, and the b+1-th detection result shows that the blockage cannot be unblocked after the preset number of cleanings; Continue to detect the printer nozzle after a second time between C×b×T and C×(b+1)×T; When the nozzle of the printer is clogged and cannot be cleared after a preset number of cleanings, C×b×T is used as the first cleaning cycle; When the nozzle of the printer is clogged and can be unblocked after a preset number of cleanings, the second time is taken as the first cleaning cycle; wherein 1≤b, b is a positive integer, and 1<C.
7. The control method according to claim 1, characterized in that: Determining the first cleaning cycle of the printer nozzle includes: Determine the amount of ink used for a single cleaning of the printer nozzle; Determining a first cleaning cycle of the printer nozzle based on the amount of ink used in a single cleaning of the printer nozzle, so as to minimize the ratio of the amount of ink used in the single cleaning to the first cleaning cycle; Determining the second cleaning cycle of the printer nozzle includes: Determine the amount of ink used for a single cleaning of the printer nozzle; Based on the ink usage of a single cleaning of the printer nozzle, a second cleaning cycle of the printer nozzle is determined to minimize the ratio of the single ink usage to the second cleaning cycle.
8. The control method according to any one of claims 2 to 7, characterized in that: After each inspection of the printer nozzle, the printer nozzle is cleaned; each cleaning of the printer nozzle includes performing main cleaning, secondary cleaning and flash cleaning on the printer nozzle in sequence.
9. The control method according to any one of claims 2 to 7, characterized in that: The step of detecting the printer nozzle comprises: Controlling the printer to print a test strip; Using a visual device to detect the test strip to determine whether the test strip is broken; In the case where the test strip is broken, it is determined that the printer nozzle is clogged; in the case where the test strip is not broken, it is determined that the printer nozzle is not clogged.
10. A printer, characterized in that: The printer comprises: The first acquisition module is used to obtain the user's cleaning instruction for the printer nozzle; A first control module is used to control the printer to perform a first test action to determine a first cleaning cycle of the printer nozzle when the cleaning instruction is a first cleaning instruction; and control the printer to clean the printer nozzle according to the first cleaning cycle; wherein, during the first cleaning cycle, the printer nozzle is not blocked; The second control module is used to control the printer to perform a second test action and determine a second cleaning cycle of the printer nozzle when the cleaning instruction is a second cleaning instruction; control the printer to clean the printer nozzle according to the second cleaning cycle; wherein, during the second cleaning cycle, the printer nozzle is clogged, and after a preset number of cleanings, the printer nozzle can be unblocked.
Citation Information
Patent Citations
Printer nozzle ink pumping and cleaning method and device, apparatus and printer
CN110525050A
Printer nozzle cleaning method and device and printer
CN110525051A
Inkjet print head cleaning system
CN114025967A
Ink pressing control method and device of ink-jet printer, control panel and printer
CN115489218A
Inkjet multifunction device having a nozzle malfunction repair function and a method for maintaining the same
US20020171699A1
Cited By
Automatic detection and cleaning method, device and equipment for ink-jet printing head and storage medium
CN121179875A
