[background technology]
The PCB manufacturing industry is the advantage manufacturing industry in area, China Pearl River Delta, the conventional manufacturing process of printed circuit board is the Copper Foil etching method, also claims subtractive process, and it is to be substrate with copper-clad laminate, form line pattern against corrosion through screen painting or photo-imaging, obtain circuit by chemical etching.PCB complicate fabrication process, operation are many, consume a large amount of water and electricity, consume many copper and chemical material, produce a large amount of waste water and pollutant.Ink-jet printed electronics (Printed Elec-tronic) technology is to rise a PCB technological revolution, it adopts Digital Inkjet Printing, functional ink is directly carried out ink-jet printed at insulating substrate, directly forms the figure of against corrosion/anti-plating, conductive layer circuit, mark.New technology can reduce the production process more than 60% of traditional handicraft, save more than 60% against corrosion/materials such as printing ink/dry film of anti-plating, reduce processing and the discharging of 90% above organic wastewater, and can improve the qualification rate of product and shorten the production cycle, reduce the cost of " figure transfer ".It is the trend of technical development that inkjet printing substitutes traditional silk-screen, the high speed inkjet printing requires to adopt a plurality of shower nozzles to form jet array, concurrent working, designing a kind of system that can coordinate many shower nozzles synchronous precision spray printing, distribution and scheduling spray printing task is the main contents of Patent design of the present invention.
Patented technology of the present invention also can be applied to the fields such as ceramic printing, the printing of EL cold light panel.
[patent of invention content]
Patent of the present invention relates to the spray printing control method of the accurate spray printing device of a kind of array, design one is overlapped transfer of data and the control protocol of the accurate spray printing device of array and is adopted the spray printing control system of described agreement, solve the problem of spatterwork generation, data fast transport, task distribution and collaborative, the accurate synchronous spraying printing of the jet array of 2-120 shower nozzle composition, be applicable to the fields such as PCB high speed spray printing, ceramic printing, the printing of EL cold light panel.Based on three layers of hardware structure: host computer, NUSB central control system, nozzle control panel card array, design spray printing data structure, communication and control protocol, the spatterwork dispatching algorithm, spatterwork is comprised of light a fire data, plans instruction, tentative plan instruction of spray printing, and system is scheme or tentative plan scheduling spatterwork according to plan; Host computer generates the work data and instruction, and NUSB resolves instruction, management operations, distributed tasks, control is carried out and statistics, and the nozzle control panel card is carried out the spray printing task.
Concrete structure and the operation principle of each several part are as follows:
1. patent of the present invention relates to the ink-jet printed equipment of many jet array formula
The ink-jet printed equipment of the described many jet array formula of patent of the present invention has the jet array that 2-120 shower nozzle forms, jet array is fixedly mounted on the equipment base station, jet array remains static, the spray printing object then is kept in motion, when the spray printing object is transmitted through the jet array below, shower nozzle carries out accurately contraposition spray printing, and the spray printing process is illustrated as shown in Figure 2.
Many shower nozzles of many jet array formula spray printing device are arranged in length and breadth array, the position of platform coordinate of each shower nozzle is different, the moment of the content of each shower nozzle spray printing and igniting spray printing is also inconsistent, in order to carry out accurately contraposition spray printing, an accurate spray printing time reference need to be arranged, the 20cm place is provided with photoelectric sensor and image acquisition device in jet array the place ahead, the pulse signal that adopts device to send is the timing benchmark that resets, and the image that gathers positioned analysis, adopt its result to come compensating offset error (concrete grammar is described in the back).Plant machinery platform and shower nozzle layout structure are as shown in Figure 3.
2. the described array spray printing device of patent of the present invention spray printing control system
(1) described spray printing control system is comprised of host computer, NUSB central control system, nozzle control panel card array, is provided with the NUSB central control system between host computer and nozzle control panel card array, shows as three-decker on the hardware characteristics of spray printing control system.Host computer communicates by kilomega network and NUSB central control system, has based on the security authentication mechanism of sharing password; Communicate by USB2.0 between NUSB central control system and nozzle control panel card, a NUSB central control system can connect 10-30 nozzle control panel card with 10-30 USB mouth; Communicate by the supporting winding displacement of shower nozzle between nozzle control panel card and the shower nozzle, a nozzle control panel card can drive and connect 1-4 shower nozzle, and equipment can have at most 120 shower nozzles, and the structural representation of spray printing control system as shown in Figure 1.
(2) described spray printing control system host computer
On the one hand, host computer is according to figure, production batch task, the position coordinates of each shower nozzle, the spray printing time reference of setting, spray printing object speed, position, the shower nozzle hole parameter of preparing spray printing, carry out calculation process by the frame generating algorithm of describing later, for each shower nozzle generates spatterwork instruction and data, be encapsulated as spray printing igniting Frame, plans command frame, tentative plan command frame (all kinds of frame structures are defined declaration in the back), send to the NUSB central control system;
On the other hand, host computer generates the mechanism kinematic command frame according to user's the timing automatic service action of equipment operating, ink, and ink operational order frame sends to the NUSB central control system.The state of equipment is analyzed, confirmed to host computer by the equipment state management frames of active inquiry or passive reception NUSB central control system.
(3) described spray printing is controlled the NUSB central control system of system
The NUSB central control system is operated between host computer and the nozzle control panel card array, is responsible for the transmission of data, resolves instruction, carries out the distribution of job scheduling and task.
The NUSB central control system of described spray printing control system, its hardware system feature is: a gigabit network interface is arranged on the mainboard, be connected communication by the gigabit network interface with host computer, 10-30 USB mouth arranged, be connected communication by the USB mouth with the nozzle control panel card, a motion control card is installed, sends out pulse by motion control card to the motion servo system of equipment, the motion of each kinematic axis of control appliance.
The described array spray printing device of patent of the present invention has 6 kinematic axis, adopts 6 axis motion control cards to control.The NUSB central control system is analyzed from host computer and is received next motion control operation frame, and the control parameter of taking out motion control card from frame data is delivered to motion control card, sends pulse by motion control card by parameter request, the motion of control appliance.
The frame that NUSB central control system reception host computer sends has: spray printing igniting Frame, plans command frame, tentative plan command frame, mechanism kinematic command frame, ink operational order frame.Each frame frame head that the analysis of NUSB central control system is received, if the value of the PacketType in the frame head (Cmd_XPacket_Header structure) is " X-USB ", then USBNo takes out USB mouth numbering from frame (Cmd_NUSBPacket structure), arrives the nozzle control panel card that links to each other with USB by the USB mouth numbering delivery frame that indicates (spray printing igniting Frame, plans command frame, tentative plan command frame); If the value of the PacketType in the frame head (Cmd_XPacket_Header structure) is " X-move ", then from frame (Cmd_XMovePacket structure), analyze the motion control parameter of taking out motion control card, instruction format requirement by motion control card generates motion control instruction, issuing motion control card carries out, generate the pulse of motion servo system, the athletic performance of control appliance.If the value of the PacketType in the frame head (Cmd_XPacket_Header structure) is " X-com ", then ComNo takes out the string slogan from frame (Cmd_XComPacket structure), and the value of CmdContent in the frame sent to the serial ports that ComNo indicates the string slogan, namely ink operational order frame is removed data communication device behind the frame head and cross serial ports and deliver to the PLC system that ink is safeguarded.
The NUSB central control system of described spray printing control system, it has the equipment state management agreement, by carrying out the switched communication of state management data frame with host computer, nozzle control panel card, carry out the coherency management of equipment state, the state management data frame has defined state management data Frame Protocol form in the specification.The NUSB central control system is by direct-connected each nozzle control panel card of USB2.0 interface, by the direct-connected motion control card of pci bus, PLC system by the direct-connected control ink of COM serial port, the NUSB central control system is preserved the duty of equipment each several part, and keeps and controlled state.The user operates host computer, and host computer generates spatterwork instruction and data, and after being issued to the USB system and processing, host computer can separation instrumentation or shutdown, and the equipment that can not affect is to the execution of spatterwork.Be distributed to the spatterwork in each nozzle control panel card, its spray printing igniting data division deposits in the internal memory of data field, its spray printing assignment instructions partly deposits in the internal memory of instruction area, and it is lower that each nozzle control panel is stuck in outside spray printing reference pulse triggering, automatically performs spatterwork.When host computer is again started shooting or is reconnected equipment, send the status request frame to the NUSB central control system, after the NUSB central control system is received request, the status data of equipment is packaged into state management data frame (Cmd_GetStatusPacket structure), sends to host computer.
(4) the nozzle control panel card of described spray printing control system
The nozzle control panel card is comprised of FPGA main control part and DSP localization part, and FPGA main control part and DSP localization part carry out exchanges data by shared buffer memory.The datarams district), the internal memory fragment of depository project scheme instruction (calls in the following text: the Planning Directive memory field), the internal memory fragment of depositing the tentative plan instruction (calls in the following text: the provisional injunction memory field), adopt look-up table mechanism to conduct interviews creating the internal memory fragment deposit spray printing igniting data in the DRAM of FPGA main control part (calls in the following text:.The FPGA main control part receives Frame, the command frame of importing into from NUSB, and Frame is deposited the datarams district successively line by line, and the plans command frame is deposited the Planning Directive memory field, and the tentative plan command frame is deposited the provisional injunction memory field.
Assignment instructions is carried out once in the nozzle control panel card, finish the spatterwork of a spray printing object, repeat repeatedly by the task amount in the assignment instructions frame (the TotalPassCount item value among the assignment instructions frame structure Jet_ScheduleFrame), finish the spatterwork of a plurality of spray printing objects.The once execution of assignment instructions frame in each nozzle control panel card needs the external trigger pulse of a while (to call in the following text: the spray printing trigger impulse) be spray printing time original bench mark.
Under equipment spray printing duty, the spray printing object carries out equipment successively, at the uniform velocity travel forward, when the leading edge of spray printing object arrives photoelectric sensor, trigger the pulse of photoelectric sensor output, the pulse of photoelectric sensor output is by the direct-connected input that enters camera I/O interface, the camera that triggers image acquisition device positions takes pictures, in camera space shooting shutter close moment, one of the output output of the I/O interface of camera is taken pictures and is finished pulse signal, described taking pictures finished the reference signal that pulse signal begins as spray printing, by the direct-connected spray printing trigger impulse input that is distributed to all nozzle control panel cards of hardware, like this, all nozzle control panel jigs have consistent spray printing reference signal.
Spray printing trigger impulse when the outside reaches the nozzle control panel card, timer clear 0, and from the provisional injunction memory field, read assignment instructions, if the provisional injunction memory field is empty, then from the Planning Directive memory field, read assignment instructions again, the analysis instruction parameter, press the order parameter (StaRt_X among the task subitem structure Jet_SectionTask, Start_Y, RowCount item value) is indicated to the datarams district and gets line by line successively frame data, the igniting data are sent the igniting data field of shower nozzle inside in the frame, igniting timestamp item value adds the time conversion value of the spray printing object migration of getting in the frame from shared buffer memory, as the spray printing duration of ignition of this frame; The DSP localization part links to each other with external camera, receive the image data in garden, location, carry out image processing by DSP, calculate the central coordinate of circle of the setting circle on the spray printing spare, spray printing spare is converted into the time value of spray printing time-delay by speed at the deviation value of the direction of motion, put into shared buffer memory, for FPGA main control part correction compensation.
The control circuit system of spray printing Control card mainly comprises main control part based on FPGA, based on setting circle IMAQ and the parameter extraction part of DSP.The FPGA main control part mainly comprise usb interface module, spray printing data processing module, shower nozzle driver module, temperature control modules, driving voltage adjusting module, the storage of spray printing image and correction module, with the dsp interface module section, wherein, usb interface module is used for receiving host computer spatterwork data under the NUSB system sends before every batch of spray printing begins, the shower nozzle driver module is used for the spray printing data message is converted into the sequential that is fit to the shower nozzle spray printing, with the spray printing action of SECO shower nozzle; Temperature control modules is used for the Real Time Monitoring nozzle temperature; The driving voltage adjusting module is used for adjusting in real time amplitude and the fabric width of shower nozzle driving voltage, and circuit principle structure figure as shown in Figure 6.
3. the transfer of data of many jet array formula spray printing device and control method
Between host computer and nozzle control panel card array, increase the NUSB central control system, by host computer, the NUSB central control system, nozzle control panel card array forms the three-decker on the hardware structure, have data communication and control protocol based on three layers of Hardware Configuration Definition, carry out with each other exchanges data and control by agreement, host computer is according to spray printing figure and production task, generate spatterwork instruction and data, be encapsulated as frame, pass to the NUSB central control system, NUSB central control system the transmission of data, resolve instruction, carry out the distribution of job scheduling and task, the nozzle control panel card is carried out the spray printing task by rule.
Transfer of data and the control method of described a kind of many jet array formula spray printing device, the data communication of employing and control protocol have defined spray printing igniting Frame, plans command frame, tentative plan command frame, ink operational order frame, equipment state management frames, motion control instruction frame.Adopt data communication and the control protocol of C Plus Plus definition as follows:
Transfer of data and the control method of described a kind of many jet array formula spray printing device, one of its feature is its spatterwork generation and dispatching algorithm, spatterwork is comprised of spray printing igniting data and assignment instructions data, the basic structure of the data of lighting a fire line by line is the Jet_DataStruct in the protocol format, the basic structure of scheme instruction (plans instruction, tentative plan instruction) is the ScheduleStruct in the protocol format, and spatterwork generates with the scheduling step and is:
(1) host computer carries out igniting data and the generation of scheme command frame, the communications packets encapsulation of graphical format conversion, spray printing data sampling, spatterwork and sends, and specifically describes as follows:
The figure that host computer adopts WDM (Windows device drives pattern) technology will prepare spray printing carries out the format conversion form, be converted to the 256 look BMP bitmaps that every pixel accounts for 1 byte, as shown in Figure 4, increase band RS247X storehouse Gberber analysis program and PCB art border generator in standard WDM structure, had the drafting of explanation based on RS247X standard Gberber graphing capability.
Host computer is sampled to described BMP bitmap line by line by hole column pitch, the requirement of spray printing line-spacing of shower nozzle, for example: adopt the Konicl024MB shower nozzle, 1024 spray orifices are arranged, adjacent holes is apart from 35um, requiring spray printing density is 360DBI, the adjacent lines sampled distance is 35um, and the coordinate that shower nozzle is installed relative spray printing datum mark is x, during sampling, every sampling row is from the horizontal x beginning of bitmap, the 35um of being separated by samples a bit, and every row is sampled, and 1024 integral multiples are individual counts, every 35um sampling delegation.Every row sampled data is carried out structure by spray printing igniting data frame format and is filled in, become frame spray printing igniting Frame (Jet_DataFrame structure), the coordinate that the spray printing of describing according to position coordinates, spray printing spare transfer rate, the spray printing igniting Frame of spray printing spare triggering spray printing point is capable, the installation site coordinate of each shower nozzle, calculate the spray printing t duration of ignition of each spray printing igniting Frame, and insert stamp the duration of ignition in the spray printing igniting Frame, formula is as follows:
T=(trigger spray printing point distance+shower nozzle Y coordinate+row order * line-spacing is installed)/spray printing spare speed
Spray printing igniting Frame is added packet header (Cmd_XPacket_Header structure), be encapsulated as communications packets (Cmd_NUSBPacket structure), send to the NUSB central control system.
According to the multiplicity in the spray printing quantity of the spray printing batch task of user input, spray printing graphics field, spray printing zone and order by turns, scheme command frame or tentative plan command frame form (Jet_ScheduleFrame structure) carry out structure and fill in according to plan, form plan or interim scheme command frame, again the scheme command frame is added packet header (Cmd_XPacket_Header structure), be encapsulated as communications packets (Cmd_NUSBPacket structure), send to the NUSB central control system.
(2) the NUSB central control system receives the spatterwork bag that host computer sends, and removes and seals dress, parsing packet header, and the distribution spatterwork specifically describes as follows to corresponding spray printing Control card:
The encapsulation igniting data that NUSB central control system reception host computer sends or the communications packets (Cmd_NUSBPacket structure) of scheme command frame, whether be " X-USB " by PacketType item in the packet header, confirm that its contained frame class is: spray printing igniting Frame, plans command frame or tentative plan command frame, press USBNo item appointment in the bag USB number, contained frame in the bag is distributed to the nozzle control panel card that is connected to USB, and C Plus Plus is described below:
When the nozzle control panel card is received the frame that the NUSB central control system sends, type according to the KJCmd item value judgment frame in the frame, if spray printing igniting Frame, then deliver to datarams district buffer memory in the nozzle control panel card internal memory according to sequencing, if plans command frame, then plans command frame data are delivered to Planning Directive memory field buffer memory in the nozzle control panel card internal memory, if the tentative plan command frame, then tentative plan command frame data are delivered to provisional injunction memory field buffer memory in the nozzle control panel card internal memory.
(3) nozzle control panel is stuck under the triggering of outside spray printing trigger impulse, resolves and carries out spatterwork, and as shown in Figure 5, detailed process is described below:
When the leading edge of spray printing object arrives and when triggering photoelectric sensor, the camera of the pulse excitation image acquisition device that photoelectric sensor sends positions takes pictures, camera space shooting shutter close moment, one of the I/O mouth output output of camera is taken pictures and is finished pulse signal, described taking pictures finished the reference signal that pulse signal begins as spray printing, by the direct-connected spray printing trigger impulse input that is distributed to all nozzle control panel cards of hardware.
When the spray printing trigger impulse input of nozzle control panel card is received the pulse information that spray printing begins, timer makes zero, the beginning timing, and at first get the assignment instructions data from the tentative plan memory field, if the tentative plan memory field is empty, get again scheme director data (Jet_ScheduleStruct structure) from the plans memory field, then task items (Jet_SectionTask structure) in the instruction that carries into execution a plan is resolved in circulation successively: begin coordinate (Start_X according to the graphics field that indicates in the director data, Start_Y), in the data field of nozzle control panel card internal memory, begin from Start_Y is capable, (Jet_DataStruct structure) gets capable spray printing igniting data successively line by line, the igniting data field of sending into shower nozzle inside in every row from the suitable igniting data of shower nozzle hole bit width of Start_X point beginning, wait for igniting, and the duration of ignition of taking out spray printing igniting Frame stab JetTime item value, add the time conversion value of from the shared drive district of DSP setting circle image-processing circuit and FPGA main control circuit part, getting the skew of spray printing spare, as the spray printing t duration of ignition, recycle ratio is than the duration of ignition t and timer timing time, if timer timing time>=spray printing duration of ignition, light a fire at once, finish delegation's spray printing, then next line is sent into the igniting data field of shower nozzle inside, repeat said process, until all row spray printings are finished.
In sum, transfer of data and the control method of described many jet array formula spray printing device, one of its feature is to adopt the mode of the stamp+hardware image positioning and rectifying duration of ignition to carry out accurate spray printing control, there is 0 an identical time reference spray printing time of all shower nozzles of jet array, 0 time reference of igniting spray printing timing: spray printing spare arrives spray printing and begins the trigger point, when spray printing spare triggers accurate optical trigger, optical trigger output pulse-triggered camera is taken pictures, pulse of output end face output of camera shutter close moment camera I/O interface, arrive all nozzle control panel card spray printing trigger impulse inputs by hardware tap distribution pulse, the nozzle control panel card is received trigger impulse, carry out timing and make zero, 0 time reference of this constantly conduct igniting spray printing timing.One frame spray printing igniting Frame contains the igniting data of delegation, spray printing igniting Frame has the stamp item duration of ignition, the duration of ignition, the stamp item indicated the etalon time of the igniting spray printing of this journey data, on the one hand, the igniting data field wait of shower nozzle inside sent into the igniting data of spray printing igniting Frame by the nozzle control panel card; On the other hand, get the stamp value duration of ignition from same spray printing igniting Frame, add the time conversion value of from the shared drive district of DSP setting circle image-processing circuit and FPGA main control circuit part, getting the skew of spray printing spare, as the spray printing t duration of ignition, the igniting spray printing time arrives, the spray printing of lighting a fire at once.
The beneficial effect of Patent design of the present invention is:
1. adopt host computer, NUSB central control system, three layers of hardware configuration of nozzle control panel card array, spatterwork is described, managed with igniting spray printing data and the instruction of spray printing scheme, increased the flexibility of spatterwork, spatterwork is issued on the nozzle control panel card and preserves, resolves and carry out, host computer can separation instrumentation or shutdown, the equipment that can not affect has guaranteed terseness and the stability of equipment operation to the execution of spatterwork.
2. adopt the mode of the stamp+hardware image positioning and rectifying duration of ignition, the igniting data of a plurality of shower nozzles and time are different in the jet array, but they have 0 an identical time reference, particularly adopt the output pulse of camera shutter close moment, distribute triggering by hard connection, very strong real-time is arranged, walked around the response time error of host computer operating system, add the compensation of image positioning and rectifying, system can realize accurate spray printing control.