CN-122008698-A - Ink viscosity adjusting method, device, computer equipment and storage medium
Abstract
The application belongs to the technical field of printer equipment, and relates to an ink viscosity adjusting method, an ink viscosity adjusting device, computer equipment and a storage medium, wherein the method comprises the steps of obtaining motor rotation speed data of an ink pump and flow speed data of ink in an ink channel, and determining an initial viscosity value of the ink according to the motor rotation speed data and the flow speed data; the method comprises the steps of obtaining an initial temperature value of ink, determining a state deviation signal of the ink according to the initial viscosity value, a preset target viscosity value, the initial temperature value and the preset target temperature value, starting a heater according to the state deviation signal, controlling the heater to heat the ink in an ink channel, obtaining a current temperature value and a current viscosity value of the ink, determining a control instruction of the heater according to the current temperature value, the target temperature value, the current viscosity value and the target viscosity value, and closing the heater when the control instruction is detected to be a closing instruction. The application reduces the printer operation faults caused by improper ink viscosity and improves the overall operation efficiency of the printer.
Inventors
- YAN GUOPING
Assignees
- 深圳市深思想科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260326
Claims (10)
- 1. An ink viscosity adjustment method for a printer, the printer comprising an ink pump, an ink channel, and a heater, comprising: Acquiring motor rotation speed data of the ink pump and flow speed data of ink in the ink channel, and determining an initial viscosity value of the ink according to the motor rotation speed data and the flow speed data; Acquiring an initial temperature value of the ink, and determining a state deviation signal of the ink according to the initial viscosity value, a preset target viscosity value, the initial temperature value and the preset target temperature value; starting the heater according to the state deviation signal, controlling the heater to heat the ink in the ink channel, and obtaining the current temperature value and the current viscosity value of the ink; And determining a control instruction of the heater according to the current temperature value, the target temperature value, the current viscosity value and the target viscosity value, and closing the heater when the control instruction is detected to be a closing instruction.
- 2. The ink viscosity adjustment method according to claim 1, wherein the determining the initial viscosity value of the ink based on the motor rotation speed data and the flow rate data includes: determining a mapping relation between the flow rate and the viscosity according to the motor rotation speed data; And determining an initial viscosity value matched with the flow rate data according to the mapping relation.
- 3. The ink viscosity adjustment method according to claim 1, wherein the determining the state deviation signal of the ink according to the initial viscosity value, the preset target viscosity value, the initial temperature value, and the preset target temperature value includes: determining a temperature deviation value according to the initial temperature value and the target temperature value; determining a viscosity deviation value according to the initial viscosity value and the target viscosity value; converting the temperature deviation value and the viscosity deviation value to obtain analog state data; And modulating the analog state data to obtain the state deviation signal.
- 4. The ink viscosity adjustment method according to claim 1, wherein the activating the heater according to the state deviation signal includes: Determining a power parameter of the heater according to the state deviation signal; Generating a heating instruction for the ink according to the power parameter; and starting the heater according to the heating instruction.
- 5. The ink viscosity adjustment method according to claim 1, wherein the control instruction includes a turn-off instruction and a hold instruction, and the determining the control instruction of the heater based on the current temperature value, the target temperature value, the current viscosity value, and the target viscosity value includes: determining a first threshold interval according to the target temperature value; Determining a second threshold interval according to the target viscosity value; if the current temperature value is in the first threshold interval and the target viscosity value is in the second threshold interval, generating a closing instruction of the heater; and if the current temperature value is not in the first threshold value interval or the target viscosity value is not in the second threshold value interval, generating a holding instruction of the heater.
- 6. The ink viscosity adjustment method according to claim 1, wherein the obtaining the initial temperature value of the ink includes: Detecting whether the initial viscosity value is in a third threshold interval corresponding to a preset target viscosity value or not at preset time intervals; and when the initial viscosity value is not in the third threshold value interval, acquiring an initial temperature value of the ink.
- 7. The ink viscosity adjustment method according to any one of claims 1 to 6, characterized by further comprising, after the heater is activated according to the state deviation signal, controlling the heater to heat the ink in the ink channel and acquiring a current temperature value and a current viscosity value of the ink: monitoring a rate of rise of the temperature of the ink; if the rising speed is greater than or equal to a preset safety threshold, an emergency stop instruction is generated; And closing the heater according to the emergency stop command.
- 8. An ink viscosity adjustment device for use in a printer, the printer comprising an ink pump, an ink channel, and a heater, comprising: The first determining module is used for acquiring motor rotation speed data of the ink pump and flow speed data of ink in the ink channel, and determining an initial viscosity value of the ink according to the motor rotation speed data and the flow speed data; The second determining module is used for obtaining an initial temperature value of the ink and determining a state deviation signal of the ink according to the initial viscosity value, a preset target viscosity value, the initial temperature value and the preset target temperature value; the starting module is used for starting the heater according to the state deviation signal, controlling the heater to heat the ink in the ink channel, and obtaining the current temperature value and the current viscosity value of the ink; And the control module is used for determining a control instruction of the heater according to the current temperature value, the target temperature value, the current viscosity value and the target viscosity value, and closing the heater when the control instruction is detected to be a closing instruction.
- 9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which when executed by the processor implement the steps of the ink viscosity adjustment method of any of claims 1 to 7.
- 10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor perform the steps of the ink viscosity adjustment method according to any of claims 1 to 7.
Description
Ink viscosity adjusting method, device, computer equipment and storage medium Technical Field The present application relates to the field of printer devices, and in particular, to a method and apparatus for adjusting viscosity of ink, a computer device, and a storage medium. Background Along with the rapid development of industrial printing technology, the UV printer (Ultraviolet LED Inkjet Printer) has wider application in the fields of advertisement manufacture, industrial part printing and the like by virtue of the advantages of high curing speed and high printing precision, and the requirements of industry on continuous and efficient operation and stable printing quality are continuously improved. The ink viscosity is used as a main control parameter of an ink supply system of the UV printer, and whether the ink is stable or not directly determines the running efficiency of equipment and the effect of printing finished products, so that the ink viscosity becomes a key link of equipment control. At present, the regulation and control of the viscosity of the ink of the UV printer in the industry mainly takes a manual timing detection and manual adjustment heating device as a main part, a few devices are only provided with simple fixed temperature control modules, the viscosity of the ink is indirectly controlled by presetting a single temperature value, and no special viscosity real-time detection and automatic adjustment design exists. The existing regulation and control mode has the problems of hysteresis and human error of manual operation, the simple temperature control module cannot be dynamically adjusted according to the actual viscosity of the ink, automatic adaptation and adjustment of the viscosity are difficult to realize, ink path blockage, uneven ink output and the like are easy to cause, the printer cannot continuously and efficiently operate, and meanwhile, the consistency of a printing finished product is reduced. In view of this, the present application has been proposed. Disclosure of Invention The embodiment of the application aims to provide an ink viscosity adjusting method, an ink viscosity adjusting device, computer equipment and a storage medium, so as to solve the technical problem that when a printer is used, the printer cannot operate efficiently due to the fact that the ink viscosity is difficult to automatically adjust. In order to solve the above technical problems, an embodiment of the present application provides a method for adjusting viscosity of ink, which adopts the following technical scheme, including: Acquiring motor rotation speed data of the ink pump and flow speed data of ink in the ink channel, and determining an initial viscosity value of the ink according to the motor rotation speed data and the flow speed data; Acquiring an initial temperature value of the ink, and determining a state deviation signal of the ink according to the initial viscosity value, a preset target viscosity value, the initial temperature value and the preset target temperature value; starting the heater according to the state deviation signal, controlling the heater to heat the ink in the ink channel, and obtaining the current temperature value and the current viscosity value of the ink; And determining a control instruction of the heater according to the current temperature value, the target temperature value, the current viscosity value and the target viscosity value, and closing the heater when the control instruction is detected to be a closing instruction. Further, the determining the initial viscosity value of the ink according to the motor rotation speed data and the flow rate data includes: determining a mapping relation between the flow rate and the viscosity according to the motor rotation speed data; And determining an initial viscosity value matched with the flow rate data according to the mapping relation. Further, the determining the state deviation signal of the ink according to the initial viscosity value, the preset target viscosity value, the initial temperature value and the preset target temperature value includes: determining a temperature deviation value according to the initial temperature value and the target temperature value; determining a viscosity deviation value according to the initial viscosity value and the target viscosity value; converting the temperature deviation value and the viscosity deviation value to obtain analog state data; And modulating the analog state data to obtain the state deviation signal. Further, the starting the heater according to the state deviation signal includes: Determining a power parameter of the heater according to the state deviation signal; Generating a heating instruction for the ink according to the power parameter; and starting the heater according to the heating instruction. Further, the control instructions include a closing instruction and a holding instruction, and the determining the control instruction of the heate