CN110077125A - A kind of printing ink-jet control system - Google Patents
A kind of printing ink-jet control system Download PDFInfo
- Publication number
- CN110077125A CN110077125A CN201910310505.0A CN201910310505A CN110077125A CN 110077125 A CN110077125 A CN 110077125A CN 201910310505 A CN201910310505 A CN 201910310505A CN 110077125 A CN110077125 A CN 110077125A
- Authority
- CN
- China
- Prior art keywords
- chip
- printing ink
- main control
- control system
- control panel
- 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.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
- B41J29/393—Devices 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 present invention relates to a kind of printing technology more particularly to a kind of printing ink-jet control systems.A kind of printing ink-jet control system, wherein including control panel, the control panel connects programmable logic controller (PLC), comprising: main control chip;Interrupt handler;CAN interface;Display chip;The control panel executes following major cycle step: 1, reading key, judge whether there is by key pressing, if so, executing 2, if nothing, execute 3;2, send key message;3, parsing display data are simultaneously shown;4, determine whether timer interruption response, if so, executing 5, if nothing, executes 6;5, send heartbeat packet;6, house dog is fed, executes 1.The present invention passes through setting ARM main control chip and the software program write of C language and main control software and CAN communication, increase data storage capacity, software development cost and difficulty are reduced, enables the operation of user to be timely fed back to system and real-time display operating result verifies.
Description
Technical field
The present invention relates to a kind of printing technology more particularly to a kind of printing ink-jet control systems.
Background technique
Ink jet printing will use ink-jet printer, and ink-jet printer is that the ink jet printing type of a kind of " non-contact with object " is high
Technology Digital printed apparatus, therefore it can not be limited by any material, it can be on plank, glass, crystal, metal plate, floor
Brick, tile, CD, acrylic, organic glass, EVA.KT plate, leather, silica gel, plastic cement, PP, PE, PVC, cloth, adhesive sticker, stone
The surfaces such as material carry out the printing of photochrome grade.Whether simple block colored pattern, full color pattern or the figure with excessive color
Case, can one-step print complete, without plate-making, without printing down and repeat chromatography, color is beautiful, and effect is true to nature, image waterproof, prevent
It shines, wear-resistant adhesive force is strong, and colour-fast, machine operation is simple, performance is stablized.
Printing ink-jet is precisely controlled the important component that wiring board is ink-jet printer, and existing printing ink-jet is precisely controlled
Wiring board, as main control chip, is used Verilog HDL as software development language, increases software development using fpga chip
Difficulty, the development cycle is long and maintainable poor.Existing printing equipment operation carries out the control of equipment using button or knob
System, control panel are directly connected with programmable logic controller (PLC), the control software for not verifying and reporting to host computer, so
There is no reporting functions, causes host computer that can not show and record operation.
Summary of the invention
The object of the present invention is to provide a kind of printing ink-jet control systems, solve the above technical problem.
Technical problem solved by the invention can be realized using following technical scheme:
A kind of printing ink-jet control system, wherein including,
One control panel, the control panel connect programmable logic controller (PLC), and the control panel includes:
One main control chip;
One toggle switch, is connected with the main control chip, for device id to be arranged;
One interrupt handler, is connected with the main control chip;
One CAN interface is connect with the main control chip and the programmable logic controller (PLC);
Three display chips, are connected with the main control chip, the state and operation note for control panel described in real-time display
Record;
The control panel executes following major cycle step after initialization step:
Step 1, key information is read, is judged whether there is by key pressing, executes step if nothing if so, executing step 2
Rapid 3;
Step 2, key message information is sent;
Step 3, parsing display data, send instructions to the display chip;
Step 4, determine whether timer interruption response, if so, executing step 5, if nothing, execute step 6;
Step 5, heartbeat packet is sent, the heartbeat packet monitors whether to go offline for host computer;
Step 6, WatchDog Timer is fed, step 1 is executed.
Preferably, the display chip is connected with the main control chip by the spi bus on the main control chip.
Preferably, the control panel further includes a matrix keyboard and a digital pipe driving chip, the charactron driving
Chip is connect with the display chip, and the instruction of the step 3 is sent on display chip by the digital pipe driving chip.
Preferably, the interrupt handler includes that a timer, a WatchDog Timer and a CAN message receive interruption
Device.
Preferably, the main control chip uses ARM chip, the ARM chip be based on Cortex-M3 kernel MCU or
The ARM chip of Cortex-M0 kernel MCU.
Preferably, the interrupt handler provides interruption service for the major cycle step.
Preferably, the initialization step includes:
Step 01, it powers on to carry out On-Chip peripheral initialization and self-test;
Step 02, the device id that the toggle switch is set is read, the device id is device id;
Step 03, the parameter in the CAN interface, opening filter are set;
Step 04, the interrupt handler is opened.
Preferably, the filter is connect with the CAN interface.
Preferably, the initialization step and the programming of the major cycle step are C language.
The utility model has the advantages that due to using the technology described above, the present invention is write by one ARM main control chip of setting and C language
Software program, increase data storage capacity, the software development cost and difficulty of control panel reduced, when solving data transmission
Delay and lose problem, while main control software and CAN communication are set, the operation of user is enabled to be timely fed back to system simultaneously
Real-time display operating result is verified.
Detailed description of the invention
Fig. 1 is a kind of hardware connection structure schematic diagram of specific embodiment of the invention;
Fig. 2 is a kind of software program flow chart of specific embodiment of the invention;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
Referring to Fig.1, Fig. 2, a kind of printing ink-jet control system, wherein including,
One control panel 1, control panel 1 connect programmable logic controller (PLC) 2, and control panel 1 includes:
One main control chip 11, main control chip 11 are mainly used to detection and operate and verify to operation;
One toggle switch 12, connect with main control chip 1, and for device id to be arranged, device id is device id;
One interrupt handler 13, connect with main control chip 11;
One CAN interface 15, connect with main control chip 11 and programmable logic controller (PLC) 2;
Three display chips 14, connect with main control chip 11, the state and operation note for real-time display control panel 1;
Control panel 1 executes following major cycle step after initialization step:
Step 1, key information is read, is judged whether there is by key pressing, executes step if nothing if so, executing step 2
Rapid 3;
Step 2, key message information is sent: the first detection operation reasonability after detecting key variation, it is then total in CAN
Key information is issued on line interface 15 so that host computer is recorded;
Step 3, parsing display data, when showing data, control panel 1 can be by data solution received in CAN interface 15
The array that lamppost and charactron need to light is analysed into, three display chips 14 are sent to light LED by spi bus 111;
Step 4, determine whether 131 interrupt response of timer, if so, executing step 5, if nothing, execute step 6;
Step 5, heartbeat packet is sent out every setting time, heartbeat packet monitors whether to go offline for host computer, when setting
Between it is consistent with 131 setting time of timer;
Step 6, WatchDog Timer 132 is fed, prevents WatchDog Timer 132 from counting and overflows, encounter hardware error in this way
When can automatically reset, execute step 1.
Software uses simple cyclic program frame, reads key, analysis button information, Predistribution Algorithm analysis operation reasonability,
System real time and stability are all fine.
As a kind of preferred embodiment of the invention, display chip 14 by spi bus 111 on main control chip 11 with
Main control chip 11 connects.
As a kind of preferred embodiment of the invention, control panel 1 further includes that a matrix form stand-alone keypad 16 and one is digital
Pipe driving chip 17, matrix form stand-alone keypad 16 can effectively reduce required I/O pin quantity, save production cost, charactron driving
Chip 17 is connect with display chip 14.
As a kind of preferred embodiment of the invention, interrupt handler 13 includes a timer 131, house dog timing
Device 132 and a CAN message receive relay 133.
As a kind of preferred embodiment of the invention, main control chip 11 uses ARM chip, ARM chip be based on
The ARM chip of Cortex-M3 kernel MCU or Cortex-M0 kernel MCU, using low cost low-power consumption ARM master control, by reasonable
The control panel software that high high reliability in real time is realized using the planning of onboard hardware and software framework, reduce development difficulty,
FLASH inside MCU can store mass data, increase data storage capacity.
As a kind of preferred embodiment of the invention, interrupt handler 13 provides interruption service for main circulation step, mentions
The high real-time and reliability of entire control panel software, major cycle report control as background program, CAN communication part therein
The operation and current state of panel processed, facilitate user to observe and record.
As a kind of preferred embodiment of the invention, initialization step includes:
Step 01, it powers on to carry out On-Chip peripheral initialization and self-test;
Step 02, the device id that toggle switch 12 is set is read, thus determines to receive and send in CAN interface 15
Data;
Step 03, the parameter in CAN interface 15 is set, CAN bus 15 needs to set SJW, the parameters such as BS1, BS2,
Hardware filter 18 is opened, the data frame needed is only received, reduces overhead caused by undesirable information;
Step 04, opens interrupters processor 13.
As a kind of preferred embodiment of the invention, filter 18 is connect with CAN interface 15.
As a kind of preferred embodiment of the invention, the programming of initialization step and major cycle step is C language,
Using anterior-posterior platform program frame, reads key, sends the operative positions such as key information, display Context resolution and display chip control
Background program is used as in program major cycle, timer interruption and CAN message, which receive to interrupt, is used as foreground program, software realization mould
Block design philosophy facilitates customization and carries out secondary development for client.
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model
It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content
Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.
Claims (9)
1. a kind of printing ink-jet control system, which is characterized in that including,
One control panel, the control panel connect programmable logic controller (PLC), and the control panel includes:
One main control chip;
One toggle switch, is connected with the main control chip, for device id to be arranged;
One interrupt handler, is connected with the main control chip;
One CAN interface is connect with the main control chip and the programmable logic controller (PLC);
Three display chips, are connected with the main control chip, the state and operation note for control panel described in real-time display;
The control panel executes following major cycle step after initialization step:
Step 1, key information is read, is judged whether there is by key pressing, if so, executing step 2, if nothing, executes step 3;
Step 2, key message information is sent;
Step 3, parsing display data, send instructions to the display chip;
Step 4, determine whether timer interruption response, if so, executing step 5, if nothing, execute step 6;
Step 5, heartbeat packet is sent, the heartbeat packet monitors whether to go offline for host computer;
Step 6, WatchDog Timer is fed, step 1 is executed.
2. a kind of printing ink-jet control system according to claim 1, which is characterized in that the display chip passes through described
Spi bus on main control chip is connected with the main control chip.
3. a kind of printing ink-jet control system according to claim 1, which is characterized in that the control panel further includes a square
Configuration keyboard and a digital pipe driving chip, the number pipe driving chip are connect with the display chip, the finger of the step 3
It enables and being sent on display chip by the digital pipe driving chip.
4. a kind of printing ink-jet control system according to claim 1, which is characterized in that the interrupt handler includes one
Timer, a WatchDog Timer and a CAN message receive relay.
5. a kind of printing ink-jet control system according to claim 1, which is characterized in that the main control chip uses ARM
Chip, the ARM chip are the ARM chip based on Cortex-M3 kernel MCU or Cortex-M0 kernel MCU.
6. a kind of printing ink-jet control system according to claim 1, which is characterized in that the interrupt handler is described
Major cycle step provides the service of interruption.
7. a kind of printing ink-jet control system according to claim 1, which is characterized in that the initialization step includes:
Step 01, it powers on to carry out On-Chip peripheral initialization and self-test;
Step 02, the device id that the toggle switch is set is read;
Step 03, the parameter in the CAN interface, opening filter are set;
Step 04, the interrupt handler is opened.
8. a kind of printing ink-jet control system according to claim 8, which is characterized in that the filter and the CAN
Bus interface connection.
9. a kind of printing ink-jet control system according to claim 1, which is characterized in that the initialization step and described
The programming of major cycle step is C language.
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 true CN110077125A (en) | 2019-08-02 |
CN110077125B 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 (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08221171A (en) * | 1995-02-13 | 1996-08-30 | Nec Corp | Keyboard control system |
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 |
-
2019
- 2019-04-17 CN CN201910310505.0A patent/CN110077125B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08221171A (en) * | 1995-02-13 | 1996-08-30 | Nec Corp | Keyboard control system |
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)
Title |
---|
马玉春,陆华: "基于C语言的压电式喷墨打印机驱动程序设计", 《琼州学院学报》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110077125B (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101557420B (en) | Realization method of high-efficiency network communication of a virtual machine monitor | |
CN101131648A (en) | On-line updating method for USB interface control panel | |
CN102565671B (en) | Dynamic allocation method for on-line programming of integrated circuit tester | |
CN102053857A (en) | Apparatus for managing a running virtual machine and switching method thereof | |
CN102057344A (en) | Sleep processor | |
CN105867949A (en) | Online BIOS (basic input/output system) refreshing method for multi-node server | |
CN103827834A (en) | Migration method of in-memory data, computer and device | |
CN206133316U (en) | Portable unmanned aerial vehicle ground satellite station based on double screen notebook | |
CN109462495A (en) | A kind of ship hardware and communication system detection system and method | |
CN1991784A (en) | On-line debugging method for SoC system using HDL to expand serial port | |
CN102279768A (en) | Simulation apparatus, simulation program and simulation method | |
CN106649021A (en) | Testing device for PCIe slave device | |
CN102567022B (en) | Frame-type design method of instrument system for spectrum analyzers | |
CN109063339B (en) | Digital spacecraft component-level embedded simulation system | |
CN103700266A (en) | Traffic signal control simulation system | |
CN109522128A (en) | Segmented multithreading task executing method and device | |
CN101598755A (en) | A kind of plug and play testing equipment | |
CN110077125A (en) | A kind of printing ink-jet control system | |
CN104626165A (en) | Demonstrator key reaction sensitivity optimization method | |
CN101299206B (en) | Method and apparatus for realizing interrupt acquisition | |
CN108701033A (en) | Client operating system awakening method, device, electronic equipment and readable medium | |
CN107678871A (en) | A kind of electronic equipment starting-up method and electronic equipment | |
CN208172648U (en) | Intelligent interaction panel | |
TW201349120A (en) | Method for performing basic input output system utility program without system management interrupt mechanism | |
CN201218931Y (en) | Interface switch controller for peripheral unit of intelligent computer |
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 |