A method and system for driving a slide rail of a digital printing head based on FPGA
Patent Information
- Application Number
- CN202611277692.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-10-16
AI Technical Summary
[0005]针对现有技术的缺陷,本申请的目的在于更好地实现数码打印喷头的滑轨驱动方式,旨在解决现有上位机与厂家控制板相结合的分散式控制架构由于喷头运动位置读取、打印图案数据更新和喷头点火触发之间因通信传输、软件调度和多控制器同步所带来的延迟,最终导致喷墨定位精度不高的问题
(1)本申请提供的一种基于FPGA的数码打印喷头的滑轨驱动方法及系统,通过将滑轨运动控制、位置反馈读取、喷头数据输出及点火时序管理集中在同一FPGA硬件平台内完成,消除了传统“上位机+厂家控制板”分离控制架构中的多控制器同步延迟,使喷头喷涂动作能够直接依据滑轨真实运动位置直接触发;由于位置反馈信号进入FPGA后即可直接作用于喷头控制逻辑,显著缩短了从滑轨位置读取到喷头喷墨触发之间的数据路径,降低了通信传输、软件调度及控制板中转所引入的时延和抖动,提高了喷头在高速连续运动条件下的喷墨定位精度,有利于提升图案打印边界清晰度和重复打印一致性。
Smart Images

