[go: up one dir, main page]

CN111684711B - Servo system, sensor hub, and diagnostic method for industrial device - Google Patents

Servo system, sensor hub, and diagnostic method for industrial device Download PDF

Info

Publication number
CN111684711B
CN111684711B CN201880088207.5A CN201880088207A CN111684711B CN 111684711 B CN111684711 B CN 111684711B CN 201880088207 A CN201880088207 A CN 201880088207A CN 111684711 B CN111684711 B CN 111684711B
Authority
CN
China
Prior art keywords
sensor
encoder
signal
sensor hub
hub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880088207.5A
Other languages
Chinese (zh)
Other versions
CN111684711A (en
Inventor
甲斐孝志
关口裕幸
池田英俊
木津优一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of CN111684711A publication Critical patent/CN111684711A/en
Application granted granted Critical
Publication of CN111684711B publication Critical patent/CN111684711B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K11/00Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection
    • H02K11/20Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection for measuring, monitoring, testing, protecting or switching
    • H02K11/21Devices for sensing speed or position, or actuated thereby
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Control Of Electric Motors In General (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The purpose of the present invention is to provide a servo system that can accommodate a wide variety of sensors of different specifications. The sensor hub is connected to an encoder for detecting rotation of the motor, a sensor for detecting a state different from the rotation, and a servo amplifier for controlling driving of the motor, and the sensor hub is detachably connected to the encoder. The sensor hub performs signal processing on the encoder signal output from the encoder and the sensor signal output from the sensor, and transmits the signals to the servo amplifier.

Description

伺服系统、传感器集线器及工业用装置的诊断方法Diagnostic methods for servo systems, sensor hubs, and industrial devices

技术领域technical field

本发明涉及伺服系统、传感器集线器及工业用装置的诊断方法,特别地涉及具有在工业用装置的控制、保养中有效使用的传感器的伺服系统。The present invention relates to a servo system, a sensor hub, and a diagnostic method for industrial equipment, and more particularly to a servo system with sensors that are effectively used in the control and maintenance of industrial equipment.

背景技术Background technique

在FA(Factory Automation)领域中,通过各种传感器对工业用装置的动作状况、其周边环境的状态进行检测,要求构建将检测出的信号有效用于控制仪器的高级通信系统。作为其中之一,具有进行工业用装置的驱动控制的伺服系统。通常伺服系统具有电动机、对电动机进行驱动的伺服放大器和向伺服放大器发送驱动指令的控制器。在电动机的旋转轴附近安装为了对电动机的旋转进行控制而对角度、角速度等旋转信息进行检测的编码器。伺服放大器基于从控制器发送的驱动指令和从编码器发送的电动机的旋转信息而对电动机进行控制。In the field of FA (Factory Automation), various sensors detect the operation status of industrial equipment and the state of its surrounding environment, and it is required to construct an advanced communication system that effectively uses the detected signals to control equipment. As one of them, there is a servo system that performs drive control of industrial equipment. Generally, a servo system has a motor, a servo amplifier that drives the motor, and a controller that sends drive commands to the servo amplifier. An encoder that detects rotation information such as angle and angular velocity to control the rotation of the motor is installed near the rotation shaft of the motor. The servo amplifier controls the motor based on the drive command sent from the controller and the rotation information of the motor sent from the encoder.

并且,在伺服系统中,使用对电动机或其周边的状态进行检测的传感器。通过使用传感器,从而例如能够有效用于电动机的驱动顺序的非稳态的控制、电动机的被驱动体的控制精度的改善、电动机的控制模式的变更等。另外,通过使用传感器对电动机或其周边的局部异响、振动等进行检测,从而能够有效用于工业用装置的保养。如上所述,为了将传感器的检测信号有效用于驱动控制、保养,需要伺服放大器或者控制器,或通过控制器向上级的控制仪器进行发送。另一方面,在应用于工业用装置的伺服系统中,针对伺服放大器及控制器,大多设置于远离电动机的位置。在如上所述的情况下,用于将在电动机或其周边设置的传感器的检测信号传送至伺服放大器及控制器的信号线变长,由此配线作业变得繁琐,并且有可能检测信号的传送特性恶化。In addition, in the servo system, a sensor that detects the state of the motor or its surroundings is used. By using the sensor, it can be effectively used for, for example, unsteady control of the drive sequence of the motor, improvement of control accuracy of the driven body of the motor, change of the control mode of the motor, and the like. In addition, by using a sensor to detect local abnormal noise, vibration, etc. of the motor or its surroundings, it can be effectively used for maintenance of industrial equipment. As described above, in order to effectively use the detection signal of the sensor for drive control and maintenance, a servo amplifier or a controller is required, or the controller needs to send it to a higher-level control device. On the other hand, in a servo system applied to an industrial device, the servo amplifier and the controller are often installed at a position away from the motor. In the above case, the signal line for transmitting the detection signal of the sensor installed on the motor or its surroundings to the servo amplifier and the controller becomes long, and the wiring work becomes cumbersome, and the detection signal may be lost. Transmission characteristics deteriorate.

针对如上所述的问题,在专利文献1中,具有对电动机的动作进行检测、生成表示检测出的动作的反馈信号的编码器,编码器经由传感器线缆对来自对电动机的被驱动体的状态进行检测的传感器的检测信号进行接收,将反馈信号和检测信号输出至控制仪器,由此缩短传感器线缆的长度,改善配线作业的繁琐性。To address the above problems, Patent Document 1 has an encoder that detects the motion of the motor and generates a feedback signal indicating the detected motion. The detection signal of the sensor for detection is received, and the feedback signal and detection signal are output to the control device, thereby shortening the length of the sensor cable and improving the cumbersome wiring work.

专利文献1:日本特开2015-95221号公报Patent Document 1: Japanese Patent Laid-Open No. 2015-95221

发明内容Contents of the invention

但是,在将传感器线缆与编码器连接,将从传感器检测出的检测信号和从编码器检测出的反馈信号输出至控制仪器的结构中,需要将与传感器的规格相对应的输入部预先设置于编码器,在使用不与编码器的输入部相对应的规格的传感器的情况下,存在每次需要针对编码器进行更换的课题。However, in the configuration in which the sensor cable is connected to the encoder, and the detection signal detected from the sensor and the feedback signal detected from the encoder are output to the control device, it is necessary to pre-install an input unit corresponding to the sensor specification. For the encoder, when a sensor of a specification that does not correspond to the input unit of the encoder is used, there is a problem that the encoder needs to be replaced each time.

本发明就是为了解决上述这样的课题而提出的,其目的在于,提供能够对应于规格不同的多种多样的传感器的伺服系统。另外,以提供能够连接传感器的传感器集线器为目的。另外,以提供使用传感器集线器的工业用装置的诊断方法为目的。The present invention was made in order to solve the above-mentioned problems, and an object of the present invention is to provide a servo system that can cope with various sensors having different specifications. In addition, the object is to provide a sensor hub to which sensors can be connected. In addition, the object is to provide a method for diagnosing an industrial device using a sensor hub.

本发明所涉及的伺服系统具有:电动机;编码器,其对所述电动机的旋转进行检测;传感器集线器,其具有第1连接部、第2连接部及第3连接部,该第1连接部能够拆装地与所述编码器连接,该第2连接部连接对与所述旋转不同的状态进行检测的传感器,该第3连接部连接对经由所述第1连接部从所述编码器输出的编码器信号及经由所述第2连接部从所述传感器输出的传感器信号进行传送的通信线缆,传感器集线器具有传感器判别部,该传感器判别部基于所述传感器信号的电压值对与所述第2连接部连接的所述传感器的连接状况进行判别;以及伺服放大器,其基于经由所述通信线缆发送的所述编码器信号、所述传感器信号及从控制器发送的驱动指令,对所述电动机进行驱动控制。The servo system according to the present invention has: a motor; an encoder that detects the rotation of the motor; a sensor hub that has a first connection part, a second connection part, and a third connection part, and the first connection part can It is detachably connected to the encoder, the second connection part is connected to a sensor for detecting a state different from the rotation, and the third connection part is connected to the sensor output from the encoder via the first connection part. A communication cable for transmitting an encoder signal and a sensor signal output from the sensor via the second connection unit, and the sensor hub includes a sensor determination unit that compares the sensor signal with the first sensor signal based on the voltage value of the sensor signal. 2. judging the connection status of the sensor connected to the connection part; The motor is driven and controlled.

本发明所涉及的传感器集线器具有:第1连接部,其能够拆装地与对电动机的旋转进行检测的编码器连接;第2连接部,其连接对与所述旋转不同的状态进行检测的传感器;以及第3连接部,其连接通信线缆,该通信线缆将经由所述第1连接部从所述编码器输出的编码器信号及经由所述第2连接部从所述传感器输出的传感器信号中的至少任一者传送至对所述电动机进行驱动控制的伺服放大器,基于所述传感器信号的电压值对与所述第2连接部连接的所述传感器的连接状况进行判别。The sensor hub according to the present invention has: a first connection part that is detachably connected to an encoder that detects the rotation of the motor; and a second connection part that connects a sensor that detects a state different from the rotation. ; and a third connection part, which is connected to a communication cable that connects the encoder signal output from the encoder through the first connection part and the sensor output from the sensor through the second connection part At least one of the signals is transmitted to a servo amplifier for driving and controlling the motor, and a connection state of the sensor connected to the second connection portion is determined based on a voltage value of the sensor signal.

本发明所涉及的工业用装置的诊断方法,该工业用装置包含伺服系统,在该伺服系统中,对电动机的旋转进行检测的编码器和向所述电动机供给电流的伺服放大器之间经由具有能够与所述编码器连接的连接器的通信线缆能够拆装地连接,所述伺服放大器基于经由所述通信线缆发送的所述编码器的检测信号,对向所述电动机供给的所述电流进行调整而进行驱动控制,该工业用装置的诊断方法的特征在于,具有下述步骤:在所述通信线缆和所述编码器之间,将具有第1~第3连接部的传感器集线器,以将所述编码器与所述第1连接部连接,将对与所述电动机的旋转不同的状态进行检测的传感器与所述第2连接部连接,将所述通信线缆的所述连接器与所述第3连接部连接的方式进行连接;经由所述传感器集线器及所述通信线缆,将所述编码器的所述检测信号从所述编码器向所述伺服放大器发送;基于所述传感器的检测信号的电压值对与所述第2连接部连接的所述传感器的连接状况进行判别,所述传感器集线器将判别出的所述连接状况发送至所述伺服放大器;经由所述传感器集线器及所述通信线缆,将所述传感器的检测信号从所述传感器向所述伺服放大器发送;以及基于所述编码器的所述检测信号和所述传感器的所述检测信号对所述工业用装置进行诊断。A diagnostic method for an industrial device according to the present invention, the industrial device includes a servo system in which an encoder that detects the rotation of a motor and a servo amplifier that supplies current to the motor are connected via a device capable of A communication cable of a connector connected to the encoder is detachably connected, and the servo amplifier responds to the current supplied to the motor based on a detection signal of the encoder transmitted through the communication cable. The method for diagnosing an industrial device by performing adjustment and driving control is characterized by comprising the steps of connecting a sensor hub having first to third connection parts between the communication cable and the encoder, The encoder is connected to the first connection part, the sensor for detecting a state different from the rotation of the motor is connected to the second connection part, and the connector of the communication cable is connected to Connecting to the third connection part; sending the detection signal of the encoder from the encoder to the servo amplifier through the sensor hub and the communication cable; based on the The voltage value of the detection signal of the sensor determines the connection status of the sensor connected to the second connection part, and the sensor hub sends the determined connection status to the servo amplifier; via the sensor hub and the communication cable to transmit the detection signal of the sensor from the sensor to the servo amplifier; and based on the detection signal of the encoder and the detection signal of the sensor to the industrial The device is diagnosed.

发明的效果The effect of the invention

根据本发明的伺服系统,构成为具有分别与编码器、传感器及伺服放大器连接的传感器集线器,传感器集线器能够拆装地与编码器连接,由此能够与进行连接的传感器的规格相应地适当选择传感器集线器,能够对应于多种多样的传感器。另外,根据本发明的传感器集线器,与传感器的规格相对应而能够拆装地与编码器连接,由此能够将从编码器及传感器输出的信号发送至伺服放大器。另外,根据本发明的工业用装置的诊断方法,通过将传感器集线器追加或更换至伺服系统,从而能够容易地将传感器追加或更换至伺服系统。According to the servo system of the present invention, the sensor hub is configured to be connected to the encoder, the sensor, and the servo amplifier respectively, and the sensor hub is detachably connected to the encoder, so that the sensor can be appropriately selected according to the specifications of the sensor to be connected. The hub can support various sensors. In addition, according to the sensor hub of the present invention, the encoder can be detachably connected in accordance with the specifications of the sensor, whereby signals output from the encoder and the sensor can be sent to the servo amplifier. Moreover, according to the diagnostic method of the industrial apparatus of this invention, a sensor can be added or replaced easily to a servo system by adding or replacing a sensor hub to a servo system.

附图说明Description of drawings

图1是本发明的实施方式1所涉及的伺服系统的概略结构图。FIG. 1 is a schematic configuration diagram of a servo system according to Embodiment 1 of the present invention.

图2是本发明的实施方式1所涉及的传感器集线器的概略结构图。2 is a schematic configuration diagram of a sensor hub according to Embodiment 1 of the present invention.

图3是本发明的实施方式1所涉及的传感器集线器的概略结构图。3 is a schematic configuration diagram of a sensor hub according to Embodiment 1 of the present invention.

图4是表示由本发明的实施方式1所涉及的传感器集线器生成的数据帧的结构的一个例子的示意图。4 is a schematic diagram showing an example of the structure of a data frame generated by the sensor hub according to Embodiment 1 of the present invention.

图5是表示本发明的实施方式1所涉及的伺服系统的动作的流程图。5 is a flowchart showing the operation of the servo system according to Embodiment 1 of the present invention.

图6是表示本发明的实施方式1所涉及的伺服系统的动作的流程图。6 is a flowchart showing the operation of the servo system according to Embodiment 1 of the present invention.

图7是本发明的实施方式2所涉及的伺服系统的概略结构图。7 is a schematic configuration diagram of a servo system according to Embodiment 2 of the present invention.

图8是本发明的实施方式3所涉及的传感器集线器的概略结构图。8 is a schematic configuration diagram of a sensor hub according to Embodiment 3 of the present invention.

图9是表示由本发明的实施方式3所涉及的传感器集线器生成的数据帧的结构的一个例子的示意图。9 is a schematic diagram showing an example of the structure of a data frame generated by the sensor hub according to Embodiment 3 of the present invention.

图10是本发明的实施方式4所涉及的伺服系统的概略结构图。10 is a schematic configuration diagram of a servo system according to Embodiment 4 of the present invention.

图11是表示向本发明的实施方式5所涉及的伺服系统导入传感器集线器的工序的流程图。11 is a flowchart showing a process of introducing a sensor hub into the servo system according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

基于附图对本发明的实施方式所涉及的伺服系统进行说明。下面,以具有1轴的旋转型伺服电动机的伺服系统为例进行说明。A servo system according to an embodiment of the present invention will be described based on the drawings. Next, a servo system including a rotary servo motor with one axis will be described as an example.

实施方式1.Implementation mode 1.

图1是本发明的实施方式1所涉及的伺服系统的概略结构图。如图1所示,伺服系统100具有:电动机10;控制器11,其生成电动机10的驱动指令;伺服放大器12,其对电动机10进行驱动控制;编码器13,其对电动机10的旋转进行检测;传感器14,其对编码器13没有检测的其他状态进行检测;以及传感器集线器15,其对从编码器13输出的编码器信号S13及从传感器14输出的传感器信号S14进行接收,发送至伺服放大器12。在这里,传感器14对电动机10或电动机10周边的状态进行检测。FIG. 1 is a schematic configuration diagram of a servo system according to Embodiment 1 of the present invention. As shown in FIG. 1 , the servo system 100 has: a motor 10; a controller 11 that generates a drive command for the motor 10; a servo amplifier 12 that controls the drive of the motor 10; an encoder 13 that detects the rotation of the motor 10 sensor 14, which detects other states that encoder 13 does not detect; and sensor hub 15, which receives the encoder signal S13 output from encoder 13 and the sensor signal S14 output from sensor 14, and sends to the servo amplifier 12. Here, the sensor 14 detects the state of the motor 10 or the surroundings of the motor 10 .

电动机10和伺服放大器12为了向电动机10的电枢供给电流,经由动力线线缆C3而彼此连接。伺服放大器12基于来自控制器11的驱动指令和从传感器集线器15发送的编码器信号S13及传感器信号S14而对供给的电流进行调整,进行电动机10的驱动控制。The motor 10 and the servo amplifier 12 are connected to each other via a power line cable C3 in order to supply current to the armature of the motor 10 . The servo amplifier 12 adjusts the supplied current based on the drive command from the controller 11 and the encoder signal S13 and the sensor signal S14 sent from the sensor hub 15 to control the drive of the motor 10 .

图2是本发明的实施方式1所涉及的传感器集线器的概略结构图。如图2所示,传感器集线器15具有:第1连接部15a(下面,标记为编码器连接部),其连接编码器13;第2连接部15b(下面,标记为传感器连接部),其连接一端连接于传感器14的传感器线缆C4;以及第3连接部15c(下面,标记为放大器连接部),其连接一端连接于伺服放大器12的通信线缆C2。2 is a schematic configuration diagram of a sensor hub according to Embodiment 1 of the present invention. As shown in Figure 2, the sensor hub 15 has: a first connection part 15a (below, marked as an encoder connection part), which is connected to the encoder 13; a second connection part 15b (below, marked as a sensor connection part), which is connected to A sensor cable C4 connected at one end to the sensor 14 ; and a third connection portion 15 c (hereinafter referred to as an amplifier connection portion) connected to a communication cable C2 connected at one end to the servo amplifier 12 .

传感器集线器15的编码器连接部15a例如是具有用于对编码器13进行连接的多个连接插针的连接器。编码器13例如具有形成有与传感器集线器15的编码器连接部15a的连接插针相对应的端子孔的连接器13a。传感器集线器15的编码器连接部15a的连接插针与编码器13的连接器13a的端子孔嵌合,由此传感器集线器15和编码器13能够拆装地连接。在这里,也能够将传感器集线器15的编码器连接部15a设为印刷有导电部的配线板,通过与编码器13的连接器13a嵌合而进行连接。另外,传感器集线器15的编码器连接部15a和编码器13的连接器13a也能够经由线缆而彼此连接。The encoder connection portion 15 a of the sensor hub 15 is, for example, a connector having a plurality of connection pins for connecting the encoder 13 . The encoder 13 has, for example, a connector 13 a formed with terminal holes corresponding to connection pins of the encoder connection portion 15 a of the sensor hub 15 . The connection pins of the encoder connection portion 15 a of the sensor hub 15 are fitted into the terminal holes of the connector 13 a of the encoder 13 , whereby the sensor hub 15 and the encoder 13 are detachably connected. Here, the encoder connection portion 15 a of the sensor hub 15 can also be a wiring board on which a conductive portion is printed, and can be connected by fitting with the connector 13 a of the encoder 13 . In addition, the encoder connection part 15a of the sensor hub 15 and the connector 13a of the encoder 13 can also be connected to each other via a cable.

传感器集线器15的传感器连接部15b例如是具有用于对3根传感器线缆C4进行连接的多个连接插针的连接器。传感器连接部15b的形状及连接插针的数量形成为,与传感器线缆C4的连接器C4a、C4b、C4c的规格相对应。在这里,传感器14及传感器线缆C4的数量能够适当变更。另外,传感器线缆C4的连接器C4a、C4b、C4c也能够一体化。The sensor connection part 15b of the sensor hub 15 is, for example, a connector having a plurality of connection pins for connecting three sensor cables C4. The shape of the sensor connection portion 15b and the number of connection pins are formed to correspond to the specifications of the connectors C4a, C4b, and C4c of the sensor cable C4. Here, the number of sensors 14 and sensor cables C4 can be appropriately changed. In addition, the connectors C4a, C4b, and C4c of the sensor cable C4 can also be integrated.

传感器集线器15的放大器连接部15c例如是具有供通信线缆C2的连接器C2a所具有的连接插针进行嵌合的端子孔的连接器。The amplifier connection portion 15 c of the sensor hub 15 is, for example, a connector having a terminal hole into which a connection pin of the connector C2 a of the communication cable C2 is fitted.

在这里,传感器集线器15所具有的编码器连接部15a、传感器连接部15b及放大器连接部15c的形状、连接插针的数量、端子孔的数量并不限定于图2所示的结构,能够与伺服系统100的用途相匹配而适当变更。另外,编码器连接部15a、传感器连接部15b及放大器连接部15c也能够与对应的连接器相应地,将连接插针设为端子孔、将端子孔设为连接插针。Here, the shape of the encoder connection portion 15a, the sensor connection portion 15b, and the amplifier connection portion 15c of the sensor hub 15, the number of connection pins, and the number of terminal holes are not limited to those shown in FIG. The servo system 100 can be appropriately changed according to the usage of the servo system 100 . In addition, the encoder connection part 15a, the sensor connection part 15b, and the amplifier connection part 15c can correspond to corresponding connectors, and can use a connection pin as a terminal hole and a terminal hole as a connection pin.

传感器集线器15对经由编码器连接部15a从编码器13输出的编码器信号S13、经由传感器连接部15b从传感器14输出的传感器信号S14进行接收,经由与放大器连接部15c连接的通信线缆C2而发送至伺服放大器12。The sensor hub 15 receives the encoder signal S13 output from the encoder 13 via the encoder connection portion 15a and the sensor signal S14 output from the sensor 14 via the sensor connection portion 15b, and transmits the signal via the communication cable C2 connected to the amplifier connection portion 15c. sent to the servo amplifier 12.

传感器集线器15与来自伺服放大器12的指令相应地,通过传感器判别部153对与传感器连接部15b连接的传感器14的连接状况进行判别,将判别结果发送至伺服放大器12。传感器14的连接状况是指例如与传感器连接部15b连接的传感器14的数量、传感器14的类别、传感器信号S14的数量等。传感器14的连接状况例如是基于传感器信号S14的电压值的变化,通过对在规定的期间检测的传感器信号S14的数量进行计数而进行判别的。In response to a command from the servo amplifier 12 , the sensor hub 15 determines the connection status of the sensor 14 connected to the sensor connection unit 15 b through the sensor determination unit 153 , and sends the determination result to the servo amplifier 12 . The connection status of the sensors 14 refers to, for example, the number of sensors 14 connected to the sensor connection portion 15b, the types of the sensors 14, the number of sensor signals S14, and the like. The connection status of the sensor 14 is determined by counting the number of sensor signals S14 detected within a predetermined period based on, for example, a change in the voltage value of the sensor signal S14.

伺服放大器12接收判别结果而通过通信规格设定部122对传感器集线器15和伺服放大器12之间的通信规格进行设定。传感器集线器15与所设定的通信规格相应地,通过信号处理部152将编码器信号S13及传感器信号S14变换为串行信号。传感器集线器15经由与放大器连接部15c连接的通信线缆C2,按照由通信规格设定部122所设定的通信规格,将编码器信号S13及传感器信号S14发送至伺服放大器12。The servo amplifier 12 receives the determination result and sets the communication standard between the sensor hub 15 and the servo amplifier 12 through the communication standard setting unit 122 . The sensor hub 15 converts the encoder signal S13 and the sensor signal S14 into serial signals through the signal processing unit 152 according to the set communication standard. The sensor hub 15 transmits the encoder signal S13 and the sensor signal S14 to the servo amplifier 12 through the communication cable C2 connected to the amplifier connection unit 15 c according to the communication standard set by the communication standard setting unit 122 .

如上所述,本发明的实施方式1所涉及的伺服系统100具有传感器集线器15,该传感器集线器15具有:编码器连接部15a,其能够拆装地与编码器13连接;传感器连接部15b,其经由传感器线缆C4而与传感器14连接;以及放大器连接部15c,其经由通信线缆C2而与伺服放大器12连接,传感器集线器15经由编码器连接部15a、传感器连接部15b而分别接收编码器信号S13及传感器信号S14,经由放大器连接部15c及通信线缆C2而发送至伺服放大器12。As described above, the servo system 100 according to Embodiment 1 of the present invention has the sensor hub 15 having: the encoder connection part 15a detachably connected to the encoder 13; the sensor connection part 15b Connected to the sensor 14 via the sensor cable C4; and the amplifier connection part 15c, which is connected to the servo amplifier 12 via the communication cable C2, and the sensor hub 15 receives the encoder signal via the encoder connection part 15a and the sensor connection part 15b, respectively. S13 and sensor signal S14 are sent to the servo amplifier 12 via the amplifier connection part 15c and the communication cable C2.

通过上述的结构,能够与进行连接的传感器14的规格相应地适当选择传感器集线器15,将选择出的传感器集线器15安装于编码器13。由此,即使在新安装规格不同的传感器14时,也无需更换编码器13,因此能够立即地对应多种多样的传感器14。With the above configuration, the sensor hub 15 can be appropriately selected according to the specifications of the sensor 14 to be connected, and the selected sensor hub 15 can be attached to the encoder 13 . Thereby, even when the sensor 14 with a different specification is newly installed, the encoder 13 does not need to be exchanged, so it can respond to various sensors 14 immediately.

另外,伺服系统100将在电动机10设置的编码器13和与在电动机10或其周边设置的传感器14连接的传感器线缆C4连接于传感器集线器15。通过该结构,与将传感器线缆C4与在远离电动机10的位置设置的控制器11或伺服放大器12连接的情况相比,能够改善传感器线缆C4的配线作业的繁琐性,并且能够使通过传感器14检测出的传感器信号S14的传送特性提高。Also, in the servo system 100 , the encoder 13 provided on the motor 10 and the sensor cable C4 connected to the sensor 14 provided on the motor 10 or its periphery are connected to the sensor hub 15 . With this structure, compared with the case where the sensor cable C4 is connected to the controller 11 or the servo amplifier 12 installed at a position away from the motor 10, the cumbersome work of wiring the sensor cable C4 can be improved, and the The transfer characteristic of the sensor signal S14 detected by the sensor 14 is improved.

另外,在伺服系统100中,传感器集线器15对与传感器连接部15b连接的传感器14的连接状况进行判别,基于其判别结果,伺服放大器12对伺服放大器12和传感器集线器15之间的通信规格进行设定。通过该结构,伺服系统100更换传感器集线器15或在传感器集线器15追加、变更传感器14时,能够通过伺服放大器12立即地读取传感器信号S14。In addition, in the servo system 100, the sensor hub 15 judges the connection state of the sensor 14 connected to the sensor connection part 15b, and based on the judgment result, the servo amplifier 12 sets the communication standard between the servo amplifier 12 and the sensor hub 15. Certainly. With this configuration, the servo system 100 can immediately read the sensor signal S14 through the servo amplifier 12 when the sensor hub 15 is replaced or the sensor hub 15 is added or changed.

控制器11生成电动机10的位置、速度模式等的驱动指令,发送至伺服放大器12。控制器11是具有PLC(Programmable Logic Controller)、电动机驱动用CPU(CentralProcessing Unit)、DSP(Digital Signal Processor)、脉冲发生器等的控制仪器。The controller 11 generates drive commands such as the position and speed pattern of the motor 10 and sends them to the servo amplifier 12 . The controller 11 is a control device including a PLC (Programmable Logic Controller), a CPU (Central Processing Unit) for driving a motor, a DSP (Digital Signal Processor), a pulse generator, and the like.

控制器11和伺服放大器12经由网络线缆C1连接。在网络线缆C1能够使用例如双绞线的以太网(注册商标)线缆、光纤线缆等通用的通信线缆。The controller 11 and the servo amplifier 12 are connected via a network cable C1. As the network cable C1 , for example, a general-purpose communication cable such as a twisted-pair Ethernet (registered trademark) cable or an optical fiber cable can be used.

伺服放大器12具有:收发部121,其与传感器集线器15之间收发信号;通信规格设定部122,其与由传感器集线器15判别出的传感器14的连接状况相应地,对伺服放大器12和传感器集线器15之间的通信规格进行设定;以及并行变换部123,其将从传感器集线器15发送出的串行信号变换为并行信号。The servo amplifier 12 has: a transceiver unit 121 for transmitting and receiving signals with the sensor hub 15; a communication standard setting unit 122 for communicating with the servo amplifier 12 and the sensor hub 15 according to the connection status of the sensor 14 determined by the sensor hub 15; 15 to set the communication standard; and the parallel conversion unit 123, which converts the serial signal sent from the sensor hub 15 into a parallel signal.

伺服放大器12的收发部121、通信规格设定部122及并行变换部123,例如是通过包含工业用微型计算机(CPU)、ASIC(application specific integrated circuit)、FPGA(field-programmable gate array)、CPLD(Complex Programmable Logic Device)等LSI(Large-Scale Integration)的电子电路实现的。另外,收发部121、通信规格设定部122和并行变换部123之间的数据通信是通过经由伺服放大器12所具有的未图示的缓冲器、存储器的总线通信进行的。通信规格设定部122和并行变换部123的任1个或两个也可以组装至伺服放大器12的外部仪器。The transceiver unit 121, the communication standard setting unit 122 and the parallel conversion unit 123 of the servo amplifier 12 are, for example, composed of an industrial microcomputer (CPU), ASIC (application specific integrated circuit), FPGA (field-programmable gate array), CPLD (Complex Programmable Logic Device) and other LSI (Large-Scale Integration) electronic circuits. In addition, data communication among the transmission and reception unit 121 , the communication standard setting unit 122 , and the parallel conversion unit 123 is performed by bus communication via a buffer and a memory (not shown) included in the servo amplifier 12 . Either one or both of the communication standard setting unit 122 and the parallel conversion unit 123 may be incorporated in an external device of the servo amplifier 12 .

伺服放大器12和传感器集线器15经由能够进行双向的信号收发的通信线缆C2而彼此连接。通信线缆C2是具有与传感器集线器15的放大器连接部15c连接的连接器C2a,例如将至少1个系统的数字信号的信号线、模拟信号的信号线、从伺服放大器12向传感器集线器15供给电源电压的电源线包含在内的线缆。信号线和电源线可以通过彼此不同的线缆进行连接。The servo amplifier 12 and the sensor hub 15 are connected to each other via a communication cable C2 capable of bidirectional signal transmission and reception. The communication cable C2 has a connector C2a connected to the amplifier connection part 15c of the sensor hub 15, and supplies power from the servo amplifier 12 to the sensor hub 15, for example, at least one signal line of a digital signal or an analog signal line. The power cord for the voltage is included with the cable. The signal line and the power line may be connected by cables different from each other.

伺服放大器12和传感器集线器15之间的通信应用串行通信。通过应用串行通信,从而能够减少通信线缆C2的信号线的数量。通信方式可以是半双工通信方式,也可以是全双工通信方式,也可以将用于使传感器集线器15对通信方式进行识别的通信选择线包含于通信线缆C2。另外,为了对编码器13内置的未图示的温度传感器、加速度传感器等的信号进行传送,可以使从电动机10向控制器11传送的通信线包含于通信线缆C2。Serial communication is used for communication between the servo amplifier 12 and the sensor hub 15 . By applying serial communication, it is possible to reduce the number of signal lines of the communication cable C2. The communication method may be a half-duplex communication method or a full-duplex communication method, and a communication selection line for allowing the sensor hub 15 to identify the communication method may be included in the communication cable C2. In addition, in order to transmit signals of a temperature sensor, an acceleration sensor, etc. not shown built in the encoder 13, a communication line transmitted from the motor 10 to the controller 11 may be included in the communication cable C2.

编码器13对电动机10的旋转进行检测,将表示检测出的电动机10的旋转的编码器信号S13发送至传感器集线器15。编码器13具有用于将编码器信号S13发送至传感器集线器15的收发部131,收发部131具有用于与传感器集线器15的编码器连接部15a连接的连接器13a。由编码器13检测的电动机10的旋转例如为旋转轴的角度、角速度、角加速度。编码器13例如安装于电动机10的旋转轴附近而进行设置。The encoder 13 detects the rotation of the motor 10 and sends an encoder signal S13 indicating the detected rotation of the motor 10 to the sensor hub 15 . The encoder 13 has a transceiver unit 131 for transmitting an encoder signal S13 to the sensor hub 15 , and the transmitter and receiver unit 131 has a connector 13 a for connecting to the encoder connection unit 15 a of the sensor hub 15 . The rotation of the motor 10 detected by the encoder 13 is, for example, the angle, angular velocity, and angular acceleration of the rotating shaft. The encoder 13 is installed, for example, attached to the vicinity of the rotation shaft of the motor 10 .

编码器13的检测方式为绝对值方式、增量方式等。编码器13为了将编码器13的检测电路的状态、信号检测时的警报进行输出,例如可以在内部具有温度传感器等检测器。另外,编码器13为了对电动机10所具有的轴承机构的磨损及劣化、电动机旋转时的驱动反作用力进行检测,例如可以在内部具有加速度传感器。编码器13在还对与电动机10的旋转不同的其他状态进行检测的情况下,其检测结果(在编码器13设置的温度传感器、加速度传感器等的检测结果)与电动机10的旋转信息一起发送至传感器集线器15。The detection method of the encoder 13 is an absolute value method, an incremental method, or the like. The encoder 13 may have a detector such as a temperature sensor inside to output the state of the detection circuit of the encoder 13 and an alarm at the time of signal detection. In addition, the encoder 13 may include an acceleration sensor inside, for example, in order to detect wear and deterioration of a bearing mechanism included in the motor 10 and a driving reaction force when the motor rotates. When the encoder 13 also detects other states different from the rotation of the motor 10, the detection result (detection results of a temperature sensor, an acceleration sensor, etc. provided in the encoder 13) is sent together with the rotation information of the motor 10 to Sensor hub 15.

编码器信号S13是由编码器13的收发部131向传感器集线器15发送的电信号,例如是通过编码器13检测出的电动机10的旋转信息、通过编码器13的检测电路所具有的温度传感器等检测出的编码器13的内部信息、编码器13的警报信息。The encoder signal S13 is an electrical signal transmitted from the transceiver unit 131 of the encoder 13 to the sensor hub 15, for example, the rotation information of the motor 10 detected by the encoder 13, the temperature sensor included in the detection circuit of the encoder 13, etc. The detected internal information of the encoder 13 and the alarm information of the encoder 13.

传感器14对与编码器13的检测对象即电动机10的旋转不同的检测对象的状态进行检测,将表示检测出的状态的传感器信号S14发送至传感器集线器15。传感器14作为与电动机10的旋转不同的检测对象的状态,例如对电动机10或电动机10周边的温度、振动、声音等进行检测。电动机10周边是指例如电动机10的被驱动体、对电动机10进行固定的台架、被驱动体施加作用的对象。被驱动体施加作用的对象是指例如由通过电动机10驱动的机器人进行抓持的部件、通过电动机10进行驱动的加工机所加工的工件等。传感器14例如为加速度传感器、照相机。除此以外,也可以使用位置传感器、速度传感器、压力传感器、传声器、陀螺仪传感器、流量传感器、温度传感器、照度传感器、磁传感器、红外线传感器等。The sensor 14 detects the state of a detection target different from the rotation of the motor 10 which is a detection target of the encoder 13 , and transmits a sensor signal S14 indicating the detected state to the sensor hub 15 . The sensor 14 detects, for example, the temperature, vibration, sound, etc. of the motor 10 or the periphery of the motor 10 as a state of a detection target different from the rotation of the motor 10 . The periphery of the motor 10 refers to, for example, a driven body of the motor 10 , a stand for fixing the motor 10 , and an object on which the driven body acts. The object on which the driven body acts refers to, for example, a component grasped by a robot driven by the motor 10 , a workpiece processed by a processing machine driven by the motor 10 , and the like. The sensor 14 is, for example, an acceleration sensor or a camera. In addition, position sensors, speed sensors, pressure sensors, microphones, gyro sensors, flow sensors, temperature sensors, illuminance sensors, magnetic sensors, infrared sensors, and the like can also be used.

传感器14设置于电动机10、编码器13、电动机10的被驱动体、对电动机10进行固定的台架或被驱动体施加作用的对象的至少任意者。另外,也可以使用夹具、支架而设置于它们周边。另外,传感器14可以对测量对象物的绝对的状态进行检测,也可以对相对的状态进行检测。The sensor 14 is provided in at least any one of the motor 10 , the encoder 13 , the driven body of the motor 10 , the stand that fixes the motor 10 , or the object to which the driven body acts. In addition, it is also possible to install them around them using jigs and brackets. In addition, the sensor 14 may detect an absolute state of the object to be measured, or may detect a relative state.

传感器信号S14是传感器14经由传感器线缆C4向传感器集线器15发送的电信号。在这里,在传感器14和传感器集线器15之间收发的传感器信号S14可以被压缩或调制。在传感器14和传感器集线器15之间收发的传感器信号S14,例如是包含通过单端方式或者差动方式传送的模拟信号或数字信号、和表示信号的基准的接地信号在内的信号。The sensor signal S14 is an electrical signal transmitted from the sensor 14 to the sensor hub 15 via the sensor cable C4. Here, the sensor signal S14 transceived between the sensor 14 and the sensor hub 15 may be compressed or modulated. The sensor signal S14 transmitted and received between the sensor 14 and the sensor hub 15 is, for example, a signal including an analog signal or a digital signal transmitted by a single-ended method or a differential method, and a ground signal indicating a reference of the signal.

传感器14和传感器集线器15经由传感器线缆C4而彼此连接。传感器线缆C4是将由传感器14输出的传感器信号S14向传感器集线器15传送的至少1根通信线缆。在传感器14输出数字信号的情况下,可以将传感器集线器15和传感器14之间通过并行通信而连接,也可以通过串行通信而连接。通过应用串行通信,从而能够减少信号线的根数。The sensor 14 and the sensor hub 15 are connected to each other via a sensor cable C4. The sensor cable C4 is at least one communication cable that transmits the sensor signal S14 output from the sensor 14 to the sensor hub 15 . When the sensor 14 outputs a digital signal, the sensor hub 15 and the sensor 14 may be connected by parallel communication or by serial communication. By applying serial communication, it is possible to reduce the number of signal lines.

传感器14和传感器集线器15之间的通信例如能够采用RS(TIA/EIA)232/422/485、USB(Universal Serial Bus)、I2C(Inter Integrated Circuit)、SPI(Serial PeripheralInterface)、I2S(Inter IC Sound)、1-Wire、Ethernet(注册商标)/IP、10BaseT等串行通信标准。串行通信的传送方式可以是同步式、也可以是非同步式。The communication between the sensor 14 and the sensor hub 15 can adopt, for example, RS (TIA/EIA) 232/422/485, USB (Universal Serial Bus), I2C (Inter Integrated Circuit), SPI (Serial Peripheral Interface), I2S (Inter IC Sound ), 1-Wire, Ethernet (registered trademark)/IP, 10BaseT and other serial communication standards. The transmission mode of serial communication can be synchronous or asynchronous.

传感器线缆C4可以不仅具有将由传感器14输出的传感器信号S14向传感器集线器15传送的信号线,还具有从传感器集线器15向传感器14供给电力的电源线。在传感器线缆C4具有多个信号线及电源线的情况下,可以通过乙烯树脂、屏蔽线等捆束而包覆,作为复合通信线缆将一部分或整体一本化。在作为传感器14而使用传声器及照相机的情况下,可以将传声器的声响信号和照相机的影像信号经由HDMI(High-Definition MultimediaInterface)(注册商标)线缆通过TMDS(Transition Minimized Differential Signaling)等传送方式而同时地发送。The sensor cable C4 may include not only a signal line for transmitting the sensor signal S14 output from the sensor 14 to the sensor hub 15 but also a power line for supplying electric power from the sensor hub 15 to the sensor 14 . When the sensor cable C4 has a plurality of signal lines and power lines, they can be bundled and covered with vinyl, shielded wires, etc., and a part or the whole can be integrated as a composite communication cable. When a microphone and a camera are used as the sensor 14, the audio signal of the microphone and the video signal of the camera can be transmitted via a HDMI (High-Definition Multimedia Interface) (registered trademark) cable by a transmission method such as TMDS (Transition Minimized Differential Signaling). sent simultaneously.

另外,在使用能够将传感器信号S14通过无线进行传送的传感器14的情况下,可以在传感器集线器15中设置WSN(Wireless Sensor Networks)等无线基站而对传感器信号S14进行接收,经由通信线缆C2发送至伺服放大器12的收发部121。由此,与在控制器11或伺服放大器12设置基站的情况相比,能够缩短无线行进的距离,能够改善通信的延迟、可靠性。In addition, when using a sensor 14 capable of wirelessly transmitting the sensor signal S14, a wireless base station such as WSN (Wireless Sensor Networks) may be installed in the sensor hub 15 to receive the sensor signal S14 and transmit it via the communication cable C2. to the transceiver unit 121 of the servo amplifier 12 . As a result, compared with the case where the base station is installed in the controller 11 or the servo amplifier 12, the wireless traveling distance can be shortened, and the delay and reliability of communication can be improved.

图3是表示本发明的实施方式1所涉及的传感器集线器的概略结构图。传感器集线器15具有:收发部151,其对编码器13、传感器14及伺服放大器12收发信号;信号处理部152,其对收发的信号进行处理;以及传感器判别部153,其对传感器14的连接状况进行判别。3 is a schematic configuration diagram showing a sensor hub according to Embodiment 1 of the present invention. The sensor hub 15 has: a transceiver unit 151, which transmits and receives signals to the encoder 13, the sensor 14, and the servo amplifier 12; a signal processing unit 152, which processes the signals transmitted and received; Make a judgment.

信号处理部152具有:AD变换部152a,其将模拟信号变换为数字信号;以及串行变换部152b,其将并行信号变换为串行信号。串行变换部152b基于通过伺服放大器12的通信规格设定部122所设定的串行通信的数据帧的结构,将传感器信号S14变换为串行信号。传感器集线器15将编码器信号S13及传感器信号S14例如分别通过不同的2个系统的串行通信而发送至伺服放大器12。The signal processing unit 152 has an AD conversion unit 152a that converts an analog signal into a digital signal, and a serial conversion unit 152b that converts a parallel signal into a serial signal. The serial conversion unit 152 b converts the sensor signal S14 into a serial signal based on the data frame structure of the serial communication set by the communication standard setting unit 122 of the servo amplifier 12 . The sensor hub 15 transmits the encoder signal S13 and the sensor signal S14 to the servo amplifier 12 through serial communication of two different systems, for example.

在这里,串行变换部152b可以将编码器信号S13和传感器信号S14复合为1个串行信号,通过1个系统的串行通信传送至伺服放大器12。另外,串行变换部152b在连接有多个传感器14的情况下,可以将多个传感器信号S14复合为1个串行信号,通过1个系统的串行通信传送至伺服放大器12。通过设为1个系统的串行通信,从而能够减少伺服放大器12和传感器集线器15之间的信号线的数量。Here, the serial conversion unit 152b may combine the encoder signal S13 and the sensor signal S14 into one serial signal, and transmit it to the servo amplifier 12 through one system of serial communication. In addition, when a plurality of sensors 14 are connected, the serial conversion unit 152b can combine the plurality of sensor signals S14 into one serial signal, and transmit it to the servo amplifier 12 through serial communication of one system. The number of signal lines between the servo amplifier 12 and the sensor hub 15 can be reduced by using one system of serial communication.

另外,串行变换部152b也可以将传感器信号S14的间隔变长而变换为与传感器信号S14的采样周期不同周期的信号,也可以为了抑制数据容量而删除冗余的数据。另外,传感器集线器15也可以使在检测出通信错误、电力错误时产生的通信警报信号及电力警报信号等警报信息向串行信号叠加,也可以使传感器集线器15的周围温度、运转时间等诊断信息向串行信号叠加。In addition, the serial conversion unit 152b may lengthen the interval of the sensor signal S14 to convert it into a signal having a period different from the sampling period of the sensor signal S14, or may delete redundant data in order to suppress the data capacity. In addition, the sensor hub 15 may superimpose alarm information such as a communication alarm signal and an electric power alarm signal generated when a communication error or an electric power error is detected on the serial signal, or may display diagnostic information such as the ambient temperature and operating time of the sensor hub 15 Add to serial signal.

传感器判别部153例如基于传感器信号S14的电压值,作为传感器14的连接状况而对传感器14的数量、传感器14的类别、传感器信号S14的数量等进行判别,将判别结果输出至传感器集线器15的收发部151。The sensor judging unit 153 judges the number of sensors 14, the type of sensors 14, the number of sensor signals S14, etc. as the connection status of the sensors 14 based on the voltage value of the sensor signal S14, for example, and outputs the judgment result to the transmission and reception of the sensor hub 15. Section 151.

传感器集线器15的信号处理部152是通过包含模拟电路、封装IC(IntegratedCircuit)、工业用微型计算机(CPU)、ASIC、FPGA、CPLD等LSI的电子电路实现的。信号处理部152可以为了去除噪声、使通信精度提高而具有未图示的滤波器处理单元、缓冲器处理单元。另外,信号处理部152在进行AD变换的模拟形式的传感器信号S14的种类、数量多的情况下,可以包含多路复用器、开关用IC。The signal processing unit 152 of the sensor hub 15 is realized by an electronic circuit including an analog circuit, a packaged IC (Integrated Circuit), an industrial microcomputer (CPU), an ASIC, an FPGA, or an LSI such as a CPLD. The signal processing unit 152 may include a filter processing unit and a buffer processing unit (not shown) in order to remove noise and improve communication accuracy. In addition, the signal processing unit 152 may include a multiplexer and a switching IC when there are many kinds and numbers of analog sensor signals S14 to be AD-converted.

图4(a)、(b)是表示由本发明的实施方式1所涉及的传感器集线器的串行变换部生成的串行通信的数据帧的结构的一个例子的图。图4(a)、(b)分别是编码器信号S13、传感器信号S14的数据帧。如图4(a)、(b)所示,编码器信号S13和传感器信号S14通过例如不同的2个系统的串行通信进行发送。4( a ) and ( b ) are diagrams showing an example of a structure of a data frame of serial communication generated by the serial conversion unit of the sensor hub according to Embodiment 1 of the present invention. Figure 4(a), (b) are data frames of encoder signal S13 and sensor signal S14 respectively. As shown in FIGS. 4( a ) and ( b ), the encoder signal S13 and the sensor signal S14 are transmitted by, for example, serial communication of two different systems.

串行通信的数据帧例如由头部、数据字段和尾部构成。头部是将与编码器13或传感器14的动作状态相关的警报信息、比特率等通信规格进行发送的区域。尾部是将错误检测码进行发送的区域,伺服放大器12基于尾部对与数据转发相伴的传送路径噪声等的错误进行检测。作为错误检测方式,能够应用奇偶校验、校验和、循环冗余检查等。A data frame of serial communication is composed of, for example, a header, a data field, and a trailer. The header is an area for transmitting communication standards such as alarm information and bit rate related to the operating state of the encoder 13 or the sensor 14 . The tail is an area where an error detection code is transmitted, and the servo amplifier 12 detects errors such as transmission path noise accompanying data transfer based on the tail. As an error detection method, a parity check, a checksum, a cyclic redundancy check, or the like can be applied.

数据字段是将帧化的编码器信号S13或传感器信号S14进行发送的区域,信号由起始位、数据位、奇偶校验位、停止位等构成。如图4(b)所示,传感器14在例如加速度传感器及压力传感器的情况下,数据字段是由加速度传感器输出的X轴、Y轴、Z轴方向的3个加速度传感器信号S141a、S141b、S141c和由压力传感器输出的压力传感器信号S142复合而构成的。The data field is an area where the framed encoder signal S13 or sensor signal S14 is transmitted, and the signal is composed of a start bit, data bit, parity bit, stop bit, and the like. As shown in Figure 4 (b), in the case of the sensor 14 such as an acceleration sensor and a pressure sensor, the data fields are three acceleration sensor signals S141a, S141b, S141c in the X axis, Y axis, and Z axis directions output by the acceleration sensor Composite with the pressure sensor signal S142 output by the pressure sensor.

下面,对设定伺服放大器12和传感器集线器15之间的通信规格时的伺服系统100的动作进行说明。图5是表示本发明的实施方式1所涉及的伺服系统的动作的流程图。下面,设为来自传感器14的传感器信号S14通过模拟形式输出至传感器集线器15。Next, the operation of the servo system 100 when setting the communication standard between the servo amplifier 12 and the sensor hub 15 will be described. 5 is a flowchart showing the operation of the servo system according to Embodiment 1 of the present invention. In the following, it is assumed that the sensor signal S14 from the sensor 14 is output to the sensor hub 15 in an analog format.

伺服放大器12将对传感器14的判别进行请求的判别请求信号S03发送至传感器集线器15(ST101)。传感器集线器15从传感器14接收传感器信号S14(ST102)。传感器集线器15将接收到的模拟形式的传感器信号S14在预先设定的一定的期间通过AD变换部152a变换为数字信号(ST103)。进行AD变换的期间例如设定为伺服放大器12或传感器集线器15能够进行的串行通信的最短的更新周期。The servo amplifier 12 transmits a discrimination request signal S03 requesting discrimination of the sensor 14 to the sensor hub 15 ( ST101 ). The sensor hub 15 receives the sensor signal S14 from the sensor 14 (ST102). The sensor hub 15 converts the received analog sensor signal S14 into a digital signal by the AD converter 152a for a predetermined period of time (ST103). The period during which AD conversion is performed is set to, for example, the shortest update period of the serial communication that can be performed by the servo amplifier 12 or the sensor hub 15 .

传感器集线器15将传感器信号S14通过串行变换部152b变换为串行信号(ST104)。传感器集线器15通过传感器判别部153,基于传感器信号S14的电压值的变化,对传感器信号S14的数量进行判别(ST105)。例如,在传感器信号S14的电压在一定的期间大于或小于阈值的情况下,视作接收到传感器信号S14而对传感器信号S14的数量进行判别。The sensor hub 15 converts the sensor signal S14 into a serial signal by the serial conversion unit 152b (ST104). The sensor hub 15 discriminates the number of sensor signals S14 through the sensor discriminating unit 153 based on the change in the voltage value of the sensor signal S14 ( ST105 ). For example, when the voltage of the sensor signal S14 is higher or lower than the threshold value for a certain period, it is deemed that the sensor signal S14 is received, and the number of the sensor signal S14 is determined.

传感器集线器15将通过传感器判别部153判别出的传感器信号S14的数量作为传感器判别信号S16而发送至伺服放大器12(ST106)。The sensor hub 15 sends the number of sensor signals S14 discriminated by the sensor discriminating unit 153 to the servo amplifier 12 as the sensor discriminating signal S16 ( ST106 ).

伺服放大器12的通信规格设定部122基于传感器判别信号S16,对伺服放大器12和传感器集线器15之间的通信规格进行设定(ST107)。通信规格设定部122对伺服放大器12和传感器集线器15之间的串行通信的数据帧进行设定。由通信规格设定部122设定的数据帧与传感器信号S14的数量、传感器信号S14的类别、传感器信号S14的数据尺寸、传感器信号S14的发送顺序、传感器14和传感器集线器15之间的通信方式相应地决定。The communication standard setting unit 122 of the servo amplifier 12 sets the communication standard between the servo amplifier 12 and the sensor hub 15 based on the sensor discrimination signal S16 ( ST107 ). The communication standard setting unit 122 sets the data frame of the serial communication between the servo amplifier 12 and the sensor hub 15 . The number of data frames and sensor signals S14 set by the communication standard setting unit 122, the type of sensor signals S14, the data size of sensor signals S14, the transmission order of sensor signals S14, and the communication method between sensors 14 and sensor hub 15 Decide accordingly.

伺服系统100通过执行ST101至ST107,从而能够与连接于传感器集线器15的传感器14相应地对传感器集线器15和伺服放大器12之间的通信规格进行设定。由此,能够与连接于传感器集线器15的传感器连接部15b的传感器14相应地,将串行通信的更新周期、通信速度、通信数据量进行优化。The servo system 100 can set the communication standard between the sensor hub 15 and the servo amplifier 12 according to the sensor 14 connected to the sensor hub 15 by executing ST101 to ST107 . Accordingly, it is possible to optimize the update cycle, communication speed, and communication data volume of serial communication according to the sensors 14 connected to the sensor connection portion 15 b of the sensor hub 15 .

可以将ST101至ST107的一部分省略,或将一部分的顺序调换而实施。例如,可以将通过AD变换部152a变换为数字信号后的并行方式的传感器信号S14不经由串行变换部152b而向传感器判别部153发送。另外,也可以是由传感器判别部153判别出的传感器信号S14的数量、伺服放大器12和传感器集线器15之间的通信规格保存于传感器集线器15所具有的未图示的记录电路。通过在伺服系统100的运行时对保存的内容进行调用,从而能够省略步骤ST101至ST107的动作。A part of ST101 to ST107 may be omitted, or the order of a part may be reversed. For example, the parallel system sensor signal S14 converted into a digital signal by the AD conversion unit 152a may be sent to the sensor determination unit 153 without passing through the serial conversion unit 152b. In addition, the number of sensor signals S14 discriminated by the sensor discriminating unit 153 and the communication specification between the servo amplifier 12 and the sensor hub 15 may be stored in a recording circuit (not shown) included in the sensor hub 15 . By calling the stored content when the servo system 100 is running, the operations of steps ST101 to ST107 can be omitted.

接下来,基于图6对将通过编码器13及传感器14检测出的信号按照通过ST101至ST107所设定的通信规格经由传感器集线器15发送至伺服放大器12的动作进行说明。图6是表示本发明的实施方式1所涉及的伺服系统的动作的流程图。下面,通过编码器13检测出的编码器信号S13在编码器13内部变换为串行信号,在编码器13和传感器集线器15之间设为串行通信。Next, the operation of transmitting the signals detected by the encoder 13 and the sensor 14 to the servo amplifier 12 via the sensor hub 15 according to the communication standard set in ST101 to ST107 will be described based on FIG. 6 . 6 is a flowchart showing the operation of the servo system according to Embodiment 1 of the present invention. Next, the encoder signal S13 detected by the encoder 13 is converted into a serial signal inside the encoder 13 , and serial communication is established between the encoder 13 and the sensor hub 15 .

伺服放大器12将请求通过ST101至ST107所设定的通信规格下的响应的第1通信请求信号S01发送至传感器集线器15(ST201)。第1通信请求信号S01对伺服放大器12和传感器集线器15之间的比特率、通信频带、更新周期等通信规格进行指定,请求编码器信号S13或传感器信号S14的响应。The servo amplifier 12 transmits to the sensor hub 15 a first communication request signal S01 requesting a response under the communication standard set in ST101 to ST107 (ST201). The first communication request signal S01 designates a communication standard such as a bit rate, a communication frequency band, and an update cycle between the servo amplifier 12 and the sensor hub 15, and requests a response from the encoder signal S13 or the sensor signal S14.

传感器集线器15基于第1通信请求信号S01,生成按照所设定的通信规格而请求来自编码器13的响应的第2通信请求信号S02,发送至编码器13(ST202)。第2通信请求信号S02对编码器13和传感器集线器15之间的比特率、通信频带、更新周期等通信规格进行指定,向编码器13请求编码器信号S13的响应。编码器13按照由第2通信请求信号S02指定出的通信规格将编码器信号S13发送至传感器集线器15(ST203)。Based on the first communication request signal S01 , the sensor hub 15 generates a second communication request signal S02 requesting a response from the encoder 13 according to the set communication standard, and sends it to the encoder 13 ( ST202 ). The second communication request signal S02 designates a communication standard between the encoder 13 and the sensor hub 15 such as a bit rate, a communication frequency band, and an update cycle, and requests the encoder 13 to respond to the encoder signal S13 . The encoder 13 transmits the encoder signal S13 to the sensor hub 15 according to the communication standard specified by the second communication request signal S02 (ST203).

传感器集线器15从传感器14接收传感器信号S14,通过AD变换部152a变换为数字信号(ST204)。串行变换部152b与由第1通信请求信号S01指定出的通信规格相应地对传感器信号S14进行串行变换。串行变换部152b例如与请求通过传感器集线器15的收发部151基于第1通信请求信号S01而生成的多个传感器信号S14的复合的复合请求信号S04相应地,将多个传感器信号S14复合为串行信号,作为传感器复合信号S15而输出(ST205)。The sensor hub 15 receives the sensor signal S14 from the sensor 14, and converts it into a digital signal by the AD converter 152a (ST204). The serial conversion unit 152b performs serial conversion on the sensor signal S14 according to the communication standard specified by the first communication request signal S01. The serial conversion unit 152b combines, for example, the plurality of sensor signals S14 into a serial number in response to the combination request signal S04 requesting combination of the plurality of sensor signals S14 generated by the transceiver unit 151 of the sensor hub 15 based on the first communication request signal S01. The line signal is output as the sensor composite signal S15 (ST205).

传感器集线器15将编码器信号S13和传感器复合信号S15例如通过不同的2个系统的串行通信分别发送至伺服放大器12(ST206)。The sensor hub 15 transmits the encoder signal S13 and the sensor composite signal S15 to the servo amplifier 12 through serial communication of two different systems, for example ( ST206 ).

伺服放大器12通过并行变换部123将传感器复合信号S15作为并行信号而分离,取得编码器信号S13及传感器信号S14(ST207)。此时,在传感器复合信号S15中包含传感器判别信号S16,由此可以使得能够通过伺服放大器12的并行变换部123将传感器复合信号S15分离。The servo amplifier 12 separates the combined sensor signal S15 into parallel signals by the parallel conversion unit 123 to obtain the encoder signal S13 and the sensor signal S14 ( ST207 ). At this time, by including the sensor discrimination signal S16 in the sensor composite signal S15 , it is possible to separate the sensor composite signal S15 by the parallel conversion unit 123 of the servo amplifier 12 .

伺服系统100执行ST201至ST207,由此能够基于通过伺服放大器12的通信规格设定部122设定出的通信规格而取得编码器信号S13及传感器信号S14。The servo system 100 executes ST201 to ST207, whereby the encoder signal S13 and the sensor signal S14 can be obtained based on the communication standard set by the communication standard setting unit 122 of the servo amplifier 12 .

可以将ST201至ST207的一部分省略或将一部分的顺序调换而实施。串行信号的通信方式并不限定于步调同步式。串行信号的通信方式可以是半双工和全双工的任意方式。另外,各种请求信号可以包含用于进行同步式通信的时钟信号。另外,第2通信请求信号S02是根据电动机10及编码器13而需要是否、内容改变的信号,也可以根据电动机10及编码器13的种类而不使用第2通信请求信号S02。A part of ST201 to ST207 may be omitted or the order of a part may be reversed. The communication method of the serial signal is not limited to the synchronous method. The communication mode of the serial signal can be any mode of half-duplex and full-duplex. In addition, various request signals may include a clock signal for synchronous communication. In addition, the second communication request signal S02 is a signal whose need and content are changed depending on the motor 10 and the encoder 13 , and the second communication request signal S02 may not be used depending on the types of the motor 10 and the encoder 13 .

如上所述,本发明的实施方式1所涉及的伺服系统100具有能够拆装地与编码器13连接的传感器集线器15,经由传感器集线器15将编码器信号S13及传感器信号S14发送至伺服放大器12。通过该结构,能够与传感器14的规格相应地适当选择传感器集线器15而与编码器13连接。由此,能够利用来自多种多样的传感器14的信息而对电动机10的驱动进行控制。As described above, servo system 100 according to Embodiment 1 of the present invention includes sensor hub 15 detachably connected to encoder 13 , and sends encoder signal S13 and sensor signal S14 to servo amplifier 12 via sensor hub 15 . With this configuration, the sensor hub 15 can be appropriately selected according to the specifications of the sensor 14 and connected to the encoder 13 . Accordingly, the driving of the motor 10 can be controlled using information from various sensors 14 .

另外,伺服系统100通过传感器集线器15的传感器判别部153对传感器14的连接状况进行判别,基于该判别结果由伺服放大器12的通信规格设定部122对伺服放大器12和传感器集线器15之间的通信规格进行设定。通过该结构,伺服系统100在将传感器集线器15更换或向传感器集线器15追加、变更传感器14时,能够通过伺服放大器12立即地读取传感器信号S14。另外,伺服系统100能够将传感器集线器15和伺服放大器12之间的串行通信的更新周期、通信速度、通信数据量进行优化。In addition, the servo system 100 discriminates the connection state of the sensor 14 through the sensor discriminating unit 153 of the sensor hub 15, and based on the discriminating result, the communication standard setting unit 122 of the servo amplifier 12 controls the communication between the servo amplifier 12 and the sensor hub 15. Specifications are set. With this configuration, the servo system 100 can immediately read the sensor signal S14 through the servo amplifier 12 when the sensor hub 15 is replaced, or when the sensor hub 15 is added or the sensor 14 is changed. In addition, the servo system 100 can optimize the update cycle, communication speed, and communication data volume of the serial communication between the sensor hub 15 and the servo amplifier 12 .

此外,传感器集线器15的编码器连接部15a优先为与通信线缆C2所具有的连接器C2a相同的形状,且通过相同的插针分配而构成。另外,传感器集线器15的放大器连接部15c优选为与编码器13的连接器13a相同的形状,且通过相同的插针分配而构成。In addition, the encoder connection portion 15a of the sensor hub 15 preferably has the same shape as the connector C2a included in the communication cable C2, and is configured with the same pin allocation. In addition, it is preferable that the amplifier connection portion 15c of the sensor hub 15 has the same shape as the connector 13a of the encoder 13, and is configured with the same pin allocation.

通过以上述方式构成,从而在伺服系统100的启动时、维护时使用传感器集线器15,在运行时将使用的传感器集线器15拆下,能够将通信线缆C2的连接器C2a与编码器13连接。By configuring as described above, the sensor hub 15 is used during start-up and maintenance of the servo system 100 , and the sensor hub 15 used during operation can be removed to connect the connector C2a of the communication cable C2 to the encoder 13 .

另外,在伺服系统100中,优选构成为从伺服放大器12向传感器集线器15、编码器13及传感器14供给电力。从伺服放大器12供给的电力经由通信线缆C2的电源线而作为电力信号发送至传感器集线器15,经由传感器集线器15向编码器13的未图示的电路基板及传感器14供给。In addition, in the servo system 100 , it is preferable to supply electric power from the servo amplifier 12 to the sensor hub 15 , the encoder 13 , and the sensor 14 . The electric power supplied from the servo amplifier 12 is sent to the sensor hub 15 as a power signal via the power line of the communication cable C2 , and supplied to the circuit board of the encoder 13 and the sensor 14 (not shown) via the sensor hub 15 .

通过以上述方式构成,传感器集线器15能够从伺服放大器12得到电力,能够容易地更换传感器集线器15。By configuring as described above, the sensor hub 15 can receive power from the servo amplifier 12, and the sensor hub 15 can be easily replaced.

在这里,电力信号例如包含正或负的电线和接地线。电力信号传送的电力可以是直流信号、也可以是交流信号。另外,传感器集线器15为了使向传感器14供给的电力线的种类增加,也可以包含升压或降压电路。由此,能够增加与传感器集线器15连接的传感器14的数量。另外,为了构成为不受伺服放大器12、设备电源的电压变动的影响,可以在传感器集线器15搭载电池。在伺服放大器12的供给电力缺乏的情况下、供给电压的变动大的情况下,可以从传感器集线器15的外部向传感器集线器15、编码器13以及传感器14中的任1个或多个供给电力。Here, the power signal includes, for example, a positive or negative electric line and a ground line. The power transmitted by the power signal may be a DC signal or an AC signal. In addition, the sensor hub 15 may include a step-up or step-down circuit in order to increase the types of power lines supplied to the sensors 14 . Thereby, the number of sensors 14 connected to the sensor hub 15 can be increased. In addition, a battery may be mounted on the sensor hub 15 so as not to be affected by voltage fluctuations of the servo amplifier 12 and the device power supply. When the supply power of the servo amplifier 12 is insufficient or the supply voltage fluctuates greatly, power may be supplied to any one or more of the sensor hub 15 , encoder 13 , and sensor 14 from outside the sensor hub 15 .

另外,传感器集线器15优选构成为能够对与1个传感器集线器15对应的传感器14的规格进行限定,与传感器14的规格相应地将传感器集线器15适当更换。由此,与通过1个传感器集线器15对应于多种多样的传感器14的情况相比,无需使硬件及软件变得冗余,能够将传感器集线器15的基板尺寸、设定数据抑制得较小。In addition, the sensor hub 15 is preferably configured such that the specification of the sensor 14 corresponding to one sensor hub 15 can be limited, and the sensor hub 15 is appropriately replaced according to the specification of the sensor 14 . Accordingly, compared with a case where one sensor hub 15 supports various sensors 14 , it is possible to keep the board size and setting data of the sensor hub 15 small without redundant hardware and software.

另外,在图1中,示出了传感器集线器15从铅垂方向上侧向电动机10装载的例子,但传感器集线器15只要在编码器13的周边配置于容易确保空间的场所、EMC(Electromagnetic Compatibity)良好的场所即可。另外,传感器集线器15可以将电路基板、构造分割为大于或等于2个。例如,编码器连接部15a和信号处理部152可以经由线缆而连接。In addition, in FIG. 1 , the example in which the sensor hub 15 is mounted sideways on the motor 10 from the vertical direction is shown, but the sensor hub 15 only needs to be arranged in a place where it is easy to secure a space around the encoder 13, EMC (Electromagnetic Compatibility) A good venue will do. In addition, the sensor hub 15 may be divided into two or more circuit boards and structures. For example, the encoder connection unit 15a and the signal processing unit 152 may be connected via a cable.

实施方式2.Implementation mode 2.

基于图7对用于实施本发明的实施方式2所涉及的伺服系统100进行说明。在这里,与实施方式1所涉及的伺服系统100重复的说明适当简化或省略。在图7中,与实施方式1相同的标号表示相同或相当的部分。本实施方式所涉及的伺服系统100具有在通过模拟信号进行输出的传感器14的基础上,还能够连接通过串行形式的数字信号进行输出的传感器14b的传感器集线器15。A servo system 100 according to Embodiment 2 for carrying out the present invention will be described based on FIG. 7 . Here, descriptions overlapping with those of the servo system 100 according to Embodiment 1 are appropriately simplified or omitted. In FIG. 7 , the same reference numerals as in Embodiment 1 denote the same or corresponding parts. The servo system 100 according to the present embodiment has a sensor hub 15 to which a sensor 14b that outputs a serial format digital signal can be connected in addition to the sensor 14 that outputs an analog signal.

图7是本发明的实施方式2所涉及的伺服系统的概略结构图。传感器集线器15具有编码器连接部15a、传感器连接部15b、放大器连接部15c,编码器连接部15a能够拆装地与编码器13连接。另外,传感器集线器15的传感器连接部15b,例如经由传感器线缆C4而与通过模拟信号进行输出的3个传感器14及通过串行形式的数字信号进行输出的传感器14b连接。传感器14、14b及传感器线缆C4的数量并不限定于此,能够适当变更。7 is a schematic configuration diagram of a servo system according to Embodiment 2 of the present invention. The sensor hub 15 has an encoder connection part 15 a, a sensor connection part 15 b, and an amplifier connection part 15 c, and the encoder connection part 15 a is detachably connected to the encoder 13 . In addition, the sensor connection part 15b of the sensor hub 15 is connected to the three sensors 14 outputting an analog signal and the sensor 14b outputting a serial digital signal via a sensor cable C4, for example. The number of sensors 14, 14b and sensor cables C4 is not limited thereto, and can be changed appropriately.

传感器14b例如为传声器,将单声道的声响信号通过串行形式作为传感器信号S14b发送至传感器集线器15。传感器14b例如通过I2S形式而与传感器集线器15进行通信。此时,传感器线缆C4包含SCLK(Serial Clock)信号、WDCLK(Word Clock)信号和SD(SerialData)信号的传送线。The sensor 14b is, for example, a microphone, and sends a monophonic sound signal to the sensor hub 15 in serial form as a sensor signal S14b. The sensor 14b communicates with the sensor hub 15 through, for example, I2S. At this time, the sensor cable C4 includes transmission lines for SCLK (Serial Clock) signals, WDCLK (Word Clock) signals, and SD (Serial Data) signals.

传感器集线器15的信号处理部152具有将通过I2S形式从传感器14b发送的SD信号向电压值进行变换的串行接口(串行I/F)152c。通过串行接口152c变换为电压值的传感器信号S14b输出至传感器判别部153,作为传感器14、14b的连接状况而对传感器14、14b的数量、传感器14、14b的类别、传感器信号S14、S14b的数量等进行判别。The signal processing part 152 of the sensor hub 15 has the serial interface (serial I/F) 152c which converts the SD signal transmitted from the sensor 14b by I2S format into a voltage value. The sensor signal S14b converted into a voltage value through the serial interface 152c is output to the sensor judging part 153, and the number of the sensors 14, 14b, the type of the sensor 14, 14b, and the sensor signal S14, S14b are determined as the connection status of the sensors 14, 14b. quantity etc.

在对传感器14b和传感器集线器15之间的通信规格进行设定时,伺服放大器12将传感器集线器15所对应的各种串行通信方式的第3通信请求信号S05经由传感器集线器15向传感器14b依次发送。When setting the communication standard between the sensor 14b and the sensor hub 15, the servo amplifier 12 sequentially sends the third communication request signal S05 of various serial communication methods corresponding to the sensor hub 15 to the sensor 14b via the sensor hub 15. .

第3通信请求信号S05对传感器集线器15所对应的传感器14b和传感器集线器15之间的比特率、通信频带、更新周期等通信规格进行指定,请求传感器信号S14b的响应。例如,如果确认是否能够针对传感器14b通过I2S方式进行响应,则伺服放大器12发送WDCLK信号及SCLK信号,对是否能够在规定的定时取得通过I2S方式的通信规格规定出的响应进行确认。由此,能够对传感器集线器15和传感器14b之间的通信规格进行设定。The third communication request signal S05 specifies communication specifications such as a bit rate, a communication frequency band, and an update cycle between the sensor 14b corresponding to the sensor hub 15 and the sensor hub 15, and requests a response of the sensor signal S14b. For example, when it is confirmed whether the sensor 14b can respond by the I2S method, the servo amplifier 12 sends the WDCLK signal and the SCLK signal to check whether the response specified by the communication standard of the I2S method can be obtained at a predetermined timing. Thereby, communication specifications between the sensor hub 15 and the sensor 14b can be set.

传感器集线器15和传感器14b之间的通信形式除了I2S以外,例如还能够采用RS(TIA/EIA)232/422/485、USB(Universal Serial Bus)、I2C(Inter Integrated Circuit)、SPI(Serial Peripheral Interface)、1-Wire、Ethernet/IP(注册商标)、10BaseT等串行通信标准,串行通信的传送方式可以是同步式、也可以是非同步式。串行接口152c可以通过工业用微型计算机的URAT(Universal Asynchronous Receiver/Transmitter)、收发器IC而实现。The form of communication between the sensor hub 15 and the sensor 14b can be, for example, RS (TIA/EIA) 232/422/485, USB (Universal Serial Bus), I2C (Inter Integrated Circuit), SPI (Serial Peripheral Interface) other than I2S. ), 1-Wire, Ethernet/IP (registered trademark), 10BaseT and other serial communication standards, the transmission mode of serial communication can be synchronous or asynchronous. The serial interface 152c can be realized by a URAT (Universal Asynchronous Receiver/Transmitter) of an industrial microcomputer or a transceiver IC.

与通过传感器集线器15的传感器判别部153判别出的传感器14、14b的连接状况相应地,伺服放大器12的通信规格设定部122对传感器集线器15和伺服放大器12之间的通信规格进行设定。传感器集线器15与所设定的通信规格相应地,将经由编码器连接部15a发送出的编码器信号S13及经由传感器连接部15b发送出的传感器信号S14、S14b经由与放大器连接部15c连接的通信线缆C2而发送至伺服放大器12。The communication standard setting unit 122 of the servo amplifier 12 sets the communication standard between the sensor hub 15 and the servo amplifier 12 according to the connection status of the sensors 14 and 14 b discriminated by the sensor judging unit 153 of the sensor hub 15 . The sensor hub 15 transmits the encoder signal S13 transmitted through the encoder connection part 15a and the sensor signals S14 and S14b transmitted through the sensor connection part 15b through the communication connection with the amplifier connection part 15c according to the set communication standard. The signal is sent to the servo amplifier 12 through the cable C2.

如上所述,根据本发明的实施方式2所涉及的伺服系统100,具有传感器集线器15,该传感器集线器15具有:编码器连接部15a,其能够拆装地与编码器13连接;传感器连接部15b,其能够连接通过串行形式输出的传感器14b;以及放大器连接部15c,其连接将编码器信号S13及传感器信号S14、S14b向伺服放大器12传送的通信线缆C2,通过与传感器14的规格相应地适当选择传感器集线器15而安装于编码器13,从而能够对应于多种多样的传感器14。As described above, according to the second embodiment of the present invention, the servo system 100 includes the sensor hub 15 having the encoder connection part 15a detachably connected to the encoder 13, and the sensor connection part 15b. , which can be connected to the sensor 14b output in a serial form; and the amplifier connection part 15c, which connects the communication cable C2 that transmits the encoder signal S13 and the sensor signal S14, S14b to the servo amplifier 12, and passes the sensor 14 according to the specification By appropriately selecting the sensor hub 15 and attaching it to the encoder 13 , it is possible to cope with various sensors 14 .

另外,即使在传感器14b和传感器集线器15之间通过串行通信进行收发的情况下,也能够通过传感器判别部153对传感器14、14b的连接状况进行判别,与判别结果相应地对伺服放大器12和传感器集线器15之间的串行通信的通信规格进行设定,能够将串行通信的更新周期、通信速度、通信数据量进行优化。In addition, even when the sensor 14b and the sensor hub 15 are transmitting and receiving by serial communication, the connection status of the sensors 14 and 14b can be discriminated by the sensor discriminating unit 153, and the servo amplifier 12 and the The communication specifications of the serial communication between the sensor hubs 15 are set, and the update cycle, communication speed, and communication data volume of the serial communication can be optimized.

此外,也可以对传感器14b和传感器集线器15之间的串行通信方式的规格进行限定。由此,能够减少在传感器连接部15b设置的串行通信用的端口的种类,能够使传感器集线器15小型且低成本。In addition, the specification of the serial communication method between the sensor 14b and the sensor hub 15 may be limited. Thereby, the number of serial communication ports provided in the sensor connection part 15b can be reduced, and the sensor hub 15 can be made compact and low-cost.

实施方式3.Implementation mode 3.

基于图8、9对用于实施本发明的实施方式3所涉及的伺服系统100进行说明。在这里,与实施方式1所涉及的伺服系统100重复的说明适当简化或省略。在图8、9中,与实施方式1相同的标号表示相同或相当的部分。本实施方式所涉及的伺服系统100相对于在实施方式1的伺服系统100中构成为将编码器信号S13和传感器信号S14通过不同的2个系统的串行形式进行通信,而构成为将编码器信号S13和传感器信号S14复合,通过1个系统的串行形式进行通信。A servo system 100 according to Embodiment 3 for carrying out the present invention will be described based on FIGS. 8 and 9 . Here, descriptions overlapping with those of the servo system 100 according to Embodiment 1 are appropriately simplified or omitted. In FIGS. 8 and 9 , the same reference numerals as in Embodiment 1 denote the same or corresponding parts. The servo system 100 according to the present embodiment is configured so that the encoder signal S13 and the sensor signal S14 are communicated in a serial form of two different systems in the servo system 100 according to the first embodiment. The signal S13 and the sensor signal S14 are combined and communicated in a serial format of one system.

图8是本发明的实施方式3所涉及的传感器集线器的概略结构图。如图8所示,传感器集线器15具有:编码器连接部15a,其能够拆装地与编码器13连接;传感器连接部15b,其连接一端连接于传感器14的传感器线缆C4;以及放大器连接部15c,其连接一端连接于伺服放大器12的通信线缆C2。8 is a schematic configuration diagram of a sensor hub according to Embodiment 3 of the present invention. As shown in FIG. 8 , the sensor hub 15 has: an encoder connection part 15a, which is detachably connected to the encoder 13; a sensor connection part 15b, which is connected to a sensor cable C4 whose one end is connected to the sensor 14; and an amplifier connection part. 15c, one end of which is connected to the communication cable C2 of the servo amplifier 12.

传感器集线器15的信号处理部152在传感器信号S14的基础上对编码器信号S13进行接收。传感器集线器15的收发部151与通过第1通信请求信号S01指定出的串行信号的数据帧的结构相应地,生成请求将编码器信号S13和传感器信号S14复合的复合请求信号S04。串行变换部152b与复合请求信号S04相应地将编码器信号S13和传感器信号S14复合为串行信号,作为复合信号S17而输出。传感器集线器15将复合信号S17通过1个系统的串行通信向伺服放大器12发送。The signal processing unit 152 of the sensor hub 15 receives the encoder signal S13 on the basis of the sensor signal S14. The transceiver unit 151 of the sensor hub 15 generates a composite request signal S04 requesting to composite the encoder signal S13 and the sensor signal S14 according to the data frame structure of the serial signal specified by the first communication request signal S01 . The serial conversion unit 152b composites the encoder signal S13 and the sensor signal S14 into a serial signal in response to the composite request signal S04, and outputs it as a composite signal S17. The sensor hub 15 transmits the composite signal S17 to the servo amplifier 12 through serial communication of one system.

作为一个例子,对将2byte的编码器信号S13和合计5byte的传感器信号S14复合,从传感器集线器15向伺服放大器12发送的情况进行说明。在这里,传感器14设为加速度传感器、压力传感器及传声器。As an example, a case where the encoder signal S13 of 2 bytes is combined with the sensor signal S14 of 5 bytes in total and transmitted from the sensor hub 15 to the servo amplifier 12 will be described. Here, the sensor 14 is an acceleration sensor, a pressure sensor, and a microphone.

传感器信号S14分别为1byte的数字数据即X轴、Y轴、Z轴方向的加速度传感器信号S141a、S141b、S141c、压力传感器信号S142、传声器信号S143。在这里,编码器信号S13及各传感器信号S141a、S141b、S141c、S142、S143的数据尺寸、传感器14的数量、串行通信的数据帧的结构能够适当变更。The sensor signals S14 are 1 byte digital data, ie acceleration sensor signals S141a, S141b, S141c, pressure sensor signals S142, and microphone signals S143 in the X-axis, Y-axis, and Z-axis directions. Here, the data size of the encoder signal S13 and the sensor signals S141a, S141b, S141c, S142, and S143, the number of sensors 14, and the data frame structure of the serial communication can be appropriately changed.

伺服放大器12的通信规格设定部122如果基于传感器判别信号S16而识别出由信号处理部152接收到的传感器信号S14的数量为5个,则将第1通信请求信号S01向串行变换部152b发送。第1通信请求信号S01包含与用于通过1个系统的串行通信同时地发送2byte的编码器信号S13和合计5byte的传感器信号S14的数据帧的结构相关的信息。If the communication standard setting section 122 of the servo amplifier 12 recognizes that the number of sensor signals S14 received by the signal processing section 152 is five based on the sensor discrimination signal S16, it sends the first communication request signal S01 to the serial conversion section 152b. send. The first communication request signal S01 includes information on a data frame structure for simultaneously transmitting a 2-byte encoder signal S13 and a total of 5-byte sensor signals S14 through serial communication of one system.

能够通过一次更新进行发送的串行通信的数据容量为5byte,与此相对,编码器信号S13及各传感器信号S141a、S141b、S141c、S142、S143的数据容量的合计为7byte。The data capacity of the serial communication that can be transmitted with one update is 5 bytes, while the total data capacity of the encoder signal S13 and the sensor signals S141a, S141b, S141c, S142, and S143 is 7 bytes.

在如上所述的情况下,将针对每个更新周期发送的数据分割、间隔变长、进行压缩等。例如,传感器集线器15的串行变换部152b针对编码器信号S13和传感器信号S14的任1个或两个,实施针对伺服放大器12和传感器集线器15之间的串行通信的每个更新周期将数据分割的信号处理。In the case as described above, the data transmitted for each update cycle is divided, the interval is lengthened, compression, etc. are performed. For example, the serial conversion unit 152b of the sensor hub 15 converts the data for each update cycle of the serial communication between the servo amplifier 12 and the sensor hub 15 to either one or both of the encoder signal S13 and the sensor signal S14. Segmented signal processing.

图9是由串行变换部生成的串行通信的数据帧的结构的一个例子。如图9所示,伺服放大器12的通信规格设定部122将指示发送至传感器集线器15的串行变换部152b,该指示使得生成关于电动机10的旋转控制所需的编码器信号S13每次发送、每2次更新周期发送一次各传感器信号S141a-c、S142、S143的数据帧。按照该指示,串行变换部152b生成图9所示的数据帧,将数据帧附加于串行通信的数据字段而发送。FIG. 9 is an example of the structure of a data frame of serial communication generated by the serial conversion unit. As shown in FIG. 9 , the communication standard setting section 122 of the servo amplifier 12 transmits to the serial conversion section 152 b of the sensor hub 15 an instruction to generate an encoder signal S13 necessary for the rotation control of the motor 10 every transmission , The data frame of each sensor signal S141a-c, S142, S143 is sent every 2 update cycles. According to this instruction, the serial conversion unit 152b generates a data frame as shown in FIG. 9 , adds the data frame to the data field of serial communication, and transmits it.

在这里,例示出传感器集线器15针对每个更新周期将数据分割的例子,但也可以针对编码器信号S13和传感器信号S14的任1个或两个,实施使数据的间隔变长的信号处理。另外,传感器集线器15也可以针对编码器信号S13和传感器信号S14中的任1个或两个,实施将数据压缩的信号处理。Here, an example is shown in which the sensor hub 15 divides the data for each update period, but signal processing for increasing the interval of data may be performed for either one or both of the encoder signal S13 and the sensor signal S14. In addition, the sensor hub 15 may perform signal processing for compressing data on either one or both of the encoder signal S13 and the sensor signal S14.

另外,也可以使在将数据的间隔变长或压缩时缺损的数据S200作为附加信息而叠加。在图9中,在第偶数次的更新周期中,对1个数据帧(1byte)的通信容量附加数据S200。In addition, the data S200 missing when the data interval is increased or compressed may be superimposed as additional information. In FIG. 9 , in the even-numbered update cycle, data is added S200 to the communication capacity of one data frame (1 byte).

另外,为了削减由传感器集线器15发送的数据容量,也可以提取编码器信号S13或传感器信号S14的特征量而向伺服放大器12发送。例如,传感器集线器15可以针对编码器信号S13和传感器信号S14中的任1个或两个,实施从时间区域的数据向频率区域的数据变换的信号处理。In addition, in order to reduce the amount of data transmitted by the sensor hub 15 , the feature quantity of the encoder signal S13 or the sensor signal S14 may be extracted and transmitted to the servo amplifier 12 . For example, the sensor hub 15 may perform signal processing for converting data in the time domain to data in the frequency domain for either one or both of the encoder signal S13 and the sensor signal S14 .

如上所述,根据本发明的实施方式3所涉及的伺服系统100,通过将传感器集线器15设为能够相对于编码器13拆装,从而能够与传感器14的规格相应地适当选择传感器集线器15而与编码器13连接,能够对应于多种多样的传感器14。并且,伺服系统100由传感器集线器15生成将编码器信号S13和传感器信号S14复合的复合信号S17,能够通过1个系统的串行通信向伺服放大器12发送,能够实现通信线缆C2的信号线的省配线化。As described above, according to the servo system 100 according to Embodiment 3 of the present invention, by making the sensor hub 15 detachable from the encoder 13, the sensor hub 15 can be appropriately selected according to the specifications of the sensor 14 and can be connected with the sensor hub 15. The encoder 13 is connected, and it can correspond to various sensors 14 . In addition, in the servo system 100, the sensor hub 15 generates a composite signal S17 that combines the encoder signal S13 and the sensor signal S14, and can transmit it to the servo amplifier 12 through serial communication of one system, so that the signal line of the communication cable C2 can be connected. Wiring saving.

另外,传感器集线器15针对编码器信号S13及传感器信号S14,针对每个更新周期实施将数据分割、使数据的间隔变长、压缩等信号处理,由此即使在相对于能够通过一次更新进行发送的串行通信的数据容量而数据容量多的情况下,也能够将编码器信号S13及传感器信号S14进行发送。In addition, the sensor hub 15 performs signal processing such as dividing data, lengthening the data interval, and compressing the encoder signal S13 and the sensor signal S14 for each update cycle, so that even in the case where the encoder signal S13 and the sensor signal S14 can be transmitted with one update, Even when the data capacity of the serial communication is large, the encoder signal S13 and the sensor signal S14 can be transmitted.

实施方式4.Implementation mode 4.

基于图10对用于实施本发明的实施方式4所涉及的伺服系统100进行说明。在这里,与实施方式1所涉及的伺服系统100重复的说明适当简化或省略。在图10中,与实施方式1相同的标号表示相同或相当的部分。本实施方式所涉及的伺服系统100具有上级处理装置101,该上级处理装置101基于包含伺服系统100的工业用装置整体的执行计划而指定伺服系统100的驱动定时。A servo system 100 according to Embodiment 4 for carrying out the present invention will be described based on FIG. 10 . Here, descriptions overlapping with those of the servo system 100 according to Embodiment 1 are appropriately simplified or omitted. In FIG. 10 , the same reference numerals as in Embodiment 1 denote the same or corresponding parts. The servo system 100 according to the present embodiment has a higher-level processing device 101 that specifies the driving timing of the servo system 100 based on the execution plan of the entire industrial device including the servo system 100 .

上级处理装置101例如是包含云、边缘计算机、IPC(IndustrialPersonalComputer)、MES(Manufacturing Execution System)等的以系统整体的集中管理为目的的工业用装置的控制装置。The upper-level processing device 101 is, for example, a control device of an industrial device for the purpose of centralized management of the entire system including a cloud, an edge computer, an IPC (Industrial Personal Computer), and an MES (Manufacturing Execution System).

上级处理装置101通过能够进行双向的信号的收发的网络线缆C0而与控制器11连接。伺服系统100具有上级处理装置101,控制器11通过指定电动机10的驱动定时,从而能够基于工业用装置整体的执行计划对电动机10的旋转进行控制。The upper-level processing device 101 is connected to the controller 11 through a network cable C0 capable of bidirectional signal transmission and reception. The servo system 100 has a higher-level processing device 101 , and the controller 11 can control the rotation of the motor 10 based on the execution plan of the entire industrial device by specifying the driving timing of the motor 10 .

另外,上级处理装置101通过对来自传感器14的传感器信号S14进行解析,从而能够对工业用装置的历时劣化等进行诊断,实施在伺服系统100中使用的各仪器、电动机10的被驱动体等的预防保养、计划保养。In addition, by analyzing the sensor signal S14 from the sensor 14, the upper-level processing device 101 can diagnose the deterioration over time of the industrial device, etc. Preventive maintenance, planned maintenance.

例如,在将编码器13和伺服放大器12之间通过规定的通信线缆直接地连接而进行动作的已有的伺服系统100中,作为图10所示的通信线缆C2而使用该已有的通信线缆,在已有的通信线缆和编码器13之间连接传感器集线器15,能够使得基于来自与该传感器集线器15连接的传感器14的传感器信号S14由上级处理装置101对工业用装置进行诊断。For example, in an existing servo system 100 that operates by directly connecting the encoder 13 and the servo amplifier 12 with a predetermined communication cable, the existing communication cable C2 shown in FIG. 10 is used. The communication cable connects the sensor hub 15 between the existing communication cable and the encoder 13, enabling the upper-level processing device 101 to diagnose the industrial device based on the sensor signal S14 from the sensor 14 connected to the sensor hub 15. .

伺服系统100也可以构成为,在已经连接传感器集线器15,无法通过其已有的传感器集线器15对新的传感器14进行连接或识别的情况下,将其已有的传感器集线器15更换为能够连接或识别该传感器14的新的传感器集线器15。如果诊断是暂时性的,则可以在诊断后将更换后的传感器集线器15恢复为原来的传感器集线器15,也可以将更换后的传感器集线器15仍继续用于电动机10的驱动控制。用于诊断的传感器集线器15可以为了诊断而将来自编码器13的编码器信号S13发送至上级处理装置101,也可以在诊断中不使用编码器信号S13。The servo system 100 can also be configured such that, when the sensor hub 15 has already been connected and the new sensor 14 cannot be connected or identified through the existing sensor hub 15, the existing sensor hub 15 can be replaced with one that can be connected or identified. The new sensor hub 15 for this sensor 14 is identified. If the diagnosis is temporary, the replaced sensor hub 15 may be restored to the original sensor hub 15 after the diagnosis, or the replaced sensor hub 15 may continue to be used for driving control of the motor 10 . The sensor hub 15 for diagnosis may transmit the encoder signal S13 from the encoder 13 to the host processing device 101 for diagnosis, or may not use the encoder signal S13 for the diagnosis.

另外,也可以在传感器集线器15中不设置编码器连接部15a,在编码器13没有与传感器集线器15连接的状态下进行诊断。在将更换后的传感器集线器15还用于电动机10的驱动控制的情况下,在该传感器集线器15设置将来自编码器13的编码器信号S13向伺服放大器12发送的功能。In addition, the encoder connection portion 15 a may not be provided in the sensor hub 15 , and the diagnosis may be performed in a state where the encoder 13 is not connected to the sensor hub 15 . When the replaced sensor hub 15 is also used for drive control of the motor 10 , the sensor hub 15 is provided with a function of transmitting the encoder signal S13 from the encoder 13 to the servo amplifier 12 .

实施方式5.Implementation mode 5.

下面,对将传感器集线器15与伺服系统100连接,对工业用装置进行诊断的方法的实施的一个例子进行说明。图11是表示向本发明的实施方式5所涉及的伺服系统导入传感器集线器的工序的流程图。下面,关于在连接有伺服放大器12和编码器13的已有的伺服系统100中追加传感器集线器15的情况进行记载。Next, an example of implementation of a method for diagnosing an industrial device by connecting the sensor hub 15 to the servo system 100 will be described. 11 is a flowchart showing a process of introducing a sensor hub into the servo system according to Embodiment 5 of the present invention. Next, a case where the sensor hub 15 is added to the existing servo system 100 to which the servo amplifier 12 and the encoder 13 are connected will be described.

伺服系统100的使用者为了安装传感器集线器15而将伺服放大器12的电源断开,从编码器13的连接器13a将通信线缆C2的连接器C2a拆下(ST301)。The user of the servo system 100 turns off the power of the servo amplifier 12 to install the sensor hub 15, and removes the connector C2a of the communication cable C2 from the connector 13a of the encoder 13 (ST301).

伺服系统100的使用者将传感器集线器15分别与伺服放大器12、编码器13及传感器14连接(ST302)。伺服系统100的使用者将通信线缆C2的连接器C2a与传感器集线器15的放大器连接部15c连接,由此将伺服放大器12和传感器集线器15连接。另外,伺服系统100的使用者将编码器连接部15a向编码器13的连接器13a连接,由此将传感器集线器15安装于编码器13。伺服系统100的使用者将传感器线缆C4的连接器C4a向传感器连接部15b连接,由此将传感器14和传感器集线器15连接。在这里,安装作业可以将顺序调换。The user of the servo system 100 connects the sensor hub 15 to the servo amplifier 12, the encoder 13, and the sensor 14, respectively (ST302). The user of the servo system 100 connects the connector C2 a of the communication cable C2 to the amplifier connection part 15 c of the sensor hub 15 , thereby connecting the servo amplifier 12 and the sensor hub 15 . In addition, the user of the servo system 100 attaches the sensor hub 15 to the encoder 13 by connecting the encoder connection portion 15 a to the connector 13 a of the encoder 13 . The user of the servo system 100 connects the sensor 14 and the sensor hub 15 by connecting the connector C4a of the sensor cable C4 to the sensor connection part 15b. Here, the order of the installation jobs can be reversed.

伺服系统100的使用者通过目视、检测器等对在伺服放大器12、编码器13、传感器14和传感器集线器15之间没有配线错误进行确认(ST303)。The user of the servo system 100 confirms that there is no wiring error between the servo amplifier 12, the encoder 13, the sensor 14, and the sensor hub 15 by visual inspection, a tester, or the like (ST303).

伺服系统100的使用者接通伺服放大器12的电源,从伺服放大器12向传感器集线器15、编码器13和传感器14供给电力(ST304)。伺服系统100的使用者通过目视、检测器等对向传感器集线器15、编码器13和传感器14的电力供给正常进行确认(ST305)。The user of the servo system 100 turns on the power of the servo amplifier 12, and supplies electric power from the servo amplifier 12 to the sensor hub 15, the encoder 13, and the sensor 14 (ST304). The user of the servo system 100 confirms that the power supply to the sensor hub 15, the encoder 13, and the sensor 14 is normal by visual inspection, a tester, or the like (ST305).

为了容易确认电力被正常地供给,传感器集线器15可以通过工业用微型计算机等的运算电路对电源电压的变动进行监视,通过传感器集线器15或伺服放大器12所具有的灯的点灯或闪烁或者哔音等通知电力警报。在传感器集线器15输出电力警报的情况下,可以在向伺服系统100追加的传感器14或传感器集线器15使用外部电源。In order to easily confirm that the power is normally supplied, the sensor hub 15 can monitor the fluctuation of the power supply voltage through an arithmetic circuit such as an industrial microcomputer, and the sensor hub 15 or the lamp of the servo amplifier 12 can be turned on or blinked or beeped. Notify electricity alarm. When the sensor hub 15 outputs an electric power alarm, an external power supply can be used for the sensor 14 or the sensor hub 15 added to the servo system 100 .

另外,在从伺服放大器12向传感器集线器15或传感器14的电力供给无法正常地进行的情况下,可以向动作电压、电流容量不同的规格的传感器14或传感器集线器15进行更换,以使得能够进行电力供给。向更换传感器14或传感器集线器15的情况(ST302)返回。In addition, when the power supply from the servo amplifier 12 to the sensor hub 15 or the sensor 14 cannot be normally performed, it is possible to replace the sensor 14 or the sensor hub 15 with a specification with a different operating voltage and current capacity so that the power supply can be performed. supply. Return to the case of replacing the sensor 14 or the sensor hub 15 (ST302).

在向传感器集线器15的电力供给正常的情况下,传感器集线器15的传感器判别部153对向传感器连接部15b连接的传感器14的连接状况进行判别,伺服放大器12对伺服放大器12和传感器集线器15之间的通信规格进行设定(ST306)。传感器集线器15按照所设定的通信规格,将编码器信号S13及传感器信号S14发送至伺服放大器12及上级处理装置101(ST307)。(ST306)及(ST307)的详细的动作与实施方式1的(ST101)至(ST107)及(ST201)至(ST207)相同,因此省略。When the power supply to the sensor hub 15 is normal, the sensor judging section 153 of the sensor hub 15 judges the connection state of the sensor 14 connected to the sensor connecting section 15b, and the servo amplifier 12 performs a communication between the servo amplifier 12 and the sensor hub 15. Set the communication standard of the device (ST306). The sensor hub 15 transmits the encoder signal S13 and the sensor signal S14 to the servo amplifier 12 and the host processing device 101 according to the set communication standard (ST307). The detailed operations of ( ST306 ) and ( ST307 ) are the same as ( ST101 ) to ( ST107 ) and ( ST201 ) to ( ST207 ) of Embodiment 1, and thus are omitted.

通过执行ST301至ST307,从而向伺服放大器12及上级处理装置101发送编码器信号S13及传感器信号S14,能够进行用于实施包含伺服系统100的工业用装置的驱动控制、预防保养的诊断。使用本发明的实施方式5所涉及的传感器集线器15的工业用装置的诊断方法通过追加或更换传感器集线器15,从而能够使用已有的电动机10、通信线缆C2及编码器13,因此能够将传感器14容易地追加至伺服系统100。By executing ST301 to ST307, the encoder signal S13 and the sensor signal S14 are sent to the servo amplifier 12 and the host processing device 101, and diagnosis for performing drive control and preventive maintenance of industrial devices including the servo system 100 can be performed. The diagnostic method of an industrial device using the sensor hub 15 according to Embodiment 5 of the present invention can use the existing motor 10, communication cable C2, and encoder 13 by adding or replacing the sensor hub 15, so that the sensor can be 14 are easily added to the servo system 100.

(ST301)至(ST307)也可以将一部分省略,或将一部分的顺序调换而实施。另外,在本方式中示出了将传感器集线器15追加至已有的伺服系统100的方法,但在新设置伺服系统100时也可以将传感器集线器15组装至伺服系统100。( ST301 ) to ( ST307 ) may be partially omitted, or the order of some parts may be reversed and implemented. In addition, although the method of adding the sensor hub 15 to the existing servo system 100 was shown in this form, when installing the servo system 100 newly, you may integrate the sensor hub 15 into the servo system 100.

此外,在实施方式1至5中,作为电动机10以一轴的旋转型电动机为例进行了说明,但并不限定于旋转型电动机,也可以使用相对于固定件将可动件在平移方向进行驱动的线性电动机。In addition, in Embodiments 1 to 5, a one-axis rotary motor was described as an example of the motor 10, but it is not limited to the rotary motor, and the movable member may be moved in the translation direction with respect to the fixed member. driven linear motor.

另外,本发明也可以在不脱离其主旨的范围,将实施方式1至4所公开的多个结构要素适当组合。In addition, in the present invention, a plurality of constituent elements disclosed in Embodiments 1 to 4 can be appropriately combined without departing from the gist thereof.

标号的说明Explanation of labels

100伺服系统,10电动机,11控制器,12伺服放大器,13编码器,14传感器,15传感器集线器,15a编码器连接部,15b传感器连接部,15c放大器连接部,151收发部,152信号处理部,153传感器判别部。100 servo system, 10 motor, 11 controller, 12 servo amplifier, 13 encoder, 14 sensor, 15 sensor hub, 15a encoder connection part, 15b sensor connection part, 15c amplifier connection part, 151 transceiver part, 152 signal processing part , 153 sensor discrimination section.

Claims (11)

1. A servo system, comprising:
a motor;
an encoder that detects rotation of the motor;
A sensor hub including a 1 st connection unit, a 2 nd connection unit, and a 3 rd connection unit, the 1 st connection unit being detachably connected to the encoder, the 2 nd connection unit being connected to a sensor that detects a state different from the rotation, the 3 rd connection unit being connected to a communication cable that transmits an encoder signal output from the encoder via the 1 st connection unit and a sensor signal output from the sensor via the 2 nd connection unit, the sensor hub including a sensor determination unit that determines a connection state of the sensor connected to the 2 nd connection unit based on a voltage value of the sensor signal; and
a servo amplifier for performing drive control of the motor based on the encoder signal, the sensor signal, and a drive command transmitted from a controller transmitted via the communication cable,
the connection status of the sensors includes the number of the sensors, the category of the sensors, or the number of the sensor signals.
2. A servo system as recited in claim 1, wherein,
the sensor hub transmits the connection status determined by the sensor determination unit to the servo amplifier via the communication cable.
3. A servo system as claimed in claim 1 or 2, characterized in that,
the communication cable has a connector connected to the 3 rd connection of the sensor hub,
the encoder has a connector detachably connected to the 1 st connection portion of the sensor hub,
the connector of the communication cable is connectable with the connector of the encoder.
4. A servo system as claimed in claim 1 or 2, characterized in that,
the sensor hub has a signal processing unit that converts at least one of the encoder signal and the sensor signal into a serial signal.
5. A servo system as claimed in claim 1 or 2, characterized in that,
the servo amplifier includes a communication specification setting unit that sets a communication specification between the servo amplifier and the sensor hub based on the connection status of the sensor connected to the 2 nd connection unit of the sensor hub.
6. A sensor hub, comprising:
a 1 st connection unit detachably connected to an encoder for detecting rotation of the motor;
A 2 nd connection unit for connecting a sensor for detecting a state different from the rotation; and
a 3 rd connection unit connected to a communication cable for transmitting at least any one of the encoder signal outputted from the encoder via the 1 st connection unit and the sensor signal outputted from the sensor via the 2 nd connection unit to a servo amplifier for controlling driving of the motor,
determining a connection condition of the sensor connected to the 2 nd connection portion based on a voltage value of the sensor signal,
the connection status of the sensors includes the number of the sensors, the category of the sensors, or the number of the sensor signals.
7. The sensor hub of claim 6, wherein the sensor hub is configured to,
the connection status of the sensor is sent to the servo amplifier via the communication cable.
8. The sensor hub of claim 6 or 7, wherein,
comprises a signal processing unit for converting the encoder signal and the sensor signal into serial signals,
and transmitting the sensor signal to the servo amplifier according to the set communication standard according to the connection status of the sensor connected to the 2 nd connection part.
9. A diagnostic method for an industrial device comprising a servo system in which an encoder for detecting rotation of a motor and a servo amplifier for supplying current to the motor are detachably connected via a communication cable having a connector connectable to the encoder, the servo amplifier adjusting the current supplied to the motor based on a detection signal of the encoder transmitted via the communication cable to perform drive control,
the diagnostic method of the industrial device is characterized by comprising the following steps:
a sensor hub having 1 st to 3 rd connection portions between the communication cable and the encoder, the sensor hub connecting the encoder to the 1 st connection portion, connecting a sensor detecting a state different from the rotation of the motor to the 2 nd connection portion, and connecting the connector of the communication cable to the 3 rd connection portion;
transmitting the detection signal of the encoder from the encoder to the servo amplifier via the sensor hub and the communication cable;
Determining a connection condition of the sensor connected to the 2 nd connection unit based on a voltage value of a detection signal of the sensor, the sensor hub transmitting the determined connection condition to the servo amplifier;
transmitting a detection signal of the sensor from the sensor to the servo amplifier via the sensor hub and the communication cable; and
diagnosing the industrial device based on the detection signal of the encoder and the detection signal of the sensor,
the connection status of the sensors includes the number of the sensors, the category of the sensors, or the number of the sensor signals.
10. The method for diagnosing an industrial apparatus according to claim 9, wherein,
and transmitting the determined connection information to the servo amplifier via the cable.
11. A diagnostic method for an industrial device according to claim 9 or 10, wherein,
the method includes the step of converting the detection signal of the encoder and the detection signal of the sensor into serial signals and transmitting the serial signals to the servo amplifier via the sensor hub and the communication cable.
CN201880088207.5A 2018-02-06 2018-11-05 Servo system, sensor hub, and diagnostic method for industrial device Active CN111684711B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2018019240 2018-02-06
JP2018-019240 2018-02-06
PCT/JP2018/041008 WO2019155700A1 (en) 2018-02-06 2018-11-05 Servo system, sensor hub, and diagnosis method of industrial device

Publications (2)

Publication Number Publication Date
CN111684711A CN111684711A (en) 2020-09-18
CN111684711B true CN111684711B (en) 2023-08-22

Family

ID=67548413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880088207.5A Active CN111684711B (en) 2018-02-06 2018-11-05 Servo system, sensor hub, and diagnostic method for industrial device

Country Status (5)

Country Link
JP (2) JP6657486B2 (en)
KR (1) KR102463968B1 (en)
CN (1) CN111684711B (en)
TW (1) TWI702483B (en)
WO (1) WO2019155700A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6165286B1 (en) * 2016-02-29 2017-07-19 株式会社安川電機 Motor control system, robot system, and motor control system communication method
JP2021043481A (en) * 2019-09-06 2021-03-18 多摩川精機株式会社 Complex sensing device, rotary machine, and rotary machine control system
EP4078787A4 (en) 2019-12-20 2023-11-22 Milwaukee Electric Tool Corporation Gas engine replacement electronics modularity for feature expansion
JP7376425B2 (en) 2020-05-11 2023-11-08 日立Astemo株式会社 Vehicle control device
JP7526599B2 (en) * 2020-06-30 2024-08-01 ニデックインスツルメンツ株式会社 Motor amplifier and motor amplifier control method
JP7548002B2 (en) * 2020-12-25 2024-09-10 セイコーエプソン株式会社 Robot System
EP4044560B1 (en) * 2021-02-16 2025-07-02 Hengstler GmbH Sensor hub
JP7608894B2 (en) * 2021-03-15 2025-01-07 オムロン株式会社 SERVO DRIVER, SERVO SYSTEM, AND SENSOR RECOGNITION PROCESSING METHOD
JP7670575B2 (en) * 2021-08-03 2025-04-30 株式会社日立産機システム SERVO SYSTEM AND METHOD FOR CONTROLLING SERVO SYSTEM
CN113804224A (en) * 2021-10-28 2021-12-17 广州市鸿辉电工机械有限公司 Signal receiving and transmitting system of incremental encoder
CN115729148A (en) * 2022-11-21 2023-03-03 中国南方电网有限责任公司超高压输电公司检修试验中心 Servo system testing instrument and servo system testing system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06208410A (en) * 1993-01-11 1994-07-26 Sankyo Seiki Mfg Co Ltd Signal transmitting equipment for position transducer
JPH10141996A (en) * 1996-11-15 1998-05-29 Tamagawa Seiki Co Ltd Encoder
JP2004185300A (en) * 2002-12-03 2004-07-02 Yaskawa Electric Corp Double loop system
JP2006135951A (en) * 2004-10-05 2006-05-25 Matsushita Electric Works Ltd Switching hub device, and router device
JP2008048579A (en) * 2006-08-21 2008-02-28 Mitsubishi Electric Corp Drive control apparatus and control method thereof
JP2012207641A (en) * 2011-03-30 2012-10-25 Panasonic Corp Electric compressor drive device
JP2013112108A (en) * 2011-11-28 2013-06-10 Toyota Motor Corp Inverted moving body, control method thereof and program
JP2013176214A (en) * 2012-02-24 2013-09-05 Yamaha Motor Co Ltd Linear motor and linear transport device
JP2017030069A (en) * 2015-07-30 2017-02-09 セイコーエプソン株式会社 Robot control system, robot and robot system
JP2017131053A (en) * 2016-01-21 2017-07-27 パナソニックIpマネジメント株式会社 Motor adjustment system

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6239776A (en) * 1985-08-16 1987-02-20 Nippon Denso Co Ltd Apparatus for detecting disconnection of sensor
JP2503762Y2 (en) * 1989-09-29 1996-07-03 川崎重工業株式会社 Industrial robot encoder inspection equipment
JPH0580848A (en) * 1991-09-18 1993-04-02 Mitsubishi Electric Corp Encoder
US5625353A (en) * 1992-12-29 1997-04-29 Kabushiki Kaisha Sankyo Seiki Seisakusho Device for transmitting signals from position detector and method of such signal transmission
JP3160491B2 (en) * 1995-03-22 2001-04-25 オークマ株式会社 Rotary encoder
JP3878157B2 (en) * 2003-07-07 2007-02-07 ローム株式会社 Sensor signal detection device
JP2007037238A (en) * 2005-07-25 2007-02-08 Yaskawa Electric Corp Servo motor with integrated servo amplifier
JP4907136B2 (en) * 2005-09-22 2012-03-28 東洋電機株式会社 Signal transmission device for rotary encoder
JP5287064B2 (en) * 2008-09-11 2013-09-11 パナソニック株式会社 Servo system
JP6349687B2 (en) 2013-11-14 2018-07-04 オムロン株式会社 Encoder and servo system
JP6596239B2 (en) * 2015-06-03 2019-10-23 株式会社Fuji Multiplexing communication device
JP6605237B2 (en) * 2015-06-17 2019-11-13 日置電機株式会社 Current measuring device
JP6779034B2 (en) * 2016-05-13 2020-11-04 ローム株式会社 Signal processing equipment and vehicles

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06208410A (en) * 1993-01-11 1994-07-26 Sankyo Seiki Mfg Co Ltd Signal transmitting equipment for position transducer
JPH10141996A (en) * 1996-11-15 1998-05-29 Tamagawa Seiki Co Ltd Encoder
JP2004185300A (en) * 2002-12-03 2004-07-02 Yaskawa Electric Corp Double loop system
JP2006135951A (en) * 2004-10-05 2006-05-25 Matsushita Electric Works Ltd Switching hub device, and router device
JP2008048579A (en) * 2006-08-21 2008-02-28 Mitsubishi Electric Corp Drive control apparatus and control method thereof
JP2012207641A (en) * 2011-03-30 2012-10-25 Panasonic Corp Electric compressor drive device
JP2013112108A (en) * 2011-11-28 2013-06-10 Toyota Motor Corp Inverted moving body, control method thereof and program
JP2013176214A (en) * 2012-02-24 2013-09-05 Yamaha Motor Co Ltd Linear motor and linear transport device
JP2017030069A (en) * 2015-07-30 2017-02-09 セイコーエプソン株式会社 Robot control system, robot and robot system
JP2017131053A (en) * 2016-01-21 2017-07-27 パナソニックIpマネジメント株式会社 Motor adjustment system

Also Published As

Publication number Publication date
TW201942696A (en) 2019-11-01
JPWO2019155700A1 (en) 2020-02-27
JP6906645B2 (en) 2021-07-21
KR102463968B1 (en) 2022-11-04
WO2019155700A1 (en) 2019-08-15
TWI702483B (en) 2020-08-21
KR20200103093A (en) 2020-09-01
CN111684711A (en) 2020-09-18
JP6657486B2 (en) 2020-03-04
JP2020074680A (en) 2020-05-14

Similar Documents

Publication Publication Date Title
CN111684711B (en) Servo system, sensor hub, and diagnostic method for industrial device
CN107025200B (en) GPIO to GPIO communication over multi-node link networks
CN106878125B (en) Slave node transceiver, master node transceiver, host device, and microphone cable
US9258170B2 (en) Converter/multiplexer for serial bus
US20050165989A1 (en) I2C communication system and method enabling bi-directional communications
CN1708949A (en) Electronic device system
JP6023059B2 (en) Integrated servo system, motor system, and control method of integrated servo system
JP5999403B2 (en) Electric motor drive
CN116633968A (en) An FPGA-based industrial control system and method
CN112291128B (en) Bus-based communication system, system on chip and method therefor
US12199792B2 (en) Inspection apparatus and inspection method
KR101126640B1 (en) System and method for diagnosticating of most network using wireless network
JPH10275006A (en) Industrial robot
JP4851766B2 (en) Control system and control device
US12211327B2 (en) Inspection apparatus and inspection method
CN110718052B (en) Wireless acquisition device and data acquisition method
CN118018712A (en) Fault detection system of intelligent driving camera and vehicle
JP6574708B2 (en) Train data transmission method
CN119520339A (en) A device testing method, device and system
JP2021043481A (en) Complex sensing device, rotary machine, and rotary machine control system
JP2022139660A (en) Switch system and switch
CN119109844A (en) Server testing method, device, equipment and storage medium
CN113273143A (en) Communication system and connector
KR20200012196A (en) Apparatus for dual communication and method thereof
JP2005117299A (en) Communication system and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant