A kind of D/A conversion equipment and method of laser marking machine
Technical field
The present invention relates to the laser labelling technical field, more particularly, relate to a kind of D/A conversion equipment and method of laser marking machine.
Background technology
Laser marking machine is a kind of based on machine, light, electrical integrated equipment, and its range of application is increasingly extensive.Laser marking machine is mainly used at metal, non-metal material surface and carves character and figure, in many industries, all is widely used.
The digital/analog card (D/A transition card) of data communication mostly is to adopt differential signal to carry out transfer of data between laser marking machine control card and the galvanometer drive plate at present.Under the abominable situation of some electromagnetic interference, it is bigger that the differential signal transmission cable receives electromagnetic radiation, causes the communication data between laser marking machine control card and the galvanometer drive plate to be affected, and has a strong impact on the mark effect of laser marking machine.
Summary of the invention
The technical problem that the present invention will solve is; Above-mentioned defective to prior art; A kind of D/A conversion equipment and method of laser marking machine are provided, and it can guarantee that data communication does not receive electromagnetic radiation between laser marking machine control card and the galvanometer drive plate, improves the mark effect.
The technical solution adopted for the present invention to solve the technical problems is:
Construct a kind of D/A conversion equipment of laser marking machine; Wherein, Comprise the optical fiber transceiver module, level switch module, high performance programmable logical device and the analog output module that connect in order, also comprise power module to said optical fiber transceiver module, said level switch module, said high performance programmable logical device, the power supply of said analog output module; Wherein,
Said optical fiber transceiver module is used for being connected through optical fiber with the laser marking machine control card, receives the light signal that said laser marking machine control card sends, and converts said light signal to the signal of telecommunication;
Said level switch module is used to receive the said signal of telecommunication, and the said signal of telecommunication is carried out level conversion, said electrical signal conversion is become to meet the signal of telecommunication of said high performance programmable logical device level needs;
Said high performance programmable logical device is used for generating digital signal, and said digital signal being sent to said analog output module decoding through the said signal of telecommunication after the level conversion;
Said analog output module is used for converting the said digital signal that receives to analog signal that the galvanometer drive plate can receive.
D/A conversion equipment of the present invention, wherein, said high performance programmable logical device comprises signal decoding unit, signal processing unit and signal output unit; Wherein,
Said signal decoding unit is used to receive the serial electric signal that said level switch module is exported, and received serial electric signal is decoded, and generates serial digital signal;
Said signal processing unit is used to receive said serial digital signal, and from said serial digital signal, extracts the data of needed X passage of analog quantity and Y passage;
Said signal output unit is used for the data of said X passage and Y passage are sent according to the needed sequential of said analog output module.
D/A conversion equipment of the present invention, wherein, said analog output module comprises DAC converting unit and analog differential arithmetic element; Wherein,
Said DAC converting unit is used for the data transaction of said X passage and Y passage is become analog signal;
Said analog differential arithmetic element is used for said analog signal is adjusted, and generates the differential type analog signal.
D/A conversion equipment of the present invention, wherein, said analog output module also is connected with the selector switch that is used to select export to the analog signal range of said galvanometer drive plate;
Said analog differential arithmetic element also is used for generating according to the input signal of said range switch the differential type analog signal of different range.
D/A conversion equipment of the present invention; Wherein, Said high performance programmable logical device is connected with functional select switch, is used for when the laser marking machine control card is connected with two said D/A conversion equipments simultaneously, selects to use main D/A conversion equipment or uses from the D/A conversion equipment.
The present invention also provides a kind of D/A conversion method of laser marking machine, wherein, comprises step:
Receive the light signal that said laser marking machine control card sends, and convert said light signal to the signal of telecommunication;
Receive the said signal of telecommunication, and the said signal of telecommunication is carried out level conversion, said electrical signal conversion is become to meet the signal of telecommunication of high performance programmable logical device level needs;
To decoding, generate digital signal, and send through the said signal of telecommunication after the level conversion;
Convert the said digital signal that receives to analog signal that the galvanometer drive plate can receive.
D/A conversion method of the present invention, wherein, said step: to decoding, generate digital signal, and send, specifically comprise through the said signal of telecommunication after the level conversion:
Receive the serial electric signal of said level switch module output, and received serial electric signal is decoded, generate serial digital signal;
Receive said serial digital signal, and from said serial digital signal, extract the data of needed X passage of analog quantity and Y passage;
The data of said X passage and Y passage are sent according to the needed sequential of said analog output module.
D/A conversion method of the present invention, wherein, the said said digital signal that will receive converts the analog signal that the galvanometer drive plate can receive to and specifically comprises:
The data transaction of said X passage and Y passage is become analog signal;
Said analog signal is adjusted, generated the differential type analog signal.
D/A conversion method of the present invention, wherein, the said said digital signal that will receive converts the analog signal that the galvanometer drive plate can receive to and specifically also comprises:
Generate the differential type analog signal of different range according to the input signal of said range switch;
Select to export to the analog signal range of said galvanometer drive plate through range switch.
D/A conversion method of the present invention, wherein, said method also comprises step:
When the laser marking machine control card is connected with two D/A conversion equipments simultaneously,, select to use main D/A conversion equipment or use from the D/A conversion equipment through functional select switch.
Beneficial effect of the present invention is: through between the D/A of laser marking machine conversion equipment and laser marking machine control card, adopting optical fiber communication; Make both isolate electric signal fully; Solved the problem that is vulnerable to disturb when the D/A data are used cable transmission; Thereby improve the mark effect, and can increase the distance between laser marking machine control card and the D/A conversion equipment.
Description of drawings
To combine accompanying drawing and embodiment that the present invention is described further below, in the accompanying drawing:
Fig. 1 is the D/A conversion equipment theory diagram one of the laser marking machine of preferred embodiment of the present invention;
Fig. 2 is the D/A conversion equipment theory diagram two of the laser marking machine of preferred embodiment of the present invention;
Fig. 3 is the D/A conversion method flow chart of the laser marking machine of preferred embodiment of the present invention.
Embodiment
The D/A conversion equipment principle of the laser marking machine of preferred embodiment of the present invention is as shown in Figure 1; Comprise the optical fiber transceiver module 10, level switch module 20, high performance programmable logical device 30 and the analog output module 40 that connect in order, also comprise power module 50 to optical fiber transceiver module 10, level switch module 20, high performance programmable logical device 30, analog output module 40 power supplies.Wherein, optical fiber transceiver module 10 is used for being connected through optical fiber with the laser marking machine control card, receives the light signal that the laser marking machine control card sends, and converts light signal to the signal of telecommunication; Level switch module 20 is used to receive the signal of telecommunication, and the signal of telecommunication is carried out level conversion, electrical signal conversion is become to meet the signal of telecommunication of high performance programmable logical device 30 level needs; High performance programmable logical device 30 is used for generating digital signal, and digital signal being sent to analog output module 40 decoding through the signal of telecommunication after the level conversion; Analog output module 40 is used for converting the digital signal that receives to analog signal that the galvanometer drive plate can receive.The present invention is through adopting optical fiber communication between the D/A of laser marking machine conversion equipment and laser marking machine control card; Make both isolate electric signal fully; Solved the problem that is vulnerable to disturb when the D/A data are used cable transmission; Thereby improve the mark effect, and can increase the distance between laser marking machine control card and the D/A conversion equipment.
In the foregoing description; With should be provided with optic fiber emission modules simultaneously in the laser marking machine control card that optical fiber transceiver module 10 is connected so that send out light signal to optical fiber transceiver module 10, in optical fiber transceiver module 10; This light signal is carried out the photoelectricity modulation, convert the signal of telecommunication to.Optical fiber transceiver module 10 possesses receiving optical signals and the function of sending light signal simultaneously, therefore can on the laser marking machine control card, connect two or more D/A conversion equipments simultaneously.When connecting two D/A conversion equipments; The optical fiber transceiver module of first D/A conversion equipment is connected with the optical fiber transceiver module 10 of second D/A conversion equipment; Can the control signal that the laser marking machine control card sends be sent to a plurality of galvanometer drive plates through the D/A conversion equipment like this, realize a machine bull system.
In a further embodiment, as shown in Figure 2, the high performance programmable logical device 30 in the above-mentioned D/A conversion equipment comprises signal decoding unit 31, signal processing unit 32 and signal output unit 33.Wherein, signal decoding unit 31 is used for the serial electric signal of incoming level modular converter 20 outputs, and received serial electric signal is decoded, and generates serial digital signal; Signal processing unit 32 is used to receive serial digital signal, and from serial digital signal, extracts the data of needed X passage of analog quantity and Y passage; Signal output unit 33 is used for the data of X passage and Y passage are sent according to the needed sequential of analog output module.High performance programmable logical device 30 encryptions are good, low-power consumption, high-performance, and under high-frequency clock parallel processable task.The method of extracting analog quantity in decoding algorithm that is wherein adopted in the signal decoding unit 31 and the signal processing unit 32 can not given unnecessary details at this with reference to prior art; The signal transmission timing that signal output unit 33 is adopted can set up on their own according to the needs of the analog output module of being selected for use 40.
In a further embodiment, as shown in Figure 2, the analog output module 40 in the above-mentioned D/A conversion equipment comprises DAC converting unit 42 and analog differential arithmetic element 41.Wherein, DAC converting unit 42 is used for the data transaction of X passage and Y passage is become analog signal; Analog differential arithmetic element 41 is used for analog signal is adjusted, and generates the differential type analog signal.DAC converting unit 42 can adopt the serial D AC chip of high accuracy, low error, and analog differential arithmetic element 41 can adopt high performance amplifier to form, to export stable differential type analog signal.
Further, as shown in Figure 2, above-mentioned analog output module 40 also is connected with the range switch 70 that is used to select export to the analog signal range of galvanometer drive plate; Analog differential arithmetic element 41 also is used for generating according to the input signal of range switch 70 the differential type analog signal of different range.The scope that above-mentioned range switch 70 can select to export to galvanometer drive plate signal is positive and negative 3V or positive and negative 5V, so that be used for being suitable for the galvanometer drive plate of multiple different model.
Further; As shown in Figure 2; High performance programmable logical device 30 in the above-mentioned D/A conversion equipment is connected with functional select switch 82, is used for when the laser marking machine control card is connected with two D/A conversion equipments simultaneously, selects to use main D/A conversion equipment or use from the D/A conversion equipment.Promptly in an above-mentioned machine bull system that is connected with two or more D/A conversion equipments; Can select through 82 pairs of a plurality of D/A conversion equipments of this functional select switch; Functional select switch 82 internal logics can be set as required; For example can comprise: select one of them D/A conversion equipment, select wherein two gears such as D/A conversion equipment simultaneously, also can set main D/A conversion equipment and divide other gear from the D/A conversion equipment.
Preferably, as shown in Figure 2, analog output module 40 outputs in the above-mentioned D/A conversion equipment be connected be used to connect the galvanometer drive plate, with the X axle and the Y axle mark signal element 61 of control galvanometer motor corner.This X axle preferably is connected the galvanometer drive plate through a multi-functional output interface 62 with Y axle mark signal element 61, and multi-functional output interface 62 has the connecting interface of a plurality of different models, can connect the interface of different galvanometer drive plates with different connected modes.
Further; As shown in Figure 2; High performance programmable logical device 30 in the above-mentioned D/A conversion equipment also is connected with the LED light 81 that is used to indicate D/A conversion equipment working condition; Through this LED light 81, can monitor the transmission status between laser marking machine control card and the galvanometer drive plate at any time, thereby avoid occurring in the laser marking process transfer of data interruption or the generation of other fault.
In the foregoing description, as shown in Figure 2, the power module 50 in the D/A conversion equipment is connected with large bulk capacitance group 51, and connects large bulk capacitance group 51 through power input unit 52.Large bulk capacitance group 51 is made up of several jumbo electric capacity, stable power is provided can for other modules of D/A conversion equipment, also can give the galvanometer drive plate power supply of heavy load simultaneously, to satisfy the galvanometer motor need of work.
In another embodiment of the present invention, a kind of D/A conversion method S30 of laser marking machine also is provided, D/A conversion method S30 flow process is as shown in Figure 3, and this method can adopt hardware or software to accomplish.Above-mentioned D/A conversion method S30 comprises step: S31, receive the light signal that the laser marking machine control card sends, and convert light signal to the signal of telecommunication; S32, receive the signal of telecommunication, and the signal of telecommunication is carried out level conversion, electrical signal conversion is become to meet the signal of telecommunication of high performance programmable logical device level needs; S33, to decoding through the signal of telecommunication after the level conversion, generate digital signal, and send; S34, convert the digital signal that receives to analog signal that the galvanometer drive plate can receive.Like this through between the D/A of laser marking machine conversion equipment and laser marking machine control card, adopting optical fiber communication; Make both isolate electric signal fully; Solved the problem that is vulnerable to disturb when the D/A data are used cable transmission; Thereby improve the mark effect, and can increase the distance between laser marking machine control card and the D/A conversion equipment.
Further; Among the above-mentioned D/A conversion method S30: to decoding through the signal of telecommunication after the level conversion; Generate digital signal; And the step of sending specifically comprises: the serial electric signal of incoming level modular converter output, and received serial electric signal decoded, generate serial digital signal; Receive serial digital signal, and from serial digital signal, extract the data of needed X passage of analog quantity and Y passage; The data of X passage and Y passage are sent according to the needed sequential of analog output module.The method of decoding algorithm that is wherein adopted and extraction analog quantity can not given unnecessary details at this with reference to prior art; The signal transmission timing that is adopted can set up on their own according to the needs of the analog output module of being selected for use.
Further, among the above-mentioned D/A conversion method S30: the step that the digital signal that receives is converted to the analog signal that the galvanometer drive plate can receive specifically comprises: the data transaction of X passage and Y passage is become analog signal; Analog signal is adjusted, generated the differential type analog signal.Wherein the conversion of analog signal can adopt the serial D AC chip of high accuracy, low error to accomplish, and the adjustment of analog signal can adopt the unit of being made up of high performance amplifier to accomplish, to export stable differential type analog signal.
Further, among the above-mentioned D/A conversion method S30: the step that the digital signal that receives is converted to the analog signal that the galvanometer drive plate can receive specifically also comprises: the differential type analog signal that generates different range according to the input signal of range switch; Select to export to the analog signal range of galvanometer drive plate through range switch.The scope that above-mentioned range switch can select to export to galvanometer drive plate signal is positive and negative 3V or positive and negative 5V, so that be used for being suitable for the galvanometer drive plate of multiple different model.
Further, above-mentioned D/A conversion method S30 also comprises step: when the laser marking machine control card is connected with two D/A conversion equipments simultaneously, through functional select switch, select to use main D/A conversion equipment or use from the D/A conversion equipment.Promptly in an above-mentioned machine bull system that is connected with two or more D/A conversion equipments; Can come a plurality of D/A conversion equipments are selected through this functional select switch; The functional select switch internal logic can be set as required; For example can comprise: select one of them D/A conversion equipment, select wherein two gears such as D/A conversion equipment simultaneously, also can set main D/A conversion equipment and divide other gear from the D/A conversion equipment.
Beneficial effect of the present invention is: through between the D/A of laser marking machine conversion equipment and laser marking machine control card, adopting optical fiber communication; Make both isolate electric signal fully; Solved the problem that is vulnerable to disturb when the D/A data are used cable transmission; Thereby improve the mark effect, and can increase the distance between laser marking machine control card and the D/A conversion equipment.
Should be understood that, concerning those of ordinary skills, can improve or conversion, and all these improvement and conversion all should belong to the protection range of accompanying claims of the present invention according to above-mentioned explanation.