An embedded linux and printing integrated control system and method
The embedded Linux printing system, which uses an ARM+FPGA heterogeneous main control chip and three independent image input channels, solves the problem of traditional digital printers relying on external computers, enabling independent printing and efficient pattern saving, and improving system stability and print quality.
Patent Information
- Application Number
- CN202611394882.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-09
- Publication Date
- 2026-11-24
AI Technical Summary
Traditional digital printers rely on external computers, have a single transmission method, are susceptible to system lag, cannot save patterns locally, leading to printing interruptions, complicated equipment wiring, high maintenance costs, and difficulty in guaranteeing print quality for multi-head printers.
It adopts an ARM+FPGA heterogeneous main control chip, with a built-in embedded Linux operating system, and integrates three independent image input channels (mobile phone QR code local area network image transmission, USB direct plug image transmission, and network port computer image transmission) and solid-state hard disk storage. The FPGA generates the hardware real-time nozzle driver timing, and the ARM processes non-real-time tasks.
This technology enables the equipment to complete printing jobs independently without an external computer, improving system stability and print quality, simplifying equipment wiring, reducing the risk of failure, and enhancing on-site operation convenience and high-volume printing efficiency.
Smart Images

Figure CN123157151A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital printing equipment control technology, and in particular to an integrated control system and method for embedded Linux and printing. Background Technology
[0002] Currently, most mainstream wide-format flag printers and DTF heat transfer printers on the market adopt a split architecture of desktop computer + external control board. The host computer handles image processing and task scheduling, while the external control board generates the printhead drive timing. This architecture has the following drawbacks: First, the equipment must operate continuously with an external computer. Computer malfunctions or system freezes can directly lead to printing interruptions, ink shortages, or even printhead timing errors. Furthermore, on-site wiring is complex and maintenance costs are high. Second, image input methods are limited, mostly relying on network cable transmission. On-site image transfer via mobile phone is inconvenient and cannot meet the needs of flexible production. Third, image resolution and printhead driving timing are handled by the same processor or time-sharing operating system (such as Linux). Due to system task preemption and scheduling delays, it is difficult to guarantee the hard real-time performance of multi-printhead printing, and print quality is easily affected. Fourth, traditional equipment lacks local persistent storage capabilities. Each print job requires repeated image file transfer from the host computer, making local image retention and offline reuse impossible. Batch repetitive printing processes are cumbersome and inefficient.
[0003] Furthermore, the discrete dual-chip control scheme using FPGA and DSP suffers from drawbacks such as hardware redundancy, complex circuit design, high power consumption, high cost, and poor scalability. Therefore, the industry urgently needs an integrated printing control solution that is independent of the host computer, supports multi-channel intelligent image transmission, provides heterogeneous isolation between hardware and software tasks, and has local storage and offline printing capabilities. Summary of the Invention
[0004] The purpose of this invention is to provide an integrated control system and method for embedded Linux and printing, so as to solve the technical problems of traditional printers that rely on external computers, have a single transmission method, are easily affected by system lag in printing timing, and cannot save patterns locally.
[0005] This invention is achieved using the following technical solution: an integrated control system for embedded Linux and printing, comprising: The printing image source module is equipped with three independent image input channels: a mobile phone QR code local area network image transmission channel, a USB direct plug image transmission channel, and a network port computer image transmission channel. The display screen interaction module is used to preview the print pattern, set print size parameters and print position parameters, and receive trigger operations to send print start commands. The main control board adopts an ARM+FPGA heterogeneous architecture main control chip, and the main control chip has a built-in embedded Linux operating system; the embedded Linux operating system is used to complete non-real-time tasks such as image reception and decoding, human-computer interaction and system task scheduling; the FPGA is used to generate hard real-time nozzle drive timing signals. A storage unit, electrically connected to the main control board, is used to store print pattern data and supports offline retrieval of print materials by the device; The printing control unit receives timing control signals output from the FPGA terminal of the main control board and drives the printing mechanism to complete the digital printing job.
[0006] Furthermore, the storage unit includes at least one of SSD solid-state drive, M.2 solid-state drive, eMMC and NAND FLASH, used to persistently store the printed pattern data, so that the device can repeatedly retrieve the pattern data without an external computer, and realize independent offline printing operations.
[0007] Furthermore, the mobile phone QR code LAN image transmission channel establishes a LAN access service through the main control board and generates a transmission QR code. The mobile terminal can scan the code to access the web page and upload the printing pattern to the main control board. The USB direct-plug image transmission channel reads the printing pattern data from the USB flash drive through the USB port connected to the main control board. The network port computer image transmission channel establishes a data connection with the host computer through the network port led out from the main control board and transmits the printing paper. The image data acquired by the three image input channels are all uniformly transmitted to the main control board for processing.
[0008] Furthermore, the display screen interaction module adopts an external touch screen, which is electrically connected to the main control board. It is used to preview the printing pattern in real time, adjust the printing canvas size and printing start coordinates, and respond to manual touch operations to issue printing start commands.
[0009] Furthermore, the ARM-FPGA heterogeneous main control board uses a Zynq series chip as the main control chip, and the main control board has a network port and a USB port.
[0010] Furthermore, the Linux operating system running on the ARM core undertakes non-real-time tasks, including: receiving images from multiple channels, image decoding and processing, screen interaction response, storage unit read and write, local area network QR code image transmission service, and system task scheduling. The FPGA hardware logic undertakes the system's hard real-time tasks, including: receiving image data sent from the ARM terminal, generating multi-printer drive timing and ink supply pulse signals, and isolating the Linux system's running delay from interfering with the printing timing.
[0011] Furthermore, the printing control unit receives timing control signals output by the FPGA and directs the printhead, paper feeding mechanism, and ink supply assembly to perform the entire printing operation.
[0012] Furthermore, the control system is applied to digital printing equipment such as DTF heat transfer, DTG direct inkjet, UV and wide-format flag printing. The printing control unit outputs IO control signals to the printhead driver board to drive the printing mechanism to complete the corresponding heat transfer or direct inkjet printing operations.
[0013] An integrated control method for embedded Linux and printing, based on the aforementioned integrated control system for embedded Linux and printing, includes the following steps: S1: Transmit the printed pattern to the ARM Linux system via any one of the following channels: mobile phone scanning QR code for local area network connection upload, USB flash drive direct transmission, or network port computer transmission; S2: The Linux system decodes and preprocesses the received image file, and stores the processed printed pattern in the local storage unit; S3: Configure and set printing parameters such as print size and print offset through the display screen interaction module; S4: Issue the print start command, and the ARM side transmits the pre-processed image data to the FPGA hardware logic; S5: The FPGA hardware logic generates high-precision printhead drive timing signals and sends timing control signals to the print control unit; S6: The printing control unit drives the printhead and the feed mechanism to work together to complete the printing operation based on the received timing control signal; S7: Persistently saves the printed pattern through the storage unit to support subsequent offline reprint jobs.
[0014] Furthermore, after saving the printed pattern to the storage unit in step S2, the printed pattern cached in the storage unit can be directly retrieved and used by the system. The device can independently complete offline repeated printing without the need for repeated transmission of pattern data to an external computer.
[0015] The beneficial effects of this invention are as follows: This invention employs an ARM+FPGA heterogeneous main control chip with a built-in Linux operating system, separating non-real-time tasks such as image decoding and human-computer interaction from hard real-time tasks such as printhead drive timing generation. This effectively eliminates the interference of operating system lag on printing timing, significantly improving system stability and print quality. Simultaneously, the control system integrates three independent input channels: mobile phone scanning for local area network image transmission, USB direct-plug image transmission, and network port computer image transmission. It is also equipped with a solid-state drive for local persistent storage of patterns. This allows the device to completely operate independently of an external computer after importing a pattern, completing the entire process from pattern preview and editing to printing output. It also supports offline reprinting, simplifying equipment wiring, reducing the risk of failure, and significantly improving the convenience of on-site operation and the efficiency of large-volume cyclic printing. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0017] Figure 1 This is a system block diagram of the present invention. Detailed Implementation
[0018] 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. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0019] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0020] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0021] Example 1 like Figure 1 As shown, the present invention provides an integrated control system for embedded Linux and printing, which includes a printing image source module, a display screen interaction module, a main control board, a storage unit, and a printing control unit.
[0022] In this embodiment, the main control board is the core control component, on which a main control chip is mounted. Specifically, the main control chip is the Xilinx Zynq UltraScale+ MPSoC series XCZU3EG chip. This chip is an ARM+FPGA heterogeneous SoC chip, integrating a quad-core ARM Cortex-A53 processor (PS side, i.e., the processing system side) and programmable logic resources (PL side, i.e., the FPGA side). The ARM side runs an embedded Linux operating system, responsible for scheduling and executing all non-real-time tasks in the system; the FPGA side implements parallel processing of hard real-time tasks through hardware logic circuits. The ARM side and the FPGA side exchange data through a high-speed bus (such as the AXI bus) inside the chip, resulting in high data throughput and low transmission latency. Furthermore, the main control board has a network port, a USB interface, and a display interface for connecting a display screen.
[0023] In this embodiment, the printing image source module has three independent image input channels that can work in parallel: The first channel is a mobile QR code-based local area network (LAN) image transmission channel. A lightweight web server program runs on the ARM side of the main control board and establishes a LAN service via the network port. Simultaneously, it generates a QR code image containing the LAN access address and displays it on the interactive display module. Operators can scan this QR code with their mobile phones to access the web upload interface on the main control board through their mobile browser and upload the printed pattern from their phones to the main control board.
[0024] The second channel is a USB direct-plug image transfer channel. The USB port on the main control board supports connecting USB storage devices such as USB flash drives. The ARM-based Linux operating system has a built-in USB storage device driver, which automatically mounts the USB flash drive upon insertion. Operators can browse and import image files from the USB flash drive via the interactive display module.
[0025] The third channel is the network port for image transmission from the computer. The network port on the main control board supports access to a local area network or direct connection to a computer. The computer can send the printed pattern to the main control board via network file sharing protocols (such as SMB, FTP, etc.) or dedicated transmission software. The image data acquired by the three channels is uniformly sent to the ARM terminal of the main control board for processing.
[0026] In this embodiment, the display interaction module is an external touch-sensitive display screen, which is electrically connected to the main control board via a display interface. This touch-sensitive display screen provides a graphical interactive interface for operators. Operators can preview the printed pattern on the screen and adjust the canvas dimensions, set the print start coordinates, and other print position and size parameters via touch. After confirming that everything is correct, they can click the print button on the screen to issue a command to start printing.
[0027] In this embodiment, the storage unit is electrically connected to the main control board. The storage unit includes an onboard SSD and an M.2 SSD. The ARM-based Linux operating system mounts the storage unit as a local file system for long-term storage of printing pattern materials. When an externally uploaded pattern is decoded and processed by the ARM side, it is stored in the storage unit. Subsequent printing can retrieve the pattern file directly from the storage unit without repeated transmission from external devices, enabling offline reprinting.
[0028] In this embodiment, the Linux operating system on the ARM side undertakes all non-real-time tasks in the system, specifically including: receiving printing image data through three channels, decoding image files (such as parsing and rasterizing JPEG, PNG, BMP formats), responding to touch operations of the display interaction module, reading and writing pattern files in the storage unit, running local area network QR code web page services, and scheduling and managing the overall printing task.
[0029] In this embodiment, the FPGA undertakes the hard real-time task through hardware logic circuitry. Specifically, this includes: receiving processed image data from the ARM terminal via the chip's internal high-speed bus; and generating multiple high-precision printhead drive timing signals and ink supply pulse control signals in parallel, based on the physical arrangement and driving requirements of the multiple printheads. Since the generation of the printhead drive timing is entirely implemented by the FPGA hardware logic and does not depend on any operating system scheduling, any task preemption or delay fluctuations during Linux system operation will not interfere with the printhead timing, fundamentally ensuring the hard real-time performance of printing control.
[0030] In this embodiment, the print control unit receives the timing control signal output from the FPGA terminal. After signal driving and level conversion, it commands the printhead assembly to perform ink jetting, the paper feeding mechanism to perform precise feeding, and the ink supply assembly to perform ink supply, together completing the entire digital printing operation.
[0031] It should be noted that the integrated control system described in this embodiment is also applicable to other types of digital printing equipment such as DTG direct injection, UV curing and wide-format flag printing. It only needs to be adapted with the corresponding printhead drive board and printing mechanism to realize the corresponding printing operation.
[0032] Example 2 In this embodiment, a control method based on the above-mentioned integrated control system is provided, which includes the following steps: Step S1: Pattern Transmission. The operator selects one image input channel based on site conditions to transmit the print pattern to the ARM-based Linux operating system on the main control board. Specifically, the operator can choose to scan the QR code on the display screen with a mobile phone to access the local area network web upload interface, insert a USB flash drive into the main control board's USB port and select the pattern file from the flash drive, or connect to a computer via Ethernet cable and send the pattern file from the computer. The three channels are independent, and the operator can flexibly choose according to the actual usage scenario.
[0033] Step S2: Image Decoding and Storage. After receiving the pattern file, the Linux operating system on the ARM side calls the corresponding image decoding library in the system to decode the file, parsing the pattern into rasterized image data that can be used for printing. After decoding, the Linux operating system stores the pattern data as a file in a storage unit (including SSD solid-state drives and M.2 solid-state drives), realizing local persistent storage of the pattern.
[0034] Step S3: Printing Parameter Setting. The operator browses the saved patterns in the storage unit through the touch interface of the display module, and selects the pattern to be printed for preview. Then, the operator sets the printing size (such as width and height) and printing offset position (such as the X and Y coordinates of the printing start point) on the screen according to actual printing needs, to adapt to different printing media specifications and printing position requirements.
[0035] Step S4: Issue the print command. After confirming that the parameter settings are correct, the operator clicks the print start button on the screen. Upon receiving the print command, the Linux operating system on the ARM side performs preprocessing on the decoded image data from Step S2, including cropping, scaling, and position mapping, based on the print size and offset parameters set in Step S3, to generate the final image data that meets the requirements of the current print task. Subsequently, the ARM side sends the processed image data to the on-chip FPGA via the chip's internal high-speed bus.
[0036] Step S5: FPGA generates real-time drive timing. After receiving the image data from the ARM, the FPGA uses hardware logic circuits to perform parallel parsing and allocation of the image data, dividing it into sub-data streams corresponding to each printhead based on the number and physical arrangement of the multiple printheads. Simultaneously, the FPGA generates high-precision printhead drive timing signals and ink supply pulse signals based on preset printhead drive parameters (such as ignition frequency, pulse width, and printing resolution). The entire timing generation process is completed independently by the FPGA hardware, without relying on any software scheduling, ensuring high precision and hard real-time performance of the timing output.
[0037] Step S6: Perform the printing operation. The FPGA sends the generated timing control signals to the print control unit via the main control board's output interface. The print control unit amplifies and levels the received signals, then controls the printhead assembly to perform inkjet action according to the timing signals, controls the paper feed mechanism to perform precise stepping according to the feed parameters, and controls the ink supply assembly to supply ink according to pulse signals. Through the coordinated action of all components, the entire digital printing operation of the DTF thermal transfer flag is completed.
[0038] Step S7: Offline Repeat Printing. Since the printed pattern has been permanently saved in the storage unit in step S2, when the operator needs to print the same pattern again, there is no need to repeat the pattern transfer operation in step S1 and the decoding and storage operation in step S2. The operator can simply retrieve the saved pattern file from the storage unit and repeat steps S3 to S6 to complete the printing. The entire repeat printing process is completely independent of external devices such as computers, mobile phones, or USB drives, achieving true offline independent printing, which is especially suitable for applications involving large-volume, cyclical printing in factories.
[0039] Based on the above embodiments, it can be seen that: This invention constructs an integrated printing control system by adopting an ARM+FPGA heterogeneous SoC main control chip and a built-in Linux operating system. It utilizes three independent image input channels (mobile phone QR code local area network image transmission, USB direct image transmission, and network port computer image transmission) in conjunction with solid-state hard disk local storage to achieve flexible import and persistent saving of patterns. This allows the device to completely eliminate the need for an external computer and independently complete the entire process from pattern acquisition, preview editing, parameter setting to printing output. At the same time, by leveraging the heterogeneous hardware and software division of labor architecture, which uses the ARM-based Linux system to handle non-real-time tasks such as image decoding and human-computer interaction, and the FPGA hardware logic to handle hard real-time tasks such as printhead drive timing generation, the interference of operating system task preemption and scheduling delay on printing timing is effectively eliminated. This fundamentally ensures the control accuracy and system stability of multi-printhead parallel printing, providing a highly integrated, stable, reliable, and easy-to-operate integrated printing control solution for the field of wide-format flag DTF heat transfer printing.
[0040] In the description of this invention, the terms "inner," "outer," "upper," "lower," "left," "right," "front," and "rear," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element 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 invention. The terms "installed," "connected," "joined," and "fitted" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0041] The above embodiments describe the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Modifications and variations made by those skilled in the art without departing from the spirit and scope of the invention should be within the protection scope of the appended claims.
Claims
1. An integrated control system for embedded Linux and printing, characterized in that, include: The printing image source module is equipped with three independent image input channels: a mobile phone QR code local area network image transmission channel, a USB direct plug image transmission channel, and a network port computer image transmission channel. The display screen interaction module is used to preview the print pattern, set print size parameters and print position parameters, and receive trigger operations to send print start commands. The main control board adopts an ARM+FPGA heterogeneous architecture main control chip, and the main control chip has a built-in embedded Linux operating system; the embedded Linux operating system is used to complete non-real-time tasks such as image reception and decoding, human-computer interaction and system task scheduling; the FPGA is used to generate hard real-time nozzle drive timing signals. A storage unit, electrically connected to the main control board, is used to store print pattern data and supports offline retrieval of print materials by the device; The printing control unit receives timing control signals output from the FPGA terminal of the main control board and drives the printing mechanism to complete the digital printing job.
2. The integrated control system for embedded Linux and printing according to claim 1, characterized in that, The storage unit includes at least one of SSD solid-state drive, M.2 solid-state drive, eMMC and NAND FLASH, used to persistently store printed pattern data, so that the device can repeatedly retrieve pattern data without an external computer, and realize independent offline printing operations.
3. The integrated control system for embedded Linux and printing according to claim 1, characterized in that, The mobile phone QR code LAN image transmission channel establishes a LAN access service through the main control board and generates a transmission QR code. Mobile terminals can scan the code to access the web page and upload the printing pattern to the main control board. The USB direct-plug image transmission channel reads the printing pattern data from the USB flash drive through the USB port connected to the main control board. The network port computer image transmission channel establishes a data connection with the host computer through the network port led out from the main control board and transmits the printing paper. The image data acquired by the three image input channels are all uniformly transmitted to the main control board for processing.
4. The integrated control system for embedded Linux and printing according to claim 1, characterized in that, The display screen interaction module adopts an external touch screen, which is electrically connected to the main control board. It is used to preview the printing pattern in real time, adjust the printing canvas size and printing start coordinates, and respond to manual touch operations to issue printing start commands.
5. The integrated control system for embedded Linux and printing as described in claim 1, characterized in that, The ARM-FPGA heterogeneous main control board uses Zynq series chips as the main control chip, and the main control board has a network port and a USB port.
6. The integrated control system for embedded Linux and printing as described in claim 1, characterized in that, The Linux operating system running on the ARM core performs non-real-time tasks, including: receiving images from multiple channels, image decoding and processing, screen interaction response, storage unit read and write, local area network QR code image transmission service, and system task scheduling. The FPGA hardware logic undertakes the system's hard real-time tasks, including: receiving image data sent from the ARM terminal, generating multi-printer drive timing and ink supply pulse signals, and isolating the Linux system's running delay from interfering with the printing timing.
7. The integrated control system for embedded Linux and printing as described in claim 1, characterized in that, The printing control unit receives timing control signals output by the FPGA and drives the printhead, paper feed mechanism and ink supply assembly to work together to complete the entire printing operation.
8. The integrated control system for embedded Linux and printing as described in claim 1, characterized in that, The control system is applied to digital printing equipment such as DTF heat transfer, DTG direct inkjet, UV and wide-format flag printing. The printing control unit outputs IO control signals to the printhead driver board to drive the printing mechanism to complete the corresponding heat transfer or direct inkjet printing operations.
9. An integrated control method for embedded Linux and printing, implemented based on the integrated control system for embedded Linux and printing as described in any one of claims 1 to 8, characterized in that, Includes the following steps: S1: Transmit the printed pattern to the ARM Linux system via any one of the following channels: mobile phone scanning QR code for local area network connection upload, USB flash drive direct transmission, or network port computer transmission; S2: The Linux system decodes and preprocesses the received image file, and stores the processed printed pattern in the local storage unit; S3: Configure and set printing parameters such as print size and print offset through the display screen interaction module; S4: Issue the print start command, and the ARM side transmits the pre-processed image data to the FPGA hardware logic; S5: The FPGA hardware logic generates high-precision printhead drive timing signals and sends timing control signals to the print control unit; S6: The printing control unit drives the printhead and the feed mechanism to work together to complete the printing operation based on the received timing control signal; S7: Persistently saves the printed pattern through the storage unit to support subsequent offline reprint jobs.
10. The integrated control method for embedded Linux and printing according to claim 9, characterized in that: After step S2 saves the printed pattern to the storage unit, the printed pattern cached in the storage unit can be directly retrieved and used by the system. The device can independently complete offline repeated printing without the need for repeated transmission of pattern data to an external computer.
