CN114721251B - Printer control system based on multi-mode network - Google Patents

Printer control system based on multi-mode network Download PDF

Info

Publication number
CN114721251B
CN114721251B CN202210526699.XA CN202210526699A CN114721251B CN 114721251 B CN114721251 B CN 114721251B CN 202210526699 A CN202210526699 A CN 202210526699A CN 114721251 B CN114721251 B CN 114721251B
Authority
CN
China
Prior art keywords
controller
main controller
master station
printing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210526699.XA
Other languages
Chinese (zh)
Other versions
CN114721251A (en
Inventor
江泽民
詹彤宇
孙志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Byhy Technology Co ltd
Original Assignee
Beijing Byhy Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Byhy Technology Co ltd filed Critical Beijing Byhy Technology Co ltd
Priority to CN202210526699.XA priority Critical patent/CN114721251B/en
Publication of CN114721251A publication Critical patent/CN114721251A/en
Application granted granted Critical
Publication of CN114721251B publication Critical patent/CN114721251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a printer control system based on a multi-mode network, which relates to the technical field of computers and is used for solving the problems that in the prior art, the complexity of system connection is increased and the stability of the system is reduced. The device comprises a main controller, a motion controller, a driving board and an industrial personal computer; the LVDS interface of the main controller is connected with a plurality of driving boards, and one driving board is connected with a printing spray head; the industrial personal computer is connected with the main controller through a tera-mega network, and the main controller is connected with the motion controller through an EtherCAT master station interface; two main stations in the main controller share one optical fiber and are respectively connected with the two main stations of the motion controller; the main controller at least comprises a data processing module, a printing control module and an LVDS control module; the system provided by the scheme can realize coordination control of different network architectures, meets the scene of real-time control of buses with high bandwidth, multiple spray heads, high, medium and low, and improves the stability of the system.

Description

Printer control system based on multi-mode network
Technical Field
The invention relates to the technical field of printers, in particular to a printer control system based on a multi-mode network.
Background
With the application of inkjet printers in industrial fields, the requirements for printing efficiency of the printers are increasing. To increase the printing efficiency, the number of controllable nozzles of a printer is generally increased, for example, in the printing field, the number of controllable nozzles of a printer is increased to 48 or 64.
However, the conventional printer control system generally adopts gigabit ethernet or USB3.0 to transmit data, which cannot meet the requirement of transmission bandwidth. Such as the conventional EPSON I3200 nozzle, requires 16.8M of print data at a firing frequency of 21 KHz. For a gigabit Ethernet printer control system, only 4 nozzles can be controlled; for a printer control system using USB3.0, there are only 18 controllable ejectors.
In order to solve the requirement of the transmission bandwidth of the traditional printer control system, the traditional method is to increase the number of mainboards, but the method needs to ensure synchronous control among multiple mainboards, thereby increasing the complexity of system connection and reducing the stability and reliability of the system.
Accordingly, there is a need to provide a more reliable printer control system.
Disclosure of Invention
The invention aims to provide a printer control system based on a multi-mode network, which is used for solving the problems that the complexity of system connection is increased and the stability of the system is reduced in the prior art.
In order to achieve the above object, the present invention provides the following technical solutions:
the invention provides a printer control system based on a multi-mode network, which comprises:
the device comprises a main controller, a motion controller, a driving plate and an industrial personal computer;
the LVDS interface of the main controller is connected with a plurality of driving boards, and one driving board is connected with a printing spray head; the industrial personal computer is connected with the main controller through a tera-meganet; the main controller is connected with the motion controller through an EtherCAT master station interface; the motion controller is connected with the first master station and the second master station through an optical fiber so as to drive each motor servo controller and the internal slave station to work respectively; the main controller at least comprises a data processing module, a printing control module and an LVDS control module;
the main controller receives data to be printed sent by the industrial personal computer through the tera-mega network; the data processing module determines the data type of the data to be printed, wherein the data type comprises image data and message header data; and the printing control module reads the image data and distributes the image data to each driving board through the LVDS control module so as to drive each printing nozzle to finish printing.
Optionally, the main controller further includes:
the system comprises an MAC, a DDR controller, a processor and a DMA controller, wherein the MAC is connected with the industrial personal computer through a tera-mega network so as to receive the data to be printed issued by the industrial personal computer; the DDR controller is respectively connected with the data processing module and the printing control module, and is used for storing the image data and reading the data by the printing control module; the DMA controller is connected with the data processing module through an AXI HP bus, and the message header data are stored in the processor through the AXI HP bus and the DMA controller; the printing control module is connected with the LVDS control module; the LVDS control module is also connected with a plurality of driving boards. Where the network controller, MAC (Media Access Control or Medium Access Control) is interpreted as media access control, or physical address, hardware address, to define the location of the network device. Double Data Rate synchronous dynamic random access memory (DDR for short). DMA (Direct Memory Access) the controller is a unique peripheral that transfers data within the system and can be considered a controller that can connect internal and external memory to each DMA-capable peripheral via a set of dedicated buses. Optionally, the main controller is provided with a motor servo controller shaft control interface, a gigabit Ethernet interface, an encoder input interface, a DI/DO interface and an EtherCAT master station interface; the main controller supports the control interface of the two paths of motor servo controller shafts and the input interface of the two paths of encoders, supports the control of the EtherCAT master station, is used for connecting the motion controllers, and controls the motion shafts and the input and output of DI/DO.
Optionally, the system further comprises:
a high speed industrial camera; the high-speed industrial camera is connected with the gigabit Ethernet interface on the main controller, the high-speed industrial camera collects a calibration chart output by the printer and sends the calibration chart to the industrial personal computer, and the industrial personal computer determines the printing quality of the printer based on the calibration chart.
Optionally, the motion controller receives instruction information sent by the master controller through the etherCAT bus and controls each slave station to work; the instruction information comprises a motor servo controller motion instruction, a DO instruction or a touch screen control instruction.
Optionally, the motion controller controls the first master station and the second master station through one optical fiber, the first master station is connected with each motor servo controller through an EtherCAT bus, and the second master station is connected with each internal slave station; the internal slave station provides DI input, DO output, RS485 bus, pulse command shaft, first CAN bus and second CAN bus; the motion controller is connected with the liquid crystal display through the first CAN bus; the motion controller is connected with the expansion I/O module through the second CAN bus.
Optionally, the industrial personal computer determines the printing quality of the printer based on the image data, and the method is realized based on the following steps:
acquiring the calibration graph acquired by the high-speed industrial camera;
inputting the calibration graph into a trained deep learning model, and carrying out segmentation recognition on the calibration graph to obtain a recognition result;
if the identification result shows that the calibration chart meets a first preset condition, determining that the printing quality of the printer is qualified;
and if the identification result shows that the calibration chart does not meet the first preset condition, modifying the calibration parameters, and controlling the printer to reprint the calibration chart.
Optionally, when the state of the high-speed industrial camera is normal, the industrial personal computer receives a spray inspection chart scanned by the high-speed industrial camera, and if the spray inspection chart meets a second preset condition, the printer prints the calibration chart; and if the spray inspection image does not meet the second preset condition, cleaning a spray head of the printer, and controlling the printer with the spray head cleaned to reprint the spray inspection image.
Optionally, the system includes a first state detection module, a second state detection module, and a third state detection module;
the first state detection module is used for detecting the running state of each driving board, and initializing the first master station and the second master station and configuring the first master station and the second master station synchronous clocks if the running state of each driving board is normal and the states of each driving board are read out; and if the driving plates with abnormal running states exist in the driving plates, alarming.
Optionally, the second state detection module is configured to detect an operation state of an X-axis, a Y-axis, and a Z-axis driver of a slave station connected to the first master station, and if the operation state of the X-axis, the Y-axis, and the Z-axis driver of the slave station connected to the first master station is normal, read state information of a sensor controlled by an internal slave station connected to the second master station; if the running states of the X-axis, Y-axis and Z-axis drivers of the slave stations connected with the first master station are abnormal, alarming;
the third state detection module is used for detecting the running state of the sensor based on the state information of the sensor controlled by the internal slave station connected with the second master station, and if the running state of the sensor is normal, the high-speed industrial camera is initialized to detect the running state of the high-speed industrial camera; and if the running state of the sensor is abnormal, alarming.
Compared with the prior art, the printer control system based on the multi-mode network is provided by the invention. The device comprises a main controller, a motion controller, a driving board and an industrial personal computer; the LVDS interface of the main controller is connected with a plurality of driving boards, and one driving board is connected with a printing spray head; the industrial personal computer is connected with the main controller through a tera-meganetwork, one main controller can be connected with a plurality of driving boards to drive a plurality of printing spray heads to print, and the plurality of main controllers are not required to be added to meet the printing requirement of the plurality of spray heads, so that the data transmission bandwidth is improved on the basis of simplifying the system connection structure; the main controller is connected with the motion controller through an EtherCAT master station interface; two main stations in the main controller share one optical fiber and are respectively connected with the two main stations in the motion controller; the main controller at least comprises a data processing module, a printing control module and an LVDS control module; the method comprises the steps that a main controller receives data to be printed sent by an industrial personal computer through a tera-mega network; the data processing module determines the data type of the data to be printed, the printing control module reads the image data, and distributes the image data to each driving board through the LVDS control module so as to drive each printing nozzle to complete printing. The system structure provided by the scheme is matched with other networks by the tera-network, and is matched with the main controller and the motion controller, so that coordination control of different network architectures can be realized, the scenes of high bandwidth, multiple spray heads, high, middle and low bus control are met, and the stability of the system is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a diagram of a multi-modal network based printer control system architecture provided by the present invention;
FIG. 2 is a schematic diagram of a connection of a main controller in a multi-modal network-based printer control system according to the present invention;
FIG. 3 is a schematic diagram of a motion controller connection in a multi-modal network based printer control system according to the present invention;
fig. 4 is a schematic diagram of a printing flow of the printer control system based on the multi-modal network according to the present invention.
Reference numerals:
110. the system comprises a main controller, 120, a driving board, 130, an industrial personal computer, 140, a motion controller, 150, a high-speed industrial camera, 160, a motor servo controller, 170, a liquid crystal display, 180, an extended I/O module, 210, MAC,220, a DDR controller, 230, a data processing module, 240, a DMA controller, 250, a printing control module, 260, a processor, 270 and an LVDS control module.
Detailed Description
In order to clearly describe the technical solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first threshold and the second threshold are merely for distinguishing between different thresholds, and are not limited in order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In the present invention, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present invention, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b, c can be single or multiple.
Next, the scheme provided by the embodiments of the present specification will be described with reference to the accompanying drawings:
fig. 1 is a schematic diagram of a printer control system based on a multi-modal network according to the present invention. As shown in fig. 1, the multi-modal network-based printer control system includes a main controller 110, a driving board 120, an industrial personal computer 130, a motion controller 140, a high-speed industrial camera 150, a motor servo controller 160, a liquid crystal display 170, and an expansion I/O module 180. Wherein, the main controller 110 may be connected to a plurality of driving boards 120, and each driving board 120 may be connected to one printing head, so that one main controller 110 may be connected to a plurality of printing heads, for example: one main controller 110 may be connected to 48 print heads, 64 print heads, and the like. The master controller 110 and each drive board 120 may be connected via gigabit ethernet, for example, a 1 GbE cable connection is used between the master controller 110 and each drive board 120. The main controller 110 and the industrial personal computer 130 may be connected through a tera ethernet, for example: by adopting 10GbE SFP+ optical fiber and utilizing a single-port SFP+ optical port server, the industrial personal computer 130 is connected with the main controller 110, the data transmission bandwidth is improved, and the maximum bandwidth can reach 700MB/s. The standard network port of the industrial personal computer 130 can be connected with a hundred mega router. The main controller 110 can also be connected with the camera through a gigabit Ethernet, and the main controller 110 is provided with a plurality of functional interfaces, can support the control of the real-time EtherCAT master station and is used for connecting a motion controller to realize the high-precision control of a motion axis and the input/output control of DI/DO; the real-time EtherCAT master station controls the period for 1ms, and the precision is less than 1us. The main controller 110 and the motion controller 140 may be connected by a 3.125 GbE sfp+ fiber. The motion controller 140 has a plurality of functional interfaces, wherein the motion controller may be connected to the liquid crystal display 170 through a first CAN bus, connected to the expansion I/O module 180 through a second CAN bus, and connected to each motor servo controller 160 through an EtherCAT bus, and the motor servo controller 160 may be a servo motor servo controller.
The main controller 110 is the core of the printer control system of the whole multi-mode network, can be installed on a printer motion trolley, replaces the traditional main board and head board control scheme, and simplifies system wiring. The main controller 110 is provided with a tera-network interface, an LVDS interface for performing spray head control, a camera interface, a motor servo controller shaft control interface, an encoder input interface, a DI/DO interface and an EtherCAT master station interface. The device is connected with an industrial personal computer 130 through a tera-network interface, realizes connection control with the driving boards 120 through a high-speed LVDS interface, and controls inkjet printing operation of the inkjet by connecting each driving board 120 with a nozzle; as shown in fig. 1, the main controller 110 may support control of 48 drive boards. Of course, in practical applications, more drive board controls may be supported. The camera interface on the main controller 110 may be a gigabit ethernet interface, and supports connection with the high-speed industrial camera 150, so as to collect the output picture of the printer in real time, and transmit the collected image to the PM end. And automatically judging the quality of the output pictures of the printer through a deep learning algorithm, and optimizing a printing control algorithm in real time, so that the quality of the output pictures of the printer is improved. The motor servo controller shaft control interface of the main controller 110 supports two paths of motor servo controller control, and the direction + pulse output is used for Z-axis control and X-axis control; wherein, the signal difference and the single end are switchable. The encoder input interface supports a two-way encoder input interface. The DI/DO interface supports 24 DI inputs and 24 DO outputs, and is electrically isolated; the EtherCAT master station interface supports the control of the real-time EtherCAT master station and is used for connecting a motion controller to realize the high-precision control of a motion axis and the input and output control of DI/DO; the real-time EtherCAT master station controls the period for 1ms, and the precision is less than 1us.
The motion controller 140 is generally installed in the electric cabinet, and receives other information such as a motion instruction, a DO instruction, a touch screen and the like of the motor servo controller sent by the main controller 110 through an EtherCAT bus; feedback servo controller status information, DI input information, expansion module DI information, touch screen input information, etc. The motion controller 140 may be provided with an EtherCAT slave input interface, an EtherCAT slave output interface, a digital command axis, a CAN bus interface, and a DI/DO interface. The etherCAT slave station input interface supports the motion controller 140 to be connected with the real-time etherCAT master station of the master controller 110, receives the instruction sent by the master controller 110, and returns the motion and DI data of the motor servo controller; and supports distributed clocks; the output interface of the EtherCAT slave station is connected with a servo driver supporting EtherCAT communication, so that the high-precision control of a scanning shaft and a stepping shaft of the printer is realized; maximum 12-axis control can be supported; the digital command shaft supports a traditional pulse interface motor servo controller, the direction is plus pulse output, and the signal difference and the single end are switchable; taking a control 48 nozzle as an example, the numerical instruction axis can support 8-axis control; the motion controller 140 may support two CAN buses, one for extending DI/DO; the other path is used for the connection of the liquid crystal screen 170; the DI/DO interface supports 24 DI inputs and 24 DO outputs, and is electrically isolated; the RS485 bus supports one path of RS485 bus and is used for communicating with third party equipment.
The printer control system architecture of the multi-mode network can support the combination of different networks and meet the requirements of high speed, high performance and high bandwidth. The main controller 110 is connected to the industrial personal computer 130 through optical fibers, for example: when a picture or a photo needs to be printed, the picture information or the photo information can be sent to the main controller 110 through the optical fiber, the main controller 110 can be connected with the driving boards 120, the printing nozzles are connected through the driving boards 120, each driving board 120 can control one nozzle, the main controller in the prior art can control 16 or 20 nozzles at most, and when more printing nozzles need to be connected, more nozzles can only be connected through adding a plurality of main controllers. In this embodiment, one main controller 110 may correspond to 48 or 64 nozzles. The main controller 110 can be connected with 48 or 64 spray heads at a time, and has high performance, strong control capability, ten-thousand mega-nets, faster data transmission and larger data quantity of the transmitted data. The motion controller 140 is connected with the main controller 110 through one end of the optical fiber, receives the information of the printed picture sent by the industrial personal computer, and the other end is connected with the motor servo controller 160 to control the motor servo controller 160 to move. The main controller 110 is connected with a tera-gigabit network, integrates a tera-mega network or a gigabit network, and combines an optical fiber, and the network topology is collocated with the tera-mega network and the gigabit network. In the printer control process, a plurality of alarm information or other information are provided, the display screen can be connected, the internet access can be connected with the camera, the current state of the printer is captured, the captured information is sent to the industrial personal computer 130, the information collected by the high-speed industrial camera 150 is judged through the industrial personal computer 130, and the printing quality of the printer is determined.
The motion controller 140 of the prior art has only a low-side pulse interface, and only one motor servo controller can be connected to one interface. In the scheme, all motor servo controllers can be connected in series by adopting one high-end EtherCAT bus, and the high-speed motor servo controllers and the low-speed motor servo controllers can be connected by matching with the main controller 110. The coordination control of various different architecture networks is realized, and the high-bandwidth, multiple control spray heads, buses with different heights, real-time control and other scenes are realized.
Further, the specific structure of the main controller can be described with reference to fig. 2 and 3. FIG. 2 is a schematic diagram illustrating the connection of a main controller in a multi-modal network-based printer control system according to the present invention; fig. 3 is a schematic diagram illustrating the connection of a motion controller in the printer control system based on the multi-modal network according to the present invention. As shown in fig. 2, the main controller 110 may include a MAC210, a DDR controller 220, a data processing module 230, a DMA controller 240, a print control module 250, a processor 260, and an LVDS control module 270.
The MAC is connected with the industrial personal computer through a tera-mega network to receive the data to be printed issued by the industrial personal computer; the DDR controller is respectively connected with the data processing module and the printing control module, and is used for storing the image data into a first memory and reading the data by the printing control module, and as shown in fig. 2, the first memory is a DDR chip at the PL end; the DMA controller is connected with the data processing module through an AXI HP bus, and the message header data is put into a second memory through the DMA controller based on the AXI HP bus; the second memory is the DDR chip of PS side in FIG. 2; the printing control module is connected with the LVDS control module; the LVDS control module is also connected with a plurality of driving boards. The header data includes instruction information, protocol data, and the like.
The industrial personal computer sends data (such as image information to be printed) through the tera-mega network, wherein the data comprises a message header and real image data, the message header is processed by a CPU (Central processing Unit) of a PS (packet switched) test in FIG. 2, and the real print data is cached in a DDR (double data Rate) memory on the PL side in FIG. 2. The MAC receives a large amount of data transmitted by the PC, the data size is large and is about 700-800 Mb/s, the data processing module determines the type of the data to be processed (image data to be printed and message header), if the data is the message header, the data is processed by the CPU, the message header can contain basic protocol data and instruction information, the message header data is put into a memory on the PS side for being read by a processor through the DMA controller based on the AXI bus, if the data is the print data, the print data is put into a DDR4 controller on the PL side, the DDR controller on the PS side processes the message header in a data packet, knows the basic information of the data contained in the message header, and the data content is put into the DDR memory on the PL side for caching. Wherein PS may be a processing system (Processing System) that is part of an SOC of an ARM that is independent of the FPGA. PL is programmable logic (Progarmmable Logic), i.e., FPGA part.
In the printing process, the CPU processes the received data such as commands, protocols and the like, and performs printing. The control print control module reads out the print data from the DDR memory, the data are divided into 48 driving boards through the LVDS control module, the driving boards are connected with the spray heads, and the motor servo controller needs to move in the print control process, so that the CPU can send control instructions to all master stations in the printer to drive corresponding slave stations to move, and meanwhile, signals of some sensors interact with the CPU through the master station 2 in the print process. The CPU performs initialization configuration control on the printing control module, the MAC, the data processing module and the LVDS control module, and the EtherCAT master station. The EtherCAT master station is responsible for movement, and when the EtherCAT master station is initialized, a CPU initializes the EtherCAT master station through an AXI bus and sends corresponding data to the movement controller to control the motor servo controller to move. The motion controller receives instruction information sent by the main controller through the EtherCAT bus and controls each slave station to work; the instruction information comprises a motor servo controller motion instruction, a DO instruction or a touch screen control instruction. The main controller comprises two main stations, the motion controller also comprises two main stations, the two main stations in the main controller share one optical fiber, and the two main stations in the main controller are respectively connected with the two main stations of the motion controller.
As shown in fig. 3, the control of the first master station and the second master station is realized through one optical fiber, wherein the master station 1 in the motion controller in fig. 3 represents the first master station, and the master station 2 represents the second master station; the first master station is connected with each motor servo controller through an EtherCAT bus, and the second master station is connected with a slave station in the motion controller; the internal slave station collects DI input, controls DO output, and realizes RS485 bus conversion, control pulse command shaft, first CAN bus and second CAN bus conversion; the motion controller is connected with the liquid crystal display through the first CAN bus; the motion controller is connected with the expansion I/O module through the second CAN bus. The motion controller realizes the control of double master stations through one optical fiber, and the slave stations are provided with DI/DO, pulse instructions, CAN buses and the like. One optical fiber is connected with two master stations, the master station 1 is connected with each motor servo controller through EtherCAT, and the master station 2 takes DI/DO, RS485, pulse instructions, CAN1 and CAN2 as each slave station. The master station 1 corresponds to the driving of the slave station driving each motor servo controller, and the master station 2 corresponds to the driving of the internal slave station.
In the above embodiment, the printer control system architecture based on the multi-modal network, corresponding method steps in the actual printing process may be described with reference to fig. 4:
Fig. 4 is a schematic diagram of a printing flow of the printer control system based on the multi-modal network according to the present invention. As shown in fig. 4, from the program point of view, the execution subject of the flow may be a server of the printer.
As shown in fig. 4, the process may include the steps of:
the parameter configuration of the printer control system based on the multi-mode network is read, wherein the parameters can comprise the operation parameters of each structure in the system, the printing parameters to be printed and the like.
The status of each drive board is read one by one, for example: when 64 driving boards exist, the states of the 64 driving boards can be read one by one, and when the states of the driving boards are all read and normal, the first master station and the second master station are initialized and synchronous clocks of the first master station and the second master station are configured; and if the driving plates with abnormal running states exist in the driving plates, alarming.
After initializing the first master station and the second master station and configuring the first master station and the second master station synchronous clocks, the running states of the X-axis, Y-axis and Z-axis drivers of the slave stations connected with the first master station can be read, and if the running states of the X-axis, Y-axis and Z-axis drivers of the slave stations connected with the first master station are normal, the state information of the sensors controlled by the internal slave stations connected with the second master station is read; and if the running states of the X-axis, Y-axis and Z-axis drivers of the slave stations connected with the first master station are abnormal, alarming, after reading the state information of the sensors controlled by the internal slave stations connected with the second master station, initializing the high-speed industrial camera, determining whether the state of the high-speed industrial camera is normal, printing a spray inspection chart if the state is normal, and alarming if the state is abnormal. When the spray inspection image is printed, the X-axis is driven to move, the camera scans the spray inspection image, the spray inspection image is uploaded to the PC end through the tera-mega network, the PC end performs segmentation and identification on the spray inspection image through the deep learning model, when the spray inspection image meets the requirements, the calibration image is printed, if the spray inspection image does not meet the requirements, the problem of the printing spray head is determined, the printing spray head is required to be cleaned, and the spray inspection image is reprinted after the cleaning. After the calibration chart is printed, whether the spray inspection chart meets the requirement or not still needs to be determined, and at the moment, the PC side can acquire the calibration chart acquired by the high-speed industrial camera; inputting the calibration graph into a trained deep learning model, and carrying out segmentation recognition on the calibration graph to obtain a recognition result; if the identification result shows that the calibration chart meets a first preset condition, determining that the printing quality of the printer is qualified; and if the identification result shows that the calibration chart does not meet the first preset condition, modifying the calibration parameters, and controlling the printer to reprint the calibration chart.
In the field of industrial automation, image recognition plays an important role, the application of image recognition comprises detection of product defects and judgment of defect types, recognition and sorting of different products are performed, the products are automatically classified through a machine vision algorithm, printing efficiency can be greatly improved, labor cost is reduced, quality is improved, accuracy of human eye recognition is achieved and exceeded in certain specific tasks of image recognition, the image recognition method has wide application in the industrial field, and the image recognition method is used for performing image recognition though the advantage of high accuracy is achieved.
Deep Learning is one of the neural network technologies. The neural network can automatically extract the characteristics of the data group only by enough learning data, the deep learning does not need manual operation, the characteristics are automatically extracted, and the characteristics can be randomly extracted only by injecting the data into the neural network. The layers of the neural network can be subjected to staged learning. Such as: the first layer learning is allowed to output the input information as it is, the second layer learning is allowed to reproduce the input in the same manner on the basis of the first layer, and the third layer is operated in the same manner thereafter. Thus, the neural network which learns by stages still has strong learning ability even if the layer number is continuously progressive. The deep learning is most excellent in performing pattern recognition on data such as image data and waveform data, which cannot be formed into a symbol, and performing stepwise learning after inputting an image through an input layer. A commonly used configuration of neural networks is a perceived neural network in which the layers are all connected together.
In training the deep learning model, training images may be received, for example: the method comprises the steps that an image which is required to be printed on clothes or other carriers is used as a training image, a class label and a binary segmentation label of the training image are obtained, and feature extraction is carried out on the training image to obtain a feature space; performing attention prediction on the feature space through an initial deep learning model, and combining a binary segmentation label to obtain a segmentation loss value; obtaining an embedded vector corresponding to a feature space, and calculating a distance loss value between the class center and the embedded vector through a preset loss function; and integrating the embedded vectors to obtain image categories, calculating category loss values between the image categories and the category labels, and carrying out parameter adjustment on the initial deep learning model according to the segmentation loss values, the distance loss values and the category loss values so as to complete training of the deep learning model. For the spray inspection image and the calibration image, training can be performed respectively during training, and the spray inspection image of a black-and-white label is adopted to train the deep learning model so as to ensure that the trained deep learning model can identify the quality of the spray inspection image. Similarly, the same method is used for training and identifying the calibration chart. And automatically judging the quality of the output pictures of the printer through a deep learning algorithm, and optimizing a printing control algorithm in real time, so that the quality of the output pictures of the printer is improved.
The XYZ coordinate system in the above embodiment only represents the position direction, the R axis and the a axis may be physical rotation axes, and may be a mechanical arm in the digital jet printing apparatus, where the X axis is the horizontal movement direction of the printing head, the Z axis is the vertical movement direction of the printing head, and the Y axis is perpendicular to the X axis. The X-axis, Y-axis, and Z-axis drives may each be a slave station.
The scheme provided by the embodiment of the specification can improve the whole transmission bandwidth from the PC to the main board, and expands the connection number of the system spray heads; the EtherCAT bus is added, so that the motion control of the EtherCAT bus can be realized, the motion precision is improved, the printing precision is improved, and the complexity of system connection is reduced. The whole system structure can realize coordination control of different network architectures, meets the scene of real-time control of buses with high bandwidth, multiple spray heads, high, medium and low, and improves the stability of the system.
The above description has been presented mainly in terms of interaction between the modules, and the solution provided by the embodiment of the present invention is described. It is understood that each module, in order to implement the above-mentioned functions, includes a corresponding hardware structure and/or software unit for performing each function. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the invention can divide the functional modules according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present invention, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
The processor in this specification may also have a function of a memory. The memory is used for storing computer-executable instructions for executing the scheme of the invention, and the processor is used for controlling the execution. The processor is configured to execute computer-executable instructions stored in the memory, thereby implementing the method provided by the embodiment of the invention.
The memory may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, but may also be electrically erasable programmable read-only memory (EEPROM), compact disc-read only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be stand alone and be coupled to the processor via a communication line. The memory may also be integrated with the processor.
Alternatively, the computer-executable instructions in the embodiments of the present invention may be referred to as application program codes, which are not particularly limited in the embodiments of the present invention.
The method disclosed by the embodiment of the invention can be applied to a processor or realized by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general purpose processor, a digital signal processor (digital signal processing, DSP), an ASIC, an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
In a possible implementation manner, a computer readable storage medium is provided, where instructions are stored, and when the instructions are executed, the computer readable storage medium is used to implement the logic operation control method and/or the logic operation reading method in the foregoing embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a terminal, a user equipment, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, e.g., floppy disk, hard disk, tape; optical media, such as digital video discs (digital video disc, DVD); but also semiconductor media such as solid state disks (solid state drive, SSD).
Although the invention is described herein in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Although the invention has been described in connection with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are merely exemplary illustrations of the present invention as defined in the appended claims and are considered to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the invention. It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A multi-modal network-based printer control system, the system comprising:
the device comprises a main controller, a motion controller, a driving plate and an industrial personal computer;
the LVDS interface of the main controller arranged on the printer motion trolley is connected with a plurality of driving boards, and one driving board is connected with a printing spray head; one of the main controllers extends 48 or 64 printing nozzles correspondingly; the industrial personal computer is connected with the main controller through a tera-meganetwork, adopts 10GbE SFP+ optical fibers, and utilizes a single-port SFP+ optical port server to connect the industrial personal computer with the main controller; the main controller is connected with the motion controller through an EtherCAT master station interface; two main stations in the main controller share one optical fiber and are respectively connected with the two main stations of the motion controller; the main controller at least comprises a data processing module, a printing control module and an LVDS control module;
the main controller receives data to be printed sent by the industrial personal computer through the tera-mega network; the data processing module determines the data type of the data to be printed, wherein the data type comprises image data and message header data; the printing control module reads the image data and distributes the image data to each driving board through the LVDS control module so as to drive each printing nozzle to finish printing; the motion controller adopts one line of a high-end EtherCAT bus to connect all motor servo controllers in series, and is matched with the main controller to connect the high-speed and low-speed motor servo controllers; the EtherCAT master station interface of the master controller is connected with the motion controller through an EtherCAT bus, and the motion controller receives instruction information sent by the master controller and controls each slave station to work; the instruction information comprises a motor servo controller motion instruction, a DO instruction or a touch screen control instruction, and two master stations in the motion controller are a first master station and a second master station; the first master station is connected with each motor servo controller through an EtherCAT bus, and the second master station is connected with an internal slave station of the motion controller; the internal slave station collects DI input, controls DO output, and realizes RS485 bus conversion, control pulse command shaft, first CAN bus and second CAN bus conversion; the motion controller is connected with the liquid crystal display through the first CAN bus; the motion controller is connected with the expansion I/O module through the second CAN bus; the master controller integrates a tera-network or a gigabit-network, and combines the tera-network and the gigabit-network of the optical fiber and the network topology.
2. The system of claim 1, wherein the master controller further comprises:
the network controller is connected with the industrial personal computer through a tera-mega network to receive the data to be printed issued by the industrial personal computer; the DDR controller is respectively connected with the data processing module and the printing control module, and is used for storing the image data in a first memory and for reading the data by the printing control module; the DMA controller is connected with the data processing module through an AXI HP bus, and the message header data are put into a second memory through the DMA controller based on the AXI HP bus for the processor to read; the printing control module is connected with the LVDS control module; the LVDS control module is connected with a plurality of driving boards.
3. The system of claim 2, wherein the master controller is provided with a motor servo controller shaft control interface, a gigabit ethernet interface, an encoder input interface, a DI/DO interface, and an EtherCAT master interface; the main controller supports the control interface of the two paths of motor servo controller shafts and the input interface of the two paths of encoders, and supports the control of the EtherCAT master station, and is used for connecting the motion controller and controlling the input and output of the motion shafts and the DI/DO interface.
4. The system of claim 1, wherein the system further comprises:
a high speed industrial camera; the high-speed industrial camera is connected with the gigabit Ethernet interface on the main controller, the high-speed industrial camera collects a calibration chart output by the printer and sends the calibration chart to the industrial personal computer, and the industrial personal computer evaluates the printing quality of the printer based on the calibration chart.
5. The system according to claim 4, wherein the industrial personal computer evaluates the print quality of the printer based on the calibration map, specifically comprising:
the industrial personal computer acquires the calibration chart acquired by the high-speed industrial camera;
inputting the calibration graph into a trained deep learning model, and carrying out segmentation recognition on the calibration graph to obtain a recognition result;
if the identification result shows that the calibration chart meets a first preset condition, determining that the printing quality of the printer is qualified;
and if the identification result shows that the calibration chart does not meet the first preset condition, modifying the calibration parameters, and controlling the printer to reprint the calibration chart.
6. The system of claim 4, wherein the industrial personal computer receives a spray inspection map scanned by the high-speed industrial camera when the high-speed industrial camera is in a normal state, and the printer prints the calibration map if the spray inspection map meets a second preset condition; and if the spray inspection image does not meet the second preset condition, cleaning a spray head of the printer, and controlling the printer with the spray head cleaned to reprint the spray inspection image.
7. The system of claim 1, further comprising a first status detection module, a second status detection module, and a third status detection module;
the first state detection module is used for detecting the running state of each driving board, and initializing the first master station and the second master station and configuring the first master station and the second master station synchronous clocks if the running state of each driving board is normal and the states of each driving board are read out; and if the driving plates with abnormal running states exist in the driving plates, alarming.
8. The system of claim 7, wherein the second status detection module is configured to detect an operation status of the X-axis, Y-axis, and Z-axis drivers of the secondary station connected to the first primary station, and read status information of the sensors controlled by the internal secondary station connected to the second primary station if the operation status of the X-axis, Y-axis, and Z-axis drivers of the secondary station connected to the first primary station is normal; if the running states of the X-axis, Y-axis and Z-axis drivers of the slave stations connected with the first master station are abnormal, alarming;
the third state detection module is used for detecting the running state of the sensor based on the state information of the sensor controlled by the internal slave station connected with the second master station, and if the running state of the sensor is normal, the high-speed industrial camera is initialized to detect the running state of the high-speed industrial camera; and if the running state of the sensor is abnormal, alarming.
CN202210526699.XA 2022-05-16 2022-05-16 Printer control system based on multi-mode network Active CN114721251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210526699.XA CN114721251B (en) 2022-05-16 2022-05-16 Printer control system based on multi-mode network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210526699.XA CN114721251B (en) 2022-05-16 2022-05-16 Printer control system based on multi-mode network

Publications (2)

Publication Number Publication Date
CN114721251A CN114721251A (en) 2022-07-08
CN114721251B true CN114721251B (en) 2023-08-29

Family

ID=82231636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210526699.XA Active CN114721251B (en) 2022-05-16 2022-05-16 Printer control system based on multi-mode network

Country Status (1)

Country Link
CN (1) CN114721251B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204925765U (en) * 2015-09-09 2015-12-30 华中科技大学 Mirror of shaking laser scanning is flooring forming work control system by a wide margin
CN106059877A (en) * 2016-07-18 2016-10-26 中国电子信息产业集团有限公司第六研究所 EtherCAT master station module based on SPARC architecture CPU
CN106774113A (en) * 2016-11-30 2017-05-31 宁夏共享模具有限公司 A kind of sensor bus control system for casting 3D printer
CN108363331A (en) * 2018-01-25 2018-08-03 安徽科元三维技术有限公司 Intelligent SLM printer control systems
CN109787871A (en) * 2018-12-21 2019-05-21 杭州创谐信息技术股份有限公司 Isomery video access analysis system and method based on FPGA
CN216033221U (en) * 2021-06-23 2022-03-15 深圳市润天智数字设备股份有限公司 Ink-jet printing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7088461B2 (en) * 2001-07-02 2006-08-08 Alps Electric Co., Ltd. Printer for printing in conjunction with a server
US7508535B2 (en) * 2003-09-25 2009-03-24 Ricoh Co., Ltd. Stand alone multimedia printer with user interface for allocating processing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204925765U (en) * 2015-09-09 2015-12-30 华中科技大学 Mirror of shaking laser scanning is flooring forming work control system by a wide margin
CN106059877A (en) * 2016-07-18 2016-10-26 中国电子信息产业集团有限公司第六研究所 EtherCAT master station module based on SPARC architecture CPU
CN106774113A (en) * 2016-11-30 2017-05-31 宁夏共享模具有限公司 A kind of sensor bus control system for casting 3D printer
CN108363331A (en) * 2018-01-25 2018-08-03 安徽科元三维技术有限公司 Intelligent SLM printer control systems
CN109787871A (en) * 2018-12-21 2019-05-21 杭州创谐信息技术股份有限公司 Isomery video access analysis system and method based on FPGA
CN216033221U (en) * 2021-06-23 2022-03-15 深圳市润天智数字设备股份有限公司 Ink-jet printing system

Also Published As

Publication number Publication date
CN114721251A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
US20030149760A1 (en) System, apparatus and control method for monitoring system changes within a network configuration
US9606422B2 (en) Camera apparatus, camera body, interchangeable lens, and method of controlling operation of camera body
US20210390303A1 (en) Method and device for monitoring an industrial process step
CN114721251B (en) Printer control system based on multi-mode network
CN107659756A (en) Picture pick-up device and fittings equipment and its control method and camera system
CN101303677B (en) Method and system for controlling accessing direct memory as well as controller
JP2016500500A (en) Apparatus and method for encoding MDIO for SGMII transmission
CN111025961A (en) Intelligent driving decision controller
CN1452368A (en) Controlling device and method
CN107409151A (en) Multiplex communication system and working rig
CN102495344A (en) Method and system of grain detecting
WO2024021803A9 (en) Mark hole positioning method and apparatus, assembly device, and storage medium
CN107953330A (en) Robot and control method and device thereof
CN108601220B (en) Punching method of printed circuit board
US20220410849A1 (en) Carwash device, car-washing method, storage medium stored with car-washing program, and car-washing system
CN101800916A (en) Configuration method of optical port and device
CN102896893A (en) Print platform registration component for color printing machine
CN206601580U (en) Image linear array sensing workpiece sorting vibration feeding controller
Afanasev et al. Machine vision for selective polymer curing devices: Challenges and solutions
CN113162872A (en) Self-detection ARINC818 switch capable of dynamically switching and monitoring
CN106079890A (en) A kind of software control system of pop can color press based on imaginary axis drive technology
US20120257540A1 (en) Method of managing a system, and computer program product
CN117135100B (en) System and method for testing signal transmission of vehicle-mounted optical fiber Ethernet of automobile
CN211479074U (en) Gesture recognition and wireless control device based on FPGA
CN114368221B (en) External control flash spraying method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant