CN110077125B - Printing ink-jet control system - Google Patents

Printing ink-jet control system Download PDF

Info

Publication number
CN110077125B
CN110077125B CN201910310505.0A CN201910310505A CN110077125B CN 110077125 B CN110077125 B CN 110077125B CN 201910310505 A CN201910310505 A CN 201910310505A CN 110077125 B CN110077125 B CN 110077125B
Authority
CN
China
Prior art keywords
chip
main control
control system
executing
display
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
CN201910310505.0A
Other languages
Chinese (zh)
Other versions
CN110077125A (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.)
Shanghai Hongjian Automation Equipment Co ltd
Original Assignee
Shanghai Hongjian Automation Equipment 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 Shanghai Hongjian Automation Equipment Co ltd filed Critical Shanghai Hongjian Automation Equipment Co ltd
Priority to CN201910310505.0A priority Critical patent/CN110077125B/en
Publication of CN110077125A publication Critical patent/CN110077125A/en
Application granted granted Critical
Publication of CN110077125B publication Critical patent/CN110077125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention relates to a printing technology, in particular to a printing ink jet control system. A printing inkjet control system, comprising a control board, the control board being connected to a programmable logic controller, comprising: a main control chip; an interrupt handler; a CAN bus interface; a display chip; the control board executes the following main cycle steps: 1. reading a key, judging whether the key is pressed, if so, executing step 2, and if not, executing step 3; 2, sending a key message; 3, analyzing and displaying the display data; 4, judging whether a timer interrupt response exists or not, if so, executing 5, and if not, executing 6; 5, sending a heartbeat packet; and 6, feeding a watchdog and executing 1. According to the invention, the ARM main control chip, the software program written by the C language, the main control software and the CAN are arranged for communication, so that the data storage capacity is increased, the software development cost and difficulty are reduced, and the operation of a user CAN be timely fed back to the system and the operation result is displayed in real time for verification.

Description

Printing ink-jet control system
Technical Field
The invention relates to a printing technology, in particular to a printing ink jet control system.
Background
The ink jet printing is to be applied to an ink jet printer, which is an ink jet printing type high-tech digital printing device which is in non-contact with an object, so that the ink jet printer can be used for color photo-grade printing on the surfaces of boards, glass, crystals, metal plates, floor tiles, ceramic tiles, compact discs, acrylic, organic glass, EVA (ethylene vinyl acetate) KT boards, leather, silica gel, plastic, PP (polypropylene), PE (polyethylene), PVC (polyvinyl chloride), cloth, non-setting adhesive, stone and the like without being limited by any material. The pattern can be printed at one time no matter in simple block color, full color or excessive color, and has the advantages of no need of plate making, plate burning and repeated color register, beautiful color, vivid effect, waterproof image, sun protection, high wear resistance and adhesion, no color fading, simple machine operation and stable performance.
The printing ink-jet precise control circuit board is an important component of an ink-jet printer, the existing printing ink-jet precise control circuit board adopts an FPGA chip as a main control chip, and Verilog HDL is used as a software development language, so that the difficulty of software development is increased, the development period is long, and the maintainability is poor. The existing printing equipment adopts buttons or knobs to control the equipment, a control panel is directly connected with a programmable logic controller, and control software for checking and reporting to an upper computer is not provided, so that the upper computer cannot display and record operation.
Disclosure of Invention
The present invention is directed to a printing inkjet control system, which solves the above problems.
The technical problem solved by the invention can be realized by adopting the following technical scheme:
a printing ink jet control system, comprising,
a control panel, the control panel is connected with a programmable logic controller, the control panel comprises:
a main control chip;
the dial switch is connected with the main control chip and used for setting equipment ID;
the interrupt processor is connected with the main control chip;
the CAN bus interface is connected with the main control chip and the programmable logic controller;
the three display chips are connected with the main control chip and are used for displaying the state and the operation record of the control panel in real time;
the control board executes the following main cycle steps after the initialization step:
step 1, reading key information, judging whether a key is pressed down, if yes, executing step 2, and if not, executing step 3;
step 2, sending key message information;
step 3, analyzing the display data and sending an instruction to the display chip;
step 4, judging whether a timer interrupt response exists, if so, executing step 5, and if not, executing step 6;
step 5, sending a heartbeat packet, wherein the heartbeat packet is used for monitoring whether the connection is lost or not by an upper computer;
and 6, feeding a watchdog timer and executing the step 1.
Preferably, the display chip is connected with the main control chip through an SPI bus on the main control chip.
Preferably, the control panel further comprises a matrix keyboard and a nixie tube driving chip, the nixie tube driving chip is connected with the display chip, and the instruction of the step 3 is sent to the display chip through the nixie tube driving chip.
Preferably, the interrupt handler includes a timer, a watchdog timer and a CAN message reception interrupter.
Preferably, the main control chip adopts an ARM chip, and the ARM chip is based on a Cortex-M3 kernel MCU or a Cortex-M0 kernel MCU.
Preferably, the interrupt handler provides interrupt service to the main loop step.
Preferably, the initializing step includes:
step 01, electrifying to initialize the on-chip peripheral and perform self-checking;
step 02, reading the equipment ID set by the dial switch, wherein the equipment ID is an equipment identification number;
step 03, setting parameters on the CAN bus interface, and starting a filter;
step 04, starting the interrupt handler.
Preferably, the filter is connected to the CAN bus interface.
Preferably, the programs of the initialization step and the main loop step are written in C language.
Has the advantages that: by adopting the technical scheme, the invention increases the data storage capacity, reduces the software development cost and difficulty of the control panel and solves the problems of delay and loss in data transmission by arranging the ARM main control chip and the software program written in the C language, and meanwhile, the main control software and the CAN are arranged for communication, so that the operation of a user CAN be timely fed back to the system and the operation result CAN be displayed in real time for verification.
Drawings
FIG. 1 is a diagram illustrating a hardware connection structure according to an embodiment of the present invention;
FIG. 2 is a flow chart of a software routine of one embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
Referring to fig. 1, fig. 2, a printing inkjet control system, comprising,
a control panel 1, control panel 1 connects programmable logic controller 2, and control panel 1 includes:
the main control chip 11 is mainly used for detecting operation and verifying the operation;
the dial switch 12 is connected with the main control chip 11 and used for setting equipment ID, wherein the equipment ID is an equipment identification number;
an interrupt processor 13 connected with the main control chip 11;
a CAN bus interface 15 connected with the main control chip 11 and the programmable logic controller 2;
the three display chips 14 are connected with the main control chip 11 and are used for displaying the state and the operation record of the control panel 1 in real time;
the control board 1 performs the following main loop steps after the initialization step:
step 1, reading key information, judging whether a key is pressed down, if yes, executing step 2, and if not, executing step 3;
step 2, sending key message information: after detecting the change of the keys, firstly detecting the rationality of the operation, and then sending key information on the CAN bus interface 15 so as to facilitate the recording of an upper computer;
step 3, analyzing the display data, and when the display data is displayed, the control panel 1 analyzes the data received on the CAN bus interface 15 into an array of the lamp post and the nixie tube which need to be lightened, and sends the array of the lamp post and the nixie tube to the three display chips 14 through the SPI bus 111 to lighten the LEDs;
step 4, judging whether the timer 131 interrupts the response, if so, executing step 5, and if not, executing step 6;
step 5, sending heartbeat packets outwards at set time intervals, wherein the heartbeat packets are used for monitoring whether the upper computer is disconnected or not, and the set time is consistent with the set time of the timer 131;
and 6, feeding the watchdog timer 132 to prevent the watchdog timer 132 from counting overflow, so that the watchdog timer 132 can be automatically reset when a hardware error occurs, and executing the step 1.
The software adopts a single-cycle program framework, the key reading, key information analysis and algorithm presetting analysis are reasonable in operation, and the system is good in real-time performance and stability.
As a preferred embodiment of the present invention, the display chip 14 is connected to the main control chip 11 through the SPI bus 111 on the main control chip 11.
As a preferred embodiment of the present invention, the control board 1 further includes a matrix independent keyboard 16 and a nixie tube driving chip 17, the matrix independent keyboard 16 can effectively reduce the number of IO pins, and save the production cost, and the nixie tube driving chip 17 is connected to the display chip 14.
As a preferred embodiment of the present invention, the interrupt handler 13 includes a timer 131, a watchdog timer 132, and a CAN message reception interrupter 133.
As a preferred embodiment of the invention, the main control chip 11 adopts an ARM chip, the ARM chip is based on a Cortex-M3 kernel MCU or a Cortex-M0 kernel MCU, the ARM main control with low cost and low power consumption is adopted, the control panel software with high real-time and high reliability is realized by reasonably using onboard hardware and software architecture planning, the development difficulty is reduced, FLASH inside the MCU can store a large amount of data, and the data storage capacity is increased.
As a preferred embodiment of the present invention, the interrupt handler 13 provides an interrupt service for the main loop step, which improves the real-time performance and reliability of the whole control board software, and the main loop is used as a background program, in which the CAN communication part reports the operation and current state of the control panel, which is convenient for the user to observe and record.
As a preferred embodiment of the present invention, the initializing step includes:
step 01, electrifying to initialize the on-chip peripheral and perform self-checking;
step 02, reading the equipment ID set by the dial switch 12, and determining to receive and send data on the CAN bus interface 15;
step 03, setting parameters on the CAN bus interface 15, wherein the CAN bus 15 needs to set parameters such as SJW, BS1, BS2 and the like, starting the hardware filter 18, and only receiving required data frames, thereby reducing system overhead caused by unnecessary information;
step 04 starts the interrupt handler 13.
As a preferred embodiment of the invention, the filter 18 is connected to the CAN bus interface 15.
As a preferred embodiment of the invention, the programs of the initialization step and the main cycle step are written into C language, a front-background program framework is adopted, the operations of reading keys, sending key information, analyzing display content, controlling a display chip and the like are positioned in the program main cycle to serve as background programs, the timer interruption and the CAN message receiving interruption serve as foreground programs, software realizes the modularized design idea, and the customization and the secondary development for customers are facilitated.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (9)

1. A printing ink jet control system, comprising,
a control panel, the control panel is connected with a programmable logic controller, the control panel comprises:
a main control chip;
the dial switch is connected with the main control chip and used for setting equipment ID;
the interrupt processor is connected with the main control chip;
the CAN bus interface is connected with the main control chip and the programmable logic controller;
the three display chips are connected with the main control chip and are used for displaying the state and the operation record of the control panel in real time;
the control board executes the following main cycle steps after the initialization step:
step 1, reading key information, judging whether a key is pressed down, if yes, executing step 2, and if not, executing step 3;
step 2, sending key message information;
step 3, analyzing the display data and sending an instruction to the display chip;
step 4, judging whether a timer interrupt response exists, if so, executing step 5, and if not, executing step 6;
step 5, sending a heartbeat packet, wherein the heartbeat packet is used for monitoring whether the connection is lost or not by an upper computer;
and 6, feeding a watchdog timer and executing the step 1.
2. The printing ink jet control system of claim 1, wherein the display chip is connected to the main control chip through an SPI bus on the main control chip.
3. The system of claim 1, wherein the control board further comprises a matrix keyboard and a nixie tube driver chip, the nixie tube driver chip is connected to the display chip, and the command of step 3 is sent to the display chip through the nixie tube driver chip.
4. A print inkjet control system as in claim 1 wherein said interrupt handler includes a timer, a watchdog timer and a CAN message reception interrupter.
5. The printing ink jet control system of claim 1, wherein the main control chip is an ARM chip, and the ARM chip is an ARM chip based on a Cortex-M3 core MCU or a Cortex-M0 core MCU.
6. A print inkjet control system as claimed in claim 1 wherein said interrupt handler provides interrupt service to said main loop step.
7. A printing ink jet control system as claimed in claim 1, wherein said initializing step comprises:
step 01, electrifying to initialize the on-chip peripheral and perform self-checking;
step 02, reading the equipment ID set by the dial switch;
step 03, setting parameters on the CAN bus interface, and starting a filter;
step 04, starting the interrupt handler.
8. The printing inkjet control system of claim 7 wherein said filter interfaces with said CAN bus.
9. A print jetting control system as claimed in claim 1, wherein said initialization step and said main loop step are programmed in C language.
CN201910310505.0A 2019-04-17 2019-04-17 Printing ink-jet control system Active CN110077125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910310505.0A CN110077125B (en) 2019-04-17 2019-04-17 Printing ink-jet control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910310505.0A CN110077125B (en) 2019-04-17 2019-04-17 Printing ink-jet control system

Publications (2)

Publication Number Publication Date
CN110077125A CN110077125A (en) 2019-08-02
CN110077125B true CN110077125B (en) 2021-01-01

Family

ID=67415427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910310505.0A Active CN110077125B (en) 2019-04-17 2019-04-17 Printing ink-jet control system

Country Status (1)