Figure CN122914663A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of signal processing technology, and more specifically, relates to a slide rail driving method and system for a digital printer nozzle based on FPGA. Background Technology
[0002] With the accelerated intelligent transformation of the printing industry and the expansion of emerging application areas, inkjet printheads, as core precision components, directly determine printing accuracy, speed, and system reliability, and have been widely used in fields such as industrial packaging, 3D printing, and electronic circuit manufacturing.
[0003] Digital printheads require precise jet control during high-speed linear motion to achieve high-quality printing. To achieve coordinated operation between the printhead and the slide rail, current technologies typically employ a distributed control architecture combining a host computer and a manufacturer's control board. During printing, the host computer software schedules tasks, and the specific manufacturer's control board handles slide rail drive and printhead control separately. However, this approach suffers from limitations imposed by existing firmware and interface schemes on slide rail models, printhead models, and printhead quantity. Furthermore, delays caused by communication transmission, software scheduling, and multi-controller synchronization between printhead position reading, printed pattern data updates, and printhead ignition triggering make it difficult to accurately match the printhead's jetting motion with its actual physical position, ultimately resulting in low inkjet positioning accuracy and affecting print quality.
[0004] Therefore, how to better realize the sliding rail drive method of digital printheads has become a technical problem that the industry urgently needs to solve. Summary of the Invention
[0005] To address the shortcomings of existing technologies, the purpose of this application is to better realize the sliding rail drive method of digital printheads. It aims to solve the problem of low inkjet positioning accuracy caused by the delay in communication transmission, software scheduling and multi-controller synchronization between printhead movement position reading, print pattern data update and printhead ignition triggering in the existing distributed control architecture that combines host computer and manufacturer control board.
[0006] To achieve the above objectives, in a first aspect, this application provides a slide rail driving method for a digital printhead based on an FPGA, comprising: S1, establish a mapping relationship between the nozzle position counting interval and the nozzle control data group based on the printed pattern data; the nozzle control data group is used to control the opening and closing state of each nozzle in the printing nozzle; S2, during the process of controlling the movement of the print head, the position feedback signal of the print head is acquired, and the position count information of the print head is determined according to the position feedback signal. S3, determine the nozzle control data group from the mapping relationship according to the position counting information, and control the printing nozzle to complete the ignition spraying task at the current position according to the nozzle control data group.
[0007] Optionally, S1 includes: The physical travel of the slide rail movement is divided into multiple consecutive printing position intervals, and the position count information corresponding to each printing position interval is established in the form of registers in the internal logic resources to obtain the nozzle position count interval. Generate a nozzle control data set corresponding to each of the printing position intervals based on the printed image data; By using combinational logic, the position count information corresponding to each printing position interval and the corresponding printhead control data group are associated to obtain the mapping relationship between the printhead position count interval and the printhead control data group.
[0008] Optionally, the specific steps for determining the nozzle control data set from the mapping relationship include: Match the location counting information with the location counting data in the mapping relationship; When the location count information matches the target location count data in the mapping relationship, the target printing location range corresponding to the target location count data is determined from the mapping relationship; Obtain the nozzle control data group corresponding to the target printing position interval from the mapping relationship.
[0009] Optionally, controlling the printhead to complete the ignition and spraying task at the current position according to the printhead control data set includes: The nozzle control data group is read bit by bit and output to the external control board to generate a modulated differential signal; After the data transmission of the printhead control data group is completed, a latch signal is output to the printhead so that the control data of the printhead is updated to the printhead control data group. When the preset waiting window and ignition pulse width conditions are met, a low-pressure ignition signal is output so that the external control board can generate a high-pressure ignition signal, enabling the print head to complete the ignition and spraying task at its current position under the triggering of the modulated differential signal and the high-pressure ignition signal.
[0010] Optionally, the position feedback signal includes a first pulse signal and a second pulse signal; S2 includes: The direction of movement of the print head is determined based on the orthogonal phase information of the first pulse signal and the second pulse signal; Based on the movement direction of the print head and the change in the effective edge of the first pulse signal or the second pulse signal, the internal position counter is incremented or decremented to update, and the position count information of the print head is output; the effective edge includes the rising edge or falling edge of the signal.
[0011] Optionally, the position feedback signal includes a third pulse signal; the method further includes: When a valid trigger of the third pulse signal is detected, the internal position counter is reset or calibrated.
[0012] Secondly, this application provides a slide rail driving system for a digital printhead based on an FPGA, comprising: The mapping relationship establishment module is used to establish a mapping relationship between the nozzle position counting interval and the nozzle control data group based on the printed pattern data; the nozzle control data group is used to control the opening and closing state of each nozzle in the printing nozzle. The position counting output module is used to acquire the position feedback signal of the print head during the process of controlling the movement of the print head, and to determine the position counting information of the print head based on the position feedback signal. The ignition spraying control module is used to determine the nozzle control data group from the mapping relationship based on the position counting information, and control the printing nozzle to complete the ignition spraying task at the current position based on the nozzle control data group.
[0013] Thirdly, this application provides a slide rail drive control system for a digital printer nozzle, comprising: The system includes an FPGA control unit, a slide rail drive system, a position encoder, and a print head; the print head is fixed to the sliding platform of the slide rail drive system. The slide rail drive system is used to drive the sliding platform to move the print head under the control of the FPGA control unit. The position encoder is used to output a position feedback signal related to the movement position of the print head; The FPGA control unit includes an FPGA that implements the slide rail driving method as described above; the FPGA includes a motion control module, a position counting module, a data mapping module, and an injection timing control module; The motion control module is connected to the slide rail drive system and is used to generate control signals based on the system's internal clock to control the slide rail drive system to drive the print head movement; the position counting module is connected to the position encoder and is used to receive the position feedback signal output by the position encoder and determine the position counting information of the print head based on the position feedback signal; the data mapping module is used to establish a hardware mapping relationship between the print head position counting interval and the print head control data group; the jetting timing control module is connected to the position counting module, the data mapping module, and the print head respectively, and is used to trigger the print head to ignite and jet according to the position counting information.
[0014] Optionally, the slide rail drive system includes a slide rail mechanical system and a slide rail driver; the slide rail driver is connected to the motion control module; The slide rail mechanical system includes a linear slide rail and a sliding platform mounted on the linear slide rail; The slide rail driver is located at one end of the linear slide rail and is connected to the linear slide rail through the slide rail transmission mechanism, and is used to drive the sliding platform to move; The position encoder is arranged at one end of the slide rail driver; the print head is fixed to the sliding platform by the print head mounting assembly and extends laterally perpendicular to the extension direction of the slide rail, so that the print head is located in the printing area on the side of the slide rail.
[0015] Optionally, the printhead mounting assembly integrates a fine-tuning screw with elastic preload and a corresponding guide limit structure, which is used to adjust the preload adjustment screws in different directions to make the printhead fixing seat produce a controllable small displacement or angular deflection relative to the mounting reference within a limited range, thereby realizing the fine-tuning of the printhead's position and posture in different directions.
[0016] Overall, the technical solutions conceived in this application have the following beneficial effects compared with the prior art: (1) The slide rail driving method and system of the digital print head based on FPGA provided in this application completes the slide rail motion control, position feedback reading, print head data output and ignition timing management in the same FPGA hardware platform. This eliminates the synchronization delay of multiple controllers in the traditional "host computer + manufacturer control board" separate control architecture, so that the print head spraying action can be directly triggered according to the actual movement position of the slide rail. Since the position feedback signal can be directly applied to the print head control logic after entering the FPGA, the data path between reading the slide rail position and triggering the print head inkjet is significantly shortened. This reduces the time delay and jitter introduced by communication transmission, software scheduling and control board relay, and improves the inkjet positioning accuracy of the print head under high-speed continuous movement conditions. This is beneficial to improving the clarity of the pattern printing boundary and the consistency of repeated printing.
[0017] (2) The slide rail driving method and system for a digital printer nozzle based on FPGA provided in this application realizes position-triggered pattern data output by establishing a hardware mapping relationship between the position counting interval and the nozzle control data group inside the FPGA. This allows the nozzle driving data to automatically switch with the position count value when the slide rail passes through different spatial positions during continuous movement. This nozzle cooperative control structure based on the actual movement position eliminates the dependence on the host computer software to issue instructions at fixed time intervals, reducing jet drift caused by speed changes or control link delays.
[0018] (3) The slide rail driving method and system of digital printing nozzle based on FPGA provided in this application configures and schedules the slide rail driving interface, position feedback interface and nozzle driving interface in a unified manner through the control unit combining FPGA and PCB, so that the slide rail specifications, nozzle specifications and nozzle quantity can be flexibly replaced or expanded according to actual printing needs. This overcomes the defects in the prior art where the slide rail model, nozzle model and nozzle quantity are easily limited by existing firmware and interface schemes, and enhances the scalability and adaptability of the system. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the overall structure of the slide rail drive control system for the digital printer nozzle provided in this application embodiment; Figure 2 This is a schematic diagram of the circuit structure of the slide rail drive control system for the digital printer nozzle provided in the embodiments of this application; Figure 3 This is a schematic diagram of the printhead mounting assembly provided in an embodiment of this application; Figure 4 This is one of the flowcharts illustrating the slide rail driving method for an FPGA-based digital printhead provided in this application embodiment; Figure 5 This is a second schematic flowchart of the slide rail driving method for a digital printhead based on FPGA provided in this application embodiment; Figure 6 This is a schematic diagram of the slide rail drive system for a digital printhead based on FPGA provided in an embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0021] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first pulse signal" and "second pulse signal," etc., are used to distinguish different pulse signals, not to describe a specific order of pulse signals.
[0022] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0023] In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more, for example, multiple processing units means two or more processing units, multiple elements means two or more elements, etc.
[0024] The embodiments of this application are described below with reference to the accompanying drawings.
[0025] Figure 1 This is a schematic diagram of the overall structure of the slide rail drive control system for the digital printer nozzle provided in this application embodiment, as shown below. Figure 1 As shown, it includes: FPGA control unit 1, slide rail drive system 2, position encoder 3 and print head 4; print head 4 is fixed on the sliding platform 212 of slide rail drive system 2; The slide rail drive system 2 is used to drive the sliding platform 212 to move the print head 4 under the control of the FPGA control unit 1; Position encoder 3 is used to output a position feedback signal related to the movement position of print head 4; The FPGA control unit 1 includes an FPGA 11 that implements any of the slide rail driving methods provided in the embodiments of this application; the FPGA 11 includes a motion control module 111, a position counting module 112, a data mapping module 113, and an injection timing control module 114; The motion control module 111 is connected to the slide rail drive system 2 and is used to generate control signals based on the internal clock of the system to control the slide rail drive system 2 to drive the print head to move. The position counting module 112 is connected to the position encoder 3 and is used to receive the position feedback signal output by the position encoder 3 and determine the position counting information of the print head 4 according to the position feedback signal. The data mapping module 113 is used to establish the hardware mapping relationship between the print head position counting interval and the print head control data group. The jetting timing control module 114 is connected to the position counting module 112, the data mapping module 113 and the print head 4 respectively, and is used to trigger the print head 4 to ignite and jet according to the position counting information.
[0026] Specifically, in the embodiments of this application, the slide rail drive control system of the digital printhead can consist of an FPGA control unit, a slide rail drive system, a position encoder, and a printhead. The FPGA control unit includes an FPGA, which is used to execute any of the FPGA-based slide rail drive methods for the digital printhead described later.
[0027] More specifically, in the embodiments of this application, the FPGA can be configured by uniformly integrating a motion control module, a position counting module, a data mapping module, and an injection timing control module. The motion control module can generate control signals based on the system's internal clock to control the slide rail drive system to drive the print head movement. The position counting module can receive position feedback signals output by the position encoder in real time, thereby determining the position counting information of the print head's current movement position. The data mapping module can establish a hardware mapping relationship between the print head position counting interval and the print head control data group using the printed pattern data. The injection timing control module can search for the corresponding print head control data group based on the position counting information, trigger the print head to ignite and inject, and complete the spraying task at the current position.
[0028] Here, the FPGA control unit may also include a PCB control board, which is used to generate modulated differential signals and high-voltage ignition signals under the output excitation of the FPGA, and drive the print head to perform ignition spraying according to the existing differential modulation and high-voltage ignition coordinated driving method.
[0029] More specifically, the slide rail drive and position reading are jointly completed by the FPGA as the core control unit and the slide rail driver. The FPGA is located in the upper control layer of the control system and is responsible for generating slide rail motion control signals and monitoring the slide rail motion status in real time. The slide rail drive system drives the linear motor through the slide rail driver to achieve controlled linear motion of the print head along the slide rail direction.
[0030] In terms of slide rail drive, the FPGA generates motion control signals conforming to the driver interface specification based on its internal system clock, and sends directional control signals and pulse control signals to the slide rail driver in the slide rail drive system through a dedicated output port. The directional control signal indicates whether the nozzle moves forward or backward along the slide rail, while the pulse control signal characterizes the desired displacement or velocity information. By controlling the output frequency and duration of the pulse control signal, the FPGA can precisely adjust the nozzle's speed, acceleration, and displacement distance. Upon receiving the control signals, the slide rail driver amplifies the power and controls the current of the linear motor, enabling the motor actuator to complete the corresponding linear motion according to the FPGA's control instructions. To ensure the stability and predictability of motion control, the FPGA internally performs multi-level frequency division of the system clock, generating multiple control timing references for precise output of drive pulses and unified management of motion timing. By converting the high-frequency system clock into a control clock suitable for the driver's response characteristics, the pulse edges during slide rail movement have good time consistency, thereby reducing motion jitter and accumulated errors. This FPGA-led timing management method allows the slide rail drive process to operate collaboratively with subsequent nozzle spray control on the same time reference.
[0031] In terms of slide rail position reading, the position encoder can specifically adopt an ABZ incremental encoder, which can output orthogonal A-phase and B-phase pulse signals as well as a Z-phase pulse signal for position reference calibration. Each phase signal can be transmitted to the FPGA in a differential form to improve signal reliability in complex electromagnetic environments. Unlike the traditional control method that reads the position status through a host computer in conjunction with the manufacturer's control board and then sends printhead trigger commands via a communication link, this application directly connects the ABZ position feedback signal to the FPGA. Signal analysis, direction determination, edge counting, and Z-phase reference calibration are performed internally within the FPGA, enabling the slide rail position data to be written to the position counter in real time at the hardware logic level. Specifically, after receiving the A-phase, B-phase, and Z-phase pulse signals, the FPGA determines the slide rail movement direction based on the orthogonal phase relationship between the A-phase and B-phase pulse signals and updates the internal position counter by incrementing or decrementing based on effective edge changes, thereby obtaining the real-time position count value corresponding to the current position of the printhead. When a valid trigger of the Z-phase pulse signal is detected, the FPGA can use it as the slide rail zero position or reference position to reset or calibrate the position counter.
[0032] Since the aforementioned position counting process is completed directly within the FPGA logic resources, the slide rail position reading result does not need to be uploaded to the host computer or forwarded by an external control board. Instead, it can directly participate in the unified scheduling of the printhead ignition timing, data latching timing, and motion control timing within the FPGA. Therefore, this application significantly shortens the data path from slide rail position feedback to printhead ejection triggering, reduces the latency and jitter introduced by communication transmission, software scheduling, and control board relay, and enables the printhead inkjet action to more accurately correspond to the target spatial position during slide rail movement, thereby improving inkjet positioning accuracy and pattern repeatability under high-speed continuous motion conditions.
[0033] Through this method, the FPGA achieves precise control of the slide rail movement and high-precision reading of the printhead position without directly participating in the motor power drive. The slide rail driver is responsible for executing the underlying power control and motor response, while the FPGA centrally manages motion command generation, direction control, pulse scheduling, and position feedback processing at the logic level, enabling unified scheduling and time synchronization of slide rail movement control and printhead ejection control on the same control platform. This slide rail driving and position reading method based on the collaborative work of the FPGA and the slide rail driver provides a reliable control foundation for the stable operation of digital printheads during high-speed, high-precision printing.
[0034] In the embodiments of this application, the collaborative operation of the slide rail drive system and the print head is implemented by an FPGA as a unified control core. The FPGA simultaneously manages the slide rail motion state, position feedback counting, print head data loading, data latching, and ignition triggering within the same control platform, enabling a definite correspondence between the print head's ejection action and its real-time position on the slide rail, thereby achieving precise output of specific printed patterns. Compared to the prior art where a host computer generates printing tasks and then the manufacturer's control board drives the slide rail and print head separately, this application no longer distributes slide rail position determination and print head ejection control across multiple control stages. Instead, it centrally integrates position reading, pattern data selection, and print head interface timing within the FPGA hardware logic, thus forming a print head collaborative control structure based on the actual movement position.
[0035] More specifically, during the printing process, the FPGA continuously receives and parses position feedback signals from the position encoder, converting them into internal position count values. These position count values are then used as a direct index for nozzle data selection and jet control. Specifically, in one implementation, the FPGA pre-stores multiple sets of nozzle control data corresponding to the target printing pattern, for example, determining first to fifth sets of nozzle control data. Each set of nozzle control data corresponds to a preset position interval in the printing stroke and is used to characterize the open or closed state of each nozzle within that position interval. When the slide rail drives the printhead into the first position interval, the FPGA selects the corresponding first nozzle control data set as the current output data; when the position count value determines that the printhead has entered the second, third, fourth, or fifth position interval, the FPGA switches to the corresponding nozzle control data set accordingly. Therefore, this mapping relationship is not simply a conversion of the nozzle's current position into coordinate values, but rather a hardware mapping relationship is established within the FPGA between "position counting interval - pattern data group - nozzle output channel". This allows the nozzle drive data to automatically switch with the position count value when the slide rail passes through different spatial positions during continuous movement, thereby realizing position-triggered pattern data output.
[0036] Furthermore, within a printing task execution cycle, the FPGA does not simply output a single trigger signal upon reaching a certain position, but rather completes continuous control of nozzle data loading, shift output, latch update, and ignition jetting according to a preset state process. Specifically, after the FPGA determines the current nozzle control data group to be output based on the position count value, it reads the data group bit by bit using internal index counting and synchronously sends the read data to the multi-channel data of the nozzle; after a set of nozzle control data has been transmitted, the FPGA outputs a latch signal, causing the nozzle interface to update the data for this time.
[0037] To ensure stable loading of nozzle control data and ignition safety, the FPGA strictly adheres to timing constraints when outputting latching signals: a critical protection window, or preset waiting window, is set based on the ignition pulse waveform. Specifically, this window prohibits the latching signal from transitioning from 0 to 1 logic level within the time interval from 1 microsecond (1μs) before the start of the ignition pulse to 1 microsecond (1μs) after the end of the ignition pulse. Outside this protection window, the FPGA can perform latching operations to update the nozzle data. These time window requirements are implemented with the cooperation of the FPGA's high-frequency system clock. Subsequently, when the preset waiting window and ignition pulse width conditions are met, the FPGA outputs a low-voltage ignition signal, which is boosted to approximately 80V high-voltage ignition voltage by the PCB board. Under the orderly triggering of the modulated differential signal and the 80V high-voltage ignition signal, the piezoelectric components inside the nozzle are driven to complete precise spraying.
[0038] The above process corresponds to the scenario of single-line high-speed scanning printing using a slide rail: the printhead continuously passes through different printing positions without stopping the slide rail movement. The FPGA determines the range where the printhead is located in real time based on the position count value, and automatically loads the corresponding pattern data, completes latching, and triggers ignition in the corresponding range, so that the jetting action matches the actual spatial position of the printhead.
[0039] Through the aforementioned collaborative working method, this embodiment directly incorporates the slide rail position change into the printhead drive data selection and jetting timing generation process. This eliminates the reliance on the host computer software issuing commands at fixed time intervals, and also eliminates the need for an external control board to coordinate position and printhead movement. Instead, the FPGA performs position counting, interval determination, data group switching, data clock output, latch control, and ignition control under the same clock reference. Since the position feedback signal can directly affect the printhead control logic after entering the FPGA, the data path from the slide rail position reading to the printhead inkjet trigger is significantly shortened, reducing the delays and jitter introduced by host computer scheduling, communication transmission, and multi-controller synchronization. During high-speed reciprocating scanning printing, this method enables the printhead jetting action to more accurately land at the preset spatial position, reducing jetting drift caused by speed changes or control link delays, and improving the continuity, repeatability, and spatial consistency of printed pattern boundaries, lines, and details.
[0040] In this embodiment, the FPGA is upgraded to a "unified closed-loop hub with deep coupling between motion drive and injection control" through the above-described method. Specifically, compared with existing technologies that only utilize FPGAs for signal distribution or transmission, the substantial progress and differences of this application include, but are not limited to: (1) Centralized control and active control: The FPGA of this application is no longer a "transfer station" that passively receives external grating signals, but actively undertakes the task of generating motion commands and directly outputs direction and pulse signals under the same clock reference to drive the underlying slide rail motor.
[0041] (2) Establishment of hardware-level spatial mapping logic: The FPGA directly reads the real-time position feedback of the position encoder and hard-solidifies the direct hardware mapping relationship of "slide rail position counting interval - nozzle control data group - nozzle output channel - ignition timing" in its internal logic resources.
[0042] Through the aforementioned collaborative control mechanism, the printhead ejection process completely eliminates its reliance on time synchronization with external independent motion controllers. Since the three core components—"driving the slide rail," "sensing the slide rail's actual position," and "scheduling pattern data and igniting the ejection"—are all completed in a closed loop on the same FPGA hardware platform under the same clock reference, precise control with the actual physical spatial position as the sole trigger source is truly achieved. This application significantly shortens the control chain without relying on additional complex compensation hardware, effectively eliminating communication delays and synchronization errors between multiple controllers in traditional separate architectures. This results in a significant improvement in the accuracy of the ejection position, pattern consistency, and overall system reliability under high-speed continuous scanning printing conditions.
[0043] In this embodiment, an FPGA replaces the traditional distributed control architecture of "host computer + manufacturer control board," enabling unified control of slide rail motion, printhead position feedback reading, printhead data output, latch update, and ignition triggering under the same hardware clock reference. This method establishes a hardware mapping relationship within the FPGA between "slide rail position count - printing position interval - printhead control data - jetting timing," allowing printhead jetting actions to be triggered directly based on the actual movement position. This reduces communication latency and multi-controller synchronization errors, improving inkjet positioning accuracy, pattern consistency, and system scalability during high-speed continuous printing.
[0044] like Figure 2 As shown in the embodiments of this application, the slide rail drive system 2 includes a slide rail mechanical system 21 and a slide rail driver 22; the slide rail driver 22 is connected to the motion control module 111. The slide rail mechanical system 21 includes a linear slide rail 211 and a sliding platform 212 disposed on the linear slide rail 211; The slide rail driver 22 is located at one end of the linear slide rail 211 and is connected to the linear slide rail 211 through the slide rail transmission mechanism, and is used to drive the sliding platform 212 to move. The position encoder 3 is arranged at one end of the slide rail driver 22; the print head 4 is fixed to the sliding platform 212 by the print head mounting assembly 41 and extends laterally in a position perpendicular to the extension direction of the slide rail, so that the print head 4 is located in the printing area on the side of the slide rail.
[0045] Specifically, in the embodiments of this application, the slide rail mechanical system adopts a linear drive structure. By using a linear motor as the core drive unit, the printhead mounting assembly is directly connected to the mover of the linear motor, thereby forming a linear motion actuator without intermediate transmission links. This structure avoids the mechanical backlash, elastic deformation, and cumulative transmission errors commonly found in traditional rotary motors coupled with lead screws or synchronous belt drives, ensuring good linear consistency and repeatability between the actual displacement of the printhead and the drive command. This direct-drive mechanical characteristic provides a predictable physical response basis for the motion control signals output by the FPGA, which is beneficial for achieving precise position planning and speed control at the control level.
[0046] The slide rail mechanical system includes a linear slide rail and a sliding platform mounted on it. The printhead is fixed to the sliding platform by a printhead mounting assembly and extends laterally perpendicular to the slide rail's extension direction, positioning the printhead in the printing area beside the slide rail. A slide rail driver is located at one end of the slide rail mechanical system and connected to the slide rail transmission mechanism. A position encoder is located at the slide rail driver end to acquire position feedback signals related to the slide rail's movement. The FPGA control unit is connected to the slide rail driver, position encoder, and printhead via connecting cables, thus forming a unified control and feedback path between the mechanical structure, position signal acquisition structure, and printhead driving structure.
[0047] To ensure that the printhead maintains a stable motion posture during high-speed reciprocating motion, the slide rail mechanical system is equipped with a high-rigidity linear guide structure to precisely constrain the printhead's motion direction, ensuring that it moves only along the preset printing direction. This effectively suppresses vibration and posture deviation during the motion, thereby providing stable spatial reference conditions for the FPGA to accurately trigger the jet control signal during the motion.
[0048] In the system of this application embodiment, the FPGA control unit, composed of an FPGA and a PCB, serves as the core control unit of the system, uniformly undertaking the tasks of slide rail motion control, position status acquisition, and printhead drive signal generation and scheduling. In the prior art, related printing motion systems typically bind specific models of slide rails with specific models of printheads, and rely on the main control board firmware and host computer software provided by the manufacturer to complete the drive control, which limits the replacement and expansion of slide rail models, printhead models, and the number of printheads.
[0049] Compared to the traditional solutions mentioned above, this application uses a control unit built with FPGA and PCB to uniformly configure and schedule the slide rail drive interface, position feedback interface, and printhead drive interface, allowing for flexible replacement or expansion of slide rail specifications, printhead specifications, and printhead quantity according to actual printing needs. By systematically integrating the slide rail mechanical system, slide rail driver, position encoding device, and printhead control interface, the linear motion of the slide rail, the position sensing and jetting control of the printhead are coordinated within the same control platform, ensuring that the printhead can accurately jet the preset printing pattern at the corresponding spatial position during slide rail movement. By establishing the correlation between the slide rail movement state and printhead drive data within the FPGA, and uniformly managing the timing of motion control signals, position feedback signals, and printhead ignition and data latching signals, high-precision, repeatable patterned printing of the printhead is achieved under continuous slide rail movement conditions.
[0050] Based on the above embodiments, as an optional embodiment, the printhead mounting assembly integrates a fine-tuning screw with elastic preload and a corresponding guide and limiting structure. This allows the printhead mounting base to generate a controllable small displacement or angular deflection relative to the mounting reference within a limited range by adjusting the preload adjusting screws in different directions, thereby achieving fine-tuning of the printhead's position and posture in different directions.
[0051] Specifically, regarding the printhead mounting method, the slide rail mechanical system is equipped with a dedicated printhead mounting component, which integrates a precision fine-tuning structure for calibrating the position and orientation of the printhead after system assembly. For example... Figure 3 As shown, the printhead mounting assembly 41 includes a pre-tightened fine-tuning screw 413 and a corresponding guide limiting structure 414 between the printhead mounting base 411 and the support mounting plate 412. By adjusting the pre-tightening screws in different directions, the printhead mounting base 411 can be made to produce a controllable small displacement or angular deflection relative to the mounting reference within a limited range, thereby achieving the desired movement along the mounting path. x Axial direction, y Axial direction and z Fine-tuning of the position in the axial direction. Based on the physical fixing requirements of the print head, the design parameters of the elastic pre-tightening structure are as follows: (1) x The shaft fine-tuning screw has a pitch of 0.25mm, and a single rotation can achieve a displacement adjustment of 0.25mm. y The shaft fine-tuning screw has a pitch of 0.25mm, and a single rotation can achieve a displacement adjustment of 0.25mm; (2) x Shaft adjustment range ±2.5mm y Shaft adjustment range ±2.5mm zThe shaft adjustment range is ±2mm; (3) The preload of the elastic preload spring is 10N-50N, preferably 30N, to ensure that the nozzle fixing seat and the installation reference surface remain in stable contact during the adjustment process.
[0052] The elastic pre-tightening structure continuously eliminates thread clearance during adjustment and maintains stable contact between the printhead mounting base 411 and the mounting reference surface, resulting in good repeatability and vibration resistance of the adjusted position. Furthermore, multi-point screw engagement allows for printhead pitch and yaw correction. This design enables optimization of the final working posture of the printhead during system integration, ensuring accurate execution of the motion and jetting control signals subsequently generated by the FPGA based on an ideal geometric model within the actual mechanical system.
[0053] To achieve effective interaction between the printhead motion and the control system, the slide rail mechanical system is structurally designed with interfaces for cooperation with the driver and control system. The linear motor and its matching driver work together, with the driver controlling the motor power level. The FPGA, as the upper-level control unit, only needs to output standardized motion control signals to schedule the printhead motion. By separating the high-power drive from the logic control, the FPGA can focus on motion trajectory planning, timing control, and synchronization management with the jetting signal, thereby reducing the complexity of the control system and improving overall reliability. Furthermore, the slide rail mechanical system's motion performance design fully considers the comprehensive requirements for speed, acceleration, and repeatability accuracy during digital printing. By rationally matching the motion load and drive capability, the system can maintain a stable dynamic response even under high-speed operating conditions. This motion characteristic allows the FPGA to coordinate the relationship between printhead motion and jetting action with a stable time base when controlling the printhead for continuous scanning printing, providing a reliable mechanical foundation for achieving high-precision, high-consistency digital printing results.
[0054] Figure 4 This is one of the flowcharts illustrating the slide rail driving method for a digital printhead based on an FPGA provided in this application. It can be understood that the execution entity of this method is the FPGA in the aforementioned FPGA control unit, and the method includes: S1, establish a mapping relationship between the printhead position counting interval and the printhead control data group based on the printed pattern data; the printhead control data group is used to control the opening and closing state of each nozzle in the printhead. S2, during the process of controlling the movement of the print head, obtain the position feedback signal of the print head's position, and determine the position count information of the print head's position based on the position feedback signal; S3, determine the nozzle control data group from the mapping relationship based on the position count information, and control the printing nozzle to complete the ignition spraying task at the current position based on the nozzle control data group.
[0055] Specifically, in the embodiments of this application, in step S1, after the FPGA receives the instruction and starts the printing task, it first loads the printing parameters and printing pattern data issued by the host computer, and establishes a mapping relationship between the nozzle position counting interval and the nozzle control data group in its internal logic resources according to the printing pattern data, thus obtaining a hardware mapping relationship table of "position counting interval - nozzle control data group - nozzle output channel". This mapping table divides the expected physical movement stroke of the slide rail into several consecutive printing position intervals, and pre-allocates a corresponding nozzle control data group for each printing position interval. The nozzle control data group is used to control the opening and closing state of each nozzle in the printing nozzle.
[0056] Based on the content of the above embodiments, as an optional embodiment, step S1 includes: The physical travel of the slide rail movement is divided into multiple consecutive printing position intervals, and position counting information corresponding to each printing position interval is established in the internal logic resources to obtain the nozzle position counting interval. Generate a nozzle control data set corresponding to each printing position interval based on the printed image data; For each printing position interval, establish a correlation between the position count information and the corresponding printhead control data group to obtain the mapping relationship between the printhead position count interval and the printhead control data group.
[0057] Specifically, in the embodiments of this application, the physical travel of the slide rail movement can be divided into multiple continuous printing position intervals in the logic resources of the FPGA in advance, and the position count information corresponding to each printing position interval can be established in the form of registers in the internal logic resources of the FPGA. Thus, the position count information corresponding to each printing position interval can be combined into a nozzle position count interval.
[0058] After acquiring the printed image data, the printed image data is divided into slices and its spatial position is analyzed through hardware-level spatial coordinate analysis and pattern slicing processing. The image slices corresponding to each printing position interval are determined, and the nozzle control data group corresponding to each printing position interval is pre-generated in the high-speed storage resources inside the FPGA. This data group is used to accurately characterize the opening and closing state of each nozzle within a specific physical position interval.
[0059] Finally, in the underlying hardware logic of the FPGA, combinational logic is used to establish an association between the position count information corresponding to each printing position interval and the corresponding nozzle control data group, thus obtaining the mapping relationship between the nozzle position count interval and the nozzle control data group. This provides deterministic, zero-software-latency data addressing output when the real-time physical position pulse arrives. By embedding the hardware mapping relationship between the nozzle control data group and the slide rail position count interval into the FPGA logic resources, position-triggered data switching can be achieved without upper-level computer intervention. This hardware mapping embedding design, with closed-loop scheduling under the same high-frequency system clock reference, deeply couples motion sensing and jet control into the underlying hardware architecture of the FPGA. This completely eliminates the communication latency and synchronization jitter caused by position status uploading, upper-level computer software scheduling, and multi-controller switching in traditional distributed architectures, helping to achieve high-precision printing with strict alignment to the real physical space position.
[0060] Furthermore, in the embodiments of this application, in step S2, during the process of controlling the movement of the print head, the FPGA can obtain the position feedback signal of the print head in real time through the connection of the position encoder, and determine the position count information of the print head based on the position feedback signal.
[0061] Based on the above embodiments, as an optional embodiment, the position feedback signal includes a first pulse signal and a second pulse signal; S2 includes: The direction of print head movement is determined based on the orthogonal phase information of the first pulse signal and the second pulse signal; Based on the direction of printhead movement and the change in the effective edge of the first or second pulse signal, the internal position counter is incremented or decremented to update the printhead position count information; the effective edge includes the rising edge or falling edge of the signal.
[0062] Specifically, in the embodiments of this application, the position encoder may be an ABZ incremental encoder, whose output position feedback signal includes orthogonal A-phase and B-phase pulse signals and a Z-phase pulse signal for position reference calibration. It can be understood that the first pulse signal and the second pulse signal may be A-phase and B-phase pulse signals, or B-phase and A-phase pulse signals, respectively.
[0063] In the embodiments of this application, the ABZ position feedback signal is directly connected to the FPGA, and signal analysis, direction determination, edge counting, and Z-phase reference calibration are performed within the FPGA, enabling the slide rail position data to be written to the position counter in real time at the FPGA hardware logic level. Specifically, after receiving the A-phase, B-phase, and Z-phase pulse signals, the FPGA determines the lead or lag information between the two phase pulse signals based on the orthogonal phase relationship between the A-phase and B-phase pulse signals. Based on this, the slide rail movement direction can be directly determined, and thus the print head movement direction can be determined.
[0064] Furthermore, the FPGA increments or decrements the internal position counter based on the direction of the print head's movement and the effective edge change, thereby obtaining the real-time position count value corresponding to the current position of the print head.
[0065] Based on the above embodiments, as an optional embodiment, the position feedback signal includes a third pulse signal; the method further includes: When a valid trigger of the third pulse signal is detected, the internal position counter is reset or calibrated.
[0066] Specifically, in the embodiments of this application, the position encoder is an ABZ incremental encoder, and the third pulse signal is a Z-phase pulse signal. When a valid trigger of the Z-phase pulse signal is detected, the FPGA can use it as the zero position or reference position of the slide rail to reset or calibrate the position counter.
[0067] The method in this application embodiment completes the above-mentioned position counting process directly in the FPGA logic resources, and directly participates in the unified scheduling of the nozzle ignition timing, data latching timing and motion control timing within the FPGA. This significantly shortens the data path between the slide rail position feedback and the nozzle spray trigger, and reduces the latency and jitter introduced by communication transmission, software scheduling and control board relay.
[0068] Furthermore, in the embodiments of this application, in step S3, the FPGA can determine the corresponding nozzle control data group from the aforementioned established mapping relationship based on the position counting information, and control the printing nozzle to complete the ignition spraying task at its position based on the nozzle control data group.
[0069] The slide rail driving method of this application integrates slide rail motion control, position feedback reading, printhead data output, and ignition timing management within the same FPGA hardware platform. This eliminates the synchronization delay of multiple controllers in the traditional separate control architecture of "host computer + manufacturer control board," allowing the printhead spraying action to be directly triggered based on the actual movement position of the slide rail. Since the position feedback signal can directly act on the printhead control logic after entering the FPGA, the data path from reading the slide rail position to triggering printhead inkjet printing is significantly shortened. This reduces the latency and jitter introduced by communication transmission, software scheduling, and control board relay, improving the inkjet positioning accuracy of the printhead under high-speed continuous movement conditions, which is beneficial for improving the clarity of pattern printing boundaries and the consistency of repeated printing.
[0070] Based on the above embodiments, as an optional embodiment, the specific steps for determining the nozzle control data group from the mapping relationship include: Match the location count information with the location count data in the mapping relationship; When the position count information matches the target position count data in the mapping relationship, the target printing position range corresponding to the target position count data is determined from the mapping relationship; Obtain the nozzle control data set corresponding to the target printing position range from the mapping relationship.
[0071] Specifically, in the embodiments of this application, the FPGA compares and matches the currently determined position count information with the position count data in the aforementioned established mapping relationship one by one to determine whether the current slide rail and print head have entered the target printing position interval. When it is determined that the position count information matches the target position count data in the mapping relationship, it indicates that the print head has entered the preset printing interval, thereby determining the target printing position interval corresponding to the target position count data from the mapping relationship. Further, the FPGA then obtains the print head control data set corresponding to the target printing position interval from the mapping relationship, thus obtaining the print head control data set required for the spraying task at the current position of the print head.
[0072] Based on the above embodiments, as an optional embodiment, controlling the printhead to complete the ignition and spraying task at the current position according to the printhead control data group includes: The nozzle control data group is read bit by bit and output to the external control board to generate a modulated differential signal; After completing the data transmission of the printhead control data group, a latch signal is output to the printhead to update the printhead control data to the printhead control data group. When the preset waiting window and ignition pulse width conditions are met, a low-pressure ignition signal is output so that the external control board can generate a high-pressure ignition signal, enabling the print head to complete the ignition and spraying task at its current position under the triggering of the modulated differential signal and the high-pressure ignition signal.
[0073] Specifically, in the embodiments of this application, after the FPGA obtains the nozzle control data group corresponding to the target printing position interval, it reads the nozzle control data group bit by bit and outputs it to the signal modulation module in the external PCB control board for processing, which can generate a modulated differential signal.
[0074] Specifically, the FPGA first outputs a single-ended control signal corresponding to a specific printhead in the printhead control data group, which is then transmitted to the single-ended differential driver module on the PCB. The latter buffers and adjusts the level of the single-ended signal to meet the input level requirements of the differential converter chip. Subsequently, a high-speed differential converter converts the single-ended signal into a complementary LVDS differential pair. This process generates two signals with opposite phases and equal amplitudes through an internal amplifier structure. The LVDS differential pair signal is then pulse-width modulated for common-mode noise suppression and signal reconstruction to restore the timing characteristics of the original digital signal. A precise time base is generated using the modulation clock provided by the FPGA and a tunable RC circuit. A comparator array compares the reconstructed digital signal with a reference voltage in real time, generating a pulse waveform with an adjustable duty cycle. After this process, the PCB transmits the final modulated differential signal to the printhead data interface.
[0075] Understandably, each data point in the printhead control data set corresponds to a single-ended control signal, which is used to control the opening and closing state of a specific nozzle in the printhead.
[0076] Furthermore, after the printhead control data set is transmitted, the FPGA outputs a latch signal to the printhead, triggering a complete update of the printhead's control data to the printhead control data set. Specifically, after a set of printhead control data is transmitted, the FPGA outputs a latch signal, causing the printhead interface to update the data and ensuring that the printhead control data will not be updated again before the ignition signal arrives. The FPGA's latch signal is also processed by the PCB to generate a modulated differential signal, which is then transmitted to the printhead data interface.
[0077] Furthermore, when the preset waiting window and ignition pulse width conditions are met, the FPGA outputs a low-voltage ignition signal to the boost and ignition module in the external PCB control board. This converts the low-voltage ignition signal into a high-voltage ignition signal. After the print head synchronously receives the above-mentioned modulated differential signal and high-voltage ignition signal, it can control the corresponding nozzle to accurately execute the ink droplet ejection printing at the current physical space position according to the data of the print head control data group, thus completing the ignition and spraying task at the current position.
[0078] Figure 5 This is the second flowchart illustrating the slide rail driving method for a digital printhead based on FPGA provided in this application embodiment, as shown below. Figure 5 As shown, the overall processing flow of the FPGA-based digital printer nozzle slide rail driving method provided in this application specifically includes the following steps: Step 1: System Initialization and Data Mapping: After the system receives the instruction and starts the printing task, it first performs system initialization configuration. During this stage, the FPGA loads the printing parameters and printing pattern data issued by the host computer, and establishes a hardware mapping table between the position counting interval, the nozzle control data group, and the nozzle output channel in its internal logic resources. This lays the data foundation for subsequently overcoming host computer communication delays and realizing hardware-level collaborative control triggered by actual physical positions.
[0079] Step 2: Generating Slide Rail Control Signals: After initialization and mapping are established, the motion control logic inside the FPGA generates standardized direction control signals (referred to as direction signals) and pulse control signals (referred to as pulse signals) based on the preset scanning speed and printing stroke, and continuously outputs them to the underlying driver of the slide rail system. After receiving the power stage drive command, the slide rail motor begins to execute controlled linear motion of the slide rail, driving the printhead to move smoothly towards the target printing area.
[0080] Step 3: Position Feedback, Printing Zone Determination, and Control Logic Output: During the movement of the slide rail motor, the ABZ incremental encoder located at the end of the slide rail collects the mechanical displacement in real time and transmits the position feedback signal to the FPGA. The FPGA performs high-speed parsing, direction determination, and position counting on this feedback signal at the hardware level. Then, it compares the internally updated position count value with the mapping table established in Step 1 to determine whether the slide rail and print head have entered the preset printing zone. If the determination is negative, i.e., the target printing zone has not been entered, the system control flow returns to Step 2, continuing to generate direction and pulse signals to maintain and control the slide rail movement. If the determination is positive, i.e., the target printing zone has been entered, the FPGA immediately triggers the corresponding print head control data group output according to the hardware mapping relationship and synchronously sends the print head pattern data matching that zone into the data channel. Following this, the FPGA outputs latch signals and ignition control signals that meet the pulse width conditions sequentially according to a strict preset timing sequence. The entire process of determining the printing position range and generating signals is completed in a closed loop directly under the FPGA clock reference, which effectively shortens the data path and eliminates the time delay jitter caused by the control board relay.
[0081] Step 4: Signal Modulation and Ejection Execution: The FPGA outputs a low-voltage digital control signal, including printhead control data and a low-voltage ignition signal, and transmits it to the external PCB control board. The driver circuit on the PCB control board performs electrical level conversion on the received printhead control data signal, generating a modulated differential signal suitable for the printhead's high-speed data channel. Simultaneously, based on the low-voltage ignition control timing from the FPGA, the power amplification generates the high-voltage ignition signal required to drive the piezoelectric components inside the printhead. After synchronously receiving the above modulated differential signal and high-voltage ignition signal, the printhead precisely executes droplet ejection printing at its current physical spatial position.
[0082] At the end of this inkjet cycle, the system will determine whether the overall printing task is complete. If printing is not complete, the control flow will automatically return to step two and continue to loop the dynamic closed-loop process of driving the slide rail movement, collecting feedback and making judgments, and performing precise inkjet printing. If it is determined that the printed pattern has been completely output, the relevant signal output will be terminated, and the printing task will officially end.
[0083] In this way, the slide rail motion control, position feedback processing, printhead data output and ignition timing management are centralized in the same FPGA hardware platform, which significantly shortens the data path from slide rail position feedback to printhead ejection trigger, and reduces the latency and jitter introduced by communication transmission, software scheduling and multi-controller synchronization, thereby improving inkjet positioning accuracy, pattern boundary clarity and repeat printing consistency under high-speed continuous motion conditions.
[0084] It is understood that the linear motor in the above embodiments is not limited to a specific model, and other types of linear drive units can also be used. The position encoder described above is not limited to ABZ incremental encoders, and can also be an absolute encoder or a linear encoder, or other position sensors commonly used in the art. The printhead described above is not limited to piezoelectric printheads, and can also be a thermal inkjet printhead or a printhead based on other jetting principles.
[0085] The slide rail driving system for the FPGA-based digital printhead provided in this application is described below. The slide rail driving system for the FPGA-based digital printhead described below can be referred to in correspondence with the slide rail driving method for the FPGA-based digital printhead described above.
[0086] Figure 6 This is a schematic diagram of the slide rail drive system for an FPGA-based digital printhead provided in an embodiment of this application, as shown below. Figure 6 As shown, its essence is the internal system of the FPGA, which can specifically include: The mapping relationship establishment module 10 is used to establish a mapping relationship between the nozzle position counting interval and the nozzle control data group based on the printed pattern data; the nozzle control data group is used to control the opening and closing state of each nozzle in the printing nozzle. The position counting output module 20 is used to acquire the position feedback signal of the print head during the process of controlling the movement of the print head, and to determine the position counting information of the print head based on the position feedback signal. The ignition spraying control module 30 is used to determine the nozzle control data group from the mapping relationship based on the position counting information, and control the printing nozzle to complete the ignition spraying task at the current position according to the nozzle control data group.
[0087] It is understood that the detailed functional implementation of each of the above units / modules can be found in the description in the aforementioned method embodiments, and will not be repeated here.
[0088] It should be understood that the above-described device is used to execute the methods in the above embodiments. The implementation principle and technical effect of the corresponding program modules in the device are similar to those described in the above methods. The working process of the device can be referred to the corresponding process in the above methods, and will not be repeated here.
[0089] The slide rail drive system of this application integrates slide rail motion control, position feedback reading, printhead data output, and ignition timing management within the same FPGA hardware platform. This eliminates the synchronization delay of multiple controllers in the traditional separate control architecture of "host computer + manufacturer control board," enabling the printhead spraying action to be directly triggered based on the actual movement position of the slide rail. Since the position feedback signal can directly act on the printhead control logic after entering the FPGA, the data path between reading the slide rail position and triggering the printhead inkjet is significantly shortened. This reduces the latency and jitter introduced by communication transmission, software scheduling, and control board relay, improving the inkjet positioning accuracy of the printhead under high-speed continuous movement conditions. This is beneficial for improving the clarity of pattern printing boundaries and the consistency of repeated printing.
[0090] The method steps in this application embodiment can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an ASIC.
[0091] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0092] It is understood that the various numerical designations used in the embodiments of this application are merely for the convenience of description and are not intended to limit the scope of the embodiments of this application.
[0093] It should be understood that expressions such as “comprising” and “may include” used in this application indicate the existence of the disclosed functions, operations, or constituent elements, and do not limit one or more additional functions, operations, and constituent elements. In this application, terms such as “comprising” and / or “having” are to be interpreted as indicating a particular characteristic, number, operation, constituent element, component, or combination thereof, but not to exclude the existence or possibility of adding one or more other characteristics, numbers, operations, constituent elements, components, or combinations thereof.
[0094] Furthermore, in this application, the expression "and / or" includes any and all combinations of the associated listed words. For example, the expression "A and / or B" may include A, may include B, or may include both A and B.
[0095] In the description of the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, the term "connection" should be interpreted broadly. For example, "connection" can be a detachable connection or a non-detachable connection; it can be a direct connection or an indirect connection through an intermediate medium. "Fixed connection" refers to a connection where the relative positional relationship remains unchanged after connection. "Rotary connection" refers to a connection where the components can rotate relative to each other after connection. "Sliding connection" refers to a connection where the components can slide relative to each other after connection. The directional terms mentioned in the embodiments of this application, such as "top," "bottom," "inner," "outer," "left," and "right," are only for reference to the directions in the accompanying drawings. Therefore, the directional terms used are for better and clearer explanation and understanding of the embodiments of this application, and are not intended to indicate or imply that the device or component referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.
[0096] Furthermore, the mathematical concepts mentioned in the embodiments of this application, such as symmetry, equality, parallelism, and perpendicularity, are limitations specific to the current technological level, rather than absolute and strict mathematical definitions. Slight deviations are permissible; approximations of symmetry, equality, parallelism, and perpendicularity are all acceptable. For example, "A and B are parallel" means that A and B are parallel or approximately parallel, and the angle between A and B can be between 0 and 10 degrees. "A and B are perpendicular" means that A and B are perpendicular or approximately perpendicular, and the angle between A and B can be between 80 and 100 degrees.
[0097] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A slide rail driving method for a digital printhead based on FPGA, characterized in that, include: S1, Establish a mapping relationship between the printhead position counting interval and the printhead control data group based on the printed pattern data; The printhead control data group is used to control the opening and closing status of each nozzle in the printhead; S2, during the process of controlling the movement of the print head, the position feedback signal of the print head is acquired, and the position count information of the print head is determined according to the position feedback signal. S3, determine the nozzle control data group from the mapping relationship according to the position counting information, and control the printing nozzle to complete the ignition spraying task at the current position according to the nozzle control data group.
2. The slide rail driving method according to claim 1, characterized in that, S1 includes: The physical travel of the slide rail movement is divided into multiple consecutive printing position intervals, and the position count information corresponding to each printing position interval is established in the form of registers in the internal logic resources to obtain the nozzle position count interval. Generate a nozzle control data set corresponding to each of the printing position intervals based on the printed image data; By using combinational logic, the position count information corresponding to each printing position interval and the corresponding printhead control data group are associated to obtain the mapping relationship between the printhead position count interval and the printhead control data group.
3. The slide rail driving method according to claim 1, characterized in that, The specific steps for determining the nozzle control data set from the mapping relationship include: Match the location counting information with the location counting data in the mapping relationship; When the location count information matches the target location count data in the mapping relationship, the target printing location range corresponding to the target location count data is determined from the mapping relationship; Obtain the nozzle control data group corresponding to the target printing position interval from the mapping relationship.
4. The slide rail driving method for a digital printhead based on FPGA according to claim 3, characterized in that, The printhead is controlled according to the printhead control data set to complete the ignition and spraying task at the current position, including: The nozzle control data group is read bit by bit and output to the external control board to generate a modulated differential signal; After the data transmission of the printhead control data group is completed, a latch signal is output to the printhead so that the control data of the printhead is updated to the printhead control data group. When the preset waiting window and ignition pulse width conditions are met, a low-pressure ignition signal is output so that the external control board can generate a high-pressure ignition signal, enabling the print head to complete the ignition and spraying task at its current position under the triggering of the modulated differential signal and the high-pressure ignition signal.
5. The slide rail driving method according to any one of claims 1-4, characterized in that, The position feedback signal includes a first pulse signal and a second pulse signal; S2 includes: The direction of movement of the print head is determined based on the orthogonal phase information of the first pulse signal and the second pulse signal; Based on the movement direction of the print head and the change in the effective edge of the first pulse signal or the second pulse signal, the internal position counter is incremented or decremented to update, and the position count information of the print head is output; the effective edge includes the rising edge or falling edge of the signal.
6. The slide rail driving method according to claim 5, characterized in that, The position feedback signal includes a third pulse signal; the method further includes: When a valid trigger of the third pulse signal is detected, the internal position counter is reset or calibrated.
7. A slide rail drive system for a digital printhead based on FPGA, characterized in that, include: The mapping relationship establishment module is used to establish a mapping relationship between the printhead position counting interval and the printhead control data group based on the printed pattern data. The printhead control data group is used to control the opening and closing status of each nozzle in the printhead; The position counting output module is used to acquire the position feedback signal of the print head during the process of controlling the movement of the print head, and to determine the position counting information of the print head based on the position feedback signal. The ignition spraying control module is used to determine the nozzle control data group from the mapping relationship based on the position counting information, and control the printing nozzle to complete the ignition spraying task at the current position based on the nozzle control data group.
8. A slide rail drive control system for a digital printer nozzle, characterized in that, include: The system includes an FPGA control unit, a slide rail drive system, a position encoder, and a print head; the print head is fixed to the sliding platform of the slide rail drive system. The slide rail drive system is used to drive the sliding platform to move the print head under the control of the FPGA control unit. The position encoder is used to output a position feedback signal related to the movement position of the print head; The FPGA control unit includes an FPGA that implements the slide rail driving method as described in any one of claims 1-6; the FPGA includes a motion control module, a position counting module, a data mapping module, and an injection timing control module; The motion control module is connected to the slide rail drive system and is used to generate control signals based on the system's internal clock to control the slide rail drive system to drive the print head movement; the position counting module is connected to the position encoder and is used to receive the position feedback signal output by the position encoder and determine the position counting information of the print head based on the position feedback signal; the data mapping module is used to establish a hardware mapping relationship between the print head position counting interval and the print head control data group; the jetting timing control module is connected to the position counting module, the data mapping module, and the print head respectively, and is used to trigger the print head to ignite and jet according to the position counting information.
9. The slide rail drive control system according to claim 8, characterized in that, The slide rail drive system includes a slide rail mechanical system and a slide rail driver; the slide rail driver is connected to the motion control module. The slide rail mechanical system includes a linear slide rail and a sliding platform mounted on the linear slide rail; The slide rail driver is located at one end of the linear slide rail and is connected to the linear slide rail through the slide rail transmission mechanism, and is used to drive the sliding platform to move; The position encoder is arranged at one end of the slide rail driver; the print head is fixed to the sliding platform by the print head mounting assembly and extends laterally perpendicular to the extension direction of the slide rail, so that the print head is located in the printing area on the side of the slide rail.
10. The slide rail drive control system according to claim 9, characterized in that, The printhead mounting assembly integrates a fine-tuning screw with elastic preload and a corresponding guide limit structure. By adjusting the preload adjustment screws in different directions, the printhead mounting base can generate a controllable small displacement or angular deflection relative to the mounting reference within a limited range, thereby achieving fine-tuning of the printhead's position and posture in different directions.