SOFTWARE SERVO CONTROLLER OF INJECTION MOLDING MACHINE

Abstract: A general-purpose software servo controller for an electrically powered injection molding machine is provided which is capable of changing the servo con­ trol constant without replacing hardware and controll­ ing the torque appropriately. In accordance with a ser­ vo control program, a microprocessor (13) for servo finds an instruction current based upon a position de­ viation found from both the output of pulse coder (5) and the movement instruction and based upon a change in the pulse coder output. The microprocessor (13) then sends the deviation between the instruction current and the output of a power amplifier (6) to the power amplifier (6) to control the servo motor (2). The output of the power amplifier is limited to be smaller than the instruction torque based on the output of a pressure sensor (4) and the instruction torque.

Description: The present invention relates to an electrically-operated injection molding machine according to the preamble of claim 1. Typically, a conventional electrically-operated injection molding machine is provided with hardware servo circuits each including a position control unit, a speed control unit, and an electric current control unit, for controlling position, speed, and torque of each of servomotors associated with various operating sections of the injection molding machine. Also, it has been known to employ a servo circuit of a type having a torque limit means arranged between the speed control unit and the electric current control unit for restricting the output torque of an associated servomotor to a commanded torque limit value. The injection molding machine includes various operating sections such as injection mechanism, mold clamping mechanism, etc., that is, it includes various control axes such as injection axis, screw rotation axis, clamp axis, etc. Therefore, conventionally, it has been necessary to provide the above-mentioned hardware servo circuits for respective axes. Moreover, to change various servo control variable constants which determine response characteristics of various sections of a servo system, and the like, replacement of part or whole of servo circuit components is required. In addition, since the unit of the torque limit value for pressure control is determined in dependence on the hardware arrangement which forms the pressure control system, there is a restriction in improving accuracy in pressure control. Conventionally-controlled injection molding machines are disclosed in the following documents, i.e. EP-A1-167631, EP-A1-192780, EP-A1-216940, JP-A2-62-97818 and JP-A-61-249733. In particular, EP-A-0216940 discloses an injection molding machine according to the preamble of the attached claim 1. The object of the present invention is to provide a software servo control apparatus for use in an electrically-operated injection molding machine having a servomotor as drive source, which is capable of controlling the drive of the servomotor without the need of employing a hardware servo circuit. According to the present invention there is provided an electrically-operated injection molding machine having a numerical control means for executing a first control program for numerical control so as to deliver a moving command, and arranged to control drive of a servomotor as a drive source for the injection molding machine, this control being effected through a servo control apparatus, characterised in that the servo control apparatus is a software servo control apparatus for executing a second control program for carrying out a predetermined servo control with a predetermined servo control constant and for producing a control output, the software servo control apparatus being provided separately from said numerical control means and comprising a servo control microprocessor, a memory for storing the moving command delivered from said numerical control means and for changeably storing said second control program, and drive means for driving the servomotor in accordance with said control output, it being possible to change said predetermined servo control constant by changing said second control program. As mentioned above, according to the present invention, since the drive of a servomotor is controlled in accordance with a control output from means for executing a predetermined servo control program, the drive of the servomotor can be controlled, without the need of using hardware servo circuits, so as to achieve desired control operations in an injection molding machine, and various servo control variable constants can be changed solely by changing the servo control program so as to easily achieve alteration and adjustment of control operation conditions. In a development, appropriate pressure control can be achieved since the output torque of the servomotor can be controlled through the medium of software processing. Brief Description of the Drawings Fig. 1 is a schematic view showing part of an injection molding machine equipped with a software servo control apparatus according to an embodiment of the present invention; and Fig. 2 is a view, similar to Fig. 1, showing an injection molding machine equipped with a conventional hardware servo apparatus. Prior to explaining the arrangement of the present invention, an explanation as to a typical conventional arrangement will be given with reference to Fig. 2. In Fig. 2, an arrangement associated with an injection axis alone of an injection molding machine is shown, and illustrations and explanations for mold clamping axis, screw rotation axis, ejector axis, etc., are omitted. Reference numeral 2 shows an injection servomotor for axially driving a screw 1 disposed in a cylinder 5, which is provided with a pulse encoder 3 for detecting the rotational position of the motor, i.e., the screw position. A pressure sensor 4 for detecting the pressure applied from a resin material to the screw 1 is disposed on a thrust bearing (not shown) which axially supports the screw 1. Reference numeral 100 denotes a numerical control apparatus (hereinafter referred to as NC apparatus) which is connected in control relation with the injection servomotor 2, the pulse encoder 3, and the pressure sensor 4, for control of an injection molding machine. The NC apparatus 100 has a microprocessor (hereinafter referred to as CPU) 101 for numerical control and a CPU 102 for a programmable controller (hereinafter referred to as PMC), not shown. Connected through buses 115 to the PMCCPU 102 are a ROM 105 storing a sequence program for control of sequence operations in the injection molding machine and the like, and a RAM 112 for temporal storage of data. Connected to the NCCPU 101 are a ROM 104 storing a management program for generally controlling the injection molding machine, a RAM 111 for temporal data storage, and a servo interface 106 to which a servo circuit 107 for controlling the drive of the servomotor 2 is connected. A non-volatile shared RAM 108, which comprises a bubble memory or a CMOS memory, has a memory section for storing an NC program for controlling various operations of the injection molding machine and the like, and a memory section for macro variables in which various preset values and parameters in the form of macro variables are stored. Further, a bus arbiter controller (hereinafter referred to as BAC) 103 is connected to respective buses 115 of NCCPU 101, PMCCPU 102, shared RAM 108, input circuit 109, and output circuit 110, so as to control the bus to be used. A manual data input device (hereinafter referred to as CRT/MDI) 114 with a CRT display device is connected to the BAC 103 through an operator panel controller 113. Although an illustration will be omitted, the servo circuit for respective axis is comprised of a hardware including an error register, which operates to subtract pulses supplied from the pulse encoder 3 from distribution pulses received through the servo interface 106 to output an amount of current error relative to a commanded position, and other elements mentioned hereinbelow. In a speed control unit of the servo circuit, a speed command, obtained through a D/A conversion of the output of the error register effected by a position control unit comprised of a D/A converter, is compared with the output, indicative of the current rotational speed of the servomotor and obtained through an F/V conversion of the output of the pulse encoder 3, or with the output of a tachometer generator (not shown) provided separately. Then, a commanded electric current (torque command), supplied from the speed controller, to be flowed through the servomotor 2 is compared, in an electric current controller, with the electric current presently flowing therethrough, so that the servomotor driving electric current is outputted from an electric power amplifier, which cooperates with the speed controller and the electric current controller to form the speed control unit, in dependence on the result of the just-mentioned comparison, to control the output torque of the servomotor. In the above-mentioned arrangement, while the PMCCPU 102 carries out the sequence control in accordance with the sequence program stored in the ROM 105, the NCCPU 101 performs the pulse distribution through the servo interface 106 to the respective servo circuit 107 associated with the respective axis in accordance with the NC program stored in the shared RAM 108, so that control associated with the respective axis of the injection molding machine is effected through the medium of the respective servo circuit 107 which operates in the above-mentioned manner. During the injection, hold, and metering processes, the commanded electric current supplied from the speed controller is restricted to the commanded torque limit value by a torque limit means (not shown), arranged between the speed controller and the electric current controller for receiving a commanded torque limit value from the output circuit 110, so that the injection pressure, hold pressure, and back pressure are controlled, respectively. Further, during the injection and hold processes, the pressure detected by the pressure sensor 4 is compared with the torque limit value supplied from the output circuit 110, and the output torque of the servomotor is controlled in a feedback manner in accordance with the difference therebetween. As mentioned above, the conventional electrically-operated injection molding machine requires servo circuits, comprised of hardware components such as position control unit, speed control unit, and torque limit means, for respective axes of the molding machine. In addition, in the case of changing the servo control system, it is required to change the circuit constants (resistances, for instance) of the servo circuits or effect replacement of the whole arrangement of the servo circuits. Moreover, the resolution (the magnitude of the minimum unit) of the torque limit value supplied through the output circuit 110 is determined in dependence on the resolution (the number of bits of the output signal) of the output circuit 110, and hence, the unit in pressure control is inevitably restricted in magnitude. In the following, with reference to Fig. 1, an electrically-operated injection molding machine equipped with a software servo control apparatus according to an embodiment of the present invention will be explained. In the meantime, an illustration of elements associated with axes other than the injection axis will be omitted. This injection molding machine is constructed basically in the same manner as that shown in Fig. 2. Elements common to those in Fig. 2 will be designated by the same reference numerals, and explanations thereof will be omitted. The elements 11, 17 and 18; 12, 19 and 20; and 14, 15, 21 and 22 of the NC apparatus 10 correspond to the elements 101, 104 and 111; 102, 105 and 112; and 103, 108, 113 and 114 of the NC apparatus 100 of Fig. 2, respectively, and explanations thereof will be omitted. The NC apparatus 10 comprises a servo control CPU 13, which is a primary element of the software servo control apparatus, for controlling the output torque, speed and position of the servomotors for the respective axes of the injection molding machine. Connected through buses 25 to the CPU 13 are a RAM 23 for temporal data storage, an input/output circuit 24, and a servo-shared RAM 16 for storing a control program for servo control and the like, the NCCPU 11 being bus-connected to the servo-shared RAM 16. Connected through a driver (including a D/A converter) to the input/output circuit 24 is an electric power amplifier 6 the output of which is utilized to drive the injection servomotor 2. Further, the output from the amplifier 6, i.e., the driving current value data obtained by converting the driving current flowing through the injection servomotor 2 by the use of the A/D converter 9, the pressure data obtained by converting the output of the pressure sensor 4 into a digital signal by the A/D converter 8, and the output of the pulse encoder 3 are supplied to the input/output circuit 24, respectively. In the meantime, elements (not shown) corresponding to the elements 6, 7 and 9 are provided for respective axes (mold clamping axis, screw rotation axis, ejector axis, for instance) which are driven by servomotors of the injection molding machine, and each of which is connected to the input/output circuit 24 together with an associated pulse encoder (not shown). In the arrangement mentioned above, when the operation of the injection molding machine is started, the PMCCPU 12 of the NC apparatus 10 performs the sequence control in accordance with the sequence program stored in the ROM 19, and the NCCPU 11 thereof performs the control of the respective operations of the injection molding machine in accordance with the NC program stored in the shared RAM 15, in a conventional manner, so that the moving command is delivered to the servomotor associated with each axis, the same command being stored in the servo-shared RAM 16. The servo CPU 13 performs position control, speed control and torque control of the servomotors for the respective axes in response to the moving commands for the respective axes and in accordance with the servo control program. For instance, when the moving command for the injection axis is supplied to the servo-shared RAM 16, the same CPU 13 subtracts, at intervals of cycle, a value of a counter (not shown) accommodated in the input/output circuit 24 for counting feedback pulses of the pulse encoder 3 from the moving command value, to obtain a present positional deviation amount. Then, the CPU 13 determines the commanded electric current for the servomotor 2 on the basis of the difference between this positional deviation amount and the present speed of the injection servomotor 2 which is obtained on the basis of an amount of change in the value stored in the counter, which counts the feedback pulses. Further, the CPU 13 determines the difference between the commanded current and the present driving current value of the servomotor which is supplied through the A/D converter 9 and the input/output circuit 24, and then supplies the power amplifier 6 with the thus obtained difference through the input/output circuit 24 and the driver 7, so as to drive the injection servomotor 2. At that time, if the torque control effected by restricting the output torque of the injection servomotor is required, the commanded driving current to be outputted to the driver 7 is held to a value less than the preset value specified in the program. Further, when pressure feedback control is effected in dependence on the resin pressure detected by the pressure sensor 4, the difference between the resin pressure signal, which is obtained by converting the output of the pressure sensor 4 into an associated digital signal by the use of the A/D converter 8, and the pressure value specified in the program is supplied to the driver 7. Although the explanation regarding the injection axis alone has been explained in the above, the similar process is effected for other axes. Since servo control is achieved by the use of a microprocessor and an associated control program, the present invention has the following advantages. (i) A change in servo control can be easily carried out. (ii) No additional circuitry is required even when various values of control parameters of the injection molding machine at present time are monitored, and the monitoring can be easily realized. (iii) An optimal control can be achieved for load (resin pressure, back pressure, mold clamping pressure, for instance) which varies from time to time. (iv) Learning control effected in dependence on conditions of the preceding injection molding cycle can be achieved. (v) As distinct from the prior art, overflow of an error register which results in stopping the operation of the injection molding machine can be prevented even when an excessive positional deviation is produced.

