Summary of the invention
The objective of the invention is provides a kind of control card that supplies upper computer software to read external device status and carry out interactive communication for high precision laser etching system.
Purpose of the present invention is achieved through the following technical solutions:
The interface control card of high precision laser etching system, characteristics are: comprise I/O signal converting module, real time position relatively reaches bright dipping signal logic control module, the optical gate motor control module, laser instrument control and Optical Maser System handover module, I/O signal converting module is connected with host computer by the PCR-E96MD interface, real time position relatively reaches bright dipping signal logic control module and is connected with I/O signal converting module by ide interface, laser instrument control and Optical Maser System handover module also are connected with I/O signal converting module by ide interface, and the optical gate motor control module is connected with I/O signal converting module by the IDC interface.I/O signal converting module for host computer and control card provide the channel of interactive communication, passes to other three modules, external unit and motor servo drivers with control signal, quantity of state and the data-signal of host computer; Real time position relatively reaches bright dipping signal logic control module, the positional information of decision instruction storage graphics processing, compare according to the position of encoder feedback worktable and the position of processing stand, to laser instrument provide modulate light signal and machine after the pass light signal; The optical gate motor control module is controlled outside optical gate, prolongs the life-span of the inner optical gate of laser instrument; Laser instrument control and Optical Maser System handover module adapt to two cover Optical Maser Systems on the processing needs switchable device, and can realize its flexible control according to the different control models of laser instrument.
Further, the interface control card of above-mentioned high precision laser etching system, described real time position relatively reaches bright dipping signal logic control module and deposits in the storer by I/O bus each endpoint location information with the platform motion path, by MPU bright dipping or the position of closing light are loaded into comparer in advance in the course of action and put the number end, by the output signal of scrambler count pulse as counter, when the counting of counter equated with the setting value of comparer, (pass) light signal was opened in output.
Further, the interface control card of above-mentioned high precision laser etching system, described laser instrument control and Optical Maser System handover module have the signal transmission interface that is adapted to HIPPO and AVIA, and signaling rate is in uS and nS level.
Substantive distinguishing features and obvious improvement that technical solution of the present invention is outstanding are mainly reflected in:
Reliability height of the present invention, with strong points, real-time good, according to the principle of EMC compatibility and antijamming capability, by four independently module be formed by connecting, reduced the integrated circuit board size, investigate fault easily, it is convenient to change.During use, can provide the duty of external unit in real time, I/O signal converting module sends the control information of host computer to other three modules, and security is good.By the serviceable life of the inner optical gate of outside optical gate control the raising greatly laser instrument, and be convenient to the light modulation road.Satisfy different requirement on machining accuracy by the frequency division parameter of setting feedback coder; Success realizes the switching of two cover Optical Maser Systems, satisfied flexible control and the high-speed traffic that has reached laser instrument.
Embodiment
The present invention is intended to design a kind of control card that supplies upper computer software to read external device status and carry out interactive communication for laser ablation, this integrated circuit board provides the correctness of all external unit running statuses, and in the motion of control processing platform, can read the residing positional information of current platform, by compare the bright dipping and the Guan Guang of control laser instrument with the position of graphics processing.
As shown in Figure 1, the interface control card of high precision laser etching system, comprise I/O signal converting module 9, real time position relatively reaches bright dipping signal logic control module 2, optical gate motor control module 4, laser instrument control and Optical Maser System handover module 3, I/O signal converting module 9 is connected with host computer by the PCR-E96MD interface, real time position relatively reaches bright dipping signal logic control module 2 and is connected with I/O signal converting module 9 by ide interface, laser instrument control and Optical Maser System handover module 3 also are connected with I/O signal converting module 9 by ide interface, optical gate motor control module 4 is connected with I/O signal converting module 9 by the IDC interface, and interface circuit 5 is connected with external unit 8.For considering electromagnetic compatibility and problem such as anti-interference, these four modules are made independently integrated circuit board.Realize the signal transmission of host computer and control card with the PCR-E96MD interface, and carry out Signal Spacing with optocoupler, realize the reception of host computer instruction is judged as MPU with PIC16F628A, adopt M5M5256DFP to store data, realize that with medium scale integration (MSI) compare the position and switch light interrupts, adopt step motor drive module SLA7026M to drive outside optical gate motor, with the module controls laser instrument of multichannel impact damper, Schmidt trigger and logic gates composition.During work, by I/O signal converting module 9 status information of external unit is fed back to host computer, the optical gate motor control module is controlled 4 outside optical gate motors 7, real time position relatively reaches bright dipping signal logic control module 2 and waits for the reception instruction and data, do not provide and modulate light signal, laser instrument control and 3 pairs of selected Optical Maser Systems of Optical Maser System handover module 6 carry out pattern control, are not in holding state but do not control the laser instrument bright dipping; After host computer has judged that all external units are in normal operating conditions, host computer will instruct to be delivered to real time position by I/O signal converting module 9 and relatively reaches bright dipping signal logic control module 2, this module prepares to receive the graphics processing positional information that the storage host computer transmits, after data transmission finishes, start comparison module, if during the position consistency of the starting point of operating position information that scrambler fed back and figure to be processed, real time position relatively reaches bright dipping signal logic control module 2 and sends look-at-me and pass to host computer through I/O signal converting module 9, and send and modulate light signal, after host computer is received look-at-me, sending control signal controls and Optical Maser System handover module 3 through I/O signal converting module 9 to optical gate motor control module 4 and laser instrument, open outside optical gate, control laser instrument bright dipping work, thus carry out etching processing.
PC control software carries out parameter setting, motion path planning, instruction output and shows in real time.Control card is finished motor movement control, accepts data and decision instruction that the storage host computer transmits, finishes the control of each pattern of laser instrument and goes out photocontrol, and each duty of equipment and laser instrument output state are fed back to host computer.In addition, when the shell of any side of equipment is opened, can send alerting signal and force laser instrument to close light, avoid, provide more effective controlling schemes thereby process for the safety of etching because of the unexpected light leak of laser causes the human injury.
I/O signal converting module 9 mainly is that the I/O signal with host computer is connected to other three functional modules and external units by interface, and the control signal of servomotor motion control card is forwarded to servo driver of motor by interface, simultaneously photoelectric limit switch output signal on encoder output and each kinematic axis is connected to motion control card and position comparison module.External unit comprises: Shutter switch, vacuum valve switch, particle collector switch, switching cylinder, digital vacuum meter, alarm lamp, position sensor, cleaning door switch; For each signal condition corresponding pilot lamp is arranged all, simultaneously according to the signal level requirement of I/O card, necessary place need be with resistance to drawing on the power supply or drop-down over the ground.
Real time position relatively reaches bright dipping signal logic control module 2 and mainly deposits in the storer by I/O bus each endpoint location information with the platform motion path, in the course of action, by MPU bright dipping or the position of closing light are loaded into comparer in advance and put the number end, simultaneously by the output signal of scrambler count pulse as counter, when the counting of counter equated with the setting value of comparer, (pass) light signal was opened in output.Divide 6 parts: I/O interface section, MPU control section, memory portion, counter rating unit, scrambler importation and switch light logic part, as shown in Figure 2, specifically form by data buffer 11, counter X12, counter Y13, MPU14, storer 15, counter impact damper 16, comparison module 17, code device signal input 18, frequency multiplication and direction judgment circuit 19, ON/OFF light logic control 20 etc.
On the laser ablation equipment, for improving the resolution of scrambler, on the integrated circuit board 4 frequencys multiplication are carried out in the output pulse of scrambler, so-called 4 frequencys multiplication are promptly exported the hopping edge of A, B according to the two-way of scrambler, count pulse of output in 0 → 1 or 1 → 0 o'clock, so an output pulse of scrambler can be subdivided into four pulses, thereby improve the resolution of scrambler.Wherein, the preset value of main comparison coder currency of comparison module and comparer.All data account for 3 bytes, and the useful positions data bit accounts for 21, and the Senior Three position is the increase and decrease meter digital, and X, the rotating carry-out bit of Y-axis.Because processing is straight line processing, only need compare X-axis position or Y position during the same position comparison.Adopt the location counter of 6 74HC191 as X-axis, 6 74HC191 are as the location counter of Y, 6 counter cascades.Select for 6421 data selector 74HC157 to select X, the counting output of Y-axis, 3 eight digit number word comparer 74HC688 form 24 bit comparators, but high 3 are not used; Output phase or its output terminal of 3 comparers are switch light trigger pip.The frequency-doubled signal pulse of scrambler is declared to the increase and decrease count signal of signal as counter as the count pulse of counter.
The helical pitch of equipment work platform screw mandrel is 20mm, scrambler is revolution 2000 pulses, through quadruple is 8000 pulse/commentaries on classics, so the minimum resolution of movable workbench is 2.5um/P, because the range of guide rail is 1.5m, maximum number of pulses is 600000, for enlarging in the future worktable breadth needs, adopting data bit length is 21, and promptly maximum number of pulses can reach 221.Because used processor is PIC16F628A on the substrate, its clock frequency is 20M, and the one-cycle instruction execution time is 0.2us, and maximum translational speed 1m/s calculates by worktable, the scrambler output pulse minimum period is 2.5uS, and single-chip microcomputer is handled two pulse events and can not clashed.
Add man-hour, upper computer software carries out motion path according to the graphics processing file and plans that graphic file is made up of line segment, therefore only needs record line segment two-end-point information, and can open the light since an end like this is worked into the other end process finishing pass light, just positional information.Here, adopt the coordinate figure of record line segment end points, and be absolute coordinate, because the processing line segment all is a straight line, worktable is the mode of single shaft motion, so the two-end-point of same line segment only need write down the value on the same coordinate axle.Add man-hour, worktable is provided with initial point earlier, and host computer deposits each dot position information of figure in the storer in by process sequence, simultaneously with each counter O reset.Figure as shown in Figure 3 (solid line part), 1a are that the 1st processing line segment opens the light a little, and 2b is that the 1st processing line segment closes luminous point; 3c is that the 2nd processing line segment opens the light a little, and 4d is that the 2nd processing line segment closes luminous point; 5e is that the 3rd processing line segment opens the light a little, and 6f is that the 3rd processing line segment closes luminous point; 7g is that the 4th processing line segment opens the light a little, and 8h is that the 4th processing line segment closes luminous point; 1a, 2b, 3c, what 4d write down is the Y-axis positional information, 5e, 6f, 7g, what 8h write down is the positional information of X-axis, needs during working table movement insert the positional information of first point in the comparer in advance earlier, counter begins counting, when moving to the 1a point, comparer equates, triggers logical circuit, judgement D21 also opens the light, interrupt single-chip microcomputer simultaneously, the positional information that 2b is ordered is inserted in the comparer, this moment, worktable continued motion, the Y-axis counter continues counting, when arriving the 2b point, comparer equates, triggers logical circuit, judge D21 and close light, interrupt single-chip microcomputer, the positional information that 3c is ordered is inserted in the comparer, when moving to 8h, Guan Guang, worktable turn back to 0 point.UI equipment adds man-hour, be not that the disposable substrate that imports into of all positional informations of graphics processing is also preserved, but the positional information of same all line segments on axially that will process is deposited in the storer, after processing this batch line segment, worktable slow down and change direction of motion during this period of time in next group is processed line segment positional information deposit in the storer, operate so repeatedly.
Optical gate motor control module 4 mainly is that frequent switch light designs when processing for equipment, by the motor-driven light shielding block, running by the control motor comes shading or bright dipping, be equivalent to an optical gate, avoid the inner optical gate of laser controller impaired easily down after frequent the use, and be easy control with the advantage of outside optical gate, simultaneously if damage is arranged, it is also more convenient to change parts.The core of control is PIC16F628, because the power of motor is less, does not therefore need to join special purpose driver, can adopt motor drive ic SLA7026M, and drive current can reach 3A.Earlier according to the output signal of origin sensor, with shutter reset, promptly close during Single-chip Controlling, wait for that again the external unit running status that the I/O interface sends judges required control model, the control motor is carried out, and exports current Busy or Error indication.It should be noted that between single-chip microcomputer and the I/O bus and use light-coupled isolation.
Laser instrument control and Optical Maser System handover module 3 need to design for the High-speed Control of laser controller, the signal transmission interface that is adapted to HIPPO and AVIA is arranged, signaling rate is in uS and nS level, be that the RS-232 communication mode is incomparable, as in case of emergency, it is faster than serial ports by integrated circuit board control to quit work.Because synchronization, two cover Optical Maser Systems can not be worked simultaneously, so must select according to actual needs, method therefor is an Enable Pin of controlling ternary 8 non-inverting buffer 74HC244 with an I/O signal, the associated control signal of AVIA and HIPPO is connected to two groups of working ports of impact damper respectively, and main effect is a mode of operation of controlling laser instrument with the external control mode.
In sum, technical solution of the present invention by four independently module be formed by connecting, reduced the integrated circuit board size, investigate fault easily, Electro Magnetic Compatibility is good, the reliability height, it is convenient to change.The duty of external unit is provided in real time, and I/O signal converting module sends the control information of host computer to other three modules, and security is good.The instruction of reception host computer, the storage data, the operating position information and the graphics processing position of comparison coder feedback provide to modulate light signal in real time.By the serviceable life of the inner optical gate of outside optical gate control the raising greatly laser instrument, have only when adding man-hour exterior light lock and just open, and be convenient to the light modulation road.Successfully realized the switching of two cover Optical Maser Systems, satisfied flexible control and the high-speed traffic that has reached laser instrument.
Below only be concrete exemplary applications of the present invention, protection scope of the present invention is not constituted any limitation.All employing equivalents or equivalence are replaced and the technical scheme of formation, all drop within the rights protection scope of the present invention.