Inverter-type resistance welding machine

Abstract: The present invention is directed to an inverter-type resis­ tance welding machine. A PWM inverter supplies high frequency primary voltage to a transformer. A microprocessor controls the PWM inverter by proportional-integral-deviation (PID) control through a PWM control unit. The microprocessor determines a feedforward operation amount which corresponds to a desired weld­ ing current value before current is supplied to the welding elec­ trodes. The time period for the calculation of an integral operation amount is effectively reduced to approximately zero by employing a calculated integral operation amount from a previous sampling.

Description: This invention relates to an inverter-type resistance welding machine which operates from a high frequency power source. The invention also encompasses a control system and method for the welding machine. In a conventional resistance welding machine, a 50Hz or 60Hz alternating current (AC) commercial power source is supplied to the welder through a welding transformer. The level of current flow through the welder electrodes, i.e. weld current, is controlled by phase control of a thyristor with associated control circuitry. Phase control is the process of rapid ON-OFF switching which connects an AC supply to a load for a controlled fraction of each cyle. Thus, the duty cycle of the supply is controlled. Control is accomplished by governing the phase angle of the AC wave at which the thryistor is triggered. The thyristor then conducts for the remainder of the cycle. Such arrangements are shown, for example, in U.S. 4,419,559 and WO-A-8600035. The use of a relatively low frequency power source (e.g. 50Hz or 60Hz) requires a further large welding transformer in order to provide the requisite weld current. A large transformer necessarily results in a welding machine which is correspondingly larger in size and heavier in weight. In order to reduce the size of the transformer and effect a reduction in the size and weight of the welding machine, one solution is to use a power source having a relatively high frequency, e.g., in the range of 400Hz to 800Hz. The higher frequency power source permits the use of a smaller transformer without sacrificing the amount of weld current which can be delivered to the welding electrodes. Though a higher frequency power source eliminates one problem (the need for a large transformer), it leads to problems in other areas. One such problem has to do with the relatively short period of each cycle of AC voltage due to the higher frequency. The short period of each cycle makes it difficult to provide the necessary phase control over the thyristor because there is insufficient time to consider all of the necessary welding parameters and provide the appropriate phase control response. This problem is especially critical where a microprocessor is used to provide the control function. Accordingly, there is a tendency to refrain from using higher frequency power sources for this reason, the result being that larger size welding transformers are necessary. SUMMARY OF THE INVENTION It is, therefor, an object of the present invention to provide a resistance welding machine which can be operated from a high frequency power source which overcomes the problems associated with such machines which are known in the prior art. It is another object of the present invention to provide a resistance welding machine in which weld current can be adequately controlled without regard to the frequency of the power source. It is a still a further object of the present invention to provide a resistance welding machine which can be operated from a high frequency power source which uses a microprocessor to control weld current. It is another object of the present invention to provide an inverter-type resistance welding machine and a method which controls weld current by a half-cycle response with respect to inverter frequency. Accordingly the present invention provides an inverter-type resistance welding machine comprising; a controlled power inverter adapted to be coupled to a source of AC power via a rectifier for providing a controlled welding current flow; welding electrodes coupled to said power inverter for receiving said controlled current flow; characterised by means for supplying a feed forward operation value corresponding to a desired welding current before said current is supplied; and feedback control means coupled to said power inverter for controlling the operation of said power inverter in each cycle said feedback control including proportional, integral, and derivative control means, and said integral control means being arranged to utilise an integral operation value from a previous sampling for the current cycle, whereby the integral operation time is reduced to approximately zero by employing a calculated value of a previous sampling as an integral operation amount. Since calculation of the integral operation amount normally consumes a relatively large amount of time, use of a previously calculated value greatly reduces the time period required to provide the proper phase control for the inverter. Thus, a higher frequency power source can be used along with a correspondingly smaller welding transformer. In addition, the welding machine of the present invention is not prone to generating current which can cause deflecting magnetism of the welding transformer and also prevents abnormally high current flow in the inverter. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing an embodiment of the present invention. Figure 2 is a control block diagram which illustrates the operation of the present invention. Figure 3 illustrates the voltage waveforms at various points in the weld current control system of the present invention showing the relationship between the voltage across the primary of the welding transformer and the pulse width modulation reference voltage. Figure 4 illustrates the waveform for the desired voltage across the primary of the welding machine transformer. Figure 5 is a flow chart illustrating the operation of the CPU in the weld current control system of the present invention. Figure 6 is a block diagram of the processor used in the weld current control system of the present invention. The features which are considered as characteristic for this invention are set forth in particular in the appended claims. The invention itself, however, both as to its construction and its method of operation, together with additional objects and advantages thereof, will be best understood from the following description of specific embodiments when read in connection with the accompanying drawings. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Figure 1 illustrates one embodiment of the present invention. As shown, an alternating current power source 14 is supplied to rectifier 2 through fused switch 1. Rectifier 2 rectifies the AC power supply voltage to a unipolar voltage which is supplied to GTR power inverter 3 on positive line 15 and negative line 16. Inverter 3 is a thyristor which has its gate controlled by base drive control circuit 8, the operation of which will be described below. The voltage waveform at the output of inverter 3 is shown in Figure 3A and is connected to the primary winding of transformer 5 by lines 17 and 18. The voltage appearing at the secondary of transformer 5 is full-wave rectified by diodes 6 and is supplied to resistance welding electrodes 7. Pulse width modulator (PWM) 9 provides phase control for inverter 3 through base drive control 8 such that the duty cycle of the voltage waveform at the inverter's output can be varied. Since the level of weld current flow through welding electrodes 7 is dependent on the duty cycle of the voltage at the output of inverter 3, PWM 9 can effectively control weld current flow. The waveform of the control signal from PWM 9 which is supplied to inverter 3 is shown in Figure 3B. The operation of base drive control 8 is controlled by pulse width modulator (PWM) 9 which is in turn controlled by processor 10. As shall be discussed in more detail below, processor 10 controls the operation of PWM 9 in accordance with a stored computer program and data received from current transformer 4 through A/D converter 12 and commands from program box 11. The purpose of current transformer 4 is to detect the level of current flow through the primary of transformer 5. This level is converted to a digital value by A/D converter 12 which is then supplied to processor 10. Program box 11 allows the user to preset certain welding conditions in advance such as weld current, weld current duration and the like. Figure 6 is a block diagram illustrating one construction of processor 10. As Figure 6 shows, processor 10 includes a number of conventional interrelated elements such as RAM memory 61 and ROM memory 62 where instructions and temporary data storage areas of a computer program reside. Processor 10 also includes input/output (I/O) peripheral device 64 which allow processor 10 to communicate with program box 11 and A/D converter 12. Peripheral device 64 may also be used to permit the user to communicate with processor 10 through such devices as CRT 65, keyboard 66, and printer 67. The system may also include mass storage devices 68 which allows the system to store data to and receive programming instructions from such peripheral devices as magnetic floppy disks and tape units. The heat of processor 10 is central processing unit (CPU) 63 which supervises the flow of information between the various elements of the system and which perform logic calculations and other functions based on instructions in the computer program stored in RAM 61 and/or ROM 62 and data associated with the program. CPU 63 may be selected from a number of microprocessors which are known in the art, including 4-bit, 8-bit, 16-bit or 32-bit types. The construction of processor 10 as shown in Figure 6 is merely one embodiment. Other embodiments and arrangements may be used including those which do not have CRT, keyboard and printer capabilities. With reference to Figure 3 again, time period T1 corresponds to one complete cycle of the voltage appearing at the output of inverter 3 and two complete cycles of the reference triangle wave control signal appearing at the output of PWM 9. In the case where the frequence of AC power source 14 is 700 Hz, the frequency of the voltage at the output of inverter 3 is also 700 Hz. Thus, the period of time T1 is approximately 1.43 ms and the period of time T2 is approximately 0.36 ms. In the case where processor 10 uses an 8-bit microprocessor for CPU 63 operating at a clock frequency of 2.0 MHz for example, the total calculation time needed to determine the phase control of inverter 3 is approximately 0.5 ms. Since 0.5 ms exceeds the duration of time T2, conventional microprocessor control methods can not be used at this frequency. However, the present invention over comes this problem. The operation of the welding machine of applicant's invention will now be described in more detail with reference to the control block diagram shown in Figure 2. This block diagram illustrates one cycle of operation of PWM 9 as controlled by processor 10. As pointed out at the outset, an important factor in a resistance welder is control of the amount of weld current which flows through the welding electrodes. In block 21 of Figure 2, a desired weld current value is selected by the user via program box 11. The selected weld current value is supplied to feed forward operation amount block 24 and to deviation block 23. A feedback amount value from block 22 is also supplied to deviation block 23. This value corresponds to the actual weld current then flowing through welding electrodes 7 and is provided by current transformer 4 and A/D converter 12. Current transformer 4 detects the level of current flowing through the primary of transformer 5 and generates a corresponding analogue signal. Since the level of current flow through the secondary of transformer 5, and thus welding electrodes 7, is dependent on the level of current flowing through the primary of transformer 5, the analogue signal from current transformer 4 accurately reflects the level of weld current flowing through welding electrodes 7. The analogue signal is converted to a corresponding digital signal by A/D converter 12 which is thus the feedback amount value supplied to deviation block 23 from block 22. The desired weld current value and the feedback amount operation value are compared by deviation block 23 which provides a difference amount value which is the difference between the desired weld current value and the feedback amount value. The difference amount value is provided to proportional operation amount block 25, integral operation amount block 26 and difference operation amount block 27. Based on the difference value, a proportional operation amount, an integral operation amount and a difference operation amount are determined and then summed in block 30 to an operation amount as illustrated in block 28. The operation amount is limited by an operation amount limitation value as illustrated in block 29 in order to prevent direct current deflecting magnetism of the transformer 5. This value is then provided as an input to PWM 9 which in turn controls the phase of inverter 3 accordingly. As illustrated in figure 4, the operation mount limitation value shown in block 29 should change in small steps during each positive and negative half cycle to prevent direct current deflecting magnetism of transformer 5. As pointed out above, however, a conventional microprocessor controlled welding machine operating in the conventional fashion does not have sufficient response time to provide the necessary small step control. The present invention overcomes this problem as shall be explained with reference to Figure 5. Figure 5 is a flow chart illustration the operation of processor 10. As shown in Figure 5, a desired value 21 is established in step 2 and a feed forward operation amount 24 is determined non-selectively in step 3. Operational amount 24 is determined only once prior to electric current being supplied to weld electrodes 7. The feed forwad operation amount value need not be determined for every cycle. A deviation valued 23 is then calculated in step 4, a proportional operation amount 25 and a differential operation amount 27 are calculated in step 5. Feed forward operation amount 24 and a previously calculated integral amount 26 are then added to proportional operation amount 25 and differential operation amount 27 in order to obtain operational amount 28 and an operational amount limitation value 29 as shown in block 6. Operational amount limitation value 29 is set as value Vn. In block 7, a determination is made whether the output waveform of inverter 3 is positive or negative. If negative, PWM 9 is set to the value Vn. If positive, however, PWM 9 is set to the value: where Vn - 1 is a previous value of Vn. In step 10, an integral operation amount 26 for this cycle is calculated and stored for use during later cycles. Phase control of inverter 3 is thus achieved by repeating steps 4-10 until the welding process is completed. Using this process, a prior integral operation amount 26 is used and calculation of a new integral operation amount 26 is delayed until after a phase control value is provided to PWM 9. Since calculation of integral operation amount 26 is rather time consuming, use of the prior calculated amount greatly reduces the time required to provide the proper phase control for inverter 3. Thus, proper phase control can be provided within time period T2 mentioned above. Integral operation amount 26 is necessary in order to provide an offset of deviation amount 23 between the desired valve 21 and the feedback value 22. Therefore, integral operation amount 26 has no influence on phase control responses even it is delayed one sampling. Because the output of the positive cycle from inverter 3 is given as: , the voltage waveform is changed in very small steps as shown in Figure 4. Obviously, many modifications and variations of the above described preferred embodiment will become apparent to those skilled in the art from a reading of this disclosure. It should be realized that the invention is not limited to the particular apparatus disclosed, but is intended to be governed only by the appended claims.

