CN101388614A - Arc welding inversion controlling method based on DSP chip - Google Patents
Arc welding inversion controlling method based on DSP chip Download PDFInfo
- Publication number
- CN101388614A CN101388614A CN 200810201853 CN200810201853A CN101388614A CN 101388614 A CN101388614 A CN 101388614A CN 200810201853 CN200810201853 CN 200810201853 CN 200810201853 A CN200810201853 A CN 200810201853A CN 101388614 A CN101388614 A CN 101388614A
- Authority
- CN
- China
- Prior art keywords
- module
- dsp
- arc welding
- interrupt
- unit
- 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.)
- Pending
Links
- 238000003466 welding Methods 0.000 title claims abstract description 36
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 26
- 230000003321 amplification Effects 0.000 claims abstract description 10
- 238000003199 nucleic acid amplification method Methods 0.000 claims abstract description 10
- 238000006243 chemical reaction Methods 0.000 claims abstract description 7
- 238000001914 filtration Methods 0.000 claims abstract description 7
- 102100028043 Fibroblast growth factor 3 Human genes 0.000 claims abstract description 4
- 102100024061 Integrator complex subunit 1 Human genes 0.000 claims abstract description 4
- 101710092857 Integrator complex subunit 1 Proteins 0.000 claims abstract description 4
- 108050002021 Integrator complex subunit 2 Proteins 0.000 claims abstract description 4
- 238000004140 cleaning Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 9
- 230000002093 peripheral effect Effects 0.000 abstract description 6
- 125000004122 cyclic group Chemical group 0.000 abstract 1
- 238000011161 development Methods 0.000 description 6
- 238000005070 sampling Methods 0.000 description 2
- 102000008016 Eukaryotic Initiation Factor-3 Human genes 0.000 description 1
- 108010089790 Eukaryotic Initiation Factor-3 Proteins 0.000 description 1
- 101100434411 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ADH1 gene Proteins 0.000 description 1
- 241001062233 Salmonella enterica subsp. enterica serovar Texas Species 0.000 description 1
- 101150102866 adc1 gene Proteins 0.000 description 1
- 101150042711 adc2 gene Proteins 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Arc Welding Control (AREA)
- Generation Of Surge Voltage And Current (AREA)
Abstract
The invention discloses a method for controlling arc welding inversion on the basis of a DSP chip, wherein a system comprises a rectification inversion filtering functional module, an IGBT grid driving module, a DSP central processing module, an input and output module, a sense amplification module and an overload signal detecting module. The method comprises: closing a total interruption and a watchdog, setting a register, initializing a digital analog conversion unit in the DSP central processing module, setting a whole comparison register and a dead area control register, allocating an I/O pin, setting a timer, allowing underflow, cyclic interrupt and underflow interrupt, setting an EVAIMRA and an IMR, allowing INT1 and INT2 interrupts, eliminating interrupt identification, opening a total interrupt, and entering a circulating waiting status. The invention applies the DSP technique in controlling an arc welding inverter system, more stable, precise and flexible performances can be provided, the control is flexible and intelligentized, the hardware design is simple, the software design is flexible and diversified, demanded peripheral circuits are few, and the method has wide application prospect.
Description
Technical field
The present invention relates to a kind of arc welding inversion control technology, relate in particular to a kind of arc welding inverter control system and method thereof based on dsp chip.
Background technology
Arc welding inverter is made up of inverter main circuit and control system thereof.Inversion transformation technique reaches its maturity in recent years, and its control system is still based on Single-chip Controlling.Digitlization has become the development trend and the trend of electronic information technology, and under the promotion of this trend and trend, theory of digital signal processing and realization means have obtained unprecedented development, becomes one of subject current with fastest developing speed.And DSP since being born beginning of the eighties late 1970s, still price on has obtained breakthrough development on the performance as the main method and the means of Digital Signal Processing, and conventional one-piece machine control system is constituted severe challenge.Along with the more complicated application of arc welding inverter and the raising of performance requirement, the single-chip microcomputer arithmetic speed is slow, the shortcoming of poor anti jamming capability, programming very flexible is obvious all the more, becomes the bottleneck of restriction arc welding inverter development.
Simultaneously, in DSP, the TMS320 series of U.S. Texas Instruments company is occupied critical role on the market at home and abroad with its superior ratio of performance to price, the new control DSP TMS320LF2407A that releases of the said firm, the sheet peripheral devices of a high performance DSP kernel and microprocessor is integrated into a chip, become the substitute products of a kind of cheapness of traditional microcontroller (MCU) and expensive control multi-disc design, can be rated as the digital controller of the tool competitiveness of industry.
Summary of the invention
The object of the present invention is to provide a kind of simple in structure, arc welding inverter control system and method thereof that defencive function is complete based on dsp chip.
To achieve the above object, arc welding inverter control system and the method thereof based on dsp chip of the present invention is as follows:
Should be based on the arc welding inverter control system of dsp chip, its main feature is, described control system comprises commutation inversion filter function module, IGBT grid electrode drive module, DSP central processing module, input/output module, sensing amplification module, overload signal detecting module, described DSP central processing module is connected with described input/output module, sensing amplification module, overload signal detecting module respectively, and this DSP central processing module also is connected with described commutation inversion filter function module by described IGBT grid electrode drive module.
Should comprise rectification filtering unit, inverter functional unit, output filter function unit based on the commutation inversion filter function module in the arc welding inverter control system of dsp chip, described rectification filtering unit is connected with affiliated sensing amplification module by inverter functional unit, output filter function unit according to this, and described inverter functional unit is connected with described IGBT grid electrode drive module.
Should comprise host computer unit, key board unit and display unit based on the input/output module in the arc welding inverter control system of dsp chip, described key board unit is connected with described DSP central processing module by the host computer unit respectively with display unit.
Should be overvoltage, under voltage, overcurrent, overheated detecting module based on the overload signal detecting module in the arc welding inverter control system of dsp chip.
Should be the TMS320LF2407A chip based on the DSP central processing module in the arc welding inverter control system of dsp chip.
This utilizes above-mentioned system to realize the method for arc welding inversion control, and its main feature is that described method may further comprise the steps:
(1) system carries out initialization operation;
(2) system closing always interrupts;
(3) system closing house dog;
(4) system carries out the register setting;
(5) D/A conversion unit in the system initialization DSP central processing module;
(6) system carries out full comparand register setting;
(7) system carries out dead band control register setting;
(8) system carries out I/O pin configuration;
(9) system is provided with timer, allows underflow and cycle interruption, underflow to interrupt;
(10) system is provided with EVAIMRA;
(11) system is provided with IMR, and allows INT1 and INT2 to interrupt;
(12) all interrupt identifications of System Cleaning;
(13) open system always interrupts;
(14) system enters the circular wait state.
In sum, the control that the DSP technology is applied to the arc welding inverter system based on the arc welding inverter control system and the method thereof of dsp chip of the present invention, can provide more stable, accurately, performance flexibly, also flexibility more of control, intelligent, hardware designs is simple, flexible software design is various, required peripheral circuit seldom, thereby for the control of arc welding inverter provides more wide development space, be with a wide range of applications.
Description of drawings
Arc welding inverter control system and method thereof based on dsp chip of the present invention provided by following embodiment and accompanying drawing.
Fig. 1 is the hardware capability principle schematic of the arc welding inverter control system based on dsp chip of the present invention.
Fig. 2 is the overall flow figure of the arc welding inversion controlling method based on dsp chip of the present invention.
Embodiment
Below will be described in further detail the arc welding inversion controlling method based on dsp chip of the present invention.
See also shown in Figure 1, should be based on the arc welding inverter control system of dsp chip, wherein, described control system comprises commutation inversion filter function module, IGBT grid electrode drive module, DSP central processing module, input/output module, sensing amplification module, overload signal detecting module, described DSP central processing module is connected with described input/output module, sensing amplification module, overload signal detecting module respectively, and this DSP central processing module also is connected with described commutation inversion filter function module by described IGBT grid electrode drive module.
Wherein, described commutation inversion filter function module comprises rectification filtering unit, inverter functional unit, output filter function unit, described rectification filtering unit is connected with affiliated sensing amplification module by inverter functional unit, output filter function unit according to this, and described inverter functional unit is connected with described IGBT grid electrode drive module; Described input/output module comprises host computer unit, key board unit and display unit, and described key board unit is connected with described DSP central processing module by the host computer unit respectively with display unit; Described overload signal detecting module is overvoltage, under voltage, overcurrent, overheated detecting module; Described DSP central processing module is the TMS320LF2407A chip.
See also shown in Figure 2ly again, this utilizes above-mentioned system to realize the method for arc welding inversion control, and its main feature is that described method may further comprise the steps:
(1) system carries out initialization operation;
(2) system closing always interrupts;
(3) system closing house dog;
(4) system carries out the register setting;
(5) D/A conversion unit in the system initialization DSP central processing module;
(6) system carries out full comparand register setting;
(7) system carries out dead band control register setting;
(8) system carries out I/O pin configuration;
(9) system is provided with timer, allows underflow and cycle interruption, underflow to interrupt;
(10) system is provided with EVAIMRA;
(11) system is provided with IMR, and allows INT1 and INT2 to interrupt;
(12) all interrupt identifications of System Cleaning;
(13) open system always interrupts;
(14) system enters the circular wait state.
In the middle of reality was used, TMS320LF2407A was a kind of microprocessor of special purpose, and its structure and instruction set are particularly suitable for carrying out " signal processing " class algorithm, and abundant sheet peripheral devices makes it be suitable for control again and uses.According to the TMS320LF2407A architecture, the design feature of DSP is particularly conducive in control system to be used, and mainly shows as:
(1) structure is stroked in improved Kazakhstan.Program and data/address bus with separation, this multiple bus architecture allows instruction fetch simultaneously and operand, makes instruction and data to walk abreast and moves and carry out synchronously, has accelerated execution speed.
(2) pile line operation.Pile line operation can overlappingly be carried out operations such as getting finger, decoding, fetch operand and execution.Pile line operation has determined that the instruction of DSP all is one-cycle instruction basically.
(3) adopt hardware multiplier.The hardware multiplier of DSP makes multiplying to finish in 1 instruction cycle, and the multiplying order of single-chip microcomputer is actually by addition and displacement and realizes with software mode, therefore, realizes that multiplying is just slow.
(4) the rapid instruction cycle.The working clock frequency of DSP is very high, and the clock frequency of TMS320LF2407A reaches 40MHz, and promptly the instruction cycle is 25ns, and operational capability is 40MIPS (million instructions per second).
(5) special DSP instructs.A key character of dsp chip is exactly the command system that 1 cover designs for Digital Signal Processing specially.The instruction set of DSP has been simplified digital signal processing.
(6) event manager module of You Huaing and peripheral circuit.Integrated A/D conversion, mass storage, timer, comparing unit, capturing unit, PWM waveform generator, digital I/O mouth, SPI in the TMS320LF2407A chip, SCI, CAN etc., wherein the binding energy of 4 general purpose timers and 12 comparing units produces nearly 16 tunnel PWM output, is enough to satisfy the driving of IGBT main circuit.
In addition, TMS320LF2407A has the distinctive performances such as backward addressing function, hardware addressing control and multiple energy-saving mode of interrupt handling capacity, data pointer fast, and these characteristics will help the application of TMS320LF2407A in arc welding inverter control.
Simultaneously, for voltage, current feedback computing, output voltage, electric current are sent into ADC1 and ADC2 passage after sampling, conversion, finish the sampling of feedback voltage, electric current and the computing of feedback current with interruption of timer 1 underflow and cycle interruption, interrupt finishing the computing of feedback voltage with the timer 2 underflow, 2 timers all are operated in continuously and increase/subtract count mode.
For the implementation method of this control system, mainly comprise the design of main program and interrupt service subroutine, program adopts modularization programming, has very strong transplantability.
The task of main program mainly is a system initialization, initialization module is mainly finished the setting of each control register of system clock, house dog, I/O port, system break, event manager module and interruption thereof etc., and in the software initialization of each variable and background register function is set etc.
In the design of interrupt service subroutine, interrupt service routine comprises that mainly feedback computing, the generation of PWM waveform, the power of voltage, electric current drives the realization etc. of protection.In the interrupt service subroutine design, the processing of interrupt flag bit is a very important problem.Because TMS320LF2407A has adopted a plurality of interrupt sources to share same interrupt priority level in the DSP kernel, thereby all has 2 interrupt identifications to identify to the interrupt requests that each interrupt source is sent.Comprised the flag bit that has been sent to the maskable interrupts request of CPU in INTI~INT6 interrupt class in the interrupt flag register (IFR), each interrupt source of sharing certain interrupt class all has the interrupt flag bit of oneself in the control corresponding register.When entering the general interrupts service routine, only there is the IFR position to be removed automatically, flag bit in the corresponding control register can not removed automatically, at this moment must be removed (all being to write 1 to remove this sign to this position usually) with software in specific interrupt service subroutine.If do not remove this sign, when certain interrupt source (being designated as interrupt source A) of sharing the same interrupt class of kernel is sent interrupt requests, when this interrupt requests of program response enters the general interrupts service routine, if the priority of interrupt source A is lower than the interrupt source that flag bit is not eliminated, program can enter wrong interrupt service subroutine according to flag bit, so must be removed the flag bit in the corresponding control register before interruption is returned.
Because TMS320LF2407A has adopted a plurality of interrupt sources to share this interrupt mode of the same interrupt class of kernel, more interrupt source not only is provided, and make the user can handle the interrupt requests of various interrupt sources (as timer underflow, serial ports reception, external pin saltus step etc.) easily, write out the control program that is fit to oneself needs.
In sum, the control that above-mentioned arc welding inverter control system and method thereof based on dsp chip is applied to the DSP technology arc welding inverter system, can provide more stable, accurately, performance flexibly, also flexibility more of control, intelligent, hardware designs is simple, flexible software design is various, required peripheral circuit seldom, thereby for the control of arc welding inverter provides more wide development space, be with a wide range of applications.
In this specification, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.
Claims (6)
1, a kind of arc welding inverter control system based on dsp chip, it is characterized in that, described control system comprises commutation inversion filter function module, IGBT grid electrode drive module, DSP central processing module, input/output module, sensing amplification module, overload signal detecting module, described DSP central processing module is connected with described input/output module, sensing amplification module, overload signal detecting module respectively, and this DSP central processing module also is connected with described commutation inversion filter function module by described IGBT grid electrode drive module.
2, the arc welding inverter control system based on dsp chip according to claim 1, it is characterized in that, described commutation inversion filter function module comprises rectification filtering unit, inverter functional unit, output filter function unit, described rectification filtering unit is connected with affiliated sensing amplification module by inverter functional unit, output filter function unit according to this, and described inverter functional unit is connected with described IGBT grid electrode drive module.
3, the arc welding inverter control system based on dsp chip according to claim 1, it is characterized in that, described input/output module comprises host computer unit, key board unit and display unit, and described key board unit is connected with described DSP central processing module by the host computer unit respectively with display unit.
4, the arc welding inverter control system based on dsp chip according to claim 1 is characterized in that, described overload signal detecting module is overvoltage, under voltage, overcurrent, overheated detecting module.
5, the arc welding inverter control system based on dsp chip according to claim 1 is characterized in that, described DSP central processing module is the TMS320LF2407A chip.
6, a kind of method of utilizing the described system of claim 1 to realize arc welding inversion control is characterized in that described method may further comprise the steps:
(1) system carries out initialization operation;
(2) system closing always interrupts;
(3) system closing house dog;
(4) system carries out the register setting;
(5) D/A conversion unit in the system initialization DSP central processing module;
(6) system carries out full comparand register setting;
(7) system carries out dead band control register setting;
(8) system carries out I/O pin configuration;
(9) system is provided with timer, allows underflow and cycle interruption, underflow to interrupt;
(10) system is provided with EVAIMRA;
(11) system is provided with IMR, and allows INT1 and INT2 to interrupt;
(12) all interrupt identifications of System Cleaning;
(13) open system always interrupts;
(14) system enters the circular wait state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810201853 CN101388614A (en) | 2008-10-28 | 2008-10-28 | Arc welding inversion controlling method based on DSP chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810201853 CN101388614A (en) | 2008-10-28 | 2008-10-28 | Arc welding inversion controlling method based on DSP chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101388614A true CN101388614A (en) | 2009-03-18 |
Family
ID=40477846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810201853 Pending CN101388614A (en) | 2008-10-28 | 2008-10-28 | Arc welding inversion controlling method based on DSP chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101388614A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103100785A (en) * | 2013-02-28 | 2013-05-15 | 广州市长胜焊接设备实业有限公司 | Digitization inversion arc welding machine output pole short circuit automatic protection system |
CN103737155A (en) * | 2014-01-06 | 2014-04-23 | 山东大学 | Single-phase full-bridge inversion topological magnetic biasing staged processing circuit and method |
WO2016169377A1 (en) * | 2015-04-24 | 2016-10-27 | 深圳市振邦智能科技有限公司 | Pwm control voltage compensation method |
CN110505132A (en) * | 2018-05-18 | 2019-11-26 | 孙京霞 | A kind of software implementation method of lung function data transmission |
CN111992850A (en) * | 2020-08-28 | 2020-11-27 | 北京博清科技有限公司 | Welding control equipment and welding system |
-
2008
- 2008-10-28 CN CN 200810201853 patent/CN101388614A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103100785A (en) * | 2013-02-28 | 2013-05-15 | 广州市长胜焊接设备实业有限公司 | Digitization inversion arc welding machine output pole short circuit automatic protection system |
CN103100785B (en) * | 2013-02-28 | 2015-11-25 | 广州长胜机电有限公司 | A kind of digitlization inverter arc welding machine output stage short circuit automatic protective system |
CN103737155A (en) * | 2014-01-06 | 2014-04-23 | 山东大学 | Single-phase full-bridge inversion topological magnetic biasing staged processing circuit and method |
CN103737155B (en) * | 2014-01-06 | 2015-04-29 | 山东大学 | Single-phase full-bridge inversion topological magnetic biasing staged processing circuit and method |
WO2016169377A1 (en) * | 2015-04-24 | 2016-10-27 | 深圳市振邦智能科技有限公司 | Pwm control voltage compensation method |
CN110505132A (en) * | 2018-05-18 | 2019-11-26 | 孙京霞 | A kind of software implementation method of lung function data transmission |
CN110505132B (en) * | 2018-05-18 | 2021-08-20 | 孙京霞 | Software implementation method for lung function data transmission |
CN111992850A (en) * | 2020-08-28 | 2020-11-27 | 北京博清科技有限公司 | Welding control equipment and welding system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101299185B (en) | Microprocessor structure based on CISC structure | |
CN101178644B (en) | Microprocessor structure based on sophisticated instruction set computer architecture | |
Piguet et al. | Low-power design of 8-b embedded CoolRisc microcontroller cores | |
TWI499974B (en) | Arithmetic processing device and microcomputer | |
CN101388614A (en) | Arc welding inversion controlling method based on DSP chip | |
CN201287231Y (en) | Arc welding inversion control system based on DSP chip | |
CN200990087Y (en) | Eight-bit simple instruction set micro-controller | |
CN200990088Y (en) | Eight-bit RISC micro controller constitution | |
CN100451951C (en) | 5+3 levels pipeline structure and method in RISC CPU | |
CN200997136Y (en) | Micro-controller structure of built-in comparater | |
RU2016121724A (en) | Parallel Computing System Architecture | |
Valvano | Introduction to Embedded Systems | |
Chang et al. | PAC DSP core and application processors | |
CN201376133Y (en) | Arc welding inverter control system based on thyristor modules | |
CN204696972U (en) | A kind of microcontroller for Electric Machine Control | |
CN1238787C (en) | Binary chop type task dispatching method for embedding real-time operating system | |
CN105468549A (en) | Chip device and electronic system thereof | |
CN101739383A (en) | Configurable processor architecture and control method thereof | |
CN101856767A (en) | Arc welding inverter control system and method based on thyristor module | |
CN201021996Y (en) | A micro controller for 8-bit complex instrument set computer | |
CN104898521A (en) | Microcontroller for controlling motor | |
CN201788603U (en) | An experimental teaching platform of electromechanical control based on single chip microcomputer | |
TWI339354B (en) | Microcontroller instruction set | |
Guan et al. | CoDBT: A multi-source dynamic binary translator using hardware–software collaborative techniques | |
Li et al. | VLSI implementation of a High-performance 32-bit RISC Microprocessor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090318 |