1. Field of the Invention
The present invention relates to a robot control system and, more particularly, relates to a robot control system having an inexpensive, high safety servo power connection/cutoff circuit utilizing software.
2. Description of the Related Art
A servo amplifier of a robot control system is provided with an AC/DC converter. In such a servo amplifier, when the power is turned on, a large rush current would flow through a smoothing capacitor in the servo amplifier (hereinafter simply referred to as a “capacitor”), so the robot control system is provided with a precharging circuit.
At the time of startup of the servo amplifier, to enable a charging resistance in the precharging circuit (hereinafter simply referred to as the “resistance”) and a serial contact (relay or solenoid switch) to perform the precharging at the time of startup, then connect to the main power source, a main circuit contact is provided parallel to the serial line between the resistance and serial contact, the contact in series with the resistance is closed to start the precharging, the capacitor is charged, then the main circuit contact is closed.
On the other hand, when cutting the servo power at the time of an emergency stop, both the precharging contact and the main circuit contact are opened, but for safety's sake, it is necessary to detect faults such as melt fusion of the contacts.
In the related art, for example, in the emergency stop circuit described in Japanese Patent Publication (A) No. 2004-237416 (see specification, paragraph nos. [0023] to [0037] and drawings, FIGS. 3 and 4) or Japanese Patent Publication (A) No. 2005-165755 (see claims, [Claim 1], specification, paragraph nos. to [0037], and drawings, FIGS. 1 and 2), the function of detecting melt fusion faults of contacts was realized by using hardware circuits, but the circuits were complicated and the costs high.
Further, the controller 11 has a teaching pendant 13 connected to it. The teaching pendant 13 is operated by a worker to teach the robot 1 an operation or to input various settings into the robot control system 2.
The servo amplifier 12 drives a servo motor attached to each joint of the robot 1 based on a command from the controller 11. Further, the servo amplifier 12 receives feedback information relating to the rotational angle and speed from a rotary encoder attached to each servo motor through a signal line 15 and transmits information necessary for control of these servo motors to the controller 11.
The servo power connection/cutoff circuit 14 turns on the drive power for the servo motors of the robot 1 through the servo amplifier 12 and power line 16 in accordance with a request for startup of the robot 1 or immediately cuts the supply of drive power to the servo motors to ensure safety when there is a request for emergency stop.
When connecting the servo power to the servo amplifier 12, if directly applying the power voltage in the state with the capacitor 23 insufficiently charged, a large rush current would flow into the capacitor 23 and the electrical circuits in the current path would be adversely affected or a temporary voltage drop would be caused, so before connecting the power source, the general practice has been to precharge the capacitor 23 through a resistance.
Further, when connecting the servo power, it has the function of precharging to prevent a large rush current from flowing to the servo amplifier 12.
Below, details of the servo power connection/cutoff circuit 14 will be explained. In
For example, when the contact KM1-1 of the KM1 is closed, the normally open contacts KM1-4 to KM1-6 being in the open state is guaranteed.
First, these relays (KA1 to KA3) and electromagnetic contactors (KM1, KM2) are all in the OFF state (state of S0 of
At this time, if the relays and electromagnetic contactors are free of faults such as melt fusion or reset defects of the normally open contacts and the normally open contacts open, the contacts KA2-2, KM1-1, KA3-2, and M2-1 become closed.
If the operator pushes the reset switch 32 in this state, the KA1 enters the ON state and the KA1-1 and KA1-2 close (state of S1 of
If the KA2 and KA3 turn ON, the KA2-2 and KA3-2 are opened, so the KA1 enters the OFF state, but current flows through the KA2-1 and KA3-1, so while the emergency stop switch 31 is in the closed state, the ON states of KA2 and KA3 are held (state of S3 of
When the KA2 becomes ON and the KA1 becomes OFF, the KM1-3 and the KM2-3 become closed and the KM1 is ON. At this time, the KM1-4 to KM1-6 and the KA3-4 to KA3-6 are in the closed state and the KA3 is ON, so the capacitor 23 in the servo amplifier 12 is charged through the KA3-4 to KA3-6 and charging resistance 35. The current at this time is limited by the charging resistance 35, so a large rush current will not flow.
The power-up delay circuit 36 is set so as to turn ON the KM2 through the KA1-3 to KA3-3 after the time for the capacitor 23 in the servo amplifier 12 to be sufficiently charged elapses from the time when the KA3 turns ON. Due to this, the rush current is prevented from flowing when the KM2-4 to KM2-6 are ON.
In the above way, finally, only the KA1 enters the OFF state while the other KA2, KA3, KM1, and KM2 all become the ON state, whereby the preparations for operation end (state of S4 of
When the button of the emergency stop switch 31 is pushed, all of the relays (KA1 to KA3) and electromagnetic contactors (KM1, KM2) turn OFF and the initial state (state of S0 of
In the event that in the relays or electromagnetic contactors forming the servo power connection/delay circuit 14, the normally open contacts melt fuse or other reasons occur in the initial state (S0) and the normally open contacts can no longer be reset, the contacts corresponding to the faulty parts in the KA2-2, KM1-1, KA3-2, and M2-1 will not become the closed state. Therefore, the change from S0 to S1 will not occur and the servo amplifier will not enter a state where it is supplied with power, that is, the state of S3 and S4 will not be reached. Therefore, the operator will notice the fault and servo power will not longer be supplied in the faulty state, so safety will be secured.
Due to the above power connection/cutoff circuit, safety against a fault in the power connection/cutoff circuit can be secured. Due to the precharging, the rush current to the servo amplifier can be suppressed. Due to the increased complexity of the circuit and the increase in the number of parts, an increase in cost cannot be avoided. Further, relays where linkage between the normally open and normally closed contacts is guaranteed are extremely expensive compared with general relays. This also is a factor to increase costs.
Before turning the servo power ON, it is possible to detect faults in the power connection/cutoff circuit, but once turning the power ON, there is the problem that a fault cannot be detected while ON.
An object of the present invention is to provide a robot control system which detects faults of a power connection/cutoff circuit and which is inexpensive and high in safety.
To achieve the above object, there is provided a robot control system controlling a servo power connection/cutoff circuit by using a processor, having the processor issue connection/cutoff commands to a precharging relay and a main circuit connection electromagnetic contactor, and able to monitor the states of connection/cutoff from the processor, the robot control system having the processor detect if their contacts have opened/closed as instructed so as to detect if the servo power connection/cutoff circuit has a fault.
Specifically, there is provided a robot control system provided with a processor, a servo amplifier having an AC/DC converter, a resistance for preventing a rush current at the time of charging a smoothing capacitor in the AC/DC converter, a first contact connected in series to the resistance, a first switch circuit opening/closing the first contact by a command from the processor, a first detection circuit detecting an opened/closed state of the first contact and notifying it to the processor, a second contact provided in parallel to the resistance and first contact, a second switch circuit opening/closing the second contact by a command from the processor, and a second detection circuit detecting an opened/closed state of the second contact and notifying it to the processor, the robot control system operating so that when charging the capacitor, it closes the first contact to charge the capacitor, then closes the second contact, wherein the processor commands the first switch circuit and second switch circuit to open/close the first contact and second contact and wherein the first detection circuit and second detection circuit detect if the first contact and second contact open/close as instructed so as to check for abnormalities of the first contact and second contact.
According to the present invention, it becomes possible to provide a robot control system having an inexpensive, high safety servo power connection/cutoff circuit enabling deliberate opening/closing of the contact of the precharging relay and the contact of the main circuit electromagnetic contactor and a check of the operations of the precharging relay and the main circuit electromagnetic contactor even while the power of the servo amplifier is ON.
These and other objects and features of the present invention will become clearer from the following description of the preferred embodiments given with reference to the attached drawings, wherein:
Preferred embodiments of the present invention will be described in detail below while referring to the attached drawings.
Further, signal lines instructed from the processor 51 and output from an output circuit 54 are connected to a coil exciting the precharging relay KA1 and a coil exciting the main contact electromagnetic contactor KM1 and enable the processor 51 to control the opening/closing of the contacts of the precharging relay KA1 and main contact electromagnetic contactor KM1.
First, the method of checking for a fault of the servo power connection/cutoff circuit 50 at the time of turning on the servo power will be explained using
If the operator pushes the reset switch in this state, the processor 51 detects that the reset switch has been pushed through the input circuit 53. At this time, only when the fact that the emergency stop signal switch is in the closed state and both the precharging relay monitor input and main contact monitor input are ON, that is, are in the closed contact states can be read through the input circuit 53, the processor 51 issues an ON command to the precharging relay KA1 (timing of t1).
The processor 51 turns ON the precharging relay KA1, then after a certain time or after detecting that the capacitor in the servo amplifier 52 is sufficiently charged, issues an ON command to the main circuit electromagnetic contact KM1 (timing of t2).
After the timing of t2, the fact that the precharging relay monitor input and main contact monitor input are both in the OFF state is read by the processor 51, wherein the fact that the input circuit 53 is free from a fault is confirmed.
Next, the method for checking for a fault in the servo power connection/cutoff circuit 50 after turning on the servo power will be explained using
After this, immediately, the precharging relay KA1 and electromagnetic contactor KM1 are issued ON commands, and the precharging relay KA1 and electromagnetic contactor KM1 return to the ON states (timing of t4). While the precharging relay KA1 and electromagnetic contactor KM1 are OFF, the servo amplifier 52 is not supplied with power, but this is an extremely short time of tens of milliseconds. During this time, by continuing the operation by the charged power of the capacitor in the servo amplifier 52, the effect on the robot operation can be almost completely ignored.
This fault check can be performed by a command from the processor 51, so can be performed while avoiding times of operations where the power consumption is large and suspension of the supply of power would be liable to have a detrimental effect. As examples, the fault check can be performed in a state braking the shafts of the robot and stopping the supply of torque to the servo motors, can be performed in a state while the robot is idle between one job and another etc.
After turning on the servo power, the precharging relay KA1 and electromagnetic contactor KM1 are both in the ON state. In this state, the processor 51 issues an OFF command to the first precharging relay KA1 (timing of timing of t5). At this time, if the precharging relay KA1 is free from any fault such as melt fusion or reset defects of the normally open contact KA1-1 and the normally open contact KA1-1 opens, the normally closed contact KA1-0 of the precharging relay KA1 becomes the closed state. The state of the normally closed contact KA1-0 of the precharging relay KA1 can be read from the processor 41 through the precharging relay monitor input, so the processor 51 confirms that the precharging relay KA1 has no fault. The processor 51 then immediately issues an ON command to the precharging relay KA1, whereby the precharging relay KA1 and electromagnetic contactor KM1 return to the ON state (timing of t6).
The processor 51 next issues an OFF command to the electromagnetic contactor KM1 (timing of t7). At this time, if the electromagnetic contactor KM1 is free from a fault such as melt fusion or reset defects of the normally open contact KM1-1 and the normally open contact KM1-1 opens, the normally closed contact KM1-0 of the electromagnetic contactor KM1 becomes the closed state. The state of the normally closed contact KM1-0 of the electromagnetic contactor KM1 can be read by the processor 51 through the main contact monitor input, so the processor 51 confirms that the electromagnetic contactor KM1 is free from any fault. After this, it immediately issues an ON command to the electromagnetic contactor KM1, whereby the electromagnetic contactor KM1 returns to the ON state (timing of t8).
In accordance with this timing, when the precharging relay KA1 turns OFF, power is supplied to the servo amplifier 52 through the main circuit electromagnetic contactor KM1. Further, when the main circuit electromagnetic contact KM1 is OFF, power is supplied to the servo amplifier 52 through the precharging relay KA1, so it is possible to suppress to a minimum the effects of the fault check on the robot operation. Here, first the precharging relay KA1 is checked, then the electromagnetic contactor KM1 is checked, but the reverse order also gives exactly the same effect.
Note that, to facilitate understanding, in the first embodiment, the case of a single electromagnetic contactor was explained, but like with the circuit explained with reference to the related art, the present invention can also be worked in a circuit with two electromagnetic contactors.
The first contact of the emergency stop switch, the reset switch, the contact KA1-0 of the precharging relay KA1, and the contact KM1-0 of the main circuit electromagnetic contactor KM1 are connected to the input circuit 93 and enable the states of these switches and contacts to be read from the processor 91. The capacitor in the servo amplifier 12 is charged through the contact KA1-1 of the precharging relay KA1 and charging resistance 95.
Further, signal lines instructed from the processor 91 and output from the output circuit 94 are connected to the coil exciting the precharging relay KA1 and the coil exciting the main contact electromagnetic contactor KM1 and enable control of the opened/closed states of the contacts of the precharging relay KA1 and main contact electromagnetic contactor KM1 from the processor 91.
The control by the second processor 91A is performed so that a fault in any one processor among the first processor 91 and the second processor 91A will not cause a loss of the emergency stop or other safety functions and is a general technique. In this case as well, these processors 91 and 91A can perform the check based on the present invention.
The second contact of the emergency stop switch and the contact KM2-0 of the main circuit electromagnetic contactor KM2 are connected to the input circuit 93A and enable the states of these switch and contact to be read from the processor 91A.
Further, the signal line instructed from the processor 91A and output from the output circuit 94A is connected to the coil exciting the main contact electromagnetic contactor KM2 and enables control of the open/closed state of the contact of the electromagnetic contactor KM2 from the processor 94A.
Further, to secure safety and minimize the effect of the fault check on the robot operation, it is also possible to check only the KA1 and KM1 by the fault check shown in
While the invention has been described with reference to specific embodiments chosen for purpose of illustration, it should be apparent that numerous modifications could be made thereto, by those skilled in the art, without departing from the basic concept and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2006-000129 | Jan 2006 | JP | national |