Method, device and equipment for protecting reverse connection of spray head power line and storage medium
By obtaining the actual voltage at the voltage output terminal of the nozzle control board and judging the status flag, the problem of no protection when the polarity of the nozzle power line is reversed is solved, realizing timely protection and user prompts, and extending the service life of the nozzle.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-24
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, the nozzle cannot be protected in time when the polarity of the power cord is reversed, resulting in a shortened lifespan or damage to the nozzle, and no warning is given to the user.
By acquiring the actual voltage at the voltage output terminal on the nozzle control board, comparing the actual voltage with the preset working voltage range, the preset unconnected voltage, and the preset reverse connection voltage, writing a status flag, and determining whether to supply power to the nozzle based on the status flag, the nozzle drive board is driven to issue an alarm signal.
It enables timely protection of the printhead when the power cord polarity is reversed, preventing damage and alerting the user, thus extending the printhead's lifespan.
Smart Images

Figure CN116691158B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of piezoelectric inkjet printing, and more particularly to a method, apparatus, equipment, and storage medium for protecting the printhead power line from reverse connection. Background Technology
[0002] Piezoelectric inkjet printing refers to printing images or text by applying a voltage to a piezoelectric crystal, causing it to deform at high speed and slightly, forcing ink out of the ink chamber from the nozzle. When the piezoelectric crystal is subjected to an external pulse voltage, it deforms, reducing the volume of the ink chamber in the nozzle. Thus, a drop of ink is ejected from the nozzle. Then, the piezoelectric crystal returns to its original shape, and new ink enters the nozzle due to surface tension. By arranging a large number of nozzles side-by-side, ideal print width and resolution can be achieved.
[0003] The power cord for the printhead is often installed by non-professionals, which can lead to problems such as reversed power cord connection, high voltage and low voltage reversal, and excessive voltage. Currently, printhead protection methods are mostly traditional, such as fast-acting fuses, resettable fuses, and TVS diodes. In most cases, these methods cannot effectively protect the printhead within a short period of time and cannot provide any warning to the user, resulting in a shorter lifespan of the printhead or even damage. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, device and storage medium for protecting the nozzle power cord from reverse polarity, in order to solve the technical problem in the prior art that the nozzle cannot be protected within an effective time when the polarity of the nozzle power cord is reversed.
[0005] In a first aspect, embodiments of the present invention provide a method for protecting the power cord of a nozzle from reverse connection, characterized in that the method includes:
[0006] Obtain the actual voltage at the voltage output terminal on the nozzle control board;
[0007] The comparison results are obtained by comparing the actual voltage with the preset operating voltage range, the preset unconnected voltage, and the preset reverse connection voltage.
[0008] Write the comparison result to the status flag;
[0009] Based on the status flag, determine whether to supply power to the nozzle.
[0010] Preferably, obtaining the voltage at the voltage output terminal on the nozzle control board, denoted as the actual voltage, includes:
[0011] Apply a preset voltage to the nozzle control board;
[0012] Before powering on the nozzle, the voltage at the voltage output terminal on the nozzle control board is obtained and recorded as the actual voltage.
[0013] Preferably, the status flag for writing the comparison result includes:
[0014] When the actual voltage is within the preset operating voltage range, a first status flag is written;
[0015] When the actual voltage equals the preset reverse voltage, write the second status flag;
[0016] When the actual voltage equals the preset unconnected voltage, write the third state flag;
[0017] Write the detection completion flag.
[0018] Preferably, determining whether to supply power to the nozzle based on the status flag includes:
[0019] In response to the writing of the detection completion flag, the status flag is read;
[0020] When the status flag is the first status flag, power is supplied to the nozzle according to the preset voltage;
[0021] When the status flag is the second status flag, no power is supplied to the nozzle, and the nozzle drive board is driven to issue an alarm signal;
[0022] When the status flag is the third status flag, no power is supplied to the nozzle.
[0023] Preferably, after determining whether to supply power to the nozzle based on the status flag, the method further includes:
[0024] The status flag is read at first preset time intervals;
[0025] The corresponding prompt information is displayed based on the status flag.
[0026] Preferably, displaying the corresponding prompt information based on the status flag includes:
[0027] When the status flag is the second status flag, the first prompt message is displayed;
[0028] When the status flag is the third status flag, the second prompt message is displayed.
[0029] Preferably, the preset operating voltage range is obtained through the following steps:
[0030] Connect the nozzle power cord according to the preset connection rules;
[0031] Drive the printhead to perform one inkjet print and obtain voltage data;
[0032] The preset operating voltage range is determined based on the maximum and minimum values of the voltage data.
[0033] Secondly, embodiments of the present invention provide a reverse connection protection device for a nozzle power cord, characterized in that the device comprises:
[0034] The voltage acquisition module is used to acquire the actual voltage at the voltage output terminal on the nozzle control board;
[0035] The comparison module is used to compare the actual voltage with the preset operating voltage range, the preset unconnected voltage, and the preset reverse connection voltage to obtain the comparison result;
[0036] The status flag writing module writes the comparison result to the status flag.
[0037] The judgment module is used to determine whether to supply power to the nozzle based on the status flag.
[0038] Thirdly, embodiments of the present invention provide a nozzle power cord reverse connection protection device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method of the first aspect described above.
[0039] Fourthly, embodiments of the present invention provide a storage medium storing computer program instructions, which, when executed by a processor, implement the method of the first aspect described above.
[0040] In summary, the beneficial effects of the present invention are as follows:
[0041] The nozzle power cord reverse connection protection method, device, equipment, and storage medium provided in this invention obtain the actual voltage of the voltage output terminal on the nozzle control board; compare the actual voltage with a preset working voltage range, a preset unconnected voltage, and a preset reverse connection voltage to obtain a comparison result; write the comparison result into a status flag; and determine whether to supply power to the nozzle based on the status flag, thereby protecting the nozzle in a timely manner when the nozzle power cord polarity is reversed, avoiding nozzle damage, and extending the nozzle's lifespan. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.
[0043] Figure 1 This is a flowchart illustrating the reverse connection protection method for the nozzle power cord in an embodiment of the present invention.
[0044] Figure 2 This is a flowchart illustrating the process of writing status flags in an embodiment of the present invention.
[0045] Figure 3 This is a schematic diagram of the process of determining whether to supply power to the nozzle based on the status flag in an embodiment of the present invention.
[0046] Figure 4 This is a flowchart illustrating the display of corresponding prompt information in an embodiment of the present invention.
[0047] Figure 5 This is a schematic diagram of the reverse connection protection device for the nozzle power cord according to an embodiment of the present invention.
[0048] Figure 6 This is a schematic diagram of the reverse connection protection device for the nozzle power cord according to an embodiment of the present invention. Detailed Implementation
[0049] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.
[0050] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0051] Example 1
[0052] Please see Figure 1 This invention provides a method for protecting the power cord of a nozzle from reverse connection, the method comprising:
[0053] S1: Obtain the actual voltage at the voltage output terminal on the nozzle control board;
[0054] In one embodiment, step S1 includes:
[0055] S11: Apply a preset voltage to the nozzle control board;
[0056] S12: Before powering on the nozzle, obtain the voltage at the voltage output terminal on the nozzle control board and record it as the actual voltage;
[0057] Specifically, after the nozzle control board is activated, since the connection status of the nozzle power cord is currently unknown, if the polarity of the nozzle power cord is reversed and the nozzle is powered on, the voltage output terminal on the nozzle control board will be directly grounded, causing a short circuit in the nozzle and damaging it. Therefore, a preset voltage is applied to the nozzle control board. Before powering on the nozzle, the voltage of the voltage output terminal on the nozzle control board is obtained and recorded as the actual voltage. In one specific embodiment, the nozzle control board measures the voltage of the voltage output terminal controlling the nozzle through an ADC chip integrated in the microprocessor. In another embodiment, the nozzle control board includes a voltage reading circuit, which includes a high-precision ADC chip. The high-precision ADC chip measures the voltage of the voltage output terminal controlling the nozzle voltage on the nozzle control board to improve the accuracy of the measured voltage.
[0058] S2: Compare the actual voltage with the preset working voltage range, the preset unconnected voltage, and the preset reverse connection voltage to obtain the comparison result;
[0059] Specifically, after obtaining the actual voltage, the actual voltage is compared with the preset operating voltage range, the preset unconnected voltage, and the preset reverse connection voltage. When the actual voltage is within the preset operating voltage range, it indicates that the nozzle power cord is connected normally. When the actual voltage is equal to the preset reverse connection voltage, it indicates that the nozzle power cord is reversed. When the actual voltage is equal to the unconnected voltage, it indicates that the nozzle power cord is not connected. In a specific embodiment, the comparison step is completed by the microprocessor on the nozzle control board. The microprocessor reads the preset operating voltage range, the preset unconnected voltage, and the preset reverse connection voltage stored in different memory units and compares them with the actual voltage one by one.
[0060] Please see Figure 2 S2 specifically includes:
[0061] S3: Write the comparison result to the status flag;
[0062] In one embodiment, step S3 specifically includes:
[0063] S31: When the actual voltage is within the preset operating voltage range, write the first status flag;
[0064] S32: When the actual voltage is equal to the preset reverse voltage, write the second state flag;
[0065] S33: When the actual voltage is equal to the preset unconnected voltage, write the third state flag;
[0066] S34: Write detection complete flag.
[0067] Specifically, after completing the above comparison, the comparison results are converted into corresponding status flags and stored for easy reading in subsequent steps. When the actual voltage is within the preset operating voltage range, the status flag is written as the first status flag, indicating that the nozzle power cord is connected normally. When the actual voltage is equal to the preset reverse voltage, the status flag is written as the second status flag, indicating that the nozzle power cord polarity is reversed. When the actual voltage is equal to the unconnected voltage, the status flag is written as the third status flag, indicating that the nozzle power cord is not connected. In a specific embodiment, the first, second, and third status flags are stored in the status register on the nozzle control board and can be represented by different values. For example, and not as a limitation, the first, second, and third status flags can be represented by "0", "1", and "2" respectively. After converting the comparison results into corresponding status flags, a detection completion flag is written to indicate that the connection status of the nozzle power cord has been determined and the next operation can be performed.
[0068] S4: Based on the status flag, determine whether to supply power to the nozzle;
[0069] In one embodiment, step S4 specifically includes:
[0070] S41: In response to the writing of the detection completion flag, read the status flag;
[0071] S42: When the status flag is the first status flag, power is supplied to the nozzle according to the preset voltage;
[0072] S43: When the status flag is the second status flag, no power is supplied to the nozzle, and the nozzle drive board is driven to issue an alarm signal;
[0073] S44: When the status flag is the third status flag, no power is supplied to the nozzle.
[0074] Specifically, when the detection completion flag is detected, it indicates that the connection status of the current printhead power cord has been checked. The system then begins reading the status flags. When the read status flag is the first status flag, it indicates that the printhead power cord is connected normally, and the printhead power switch is turned on to supply power to the printhead. When the second status flag is read, it indicates that the polarity of the printhead power cord is reversed. In this case, the printhead power switch is not turned on, and the printhead driver board is driven to emit an alarm signal. In one specific embodiment, the alarm signal is a light signal; in another embodiment, the alarm signal is an audible signal. When the read status flag is the third status flag, it indicates that the printhead power cord is not connected, and the printhead power switch is not turned on.
[0075] In one embodiment, the nozzle power cord reverse connection protection method further includes the following steps:
[0076] S5: Read the status flag every first preset time interval;
[0077] S6: Display the corresponding prompt information based on the status flag;
[0078] Specifically, at preset intervals, the nozzle driver board reads the status flags. When a second or third status flag is read, the read status flag is sent to the host computer. When the host computer receives the second status flag, it displays a first prompt message on the interface indicating that the nozzle power cord is connected in reverse, to remind the user to adjust the connection method of the nozzle power cord. When the host computer receives the third status flag, it displays a second prompt message indicating that the nozzle power cord is not connected.
[0079] In one embodiment, the preset operating voltage range is obtained through the following steps:
[0080] Connect the nozzle power cord according to the preset rules;
[0081] Turn on the power to the printhead control board to drive the printhead to perform one inkjet. At the same time, continuously collect the voltage of the voltage output terminal of the printhead drive circuit on the printhead control board to obtain the preset working voltage range.
[0082] Specifically, after the nozzle power cord is correctly connected, the power supply of the nozzle control board is turned on. Since the nozzle control board includes a soft-start circuit, the voltage output terminal of the soft-start circuit is connected in series with a voltage divider resistor. The voltage divider resistor is a thermistor with a negative temperature coefficient. When the circuit is powered on, the current flows through the thermistor, which limits the current. It will consume some electrical energy and convert it into heat energy. As the working time increases, its own temperature rises, its resistance value will decrease, and the loss will decrease. Therefore, when the nozzle power cord is properly connected, the voltage value of the voltage output terminal changes dynamically. After the nozzle control board is powered on and before the nozzle is powered on, the voltage data of the voltage output terminal of the nozzle control board controlling the nozzle drive circuit is continuously collected. The maximum and minimum values in the voltage data are determined, and the preset working voltage range of the nozzle can be obtained. In this embodiment, the preset working voltage range is 0.5V to 2.5V.
[0083] In one embodiment, the preset reverse voltage is obtained through the following steps:
[0084] Reverse the power cord of the nozzle;
[0085] Turn on the power to the nozzle control board;
[0086] The voltage at the voltage output terminal of the nozzle drive circuit on the nozzle control board is collected to obtain the reverse voltage;
[0087] Specifically, after the polarity of the nozzle power line is reversed, the power supply of the nozzle control board is turned on. Before powering on the nozzle, the voltage of the voltage output terminal of the nozzle control circuit on the nozzle control board is collected to obtain the reverse connection voltage. In this embodiment, after the nozzle power line is reversed, the voltage output terminal is directly grounded, so the collected reverse connection voltage is 0V.
[0088] In one embodiment, the unconnected voltage is obtained through the following steps:
[0089] Do not connect the nozzle power cord;
[0090] Turn on the power to the nozzle control board;
[0091] The voltage at the voltage output terminal of the nozzle drive circuit on the nozzle control board is collected to obtain the preset unconnected voltage;
[0092] Specifically, without connecting the nozzle power cord, the power supply of the nozzle control board is directly turned on. By collecting the voltage of the voltage output terminal of the nozzle control circuit on the nozzle control board, a preset unconnected voltage is obtained. In one specific embodiment, the preset unconnected voltage is 3.3V.
[0093] In this embodiment, the actual voltage of the voltage output terminal on the nozzle control board is obtained; the actual voltage is compared with the preset working voltage range, the preset unconnected voltage, and the preset reverse connection voltage to obtain the comparison result; the comparison result is written into the status flag; based on the status flag, it is determined whether to supply power to the nozzle, so as to protect the nozzle in time when the polarity of the nozzle power line is reversed, avoid nozzle damage, and extend the life of the nozzle.
[0094] Example 2
[0095] Based on Example 1, this embodiment of the invention also provides a method for protecting the nozzle power cord from reverse connection, characterized in that the method includes:
[0096] S10: Obtain the actual temperature of the voltage divider resistor on the nozzle control board through a temperature sensor;
[0097] S20: Compare the actual temperature with the preset working temperature range, the preset unconnected temperature, and the preset reverse connection temperature to obtain the comparison results;
[0098] S30: Write the comparison result to the status flag;
[0099] S40: Based on the status flag, determine whether to supply power to the nozzle.
[0100] Specifically, in this embodiment, the reverse connection protection method for the nozzle power cord first starts the power supply of the nozzle control board. Since the nozzle control board includes a soft-start circuit, the voltage output terminal of the soft-start circuit is connected in series with a voltage divider resistor. The voltage divider resistor is a thermistor with a negative temperature coefficient, which has a large resistance when cold. When the circuit is powered on, the current flows through the thermistor, which limits the current and consumes some electrical energy, which is converted into heat energy. Since the nozzle power cord is normally connected, reversed, or not connected, the voltage value on the voltage divider resistor is different, resulting in different temperatures on the voltage divider resistor. By obtaining the actual temperature on the voltage divider resistor and comparing the actual temperature with the preset operating temperature range, the preset unconnected temperature, and the preset reverse connection temperature, the current connection status of the nozzle power cord can be determined. The comparison result is converted into a status flag. Based on the status flag, it is determined whether to supply power to the nozzle. Steps S30 and S40 are the same as those in Embodiment 1 and will not be described again here.
[0101] Example 3
[0102] Based on Embodiments 1 and 2, this embodiment also provides a method for protecting the nozzle power cord from reverse connection, the method comprising:
[0103] S01: Obtain the voltage value of the voltage output terminal on the nozzle control board, and record it as the first actual voltage; and obtain the temperature of the voltage divider resistor on the nozzle control board, and record it as the first temperature value.
[0104] S02: Obtain the second temperature value based on the first actual voltage;
[0105] S03: Based on the first temperature value and the second temperature value, correct the first actual voltage to obtain the second actual voltage;
[0106] S04: Compare the second actual voltage with the preset working voltage range, the preset unconnected voltage, and the preset reverse connection voltage to obtain the comparison result;
[0107] S05: Write the comparison result to the status flag;
[0108] S06: Based on the status flag, determine whether to supply power to the nozzle;
[0109] Specifically, firstly, the voltage value at the voltage output terminal of the nozzle control board is obtained and recorded as the first actual voltage, and the temperature of the voltage divider resistor on the nozzle control board is obtained and recorded as the first temperature value. Then, the voltage value applied to the voltage divider resistor can be obtained based on the first actual voltage. The voltage divider resistor is a thermistor with a negative temperature coefficient. The second temperature value can be calculated using the negative temperature coefficient, the resistance value of the thermistor, and the first actual voltage. In this embodiment, the voltage value at the voltage output terminal of the nozzle control board is obtained by the ADC chip integrated in the nozzle control board microprocessor, and the first temperature value is obtained by the temperature sensor. The ADC chip will generate errors when obtaining the voltage value. By using the first temperature value obtained by the temperature sensor and the calculated second temperature value, the errors generated by the ADC chip can be corrected, reducing nozzle damage caused by misjudgment due to voltage acquisition errors, saving costs, and improving user experience.
[0110] Example 4
[0111] Please see Figure 5 This invention provides a reverse connection protection device for a nozzle power cord, the device comprising:
[0112] The voltage acquisition module is used to acquire the actual voltage at the voltage output terminal on the nozzle control board;
[0113] The comparison module is used to compare the actual voltage with the preset operating voltage range, the preset unconnected voltage, and the preset reverse connection voltage to obtain the comparison result;
[0114] The status flag writing module writes the comparison result to the status flag.
[0115] The judgment module is used to determine whether to supply power to the nozzle based on the status flag.
[0116] In one embodiment, the voltage acquisition module includes:
[0117] A voltage application unit is used to apply a preset voltage to the nozzle control board;
[0118] The voltage acquisition unit is used to acquire the voltage at the voltage output terminal on the nozzle control board before the nozzle is powered on, and record it as the actual voltage.
[0119] In one embodiment, the status flag writing module includes:
[0120] The first writing unit is used to write a first status flag when the actual voltage is within the preset operating voltage range;
[0121] The second writing unit is used to write a second status flag when the actual voltage is equal to the preset reverse voltage;
[0122] The third writing unit is used to write a third state flag when the actual voltage is equal to the preset unconnected voltage;
[0123] The detection completion flag writing unit is used to write the detection completion flag.
[0124] In one embodiment, the determination module includes:
[0125] A status flag reading unit is used to read the status flag in response to the writing of the detection completion flag;
[0126] The first judgment unit is used to supply power to the nozzle according to a preset voltage when the status flag is the first status flag;
[0127] The second judgment unit is used to not supply power to the nozzle when the status flag is the second status flag, and to drive the nozzle drive board to issue an alarm signal.
[0128] The third judgment unit is used to not supply power to the nozzle when the status flag is the third status flag.
[0129] In one embodiment, the nozzle power cord reverse connection protection device further includes:
[0130] The second status flag reading module reads the status flag every first preset time interval;
[0131] The prompt information display module is used to display corresponding prompt information based on the status flag.
[0132] In one embodiment, the prompt information display module includes:
[0133] The first prompt information display unit is used to display a first prompt information when the status flag is the second status flag;
[0134] The second prompt information display unit displays the second prompt information when the status flag is the third status flag.
[0135] Preferably, the preset operating voltage range is obtained through the following steps:
[0136] Connect the nozzle power cord according to the preset connection rules;
[0137] Drive the printhead to perform one inkjet print and obtain voltage data;
[0138] The preset operating voltage range is determined based on the maximum and minimum values of the voltage data.
[0139] The nozzle power cord reverse connection protection device in this embodiment of the invention obtains the actual voltage of the voltage output terminal on the nozzle control board; compares the actual voltage with a preset working voltage range, a preset unconnected voltage, and a preset reverse connection voltage to obtain a comparison result; writes the comparison result into a status flag; and determines whether to supply power to the nozzle based on the status flag, so as to protect the nozzle in time when the polarity of the nozzle power cord is reversed, avoid damage to the nozzle, and extend the life of the nozzle.
[0140] Example 5
[0141] Embodiment 5 of the present invention discloses a reverse connection protection device for the nozzle power cord, such as... Figure 6 As shown, it includes at least one processor, at least one memory, and computer program instructions stored in the memory.
[0142] Specifically, the processor may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.
[0143] Where appropriate, the memory may include removable or non-removable (or fixed) media. The memory may include mass storage for data or instructions. For example, and not limitingly, the memory may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a universal medium. Where appropriate, the memory may be internal or external to the data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0144] The processor reads and executes computer program instructions stored in the memory to implement any of the nozzle power line reverse connection protection methods in Embodiment 1 above.
[0145] In one example, the nozzle power cord reverse connection protection device may also include a communication interface and a bus. For example, Figure 6 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.
[0146] The communication interface is mainly used to enable communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0147] A bus, including hardware, software, or both, couples components of an automatic nozzle attitude correction device together. For example, and not limitingly, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, a bus may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0148] Example 6
[0149] Furthermore, in conjunction with the nozzle power line reverse connection protection method in Embodiment 1 above, this embodiment of the invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the automatic nozzle attitude correction methods in the above embodiments.
[0150] In summary, the nozzle power cord reverse connection protection method, device, equipment, and storage medium provided in this embodiment of the invention measure the voltage at the voltage output terminal on the nozzle control board before the nozzle is powered on, compare the measured voltage with a preset voltage to determine whether the nozzle power cord connection is normal. If the nozzle power cord connection is normal, the nozzle operates normally; otherwise, no power is supplied to the nozzle, and the nozzle control board is driven to issue an alarm. In case of an abnormality, the abnormal status is reported to the host computer, which displays corresponding prompts on the interface to remind the user to adjust the nozzle power cord. This achieves nozzle protection within an effective time and provides prompts to the user.
[0151] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0152] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0153] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0154] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A method for protecting the printhead power cord from reverse connection, applied to inkjet printing equipment, characterized in that, The method includes: Obtain the actual voltage at the voltage output terminal on the nozzle control board; The comparison results are obtained by comparing the actual voltage with the preset operating voltage range, the preset unconnected voltage, and the preset reverse connection voltage. The preset operating voltage range is obtained through the following steps: connecting the printhead power cord according to preset connection rules; driving the printhead to perform one inkjet print and obtaining voltage data; determining the preset operating voltage range based on the maximum and minimum values of the voltage data; The preset unconnected voltage is obtained through the following steps: disconnecting the nozzle power cord; turning on the power to the nozzle control board; and collecting the voltage at the voltage output terminal of the nozzle drive circuit on the nozzle control board to obtain the preset unconnected voltage. The preset reverse connection voltage is obtained through the following steps: reverse the nozzle power line; turn on the power of the nozzle control board; collect the voltage of the voltage output terminal of the nozzle drive circuit on the nozzle control board to obtain the reverse connection voltage. Based on the comparison results, a status flag is determined; the status flag includes a first status flag indicating that the actual voltage is within the preset operating voltage range, a second status flag indicating that the actual voltage is equal to the preset reverse voltage, and a third status flag indicating that the actual voltage is equal to the preset unconnected voltage. Write the comparison result to the status flag; Based on the status flag, it is determined whether to supply power to the nozzle. When the status flag is the first status flag, power is supplied to the nozzle according to a preset voltage. When the status flag is the second status flag or the third status flag, no power is supplied to the nozzle.
2. The method for reverse connection protection of the nozzle power cord according to claim 1, characterized in that, The process of acquiring the voltage at the voltage output terminal on the nozzle control board, denoted as the actual voltage, includes: Apply a preset voltage to the nozzle control board; Before powering on the nozzle, the voltage at the voltage output terminal on the nozzle control board is obtained and recorded as the actual voltage.
3. The method for reverse connection protection of the nozzle power cord according to claim 1 or 2, characterized in that, After determining whether to supply power to the nozzle based on the status flag, the method further includes: The status flag is read at first preset time intervals; The corresponding prompt information is displayed based on the status flag.
4. The nozzle power cord reverse connection protection method according to claim 3, characterized in that, The step of displaying corresponding prompt information based on the status flag includes: When the status flag is the second status flag, the first prompt message is displayed; When the status flag is the third status flag, the second prompt message is displayed.
5. A reverse connection protection device for printhead power cord, applied to inkjet printing equipment, characterized in that, The device includes: The voltage acquisition module is used to acquire the actual voltage at the voltage output terminal on the nozzle control board; The comparison module is used to compare the actual voltage with the preset operating voltage range, the preset unconnected voltage, and the preset reverse connection voltage to obtain the comparison result; The preset operating voltage range is obtained through the following steps: connecting the printhead power cord according to preset connection rules; driving the printhead to perform one inkjet print and obtaining voltage data; determining the preset operating voltage range based on the maximum and minimum values of the voltage data; The preset unconnected voltage is obtained through the following steps: disconnecting the nozzle power cord; turning on the power to the nozzle control board; and collecting the voltage at the voltage output terminal of the nozzle drive circuit on the nozzle control board to obtain the preset unconnected voltage. The preset reverse connection voltage is obtained through the following steps: reverse the nozzle power line; turn on the power of the nozzle control board; collect the voltage of the voltage output terminal of the nozzle drive circuit on the nozzle control board to obtain the reverse connection voltage. A status flag determination module is used to determine a status flag based on the comparison result; the status flag includes a first status flag indicating that the actual voltage is within the preset operating voltage range, a second status flag indicating that the actual voltage is equal to the preset reverse voltage, and a third status flag indicating that the actual voltage is equal to the preset unconnected voltage. The status flag writing module writes the comparison result to the status flag. The determination module is used to determine whether to supply power to the nozzle based on the status flag. When the status flag is the first status flag, power is supplied to the nozzle according to a preset voltage. When the status flag is the second status flag or the third status flag, power is not supplied to the nozzle.
6. A nozzle power cord reverse connection protection device, characterized in that, include: At least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method as described in any one of claims 1-4.
7. A storage medium storing computer program instructions thereon, characterized in that, The method as described in any one of claims 1-4 is implemented when the computer program instructions are executed by the processor.