Repeater and servo system
The repeater system addresses the wiring complexity in servo systems by separating and distributing feedback and detection signals from a single encoder cable to multiple servo drivers, enhancing compatibility and reducing labor in wiring.
Patent Information
- Application Number
- JP2021041155
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-15
- Publication Date
- 2024-11-13
- Estimated Expiration
- 2041-03-15
AI Technical Summary
Conventional servo systems require separate cables for feedback and detection signals, making wiring labor-intensive when the servo driver and motor are separated by a large distance, and existing solutions using encoders to combine these signals are not compatible with servo drivers designed to receive them separately.
A repeater system that separates and relays feedback and detection signals from a single encoder cable to multiple servo drivers, using a configuration that includes an input section, separation section, and communication section to distribute signals appropriately based on motor operations.
Enables the use of encoders that output feedback and detection signals through a single cable, reducing wiring complexity and improving user convenience by allowing compatible signal distribution to multiple servo drivers.
Smart Images

Figure 0007581989000001 
Figure 0007581989000002 
Figure 0007581989000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a repeater and a servo system. [Background technology]
[0002] In a servo system, a servo driver generally controls a servo motor according to a command from a controller such as a PLC. In this servo control, a detection signal from an external sensor other than an encoder provided in the servo motor may be used. An example of the external sensor is a limit sensor that detects a specific position of an object driven by a motor. Conventionally, such an external sensor is connected to the servo driver by a sensor cable. Here, in a place where the servo system is applied, the servo driver may be separated from the servo motor due to layout reasons or the like. In such a case, a relatively long cable is required for connecting the servo driver and the servo motor. On the other hand, an external sensor for detecting the movement of the object must be placed near the object.
[0003] If the distance between the servo motor and the servo driver is large, the sensor cable connecting the sensor and the servo driver will also be long. If the sensor cable is long, for example, problems occur such as the wiring work of the sensor cable (for example, connecting or laying the sensor cable) requiring a lot of time and effort. Therefore, Patent Document 1 discloses a technology in which the sensor is connected to an encoder of a servo motor arranged near the sensor by cable, and the detection signal of the sensor and a feedback signal generated by the encoder are transmitted from the encoder to the servo driver. According to this technology, the detection signal of the sensor can be passed to the servo driver by connecting the sensor to the encoder, and the wiring between the sensor and the servo driver can be prevented from becoming long. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 6349687 Summary of the Invention [Problem to be solved by the invention]
[0005] According to the conventional technology, the encoder can output the feedback signal and the sensor detection signal through a single cable, which can reduce the wiring between the servo driver and the encoder. However, some servo drivers are designed to receive the feedback signal and the detection signal through different cables. Since the encoder cannot be used for such a servo driver, it becomes difficult to reduce the wiring by using the encoder.
[0006] The present invention has been made in consideration of such problems, and aims to provide a technology that enables the adoption of an encoder that outputs a feedback signal and a detection signal through a single cable for a servo driver designed to receive a feedback signal and a detection signal from different cables. [Means for solving the problem]
[0007] According to one aspect of the present invention, there is provided a repeater including an encoder that outputs, via a first signal line, a feedback signal indicating an operation of a motor driven by a servo driver and a detection signal output from a sensor that detects a parameter related to the displacement of an object to be driven by the motor. and a repeater that repeats communication with the servo driver, the repeater including: an input unit to which the first signal line is connected and that receives an input of an input signal including a feedback signal and a detection signal from the encoder, a separation unit to which a second signal line is connected and that separates the feedback signal and the detection signal from the input signal and outputs the separated detection signal to the servo driver via the second signal line, and a communication unit to which a third signal line is connected and that outputs the feedback signal separated from the input signal by the separation unit to the servo driver via the third signal line.
[0008] The repeater receives an input signal including a feedback signal and a detection signal of the sensor via a first signal line. The repeater then separates the detection signal and the feedback signal from the received input signal and transmits them to the servo driver via a second signal line and a third signal line, respectively. Examples of the sensor include an origin sensor related to the position of the driven object, a limit sensor, and a fully closed sensor paired with a linear scale.
[0009] That is, the repeater can separate the input signal output from the encoder via a single signal line into a feedback signal and a detection signal, and output each of them via different cables. Therefore, the repeater can use an encoder that outputs a feedback signal and a detection signal via a single cable for a servo driver designed to receive a feedback signal and a detection signal via different cables.
[0010] The repeater may be arranged to receive input signals from a plurality of encoders including the encoder, and may be communicatively connected to servo drivers corresponding to the plurality of encoders. The separator may further separate the input signals received from the plurality of encoders into a feedback signal and a detection signal of a sensor associated with the output source encoder for each output source encoder, and transmit the separated detection signals to the servo drivers corresponding to the output source encoders. The communication unit may transmit the feedback signals separated by the separator to the servo drivers corresponding to the output source encoders. According to such a repeater, when input signals are received from a plurality of encoders, the feedback signals and the detection signals can be appropriately distributed and transmitted to the servo drivers corresponding to the output source encoders.
[0011] The repeater may further include a first processing unit that, when a detection signal is received from any of the plurality of encoders when a first predetermined operation is performed in which only the output shaft of a first motor driven by a first servo driver among the servo drivers is driven to displace a driven object, recognizes the sensor that transmitted the detection signal as a first corresponding sensor linked to the first servo driver, and a second processing unit that, when a detection signal is received from any of the plurality of encoders when a second predetermined operation is performed in which only the output shaft of a second motor driven by a second servo driver among the servo drivers is driven to displace a second driven object driven by the second motor, recognizes the sensor that transmitted the detection signal as a second corresponding sensor linked to the second servo driver.
[0012] In the first predetermined operation, only the first motor is driven, and if there is another drive shaft in the servo system, the other motor is not driven. Therefore, if any detection signal is obtained by a sensor during the period in which the first predetermined operation is being performed, it means that the sensor is a sensor related to the first motor, that is, a sensor corresponding to a servo driver that drives and controls the first motor. The first predetermined operation may be a movement operation of the driven object in the entire range in which the driven object can be driven, from one end to the other end, or may be another form of operation. In the second predetermined operation, only the second motor is driven, and if there is another drive shaft in the servo system, the other motor is not driven.
[0013] Therefore, when the first processing unit receives a detection signal from a sensor during a period in which the first predetermined operation is being performed, the first processing unit recognizes the sensor as a sensor (corresponding sensor) corresponding to the first servo driver. Also, when the second processing unit receives a detection signal from a sensor during a period in which the second predetermined operation is being performed, the second processing unit recognizes the sensor as a sensor (corresponding sensor) corresponding to the second servo driver.
[0014] In this way, by using the first processing unit and the second processing unit, the repeater can preferably recognize each of the sensors arranged to be received by the first servo driver and the sensors arranged to be received by the second servo driver.
[0015] The repeater described above may further include a determination unit that determines the sensor type of the sensor recognized by the first processing unit as the first compatible sensor based on position information in the driving range of the driving target when the sensor was recognized as the first compatible sensor, and determines the sensor type of the sensor recognized by the second processing unit as the second compatible sensor based on position information in the driving range of the second driving target when the sensor was recognized as the second compatible sensor. By determining the sensor type in the recognition process of the compatible sensor, it is possible to further improve user convenience.
[0016] Here, the present invention can also be seen from the aspect of a servo system. That is, the servo system includes an encoder that outputs, via a first signal line, a feedback signal indicating the operation of a motor driven by a servo driver and a detection signal output from a sensor that detects a parameter related to the displacement of a driven object driven by the motor, and a repeater that relays communication between the servo driver and the encoder. The repeater in this servo system includes a receiving unit to which the first signal line is connected and that receives an input signal including a feedback signal and a detection signal from the encoder, a separating unit to which a second signal line is connected and that separates the feedback signal and the detection signal from the input signal and outputs the separated detection signal to the servo driver via the second signal line, and a communication unit to which a third signal line is connected and that outputs the feedback signal separated from the input signal by the separating unit to the servo driver via the third signal line. By adopting such a configuration, the servo system can adopt an encoder that outputs a feedback signal and a detection signal through a single cable for a servo driver designed to receive the feedback signal and the detection signal from different cables, respectively. Effect of the Invention
[0017] For a servo driver designed to receive a feedback signal and a detection signal from different cables, an encoder that outputs a feedback signal and a detection signal from a single cable can be employed. [Brief description of the drawings]
[0018] [Figure 1] 1 is a first diagram showing a schematic configuration of a servo system according to an embodiment of the present invention. [Diagram 2] FIG. 1 is a first diagram showing a schematic configuration of a motor. [Diagram 3] FIG. 2 is a diagram illustrating a functional configuration of a repeater. [Figure 4] FIG. 2 is a second diagram showing a schematic configuration of a servo system according to an embodiment of the present invention. [Diagram 5] FIG. 2 is a diagram showing a functional configuration of a separation unit of the repeater. [Figure 6] 10 is a flowchart showing a flow of processing executed in the repeater when executing a sensor recognition process. [Figure 7] 7 is a flowchart showing a specific flow of processing performed among a PLC, a repeater, and a servo driver when the sensor recognition processing of the flowchart shown in FIG. 6 is performed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated. In this disclosure, an industrial system is shown as one exemplary embodiment of a servo system. However, the use of the servo system according to the present invention is not particularly limited.
[0020] <First embodiment> FIG. 1 is a block diagram showing a schematic configuration example of a servo system 100. Referring to FIG. 1, the servo system 100 includes a PLC (Programmable Logic Controller) 1 and a servo The servo system 100 includes a servo driver 2 and a relay 150. The servo driver 2 is arranged to drive and control the servo motor 3. The output shaft 32 of the servo motor 3 is connected to a screw shaft 52 by a coupling 51. A precision stage 53 is arranged on the screw shaft 52, and is configured so that the precision stage 53 is displaced by the drive of the servo motor (hereinafter referred to as "motor") 3. A workpiece 8 is placed on the precision stage 53. In this manner, in the servo system 100 shown in the figure, one drive shaft driven by the motor 3 is provided, but two or more drive shafts may be provided.
[0021] A linear scale 54, an origin sensor 61, limit sensors 62 and 63, and a fully closed sensor 64 are arranged on the drive axis of the motor 3. These sensors detect parameters related to the displacement of the precision stage 53, which is the detection target.
[0022] The origin sensor 61 detects the origin position of the precision stage 53, outputs an ON signal when the precision stage 53 reaches the origin position, and outputs an OFF signal when the precision stage 53 is in any other position. The limit sensors 62, 63 detect the end positions of the movable range of the precision stage 53 on the drive shaft of the motor 3, outputs an ON signal when the precision stage 53 reaches the end position, and outputs an OFF signal when the precision stage 53 is in any other position. For example, when the limit sensor 62 or the like is turned ON, the motor 3 stops and the precision stage 53 stops. The origin sensor 61 and the limit sensors 62, 63 can be photoelectric sensors, proximity sensors, fiber sensors, or the like. Alternatively, the origin sensor and the limit sensor can be image sensors. In this case, the detection signals from each sensor become image signals.
[0023] The linear scale 54 is disposed along the axial direction of the screw shaft 52. The linear scale 54 is, for example, a reflective photoelectric glass scale, and has slits at equal pitches. The fully closed sensor 64 is disposed on the precision stage 53 and moves integrally with the precision stage 53. The fully closed sensor 64 has a light emitting section and a light receiving section (neither shown). Light emitted from the light emitting section is reflected by the corresponding slit of the linear scale 54 to generate interference fringes on the light receiving section. When the precision stage 53 moves, the interference fringes also move, so that the intensity of the output signal from the light receiving section changes according to the movement of the precision stage 53. Therefore, the amount of movement of the precision stage 53 can be obtained by monitoring the change in the intensity of the output signal from the light receiving section. That is, the fully closed sensor 64 outputs a detection signal for calculating the amount of movement of the precision stage 53, and the detection signal is provided to the fully closed control in the servo driver 2.
[0024] Here, the PLC 1 outputs a command signal to the servo driver 2. The PLC 1 functions, for example, as a monitor device for the servo driver 2 by executing processing according to a program prepared in advance.
[0025] The servo driver 2 receives a command signal from the PLC 1. The servo driver 2 also receives a feedback signal from the motor 3, and also receives detection signals output from the corresponding origin sensor 61, limit sensors 62 and 63, or fully closed sensor 64. The servo driver 2 uses a position controller, a speed controller, a current controller, etc. A servo system is formed that performs feedback control based on these signals, and these signals are utilized to servo-control and drive the motor 3.
[0026] The motor 3 also includes a motor body 30 and an encoder 31. The motor 3 is, for example, an AC servo motor. The motor 3 is supplied with a driving current from the servo driver 2 via a power line 40. The encoder 31 detects the operation of the motor body 30. The encoder 31 outputs a feedback signal indicating the detected operation to the repeater 150 via an encoder cable 41.
[0027] The repeater 150 separates the feedback signal of the motor main body 30, and the detection signals of the origin sensor 61, limit sensors 62, 63 and fully closed sensor 64 from the input signal input via the encoder cable 41, and outputs each of the separated signals to cables 81, 82, 83, 84 and 85.
[0028] Next, the wiring of each sensor will be described. As described above, the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 are assigned to the drive shaft associated with the motor 3. In the embodiment shown in Fig. 1, the sensor cable from each sensor is connected to the encoder 31 of the motor of the assigned drive shaft.
[0029] Next, the functional configuration of the encoder 31 to which the sensors are connected via cables as described above will be described with reference to Fig. 2. The encoder 31 includes a signal generating unit 311, an input unit 312, an A / D (analog-digital) conversion unit 313, a communication unit 314, a power supply unit 315, and a display unit 316.
[0030] The signal generating unit 311 detects the operation of the motor main body 30 of the motor 3 driven by the servo driver 2, and generates a feedback signal indicating the detected operation. The feedback signal is output to the communication unit 314. The feedback signal includes, for example, information on the rotational position (angle) of the rotating shaft of the motor main body 30, information on the rotational speed of the rotating shaft, information on the rotation direction of the rotating shaft, etc. The signal generating unit 311 can be configured, for example, as a known incremental type or absolute type.
[0031] The input unit 312 receives detection signals from each sensor. In the encoder 31 of this embodiment, the cable 71 of the origin sensor 61, the cable 72 of the limit sensor 62, the cable 73 of the limit sensor 63, and the cable 74 of the fully closed sensor 64 are connected to the input unit 312. The input unit 312 is, for example, a terminal block or a connector for connecting wiring. The input unit 312 functions as an input interface for receiving detection signals from each sensor via each cable. The input detection signals are output from the input unit 312 to the A / D conversion unit 313. The A / D conversion unit 313 A / D converts the detection signals from the input unit 312 and outputs the converted digital signals to the communication unit 314.
[0032] The communication unit 314 is an interface for communicating with the servo driver 2. In this embodiment, the communication unit 314 sends a feedback signal and a detection signal from each sensor via the encoder cable 41. Here, the servo driver 2 is not designed to receive a feedback signal and a detection signal through one encoder cable 41. Therefore, in this embodiment, a repeater 150 is provided to repeat the transmission and reception of signals between the encoder 31 and the servo driver 2. The encoder 31 and the repeater 150 are connected by the encoder cable 41. The communication unit 314 sends the feedback signal and the detection signal from each sensor to the servo driver 2 via the repeater 150. In this embodiment, serial communication is applied to the transmission of the feedback signal and the detection signal from the communication unit 314. This makes it possible to reduce the number of signal lines included in the cable. For serial communication through the encoder cable 41, known communication standards such as RS-232C (Recommended Standards 232), RS-422, or RS-485 may be used. Furthermore, the encoder 31 is supplied with power from the servo driver 2 via the repeater 150 and the encoder cable 41.
[0033] The power supply unit 315 is a functional unit that supplies a portion of the power obtained from the servo driver 2 via the repeater 150 and the encoder cable 41 to each sensor connected by a cable. A portion of the power is passed from the communication unit 314 to the power supply unit 315. Note that, although the cables connected to the input unit 312 and the cables connected to the power supply unit 315 are shown separately in Fig. 2, in reality, the same cable is used to transmit and receive detection signals from each sensor and to supply power.
[0034] The display unit 316 is an LED that lights up in response to a detection signal input from each sensor when the detection signal is input to the input unit 312. That is, LEDs are arranged in the encoder 31 according to the number of cables of each sensor connected thereto, and when a detection signal is input, an LED corresponding to the sensor that sent the detection signal lights up. Note that the display unit 316 may be a display such as a liquid crystal display instead of an LED, and in that case, the sensor that has received the detection signal may be displayed on the display.
[0035] The functional configuration of the repeater 150 that repeats the exchange of signals between the servo driver 2 and the encoder 31 will be described with reference to Fig. 3. The repeater 150 includes an input unit 151, a separation unit 152, a communication unit 153, and a power supply unit 154.
[0036] Signals including a feedback signal and detection signals from each sensor are input to the input unit 151 via the encoder cable 41. The input unit 151 is, for example, a terminal block or a connector for connecting the encoder cable 41. The input unit 151 functions as an input interface for receiving signals including a feedback signal and detection signals from each sensor via the encoder cable 41. The signals input to the input unit 151 are output from the input unit 151 to the separation unit 152.
[0037] The separation unit 152 separates the feedback signal and the detection signal from each sensor from the signal input from the input unit 151. The separation unit 152 includes, for example, a terminal block or a connector for connecting each of the cables 81, 82, 83, and 84. The separated feedback signal is input from the separation unit 152 to the communication unit 153, and is output from the communication unit 153 to a cable 85. The separated detection signals of each sensor are output to different cables 81, 82, 83, and 84. For example, the detection signal of the origin sensor 61 is output to the cable 81, the detection signal of the limit sensor 62 is output to the cable 82, the detection signal of the limit sensor 63 is output to the cable 83, and the detection signal of the fully closed sensor 64 is output to the cable 84. To which cable each of the detection signals of each sensor is output is specified, for example, by the PLC 1. The separation unit 152 includes, for example, an arithmetic unit, a storage device, and the like, and the processing of the separation unit 152 is realized by the separation unit 152 executing a predetermined program or the like.
[0038] The power supply unit 154 is a functional unit that supplies a portion of the power obtained from the servo driver 2 to the encoder 31 connected via the encoder cable 41. A portion of the power is passed from the communication unit 153 to the power supply unit 154. Note that, although the encoder cable 41 connected to the input unit 151 and the encoder cable 41 connected to the power supply unit 154 are separately illustrated in Fig. 3, in reality, the transmission and reception of detection signals from each sensor and the supply of power are carried out via the same cable.
[0039] In this embodiment, the feedback signal and the detection signal from each sensor are encoded. The feedback signal is input from the servo driver 31 to the repeater 150 via the encoder cable 41. The repeater 150 separates the feedback signal and the detection signal of each sensor from the input signal, and outputs the separated signals to cables 81, 82, 83, 84, and 85. Therefore, according to this embodiment, the encoder 31 that outputs the detection signal and the feedback signal input from each sensor via a single encoder cable 41 can be applied to the servo driver 2 designed to receive the feedback signal and the detection signal via different cables.
[0040] <Second embodiment> In the first embodiment, one servo driver 2 is connected to the repeater 150. In the second embodiment, an example in which two servo drivers are connected to the repeater 150 will be described. The same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof will be omitted.
[0041] FIG. 4 is a diagram showing a schematic configuration of a servo system according to the second embodiment. The servo system 100a includes a servo driver 2a in addition to the servo driver 2. The servo driver 2 and the servo driver 2a are connected by a communication cable 42. The servo driver 2a is arranged to drive and control a motor 3a. An output shaft 32a of the motor 3a is connected to a screw shaft 52a by a coupling 51a. A precision stage 53a is arranged on the screw shaft 52a, and the precision stage 53a is configured to be displaced by driving the motor 3a. A workpiece 8a is placed on the precision stage 53a.
[0042] The motor 3a is supplied with a driving current from the servo driver 2a via a power line 40a. The encoder 31a detects the operation of the motor main body 30a, and outputs a feedback signal indicating the detected operation to the servo driver 2a via an encoder cable 41a.
[0043] A linear scale 54a, an origin sensor 61a, limit sensors 62a and 63a, and a fully closed sensor 64a are arranged on the drive shaft of the motor 3a. Unlike the encoder 31, the encoder 31a is not designed to receive sensor input. Therefore, in the second embodiment, the origin sensor 61a, the limit sensor 62a, The detection signals from the fully closed sensor 63a and the fully closed sensor 64a are transmitted through cables 71a, 72a, and 7 The signals are input to the encoder 31 via the encoder cables 41. The encoder 31 also outputs detection signals from the origin sensor 61a, the limit sensors 62a, 63a, and the fully closed sensor 64a to the repeater 150 via the encoder cable 41.
[0044] In the second embodiment, the repeater 150 also separates the feedback signal and the detection signal of each sensor from the signal received via the encoder cable 41. As described above, in the second embodiment, both the detection signal to be input to the servo driver 2 and the detection signal to be input to the servo driver 2a are input to the repeater 150.
[0045] The detection signal from each sensor needs to reach the specific servo driver that requires it. The detection signals of the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 are detection signals that should be input to the servo driver 2. The detection signals of the origin sensor 61a, the limit sensors 62a and 63a, and the fully closed sensor 64a are detection signals that should be input to the servo driver 2a. Therefore, the repeater 150 transfers the detection signals of the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 to the servo driver 2, and transfers the detection signals of the origin sensor 61a, the limit sensors 62a and 63a, and the fully closed sensor 64a to the servo driver 2a.
[0046] In order to distribute the detection signals to each servo driver in this way, a sensor that transmits a detection signal must be associated with a servo driver that corresponds to the destination of the detection signal, i.e., a repeater 15 must be connected. It is necessary to perform a process of recognizing the corresponding sensor (the sensor corresponding to the servo driver) by using the servo driver ID number 0. The recognition process will be described below.
[0047] Fig. 5 shows a schematic configuration of the functional units of separation unit 152 of repeater 150. Separation unit 152 executes a predetermined program or the like to realize the functional units shown in Fig. 5. Separation unit 152 has storage unit 1521, first processing unit 1522, second processing unit 1523, determination unit 1524, and distribution unit 1525, but may have other functional units.
[0048] The distribution unit 1525 separates a feedback signal and a detection signal from the signal passed from the input unit 151. Then, the distribution unit 1525 outputs the separated feedback signal to the communication unit 153. Furthermore, the distribution unit 1525 outputs the separated detection signal to the first processing unit 1522 when a first predetermined operation described below is being performed, and outputs the separated detection signal to the second processing unit 1523 when a second predetermined operation described below is being performed.
[0049] The storage unit 1521 is a functional unit that stores information related to the processing performed by the separation unit 152, such as information necessary for the corresponding sensor recognition processing by the separation unit 152. Note that information (correspondence information) indicating the association relationship between the servo driver and each sensor, which is determined by the corresponding sensor recognition processing described later, is stored in the storage unit 1521. Then, based on the stored correspondence information, the separation unit 152 assigns destinations of the detection signals sent from each sensor, and performs processing of sending the detection signal from a specific sensor to the destination servo driver.
[0050] The first processing unit 1522 is a functional unit that recognizes a specific sensor as a corresponding sensor that is linked to the servo driver 2 when a detection signal is received from a specific sensor when a first predetermined operation is performed to drive the output shaft 32 of the motor 3 and displace the precision stage 53. The first predetermined operation is realized, for example, by the encoder 31 controlling the motor 3 in response to an instruction from the repeater 150 via the encoder cable 41. The specific sensor is a sensor that has not yet been recognized by the separation unit 152 but is arranged so that its detection signal is received by the repeater 150 and should ultimately be assigned to the servo driver 2. In this embodiment, the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 correspond to this sensor. The first predetermined operation is a movement operation of the precision stage 53 in its entire range that can be driven, from when it starts moving from one end to when it reaches the other end.
[0051] The second processing unit 1523 is a functional unit that recognizes a specific sensor as a corresponding sensor to be linked to the servo driver 2a when a detection signal is received from a specific sensor when a second predetermined operation is performed to drive the output shaft 32a of the motor 3a and displace the precision stage 53a. The second predetermined operation is realized, for example, by the encoder 31a controlling the motor 3a in response to an instruction from the repeater 150 via the encoder cable 41a. The specific sensor is a sensor that has not yet been recognized by the separation unit 152 but is arranged so that its detection signal is received by the repeater 150 and should ultimately be assigned to the servo driver 2a. In this embodiment, the origin sensor 61a, the limit sensors 62a and 63a, and the fully closed sensor 64a correspond to this sensor. The second predetermined operation is a movement operation of the precision stage 53a in its entire range of movement from one end to the other end.
[0052] The determination unit 1524 is a functional unit that determines the type of the sensor recognized by the first processing unit 1522 or the second processing unit 1523 based on the position information of the precision stages 53, 53a when each sensor was recognized. The detection signals of the origin sensors 61, 61a, the limit sensors 62, 63, 62a, 63a, and the fully closed sensors 64, 64a fluctuate according to the displacement of the precision stages 53, 53a. There is a strong correlation with the positions of stages 53 and 53a. Using this correlation, a sensor type determination process is performed by the determination unit 1524. The results of the recognition processes by the first processing unit 1522 and the second processing unit 1523 and the sensor type determination result by the determination unit 1524 are stored in the storage unit 1521.
[0053] Then, when the results of the recognition processing by the first processing unit 1522 and the second processing unit 1523 and the results of the sensor type determination by the determination unit 1524 are stored in the memory unit 1521, the distribution unit 1525 outputs each detection signal of each sensor to the associated servo driver via cables 81, 82, 83, 84, 91, 92, 93, and 94 in accordance with the information stored in the memory unit 1521.
[0054] Next, the sensor recognition process realized by cooperation of these functional units will be described with reference to Fig. 6 and Fig. 7. Fig. 6 is a flow chart that shows an outline of the flow of the process performed by the repeater 150, and Fig. 7 is a flow chart that shows an outline of the flow of the process between the PLC1 and the repeater 150 when the sensor recognition process is executed.
[0055] First, the flow of processing performed by the repeater 150 will be described with reference to Fig. 6. The processing shown in Fig. 6 is repeatedly executed at a predetermined time interval. First, in S101, it is determined whether or not an instruction to execute the sensor recognition processing has arrived from the PLC 1. If the determination in S101 is affirmative, the processing proceeds to S102, and if the determination is negative, the processing is temporarily terminated.
[0056] In S102, the repeater 150 instructs the servo driver 2 to perform a first predetermined operation in accordance with the instruction for the sensor recognition process received from the PLC 1. Here, the scanning operation by the first predetermined operation or the second predetermined operation is an operation of the motor that moves the precision stage from one end of the drive shaft to the other end, that is, in the entire movable range, in order to extract a sensor that outputs a detection signal in response to the drive operation when only the corresponding motor is driven in each drive shaft where the sensor recognition process is performed. More specifically, the motor 3 is driven at a low and constant speed from a state in which the precision stage 53 contacts a stopper (not shown) provided at one end of the movable range along the screw shaft 52 until the precision stage 53 contacts a stopper (not shown) provided at the other end. During this drive, the motor 3 is torque controlled to reduce the impact when the precision stage 53 contacts the stopper as much as possible.
[0057] In S103, a scanning operation by the first predetermined operation, that is, a scanning operation by the motor 3, is started. In this case, if the limit sensor 62 is arranged at one end of the screw shaft 52 and the limit sensor 63 is arranged at the other end, the detection signals are sent from each sensor to the repeater 150 via the connected encoder 31 in the order of the limit sensor 62, the origin sensor 61, and the limit sensor 63 by the scanning operation. Furthermore, the detection signal from the fully closed sensor 64 is sent to the repeater 150 from start to finish while the scanning operation is being performed. In addition, the encoder 31 is provided with a display unit 316, and when the detection signal from each sensor is input to each encoder, the diode of the display unit 316 lights up at the input timing of the detection signal. This allows the user to visually confirm the input of the detection signal from the sensor. Note that the detection signal from each sensor includes identification information for identifying the sensor that generated the signal, and the repeater 150 that receives the detection signal from the encoder 31 can know which sensor the detection signal is from. When the process of S103 is completed, the process proceeds to S104.
[0058] In S104, the first processing unit 1522 performs a sensor recognition process in accordance with the scanning operation started in S103. Specifically, in accordance with the scanning operation by the first predetermined operation, the detection signals of the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 are transmitted to the repeater 1521. When the sensors reach 150, the first processing unit 1522 recognizes that these sensors are sensors corresponding to the servo driver 2.
[0059] Furthermore, in S104, the sensor type is determined by the determination unit 1524. Specifically, among the limit sensors 62, 63, the origin sensor 61, and the fully closed sensor 64, it is the limit sensors 62, 63 that issue a detection signal when the precision stage 53 is positioned at the outermost position of the movable range. Therefore, the sensor type can be determined as a "limit sensor" based on the position information of the precision stage 53 when the detection signal is issued (position information indicating the outermost position). Also, the type of the sensor that issues a detection signal in the middle of the movable range of the precision stage 53 can be determined as an "origin sensor". Also, for a sensor that issues a detection signal constantly while the scanning operation is being performed, that is, regardless of the position of the precision stage 53, the type can be determined as a "fully closed sensor". When the process of S104 is completed, the process proceeds to S105.
[0060] In S105, a scan operation by the second predetermined operation, that is, a scan operation by the motor 3a, is started. The details of the scan operation by the motor 3a are the same as those in S102, and therefore the description thereof will be omitted. In S106, as in S103, detection signals from each sensor are input to the repeater 150. In S107, a sensor recognition process and a sensor type determination process are performed. The details of the sensor recognition process and the sensor type determination process are the same as those in S104, and therefore the description thereof will be omitted. By the processes of S106 and S107, the detection signals of the origin sensor 61a, the limit sensors 62a, 63a, and the fully closed sensor 64a reach the repeater 150 in association with the scan operation by the second predetermined operation, and the second processing unit 1523 recognizes that these sensors are sensors corresponding to the servo driver 2a.
[0061] In S108, the results of the sensor recognition processing in S104 and S107 are stored in the storage unit 1521. Through the above processing, the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 are recognized as sensors corresponding to the servo driver 2. In addition, the origin sensor 61a, the limit sensors 62a and 63a, and the fully closed sensor 64a are recognized as sensors corresponding to the servo driver 2a.
[0062] Next, the exchange between the PLC 1, the repeater 150, and the servo drivers 2 and 2a when the process shown in FIG. 6 is executed by the repeater 150 will be described with reference to FIG. 7. First, in S11, the PLC 1 issues an instruction for sensor recognition processing to the repeater 150 and all the servo drivers 2 and 2a included in the servo system 100a. In accordance with this instruction, the process shown in FIG. 6 is executed by the repeater 150 and each servo driver. Then, in the process of S21, the motor 3 is driven in the servo driver 2 in S31 to start a scan operation (see the process of S102 in FIG. 6). At this time, the motor 3a is stopped (see the process of S41). Then, in conjunction with the scan operation, the detection signals of the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 are transmitted from the encoder 31 to the repeater 150 (S22).
[0063] When the first predetermined operation is completed, the servo driver 2 stops the motor 3 in S32, and notifies the repeater 150 of the completion of the first predetermined operation in S33. The repeater 150, which has been notified of the completion of the first predetermined operation, recognizes the origin sensor 61, the limit sensors 62 and 63, and the fully closed sensor 64 from which it has received detection signals as sensors corresponding to the servo driver 2 in S23, and further determines the sensor type of each sensor in S24 (see the process of S104 in FIG. 6).
[0064] When the determination of the sensor type is completed, the repeater 150 notifies the servo driver 2a to perform a second predetermined operation in S25, whereby the servo driver 2a knows that it is its turn to perform a scan operation on its own drive axis.
[0065] Next, in S42, the motor 3a is driven in the servo driver 2a to start a scanning operation (see the process of S105 in FIG. 6). Then, in conjunction with the scanning operation, detection signals from the origin sensor 61a, the limit sensors 62a, 63a, and the fully closed sensor 64a are transmitted from each sensor to the encoder 31. Then, the repeater 150 receives the detection signals from each sensor from the encoder 31 (S26).
[0066] The repeater 150, which has received these detection signals, recognizes the origin sensor 61a, the limit sensors 62a, 63a, and the fully closed sensor 64a as sensors corresponding to the servo driver 2a in S27, and further determines the sensor type of each sensor in S28 (see the process of S107 in FIG. 6). The results of the sensor recognition and the determination results of the sensor type are stored in the memory unit 1521 of the repeater 150 (S29). Thereafter, the repeater 150 notifies the PLC 1 in S2A that the scanning operation for all the drive axes has been completed. As a result, the PLC 1 knows that the sensor recognition process has been completed in S12.
[0067] By performing the sensor recognition processing in the servo system 100a described above, the repeater 150 can recognize the sensors corresponding to each of the servo drivers 2, 2a, and as a result, the detection signals of each sensor are appropriately delivered to the assigned servo driver.
[0068] In FIG. 4, the feedback signal of the encoder 31a is input to the servo driver 2a, and the detection signals of the origin sensor 61a, the limit sensors 62a, 63a, and the fully closed sensor 64a are input to the repeater 150 via the encoder 31, but the feedback signal of the encoder 31a and the input signal including the detection signals of the origin sensor 61a, the limit sensors 62a, 63a, and the fully closed sensor 64a may also be input to the repeater 150. The separator 152 of the repeater 150 may separate the input signal received by the input unit 151 into a feedback signal and a detection signal for each corresponding encoder (encoder 31, 31a). The separator 152 may output each of the separated detection signals to the servo drivers 2, 2a, and the communication unit 153 may output the feedback signal separated by the separator 152 to the servo drivers 2, 2a. Which signal is output to which servo driver may be determined, for example, based on information that associates the signal received from PLC1 with the servo driver, or may be determined using the first and second predetermined operations described above.
[0069] <Appendix 1> an encoder (31) that outputs, via a first signal line (41), a feedback signal indicating the operation of a motor (3) driven by a servo driver (2) and a detection signal output from a sensor (61, 62, 63, 64) that detects a parameter related to the displacement of a driven object (53) driven by the motor (3), and a repeater (150) that repeats communication with the servo driver (2); an input unit (151) to which the first signal line (41) is connected and which receives an input signal including the feedback signal and the detection signal from the encoder (31); a separation unit (152) to which second signal lines (81, 82, 83, 84) are connected, which separates the feedback signal and the detection signal from the input signal, and outputs the separated detection signal to the servo driver via the second signal lines; a communication unit (153) to which a third signal line (85) is connected and which outputs the feedback signal separated from the input signal by the separation unit (152) to the servo driver (2) via the third signal line (85); Repeater.
[0070] <Appendix 2> an encoder (31) that outputs, via a first signal line (41), a feedback signal indicating the operation of a motor driven by a servo driver (2) and a detection signal output from a sensor (61, 62, 63, 64) that detects a parameter related to the displacement of a driven object (53) driven by the motor (3); a relay (150) for relaying communication between the servo driver (2) and the encoder (31); A servo system (100) comprising: The relay (150) is an input unit (151) to which the first signal line (41) is connected and which receives an input signal including the feedback signal and the detection signal from the encoder (2); a separation unit (152) to which second signal lines (81, 82, 83, 84) are connected, which separates the feedback signal and the detection signal from the input signal, and outputs the separated detection signal to the servo driver via the second signal lines; a communication unit (153) to which a third signal line (85) is connected and which outputs the feedback signal separated from the input signal by the separation unit to the servo driver (2) via the third signal line (85); Servo system. [Explanation of symbols]
[0071] 1 PLC 2, 2a servo driver 3, 3a motor 30, 30a Motor body 31, 31a Encoder 32, 32a Output shaft 53, 53a Precision stage 54, 54a Linear scale 61, 61a Origin sensor 62, 62a, 63, 63a Limit Sensor 64, 64a Fully closed sensor 100, 100a servo system 150 Repeater 151 Input section 152 Separation section 153 Communications Department 154 Power supply section 1521 Storage section 1522 First Processing Section 1523 Second Processing Section 1524 Judgment section 1525 Division 311 Signal Generator 312 Input section 314 Communications Department 315 Power supply section 316 Display section
Claims
1. an encoder that outputs, via a first signal line, a feedback signal indicating an operation of a motor driven by a servo driver and a detection signal output from a sensor that detects a parameter related to a displacement of an object to be driven by the motor, and a repeater that repeats communication between the encoder and the servo driver, an input unit to which the first signal line is connected and which receives an input signal including the feedback signal and the detection signal from the encoder; a separation unit to which a second signal line is connected, which separates the feedback signal and the detection signal from the input signal, and outputs the separated detection signal to the servo driver via the second signal line; a communication unit to which a third signal line is connected and which outputs the feedback signal separated from the input signal by the separation unit to the servo driver via the third signal line; the repeater is disposed so as to be able to receive input signals from a plurality of encoders including the encoder, and is communicatively connected to servo drivers corresponding to each of the plurality of encoders; The separation unit further separates the input signals input from the plurality of encoders into a feedback signal and a detection signal of a sensor associated with the output source encoder for each output source encoder, and transmits the separated detection signals to servo drivers respectively corresponding to the output source encoders; The communication unit transmits the feedback signals separated by the separation unit to servo drivers respectively corresponding to the output source encoders; The repeater further comprises: a first processing unit that, when a detection signal is received from any one of the plurality of encoders when a first predetermined operation is performed in which only an output shaft of a first motor driven by a first servo driver among the servo drivers is driven to displace the driven object, recognizes the sensor that has transmitted the detection signal as a first corresponding sensor associated with the first servo driver; When a detection signal is received from any one of the plurality of encoders when a second predetermined operation is performed in which only an output shaft of a second motor driven by a second servo driver among the servo drivers is driven to displace a second driven object driven by the second motor, the sensor that transmitted the detection signal is identified as a second corresponding sensor associated with the second servo driver. and a second processing unit that recognizes the Repeater.
2. the first predetermined motion is a motion of the driven object in an entire range in which the driven object can be driven, from one end to the other end; The second predetermined operation is a movement operation of the second drive object in an entire range in which the second drive object can be driven, from one end to the other end. The repeater according to claim 1 .
3. a determination unit that determines a sensor type of a sensor recognized by the first processing unit as the first corresponding sensor based on position information in a driving range of the driving object when the sensor is recognized as the first corresponding sensor, and determines a sensor type of a sensor recognized by the second processing unit as the second corresponding sensor based on position information in a driving range of the second driving object when the sensor is recognized as the second corresponding sensor, 3. A repeater according to claim 1 or 2.
4. an encoder that outputs, via a first signal line, a feedback signal indicating the operation of a motor driven by a servo driver and a detection signal output from a sensor that detects a parameter related to the displacement of an object driven by the motor; a relay that relays communication between the servo driver and the encoder; A servo system comprising: The repeater includes: an input unit to which the first signal line is connected and which receives an input signal including the feedback signal and the detection signal from the encoder; a separation unit to which a second signal line is connected, which separates the feedback signal and the detection signal from the input signal, and outputs the separated detection signal to the servo driver via the second signal line; a communication unit to which a third signal line is connected and which outputs the feedback signal separated from the input signal by the separation unit to the servo driver via the second signal line, the repeater is disposed so as to be able to receive input signals from a plurality of encoders including the encoder, and is communicatively connected to servo drivers corresponding to each of the plurality of encoders; The separation unit further separates the input signals input from the plurality of encoders into a feedback signal and a detection signal of a sensor associated with the output source encoder for each output source encoder, and transmits the separated detection signals to servo drivers respectively corresponding to the output source encoders; The communication unit transmits the feedback signals separated by the separation unit to servo drivers respectively corresponding to the output source encoders; The repeater further comprises: a first processing unit that, when a detection signal is received from any one of the plurality of encoders when a first predetermined operation is performed in which only an output shaft of a first motor driven by a first servo driver among the servo drivers is driven to displace the driven object, recognizes the sensor that has transmitted the detection signal as a first corresponding sensor associated with the first servo driver; a second processing unit that, when a detection signal is received from any one of the plurality of encoders when a second predetermined operation is performed in which only an output shaft of a second motor driven by a second servo driver of the servo drivers is driven to displace a second drive target driven by the second motor, recognizes the sensor that has transmitted the detection signal as a second corresponding sensor associated with the second servo driver; Servo system.
5. the first predetermined motion is a motion of the driven object in an entire range in which the driven object can be driven, from one end to the other end; The second predetermined operation is a movement operation of the second drive object in an entire range in which the second drive object can be driven, from one end to the other end.
5. The servo system according to claim 4.
6. The repeater, a determination unit that determines a sensor type of a sensor recognized by the first processing unit as the first corresponding sensor based on position information in a driving range of the driving object when the sensor is recognized as the first corresponding sensor, and determines a sensor type of a sensor recognized by the second processing unit as the second corresponding sensor based on position information in a driving range of the second driving object when the sensor is recognized as the second corresponding sensor, 6. The servo system according to claim 4 or 5.
Citation Information
Patent Citations
Data transformation network apparatus and robot controlling system and method using the same
EP2233255A2
Multiplexing system for robot signal
JP1987125405A
Continuous drier for cloth
JP1988049687A
Motor module system
JP2017135961A
Motor control device, motor control method, and program
JP2019110727A