Country Link
CN (1) CN110077125B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541845A (en) * 2003-05-02 2004-11-03 精工爱普生株式会社 Lineprinter and its controlling method
CN101132468A (en) * 2006-08-25 2008-02-27 株式会社理光 Printing supply information of an image forming apparatus
CN201824653U (en) * 2010-08-26 2011-05-11 广州致远电子有限公司 Small-sized embedded type control module of thermal printer
CN202656627U (en) * 2012-06-06 2013-01-09 郑州新世纪数码打印科技有限公司 Control system of wide ink-jet printer
CN102909969A (en) * 2012-11-07 2013-02-06 扬州市职业大学 System for detecting paper quantity of printer based on MCU (Microprogrammed Control Unit)
CN103802509A (en) * 2013-11-22 2014-05-21 北京航空航天大学 Remote implementation method based on industrial inkjet printer control system
CN205898841U (en) * 2016-08-15 2017-01-18 广西机电职业技术学院 Appearance is observed and controled to photoelectric rotating -speed sensor performance
CN106940665A (en) * 2017-03-24 2017-07-11 惠州Tcl移动通信有限公司 A kind of method of time correction control based on mobile terminal, system and mobile terminal
CN107509279A (en) * 2017-09-26 2017-12-22 江南大学 3D printing light-source control system
CN107730669A (en) * 2017-09-12 2018-02-23 深圳市微开互联科技有限公司 Access control method, system and computer-readable recording medium
CN208126581U (en) * 2018-03-15 2018-11-20 深圳喜盈佳企业云服务有限公司 A kind of printing invoice device with authentication function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2715960B2 (en) * 1995-02-13 1998-02-18 日本電気株式会社 Keyboard control method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541845A (en) * 2003-05-02 2004-11-03 精工爱普生株式会社 Lineprinter and its controlling method
CN101132468A (en) * 2006-08-25 2008-02-27 株式会社理光 Printing supply information of an image forming apparatus
CN201824653U (en) * 2010-08-26 2011-05-11 广州致远电子有限公司 Small-sized embedded type control module of thermal printer
CN202656627U (en) * 2012-06-06 2013-01-09 郑州新世纪数码打印科技有限公司 Control system of wide ink-jet printer
CN102909969A (en) * 2012-11-07 2013-02-06 扬州市职业大学 System for detecting paper quantity of printer based on MCU (Microprogrammed Control Unit)
CN103802509A (en) * 2013-11-22 2014-05-21 北京航空航天大学 Remote implementation method based on industrial inkjet printer control system
CN205898841U (en) * 2016-08-15 2017-01-18 广西机电职业技术学院 Appearance is observed and controled to photoelectric rotating -speed sensor performance
CN106940665A (en) * 2017-03-24 2017-07-11 惠州Tcl移动通信有限公司 A kind of method of time correction control based on mobile terminal, system and mobile terminal
CN107730669A (en) * 2017-09-12 2018-02-23 深圳市微开互联科技有限公司 Access control method, system and computer-readable recording medium
CN107509279A (en) * 2017-09-26 2017-12-22 江南大学 3D printing light-source control system
CN208126581U (en) * 2018-03-15 2018-11-20 深圳喜盈佳企业云服务有限公司 A kind of printing invoice device with authentication function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于C语言的压电式喷墨打印机驱动程序设计;马玉春,陆华;《琼州学院学报》;20110428;第18卷(第2期);第11-14页 *

Also Published As

Publication number Publication date
CN110077125A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US10282266B2 (en) Apparatus and system for testing touch screen and apparatus for controlling test of touch screen
CN103440216B (en) A kind of by I2C from the chip of equipment debugging MCU and method
US7467308B2 (en) Method for transmitting the system command of a computer system
US7467313B2 (en) Method for transmitting a power-saving command between a computer system and peripheral system chips
CN101814280A (en) Electronic equipment and driving method of display panel
CN101286095A (en) Intelligent type computer external apparatus interface switch controller
CN102802069B (en) A kind of TV remote controller
US20140118263A1 (en) Information processing apparatus and operation control method
CN105786752A (en) Method and system for USB communication between computing device and FPGA
CN112904751B (en) Heating logic control method of thermal print head
CN110077125B (en) Printing ink-jet control system
CN104626165A (en) Demonstrator key reaction sensitivity optimization method
CN202923132U (en) Flatbed printer with man-machine interaction function
CN201218931Y (en) Interface switch controller for peripheral unit of intelligent computer
CN203251364U (en) High-definition video mixing matrix control system
CN101847132B (en) Method for implementing serial FLASH memory and switch multiplexing I/O line and key device
CN114745344A (en) Ethernet-based data exchange device and method containing multiple communication interfaces
CN202679350U (en) Onboard ultrashort wave radio station simulation training device
CN112895732B (en) System for heating logic control thermal printing head
CN203191749U (en) Auxiliary control system for magnetic suspension and energy storage flywheel
CN104714702B (en) Non intelligent TV based on infrared touch frame touches interaction systems and its implementation
CN203691523U (en) HDCP automatic KEY writing control system for display and digit television set
CN107316573A (en) Screen splitting device under control of single chip microcomputer, combined liquid crystal display screen and working method of combined liquid crystal display screen
CN107220190A (en) It is a kind of to realize the self-defined USB mouse of two-way information interaction and the system and method for keyboard with host driven
CN208174726U (en) Data transmission device and intelligent interactive panel

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