Claims: An electrically-operated injection molding machine having a numerical control means (11) for executing a first control program for numerical control so as to deliver a moving command, and arranged to control drive of a servomotor (2) as a drive source for the injection molding machine, this control being effected through a servo control apparatus (13,16 etc) characterised in that the servo control apparatus is a software servo control apparatus for executing a second control program for carrying out a predetermined servo control with a predetermined servo control constant and for producing a control output, the software servo control apparatus being provided separately from said numerical control means (11) and comprising a servo control microprocessor (13), a memory (16) for storing the moving command delivered from said numerical control means (11) and for changeably storing said second control program, and drive means (6,7) for driving the servomotor (2) in accordance with said control output, it being possible to change said predetermined servo control constant by changing said second control program. An injection molding machine according to claim 1, further comprising: input/output circuit means (24) arranged between said servo control apparatus and said servomotor driving means (6,7); and means (3) for detecting a rotational position of the servomotor (2) and for generating an output; wherein said servomotor driving means (6,7) produces an output, and wherein said servo control apparatus is arranged to receive the output of said servomotor driving means (6,7) and the output of said detecting means (3) through said input/output circuit means (24), so as to control said servomotor driving means (6,7) in accordance with these outputs. An injection molding machine according to claim 1 or 2, wherein said servomotor driving means (6,7) includes an electric power amplifier (6) for generating an output, and wherein said servo control microprocessor (13) operates, in accordance with said second control program, to determine a commanded current on the basis of a positional deviation amount, which is determined on the basis of the moving command and the output of said detecting means (5), and an amount of a change in the output of said detecting means (5), and the difference between the commanded current and the output of said electric power amplifier (6) is determined and supplied to said electric power amplifier (6). An injection molding machine according to claim 3, wherein said servo control microprocessor (13) operates to restrict the output of said electric power amplifier (6) to a value less than a commanded torque. An injection molding machine according to claim 4, comprising a pressure sensor (4), coupled to said input/output circuit means (24), for detecting resin pressure and producing an output, and wherein said servo control microprocessor (13) operates to restrict the output of said electric power amplifier (6) to a value less than a commanded torque on the basis of the commanded torque and the output of said pressure sensor (4) which is supplied to said servo control microprocessor (13) through said input/output circuit means (24).

Inventors: KAMIGUCHI MASAO ROOM - FANUC M, NEKO NORIAKI FANUC DAI -VIRAKA, KAMIGUCHI, MASAO ROOM 6-207 FANUC MANSHONHARIMOMI, NEKO, NORIAKI FANUC DAI 3-VIRAKARAMATSU
Applicants: FANUC LTD, FANUC LTD.
Application year: 1988
Main classification: B29C45
IPC codes: B29C45, G05B19