Inkjet drive waveform dynamic real-time display method, device, equipment and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN HOSONSOFT CO LTD
- Filing Date
- 2025-01-21
- Publication Date
- 2026-07-21
AI Technical Summary
In existing technologies, it is difficult to display the dynamic real-time waveform of the nozzle, especially during on-site commissioning at the customer's site, where the test point is difficult to reach, increasing the difficulty and cost of measurement.
By acquiring the display command of the inkjet drive waveform, configuring sampling parameters and generating sampling commands, the printhead waveform data is automatically acquired using the data acquisition board and displayed in real time through the display program module, simplifying the process of viewing the printhead waveform.
The elimination of the need to manually use an oscilloscope to acquire test points on the board reduces the difficulty and cost of nozzle waveform measurement and display, and improves the efficiency and flexibility of on-site debugging.
Smart Images

Figure CN122431994A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, device, and storage medium for real-time dynamic display of inkjet driven waveforms. Background Technology
[0002] In related technologies, the waveform of a nozzle is typically viewed by testing the waveform test points on the circuit board using an oscilloscope probe. This method requires an oscilloscope as the core device and the test points must be set up for easy direct measurement, making it more suitable for laboratory environments or the development phase.
[0003] However, in practical applications, circuit boards are often sealed by the machine, making it difficult to access test points. Especially when debugging at the customer's site, technicians need to bring an oscilloscope, which further increases the difficulty of waveform measurement and display when comparing or modifying waveforms. Summary of the Invention
[0004] In view of this, the present invention provides a method, apparatus, device and storage medium for dynamic real-time display of inkjet driven waveforms, in order to solve the problem of the difficulty in dynamic real-time display of inkjet driven waveforms in the prior art.
[0005] The technical solution adopted in this invention is:
[0006] In a first aspect, the present invention provides a method for dynamic real-time display of inkjet driving waveforms, the method comprising:
[0007] Obtain the display command for the inkjet drive waveform;
[0008] Configure sampling parameters and generate sampling instructions based on the display instructions;
[0009] Data is sampled according to the sampling instructions and the sampling parameters to obtain the sampling results;
[0010] Based on the sampling modulus parameters, the sampling results are stored and a completion command is generated;
[0011] The sampling result is read according to the completion instruction and transmitted to the display program module;
[0012] The display program module uses the sampling results to display the corresponding inkjet drive waveform in real time.
[0013] In some embodiments, configuring sampling parameters and generating sampling instructions according to the display instructions includes:
[0014] The display command is parsed to obtain parsing parameters; the parsing parameters include sampling mode, sampling channel and / or sampling rate;
[0015] The sampling parameters are generated based on the sampling mode, the sampling channel, and / or the sampling rate.
[0016] The sampling parameters are written into a preset register, and the sampling instruction is generated.
[0017] In some embodiments, after writing the sampling parameters into the preset register, the method further includes:
[0018] Initialize the status register; the status register is used to indicate the status of the sampling result;
[0019] The status register is read repeatedly at preset intervals.
[0020] In some embodiments, the step of sampling data according to the sampling instruction and the sampling parameters to obtain the sampling result includes:
[0021] Based on the sampling instruction, the analog signal is sampled according to the sampling parameters;
[0022] The analog signal is converted into a digital signal using an analog-to-digital converter.
[0023] The sampling result is generated based on the digital signal.
[0024] In some embodiments, the sampling mode includes waveform sampling and / or voltage sampling, and the step of storing the sampling results and generating a completion instruction based on the sampling mode includes:
[0025] When the sampling mode is waveform sampling, the sampling result is stored in a preset queue;
[0026] When the sampling mode is voltage sampling, the sampling result is stored in a preset register;
[0027] The status register is set to indicate that the sampling result is in a completed state, and the completion instruction is generated.
[0028] In some embodiments, the sampling result includes waveform data and / or voltage data; the step of reading the sampling result and transmitting it to the display program module according to the completion instruction includes:
[0029] In response to the completion command, the waveform data is read from the preset queue;
[0030] In response to the completion command, the voltage data is read from the preset register;
[0031] The waveform data and / or the voltage data are packaged and transmitted to the display program module.
[0032] In some embodiments, the sampling result includes waveform data and / or voltage data; displaying the corresponding waveform using the display program module based on the sampling result includes:
[0033] The waveform data is analyzed using the display program module to obtain the waveform result;
[0034] The voltage data is analyzed using the display program module to obtain the voltage result;
[0035] The voltage result and the waveform result are compared using the display program module to obtain a comparison result;
[0036] The display program module is used to draw a waveform based on the waveform result, and then displays the waveform and the comparison result.
[0037] In a second aspect, the present invention provides an inkjet-driven waveform dynamic real-time display device, the device comprising:
[0038] The acquisition module is used to acquire the display instructions for the inkjet drive waveform;
[0039] The configuration module is used to configure sampling parameters and generate sampling instructions according to the display instructions;
[0040] The sampling module is used to sample data according to the sampling instructions and the sampling parameters to obtain sampling results;
[0041] The storage module is used to store the sampling results based on the sampling parameters and generate a completion instruction;
[0042] The reading module is used to read the sampling result according to the completion instruction and transmit it to the display program module;
[0043] The display module is used to display the corresponding inkjet drive waveform in real time based on the sampling results using the display program module.
[0044] Thirdly, embodiments of the present invention also provide an electronic device, including: 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.
[0045] Fourthly, embodiments of the present invention also provide a storage medium storing computer program instructions thereon, which, when executed by a processor, implement the method of the first aspect described above.
[0046] In summary, the beneficial effects of the present invention are as follows:
[0047] The present invention provides a method, apparatus, device, and storage medium for dynamic real-time display of inkjet drive waveforms. First, it acquires the display command for the inkjet drive waveform, configures sampling parameters according to the display command, and generates a sampling command. Then, it samples data according to the sampling command and sampling parameters to obtain sampling results, stores the sampling results according to the sampling mode in the sampling parameters, and generates a completion command. Finally, it reads the sampling results according to the completion command and transmits them to the display program module, which displays the corresponding waveform based on the sampling results. Therefore, technicians only need to select or operate through the relevant interface of the display program module, and the program automatically acquires the waveform corresponding to the printhead, eliminating the need to manually use an oscilloscope to acquire waveforms at test points on the board. This effectively reduces the difficulty and cost of printhead waveform measurement and display, simplifies the printhead waveform viewing process, and improves the efficiency and flexibility of on-site debugging. Attached Figure Description
[0048] 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.
[0049] Figure 1 This is a schematic diagram of the hardware operating environment for dynamic real-time display of inkjet drive waveform in an embodiment of the present invention.
[0050] Figure 2 This is a flowchart illustrating the method for dynamic real-time display of inkjet driving waveforms in Embodiment 1 of the present invention.
[0051] Figure 3 yes Figure 2 A flowchart illustrating step S102;
[0052] Figure 4 yes Figure 2 A flowchart illustrating the process after step S203;
[0053] Figure 5 yes Figure 2 A flowchart illustrating step S103;
[0054] Figure 6 yes Figure 2 A flowchart illustrating step S104;
[0055] Figure 7 yes Figure 2 A flowchart illustrating step S105.
[0056] Figure 8 yes Figure 2 A flowchart illustrating step S106;
[0057] Figure 9 This is a schematic diagram of the display program module framework in an embodiment of the present invention;
[0058] Figure 10 This is a schematic diagram of the data acquisition and processing flow in an embodiment of the present invention;
[0059] Figure 11 This is a flowchart of voltage / waveform acquisition in an embodiment of the present invention;
[0060] Figure 12 This is a structural block diagram of the inkjet drive waveform dynamic real-time display device in Embodiment 2 of the present invention;
[0061] Figure 13 This is a schematic diagram of the electronic device in Embodiment 3 of the present invention. Detailed Implementation
[0062] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. 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 entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. 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. Unless otherwise specified, the element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. Where there is no conflict, embodiments of the present invention and the various features thereof can be combined with each other, all of which are within the scope of protection of the present invention.
[0063] In the inkjet printing industry, the inkjet drive waveform of the printhead is crucial to the entire printing process. First, the waveform determines the precision of ink droplet ejection. By precisely controlling the waveform parameters, consistency in droplet size and accuracy in ejection direction can be achieved, thereby improving the resolution and clarity of the printed image. This is especially important for applications requiring high-precision printing (such as photo printing and artwork reproduction). Second, the waveform also affects the control of ink volume. A well-designed waveform can reduce ink waste and unnecessary ejection, enabling on-demand inkjet printing. This not only reduces printing costs but also minimizes image blurring and ink bleeding caused by excessive ink. Furthermore, the waveform can mitigate problems that occur during printing. For example, adjusting waveform parameters can reduce ink splatter (i.e., ink splashing onto non-printing areas during ejection), improving print cleanliness; it can also reduce the risk of printhead clogging and extend printhead lifespan.
[0064] In related technologies, viewing the inkjet drive waveform of a printhead is typically done by testing waveform test points on the circuit board using an oscilloscope probe. This method requires an oscilloscope as the core device and the test points must be set up for easy direct measurement, making it suitable for laboratory environments or the development phase. However, in practical applications, especially during on-site commissioning at customer sites, this method faces several challenges. First, circuit boards are often tightly packaged, making the test points difficult to access, increasing the difficulty of measurement. Second, technicians need to carry the oscilloscope to the site, increasing travel burden and cost, and potentially causing inconvenience due to equipment size and weight limitations. More importantly, when real-time viewing of the waveform being used by the printhead is required, the above method becomes particularly cumbersome and inefficient. Therefore, reducing the difficulty of printhead waveform measurement and display to simplify the printhead waveform viewing process is of great significance for improving the efficiency and flexibility of on-site commissioning.
[0065] Based on this, embodiments of the present invention provide a method, apparatus, device, and storage medium for dynamic real-time display of inkjet drive waveforms. Technicians only need to select or operate through the relevant interface of the display program module (e.g., display software) and the program will automatically collect the inkjet drive waveforms corresponding to the printhead. There is no need to manually use an oscilloscope to collect the waveforms of the test points on the board, which effectively reduces the difficulty and cost of printhead waveform measurement and display. The following embodiments will illustrate this in detail.
[0066] Reference Figure 1The schematic diagram of the hardware operating environment shows that the hardware operating environment of the inkjet drive waveform dynamic real-time display method mainly includes a computer 100 (host computer), a motherboard 200, a printhead board 300, a driver board 400, and a data acquisition board 500. Specifically, the computer 100 (host computer) is the control center of the entire system, which can be operated by the user. It is responsible for sending print data to the motherboard and receiving data returned from the data acquisition board. This data may include images, text, or other information that needs to be printed. In this embodiment, the inkjet drive waveform can be displayed... Figure 1 The display module in computer 100 serves as the primary interface for user interaction with the computer. The motherboard 200 is the core component of the computer system; it receives print data from the host computer and transmits it to the printhead board 300. The motherboard 200 also controls motor motion, ensuring precise movement during printing. The printhead board 300 distributes the print data transmitted from the motherboard 200 to the driver board 400. During this process, the printhead board 300 may need to further process or convert the data to ensure compatibility with the driver board 400's interface. The driver board 400 is a key component for the dynamic real-time display of inkjet drive waveforms. It receives print data from the printhead board 300 and converts it into printhead ignition data. This ignition data controls the printhead's on / off state, generating specific waveforms and voltages. During printing, the data acquisition board 500 collects data and waveforms from the driver board 400. This data may include information such as the printhead's ignition status and voltage changes. After parsing this information, the data acquisition board 500 sends it back to the host computer for further analysis or display.
[0067] Example 1
[0068] Please see Figure 2 , Figure 2 This is an optional flowchart of the inkjet drive waveform dynamic real-time display method provided in the embodiments of the present invention. Figure 2 The method may include, but is not limited to, steps S101 to S106. It is also understood that this embodiment... Figure 2 The order of steps S101 to S106 is not specifically limited, and the order of steps can be adjusted or some steps can be reduced or added according to actual needs.
[0069] Step S101: Obtain the display command for the inkjet drive waveform.
[0070] In some embodiments, when the system starts the display program module or when the user requests to display a waveform through the display program module, a display instruction for the inkjet drive waveform is obtained from the user interface or other input devices (such as a keyboard, mouse, touch screen, etc.). This display instruction may include parameter information such as the waveform type and sampling range that the user wishes to view. Specifically, the user can select and click on different printhead IDs to issue a display instruction to obtain the printhead corresponding to that printhead ID; this embodiment does not limit this.
[0071] Step S102: Configure sampling parameters and generate sampling instructions according to the display instructions.
[0072] In some embodiments, sampling parameters are configured based on relevant parameter information in the display instructions. Specifically, the received display instructions are parsed using the PS (Processing System), and the sampling parameters of the PL (Programmable Logic) are configured based on the parsed parameter information to generate corresponding sampling instructions. It can be understood that PS refers to the processor core in an FPGA (Field-Programmable Gate Array) or SoC (System-on-a-Chip), including the CPU, memory, and peripheral interfaces, responsible for executing software code, processing data, and communicating with the external world. PL refers to the programmable logic portion in the FPGA or SoC, used to implement custom hardware functions. PL can be programmed using hardware description languages (such as VHDL and Verilog) to create various digital circuits and logic functions.
[0073] Step S103: Perform data sampling according to the sampling instructions and sampling parameters to obtain the sampling results.
[0074] In some embodiments, based on sampling instructions and sampling parameters, the PL controls the XADC (Xilinx Analog-to-Digital Converter) via a DRP (Direct Register Programming) interface. The XADC is a hardware module used for digitizing analog signals. Specifically, during the printing or flash printing process, the XADC can be controlled to sample the waveform of the printhead to obtain the sampling results. This embodiment does not limit this.
[0075] Step S104: Store the sampling results based on the sampling parameters and generate a completion command.
[0076] In some embodiments, the sampling parameters include a sampling mode, which can be voltage sampling or waveform sampling, or single sampling or continuous sampling; this embodiment does not limit this. Depending on the sampling mode, the sampling results are stored using a PL, and corresponding completion instructions are generated.
[0077] Step S105: Read the sampling results according to the completion instruction and transmit them to the display program module.
[0078] In some embodiments, the PS reads the sampling results from the corresponding storage location according to the completion instruction, then packages the sampling results into an appropriate data format and transmits them to the display program module for processing and display. It is understood that the completion instruction refers to setting the status register or sending an interrupt signal to the PS after storing the sampling results. Therefore, reading the status register or receiving the interrupt signal using the PS is considered a response to the completion instruction, and this embodiment does not impose any limitations on this.
[0079] Step S106: The display program module displays the corresponding inkjet drive waveform in real time based on the sampling results.
[0080] In some embodiments, the received sampling results are analyzed and processed using a display program module. Specifically, based on the waveform information in the sampling results, the display program module draws the corresponding waveform diagram and displays it in real time on the interface. By observing the waveform diagram, the changes in the printhead waveform can be understood, facilitating further debugging and pressure adjustment. Therefore, technicians only need to select or operate through the relevant interface of the display program module, and the program will automatically collect the corresponding inkjet drive waveform of the printhead. There is no need to manually use an oscilloscope to collect the waveform of the test points on the board, which effectively reduces the difficulty and cost of printhead waveform measurement and display, simplifies the printhead waveform viewing process, and improves the efficiency and flexibility of on-site debugging.
[0081] Reference Figure 3 As shown, in some embodiments of this application, the above step S102: configuring sampling parameters and generating sampling instructions according to display instructions may also include, but is not limited to, the following steps S201 to S203.
[0082] Step S201: Parse the display command to obtain the parsing parameters.
[0083] In some embodiments, the display instructions are parsed to extract key information contained in the instructions and obtain corresponding parsing parameters. These parsing parameters include, but are not limited to, sampling mode, sampling channel, and / or sampling rate. Specifically, the sampling mode determines the sampling method and / or type, such as voltage sampling, waveform sampling, single sampling, or continuous sampling; the sampling channel specifies the channels to be used during the sampling process, which may be single-channel sampling or multi-channel simultaneous sampling; and the sampling rate defines the number of samples per second, i.e., the sampling frequency, which determines the accuracy and resolution of the sampling results.
[0084] Step S202: Generate sampling parameters based on sampling mode, sampling channel and / or sampling rate.
[0085] In some embodiments, sampling parameters are generated based on the sampling mode, sampling channel, and / or sampling rate. These sampling parameters are configuration information used during data acquisition. This ensures that, during data sampling, relevant signal data can be sampled according to the sampling mode, sampling channel, and / or sampling rate specified in the sampling parameters.
[0086] Step S203: Write the sampling parameters into the preset register and generate a sampling instruction.
[0087] In some embodiments, sampling parameters are written to a preset register, and sampling instructions are generated. Specifically, the preset register refers to the REG (Registers of Programmable Logic), located in the PL, which can be used to store configuration information, status flags, data, etc. Furthermore, the REG register can be accessed through the PS to configure the behavior of the PL or read its status; this embodiment does not limit this.
[0088] Reference Figure 4 As shown, in some embodiments of this application, after writing the sampling parameters into the preset register in step S203, the steps S301 to S302 may also be included, but are not limited to.
[0089] Step S301: Initialize the status register.
[0090] In some embodiments, the status register is used to indicate the status of the sampling result. When sampling is complete and the sampling result is stored, the status register can be set to indicate that the sampling result is in a completed state. It is understood that the status register can be a collection of one or more bits, each bit representing a specific state. When initializing the status register, these bits can be set to specific initial values to indicate that the sampling process has not yet started or that the sampling result is not yet ready.
[0091] Step S302: Repeatedly read the status register according to the preset interval time.
[0092] In some embodiments, to ensure timely acquisition of the sampling result status information, the status register can be repeatedly read at preset intervals. Specifically, the interval can be determined based on the sampling rate and the duration of the sampling process. At the end of each interval, the value of the status register is read to obtain the status of the current sampling process, which helps in the real-time display of waveform sampling.
[0093] In some embodiments, the status information of the sampling results can also be obtained in a timely manner by setting a synchronization signal or an interrupt signal. For example, an interrupt source is configured in the PL, which triggers an interrupt signal when the sampling process is completed or the sampling result is ready. The interrupt source can be an internal timer, a comparator, or a dedicated sampling completion indicator. Furthermore, a synchronization signal generator can also be configured in the PL, which outputs a synchronization signal when the sampling process is completed or the sampling result is ready. The synchronization signal can be a pulse signal, a level signal, or other form of signal.
[0094] It is understandable that interrupt signals can respond to sampling completion events in real time, reducing CPU waiting time and improving system efficiency. Synchronization signals provide a simple and direct way to indicate the availability of sampling results, eliminating the need for complex display program logic to handle interrupts. Those skilled in the art can configure these signals according to actual needs; this embodiment does not impose any limitations on this.
[0095] Reference Figure 5 As shown, in some embodiments of this application, the above step S103, which involves sampling data according to sampling instructions and sampling parameters to obtain sampling results, may also include, but is not limited to, the following steps S401 to S403.
[0096] Step S401: Based on the sampling command, the analog signal is sampled according to the sampling parameters.
[0097] In some embodiments, the analog signal is sampled according to sampling parameters based on sampling instructions. Specifically, during the sampling process, a sampling action is triggered periodically according to the sampling rate to read the value of the analog signal from a specified sampling channel.
[0098] Step S402: Use an analog-to-digital converter to convert the analog signal into a digital signal.
[0099] In some embodiments, the sampled analog signal values are digitized using an analog-to-digital converter (ADC) to obtain corresponding digital signals for subsequent processing. It is understood that an ADC is an electronic component in an XADC that converts analog signals into digital signals. Specifically, it converts the voltage or current values of the analog signal into corresponding digital codes according to a preset resolution (e.g., 8-bit, 16-bit, etc.).
[0100] Step S403: Generate sampling results based on the digital signal.
[0101] In some embodiments, the digital signal output by the analog-to-digital converter is the raw data of the sampling result. Optionally, this raw data may be processed to generate the final sampling result. Exemplary examples include data formatting, filtering, calibration, and other steps to ensure the accuracy and reliability of the sampling result; this embodiment does not limit this to such steps.
[0102] Reference Figure 6 As shown, in some embodiments of this application, before sampling begins, a sampling mode can be determined according to a display instruction. The sampling mode includes waveform sampling and / or voltage sampling. Step S104 above, which stores the sampling results based on the sampling mode and generates a completion instruction, may also include, but is not limited to, the following steps S501 to S503.
[0103] Step S501: When the sampling mode is waveform sampling, the sampling result is stored in a preset queue.
[0104] In some embodiments, when the sampling mode is waveform sampling, the sampling results (i.e., continuously acquired digital signals) are stored in a preset queue. Specifically, waveform sampling refers to acquiring and displaying complete waveform data, which typically involves continuous sampling and the storage of large amounts of data. The preset queue of the waveform buffer is a first-in-first-out data structure used to store and manage waveform data. The size of the queue and the storage strategy can be determined based on the sampling rate and sampling time to ensure the integrity and continuity of the waveform data.
[0105] Step S502: When the sampling mode is voltage sampling, the sampling result is stored in a preset register.
[0106] In some embodiments, when the sampling mode is voltage sampling, the sampling result (i.e., the digital signal acquired in a single instance) is stored in a preset register. Specifically, voltage sampling refers to acquiring the voltage value at a specific moment or under specific conditions, which usually involves the storage of a single sample or a small amount of data. The preset register may be a REG register, but this embodiment does not limit it to this.
[0107] Step S503: Set the status register to indicate that the sampling result is complete, and generate a completion instruction.
[0108] In some embodiments, after the sampling result is stored, a status register is set to indicate that the sampling result is in a completed state, and a completion command is generated. Specifically, a specific value or code can be written to the status register to indicate that the sampling process has been completed and the sampling result is ready. The value of the status register can be read by the PS to determine the status of the sampling result.
[0109] Therefore, by selecting the appropriate storage method according to different sampling modes, the accuracy and reliability of the sampling results are ensured, and the flexibility and applicability of the inkjet drive waveform dynamic real-time display method are improved.
[0110] Reference Figure 7 As shown, in some embodiments of this application, the sampling results include waveform data and / or voltage data. Step S105 above: reading the sampling results according to the completion instruction and transmitting them to the display program module, may also include, but is not limited to, the following steps S601 to S603.
[0111] Step S601: In response to the completion command, read waveform data from the preset queue.
[0112] In some embodiments, in response to a completion instruction, i.e., when the sampling result is found to be in a completed state by reading the status register using the PS, or when a synchronization signal or interrupt signal is detected using the PS, a preset queue of the waveform buffer is accessed. Furthermore, the amount and range of data to be read can be determined based on the sampling rate and sampling time, and waveform data can be read starting from the beginning position of the preset queue or a specific position; this embodiment does not impose such limitations.
[0113] In step S602, in response to the completion instruction, voltage data is read from the preset register.
[0114] In some embodiments, in response to a completion instruction, a preset register, namely the REG register, is accessed, and the corresponding voltage data is read from the REG register or its specified address. This embodiment does not limit this.
[0115] Step S603: Pack the waveform data and / or voltage data and transmit them to the display program module.
[0116] In some embodiments, the read waveform data and / or voltage data are packaged. Specifically, data formatting can be performed, which involves converting the waveform data and / or voltage data into a format that the display program module can recognize; then data compression and data verification are performed to ensure data integrity and accuracy; finally, the data is transmitted to the display program module for processing and display. It is understood that those skilled in the art can configure this according to actual needs, and this embodiment does not impose any limitations on it.
[0117] Reference Figure 8 As shown, in some embodiments of this application, the sampling results include waveform data and / or voltage data. Step S106 above: using the display program module to display the corresponding inkjet drive waveform in real time based on the sampling results, may also include, but is not limited to, the following steps S701 to S704.
[0118] Step S701: Use the display program module to perform waveform analysis on the waveform data to obtain the waveform result.
[0119] In some embodiments, the display program module performs waveform parsing on the waveform data to obtain waveform results. Specifically, based on the characteristics and format of the waveform data, it is parsed and converted into waveform results that the display program module can recognize. Furthermore, the waveform data can also be processed by denoising, filtering, scaling, etc., but this embodiment does not limit this.
[0120] Step S702: Use the display program module to analyze the voltage data and obtain the voltage result.
[0121] In some embodiments, a display program module is used to analyze the voltage data to obtain the voltage result. It is understood that the printhead voltage is related to the waveform, and the voltage may affect the amplitude, stability, and frequency of the printhead waveform. Furthermore, different waveform shapes directly affect droplet formation, velocity, and ejection direction. Therefore, the waveform can be adjusted by controlling the voltage, thereby optimizing the ejection effect and improving print quality and efficiency.
[0122] Step S703: Use the display program module to compare the voltage result and the waveform result to obtain the comparison result.
[0123] In some embodiments, a display program module is used to compare and analyze the parsed voltage and waveform results to obtain comparison results. For example, this may include calculating the correlation, difference, or other statistical indicators between the voltage and waveform results to assess the accuracy and consistency of the data. Furthermore, the voltage data may be compared with preset or historical data to detect changes in the nozzle's state or performance.
[0124] In step S704, the display program module is used to draw the waveform based on the waveform result and to display the inkjet drive waveform and comparison result in real time.
[0125] In some embodiments, the display program module draws a waveform based on the waveform results and dynamically displays the inkjet-driven waveform on the display program module interface in real time. Simultaneously, the display program module can also display comparison results, possibly in text, charts, or other forms, so that users can intuitively understand the relationship and differences between voltage and waveform; this embodiment does not limit this.
[0126] In some embodiments of this application, the sampling results may also include ignition data, which refers to data controlling when the printhead ejects what type of ink or other liquid. Ignition data determines when and how the printhead operates, which is crucial for ensuring print quality. Furthermore, a display program module can be used to process the ignition data. This module supports single-head and multi-pass data processing and can handle different formats of ignition data, such as bmp, tif, and bin. The display program module can also compare print data and comparison results, displaying the results on the user interface for easy troubleshooting and optimization.
[0127] Further, see Figure 9 The diagram shows the display program module framework. The computer 100 can acquire sampled data (including voltage data, waveform data, and ignition data) from the data acquisition board 500 via TCP communication. Specifically, the voltage data is analyzed and compared, and the waveform data is analyzed and plotted. The voltage and comparison results are displayed through the UI. For ignition data, for example, in a 2-bit printing device, the printing data is represented by four binary numbers: 00011011, corresponding to four scenarios: no ink output, small ink droplet, medium ink droplet, and large ink droplet. The printhead ignition data may be 05060708 (decimal). Therefore, the ignition data comparison process may include, but is not limited to, the following steps S801 to S803.
[0128] Step S801: Collect ignition data.
[0129] In some embodiments, actual ignition data can first be acquired via the data acquisition board 500.
[0130] Step S802: Based on the mapping relationship of various ink dots, the ignition data is processed and converted into binary.
[0131] In some embodiments, the ignition data is then graphically converted into binary format for printing data by mapping the size of ink dots (large, medium, and small). The binary ignition data can then be assembled according to printing parameters, such as the number of bytes per line and the number of lines; this embodiment does not impose any limitations on this.
[0132] Step S803: Compare and display the data with the print data sent by the host computer.
[0133] In some embodiments, comparing binary ignition data and printing data can further provide technicians with relevant printing information, such as whether the printhead is printing accurately, facilitating users in troubleshooting and optimization.
[0134] In some embodiments of this application, reference is made to Figure 10 The diagram shows the data acquisition and processing flow. The PS (Power Switch) interfaces with the host computer and PL (Power Producer). The PS extracts the ignition data and waveform voltage data acquired by the logic and then sends them to the host computer via TCP in a specific format. Therefore, the PS contains a waveform voltage control module and an ignition data module. REG (Register Module): Communication between the PS and PL is via the AXI bus, thus placing the operation of the data acquisition module and XADC (X-ADC Register) on the REG. The PS indirectly operates the data acquisition module and XADC_Ctr l by operating the REG.
[0135] Further, see Figure 11 The voltage / waveform acquisition flowchart shown illustrates the process. First, the user selects the nozzle ID through the display program module to send the corresponding display command. Then, the PS (Power Supply Unit) receives the display command from the display program module, configures the sampling parameters in the PL (Power Supply Module)'s preset register based on the parsed parameters of the display command, sets the status register to continuously query the acquisition results, and sends sampling commands to the PL. Next, the PL receives the sampling command from the PS, controls the XADC (X-ADC) through the DRP interface according to the sampling parameters in the preset register, and obtains the corresponding sampling results. Correspondingly, the voltage data is stored in the preset register (REG), and the waveform data is stored in the preset queue (FIFO) of the waveform buffer, and a completion command is generated and transmitted to the PS. Finally, the PS reads the sampling results (waveform data and / or voltage data) from the preset register or preset queue according to the completion command, packages them, and transmits them to the display program module for processing and display. The user can perform voltage adjustment and debugging operations on the nozzle based on the comparison results of the voltage and waveform. Therefore, technicians only need to select or operate the relevant interface of the display program module, and the program will automatically collect the waveform corresponding to the nozzle. There is no need to manually use an oscilloscope to collect the waveform of the test point of the board, which effectively reduces the difficulty and cost of nozzle waveform measurement and display, simplifies the nozzle waveform viewing process, and improves the efficiency and flexibility of on-site debugging.
[0136] In some embodiments of the application, since there is a close relationship between the waveform and the inkjet ink, and different types of ink respond differently to the waveform, the inkjet drive waveform can be adjusted and set on the display program module according to the characteristics of the ink. For example, for the same printhead, when using inks of different densities, the optimal wavelength in the inkjet drive waveform needs to be adjusted; for instance, the wavelength for driving water-based inks should be smaller than that for oil-based inks. Furthermore, high-viscosity inks require stronger driving force to overcome their poor flowability; therefore, the corresponding inkjet drive waveform can be set by increasing the voltage intensity and duration. Low-viscosity inks, on the other hand, may be more prone to ink splatter; the ejection speed can be reduced or the ejection interval increased by adjusting the waveform. Simultaneously, the ink's color, drying speed, weather resistance, and other characteristics also affect the selection and optimization of the inkjet drive waveform. For example, for inks that require rapid drying, a higher frequency waveform can be used to accelerate the ejection speed of ink droplets; while for inks that need to maintain vibrant colors for a long time, the influence of the waveform on ink stability is considered. Thus, by optimizing the ink formulation and adjusting the waveform signal, high-quality, high-speed printing results can be achieved. Inkjet technology plays an important role in printing, painting, and industrial applications, bringing convenience and efficiency to life and work.
[0137] Example 2
[0138] Please see Figure 12 Embodiment 2 of the present invention also provides an inkjet drive waveform dynamic real-time display device, the device comprising:
[0139] The acquisition module is used to acquire the display instructions for the inkjet drive waveform;
[0140] The configuration module is used to configure sampling parameters and generate sampling instructions based on display commands;
[0141] The sampling module is used to sample data according to sampling instructions and sampling parameters to obtain sampling results;
[0142] The storage module is used to store the sampling results based on the sampling parameters and generate a completion instruction;
[0143] The reading module is used to read the sampling results according to the completion command and transmit them to the display program module;
[0144] The display module is used to display the corresponding inkjet drive waveform in real time based on the sampling results using the display program module.
[0145] The specific implementation of the inkjet-driven waveform dynamic real-time display device in this embodiment is basically the same as the specific implementation of the inkjet-driven waveform dynamic real-time display method described above, and will not be repeated here.
[0146] Example 3
[0147] In addition, combined Figure 1 The inkjet drive waveform dynamic real-time display method described in Embodiment 1 of the present invention can be implemented by an electronic device. Figure 13 A schematic diagram of the hardware structure of the electronic device provided in Embodiment 3 of the present invention is shown.
[0148] Electronic devices may include processors and memory storing computer program instructions.
[0149] 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 embodiments of the present invention.
[0150] The memory may include a large-capacity storage device for data or instructions. For example, and not limitingly, the memory may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disk drive, a magneto-optical disk drive, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include removable or non-removable (or fixed) media. Where appropriate, the memory may be internal or external to a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a 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.
[0151] The processor reads and executes computer program instructions stored in the memory to implement any of the inkjet drive waveform dynamic real-time display methods in the above embodiments.
[0152] In one example, the electronic device may also include a communication interface and a bus. For example, Figure 13 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.
[0153] The communication interface is mainly used to enable communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0154] A bus, including hardware, software, or both, couples components of the 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.
[0155] Example 4
[0156] In addition, in conjunction with the inkjet drive waveform dynamic real-time display method in Embodiment 1 above, Embodiment 4 of the present invention can also provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any one of the inkjet drive waveform dynamic real-time display methods in the above embodiments.
[0157] In summary, the embodiments of the present invention provide a method, apparatus, device, and storage medium for dynamic real-time display of inkjet driven waveforms.
[0158] 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.
[0159] 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.
[0160] 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.
[0161] 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 dynamic real-time display of inkjet driven waveforms, characterized in that, The method includes: Obtain the display command for the inkjet drive waveform; Configure sampling parameters and generate sampling instructions according to the display instructions; Data is sampled according to the sampling instructions and the sampling parameters to obtain the sampling results; Based on the sampling parameters, the sampling results are stored and a completion command is generated; The sampling result is read according to the completion instruction and transmitted to the display program module; The display program module uses the sampling results to display the corresponding inkjet drive waveform in real time.
2. The method according to claim 1, characterized in that, The step of configuring sampling parameters and generating sampling instructions according to the display instructions includes: The display command is parsed to obtain parsing parameters; the parsing parameters include sampling mode, sampling channel and / or sampling rate; The sampling parameters are generated based on the sampling mode, the sampling channel, and / or the sampling rate. The sampling parameters are written into a preset register, and the sampling instruction is generated.
3. The method for dynamic real-time display of inkjet driven waveforms according to claim 2, characterized in that, After writing the sampling parameters into the preset register, the process further includes: Initialize the status register; the status register is used to indicate the status of the sampling result; The status register is read repeatedly at preset intervals.
4. The method for dynamic real-time display of inkjet drive waveforms according to claim 1, characterized in that, The step of sampling data according to the sampling instruction and the sampling parameters to obtain the sampling result includes: Based on the sampling instruction, the analog signal is sampled according to the sampling parameters; The analog signal is converted into a digital signal using an analog-to-digital converter. The sampling result is generated based on the digital signal.
5. The method for dynamic real-time display of inkjet drive waveforms according to claim 2, characterized in that, The sampling mode includes waveform sampling and / or voltage sampling. The step of storing the sampling results based on the sampling parameters and generating a completion instruction includes: When the sampling mode is waveform sampling, the sampling result is stored in a preset queue; When the sampling mode is voltage sampling, the sampling result is stored in a preset register; The status register is set to indicate that the sampling result is in a completed state, and the completion instruction is generated.
6. The method for dynamic real-time display of inkjet drive waveforms according to claim 5, characterized in that, The sampling results include waveform data and / or voltage data; the step of reading the sampling results and transmitting them to the display program module according to the completion instruction includes: In response to the completion command, the waveform data is read from the preset queue; In response to the completion command, the voltage data is read from the preset register; The waveform data and / or the voltage data are packaged and transmitted to the display program module.
7. The method for dynamic real-time display of inkjet drive waveforms according to claim 1, characterized in that, The sampling results include waveform data and / or voltage data; the step of using the display program module to display the corresponding inkjet drive waveform in real time based on the sampling results includes: The waveform data is analyzed using the display program module to obtain the waveform result; The voltage data is analyzed using the display program module to obtain the voltage result; The voltage result and the waveform result are compared using the display program module to obtain a comparison result; The display program module draws a waveform based on the waveform result and displays the inkjet drive waveform and the comparison result in real time.
8. A real-time dynamic display device for inkjet-driven waveforms, characterized in that, The device includes: The acquisition module is used to acquire the display instructions for the inkjet drive waveform; The configuration module is used to configure sampling parameters and generate sampling instructions according to the display instructions; The sampling module is used to sample data according to the sampling instructions and the sampling parameters to obtain sampling results; The storage module is used to store the sampling results based on the sampling parameters and generate a completion instruction; The reading module is used to read the sampling result according to the completion instruction and transmit it to the display program module; The display module is used to display the corresponding inkjet drive waveform in real time based on the sampling results using the display program module.
9. An electronic 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-7.
10. A storage medium storing computer program instructions thereon, characterized in that, The method as described in any one of claims 1-7 is implemented when the computer program instructions are executed by the processor.