Claims: An inverter-type resistance welding machine comprising; a controlled power inverter (3) adapted to be coupled to a source of AC power (14) via a rectifier for providing a controlled welding current flow; welding electrodes (7) coupled to said power inverter for receiving said controlled current flow; characterised by means (24) for supplying a feed forward operation value corresponding to a desired welding current before said current is supplied; and feedback control means coupled to said power inverter for controlling the operation of said power inverter in each cycle said feedback control including proportional, integral, and derivative control means, and said integral control means being arranged to utilise an integral operation value from a previous sampling for the current cycle, whereby the integral operation time is reduced to approximately zero by employing a calculated value of a previous sampling as an integral operation amount. A welding machine according to claim 1 further comprising a rectifier (6) connected to said inverter (3) via a transformer (5) so as to supply DC current for welding. A welding machine according to any preceding claim wherein said control means includes a PWM controller. A welding machine according to claim 3 wherein said PWM controller is controlled by a processor. A welding machine according to claim 3 or claim 4 wherein an arithmetic mean of a previous operation value and the current operation value is output to said PWM control circuit in the positive half cycle of the control means, and the current operation amount is output in the negative half cycle. A welding machine according to any preceding claim wherein said operation value is limited to a predetermined value. A welding machine according to claim 4 wherein said processor is an 8-bit micro-computer. A method of controlling an inverter-type resistance welding machine, comprising steps of: providing power supply control means adapted to be coupled to a source of AC power for providing a controlled welding current flow; providing welding electrodes coupled to said power control means for receiving said controlled current flow; supplying a feed forward operation value corresponding to a desired welding current; and calculating a feedback control value from a proportion value, an integral value and a derivative value for controlling the operation of said power control means, utilising an integral value from a previous operation cycle whereby the integral operation time is reduced to substantially zero by employing a calculated value of a previous sampling as an integral operation amount.

Inventors: IZUME TAKATOMOAPATENT DIVISION, IZUME, TAKATOMO@PATENT DIVISION@TOSHIBA CORP., Izume, TakatomoµPatent DivisionµToshiba Corp.
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1987
Main classification: B23K11
IPC codes: H02M3, H02M7, B23K11