A kind of program control trigger and method
Technical field
The present invention relates to arc welding technology field, more particularly to a kind of journey that electric welding moment snapshot is caught applied to electric welding machine
Control trigger and method.
Background technology
CO2Gas shielded arc welding is one of the most frequently used gas shield welding method of current welding process, because it was welded
Cheng Chengben is low, and quality is easily controllable, and is widely used.Dissolved drip short circuit transition welding is CO2One often occurred in gas shielded arc welding
Plant particle transfer mode:Arc welding is by welding wire end heating and melting, and formation is suspended on after the dissolved drip of welding wire termination, by dissolved drip with
The contact (i.e. so-called short circuit) of bath on workpiece, and welding wire thawing metal is transitioned into weld seam.Dissolved drip short circuit transition welding mistake
The graphical analysis of journey is to improving welding arc stablility, improving appearance of weld, reduction splatter, raising welding quality and welding
Productivity ratio, realize that Automation of Welding has profound significance.Because in welding process, short-circuit process carries out very fast,
Therefore it must be controlled by means of a high speed flip flop come the shutter to high speed camera, to catch electric welding moment snapshot.And
, it is necessary to consider some characteristics of electric arc machine when carrying out the design of high speed flip flop, such as 1, system real time it is higher, reached in electric current
When goal condition trigger can low latency as far as possible output trigger signal, catch weld point image for high speed camera;2nd, due to
Electric welding machine real-time is higher, electric welding machine discharge cycle each second a maximum of about of 250 times, and immediate current is very big, and peak value can reach 1000A
More than, thus when electric current reaches goal condition high speed flip flop should be able to low latency as far as possible output trigger signal, for height
Fast cameras capture weld point image;3rd, because the electric welding machine interference of electromagnetic field is larger, thus high speed flip flop have it is stronger anti-interference
Ability.Prior art can not meet these characteristics, and it is therefore necessary to this problem is solved.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of stable, threshold value and preposition multiplication factor is program control, energy
Adapt to the program control trigger and method of different welding surroundings.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:A kind of program control trigger, including
Hall current sensor, for butt welding machine current sense, output voltage transducing signal;
Signal amplifier, for carrying out signal amplification to voltage sensing signal;
Schmidt trigger, for handling the voltage sensing signal after amplification, triggering generation square-wave signal;
Single-chip microcomputer, for capturing the rising edge and trailing edge of square-wave signal, and is counted, when count value reaches setting
Value, generates pulse signal;It is additionally operable to the tap position of regulating and controlling digital potentiometer;
Output pulse circuit, for by output of pulse signal to outside high speed camera;
Digital regulation resistance, for adjusting the forward and reverse threshold value of Schmidt trigger according to the tap position after regulation and control, to threshold value
Programme-control is carried out with preposition multiplication factor.
The beneficial effects of the invention are as follows:Hall current sensor has good buffer action, can guarantee that control circuit not by
Welding machine influences;Square-wave signal is exported to Schmidt trigger to count, and export final trigger signal by single-chip microcomputer;Due to
Sensor signal output signal is the wider cyclical signal of frequency band, and the increase filter circuit of sensor output in realization can be improved
Circuit stability, single-chip microcomputer controls digital regulation resistance by SPI interface, realizes that trigger position is adjustable and programming amplifying;Use number
Word potentiometer adjusts the forward and reverse threshold value of Schmidt trigger, and prime amplification is adjusted by adjusting amplifier negative-feedback digital regulation resistance
Multiple, realizes that threshold value and preposition multiplication factor are program control, to adapt to different welding surroundings.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, the Hall current sensor is voltage output type Hall current sensor.
Further, the signal amplifier include operational amplifier U2B, operational amplifier U2C, electric capacity C16, electric capacity C18,
Digital programmable potentiometer U5B and resistance R16~R19;Wherein the output end of Hall current sensor is connected to fortune through electric capacity C18
Calculate amplifier U2B positive input;Operational amplifier U2B positive input through resistance R19 respectively with operational amplifier U2C
Output end and resistance R18 one end connection;Operational amplifier U2C negative input is connected with its output end, and its forward direction is defeated
Enter end to be connected with resistance R16 one end and electric capacity C16 one end respectively, the other end connection positive source of the resistance R16, institute
Electric capacity C16 other end ground connection is stated, resistance R17 is in parallel with electric capacity C16;Digital programmable potentiometer U5B intermediate connection end with
Operational amplifier U2B negative input connection, one end and the resistance R18 of digital programmable potentiometer U5B two ends terminals
Other end connection, the other ends of two ends terminals and operational amplifier U2B output end connection, operational amplifier U2B's is defeated
Go out end to be connected with the input of Schmidt trigger.
Beneficial effect using above-mentioned further scheme is:Signal amplifier is exchange in-phase amplification circuit, multiplication factor
Adjusted by digital programmable potentiometer, realize that 1~21 times of multiplication factor is adjustable, realize that threshold value and preposition multiplication factor are program control,
To adapt to different welding surroundings.
Further, the Schmidt trigger, which includes operational amplifier U2A, digital programmable potentiometer U5D, numeral, to compile
Journey potentiometer U5C, digital programmable potentiometer U5E, resistance R20~R22, electric capacity C19 and voltage-regulator diode D5;Signal amplifier
Positive input of the output end through resistance R20 concatenation operation amplifiers U2A;Digital programmable potentiometer U5D two terminated lines
End connects positive source and power cathode respectively, and digital programmable potentiometer U5D intermediate connection end is put through resistance R22 with computing
Big device U2A negative input connection;Electric capacity C19 two ends respectively with digital programmable potentiometer U5D intermediate connection end and
Power cathode is connected;Digital programmable potentiometer U5C one end terminals are connected with operational amplifier U2A positive input,
Digital programmable potentiometer U5C intermediate connection end is connected with digital programmable potentiometer U5E one end terminals, and numeral can be compiled
Journey potentiometer U5E intermediate connection end is connected with operational amplifier U2A output end;Operational amplifier U2A output end is through electricity
Resistance R21 is connected to the input of single-chip microcomputer;Voltage-regulator diode D5 anode connection power cathode, its negative electrode is connected to resistance R21
Between single-chip microcomputer.
Beneficial effect using above-mentioned further scheme is:Digital programmable potentiometer U5D is produced to power supply partial pressure and is applied close
Special trigger origin voltage, digital programmable potentiometer U5C and digital programmable potentiometer U5E determine Schmidt trigger return difference
Voltage;Schmidt trigger has different threshold voltages, and positive and negative adjustable to threshold voltage, guarantor is realized by operational amplifier U2A
Card can export correct triggering level.
Further, the positive threshold of the Schmidt trigger is
Wherein VrefFor digital programmable potentiometer U5D voltage, RU5CFor digital programmable potentiometer U5C resistance, RU5E
For digital programmable potentiometer U5E resistance, Vcc is supply voltage, R20For resistance R20Resistance, VH+For positive threshold.
Further, the reverse threshold value of the Schmidt trigger is
Wherein VrefFor digital programmable potentiometer U5D voltage, RU5CFor digital programmable potentiometer U5C resistance, RU5E
For digital programmable potentiometer U5E resistance, R20For resistance R20Resistance, VL-For reverse threshold value.
Further, the single-chip microcomputer is MSC-51 series monolithics.
Further, in addition to digital display tube, the digital display tube is connected with the single-chip microcomputer.
Beneficial effect using above-mentioned further scheme is:Pre-set count values are shown by digital display tube, are easy to pre-
Design value is observed, and the operating state of the present apparatus is understood in time.
Further, in addition to key circuit, the key circuit is connected with the single-chip microcomputer.
Beneficial effect using above-mentioned further scheme is:Count value is set by key circuit, it is efficient and convenient.
Another technical scheme that the present invention solves above-mentioned technical problem is as follows:A kind of program control triggering method, including following step
Suddenly:
Hall current sensor butt welding machine current sense, output voltage transducing signal;Signal amplifier is believed voltage sensor
Number carry out signal amplification;Schmidt trigger is handled the voltage sensing signal after amplification, triggering generation square-wave signal;It is single
Piece machine captures the rising edge and trailing edge of square-wave signal, and is counted, and when count value reaches setting value, generates pulse signal;
Output pulse circuit is by output of pulse signal to outside high speed camera;
The tap position of single-chip microcomputer regulating and controlling digital potentiometer;Digital regulation resistance applies close according to the tap position regulation after regulation and control
The special forward and reverse threshold value of trigger, programme-control is carried out to threshold value and preposition multiplication factor.
The beneficial effects of the invention are as follows:Hall current sensor has good buffer action, can guarantee that control circuit not by
Welding machine influences;Square-wave signal is exported to Schmidt trigger to count, and export final trigger signal by single-chip microcomputer;Due to
Sensor signal output signal is the wider cyclical signal of frequency band, and the increase filter circuit of sensor output in realization can be improved
Circuit stability, single-chip microcomputer controls digital regulation resistance by SPI interface, realizes that trigger position is adjustable and programming amplifying;Use number
Word potentiometer adjusts the forward and reverse threshold value of Schmidt trigger, and prime amplification is adjusted by adjusting amplifier negative-feedback digital regulation resistance
Multiple, realizes that threshold value and preposition multiplication factor are program control, to adapt to different welding surroundings.
Brief description of the drawings
Fig. 1 is a kind of module frame chart of program control trigger of the present invention;
Fig. 2 is the circuit theory diagrams of signal amplifier;
Fig. 3 is the circuit theory diagrams of Schmidt trigger.
In accompanying drawing, the list of parts representated by each label is as follows:
1st, Hall current sensor, 2, signal amplifier, 3, Schmidt trigger, 4, single-chip microcomputer, 5, output pulse circuit,
6th, digital regulation resistance, 7, digital display tube, 8, key circuit.
Embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the present invention.
As shown in figure 1, a kind of program control trigger, including
Hall current sensor 1, for butt welding machine current sense, output voltage transducing signal;
Signal amplifier 2, for carrying out signal amplification to voltage sensing signal;
Schmidt trigger 3, for handling the voltage sensing signal after amplification, triggering generation square-wave signal;
Single-chip microcomputer 4, for capturing the rising edge and trailing edge of square-wave signal, and is counted, when count value reaches setting
Value, generates pulse signal;It is additionally operable to the tap position of regulating and controlling digital potentiometer 6;
Output pulse circuit 5, for by output of pulse signal to outside high speed camera;
Digital regulation resistance 6, for adjusting the forward and reverse threshold value of Schmidt trigger according to the tap position after regulation and control, to threshold
Value carries out programme-control with preposition multiplication factor;
Hall current sensor 1 makes to signal amplifier output voltage signal, signal amplifier 2 and Schmidt trigger 3
Input signal is amplified, and is shaped to square wave by analog comparator, is counted using single-chip microcomputer 4 and is exported triggering waveform, to monolithic
The digital regulation resistance 6 of machine 4 carries out programme-control, adjusts the forward and reverse threshold value of Schmidt trigger, by adjusting amplifier negative-feedback numeral
Potentiometer adjusts prime multiplication factor, realizes that threshold value and preposition multiplication factor are program control, to adapt to no welding surroundings.
It is preferred that, the Hall current sensor 1 is voltage output type Hall current sensor.
It is preferred that, as shown in Fig. 2 the signal amplifier 2 includes operational amplifier U2B, operational amplifier U2C, electric capacity
C16, electric capacity C18, digital programmable potentiometer U5B and resistance R16~R19;Wherein the output end of Hall current sensor 1 is through electricity
Hold the positive input that C18 is connected to operational amplifier U2B;Operational amplifier U2B positive input through resistance R19 respectively with
Operational amplifier U2C output end and resistance R18 one end connection;Operational amplifier U2C negative input and its output end
Connection, its positive input is connected with resistance R16 one end and electric capacity C16 one end respectively, and the other end of the resistance R16 connects
Positive source is connect, the other end ground connection of the electric capacity C16, resistance R17 is in parallel with electric capacity C16;Digital programmable potentiometer U5B's
Intermediate connection end is connected with operational amplifier U2B negative input, and the one of digital programmable potentiometer U5B two ends terminals
End is connected with the resistance R18 other end, and the output end connection of the other end and operational amplifier U2B of two ends terminals, computing is put
Big device U2B output end is connected with the input of Schmidt trigger 3;
Hall current sensor 1 is output as -5V-5V bipolar voltage signals, and output voltage size is according to size of current line
Property change;Because sensor output bias voltage is indefinite in the application, frequency is relatively low or even flip-flop is more, in order to be able to make to apply
Schmitt trigger 3 exports effective this circuit of trigger signal using AC coupled mode, and has added one-level same after sensor output
Phase Proportion amplifying circuit carries out increase input impedance and amplification;Powered using single supply to amplifier, therefore amplifying circuit needs one
Individual bias voltage, due to electric current polarized, therefore bias voltage takes the 1/2 of positive voltage, using two identical resistance R16
Generation is followed with resistance R17 partial pressures and using one-level operational amplifier.
It is preferred that, as shown in figure 3, the Schmidt trigger 3 includes operational amplifier U2A, digital programmable potentiometer
U5D, digital programmable potentiometer U5C, digital programmable potentiometer U5E, resistance R20~R22, electric capacity C19 and voltage-regulator diode
D5;Positive input of the output end of signal amplifier 2 through resistance R20 concatenation operation amplifiers U2A;Digital programmable potentiometer
U5D two ends terminals connect positive source and power cathode respectively, and digital programmable potentiometer U5D intermediate connection end is through electricity
Resistance R22 is connected with operational amplifier U2A negative input;Electric capacity C19 two ends are respectively with digital programmable potentiometer U5D's
Intermediate connection end and power cathode connection;Digital programmable potentiometer U5C one end terminals and operational amplifier U2A forward direction
Input is connected, and digital programmable potentiometer U5C intermediate connection end connects with digital programmable potentiometer U5E one end terminals
Connect, digital programmable potentiometer U5E intermediate connection end is connected with operational amplifier U2A output end;Operational amplifier U2A's
Output end is connected to the input of single-chip microcomputer 4 through resistance R21;Voltage-regulator diode D5 anode connection power cathode, its negative electrode connects
It is connected between resistance R21 and single-chip microcomputer 4;
By above amplifying impedance matching circuit, output signal is 0~12V ac voltage signal, Schmidt trigger 3
Have two stable states, but from unlike general trigger, Schmidt trigger 3 uses current potential triggering mode, its state by
Input signal current potential is maintained;Successively decrease and the positive input signal for being incremented by two kinds of different change directions, schmidt trigger for negative sense
Device 3 has different threshold voltages;It is correct to guarantee output because input signal amplitude scope is determined by different welding machines and welding wire
Triggering level, design Schmidt trigger uses single operational amplifier design to realize, and positive and negative adjustable to threshold voltage.So Schmidt
Trigger produces trigger origin voltage by digital programmable potentiometer U5D to power supply partial pressure.In order to ensure trigger triggering electricity
Flat precision and input impedance, therefore trigger is determined by digital programmable potentiometer U5C and digital programmable potentiometer U5E sizes
Hysteresis voltage.
It is preferred that, the positive threshold of the Schmidt trigger is
Wherein VrefFor digital programmable potentiometer U5D voltage, RU5CFor digital programmable potentiometer U5C resistance, RU5E
For digital programmable potentiometer U5E resistance, Vcc is supply voltage, R20For resistance R20Resistance, VH+For positive threshold.
It is preferred that, the reverse threshold value of the Schmidt trigger is
Wherein VrefFor digital programmable potentiometer U5D voltage, RU5CFor digital programmable potentiometer U5C resistance, RU5E
For digital programmable potentiometer U5E resistance, R20For resistance R20Resistance, VL-For reverse threshold value.
It is preferred that, the single-chip microcomputer 4 is MSC-51 series monolithics;
The waveform that single-chip microcomputer is inputted after Schmidt's shaping using P1.7, the trigger pulse after P1.0 output countings, by
74HC573 carries out output buffering and exported;With P0 mouthfuls using the segment encodes of I/O port sink currents driving group of four figures display tube 7, P3.4~
Signal is selected in P3.7 mouthfuls of connection 74HC573 driving digital display tubes positions, and two common anode digital display tubes 7 are shown using dynamic scan mode
Show;P3.1~P3.3 mouthfuls of simulating SPI by software interfaces, control the tap position of digital regulation resistance 6, system counts preset value, times magnification
Rate, the origin position value of Schmidt trigger 3, the hysteresis voltage value of Schmidt trigger 3 are by the P2.0~P2.5 mouthfuls of key circuits connect 8
Control.
It is preferred that, in addition to digital display tube 7, the digital display tube 7 is connected with the single-chip microcomputer 4, described digital aobvious
Show that pipe 7 is used to show setting value.
It is preferred that, in addition to key circuit 8, the key circuit 8 is connected with the single-chip microcomputer 4, and the key circuit 8 is used
In setting setting value.
A kind of program control triggering method, comprises the following steps:
The butt welding machine current sense of Hall current sensor 1, output voltage transducing signal;Signal amplifier 2 is to voltage sensor
Signal carries out signal amplification;Voltage sensing signal after 3 pairs of amplifications of Schmidt trigger is handled, triggering generation square wave letter
Number;Single-chip microcomputer 4 captures the rising edge and trailing edge of square-wave signal, and is counted, and when count value reaches setting value, generates pulse
Signal;Output pulse circuit 5 is by output of pulse signal to outside high speed camera;
The tap position of the regulating and controlling digital potentiometer 6 of single-chip microcomputer 4;Digital regulation resistance 6 is adjusted according to the tap position after regulation and control
The forward and reverse threshold value of Schmidt trigger, programme-control is carried out to threshold value and preposition multiplication factor
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.